Commit Graph

225 Commits

Author SHA1 Message Date
Giles Bathgate 0ef8127c71 The CGAL_NOEXCEPT macro is no longer needed 2021-04-28 21:03:00 +01:00
Laurent Rineau 31b817c419 Merge pull request #5233 from GilesBathgate/fix-uncaught-exceptions
Fix uncaught exceptions
2021-04-06 15:13:16 +02:00
Laurent Rineau de704d8bb9 Merge pull request #5522 from afabri/Nef_3-accelerate_do_intersect_internally-GF
Nef_3: Do not test has_on for a point where we know that it will be true
2021-04-06 15:13:07 +02:00
Laurent Rineau 1686e05d3f Merge pull request #5438 from GilesBathgate/performance-object-index
Calculate indices only when required.
2021-03-24 15:05:34 +01:00
Andreas Fabri 2334ec5f4b s gets constructed from a vertex some lines above 2021-03-10 18:40:03 +00:00
Andreas Fabri 6d9ff5978e Do not test has_on for a constructed point where we know that it will be true 2021-03-10 16:19:32 +00:00
Laurent Rineau 85ca8bf2d7 Merge pull request #5157 from GilesBathgate/sphere-predicates-tidy
Possible technical debt in sphere_predicates.h
2021-02-18 21:02:40 +01:00
Giles Bathgate 9c6712c3b1 Calculate indices correctly when trace enabled 2021-02-08 19:32:33 +00:00
Giles Bathgate 87d114137f Calculate indices only when required in check_integrity_and_topological_planarity 2021-02-07 09:52:45 +00:00
Laurent Rineau e1870c1522 Merge pull request #5371 from maxGimeno/Fix_Nesf_2_parser-maxGimeno
Fix OOB issues in Nef_*
2021-02-05 16:10:29 +01:00
Maxime Gimeno 2e592e0027 Fix typo and use setstate 2021-01-20 08:38:33 +01:00
Maxime Gimeno 9e291e6bbf replace cerr by CGAL_warning_msg 2021-01-19 14:04:54 +01:00
Maxime Gimeno 618b409b0f Fix Nef_2 and Nef_S2 IO 2021-01-18 15:40:40 +01:00
Giles Bathgate e222a423af Fix uncaught exception in Nef_polyhedron_S2.h 2020-11-29 11:30:21 +00:00
Giles Bathgate 35c148078c Fix uncaught exception in Sphere_map.h 2020-11-28 20:26:00 +00:00
Giles Bathgate c586c3c6b5 Fix use of uninitialized variable in SM_overlayer.h 2020-11-18 08:56:02 +00:00
Giles Bathgate 31e46384ca Remove commented-out code 2020-11-11 18:47:25 +00:00
Giles Bathgate 27965c56e8 Move code closer to useage and convert to if 2020-11-11 18:47:09 +00:00
Sébastien Loriot fdb17cb3f1 extra run of the script to remove tabs and trailing whitespaces 2020-03-26 19:26:10 +01:00
Sébastien Loriot 38789af55d Update branch from master after trailing whitespaces and tabs removal 2020-03-26 19:25:47 +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
Mael Rouxel-Labbé 6bd978caa4 Fix a warning about uninitialized value (?)
Maybe in a case where 'Mark' is a handle?
2020-02-11 08:57:59 +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 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
Maxime Gimeno 695535c30a more of the same kind 2019-08-14 10:01:38 +02:00
Maxime Gimeno 8702f38d8e Fix memory corruption 2019-08-13 17:34:48 +02:00
Sébastien Loriot c0edb5ecaa remove CGAL_CXX11 macro usage 2019-07-08 11:42:17 +02:00
Andreas Fabri 4581f1b7a8 Morte replacements 2019-06-05 08:39:55 +02:00
Simon Giraudot d314711eaf Merge remote-tracking branch 'mine/Stream_support-Enhance_color-GF' into Stream_support-Enhance_color-GF 2019-04-09 15:00:56 +02:00
Simon Giraudot 2c1ca1e893 Replace old color API using global const variable with new one using functions 2019-04-03 11:51:29 +02:00
Sébastien Loriot 124012d9f9 replace cpp11::array by std::array 2019-03-29 13:28:33 +01:00
Sébastien Loriot 8ec090d1d1 remove condition for cpp11 in Nef 2019-03-29 10:41:50 +01:00
Laurent Rineau afc3de2894
Merge branch 'master' into Stream_support-Color-GF 2019-01-23 09:37:08 +01:00
Andreas Fabri 74dfe5f9ef Fix Nef_S2 2019-01-18 09:52:20 +01:00
Andreas Fabri 6596ba981c Polygon, Surface_mesher, Nef,.. 2019-01-17 19:35:02 +01:00
Andreas Fabri d8f608fa51 fix Nef_3 2019-01-15 18:20:36 +01:00
Laurent Rineau 7c24043a81 Merge pull request #3510 from sloriot/NefS2_fixes
Various Nef_S2 fixes

# Conflicts:
#	Nef_S2/include/CGAL/Nef_polyhedron_S2.h
2018-12-19 16:10:45 +01:00
Andreas Fabri 1f51c8ab10 has_sloop() -> has_shalfloop() 2018-12-06 18:43:11 +01:00
Sébastien Loriot 4d3b5ce0c7 use convert_and_normalize() 2018-12-03 10:32:59 +01:00
Sébastien Loriot 7c6450192e add a function that convert to double and do the normalization 2018-12-03 10:16:58 +01:00
Sébastien Loriot 881fdab58d fix setting of mark 2018-12-03 09:57:43 +01:00
Sébastien Loriot b29dcaaf63 add missing documented function 2018-12-03 09:54:46 +01:00
Andreas Fabri d4e3416c8b has_sloop() -> has_shalfloop() 2018-11-26 15:44:17 +01:00
Maxime Gimeno f7d0fc72cd fix the <:: error 2018-05-17 10:20:57 +02:00
Laurent Rineau 33d3abaf26 Fix compilation errors 2018-04-17 17:15:00 +02:00
Andreas Fabri 7cbffac35b Deal with deprecated functions allocator<T>::construct/destroy 2018-04-17 13:35:04 +01:00
Andreas Fabri fa92aa49f7 Nef 2018-01-18 10:43:57 +00:00
Laurent Rineau f2391a30a5 Merge pull request #2562 from afabri/Filtered_kernel-Do_intersect_2-GF
Add Static Filters for the Exact Construction Kernel
2017-12-19 16:29:53 +01:00
Sébastien Loriot 8cdfad0d08 add missing URL and Id tags 2017-11-15 22:58:57 +01:00
Sébastien Loriot ff26773f7b remove include directive for checking GPL compliance in LGPL headers 2017-11-12 10:21:35 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Sébastien Loriot 97e8ea1794 remove extra space 2017-11-12 10:17:51 +01: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 a2fc6e1830 Make Partition_2 work with g++ 2017-10-30 12:55:21 +01:00
Marc Glisse 1b77180e62 Qualify call to CGAL::sign. 2017-07-21 11:20:10 +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 bc8e29b025 Split the file CGAL/Nef_3/ID_support_handler in two files,
one with the generic function, one with the specialization used by Nef_3.
2016-09-30 15:23:15 +02:00
Laurent Rineau 0c690014b7 Remove all usage of CGAL_LEDA_VERSION
Now, LEDA version >= 6.0 is required if `CGAL_USE_LEDA` is toggled.
2016-08-25 14:38:16 +02:00
Sébastien Loriot 07a7f569d5 Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch' into HEAD 2016-05-26 16:07:27 +02:00
Sebastien Loriot 7235206dcd comment doc in code 2016-05-26 16:04:45 +02:00
Andreas Fabri beb1417477 remove unused header files; remove commented includes; changed include paths 2016-02-15 14:20:12 +01:00
Andreas Fabri 99b4e2f150 more CGAL_USE and some reindentations 2016-01-21 10:22:20 +01:00
Simon Giraudot f21cb46900 Remove deprecated "register" keyword 2015-12-17 08:20:56 +01:00
Sebastien Loriot 2e493f297b Merge pull request #389 from afabri/CGAL-Qt3-GF
Remove Qt3 based demos
2015-10-23 17:08:49 +02:00
Sébastien Loriot 4787bda61f remove documented widget based on Qt3 2015-10-05 15:20:06 +02:00
Guillaume Damiand cf1c0ea0ca Merge branch 'CGAL_headers_only-gdamiand_cjamin-OLD' into CGAL_headers_only-gdamiand_cjamin 2015-10-01 09:12:55 +02:00
Laurent Rineau 91bca286d3 Fix warnings with CGAL_USE
All those variables were unused only if CGAL_NDEBUG was
defined. CGAL_USE can solve that.
2015-08-19 17:37:46 +02:00
Sébastien Loriot 84d82c3a8e fix unused variable warnings 2015-07-16 10:15:33 +02:00
Guillaume Damiand ef550fd3bb Ok for first version. 2014-11-14 17:22:06 +01:00
Laurent Rineau 495ed0b6ab Merge remote-tracking branch 'origin/CGAL-Less_warnings-GF'
Fix various warnings.

Tested in CGAL-4.5-Ic-97. Approved by the Release Manager.
2014-07-16 17:48:56 +02:00
Andreas Fabri 2c8b9e7cd4 initialize pointer with 0 2014-07-03 14:59:59 +02:00
Sébastien Loriot 251a9d8446 fixes for tests to use leda and not gmp 2014-06-19 14:29:20 +02:00
Andreas Fabri 6c547e5663 Mainly added includes 2013-09-13 22:24:30 +02:00
Laurent Rineau 403031ce7f Fix warnings 2013-02-27 18:21:24 +01:00
Philipp Möller 3ee98b11ea Leave a warning to the next person that comes across this 2013-02-08 00:27:48 +01:00
Sébastien Loriot 82b2ebc865 apply the cpp0x namespace renaming in all files 2012-12-19 11:33:17 +01:00
Sébastien Loriot 128b02abb8 update CGAL custom doxygen macros
corresponds to a run of the script Documentation/conversion_tools/rename_macros.sh
+manual edit of doxyassist.xml and pkglist_filter.py
2012-11-14 00:31:05 +01:00
Philipp Möller 79b30908d5 WARNFIX: Silence a good part of unused variable/parameter warnings.
Wextra results in a dreadful wall of yellow in the test-suite and is
scary when using CGAL. Reduce some of the noise by silencing the
obvious cases with CGAL_USE or comments.
2012-08-07 11:04:32 +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 8bb75c0586 actually there was two nested macros... 2012-04-19 07:06:00 +00:00
Sébastien Loriot 44853585b7 too naive replacement: do not use nested macros 2012-04-18 06:59:22 +00:00
Sébastien Loriot 24070082f6 *deprecate the use of geninfo
*naive replacement of void* and geninfo by boost::any.
*old code can be used if CGAL_I_DO_WANT_TO_USE_GENINFO is defined
*info was printed, I simply ignored that for boost::any 
 (it probably made sense why the old implementation of geninfo that was using placement new to write
  inside the void*)
*some sizeof(void*) was used in SNC_structure.h for printing the size of something.
 I guessed this was related to the void* used as info. I left that code untouched.
*testsuite is OK on my machine except Nef_3/example/Nef_3/polygon_construction which also
 does not work with next on my machine
2012-04-17 18:18:09 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Laurent Rineau 5b5dd33848 merge changes from next 2012-01-09 12:33:39 +00:00
Laurent Rineau 07be7f49a5 Include <CGAL/glu.h> where needed 2011-11-09 22:45:52 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Sébastien Loriot 675814c5f8 normalized plane now first check if FT is a fraction 2011-09-01 13:26:45 +00:00
Sébastien Loriot 1d2c334e61 BUGFIX:
revert parts of modifications done in r58343, r58233, r58232
  The constness problem fixed by the aforementioned modifications
  was induced by a non-used function that I commented.
2011-06-01 13:47:17 +00:00
Eric Berberich eb7a5ed11e branch-build is now HOT on next ;-) 2011-04-15 09:12:06 +00:00
Andreas Fabri d205e31a62 Add parenthesis to quit clang and get more readable code 2010-12-06 15:01:15 +00:00
Andreas Fabri f97bd7a64a Move unused variable inside the #if 0 block where it is used 2010-11-12 08:36:32 +00:00
Laurent Rineau e14ec20c4b Move the declaration/definition of convert before its uses. 2010-09-22 16:29:52 +00:00
Laurent Rineau 6963eef49c Move the declaration/definition of convert before its uses. 2010-09-22 16:26:33 +00:00
Andreas Fabri 3de348a9d0 Add missing #include 2010-09-08 06:04:07 +00:00
Andreas Fabri 525b76b928 Replace Random with boost 2010-09-07 12:59:47 +00:00
Andreas Fabri f30471cb1f Add typedef for SFace_const_handle 2010-08-29 16:30:21 +00:00
Andreas Fabri 42d3fa3562 const handles instead of handles 2010-08-23 13:30:21 +00:00
Andreas Fabri 9456c0815d Added using statements and declared locate const 2010-08-23 12:34:24 +00:00