Commit Graph

140 Commits

Author SHA1 Message Date
Sébastien Loriot a88a84b0f4 remove some cpp0x and cpp11 config macros 2021-08-13 15:46:50 +02:00
Laurent Rineau 8fa0f55ac7
Merge branch 'master' into mt-glisse 2021-05-27 10:27:38 +02:00
Laurent Rineau e222e772f1 Merge pull request #5589 from MaelRL/Number_types-Fix_approx_sqrt_mpq-GF
Fix approximate_sqrt return types

# Conflicts:
#	Polygon_mesh_processing/test/Polygon_mesh_processing/test_pmp_distance.cpp
2021-05-18 18:16:44 +02:00
Sébastien Loriot 4e519a3c7a move documented IO functions in IO namespace 2021-05-05 13:15:37 +02:00
Andreas Fabri 2849b3b785 compare() -> CGAL::compare() so that it also works with Leda 2021-04-23 11:47:24 +01:00
Laurent Rineau 23a0cf6321 Add a #include 2021-04-07 14:42:58 +02:00
Laurent Rineau 17b2546390 Use Same_uncertainty_nt 2021-04-07 14:25:30 +02:00
Mael Rouxel-Labbé fa6818b7dd Fix approximate_sqrt return types 2021-04-07 12:37:48 +02:00
Andreas Fabri dbfb7157bb Rename compare() to compare_quotients() 2021-03-30 10:14:02 +01:00
Andreas Fabri 06f625a98e Add a compare() for two rationals given as four values 2021-03-18 14:18:11 +01:00
Marc Glisse 220d26da98 Merge remote-tracking branch 'cgal/master' into mt-glisse 2021-02-18 22:10:12 +01:00
Laurent Rineau 216560554e Merge pull request #5112 from sloriot/Kernel_23-bisector_sqrt
Allow an inexact version of bisector when no sqrt is available.
2021-02-18 15:26:51 +01:00
Marc Glisse 52b07799b4 Bug fixing 2021-02-17 00:25:16 +01:00
Sébastien Loriot 0accdc3c79 add comment 2020-10-29 16:32:23 +01:00
Sébastien Loriot 061c6684fb use Sqrt function if available 2020-10-29 16:08:23 +01:00
Mael Rouxel-Labbé 26355e2e32 Uniformize capital / third person usage of \brief 2020-06-25 15:13:47 +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 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
Andreas Fabri 4581f1b7a8 Morte replacements 2019-06-05 08:39:55 +02: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
Mael Rouxel-Labbé 26c857a431 Moved unary/binary_function to CGAL::cpp98 2018-06-13 15:58:19 +02:00
Andreas Fabri 9a5dbf3efd Comment unused variable 2018-03-30 13:35:50 +01:00
Andreas Fabri 6cc385c6ec Number_types 2018-01-17 15:47:18 +00: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
Sébastien Loriot c951fe0fca Merge pull request #1035 from lrineau/CGAL-fix_Wconversion_warnings-GF
Fix -Wconversion warnings, and issues detected by those warnings
2016-06-24 13:30:48 +02:00
Laurent Rineau dd1b93ae99 After feedback from @mglisse 2016-06-16 16:39:00 +02:00
Jane Tournois 00f854ac2f move CGAL::approximate_sqrt, and use CGAL::to_double
move approximate_sqrt to a place where CGAL::to_double is already defined

Revert "remove CGAL:: that causes compilation error on linux"
This reverts commit c9f6591ad14fd399b5e7d24f0cb59d2158587c61.
2016-06-14 14:17:23 +02:00
Jane Tournois 4d039882f0 remove CGAL:: that causes compilation error on linux 2016-06-14 14:17:22 +02:00
Andreas Fabri ae1f695208 Document where sqrt is done approximately 2016-06-14 14:17:04 +02:00
Laurent Rineau 4c97ab6c96 Minor fixes for -Wconversion warnings in a few packages 2016-04-22 12:36:26 +02:00
Andreas Fabri 2cee9fc33e Merge branch 'CGAL-misc_warnings-GF'
Approved by the release manager
2015-01-12 13:00:41 +01:00
Andreas Fabri 4705199cf8 use CGAL_UAE_TYPE 2015-01-08 10:17:07 +01:00
Andreas Fabri 30faf6241b Add wrappers around 2 boost headers to push/pop pragma 2014-12-19 16:10:02 +01:00
Andreas Fabri 3e1237e7d8 Use CGAL_USE_TYPE 2014-07-03 14:44:46 +02:00
Laurent Rineau 73f4734525 Fix permissions 2014-05-15 18:33:36 +02:00
Efi Fogel 1ec2516b0e minor fix for master---replaced non utf8 characters in comments with utf8 2014-03-31 16:08:05 +03:00
Laurent Rineau d47f920919 Fix a compilation error
The error, on clang, is:

include/CGAL/Algebraic_structure_traits.h:362:39: error: declaration of 'Type_' shadows template parameter
            typedef typename CT::Type Type_;

The bug was introduced by the following commit:
  | commit 02e17dfdf0
  | Author: Michael Hemmer <mhsaar@gmail.com>
  | Date:   Mon Sep 2 18:28:55 2013 +0300
  |
  |     fixed boost::is_same<Type,Type>
  |
  |     minor fix for master
2013-09-09 14:07:00 +02:00
Michael Hemmer 02e17dfdf0 fixed boost::is_same<Type,Type>
minor fix for master
2013-09-03 09:29:54 +03:00
Sébastien Loriot a18a34bbbe Merge branch 'Algebraic_foundations-make_rational-glisse' 2013-04-15 16:37:31 +02:00
Andreas Fabri e6d101d9fb remove unused typedefs 2013-03-05 11:50:05 +01:00
Marc Glisse 48388241a0 Add make_rational(FT) and make_rational(pair). 2013-02-22 15:47:20 +01:00
Laurent Rineau 51ea960be6 Fix warnings about unused types or variables. 2013-02-08 16:50:02 +01:00
Laurent Rineau e87dad0f95 Fix all warnings in demo/Polyhedron/
The compilation was fix g++-4.8, and the flags:
  --std=c++11 -frounding-math Wall -Wno-array-bounds -Wno-uninitialized
2013-02-06 17:03:20 +01:00
Laurent Rineau f8b9521b3b Fix headers of Algebraic_foundations
Mostly missing headers.

But sometimes I have removed the use of <CGAL/number_type_basic.h>, because
that header is hell for the moment.
2012-10-08 08:41:43 +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
Philipp Möller 811daa2ad4 Silence unused parameter warnings when building. 2012-06-22 10:05:26 +00:00