Commit Graph

208 Commits

Author SHA1 Message Date
Laurent Rineau e5001d1a50 update our CMake version 3.18...3.31
That will suppress the warnings about `CMP0167` (from CMake 3.30):

```
CMake Warning (dev) at cmake/modules/display-third-party-libs-versions.cmake:37 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.
```
2025-02-04 14:32:37 +01:00
Sebastien Loriot eac5679444
Fix exception double free in Convex decomposition (#8433)
## Summary of Changes

Change the order of delete in External_structure_builder.h to avoid a
double free in the exception case

## Release Management

* Affected package(s): Convex_decomposition_3
* Issue(s) solved (if any): fix #422 
* Feature/Small Feature (if any): bugfix
* License and copyright ownership: Returned to CGAL authors
2024-09-03 18:32:27 +02:00
Sébastien Loriot dc1763a4d4 Merge remote-tracking branch 'cgal/5.6.x-branch' 2024-09-03 17:27:23 +02:00
Sébastien Loriot 3b531094df Merge remote-tracking branch 'cgal/5.5.x-branch' into HEAD 2024-09-03 17:26:18 +02:00
Sébastien Loriot b67bb2529d use assert in test 2024-09-02 09:03:30 +02:00
Sébastien Loriot abd99b68eb handle nested holes in convex decomposition 2024-08-29 10:10:20 +02:00
Giles Bathgate cf30f4dfab Remove unused hashmap 2024-08-26 09:29:21 +01:00
Giles Bathgate 44b92c11db Move the delete to the end of the function 2024-08-25 18:58:55 +01:00
Giles Bathgate 9d2670f017 Remove commented out code 2024-08-25 18:58:24 +01:00
Laurent Rineau 3a223ebd1e cmake_minimum_required(VERSION 3.12...3.29) 2024-06-06 20:19:44 +02:00
Laurent Rineau 2a2031df3b Rename cgallab to CGALlab
@janetournois (see https://github.com/CGAL/cgal/pull/8149#issuecomment-2066444180
2024-04-23 15:09:51 +02:00
Laurent Rineau 621859b526 Rename Polyhedron demo to CGAL Lab
And announce it in the `CHANGES.md`.
2024-04-18 12:39:30 +02:00
Laurent Rineau 708711e7a7 Merge pull request #8018 from janetournois/PMP-add_bbox_to_face_graph-jtournois
New function `PMP::add_bbox(face_graph)` that adds bbox to face graph
2024-04-05 14:25:17 +02:00
Jane Tournois a02ce9ea21 fix dependencies by removing Random_numbers where it's not needed anymore 2024-03-07 09:36:59 +01:00
Sébastien Loriot 647d26edaf actually core is now needed as it extends the gmp/boost arithmetic kernel 2024-02-27 17:55:05 +01:00
Sébastien Loriot 3b30756cd3 do not depend on CGAL_Core 2024-02-27 14:46:18 +01:00
Andreas Fabri e4558a4d4b Merge branch 'master' into CORE-boost_mp_number-GF 2024-02-23 17:04:37 +01:00
albert-github b3af96caa1 issue #7454 Consistency of BigO notations
Create `cgalBigO` marco and used it.
(`The macro `cgalBigOLarge` is for special situations where we need bigger round brackets)
2023-07-04 16:23:14 +02:00
Sébastien Loriot 9e72361537 All packages depends now on CGAL_Core (like Kernel) 2023-02-20 15:24:16 +01:00
Giles Bathgate e8b66f23cc Additional required headers in Convex_decomposition_3 2023-01-18 22:41:52 +00:00
Giles Bathgate 0de5f61baf Include required header in External_structure_builder.h 2023-01-18 21:37:59 +00:00
Giles Bathgate f8bf2b33b6 Include required header in Ray_hit_generator.h 2023-01-18 21:03:36 +00:00
Laurent Rineau 2288225448 Massive update of CMake policies to version 3.23 2022-05-06 09:34:35 +02:00
Sébastien Loriot 1172c9df7d Merge pull request #6445 from GilesBathgate/Convex_decomposition-cleanup_ray_hit_generator2-GilesBathgate
Consolidate the differences and use inheritance to remove duplication
2022-03-29 17:48:17 +02:00
Andreas Fabri 4e7bbff6df Don't use a variable for calling a static method (VC2015 warned) 2022-03-23 09:45:23 +01:00
Giles Bathgate c356c621cd Consolidate the differences and use inheritance to remove duplication 2022-03-21 18:24:28 +00:00
Sébastien Loriot ab48f63e30 update latest cmake version tested 2021-11-09 10:58:47 +01:00
Laurent Rineau 683140311f Merge pull request #5183 from GilesBathgate/fix-uninitialized-member-decomposition
Fix uninitialized member in Single_wall_creator.h
2021-09-29 11:47:08 +02:00
Laurent Rineau 1ffe46a83e Merge pull request #5184 from GilesBathgate/fix-uninitialized-member-edge-sorter
Fix uninitialized member in Edge_sorter.h
2021-09-29 11:47:05 +02:00
Laurent Rineau 2d9dc6cfd8 Merge pull request #5193 from GilesBathgate/fix-uninitialized-member-ray-hit-generator
Fix uninitialized members in Ray_hit_generator2.h
2021-09-29 11:46:58 +02:00
Giles Bathgate 4229fa4a12 Fix dereference after null check in Reflex_vertex_searcher.h 2021-04-28 09:59:25 +01:00
Sebastien Loriot b7323389c7
Merge pull request #5622 from maxGimeno/CMake-Update_versions_in_scripts-maxGimeno
Update maximum cmake versions
2021-04-17 10:58:14 +02:00
Maxime Gimeno c49152359c update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +02:00
Maxime Gimeno 17602e589e Merge remote-tracking branch 'cgal/master' into CGAL-clang_tidy__nullptr_on_Mesh_2-GF 2021-04-07 09:17:51 +02:00
Giles Bathgate 30e536bdf0 Remove default paramter from set_index in SNC_indexed_items 2021-03-01 08:06:48 +00:00
Maxime Gimeno d5811d0a41 clang-tidy on tests 2021-02-18 15:15:12 +01:00
Maxime Gimeno 5d2ad68148 Add new Dependences. ATTENTION BGL is propagated through the NPs in Stream_support 2021-01-08 15:58:46 +01:00
Giles Bathgate c4b5b2eff7 Fix uninitialized members in Ray_hit_generator2.h 2020-11-20 19:25:50 +00:00
Giles Bathgate 1a081277fc Fix uninitialized member in Edge_sorter.h 2020-11-20 19:01:51 +00:00
Giles Bathgate b8ed9ff04c Fix uninitialized member in Single_wall_creator.h 2020-11-20 16:24:50 +00:00
Maxime Gimeno 9c15f2c9dc Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +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 0a46621dc6 Merge branch 'cgal/releases/CGAL-4.14-branch'
whitespace+tab removal, merged with option -Xignore-all-space
2020-03-26 13:28:46 +01:00
Sébastien Loriot 590612a563 run the script to remove tabs and trailing whitespaces 2020-03-26 13:25:16 +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é f68141a6d3 Merge branch 'PMP-Locate-GF-old' into PMP-Locate-GF 2019-07-01 11:28:25 +02:00
Laurent Rineau 4fbf00fb8a CMake>=3.13: opt for for new policies up to 3.15 2019-06-19 14:34:59 +02:00
Mael Rouxel-Labbé 0b506f5cce Fix package dependencies 2019-05-10 12:41:25 +02:00