Commit Graph

75 Commits

Author SHA1 Message Date
Sébastien Loriot 8bb22d5b2c extra run of the script to remove tabs and trailing whitespaces
right after the merge of the 5.0 release branch

+ manual fix of the files (indentation was changed in the meantime):
   * Spatial_sorting/include/CGAL/Multiscale_sort.h
   * Spatial_sorting/test/Spatial_sorting/test_multiscale.cpp
2020-03-26 14:26:59 +01:00
Sébastien Loriot 8b153fb495 Merge branch 'cgal/releases/CGAL-5.0-branch'
whitespace+tab removal, merged with option -Xignore-space-change
2020-03-26 14:22:32 +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
Mael Rouxel-Labbé 3c7eb2c6b9 Use CGAL_PI instead of hardcoding it 2020-01-07 15:31:07 +01: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
Mael Rouxel-Labbé 2848158354 Fix typos 2019-05-20 08:54:04 +02:00
Sébastien Loriot d60f5645aa replace BOOST_FOREACH by c++ ranged-based for loop
some of the command used for the replacement:
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\(([a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const typename [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((typename [<>a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack "boost/foreach.hpp" -l --cpp | xargs sed -i '/boost\/foreach.hpp>/d'
2019-03-29 13:22:15 +01:00
Laurent Rineau fdfa6ab6cb Fix missing #include 2018-03-28 18:45:02 +02:00
Andreas Fabri 07f9b10b8a Ridges_3: Remove dependency on Bounding_volumes 2018-03-28 16:43:22 +01:00
Laurent Rineau 1c2e9df8cf Merge branch 'releases/CGAL-4.11-branch' 2017-12-19 16:29:10 +01:00
Sébastien Loriot 27de50e50b fix misspelled typedef 2017-12-05 14:37:49 +01:00
Sébastien Loriot 9a9bfa78a1 use readable property map API 2017-12-04 14:57:45 +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 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 f0063ba518 Fix package Ridges_3: Add #includes and forward declarations 2016-09-30 15:22:27 +02:00
Sébastien Loriot 7533546925 accomodate API change 2015-05-27 18:16:53 +02:00
Andreas Fabri 08dfff0d15 follow changes made in BGL-helpers-GF 2015-05-27 08:35:48 +02:00
Andreas Fabri 615ed5eb9c is_pure_triangle() got renamed to is_triangle_mesh 2015-04-20 10:59:57 +02:00
Andreas Fabri 0c65c7c15e upgrade test to BGL API 2015-04-14 14:14:35 +02:00
Andreas Fabri 9ec3439ea3 improve ref manual 2015-03-12 21:50:20 +01:00
Andreas Fabri df6fc3dca3 simplifications 2015-03-12 18:00:18 +01:00
Andreas Fabri 767e0efad3 cleanup 2015-03-12 11:01:56 +01:00
Andreas Fabri fb7deef4ab it now works with Surface_mesh 2015-03-11 19:21:30 +01:00
Andreas Fabri 2d7f51f441 it now works with Surface_mesh 2015-03-11 19:05:57 +01:00
Andreas Fabri 0321056aff before switching to Surface_mesh 2015-03-11 16:48:46 +01:00
Andreas Fabri c1bc5b05ad use BGL free functions 2015-03-11 12:13:46 +01:00
Andreas Fabri ba9c3678a6 use BGL free functions 2015-03-11 09:22:52 +01:00
Andreas Fabri 4b18039316 use graph_traits 2015-03-11 08:30:13 +01:00
Laurent Rineau 36d8b5bd18 Convert source files encoding to utf-8
All non-ASCII files should be encoded in UTF-8. So far, the ZSH script
`Scripts/developer_scripts/detect_wrong_encoding` detects wrong encoding
in source/header files of include/, src/, and doc/.
2014-08-01 11:20:13 +02:00
Andreas Fabri 171e86a656 User code has to delete ridges and umbilics; internally use a shared_ptr 2013-11-11 17:19:24 +01:00
Andreas Fabri 6ecba63bb1 Mostly add #includes 2013-09-14 19:31:13 +02:00
Philipp Möller 71ea8e6e22 Minimal boost includes
Replace type_traits.hpp and utility.hpp with the respective
fine-grained includes.
2012-12-14 18:13:59 +01: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
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Guillaume Damiand a29c905ee0 Replace BOOST_STATIC_ASSERT by CGAL_static_assertion. 2011-08-31 14:30:07 +00:00
Sébastien Loriot 80538dc161 typo in postCondition 2010-08-10 14:46:09 +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
Laurent Rineau a01063fb02 Merged revisions 54354,54363,54365,54380,54389-54390 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r54354 | lrineau | 2010-03-01 09:23:05 +0100 (Mon, 01 Mar 2010) | 2 lines
  
  Missing word!
........
  r54363 | lrineau | 2010-03-01 11:35:39 +0100 (Mon, 01 Mar 2010) | 3 lines
  
  Fix the issue with <boost/property_map.hpp>
  <CGAL/property_map.h> checks for the Boost version.
........
  r54365 | lrineau | 2010-03-01 14:01:18 +0100 (Mon, 01 Mar 2010) | 2 lines
  
  Let's prepare CGAl-3.6 finale version, now.
........
  r54380 | penarand | 2010-03-01 17:07:43 +0100 (Mon, 01 Mar 2010) | 3 lines
  
  replaced macros reported by check_macro_names script
........
  r54389 | lrineau | 2010-03-02 11:43:47 +0100 (Tue, 02 Mar 2010) | 3 lines
  
  http://doc.qt.nokia.com/latest/ is the permanent URL to latest Qt version
  documentation.
........
  r54390 | lrineau | 2010-03-02 11:44:44 +0100 (Tue, 02 Mar 2010) | 2 lines
  
  qpl.html no longer exists since Qt-4.4!
........
2010-03-02 15:21:52 +00:00
Sylvain Pion 0af43079b5 weigth -> weight 2009-04-07 19:35:03 +00:00
Marc Pouget 1ed5de0494 corrected a bug (found by Clement Creusot)
not critical only changes a bit the strength and sharpness values of a ridge
2009-03-25 08:52:24 +00:00
Sylvain Pion f2e3f4f312 Use CGAL::barycenter(), it's more clear. 2008-04-15 16:39:01 +00:00
Sylvain Pion bfc4a876ac Rename variable to avoid shadow warning. 2008-01-17 21:48:08 +00:00
Marc Glisse 82481b0a17 For a bug in the RWSTD library. I could not find a way to fix it in
Sun_fixes.h.
2007-08-01 14:06:29 +00:00
Sylvain Pion 76389f03d2 remove useless const qualification on return type to avoid g++ 4.3 warning 2007-03-05 16:24:43 +00:00
Marc Pouget d3346909e8 rm specific package assertions 2007-03-05 08:44:42 +00:00
Marc Pouget 3b4a70d2b4 fix warning 2007-02-27 09:11:57 +00:00
Marc Pouget d9a16cc9d8 added global fct 2007-02-16 17:17:54 +00:00
Marc Pouget 0dcb3360bd details 2007-02-15 16:39:10 +00:00