Commit Graph

2643 Commits

Author SHA1 Message Date
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
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 281fcc52b5 fix header 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
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
Laurent Rineau 5f1ee711a9 Extend CGAL_STATIC_THREAD_LOCAL_VARIABLE with 3 and 3 parameters 2017-01-19 13:10:40 +01:00
Sébastien Loriot 6926578b15 add reserve to MutableFaceGraph 2017-01-18 18:19:25 +01:00
Andreas Fabri a03a4e2d1a add to changes.html 2017-01-17 11:35:33 +01:00
Sébastien Loriot 3c9425c2da merge entries 2017-01-12 12:16:26 +01:00
Sébastien Loriot 9ae7b37845 Merge pull request #1745 from sloriot/Polyhedra_corefinement-enhancements-sloriot
Add corefinement operations in PMP
2017-01-12 12:05:18 +01:00
Laurent Rineau ee21a5a077 Merge pull request #1744 from afabri/CORE-static-GF
CGAL_CORE:  Make it thread safe
2017-01-12 11:10:38 +01:00
Laurent Rineau 27cb95f022 Merge pull request #1578 from maxGimeno/PMP-add_distance-GF
Add approximated Hausdorff distance
2017-01-12 11:10:25 +01:00
Laurent Rineau 6c77740485 CORE MemoryPool<T> has to be destroyed last
If Boost implementation of thread local storage is used, the order of
destructors is reversed, compared to C++11 `static thread_local`. The
solution for CORE `MemoryPool<T>` is to make the static variable a
static member of the class, and initialize the pointer only inside the
function. That ensures that the destructor will be called after the
destructor of local static variables.
2017-01-10 16:27:44 +01:00
Andreas Fabri adbc830e0f fix 2017-01-10 14:40:23 +01:00
Andreas Fabri 7b6e4a27ca Even read only static const variables must be thread local
as otherwise their destructor is called after the destructor
of the CORE memory pool.
2017-01-10 13:53:50 +01:00
Laurent Rineau 4f012205a9 Fix issue #1788
LEDA 6.3 has known I/O bugs, that were reported, and are fixed in
LEDA 6.4. We have to deactivate that test, because it loops forever with
LEDA 6.3.
2017-01-09 17:17:46 +01:00
Laurent Rineau 904a889e6d Merge pull request #1791 from sgiraudot/Point_set_3-GF
New package Point Set 3
2017-01-09 11:21:23 +01:00
Laurent Rineau 47dbde4ace Merge pull request #1753 from maxGimeno/BGL_descriptor_with_graph-GF
BGL descriptor with graph
2017-01-05 10:56:02 +01:00
Laurent Rineau 1d99b2cc47 Merge pull request #1673 from freud14/cone-spanners-ipelet
Add half-cones and Ipelet
2017-01-05 10:35:44 +01:00
Simon Giraudot 3c11de799f Update changes.html (4.9 -> 4.10) 2017-01-04 08:50:42 +01:00
Simon Giraudot 1beb340550 Merge branch 'Point_set_3-GF-old' into Point_set_3-GF 2017-01-03 15:23:23 +01:00
Sébastien Loriot 303ee311be Merge pull request #1776 from sgiraudot/Point_set_processing-Automatic_scale_selection-GF
Automatic Scale Selection
2017-01-02 19:10:22 +01:00
Sébastien Loriot 3d637745fe Merge pull request #1633 from sgiraudot/Point_set_processing_3-Point_set_structuring-GF
Point Set Structuring
2017-01-02 19:10:14 +01:00
Sébastien Loriot 60654b4101 update changes 2017-01-02 19:07:51 +01:00
Sébastien Loriot fe5e925367 Merge pull request #1701 from afabri/Convex_hull_3-FaceGraph-GF
Convex_hull_3: Switch to FaceGraph
2016-12-30 15:14:34 +01:00
Sébastien Loriot 6c88f619fc update changes 2016-12-29 12:19:56 +01:00
Sébastien Loriot 94b2720fbd use name parameters for selecting the sampling algorithm
A dedicated sampling of edges is also introduced as well as
an option to use input vertices to evaluate the distance.
2016-12-29 07:20:25 +01:00
Sébastien Loriot 468abf708e copy-paste random points on 2D segment in 3D 2016-12-29 07:20:25 +01:00
Andreas Fabri c84e72f7a5 Fix typo in example; Functions in manuals always with '()' 2016-12-29 07:20:24 +01:00
Maxime Gimeno 0cc2c59981 Fixes for SF. 2016-12-29 07:20:22 +01:00
Maxime Gimeno 9e767fd16f Fix and clean-up 2016-12-29 07:20:21 +01:00
Laurent Rineau 5457a85b6b Merge pull request #1656 from afabri/Kernel-Linfinity_distance-GF
Kernel_23: Add the function  FT  l_infinity_distance() for 2D and 3D points
2016-12-28 16:12:31 +01:00
Laurent Rineau 0e5d3834c5 Merge pull request #1782 from xantares/mpir
MPIR support
2016-12-28 16:12:01 +01:00
Sébastien Loriot fabb1764eb update changes 2016-12-28 08:45:48 +01:00
Sebastien Loriot 8c9af91b01 Merge pull request #1749 from sloriot/SMSP-fix_incorrect_name
Barycentric coordinate -> Barycentric coordinates
2016-12-27 09:02:06 +01:00
Michel Zou 722e37c4d7 MPIR support 2016-12-23 22:32:32 +01:00
Simon Giraudot fb9aae74c6 Merge branch 'Point_set_processing-Automatic_scale_selection-GF-old' into Point_set_processing-Automatic_scale_selection-GF 2016-12-21 13:06:36 +01:00
Maxime Gimeno 2edce44109 fix changes.html 2016-12-21 09:42:25 +01:00
Maxime Gimeno 8a10666a00 Edit changes.html 2016-12-21 09:41:41 +01:00
Laurent Rineau bbf430b0b1 Merge pull request #585 from afabri/Kernel-Weighted_point-GF
Introduce Kernel::Weighted_point_3 together with functors
2016-12-20 19:52:02 +01:00
Andreas Fabri f299a196b9 Update changes.html 2016-12-09 10:53:55 +01:00
Andreas Fabri e6b52bb30f update changes.html 2016-12-08 14:04:16 +01:00
Maxime Gimeno d7c8f598a1 Fix doc 2016-12-08 10:12:10 +01:00
Maxime Gimeno 8569e8fb9a Add an example. 2016-12-07 16:46:49 +01:00
Sébastien Loriot 36043b6ad4 update changes 2016-12-06 11:46:16 +01:00
Sébastien Loriot e27c59771f update changes 2016-12-05 18:28:45 +01:00
Laurent Rineau 204f9d080a Merge remote-tracking branch 'cgal/releases/CGAL-4.9-branch' 2016-12-05 12:19:36 +01:00
Laurent Rineau 0e27df0304 Merge pull request #1661 from mglisse/Installation-auto_eigen-glisse
Auto-enable Eigen3 if detected
2016-12-02 11:36:55 +01:00
Laurent Rineau 82786bf3c7 Merge pull request #1697 from gdamiand/Generalized_map-gdamiand
Generalized map
2016-12-02 11:35:20 +01:00
Laurent Rineau 105418b66a Merge pull request #1620 from lrineau/Polyhedron-demo_various_fixes-lrineau
Enhancement of Qt Script in Polyhedron Demo

- CMake-3.1 is now required.
- demo/Polyhedron/ now requires C++11.
2016-12-02 11:19:18 +01:00
Laurent Rineau f99b898cdf Use LEDA linker flags 2016-12-02 10:57:18 +01:00
Laurent Rineau 205bc84874 Fix FindLEDA with clang 2016-11-30 10:40:04 +01:00
Guillaume Damiand dead0df2ba Move gmap section in changes.html 2016-11-29 11:43:47 +01:00
Guillaume Damiand 57e4ff3abd * replace CGAL_CMAP_DEPRECATED macro by CGAL_CMAP_DART_DEPRECATED
* protect deprecated code with #ifndef CGAL_NO_DEPRECATED_CODE
2016-11-29 11:43:33 +01:00
Guillaume Damiand cda909e363 Update changes.html after modifs of GMap for rev4. 2016-11-29 11:43:32 +01:00
Guillaume Damiand 2a89580128 Update changes.html 2016-11-29 11:43:31 +01:00
Andreas Fabri 03248bcb75 fix typo 2016-11-25 16:28:28 +01:00
Laurent Rineau 26dcfd9c44 Merge pull request #1647 from sgiraudot/Point_set_processing_3-Improve_outlier_removal_API-GF
Point set processing: improve outlier removal API
2016-11-25 14:57:06 +01:00
Andreas Fabri 8f00f791a6 Add a paragraph in changes.html 2016-11-25 05:59:27 +01:00
Andreas Fabri 50a144abf8 Add a paragraph in changes.html 2016-11-25 05:57:27 +01:00
Laurent Rineau b8238bc5a2 Merge pull request #1640 from afabri/Mesh_3-deprecate_Polyhedral_mesh_domain_with_features_3-GF
Mesh_3: Do not construct from a string
2016-11-18 10:54:10 +01:00
Marc Glisse c58d0c319a Allow CGAL_EIGEN3_DISABLED to disable auto-detection of Eigen3. 2016-11-07 21:46:10 +01:00
Marc Glisse 933cb0f14a If we detect that Eigen3 is present, enable it. 2016-11-04 16:22:52 +01:00
Andreas Fabri 548ad1cf29 Test deprecated code; Exlain what to do instead; Add to changes.html 2016-11-03 14:58:14 +01:00
Andreas Fabri f93ac02346 Explain what users have to do concerning features that got removed 2016-11-03 14:53:15 +01:00
Andreas Fabri f488b9baf9 Changes after Laurent's review 2016-11-03 14:53:15 +01:00
Laurent Rineau 5b3c44a3ef Merge pull request #1637 from sloriot/CGAL-fix_install_prefix
Add a hardcoded fall back for the installation prefix
2016-11-03 11:03:24 +01:00
Sébastien Loriot f674cc1cd1 add a hardcoded fall back for the installation prefix
in case of no common setting, the installation cannot be
relocated automatically
2016-10-31 15:52:11 +01:00
Simon Giraudot 863766a0bd Update changes.html 2016-10-31 09:52:49 +01:00
Simon Giraudot f65db046b1 Merge branch 'Point_set_processing_3-Point_set_structuring-GF-old' into Point_set_processing_3-Point_set_structuring-GF 2016-10-28 15:02:48 +02:00
Laurent Rineau 2c4e047f58 Do not early exit if IPE_FULL_VERSION is not there
If `IPE_FULL_VERSION` is missing, that leads to a CMake error in
`CMakeLists.txt` files using it.
2016-10-25 11:17:10 +02:00
Simon Giraudot 22f0b2c1f8 Merge branch 'Point_set_3-GF-old' into Point_set_3-GF 2016-10-24 15:17:38 +02:00
Laurent Rineau 08126075a7 Merge pull request #1582 from afabri/Circular_kernel_2-ICL_variant_bug-GF
Circular_kernel_2: Add a dummy field to the variant to work around an ICL bug
2016-10-20 09:47:35 +02:00
Andreas Fabri eb64523536 Make the additional type a maco. Add operator(int) for a visitor 2016-10-18 16:03:40 +02:00
Laurent Rineau 78c8179ae6 Fix for clang
With clang, at least with older version like 3.5,
`__has_attribute(fallthrough)` is true but the syntax

    __attribute__(fallthrough)

is not recognized.
2016-10-17 13:45:42 +02:00
Laurent Rineau 5df371c0c1 Oops! 2016-10-17 13:45:42 +02:00
Laurent Rineau 90aa157c7b Conditional definition of CGAL_FALLTHROUGH 2016-10-17 13:45:42 +02:00
Andreas Fabri 0cf03af615 Preliminary support for adressing the -Wimplicit-fallthrough warning 2016-10-17 13:45:42 +02:00
Laurent Rineau b76e1e021a Merge pull request #1470 from sloriot/Nef_3-cst_from_FaceGraph
Add a Nef_3 constructor from a FaceGraph
2016-10-17 10:03:28 +02:00
Laurent Rineau 5ab5825013 Merge pull request #1466 from sloriot/BGL-add_nef_to_pm
Add a function to convert a Nef polyhedron to a polygon mesh
2016-10-17 10:03:24 +02:00
Laurent Rineau 0d5ddad5c3 Merge pull request #1534 from lrineau/CGAL-Allow_examples_to_use_cpp11_features-lrineau
Allow examples to use C++>=11 features
2016-10-17 10:03:05 +02:00
Laurent Rineau f2205ee9da Merge pull request #1128 from maxGimeno/Fix_for_1127-GF
Add a macro to customize deprecation warnings
2016-10-17 10:01:40 +02:00
Laurent Rineau 54ce89f314 Merge pull request #1560 from lrineau/Installation-fix_CGAL_VERSION_issue_1559-lrineau
Fix CGAL_VERSION in CGALConfig.cmake
2016-10-17 10:01:11 +02:00
Laurent Rineau e5b441feaa Fix CGAL_VERSION in CGALConfig.cmake 2016-10-10 12:31:21 +02:00
Laurent Rineau 451577719c Merge pull request #1542 from lrineau/Installation-fix_CGAL_SetupBoostlrineau
try_run to detect the C++ version
2016-10-07 14:38:22 +02:00
Laurent Rineau beb882981c Fix for CMake-2.8.11 and CMake-2.8.12 2016-10-06 18:18:50 +02:00
Laurent Rineau 420ba84b70 Deal with OpenMesh 2016-10-06 10:21:25 +02:00
Sébastien Loriot bcf57bda16 update changes.html 2016-10-05 15:30:59 +02:00
Laurent Rineau e2691e0123 Merge remote-tracking branch 'cgal/releases/CGAL-4.9-branch' 2016-10-05 15:20:00 +02:00
Laurent Rineau 223c1cf5a4 Merge pull request #1530 from lrineau/Installation-compute_dependencies-GF
Compute and fix packages dependencies
2016-10-05 13:11:04 +02:00
Laurent Rineau 8f33571919 Merge pull request #1533 from lrineau/Scripts-cpp14_by_default-lrineau
Enable C++14 by default in generated CMake scripts
2016-10-05 13:03:58 +02:00
Laurent Rineau 1c19028e5b Merge pull request #1267 from maxGimeno/Random_generator-GF
Random generator
2016-10-05 13:02:29 +02:00
Laurent Rineau 9a0bb54922 Merge pull request #1438 from sloriot/CGAL-clean_up_projects_name_cmake
Clean up projects name in cmake scripts
2016-10-05 13:02:25 +02:00
Laurent Rineau 004dac6226 Merge pull request #1469 from lrineau/CGAL_ImageIO-better_read_raw-lrineau
better _readImage_raw()
2016-10-05 13:02:22 +02:00
Laurent Rineau 2539296237 Merge pull request #1490 from afabri/Kernel_d-static-GF
Kernel_d: Make variables thread local
2016-10-05 13:02:18 +02:00
Laurent Rineau 95f3b09de3 Use the same test as in <CGAL/config.h> 2016-10-05 10:14:53 +02:00
Laurent Rineau e8dede494e Avoir a CMake error
When the list `CMAKE_CXX_COMPILE_FEATURES` is empty, there was a syntax
error.
```
CMake Error at /mnt/testsuite/cmake/modules/CGAL_CreateSingleSourceCGALProgram.cmake:27 (list):
  list sub-command REMOVE_ITEM requires two or more arguments.
Call Stack (most recent call first):
  CMakeLists.txt:75 (create_single_source_cgal_program)

```
2016-10-05 10:07:01 +02:00
Laurent Rineau 360697e23c Add missing file 2016-10-04 19:41:15 +02:00
Laurent Rineau c1b070dd51 Use try_run to detect the C++ version 2016-10-04 16:57:19 +02:00