Sébastien Loriot
99619dc634
boost::prior -> std::prev
2023-04-23 22:37:07 +02:00
Mael
6538b22e06
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF
2022-12-05 16:03:41 +01:00
Andreas Fabri
699454ae84
STL Extensions: Correct spelling
2022-11-29 13:22:00 +00:00
Mael Rouxel-Labbé
6f187f332c
Misc minor fixes/improvements
2022-09-14 14:08:23 +02:00
Mael Rouxel-Labbé
9b265fddf8
Uniformize REQUIRED / QUIET usage:
...
Following this:
- CGAL: always REQUIRED
- CGAL component: COMPONENT / OPTIONAL_COMPONENT (never QUIET)
- required 3rd party: (not QUIET) + message(NOTICE "") on NOT_FOUND
- optional 3rd party: QUIET + message(STATUS "") except for Polyhedron/demo
- 3rd party components: COMPONENT / OPTIONAL_COMPONENT
(QUIET depending on required or optional 3rd party)
2022-09-06 16:24:27 +02:00
Mael Rouxel-Labbé
7cb21c24b0
Uniformize message() for missing 3rd party libraries
...
STATUS for non-essential, NOTICE for important stuff
2022-09-06 16:07:31 +02:00
Mael Rouxel-Labbé
28ba446895
Clean (some) CMakeLists.txt indentation
2022-09-06 15:38:18 +02:00
Sébastien Loriot
37580e9daf
missing () in macro + typo fixes
2022-06-14 11:24:21 +02:00
Sébastien Loriot
8ed2990381
use CGAL_static_assertion
...
static_assert(b) is only available in c++17
2022-06-10 10:10:12 +02:00
Sébastien Loriot
b96f6d5ce9
move is_iterator to type_traits
2022-06-10 09:43:59 +02:00
Sébastien Loriot
3fa436459d
BOOST_MPL_ASSERT -> static_assert
2022-06-10 08:46:01 +02:00
Sébastien Loriot
ac8b6d4731
boost::is_same --> std::is_same
2022-06-10 08:18:20 +02:00
Laurent Rineau
2288225448
Massive update of CMake policies to version 3.23
2022-05-06 09:34:35 +02:00
Laurent Rineau
f9c05a0ba1
Merge pull request #6253 from afabri/P2T2-assert-GF
...
CGAL: In testcode do not use CGAL_assertion but assert
2022-02-02 16:38:22 +01:00
Laurent Rineau
e199ec36d7
Merge pull request #6244 from sloriot/CGAL-remove_flag_in_test
...
Remove conditional code as the flag has disappeared
2022-01-21 14:40:11 +01:00
Andreas Fabri
72b5d0d080
Deal with STL_extension
2022-01-18 18:45:42 +00:00
Sébastien Loriot
bab8e6ec19
remove conditional code as the flag has disappeared
2022-01-17 14:40:42 +01:00
Sébastien Loriot
c169c41240
Merge remote-tracking branch 'maxGimeno/PMP-Example_of_new_mp_function-maxGimeno' into HEAD
2022-01-12 13:33:49 +01:00
Sébastien Loriot
75b03e6c0a
use_default_values() -> default_values()
2022-01-10 18:36:37 +01:00
Sébastien Loriot
382cbfaf25
move test + handle no deprecated code
2022-01-10 10:26:11 +01:00
Sébastien Loriot
57f8e3d7c7
make the relaxed heap selectionnable using a template parameter
2021-11-30 17:49:48 +01:00
Sébastien Loriot
e674e5f663
move implementation in dedicated header
2021-11-30 16:03:07 +01:00
Sébastien Loriot
ab48f63e30
update latest cmake version tested
2021-11-09 10:58:47 +01:00
Sébastien Loriot
98e471849b
moving files from internal to PKG/internal
2021-08-26 11:33:39 +02:00
Maxime Gimeno
5c365a6bc1
Fix warning
2021-05-26 15:30:01 +02:00
Maxime GIMENO
ee310766fd
Use right warning disabling
...
Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
2021-05-25 14:02:43 +02:00
Maxime Gimeno
747add59d6
Add a test for result_of.
2021-05-25 13:47:18 +02:00
Sébastien Loriot
4e519a3c7a
move documented IO functions in IO namespace
2021-05-05 13:15:37 +02: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
Andreas Fabri
3a9ffc89cf
Reorganize #ifdef as the edge_descriptor is not the one from OpenMesh
2021-02-26 16:33:13 +00:00
Maxime Gimeno
d5811d0a41
clang-tidy on tests
2021-02-18 15:15:12 +01:00
Laurent Rineau
a735e849c0
Merge pull request #5152 from sloriot/CGAL-remove_bind
...
Replace usages of boost::bind
2021-02-05 16:14:04 +01:00
Andreas Fabri
2ac1b9632b
Fix composition testsuite
2021-01-29 12:35:52 +00:00
Laurent Rineau
78ca6bb109
Merge pull request #5292 from maxGimeno/CTest-Fix_examples_and_tests_for_ctest-maxGImeno
...
CTest: Fix some examples and tests
2021-01-06 16:11:25 +01:00
Sébastien Loriot
41ceed5347
match requirements of CGAL adaptors
2021-01-06 12:59:12 +01:00
Sébastien Loriot
cef46c9ee6
replace bind in STL_extension
2021-01-06 12:59:12 +01:00
Maxime Gimeno
dc291b8c0d
Fix tests and examples for ctest.
2020-12-17 14:27:54 +01:00
Laurent Rineau
2264a204ed
Merge pull request #5261 from lrineau/fix-Wnon-c-typedef-for-linkage
...
Fix warnings [-Wnon-c-typedef-for-linkage] In Ridges and Jet_fitting
2020-12-16 17:49:14 +01:00
Laurent Rineau
a98d5ec638
Merge pull request #5261 from lrineau/fix-Wnon-c-typedef-for-linkage
...
Fix warnings [-Wnon-c-typedef-for-linkage] In Ridges and Jet_fitting
2020-12-16 17:47:53 +01:00
Maxime Gimeno
c7c5ae9150
add missing define
2020-12-11 13:56:35 +01:00
Laurent Rineau
71d489d3cb
Fix also a TBB deprecation warning
2020-12-10 15:30:27 +01:00
Maxime Gimeno
cc00d293df
Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno
2020-11-06 09:37:18 +01:00
Simon Giraudot
9d21b57013
Test multiset with CC allocation
2020-10-22 08:59:48 +02:00
Maxime Gimeno
9c15f2c9dc
Use FeatureSummary in the demo, and remove CGAL_FOUND
2020-08-04 12:46:17 +02:00
Laurent Rineau
9b8ecd720b
Merge pull request #4636 from sgiraudot/CMake-Third_party_imported_targets-GF
...
CMake: Use Imported Targets for 3rd Party Libs
2020-06-05 17:54:14 +02:00
Laurent Rineau
dcc4fb1cc1
Merge remote-tracking branch 'cgal/master' into CGAL-move_semantic_for_triangulations-GF
...
# Conflicts:
# STL_Extension/include/CGAL/Compact_container.h
2020-05-20 09:46:26 +02:00
Simon Giraudot
1dd6a665a1
Merge remote-tracking branch 'mine/CMake-Third_party_imported_targets-GF' into CMake-Third_party_imported_targets-GF
2020-04-20 09:09:32 +02:00
Sebastien Loriot
98fafe4ef1
Merge pull request #4514 from MaelRL/CGAL-Fix_warnings-GF
...
Fix (some) testuite warnings
2020-04-16 18:15:11 +02:00
Simon Giraudot
421096fd7f
Use imported targets everywhere
2020-04-15 14:06:13 +02:00
Mael Rouxel-Labbé
3ddf7e7287
Fix warning (ignoring return of nodiscard-marked functions)
...
https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-5.1-Ic-115/STL_Extension/TestReport_afabri_x64_Cygwin-Windows10_MSVC2017-Debug-64bits.gz
2020-04-06 22:24:24 +02:00
Sébastien Loriot
2e180ac589
extra run of the script to remove tabs and trailing whitespaces
2020-03-26 19:29:44 +01:00
Sébastien Loriot
a0345b135c
Update branch from master after trailing whitespaces and tabs removal
2020-03-26 19:29:05 +01:00
Sébastien Loriot
d1a323c730
extra run of the script to remove tabs and trailing whitespaces
2020-03-26 19:24:14 +01:00
Sébastien Loriot
86e25f7e71
Update branch from master after trailing whitespaces and tabs removal
2020-03-26 19:23:54 +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
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
Simon Giraudot
63c1090c04
Upate test_for_each
2020-03-23 13:42:45 +01:00
Simon Giraudot
c8aa0c8f57
Prevent from testing Parallel_tag if TBB is not here
2020-03-19 15:54:53 +01:00
Laurent Rineau
378554e5a7
Change the API of `for_compact_container`/`Compact_container_traits`
...
Now, we have a proper pair of getter/setter, and the `void` pointer is
get by a `reinterpret_cast`, instead of a union.
Cc: @mglisse
2020-03-09 17:19:58 +01:00
Simon Giraudot
b99402f953
Add convenient for_each to transparently use sequential/parallel/randomaccess/not
2020-03-02 12:23:10 +01:00
Laurent Rineau
b311ab59ed
[modernize-use-nullptr] (clang-tidy)
2020-01-31 12:11:16 +01:00
Laurent Rineau
2717864bd7
Fix warnings cppcoreguidelines-special-member-functions (clang-tidy)
...
- Remove trivial copy-constructors that prevents the compiler to
generate the other special member functions.
2020-01-31 12:08:05 +01:00
Laurent Rineau
db55548830
Fix a conversion warning
2020-01-31 12:01:43 +01:00
Laurent Rineau
e82ea5de96
Add move-semantic to Compact_container
...
That required a refactoring the timestamper feature. And the
explanation why is quite long... Let's do it.
The CGAL triangulations use the `Rebind_TDS` feature. During the
instanciation of `Compact_container<T>` it is important that `T` is
allowed to be incomplete, otherwise the circular dependencies between
TDS and Vertex/Cell cannot be resolved by the compiler. In previous
implementation of the timestamper, to allow `T` to be an incomplete
type, the compact container only carried a *point* to the time
stamper, allocated on the heap. A moved-from compact container would
only be valid if one recreated a time stamper for it on the head in
the move-constructor. As I want move operations to be `noexcept`, I
needed to change that implementation. Now the triangulation always
carries a time stamp counter (`std::size`), independently of the type
`T`, and the time stamper is an empty class, with static methods. That
allows `T` to be incomplete during the declaration of
`Compact_container<T>`.
2020-01-31 11:29:55 +01:00
Maxime Gimeno
35600534f0
fixes
2020-01-21 10:05:19 +01:00
Maxime Gimeno
85712ba28c
WIP replacing tbb deprecated includes.
2020-01-14 15:03:20 +01:00
Maxime Gimeno
64253458aa
Fix warnings
2019-07-12 10:49:10 +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
Laurent Rineau
b8fe6b10ee
Merge pull request #3804 from afabri/CGAL_tests_must_not_include_basic-GF
...
Do not include <CGAL/basic.h>
2019-05-21 16:37:01 +02:00
Laurent Rineau
b18f6e907f
Fix one remaining compilation error
2019-05-09 16:03:15 +02:00
Laurent Rineau
3a32f3f3ef
Restore CGAL::cpp11 temporarily
...
This reverts commit 04978d8aae .
2019-04-01 18:27:35 +02:00
Sébastien Loriot
04978d8aae
remove test no longer needed
2019-03-29 13:28:33 +01:00
Sébastien Loriot
124012d9f9
replace cpp11::array by std::array
2019-03-29 13:28:33 +01:00
Sébastien Loriot
f62624c4f9
replace cpp11::tuple by std::tuple
2019-03-29 13:28:33 +01:00
Sébastien Loriot
ce126b87c6
remove cpp11::copy_n, cpp11::prev, and cpp11::next and use std instead
2019-03-29 13:28:32 +01:00
Sébastien Loriot
3cfbccd44a
remove workaround c++11 features in STL_extension
2019-03-29 10:41:49 +01:00
Andreas Fabri
a1609350aa
Remove #include<CGAL/basic.h> amd put what is needed if something is missing
2019-03-27 15:21:33 +01:00
Andreas Fabri
e62ab30e6c
Fixes of fixes
2019-02-15 09:03:58 +01:00
Andreas Fabri
fa2882cc00
Fix STL_extensions
2019-01-24 18:24:57 +01:00
Andreas Fabri
ade4903000
Fix Voronoi
2019-01-22 19:07:32 +01:00
Andreas Fabri
e294889e80
More casts to avoid warning
2018-11-29 10:46:48 +01:00
Guillaume Damiand
7d406fbb9c
Merge branch 'master' into CGAL-cmake_cleanup-gdamiand
2018-11-05 07:32:58 +01:00
Guillaume Damiand
92ba7fa6c9
Update minimum cmake required version in all CMakeLists.txt
2018-10-18 14:49:23 +02:00
Guillaume Damiand
0bd9088b5a
Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required.
2018-10-17 14:17:08 +02:00
Laurent Rineau
048934bb6c
Parallel compact container and Mesh_3 deterministic with 1 thread
2018-10-03 17:35:10 +02:00
Mael Rouxel-Labbé
4c789c2e8a
Fixed typo in comment
2018-06-13 17:30:46 +02:00
Mael Rouxel-Labbé
27eb601598
Added a test for join iterators
2018-06-13 15:28:52 +02:00
Mael Rouxel-Labbé
b41f1d6272
Various deprecation-related improvements
2018-05-18 16:47:54 +02:00
Andreas Fabri
c54a6a4980
Put CGAL::random_shuffle() in the subnamespace cpp98
2018-04-11 09:32:23 +01:00
Andreas Fabri
3955f031bd
Fix examples/tests/demos
2018-04-04 14:18:22 +01:00
Andreas Fabri
be20f518e7
Use CGAL_USE()
2018-03-30 13:32:39 +01:00
Andreas Fabri
f4ec38e27c
STL_extensions
2018-01-18 14:15:21 +00:00
Laurent Rineau
0681ac6dbc
Fix the TBB_USE_FILE warnings
2017-11-15 17:00:02 +01:00
Maxime Gimeno
96f7b0f138
Fix catch value warnings
2017-07-21 11:27:14 +02:00
Laurent Rineau
e294cd8fe9
Fix new (recycled) time stamps when a TDS is copied
2017-05-18 10:57:13 +02:00
Laurent Rineau
7a84cbceea
Merge pull request #1509 from gdamiand/Compact_container-add_debug_function-gdamiand
...
Add index function in Compact container
2016-10-17 10:01:27 +02:00
Guillaume Damiand
5626eeae92
Add test of index and operator[] for compact container.
2016-10-06 08:39:25 -04:00