Commit Graph

86130 Commits

Author SHA1 Message Date
Laurent Rineau 22d6d9ebd8 Allow lambdas (or other callables) as MeshDomainField_3
That patch uses C++11 `<type_traits>`, and
`boost::callable_traits::is_invocable` that is available only since
1.66. If Boost<1.66, then the previous behavior (testing
`Sizing_field::FT`) is kept.

Fix issue https://github.com/CGAL/cgal/issues/3005
2019-05-24 10:45:12 +02:00
Dmitry Anisimov 3738de08ed
Merge branch 'master' into Point_set_shape_detection_3-make_it_general_with_region_growing-danston 2019-05-23 10:38:45 +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
Maxime Gimeno 4d31030950 WIP randomColors for lcc 2019-05-22 16:22:01 +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
Andreas Fabri d318f1e938 Update changes.md 2019-05-22 11:08:37 +02:00
Dmitry Anisimov 110b94c16d conflicts fixes 2019-05-21 20:06:06 +02:00
Dmitry Anisimov 2fac5f2f13 face index to size_t warning fix 2019-05-21 17:52:00 +02:00
Andreas Fabri d067fb409a uncomment 2019-05-21 17:18:11 +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
Andreas Fabri f354210be3 Add using statements 2019-05-21 14:32:03 +02:00
Andreas Fabri 2d1c78fdd9 Unify T3 2019-05-20 18:23:08 +02:00
Andreas Fabri 12ffb4a844 fix typo in doc 2019-05-20 17:32:55 +02:00
Andreas Fabri 85d9ec1ae1 Unify 2D 2019-05-20 17:30:31 +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
Dmitry Anisimov b2d64c796c time to unsigned int conversion warnings fix 2019-05-20 10:05:48 +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
Dmitry Anisimov 76feac2716 more warnings fixed 2019-05-19 14:42:24 +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
Dmitry Anisimov 28bdc838b1 surface mesh sd plugin + test fixes 2019-05-15 21:33:27 +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