Commit Graph

83 Commits

Author SHA1 Message Date
albert-github 3674c937f7 spelling corrections
Some spelling corrections (Directories starting with `M`-` N`),
some backward work
some forward work
2022-11-15 15:21:01 +01:00
Mael Rouxel-Labbé 26355e2e32 Uniformize capital / third person usage of \brief 2020-06-25 15:13:47 +02:00
Sébastien Loriot 0779373835 extra run of the script to remove tabs and trailing whitespaces
right after the  merge of 4.14 release branch

+ manual fix on one line in:
    * Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
    * .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Sébastien Loriot 52164b1fba First pass on removing license notice in header for LGPL files 2019-10-19 15:40:30 +02:00
Sébastien Loriot 7356421d80 introduce Commercial license SPDX tag 2019-10-19 12:15:19 +02:00
Sébastien Loriot 9bd9c68b83 update LGPL[23]+ and GPL[23]+ SPDX tags
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Laurent Rineau df76165534 Fix Residue 2019-05-10 09:26:53 +02:00
Laurent Rineau 2f8eeb0db3 Fix the headers dependency-hell around gmpxx in Number_types 2019-05-09 15:05:23 +02:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Andreas Fabri 7ee573f1dd Use the header only version 2016-11-01 11:45:26 +01:00
Clement Jamin b8922fdd21 Remove CGAL_EXPORT since it's just a constant now 2016-03-10 16:12:15 +01:00
Clement Jamin f9b2a01e81 Move the now-const "primes" variable to header file
And remove "extern" on the way
2016-03-10 11:41:32 +01:00
Andreas Fabri 4fec754ef8 put static into the macro and rename it 2015-12-02 20:40:15 +01:00
Andreas Fabri 246219c7b9 bug fix: got 1/x wrong 2015-11-10 08:50:01 +01:00
Andreas Fabri 6b2c4dd7c6 Merge branch 'CGLAL-thread_local_storage-GF-old' into CGLAL-thread_local_storage-GF 2015-11-09 14:26:42 +01:00
Clement Jamin 97d8aaa634 Fix merge error from March 2015-10-01 17:21:38 +02:00
Clement Jamin 1a083a41fb Fix merge error 2015-10-01 14:56:12 +02:00
Clement Jamin 31e8415983 Merge branch 'CGLAL-thread_local_storage-GF-old' into CGLAL-thread_local_storage-GF 2015-10-01 14:51:09 +02:00
Andreas Fabri 3d4a1be429 WIP with Clement 2015-10-01 09:47:47 +02:00
Andreas Fabri 0d70d7b1ce do not write 'static' in the macro so that we can use the macro also for a definition 2015-09-14 10:17:22 +02:00
Andreas Fabri ea612e9645 Improved macros to avoid #if #else where we want to use TLS
The Residue.cpp file still needs simplification
2015-09-11 18:01:51 +02:00
Andreas Fabri a14cf913e9 WIP: In Lazy.h we now have a single macro for boost and c++11 thread 2015-09-11 14:54:11 +02:00
Andreas Fabri 220651bc88 Use CGAL_THREAD_LOCAL as thread_local only comes with VC201 2015-09-04 18:09:50 +02:00
Guillaume Damiand 13de3265b6 Cleanup Residue_type.h for cgal header only 2015-06-09 16:27:33 +02:00
Guillaume Damiand 6b3fbfb5ef io static methods 2015-03-16 17:14:56 +01:00
Guillaume Damiand 9c78897ba5 Merge branch 'CGAL_headers_only-gdamiand_cjamin-old' into CGAL_headers_only-gdamiand_cjamin 2015-03-16 14:00:43 +01:00
Alexander Kobel feb4298699 update docstring about largest/initial prime in prime list 2014-11-24 10:53:16 +01:00
Alexander Kobel 11c9deb31b add const for prime list 2014-11-24 10:52:38 +01:00
Alexander Kobel fb93886709 add constructor for Residue from long long 2014-11-24 10:48:20 +01:00
Guillaume Damiand 87968c0b6e Keep non const version for non header version (TRANSLATION, ROTATION, SCALING, REFLECTION, IDENTITY and primes) 2014-11-15 18:23:55 +01:00
Guillaume Damiand f7cb6fc7e2 add a missing impl file 2014-11-14 17:28:42 +01:00
Guillaume Damiand ef550fd3bb Ok for first version. 2014-11-14 17:22:06 +01:00
Guillaume Damiand b92bcae1a9 Header only for Residue_type.cpp 2014-11-14 14:53:54 +01:00
Guillaume Damiand d3452cff45 Version header only for primes.cpp 2014-11-14 14:33:31 +01:00
Alexander Kobel 70d264be3a add precondition arg != 0 for modular inversion
replaces
  https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Modular_arithmetic_div_by_zero
2014-02-11 10:14:20 +01:00
Alexander Kobel 8ea840d722 fix Residue constructor from long int
see feature description, change 2.2:
  https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Modular_arithmetic_fixes
2014-02-11 10:14:20 +01:00
Laurent Rineau a04891ff93 WARNFIX: fix some warnings triggered by -Wconversion on g++ 2012-08-09 16:06:54 +00:00
Laurent Rineau db194534c7 First big patch to fix -Wunused-local-typedefs
-Wunused-local-typedefs is a new warning flag of gcc-4.7, and it will enabled
 by -Wall since gcc-4.8 (not yet released).

The fix is a big set of removals of unused typedefs (or comments, or moves,
depending on the context).
2012-08-01 13:29:16 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Andreas Fabri cbfe32ce37 Add declspecs for Visual C++ so that we can build dlls 2011-10-05 19:12:23 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Michael Hemmer f01f585049 fix license header 2010-02-01 12:19:55 +00:00
Laurent Rineau 83912b2952 Massive fix of svn:keywords properties, and $URL$ keyword. 2009-10-20 08:59:26 +00:00
Sylvain Pion 8573fe26ce Rename CGALi to internal. 2009-08-24 17:10:04 +00:00
Michael Hemmer 7f23bad6ff get_value returns the unique representative within the range [-p/2,p/2] 2008-12-10 12:53:12 +00:00
Michael Hemmer 1aabe3b9e9 Residue needs ieee double precion as well as rounding mode to nearest
use CGAL::Protect_FPU_rounding<true> pfr(CGAL_FE_TONEAREST)
2008-12-10 10:19:44 +00:00
Michael Hemmer 119f4ecdda rm precondition as it relies on side effects of Set_ieee_double_precision
that are not present on all platforms, ie, it does not set rounding mode to
nearest on Leopard (Mac)
2008-12-09 12:39:32 +00:00
Sylvain Pion af48d47506 Replace Protect_FPU_rounding<true> pfr(CGAL_FE_TONEAREST)
by Set_ieee_double_precision.
2008-12-03 21:42:28 +00:00
Michael Hemmer 65d95e3355 remove warning for i686_Linux-2.6_CC-5.90_F7 2008-12-01 12:46:40 +00:00
Michael Hemmer 819d64b18c added assertion for FPU rounding mode 2008-10-21 16:15:19 +00:00