Commit Graph

63 Commits

Author SHA1 Message Date
Sébastien Loriot e54408370b remove CGAL_CXX17 macro
... and no longer used macros
2023-06-15 10:41:56 +02:00
Andreas Fabri 74e4d89cbc Optimisation 2022-09-27 10:42:05 +01:00
Andreas Fabri 4b472db95e cleanup 2021-02-03 10:57:36 +00:00
Andreas Fabri 38275753ca Remove typedef .., argument_type 2021-02-03 10:03:57 +00:00
Andreas Fabri 557cf7f2f1 Use invoke_result for C++-17 2021-01-29 10:36:59 +00:00
Sébastien Loriot 1e249afdb3 remove some boost::bind 2021-01-06 12:59:11 +01: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 254d60f642 First pass on removing license notice in header for GPL files 2019-10-19 15:23:19 +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
Mael Rouxel-Labbé 26c857a431 Moved unary/binary_function to CGAL::cpp98 2018-06-13 15:58:19 +02:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Laurent Rineau 7e9f756935 Replace all std::unary_function by CGAL::unary_function 2017-10-04 15:57:09 +02:00
Sébastien Loriot 50510c05ea add include directive for license of all GPL header files
done using:
ack-grep "^GPL" */package_info/*/license.txt -l | awk -F "/" '{print $1}' > /tmp/gpl_packages
for i in `cat /tmp/gpl_packages | \
          grep -v Operations_on_polyhedra | \
          grep -v Algebraic_kernel_for_circles | \
          grep -v Algebraic_kernel_for_spheres | \
          grep -v Polyhedron_IO`;
do
  echo $i
  python Scripts/developer_scripts/add_license_in_pkg_header.py $i
done
python Scripts/developer_scripts/add_license_in_pkg_header.py Operations_on_polyhedra Polygon_mesh_processing
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_circles Circular_kernel_2
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_spheres Circular_kernel_3
python Scripts/developer_scripts/add_license_in_pkg_header.py Polyhedron_IO Polyhedron
2017-01-19 15:20:25 +01:00
Andreas Fabri d0d9471e3c one more reindentation 2016-01-21 10:23:19 +01:00
Jane Tournois bbfcc85bb2 fix ambiguity between std::nth_element and CGAL::nth_element 2014-12-08 16:37:16 +01:00
Andreas Fabri 6c547e5663 Mainly added includes 2013-09-13 22:24:30 +02:00
Andreas Fabri 33549c2e02 static_cast<int> 2013-02-28 09:46:53 +01:00
Andreas Fabri 99006a8e06 Add static_cast<int> 2013-02-08 12:43:15 +01:00
Philipp Möller c03d1f7f86 Move tests, examples and headers from Matrix_search and merge package_info. 2012-09-18 15:34:42 +00:00
Philipp Möller 46c956cd52 Also move the related code and tests from Matrix_search to
Bounding_volumes.
2012-09-18 14:47:54 +00:00
Philipp Möller c848823b08 Merge Width_3 and parts of Matrix_search into Polytope_distance_d. 2012-08-16 15:56:16 +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
Michael Hoffmann 563203363d Fixed longstanding bug (in some degenerate cases, the cutoff was too small). 2012-05-24 12:19:58 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Sébastien Loriot c6842ca388 avoid linear cost of distance when using a forward-iterator 2011-06-09 08:23:05 +00:00
Sébastien Loriot 43766b5eef remove precondition on number of points. If nb pts <= p, simply copy the range
and p-radius is 0.
2011-06-09 07:01:48 +00:00
Sébastien Loriot 935fed1d38 BUGFIX: if the number of points given to rectangular_p_center_2 is p then
simply copy the points; if the number of points is less than p
        then do nothing.
        Update the doc.
2011-06-08 14:14:49 +00:00
Laurent Rineau a81fd1c3cd Merged revisions 56906,56908 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r56906 | sloriot | 2010-06-21 11:55:07 +0200 (Mon, 21 Jun 2010) | 2 lines
  
  merge from trunk
........
  r56908 | afabri | 2010-06-21 12:05:32 +0200 (Mon, 21 Jun 2010) | 1 line
  
  Use bind from boost::
........
2010-06-21 10:40:54 +00:00
Andreas Fabri ac6c1170a8 Un-hardwire the kernel 2010-06-16 20:42:04 +00:00
Andreas Fabri e970b1789b Correct the fix for std::max and VC++ 2010-06-16 19:44:04 +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
Marc Glisse 0761f8f34b cleanup extra ';' 2010-04-24 09:19:01 +00:00
Sylvain Pion 85dc12f2a7 Remove empty lines at beginning and end of files
(apply Scripts/developer_scripts/remove_empty_lines.pl).
2010-02-01 12:55:28 +00:00
Sylvain Pion 6cc542446d Fix some typos in the protect macro names.
Use a form "#ifndef" more consistently.

The idea is to automatize most of the verification of the consistency
in the names used in the #ifndef and the following #define using a simple :

grep -r -m 1 '#ifndef' */include/CGAL  | grep CGAL_ | cut -d' ' -f2 | sort > ifndef.macros
grep -r -m 1 '#define' */include/CGAL  | grep CGAL_ | cut -d' ' -f2 | sort > define.macros
diff ifndef.macros define.macros
2009-04-08 11:54:51 +00:00
Sylvain Pion 23f1b98350 typos and related. 2009-04-08 11:40:21 +00:00
Andreas Fabri 2a0b967172 Fixed return type of boost::function1 call 2008-11-12 13:45:58 +00:00
Sylvain Pion 79864c0c8e Remove Arity_tag. 2008-07-22 12:29:01 +00:00
Michael Hoffmann d6711c0b51 Fix some stupid warnings of Sunpro. 2008-06-19 12:09:55 +00:00
Michael Hoffmann c2fc67e029 Replace CGAL/functional.h by boost::bind. 2008-06-17 15:26:21 +00:00
Michael Hoffmann e5eb8bd770 Change from CGAL/functional to boost::bind. 2008-06-12 14:44:33 +00:00
Sylvain Pion ddf81159bd SUNPRO workarounds not needed anymore 2008-01-20 20:52:53 +00:00
Sylvain Pion 4d1b8d63e3 Remove workarounds and support for the BORLAND compiler. 2008-01-20 20:24:20 +00:00
Sylvain Pion 796d4603bf Remove obsolete VC++ workaround. 2008-01-20 15:16:09 +00:00
Sylvain Pion f5dae7535f Remove unused and obsolete file (I find no Infinity_distance_2 template in CGAL at all). 2008-01-14 21:48:42 +00:00
Sylvain Pion 49f6e06dee Oops, try 1 instead of 0. 2008-01-13 17:14:50 +00:00
Sylvain Pion 126944d042 Only used by _MSC_VER. 2008-01-11 22:27:14 +00:00
Sylvain Pion 52630ac6bb Try to avoid large VC++ workaround (hopefully it's obsolete). 2008-01-11 22:26:21 +00:00
Sylvain Pion b9066e7a72 Add missing standard headers 2008-01-09 21:32:40 +00:00
Sylvain Pion 8701af6e0b Get rid of CGAL_REP_CLASS_DEFINED 2008-01-03 19:21:23 +00:00