Commit Graph

40 Commits

Author SHA1 Message Date
Sébastien Loriot 0ee31a5d4f remove extra parenthesis 2023-06-19 19:17:49 +02:00
Sébastien Loriot c8a88b9014 remove CGAL_static_assertion* 2023-06-15 10:42:10 +02:00
Sébastien Loriot 3fa436459d BOOST_MPL_ASSERT -> static_assert 2022-06-10 08:46:01 +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
Mael Rouxel-Labbé 26c857a431 Moved unary/binary_function to CGAL::cpp98 2018-06-13 15:58:19 +02: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
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
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
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Guillaume Damiand a29c905ee0 Replace BOOST_STATIC_ASSERT by CGAL_static_assertion. 2011-08-31 14:30:07 +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 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 cf6fe3a5ec added public type Boolean to Algebraic_structure_traits 2008-09-18 13:53:47 +00:00
Sylvain Pion 3f21b409bf Comment out unused arguments names. 2008-08-20 08:49:04 +00:00
Michael Hemmer 6001ee68a9 added missing typedef for Divides in AST_base 2008-08-04 14:05:58 +00:00
Michael Hoffmann 55a10f768a Remove dependency on CGAL/functional -> replace Unary_function and
Binary_function by std:: counterparts.
2008-07-23 14:58:05 +00:00
Sylvain Pion 79864c0c8e Remove Arity_tag. 2008-07-22 12:29:01 +00:00
Michael Hemmer 5ae691fd3b added
AST::Divides functor, required by IntegralDomain
 default implementation
 tests 
 function CGAL::divides
2008-07-16 09:24:50 +00:00
Sylvain Pion e83ce7bf2c Use CGAL_precondition_code() to avoid warning. 2007-04-16 16:43:46 +00:00
Andreas Fabri 5ad17aa046 De-ice VC7 2007-04-11 13:32:10 +00:00
Andreas Fabri de1fc3b8cb removed unused parameters 2007-03-26 08:19:03 +00:00
Michael Hemmer cec05315eb update license headers 2007-03-15 09:05:20 +00:00
Michael Hemmer 8029c784ba rm CGALi::Is_field etc. 2007-03-12 14:23:39 +00:00
Andreas Meyer 1996f8c159 added a mpl struct is_same_or_equal, similar to
boost::is_same / boost::is_base_and_derived
2007-02-17 21:25:09 +00:00
Marc Glisse 94b4fda133 More ; cleanup. 2006-12-29 11:09:34 +00:00
Michael Hemmer cec1d4cb5b added tag Is_numerical_sensitive 2006-12-15 17:49:14 +00:00
Michael Hemmer 67a346406b rename AST::Algebraic_structure_tag -> AST::Algebraic_category 2006-11-28 07:45:49 +00:00
Michael Hemmer f002c6fd13 renaming:
AlgebraicStructureTraits::Algebraic_structure -> ..::Type
RealEmbeddableTraits::Real_emebddable -> ..::Type
CoercionTraits::Coercion_type -> ..::Type
FractionTraits::Fraction -> ..::Type
2006-11-24 10:47:04 +00:00
Michael Hemmer 019788f0c6 rm global function is_exact() 2006-11-17 13:55:36 +00:00
Michael Hemmer ca5200a713 mv basic NTS files into package Algebraic_foundations 2006-11-16 15:47:43 +00:00