Commit Graph

182 Commits

Author SHA1 Message Date
Sébastien Loriot 2d37774684 add missing return statement 2021-04-26 11:30:25 +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 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
Laurent Rineau 67e73c2324 Fix compilation errors 2019-06-13 15:52:43 +02:00
Andreas Fabri 2600f39b13 Remove duplicate typedef 2019-06-12 14:29:27 +02:00
Andreas Fabri 3a83b44eba Fix warning 2019-06-12 10:02:46 +02:00
Andreas Fabri e2d19b0c8d Replace NULL and Nullptr_t with nullptr and nullptr_t 2019-06-04 23:45:44 +02:00
Sébastien Loriot 124012d9f9 replace cpp11::array by std::array 2019-03-29 13:28:33 +01:00
Andreas Fabri 93cfd56c83 Fix for VC2017 which has a problem with the conversion to std::pair 2018-11-20 16:54:30 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Maxime Gimeno 96f7b0f138 Fix catch value warnings 2017-07-21 11:27:14 +02:00
Mael Rouxel-Labbé 4944a6d48a Fixed some indentation in Skin_surface_3 2017-06-28 10:16:23 +02:00
Mael Rouxel-Labbé ec7efb6d70 Fixed Has_nested_type_Bare_point includes 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 9fbf2720ce Annihilated Regular_triangulation_euclidean_traits_23 across all packages
Left a little bit alive in the tests and in the Triangulation_23/doc
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 3dcb8918a9 Fixed (wrongly) assuming that traits define Bare_point / Weighted_point 2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé 0c813e42b1 Improved readability of Skin_surface_3
Only indentation and whitespace is changed.

Almost like a skin (sur)facelift !
2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé d3a1a96d1c Removed unused variable 2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé ecf92c4689 Removed any use of Regular_triangulation_euclidean_traits from Skin surface 2017-06-28 10:14:35 +02:00
Mael Rouxel-Labbé 81bc8604f0 Fixed Bare_point / Weighted_point across Skin_surface
This also removes the definition of Bare_point from the Skin surface
traits class (as it should be: Skin_surface defines Bare_point)
2017-06-28 10:14:35 +02:00
Andreas Fabri 7c89697d17 WIP: Almost fix Skin_surface_3 2017-06-28 10:14:35 +02:00
Laurent Rineau 87c9afd486 Fix the compilation of individual headers
- in most cases, that was just adding missing #include
- I have removed the use of <CGAL/basic.h>
2017-04-13 15:56:51 +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
Jane Tournois d23aa50cb0 reverse signs returned by Power_side_of_bounded_power_sphere_3
the previously used In_smallest_orthogonal_sphere predicate
was returning the opposite of what
Power_side_of_bounded_power_sphere_3 returns
2016-11-24 17:09:41 +01:00
Jane Tournois a8fc1db9f4 Revert "Revive the function In_smallest_orthogonal_sphere so that we can compare it with the new function"
This reverts commit d1184c91e2.
2016-11-24 17:02:20 +01:00
Andreas Fabri d1184c91e2 Revive the function In_smallest_orthogonal_sphere so that we can compare it with the new function 2016-11-23 13:05:14 +01:00
Andreas Fabri fb96b1d81d Change from oriented to bounded power sphere test. Testsuite is still RED 2016-11-22 16:04:22 +01:00
Andreas Fabri 490bbd7799 fix Skin_surface 2016-11-16 10:15:14 +01:00
Andreas Fabri db7b47f1cf fix Skin_surface_3 2016-11-03 14:53:54 +01:00
Andreas Fabri 7fcca62071 remove unused typedef 2016-11-03 13:10:27 +01:00
Andreas Fabri c130360489 fix Skin_surface 2016-11-03 13:10:00 +01:00
Andreas Fabri 54ec8f9d92 the VC++ testsuite should pass now 2016-11-03 13:06:02 +01:00
Sébastien Loriot c6575e1717 replace inclusion of a deprecated header 2015-11-24 01:05:11 +01:00
Andreas Fabri 224e75413c Add member initializer 2015-07-17 10:55:38 +02:00
Laurent Rineau 367314623d Add a script to detect wrong permissions, and fix permissions
The script uses zsh, and lists regular files that have the
'executable' permission.

At the same time, I fix the permissions of several files.
2014-02-06 18:49:09 +01:00
Andreas Fabri 9ab541b052 Use boost::shared_ptr to avoid a memory leak 2013-11-19 10:28:51 +01:00
Andreas Fabri c4202a9e0c Instead of if (! map::find()) {map::insert()} we call just map::insert()
as it returns a pair with a bool if it really inserted something
2013-09-27 15:16:02 +02:00
Andreas Fabri abdbe0f74d Replace std::map[key] = value with std::map_insert(make_pair(key,value0)
as VC++ in debug mode makes too expensive checks
which results in a timeout in the testsuite
2013-09-27 11:09:46 +02:00
Andreas Fabri 6f08686b71 obvious fix in an unused function 2013-02-27 13:55:06 +01:00
Sébastien Loriot 82b2ebc865 apply the cpp0x namespace renaming in all files 2012-12-19 11:33:17 +01: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
Laurent Rineau dc91170ac8 Remove unused variables 2012-01-23 08:09:05 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Andreas Fabri 0555f1133b const static int is illegal 2011-06-30 22:17:00 +00:00
Andreas Fabri 7578d859d9 const static int is illegal 2011-06-30 22:16:29 +00:00
Nico Kruithof 3131d6b592 Added an example to show how to retrieve the weighted points that define a face of the polyhedron 2011-02-10 20:38:46 +00:00
Nico Kruithof a389c224a5 Cleaning up typedefs 2011-01-09 11:47:58 +00:00
Sébastien Loriot 10cc7ed3b5 correct mixed up indices in precondition 2010-12-29 09:59:53 +00:00
Nico Kruithof 7ea41f049b Fixing a bug when referencing the point of the infinite vertex. 2010-12-07 09:46:17 +00:00