Commit Graph

71822 Commits

Author SHA1 Message Date
Sébastien Loriot 00a91ff5ce remove Nef_2 polynomial from CGAL lib 2017-01-19 15:20:28 +01:00
Sébastien Loriot 879d0c2cd8 update changes 2017-01-19 15:20:28 +01:00
Sébastien Loriot 953b743e65 detect files with no license include directive 2017-01-19 15:20:28 +01:00
Sébastien Loriot 02705704fb add missing license include directive 2017-01-19 15:20:27 +01:00
Sébastien Loriot 06dbf4da5d license headers are LGPL 2017-01-19 15:20:27 +01:00
Sébastien Loriot 0313693e03 more strict matching for include guards 2017-01-19 15:20:27 +01:00
Sébastien Loriot e28842cf76 add missing include guards 2017-01-19 15:20:27 +01:00
Sébastien Loriot 6c7064167d detect non UTF-8 characters 2017-01-19 15:20:27 +01:00
Sébastien Loriot a89ccb10e7 remove non UTF-8 characters 2017-01-19 15:20:26 +01:00
Sébastien Loriot 8f3b8af123 fix the detecting of incorrect cmake project names 2017-01-19 15:20:26 +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
Sébastien Loriot 6405807260 generate license headers
using:
cd Installation/include/CGAL/license
cmake -P generate_files.cmake
2017-01-19 15:20:24 +01:00
Sébastien Loriot 8efcb3db1b improve regexp to match any license header included 2017-01-19 15:20:24 +01:00
Sébastien Loriot 944a8f2e39 add a script to add the include directive of the license file per parckage 2017-01-19 15:20:24 +01:00
Sébastien Loriot 19ab4c1907 fix non utf-8 character 2017-01-19 15:20:24 +01:00
Laurent Rineau 680210cab5 Improvements
- move `CGAL_WARNING` in `<CGAL/config.h>`,

- create the macro `CGAL_pragma_warning`,

- use `CGAL_pragma_warning` to simplify `<CGAL/license/lgpl.h>` and
  `<CGAL/license/gpl.h.in>`.

- add messages in `include/CGAL/license/generate_files.cmake`

- add test files, that do nothing but can be modified to check errors
  and warning.
2017-01-19 15:20:23 +01:00
Sébastien Loriot 57c662ea3b generate include/CGAL/license/package_list.txt
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 -n "$i "
  pn=`grep cgalPkgDescriptionBegin $i/doc/$i/PackageDescription.txt  | \
  sed 's/\\\cgalPkgDescriptionBegin{\s*//' | \
  awk -F "," '{print $1}'`; echo $pn;
done > Installation/include/CGAL/license/package_list.txt
2017-01-19 15:20:23 +01:00
Sébastien Loriot b7cece5b03 change license of meshing core components to LGPL 2017-01-19 15:20:23 +01:00
Sébastien Loriot 281fcc52b5 fix header 2017-01-19 15:20:22 +01:00
Sébastien Loriot 6995d2763e improve doc about license checking 2017-01-19 15:20:22 +01:00
Sébastien Loriot 1ef0791a15 license_check -> licence and lower case header 2017-01-19 15:20:22 +01:00
Andreas Fabri 46173bfc5a Add doc 2017-01-19 15:20:22 +01:00
Laurent Rineau 53cac14b33 The new proposal, with a CMake script to generate header files
See Installation/include/CGAL/license_check/README.md
2017-01-19 15:19:47 +01:00
Sébastien Loriot f214bc332b Update project names 2017-01-19 11:10:03 +01:00
Sébastien Loriot f3251a5575 fix project names 2017-01-19 11:07:39 +01:00
Laurent Rineau d9c743682d Merge pull request #1813 from maxGimeno/Polyhedron_demo-Update_ids_when_geometry_changed-GF
Polyhedron_demo : Update the ids when the item's geometry is changed
2017-01-18 19:34:33 +01:00
Laurent Rineau 1395bb0437 Merge pull request #1825 from maxGimeno/Polyhedron_demo-Make_polylines_width_editable-GF
Polyhedron demo : make polylines width editable
2017-01-18 19:32:30 +01:00
Laurent Rineau 154151f3b2 Merge pull request #1826 from maxGimeno/Polyhedron_demo-Extend_selection-GF
Polyhedron demo : extend selection
2017-01-18 19:31:49 +01:00
Laurent Rineau a5d7bdeab6 Merge pull request #1832 from sloriot/PMP-handle_boost_prior_to_1_51
Handle boost prior to 1 51
2017-01-18 19:30:02 +01:00
Laurent Rineau 5204288c02 Merge branch 'master' into PMP-handle_boost_prior_to_1_51 2017-01-18 19:29:24 +01:00
Laurent Rineau 648d9cd431 Merge pull request #1834 from afabri/Stream_support_VC2017_NO_IFORMAT_DOUBLE-GF
Stream_support: No need for replacement of istream >> double for VC++
2017-01-18 19:23:28 +01:00
Laurent Rineau 634089cd02 Remove spurious typename keywords 2017-01-18 18:59:30 +01:00
Laurent Rineau 657aa71e02 Fix the CTest script of Arr_2 2017-01-16 19:17:39 +01:00
Sébastien Loriot 516b732adf using tbb::atomic instead of cpp11::atomic 2017-01-16 15:18:46 +01:00
Laurent Rineau 292ffe0909 Merge pull request #1835 from cjamin/patch-1
Update dependencies
2017-01-16 12:27:23 +01:00
Laurent Rineau f8a3092bf4 Merge pull request #1836 from cjamin/patch-2
Update dependencies
2017-01-16 11:07:01 +01:00
Clément Jamin 4f90b26395 Update dependencies 2017-01-16 10:55:17 +01:00
Clément Jamin 9fdc2c84e7 Update dependencies 2017-01-16 10:54:19 +01:00
Maxime Gimeno ff22306906 Declare updatePrimitiveIds as override 2017-01-16 09:40:03 +01:00
Sébastien Loriot b79cc00461 add missing public 2017-01-16 09:27:24 +01:00
Sébastien Loriot 060a1478ab add an empty new-line 2017-01-16 09:25:46 +01:00
Andreas Fabri e2fbd2d46d Stream_support: No longer a need for replacement of istream >> double for VC++ 2017-01-13 18:39:40 +01:00
Laurent Rineau 7ff554a926 Merge pull request #1829 from afabri/patch-2
Update Arr_counting_traits_2.h
2017-01-13 14:09:51 +01:00
Sébastien Loriot 0446958c5a parallel version of mesh distance function requires cpp11::atomic 2017-01-13 13:19:29 +01:00
Sébastien Loriot 449205c486 avoid pmp_bgl_named_params to inherit from named_params_base
this fix a warning with old version of boost < 1.51
Use another workaround to avoid the compilation error
of the area(face_range,tm) overload
2017-01-13 13:18:55 +01:00
Sébastien Loriot e3f9ffa6f8 workaround for named parameters with old boost version (<1.51)
handle the renaming of a struct and move get_param overloads
in the boost namespace (to match qualified call boost::get_param)
2017-01-13 12:05:51 +01:00
Andreas Fabri 4342ac3821 Update Arr_counting_traits_2.h 2017-01-13 09:52:36 +01:00
Sébastien Loriot ac18291803 fix typo and reduce the number of points per face by default 2017-01-12 16:11:16 +01:00
Laurent Rineau 6f4ec93b11 Merge pull request #1827 from janetournois/Polyhedron_demo-Fix_compilation_distance_plugin-jtournois
Demo Distance_plugin : fix compilation error
2017-01-12 15:47:37 +01:00
Jane Tournois 900a4903ac test distance_plugin 2017-01-12 15:40:40 +01:00