Giles Bathgate
ce7d06d5f4
Disable NEF trace unless the user specifically wants it
2021-02-07 11:55:29 +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
d78842712c
Fix conversion warnigns
2021-01-26 10:22:18 +01:00
Maxime Gimeno
ffa019712b
First face may be -1, don't fail on it, just don't use it
2021-01-25 12:59:48 +01:00
Andreas Fabri
361598fe8f
Cherry-picked 581ba10 (Thank you Giles)
2021-01-20 15:39:50 +00: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
Andreas Fabri
3dade2a027
Remove the flush which is not needed for cerr and put parenthesis
2021-01-19 12:35:05 +00:00
Maxime Gimeno
618b409b0f
Fix Nef_2 and Nef_S2 IO
2021-01-18 15:40:40 +01:00
Giles Bathgate
1906dca54d
Remove unused code
2020-11-18 07:35:15 +00:00
Giles Bathgate
a5b2137ce5
Use existing code for assertion instead of code duplication.
2020-11-18 07:12:17 +00:00
Sébastien Loriot
090b82e762
Merge remote-tracking branch 'cgal/releases/CGAL-5.0-branch'
2020-10-02 15:08:56 +02:00
Laurent Rineau
a886ecbd71
Fix a warning in an inelegant code
...
- `std::cerr` is already unbufferized, and `std::flush` does nothing
on it,
- and anyway, `std::endl` calls `std::flush`.
2020-09-29 09:14:11 +02:00
Laurent Rineau
9d16a42257
Fix ambiguous comparisons error with C++20
2020-06-15 17:07:35 +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
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
64253458aa
Fix warnings
2019-07-12 10:49:10 +02:00
Andreas Fabri
4581f1b7a8
Morte replacements
2019-06-05 08:39:55 +02:00
Andreas Fabri
5532b84b4f
nullptr_t -> std::nullptr_t
2019-06-05 07:28:56 +02:00
Andreas Fabri
e2d19b0c8d
Replace NULL and Nullptr_t with nullptr and nullptr_t
2019-06-04 23:45:44 +02:00
Mael Rouxel-Labbé
2848158354
Fix typos
2019-05-20 08:54:04 +02:00
Sébastien Loriot
7a5ffd043e
avoid unused variable warnings
2019-04-24 15:16:52 +02:00
Laurent Rineau
fdd8357915
Merge pull request #3580 from afabri/Stream_support-Color-GF
...
Fix warnings (Add/remove copy constructors, and other warnings)
Co-authored-by: Laurent Rineau <laurent.rineau@cgal.org>
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
Co-authored-by: Maxime GIMENO <maxime.gimeno@gmail.com>
2019-02-13 15:25:07 +00:00
Sébastien Loriot
e4cbae525c
Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' into HEAD
2019-01-31 11:25:26 +01:00
Sébastien Loriot
99d842401a
Merge remote-tracking branch 'cgal/releases/CGAL-4.12-branch' into HEAD
2019-01-31 11:24:50 +01:00
Laurent Rineau
afc3de2894
Merge branch 'master' into Stream_support-Color-GF
2019-01-23 09:37:08 +01:00
Sébastien Loriot
e34ddaef38
reset the halfedge pointer of the faces before setting them
...
that way in the bounded case, the infinite face has no halfedge
associated, only holes. Before the patch it could be that
an erased one was associated
2019-01-22 19:06:58 +01:00
Andreas Fabri
91a1603ead
fix Nef_2
2019-01-18 09:44:58 +01:00
Andreas Fabri
6596ba981c
Polygon, Surface_mesher, Nef,..
2019-01-17 19:35:02 +01:00
Andreas Fabri
8dc8ca51e7
Fix Nef_2
2019-01-10 17:38:04 +01:00
Sébastien Loriot
0685423ae8
update from cgal/master
2018-11-02 11:32:31 +01:00
Mael Rouxel-Labbé
26c857a431
Moved unary/binary_function to CGAL::cpp98
2018-06-13 15:58:19 +02:00
Andreas Fabri
97b5c37b6e
Fix includes
2018-05-04 09:00:11 +02:00
Andreas Fabri
f972c6da7a
Nef
2018-01-18 10:46:12 +00:00
Andreas Fabri
fa92aa49f7
Nef
2018-01-18 10:43:57 +00: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
0698f79aff
add SPDX identifier for files under the LGPL-3+ license
2017-11-12 10:17:50 +01:00
Laurent Rineau
2b35bddfb2
Replace all std::binary_function by CGAL::binary_function
2017-10-04 16:36:32 +02:00
Laurent Rineau
7e9f756935
Replace all std::unary_function by CGAL::unary_function
2017-10-04 15:57:09 +02:00
Maxime Gimeno
96f7b0f138
Fix catch value warnings
2017-07-21 11:27:14 +02:00
Mael Rouxel-Labbé
cd2a562ffa
Fixed improper guards against the inclusion of deprecated headers
2017-05-16 10:17:41 +02:00
Sébastien Loriot
8ec6d9fc97
Remove extract EXPORT instructions
...
Follow up of 78bbe0f3 and 00a91ff5
2017-01-24 17:11:01 +01:00
Sébastien Loriot
78bbe0f356
Follow up of 00a91ff5
...
commit 00a91ff5ce
Author: Sébastien Loriot <sebastien.loriot@cgal.org>
Date: Thu Jan 19 15:15:29 2017 +0100
remove Nef_2 polynomial from CGAL lib
2017-01-20 16:19:07 +01:00
Sébastien Loriot
00a91ff5ce
remove Nef_2 polynomial from CGAL lib
2017-01-19 15:20:28 +01: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
9dd43b7d0a
declare thread local, or const
2016-09-26 12:49:24 +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
Guillaume Damiand
10469f9c4e
Update with master
2016-05-25 10:58:55 +02:00
Guillaume Damiand
3e3c4658bb
Replace iword(CGAL::IO::mode) by get_mode
2016-03-09 10:37:57 +01:00
Andreas Fabri
beb1417477
remove unused header files; remove commented includes; changed include paths
2016-02-15 14:20:12 +01:00
Andreas Fabri
fa5bda2fbb
if the else -> ()?:
2016-01-27 11:07:26 +01:00
Andreas Fabri
e80181c4c2
reindent in Nef_2
2016-01-27 09:14:08 +01:00
Andreas Fabri
05f8dbf58d
reindent in Nef_2
2016-01-27 09:11:35 +01:00
Andreas Fabri
99b4e2f150
more CGAL_USE and some reindentations
2016-01-21 10:22:20 +01: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
Jane Tournois
629983854e
attempt to fix the use of "inline"
...
the warning C4396 happens for these functions on msvc2015
----------------------------------------------
Compiler Warning (level 2) C4396
Visual Studio 2008
"name" : the inline specifier cannot be used when a friend declaration refers to a specialization of a function template
A specialization of a function template cannot specify any of the inline specifiers. The compiler issues warning C4396 and ignores the inline specifier.
To correct this error
Remove the inline, __inline, or __forceinline specifier from the friend function declaration.
----------------------------------------------
2015-08-11 17:14:46 +02:00
Guillaume Damiand
2f52912a79
One more file (NefPolynomial.cpp).
2014-11-02 17:53:02 +01:00
Guillaume Damiand
e8fe29c79c
Ok for the compilation version header only (only for the treated files).
2014-10-31 17:09:48 +01:00
Sébastien Loriot
28fe5170c5
add missing include
2014-06-30 15:54:04 +02:00
Sébastien Loriot
990336b1e5
rename macro
2014-06-30 11:06:30 +02:00
Sébastien Loriot
0230e979e2
Merge branch 'CGAL-use_leda-GF-OLD' into CGAL-use_leda-GF
...
Conflicts:
Arrangement_on_surface_2/test/Arrangement_on_surface_2/construction_test_suite_generator.cpp
Arrangement_on_surface_2/test/Arrangement_on_surface_2/test_construction.cpp
Documentation/doc/Installation.txt
Kernel_23/include/CGAL/Exact_predicates_exact_constructions_kernel.h
2014-06-18 22:50:06 +02:00
Andreas Fabri
6c547e5663
Mainly added includes
2013-09-13 22:24:30 +02:00
Sébastien Loriot
332e8a634d
add documented types in the code
2013-07-25 17:41:20 +02:00
Andreas Fabri
4b91ac49af
also test leda if it is available
2013-03-23 08:03:32 +01:00
Andreas Fabri
5ea77276c6
disable warning decorated name length exceeded, name was truncated
2013-03-01 16:50:53 +01:00
Andreas Fabri
e44de39ada
switch from int to bool to avoid a performance warning
2013-02-08 18:16:53 +01:00
Andreas Fabri
2ea8fab6eb
change return type from int to bool
2013-02-07 20:29:27 +01:00
Laurent Rineau
d19578725b
Fix warnings
2013-02-07 18:15:23 +01:00
Sébastien Loriot
4ec9529581
Merge branch 'doxy-port-pmoeller'
...
Conflicts:
.gitattributes
Surface_reconstruction_points_3/include/CGAL/Poisson_reconstruction_function.h
Surface_reconstruction_points_3/include/CGAL/Reconstruction_triangulation_3.h
Surface_reconstruction_points_3/include/CGAL/k_nearest_neighbor.h
2012-11-27 10:05:41 +01:00
Philipp Möller
09e65b9c40
Drop the include guard and remove assert_equal_types
...
The include guard is unnecessary (tags.h is part of basic and no one
else defines it anymore) and it shouldn't be used anyway.
assert_equal_types doesn't do it's job completely and it's usage in
Nef_2 has been replaced.
2012-11-17 01:56:05 +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
a0588f219f
typos
2012-06-15 09:55:26 +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
Philipp Möller
0c5b3fcf85
WARNINGFIX: Nef_2 is no longer triggering a "suggest parenthesis"
2012-04-16 16:21:21 +00:00
Laurent Rineau
6824cd0605
Remove an unused variable
2012-01-31 15:11:10 +00:00
Laurent Rineau
8f59fd9592
Turn QPL into LGPLv3+
2012-01-13 16:33:35 +00:00
Sébastien Loriot
91a5327fa8
change LGPLv2 -> LGPLv3
2011-10-10 13:48:25 +00:00
Andreas Fabri
cbfe32ce37
Add declspecs for Visual C++ so that we can build dlls
2011-10-05 19:12:23 +00:00
Sébastien Loriot
8ce2048aea
add #include<CGAL/config.h> before any directive CGAL_USE_*
2011-03-02 18:52:57 +00:00
Sébastien Loriot
0d4dba11fa
temporary fix of geninfo that avoid an aliasing problem. The solution chosen is probably slower but safe.
...
Will for a better fix after the release.
2011-02-25 16:24:10 +00:00
Sébastien Loriot
a155b2c4da
remove warnings
2011-02-25 15:16:21 +00:00
Andreas Fabri
ddb18cceb2
Add parenthesis to quiet vlang and increase code readability
2010-12-07 10:18:51 +00:00
Andreas Fabri
087b2d2ce0
Add parenthesis to quit down clang and have more readable code
2010-12-06 14:58:54 +00:00
Andreas Fabri
c6f3973dd6
Add missing #include
2010-09-08 06:03:52 +00:00
Andreas Fabri
b2e9dd680c
Replace Random with boost
2010-09-07 12:57:15 +00:00
Laurent Rineau
35a3c17f1e
Fix warnings: braces around empty body, and unused parameters.
2010-06-29 12:38:52 +00:00
Andreas Fabri
92a037a450
Some int->size_t. Perform static_cast<int> as Polynomial degree is bound by int not size_t
2010-06-22 09:38:32 +00:00
Sébastien Loriot
52317dd49f
add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
...
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Andreas Fabri
9db08e1461
Add using statements for ansi-compliance
2010-05-18 07:19:35 +00:00
Andreas Fabri
38530dd89d
Add 'using' for ansi compliance
2010-05-17 07:11:44 +00:00
Andreas Fabri
cfc38df79c
Add 'using' for ansi compliance
2010-05-16 13:25:15 +00:00
Andreas Fabri
a40ea9d137
Add using statements for ansi-compliance
2010-05-13 15:19:34 +00:00
Andreas Fabri
6f7944174d
Add 'using' for ansi compliance
2010-05-11 12:05:22 +00:00
Andreas Fabri
13f152b974
Remove unused and unconstructible default constructor
2010-05-10 10:16:44 +00:00