Commit Graph

124 Commits

Author SHA1 Message Date
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
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Sébastien Loriot dff6dda8b3 Remove from copyright holder
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
2011-09-21 19:46:31 +00:00
Guillaume Damiand a29c905ee0 Replace BOOST_STATIC_ASSERT by CGAL_static_assertion. 2011-08-31 14:30:07 +00:00
Marc Glisse 879c4eb81c Enable implicit Lazy_exact_nt conversions only if there exists an implicit
conversion between the exact types.

I'll add something similar for explicit conversions if required.
2011-03-08 10:27:31 +00:00
Marc Glisse 74e8ca041c directly include gmpxx 2011-03-07 14:13:28 +00:00
Marc Glisse a02c655bb8 Disambiguate make_rational(3,2) 2011-03-06 20:52:15 +00:00
Laurent Rineau 6d2b695558 Oops: typo. The first values couple is (-5, -2), and not (-5, -5). 2011-03-02 10:00:36 +00:00
Laurent Rineau ab296856c7 New version of test_implicit_interoperable_for_real_embeddable: the
variable a and b cannot be volatile, but they can be initialized from
volatile values. Again, the goal is to prevent constant propagation.
2011-03-02 09:59:27 +00:00
Laurent Rineau 942a071374 Workaround for VC9/VC10 (in the testsuite only)
With /O2 and /fp:strict, MSVC produces a wrong assembler for the
following code:

    int main(){
      int i = 3;
      float f = 3.f;
      bool b = (f>= i);
      return b ? 0 : 1;
    }

The issue is with constant propagation and /fp:strict in the optimizer. The
workaround is to use volatile to prevent the constant propagation.
2011-03-01 16:54:21 +00:00
Michael Hemmer 7fb350c83f added missing const for operators 2010-11-28 12:17:58 +00:00
Michael Hemmer 63de75bed2 make it thread safe 2010-11-09 10:41:37 +00:00
Sébastien Loriot 4dbad8e21e add missing typedef for Inverse when use within Lazy.
add comment about static variable
2010-11-08 14:42:49 +00:00
Michael Hemmer b39ede765c added functor Inverse + global function to AF (with respect to multiplication) 2010-11-04 13:57:35 +00:00
Sébastien Loriot 296d50ca07 typo in maro 2010-08-12 15:06:15 +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
Michael Hemmer fa4d721510 test for result_type is Cast 2010-04-30 10:18:33 +00:00