Commit Graph

2630 Commits

Author SHA1 Message Date
Laurent Rineau cf987b51ba Skip Three headers if QGLViewer is missing 2017-04-14 17:41:10 +02:00
Laurent Rineau 6493e66e72 Better use of CMP0057, to support CMake<3.3 2017-04-14 17:14:43 +02:00
Laurent Rineau f05ee0d890 Fix the detection of packages directories 2017-04-13 15:14:53 +02:00
Andreas Fabri 2de6413e50 Document that CGAL-4.10 requires CMake>=3.1 - Fix for #1996 2017-04-03 11:17:02 +02:00
Andreas Fabri c4f5122409 Undo the accidental switching on of CGAL_LICENSE_WARNING 2017-03-22 14:54:12 +01:00
Andreas Fabri 8186bf41ae Fix CGAL_pragma_warning for Visual C++ 2017-03-22 14:50:47 +01:00
Andreas Fabri cd7deb8577 License check for Corefinement and Distance 2017-03-22 12:32:43 +01:00
Andreas Fabri 774bdc4351 License check for Geometric Meshing and Hole Filling 2017-03-22 12:10:37 +01:00
Andreas Fabri 28da5ff545 Add license check files 2017-03-22 11:59:34 +01:00
Andreas Fabri fde105b437 License check for Predicates 2017-03-22 10:29:59 +01:00
Andreas Fabri 51bbe5d1f6 License check for Geometric Measures and Miscellaneous 2017-03-22 10:05:39 +01:00
Andreas Fabri d04b048aa9 License check for Connected Components 2017-03-22 09:21:27 +01:00
Andreas Fabri 44c1328f55 License check for Normal Computation Functions 2017-03-22 08:54:00 +01:00
Simon Giraudot 1385d5fc9b Add macros with old versions of boost 2017-02-27 14:21:20 +01:00
Simon Giraudot 6525d58fbf Fix error (removed lines by mistake) in config.h 2017-02-27 10:03:51 +01:00
Simon Giraudot 588c8634b9 Add CGAL::cpp11::unordered_set/map using boost or std 2017-02-27 09:56:54 +01:00
Laurent Rineau a10de67473 Merge pull request #1888 from lrineau/CGAL_Core-fix_thread_local-GF
Followup for PR #1744
2017-02-13 18:19:15 +01:00
Sébastien Loriot 5212bb55a6 fix Core dependancies 2017-02-13 17:16:30 +01:00
Laurent Rineau 8ca29bc0ae Merge pull request #1888 from lrineau/CGAL_Core-fix_thread_local-GF
Followup for PR #1744
2017-02-09 18:42:11 +01:00
Laurent Rineau d87cfd9ed5 CMake: If MSVC/C++11, do not search for Boost.Thread for CGAL_Core
See for example that error, on a Windows platform that does not have any
compiled Boost libraries.

https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-4.10-Ic-121/Polygon_Demo/TestReport_afabri_x64_Cygwin-Windows10_MSVC2017-Debug-64bits.gz
2017-02-09 12:46:36 +01:00
Laurent Rineau 13e420732c Merge pull request #1840 from afabri/BGL-reserve-GF
BGL: Add helper function reserve(G,nv,ne,nf)
2017-02-08 17:32:22 +01:00
Laurent Rineau b73a88babc CGAL_Core MemoryPool<T> will always use Boost.Thread with g++
Because of bug in gcc, even if the C++11 `thread_local` keyword can be
used, it cannot be used for the TLS static member of the class template
`MemoryPool<T>`. That triggers a bug in gcc (tested with g++ 6.3.1):
```
.../include/CGAL/CORE/MemoryPool.h:113:25: error: redefinition of 'bool __tls_guard'
 MemoryPool<T, nObjects> MemoryPool<T, nObjects>::memPool;
                         ^~~~~~~~~~~~~~~~~~~~~~~
.../include/CGAL/CORE/MemoryPool.h:113:25: note: 'bool __tls_guard' previously declared here
.../include/CGAL/CORE/MemoryPool.h:113: confused by earlier errors, bailing out
Preprocessed source stored into /tmp/cc4xCWuR.out file, please attach this to your bugreport.
```

The bug seems to be from g++ >= 5:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54948
2017-02-08 17:05:13 +01:00
Laurent Rineau 760076510c Merge pull request #1845 from lrineau/Mesh_3-fix_detect_features-GF
Various modifications of Mesh_3
2017-02-06 15:19:31 +01:00
Laurent Rineau 4c3ea8908e Merge pull request #1875 from sloriot/PMP-rename_bbox_3
Rename bbox_3 functions
2017-02-06 15:19:18 +01:00
Laurent Rineau 28be8650d4 Merge pull request #1863 from afabri/T3-fix_link_to_face_graph_doc-GF
Triangulation_3: Fix the doc of link_to_face_graph()
2017-02-02 17:22:27 +01:00
Sébastien Loriot a675fa60e4 rename bbox_3 functions
free functions in CGAL have no dimension suffix
2017-01-31 14:33:56 +01:00
Andreas Fabri 7799ac8959 fix changes.html 2017-01-27 09:23:38 +01:00
Sébastien Loriot d1e777efaa rename file 2017-01-26 10:34:24 +01:00
Sébastien Loriot 2e098b58db remove duplicated entry 2017-01-26 09:58:50 +01:00
Andreas Fabri edbcde8a06 Update changes.html
Removing a deprecated class is not a breaking change.
2017-01-26 09:36:11 +01:00
Sébastien Loriot f06f7acf65 forgot to update the cmake script 2017-01-20 16:59:14 +01:00
Sébastien Loriot 11ee905650 remove useless test files 2017-01-20 16:32:59 +01:00
Sébastien Loriot 69e16f9c42 no longer use release_date.h 2017-01-19 16:33:19 +01:00
Sébastien Loriot eefa67f762 remove release_date.h and put the macro in version.h to be set by cmake
in the case of a release, it will be the date of the creation of the release
2017-01-19 16:32:31 +01:00
Sébastien Loriot 879d0c2cd8 update changes 2017-01-19 15:20:28 +01:00
Sébastien Loriot 06dbf4da5d license headers are LGPL 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 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