Laurent Rineau
5853673267
fix the concurrent compact container with timestamps
2025-01-31 18:07:59 +01:00
Sébastien Loriot
3176178224
fix compilation issues
2023-11-06 11:43:29 +01:00
Sébastien Loriot
8700394122
boost::mpl::if_ -> std::conditional
2023-09-24 22:57:20 +02:00
Mael
0ff7882997
Merge branch 'master' into feature/bug_documentation_spell_20221113
2022-12-06 22:21:06 +01:00
Andreas Fabri
8ddf7848a0
forward call instead of duplicated code
2022-11-30 10:03:45 +00:00
Andreas Fabri
699454ae84
STL Extensions: Correct spelling
2022-11-29 13:22:00 +00:00
albert-github
eed54a0ae5
spelling corrections
...
Some spelling corrections (Directories starting with `O`-`S` , first part),
some backward work
some forward work
2022-11-15 18:45:39 +01:00
Andreas Fabri
440a8dfb7b
Fix file name
2022-02-03 08:41:04 +00:00
Andreas Fabri
735752bec9
Do the remaining changes after Laurent's check
2022-02-03 08:02:11 +00:00
Laurent Rineau
e683686055
Merge pull request #6094 from sloriot/AOS_2-remove_fast_pool_allocator
...
Fix issues with new containers for arrangement cells
# Conflicts:
# Arrangement_on_surface_2/include/CGAL/Arr_dcel_base.h
2021-11-18 12:31:39 +01:00
Sébastien Loriot
9ad2991483
same change for CCC
2021-11-04 16:27:05 +01:00
Andreas Fabri
15d788ef29
Remove commented code section which contains a call to memset()
2021-09-23 16:57:34 +02:00
Laurent Rineau
59a0da4f13
Merge pull request #5692 from maxGimeno/CGAL_cpp11_atomic_and_threads-maxGimeno
...
CGAL:: Use std atomic and threads
# Conflicts:
# Arrangement_on_surface_2/include/CGAL/Arr_counting_traits_2.h
2021-05-19 17:23:53 +02:00
Maxime Gimeno
e9b7595fff
Deprecate CGAL headers for threads, atomic and result_of, and move their content to config.h as fallback
2021-05-07 11:09:24 +02:00
Guillaume Damiand
086a09991f
Add index method in concurrent compact container (to have same API for CC and CCC)
2020-10-22 10:29:57 +02:00
Laurent Rineau
e0b2bc6235
Merge pull request #4798 from maxGimeno/STL_Extension-Fix_compact_container-GF
...
Fix unknown behavior that changed in Visual 2019
2020-06-23 18:49:49 +02:00
Maxime Gimeno
83fed40f0b
Fix unknown behavior that changed in Visual 2019
2020-06-19 14:45:32 +02:00
Laurent Rineau
871c97273a
Merge pull request #4496 from lrineau/CGAL-move_semantic_for_triangulations-GF
...
Add move-semantic to Compact_container and Triangulations
2020-06-03 16:23:22 +02:00
Marc Glisse
f3d5a573df
Use allocator_traits for destroy
2020-05-21 11:52:21 +02: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
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
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
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
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
Laurent Rineau
e9f1cb405f
Improvement for set_size
2019-12-04 15:43:01 +01:00
Laurent Rineau
6cdd833e13
Merge branch 'DT_3-issue4388__for_CGAL-4.14.2-GF' into DT_3-issue4388-GF
2019-12-04 15:39:55 +01:00
Laurent Rineau
6ded244449
Merge branch 'DT_3-issue4388__for_CGAL-4.13.2-GF' into DT_3-issue4388__for_CGAL-4.14.2-GF
2019-12-04 15:32:07 +01:00
Laurent Rineau
3ade506eba
Create approximate_size() in Concurrent_compact_container
...
Instead of having an atomic integer for the size of the compact
container, now all free lists have an atomic integer for their size,
but it is only updated when the size is increased by 10%.
2019-12-04 15:20:52 +01:00
Laurent Rineau
4208951252
revert "Access to the "current" size of the compact container"
...
Reverts commit 2836828d61
2019-12-04 15:16:25 +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
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
Sébastien Loriot
c0edb5ecaa
remove CGAL_CXX11 macro usage
2019-07-08 11:42:17 +02:00
Andreas Fabri
e2d19b0c8d
Replace NULL and Nullptr_t with nullptr and nullptr_t
2019-06-04 23:45:44 +02:00
Laurent Rineau
90782d4b7f
Revert the merge of two pull-requests that target CGAL-4.14-branch
...
- Revert "Merge pull request #3857 from MaelRL/CGAL-Fix_duplicate_non_manifold_vertices-GF"
- Revert "Merge pull request #3898 from lrineau/Mesh_3-stop_during_protection-lrineau"
2019-05-14 17:50:45 +02:00
Laurent Rineau
0341f602b3
Merge pull request #3896 from lrineau/fix-Wnull-pointer-arithmetic
...
Fix AppleClang -Wnull-pointer-arithmetic warning with TBB as well
2019-05-06 15:30:18 +02:00
Laurent Rineau
e3c717c293
Merge pull request #3896 from lrineau/fix-Wnull-pointer-arithmetic
...
Fix AppleClang -Wnull-pointer-arithmetic warning with TBB as well
2019-05-06 15:01:55 +02:00
Laurent Rineau
f34231dab6
Merge branch 'fix-Wnull-pointer-arithmetic' into Mesh_3-stop_during_protection-lrineau
2019-05-02 14:46:49 +02:00
Laurent Rineau
19527dc384
Fix AppleClang -Wnull-pointer-arithmetic warning with TBB as well
2019-05-02 14:36:26 +02:00
Sébastien Loriot
3cfbccd44a
remove workaround c++11 features in STL_extension
2019-03-29 10:41:49 +01:00
Laurent Rineau
3a8aee198d
Concurrent_compact_container uses Time_stamper
...
- and remove the `CCC_iterator`, in favor of a generic `CC_iterator`.
2018-10-03 17:34:38 +02:00
Laurent Rineau
ed034a53be
Fix Concurrent_compact_container::merge
...
The bug was detected by the testsuite.
2018-07-23 10:23:28 +02:00
Laurent Rineau
2836828d61
Access to the "current" size of the compact container
2018-07-18 18:47:15 +02:00
Laurent Rineau
c68cf8fc4c
Merge pull request #3129 from sgiraudot/Point_set_processing-Callbacks-GF
...
Point Set Processing: Callbacks
2018-06-27 10:21:40 +02:00
Mael Rouxel-Labbé
26c857a431
Moved unary/binary_function to CGAL::cpp98
2018-06-13 15:58:19 +02:00
Simon Giraudot
4b7f5bccc4
Only include needed TBB headers
2018-05-29 11:42:03 +02:00
Andreas Fabri
5bc6d78f7f
fixes in STL_Extension
2018-04-20 08:53:22 +01:00
Laurent Rineau
33d3abaf26
Fix compilation errors
2018-04-17 17:15:00 +02:00
Laurent Rineau
095c27e2be
cosmetic changes
2018-04-17 17:14:19 +02:00
Andreas Fabri
7cbffac35b
Deal with deprecated functions allocator<T>::construct/destroy
2018-04-17 13:35:04 +01:00