Commit Graph

159 Commits

Author SHA1 Message Date
Andreas Fabri 3108022a21 CGAL: Address Wunused-but-set-variable 2025-08-21 13:13:29 +01:00
Mael Rouxel-Labbé c5d51c4909 Fix compilation in periodic triangulations 2025-03-16 14:25:04 +01:00
Sébastien Loriot 9a0bdb5d96 boost::variant ---> std::variant 2023-06-15 10:57:10 +02:00
Laurent Rineau 8e8153c0ac Merge pull request #6871 from afabri/CGAL_assertions-GF
CGAL: No longer per package assertions
2022-11-03 09:44:48 +01:00
Andreas Fabri c352a9cd28 Address -Wunused-but-set-variable 2022-10-11 07:45:45 +01:00
Mael Rouxel-Labbé 363d1daaef Some more conversions to non-package specific assertions 2022-09-23 15:20:24 +02:00
Andreas Fabri d3fca65ae5 CGAL: No longer per package assertions 2022-09-23 12:49:40 +01:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Maxime Gimeno 9533a9fea8 remove CGAL/result_of.h and move its content to config.h 2021-05-07 12:51:07 +02:00
Laurent Rineau b1d78a909f Merge pull request #5433 from sloriot/CGAL-last_bind
Remove last bind
2021-03-03 17:32:59 +01:00
Sébastien Loriot 4bb0406240 do not include boost/bind.hpp (shouldn't be used anymore) + fix remaining bind
(nasty using namespace boost!)
2021-02-12 15:35:19 +01:00
Mael Rouxel-Labbé f55ef7dd50 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-10-09 18:36:17 +02:00
Jane Tournois 5c8df6672a remove CGAL_CFG_MATCHING_BUG_ variants
the "matching bug" of msvc has been fixed since at least vs 2015
2020-09-25 14:25:14 +02:00
Mael Rouxel-Labbé 26355e2e32 Uniformize capital / third person usage of \brief 2020-06-25 15:13:47 +02:00
Maxime Gimeno e9d41d7b7d Fixes for min/max 2020-04-21 11:38:37 +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 dca6b5c19e Strange patch that fixes the remaining bugs
https://github.com/CGAL/cgal/pull/4013#issuecomment-507291311

Because of two constructions in Algebraic_curve_kernel_2 and
Hyperbolic_octagon_translation, the assertion "!blocks.empty()" from
`<CGAL/CORE/MemoryPool.h>` was triggered during the destruction of
thread-local objects.

This strange patch ensures that the order of creation of thread-local
object is right, so the order of destruction is right as well.
2019-07-02 10:53:09 +02:00
Sébastien Loriot 1398af1b0b Merge remote-tracking branch 'cgal/master' into HEAD 2019-04-12 17:44:31 +02:00
Sébastien Loriot 124012d9f9 replace cpp11::array by std::array 2019-03-29 13:28:33 +01:00
Laurent Rineau d4e09c1d78 Modernize the CMakeLists.txt that use LEDA
The file `${CGAL_USE_FILE}` must be included before
`find_package(LEDA)` can be called. But that would require to verify
`CGAL_FOUND` first...

Actually, now that we require at least CMake 3.1, let's say that CGAL
is `REQUIRED`, but not the components. That is the basic truth, and
that avoids testing for `CGAL_FOUND`.

At the same time, I have modified the `cmake_minimum_required`:
  - placed as the first line,
  - set to `3.1...3.13`:
      https://cmake.org/cmake/help/latest/command/cmake_policy.html#setting-policies-by-cmake-version

I have also removed the comments that says the `CMakeLists.txt` was
generated. That may have been true... but before a lot of modifications.
2019-03-27 09:56:16 +01:00
Andreas Fabri 57af0eff08 Fix Periodic_4_hyperbolic_triangulation_2 2019-03-26 17:37:06 +01:00
Iordan Iordanov 5731a61554 added failsafe check to remove(): if cycles of length 2 are created, the operation is canceled and the triangulation is restored to its previous state 2019-02-10 22:42:51 +01:00
Andreas Fabri b474ea2b2a Make static data member thread local 2019-02-05 13:15:07 +01:00
Andreas Fabri b7d4a081c7 No need to write the assignment as it comes by default 2019-01-28 09:39:46 +01:00
Maxime Gimeno c143c657eb Fix permisisons 2019-01-23 16:45:55 +01:00
Maxime Gimeno 386807ad7d Fix MSVC bugs for P4HT2 demo 2019-01-22 10:06:50 +01:00
Iordan Iordanov 626ad00efe Fixes for testsuite warnings in P4HT2 2019-01-22 09:46:39 +01:00
Iordan Iordanov f65c70eb4c Fix for removal test errors 2019-01-21 15:24:26 +01:00
Iordan Iordanov bd1258e4b0 Fixes for warning messages (integers of different sign and unused variable) 2019-01-15 11:11:21 +01:00
Andreas Fabri 10acacaf0d Work around CGAL_CFG_MATCHING_BUG_6 2019-01-15 08:31:18 +01:00
Iordan Iordanov 3265e67da1 Changes to replace Cartesian<Expr> with EPICK_with_sqrt, plus code cleanup, plus documentation fixes (for P4HT2) 2019-01-14 18:30:14 +01:00
Iordan Iordanov 46ff29c2e7 Merge branch 'Periodic_4_hyperbolic_triangulation_2-IIordanov' of github.com:imiordanov/cgal into Periodic_4_hyperbolic_triangulation_2-IIordanov 2019-01-14 14:28:02 +01:00
Iordan Iordanov 9edeb0103b fix for testsuite error 2019-01-14 14:23:14 +01:00
Andreas Fabri 1d8716c0a4 Please add code in the #else 2019-01-11 10:28:08 +01:00
Andreas Fabri 2dec5c9d9f Use CGAL_triangulation_assertion_code 2019-01-10 08:51:11 +01:00
Andreas Fabri 9da81eb8ed Adress int/size_t warnings 2019-01-10 08:30:01 +01:00
Iordan Iordanov 8e4d9c8f64 Added static_cast<>() calls to please Jenkins 2019-01-08 12:31:54 +01:00
Andreas Fabri 667ef0baff The integer constants are too big for VC++ 2019-01-08 09:24:30 +01:00
Iordan Iordanov bb18b38b0a bugfix for Travis (?) 2019-01-08 08:43:05 +01:00
Iordan Iordanov 1999228d91 Removed unneeded vertex class constructor 2019-01-03 15:11:59 +01:00
Iordan Iordanov 4c12f4a2ee Modified triangulation classes to use constructions and predicates from geom_traits() 2019-01-03 15:11:35 +01:00
Iordan Iordanov cb6b6e179a Modified traits class as for HT2: construction and predicate objects in 'internal' namespace, _object functions declared in traits class 2019-01-03 14:41:30 +01:00
Iordan Iordanov d7a70c7264 Modified inheritance for geom_traits, cw, ccw, tds, and neighbor_translation 2018-12-30 10:43:58 +01:00
Iordan Iordanov 9631dbb835 Added _object function for inexact circumcenter construction 2018-12-30 10:42:38 +01:00
Iordan Iordanov cf5e7f0691 Added 'remove' function with iterator input 2018-12-27 21:12:59 +01:00
Mael Rouxel-Labbé 94e9ae9667 Cleaned P4HT2 tests 2018-12-20 10:20:21 +01:00
Mael Rouxel-Labbé 852ef51bce Compilation fixes 2018-12-20 09:53:15 +01:00