Commit Graph

86062 Commits

Author SHA1 Message Date
Laurent Rineau adaed61c20 Merge branch 'releases/CGAL-4.14-branch' 2019-06-05 10:58:12 +02:00
Laurent Rineau 31dd4f11fb Merge pull request #3969 from lrineau/Polyhedron-demo__fix_segfault_of_load_plugin-GF
Polyhedron demo:  fix the menu entry 'Load plugin'
2019-06-05 10:44:27 +02:00
Laurent Rineau 926067967a Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch 2019-06-05 10:43:44 +02:00
Laurent Rineau da1bfb1596 Merge pull request #3917 from afabri/Surface_mesh-read_off-GF
Surface_mesh: Fix read_off(istream,Surface_mesh)
2019-06-05 10:41:09 +02:00
Laurent Rineau 3cfc790a68 Merge pull request #3968 from lrineau/Polyhedron-demo__remove_need_for_Boost_libraries-GF
Remove the need for Boost libraries at the top level CMakeLists.txt
2019-06-05 10:41:04 +02:00
Laurent Rineau 44cfe8d2eb
Do not use `REQUIRED OPTIONAL_COMPONENTS` with FindBoost
The CMake module `FindBoost.cmake` only supports `OPTIONAL_COMPONENTS` since CMake-3.11. Previously they were treated like required components.
2019-06-03 10:44:01 +02:00
Laurent Rineau ecaa138761 Do not block load_plugin from loading plugins
Since the adoption of the "keywords" feature, the 'Load plugin' menu
was not able to load a plugin with other keywords. That defeats the
purpose of that feature.
2019-05-29 11:44:08 +02:00
Laurent Rineau cdb72b9f34 Avoid a segfault in `load_plugin`
Before that patch `accepted_keywords` was a dangling reference to an
object that was destroyed at the end of the constructor of the class
`Polyhedron_demo`.

Now, that `QStringList` is copied, but it is a short list of short
strings.
2019-05-29 11:42:35 +02:00
Laurent Rineau cd22917e3d Remove the need for Boost libraries at the top level CMakeLists.txt
The 3D demo does not directly requires Boost libraries. Then are
pulled as a `PUBLIC` dependency of `CGAL::CGAL`. Only two plugins
really need Boost libraries:

- Classification needs Boost iostreams and serialization,
- Mesh_3 `io_image_plugin` needs Boost filesystem for multi-files 3D
  images.
2019-05-29 11:18:13 +02:00
Laurent Rineau 7fc36ad2a5
Update LICENSE.md 2019-05-28 15:01:05 +02:00
Laurent Rineau 5c2df203b4 Merge pull request #3943 from mglisse/Number_types-expression_templates-glisse
Misc fixes for expression templates
2019-05-23 08:50:17 +02:00
Laurent Rineau 419032d859 Merge pull request #3947 from MaelRL/CGAL-Fix_typos-GF
Fix some typos in code/comments/documentation
2019-05-23 08:50:14 +02:00
Laurent Rineau 5dc823d509 Merge branch 'releases/CGAL-4.14-branch' 2019-05-23 08:49:56 +02:00
Laurent Rineau e3a4db56f6 Merge pull request #3948 from MaelRL/PMP-fix_missing_using_414-GF
Add missing 'using' for boost's choose_param() / get_param()
2019-05-23 08:45:15 +02:00
Laurent Rineau 7be5e3fbe5 Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch 2019-05-23 08:44:39 +02:00
Laurent Rineau f51b7e7934 Merge pull request #3876 from sloriot/Nef_3-fix_triangle_order
Fix index order of triangles
2019-05-23 08:31:50 +02:00
Laurent Rineau e5b653953f Merge pull request #3941 from lrineau/Convex_hull_3-fix_Convex_hull_traits_3_default_of_third_arg-GF
Fix the default of 3rd template parameter of Convex_hull_traits_3
2019-05-23 08:31:47 +02:00
Laurent Rineau c1a13a0a1e Merge pull request #3949 from lrineau/Installation-fix_ctest_for_Andreas-GF
Fix CTest CGAL tests when binary dir is a sub-directory
2019-05-23 08:31:44 +02:00
Laurent Rineau 21367079d2
Merge pull request #3952 from sgiraudot/PSP-Add_changes_about_old_API_removed-GF
Add changes about old PSP API removed
2019-05-22 12:25:51 +02:00
Simon Giraudot 69574884a0 Add changes about old PSP API removed 2019-05-22 11:14:32 +02:00
Laurent Rineau 268cb59ce1 Merge pull request #3739 from lrineau/Installation-remove_FindBLAS_LAPACK_TAUCS-GF
Remove support for BLAS, LAPACK, and TAUCS
2019-05-21 16:37:10 +02:00
Laurent Rineau 7e58feacfe Merge pull request #3797 from afabri/CGAL-Exact_algebraic-GF
Number_types:  Add Exact_algebraic
2019-05-21 16:37:07 +02:00
Laurent Rineau b8fe6b10ee Merge pull request #3804 from afabri/CGAL_tests_must_not_include_basic-GF
Do not include <CGAL/basic.h>
2019-05-21 16:37:01 +02:00
Laurent Rineau 3a9b2fe67f Merge branch 'releases/CGAL-4.14-branch' 2019-05-21 16:36:28 +02:00
Laurent Rineau e4c82fa260 Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch 2019-05-21 16:35:24 +02:00
Laurent Rineau 92a311c04a Merge pull request #3921 from lrineau/Mesh_3_fix_Boost_1.71-GF
Adapt Mesh_criteria_3 to Boost 1.71 (current 'master')
2019-05-21 16:33:28 +02:00
Laurent Rineau 784ce22e64 Merge pull request #3922 from lrineau/Installation-CGAL_is_an_imported_target-GF
Header-only: consider CGAL as an imported target (if CMake>=3.11)
2019-05-21 16:33:25 +02:00
Laurent Rineau 946e0bebae Merge pull request #3930 from sloriot/SDG_T2-fix_insertion_of_range_of_cst
T2: Fix insertion of range of constraints
2019-05-21 16:33:22 +02:00
Laurent Rineau 106ec69870 Merge branch 'releases/CGAL-4.14-branch' 2019-05-20 12:27:50 +02:00
Laurent Rineau 1b92bcd74e Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch
# Conflicts:
#	.travis.yml
#	.travis/template.txt
2019-05-20 12:27:11 +02:00
Laurent Rineau 357fe1e486 Fix CTest CGAL tests when binary dir is a sub-directory
When the current binary dir is a sub-directory of the current sources
dir, then the recursive copy of the sources dir to `__exec_test_dir/`
cannot be done. In that case, do not setup the fixture
directory. Tests can still be run in the source directory (and pollute
it).
2019-05-20 12:18:18 +02:00
Mael Rouxel-Labbé 85ba338518 Add missing 'using' for boost's choose_param() / get_param() 2019-05-20 11:04:15 +02:00
Laurent Rineau 394aaacc15 Fix the declaration for dependencies 2019-05-20 09:59:34 +02:00
Mael Rouxel-Labbé 2848158354 Fix typos 2019-05-20 08:54:04 +02:00
Marc Glisse d3e9ce2d6b Missing #include 2019-05-17 23:47:34 +02:00
Marc Glisse a676b75ca0 Misc fixes for expression templates 2019-05-17 19:48:41 +02:00
Laurent Rineau 62f42728c2 Save gauguin configuration files 2019-05-17 18:25:29 +02:00
Laurent Rineau 03202d874f Fix the default of 3rd template parameter of Convex_hull_traits_3
The documentation of `convex_hull_3` says that, if the kernel is "like
`Epick`", then the default traits class of `convex_hull_3` is
`Convex_hull_traits_3`.

But that is wrong, because `Convex_hull_traits_3` is documented with
only two template parameters, and if the kernel is "like `Epick`", the
third argument is `CGAL::Tag_true`, whereas the default of that
parameter is `CGAL::Tag_false`. If users want to write explicitly the
traits in the call to `convex_hull_3`, they cannot know that there is
a third parameters, and that it must be `Tag_true`.

This commit fixes the default of that third argument.
2019-05-17 16:44:14 +02:00
Laurent Rineau 6edd9b7c10
Merge pull request #3936 from lrineau/Travis-better_check_of_push_vs_pull_requests-GF
Use $TRAVIS_PULL_REQUEST_BRANCH instead
2019-05-16 15:49:15 +02:00
Laurent Rineau 7fe156dae7 Use $TRAVIS_PULL_REQUEST_BRANCH instead
`TRAVIS_PULL_REQUEST` is actually never empty:
> `TRAVIS_PULL_REQUEST`: The pull request number if the current job is a pull request, “false” if it’s not a pull request.

(from the [documentation](https://docs.travis-ci.com/user/environment-variables/#default-environment-variables))

Use `TRAVIS_PULL_REQUEST_BRANCH` instead:
> `TRAVIS_PULL_REQUEST_BRANCH`:
>    - if the current job is a pull request, the name of the branch from which the PR originated.
>    - if the current job is a push build, this variable is empty ("").
2019-05-15 11:46:52 +02:00
Laurent Rineau 2b8d417b2e Fix mpz_class... with g++
In my understanding, the reason is that the full specialization
`Modular_traits<mpz_class>` uses `CGAL::mod`, that its uses
`Coercion_traits<A,B>::Type`. That is why the `Coercion_traits`
specialization for `__gmp_expr` must be known before.
2019-05-15 11:09:01 +02:00
Laurent Rineau 2f7e66096c Missing header 2019-05-15 11:04:27 +02:00
Laurent Rineau 934544dbde Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch' 2019-05-15 10:13:14 +02:00
Laurent Rineau 471a44ce10
Merge pull request #3935 from sgiraudot/Classification-Fix_include_random_shuffle-GF
[Classification] Add missing "algorithm" include
2019-05-15 10:12:31 +02:00
Simon Giraudot 580e71ec7f Add missing include 2019-05-15 10:03:32 +02:00
Laurent Rineau b68f75e4a0 Merge branch 'releases/CGAL-4.14-branch' 2019-05-14 17:52:48 +02:00
Laurent Rineau 9ce9f8e3d9 Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch 2019-05-14 17:51:57 +02:00
Laurent Rineau 90782d4b7f Revert the merge of two pull-requests that target CGAL-4.14-branch
- Revert "Merge pull request #3857 from MaelRL/CGAL-Fix_duplicate_non_manifold_vertices-GF"
- Revert "Merge pull request #3898 from lrineau/Mesh_3-stop_during_protection-lrineau"
2019-05-14 17:50:45 +02:00
Laurent Rineau 423c4fbd11 Merge pull request #3266 from MaelRL/PMP-Snap_boundary-GF
PMP: boundary snapping
2019-05-14 16:48:00 +02:00
Laurent Rineau fee84ae228 Merge pull request #3898 from lrineau/Mesh_3-stop_during_protection-lrineau
Mesh_3 `Protect_edges_sizing_field`: handle the `stop` Boolean

# Conflicts:
#	Mesh_3/include/CGAL/Mesh_3/Protect_edges_sizing_field.h
2019-05-14 16:44:02 +02:00