Commit Graph

50820 Commits

Author SHA1 Message Date
Guillaume Damiand 0778e0b166 Wip group/degroup 2013-02-11 22:22:14 +01:00
Guillaume Damiand fbe2a506d7 Continue on group/ungroup: nyf 2013-02-11 22:03:18 +01:00
Guillaume Damiand 6678832c7a Wip on group/degroup 2013-02-11 17:57:10 +01:00
Efi Fogel be12d8abcd cleanup - mainly suggested by Shriramana Sharma 2013-02-11 16:56:09 +02:00
Efi Fogel c9f1fa974b cleanup - mainly by a patch provided by Shriramana Sharma 2013-02-11 16:46:33 +02:00
Guillaume Damiand af1c3f25fa Wip 2013-02-11 15:31:43 +01:00
Sébastien Loriot 618aea89da std::isnan is a cpp11 feature, use CGAL::Is_valid<double> instead. 2013-02-11 14:40:44 +01:00
Sébastien Loriot 4839dc1926 update the targets of the Polyhedron test script
the patch looks larger than the number of targets added as I used
the ordering of the help section of the makefile generated by cmake
2013-02-11 14:40:43 +01:00
Efi Fogel 09ca243173 cleanup - mainly by a patch provided by Shriramana Sharma 2013-02-11 15:33:02 +02:00
Guillaume Damiand 0558f60b09 Start some cleanup in group/degroup methods. 2013-02-11 13:49:39 +01:00
Guillaume Damiand 6a06c5b0f4 Modify LCC tests to be able to know which test is run by the testsuite. 2013-02-09 17:49:49 +01:00
Andreas Fabri dfea9e77dc Add a 'f' after a number 2013-02-09 16:24:57 +01:00
Andreas Fabri 21fd50eeb7 Add a static_cast 2013-02-09 16:23:42 +01:00
Sébastien Loriot 1ca5410df0 a plane is not a point! 2013-02-09 16:22:51 +01:00
Guillaume Damiand 9a0b1d17e9 Add test for contraction<3> 2013-02-08 21:36:41 +01:00
Andreas Fabri e44de39ada switch from int to bool to avoid a performance warning 2013-02-08 18:16:53 +01:00
Andreas Fabri 0fccc8a246 compare with NULL, int -> size_t 2013-02-08 17:53:13 +01:00
Andreas Fabri 747d005898 Add static_casts 2013-02-08 17:52:14 +01:00
Guillaume Damiand 1817476e2b add test for contraction<3> 2013-02-08 17:29:04 +01:00
Guillaume Damiand d61ec5bdca Move tests in LCC, add more tests (nyf) 2013-02-08 17:22:13 +01:00
Laurent Rineau 51ea960be6 Fix warnings about unused types or variables. 2013-02-08 16:50:02 +01:00
Laurent Rineau b7762bb6b5 Andreas commited the inclusion and use of vc_debug_hook. by error. 2013-02-08 16:49:14 +01:00
Laurent Rineau 74643398fa Remove .scm-branch from public releases 2013-02-08 16:35:37 +01:00
Laurent Rineau 61329abd7f Fix bugs in test/Point_set_processing_3/read_test.cpp
1/ A compilation bug: in C++03, the constructor of std::ifstream cannot
take a std::string as filename argument. That constructor is available only
from C++11.

2/ The paths to the data files were wrong.

3/ Remove the useless commited cgal_test_with_cmake! As a matter of fact,
read_test.cpp was never tested by the daily testsuite because that file
cgal_test_with_cmake was commited and unmaintained.
2013-02-08 16:21:19 +01:00
Andreas Fabri 5afa7b080a Put () around min and max 2013-02-08 16:13:23 +01:00
Guillaume Damiand ec5e746696 Trivial bug-fix in Linear_cell_complex class.
The default template argument used for LCCTraits (CGAL::Linear_cell_complex_traits<..>) does not use the correct dimension: it was d_ while it must be ambient_dim.

Approved by the release manager.
2013-02-08 14:28:12 +01:00
Guillaume Damiand 2912913964 add tests for contraction<3> 2013-02-08 14:11:05 +01:00
Andreas Fabri 99968b0461 Add static_cast<int> 2013-02-08 13:01:19 +01:00
Andreas Fabri f8b8e7c643 0.1 -> 0.1f to avoid a warning 2013-02-08 12:45:30 +01:00
Andreas Fabri 99006a8e06 Add static_cast<int> 2013-02-08 12:43:15 +01:00
Andreas Fabri 7cf7aa063a Add a static_cast<int> 2013-02-08 12:42:51 +01:00
Guillaume Damiand 1db1ddb8c5 Add tests for contraction<2> 2013-02-08 11:25:54 +01:00
Sébastien Loriot 7b266dc5ef In the implementation details of PlaneC3, Point_3 is not necessarily PointC3
this is true in the case of a user defined Kernel with its own point type
2013-02-08 09:27:02 +01:00
Sébastien Loriot 0b21facc96 we must use the construction object 2013-02-08 09:26:16 +01:00
Philipp Möller 3ee98b11ea Leave a warning to the next person that comes across this 2013-02-08 00:27:48 +01:00
Philipp Möller b9efb884ee The leak in this test has to be fixed separately
The test is not even using the minkowski_sum_3 function, so we have to
handle Gaussian_map manually.
2013-02-08 00:27:01 +01:00
Philipp Möller 3a0932f578 Fix the memory leak in minkowski_sum_3
Gaussian_map allocates a Sphere_map on every construction and passes
it off to its base class SM_decorator. The decorator has a shallow
copy-constructor and doesn't clean up its resource.

The best fix would be to use a shared_ptr for psm_ in SM_decorator,
but that possibly breaks users and classes that actually account for
the missing memory management.

This is the worst of all possible fixes. We just clean up all
pointers. The code now checks fine with gperftools and
HEAPCHECK=strict
2013-02-08 00:25:20 +01:00
Andreas Fabri 2ea8fab6eb change return type from int to bool 2013-02-07 20:29:27 +01:00
Laurent Rineau d19578725b Fix warnings 2013-02-07 18:15:23 +01:00
Laurent Rineau 29c05b900b Mark BOOST_STATIC_ASSERT with 'CGAL_UNUSED'
In order to fix such a warning from g++-4.8:
  warning: typedef ‘boost_static_assert_typedef_241’ locally defined but
  not used [-Wunused-local-typedefs]
then:
  - create one macro CGAL_UNUSED that is "__attribute__ ((__unused__))"
    with g++ or empty otherwise,
  - use it after BOOST_STATIC_ASSERT in the definition of
    CGAL_static_assertion.
2013-02-07 18:15:23 +01:00
Andreas Fabri 551acd15bf don't compile examples listed in dont_submit 2013-02-07 17:33:33 +01:00
Andreas Fabri afeea1e124 replace size_t with int in loops over the vertices of a cell 2013-02-07 17:26:32 +01:00
Andreas Fabri d4b251c8fd Use int as difference_type as it may only be in [-2, 2] 2013-02-07 16:01:48 +01:00
Andreas Fabri b2ec8d925b CGAL_USE_TYPE 2013-02-07 15:43:25 +01:00
Andreas Fabri ccc38484d7 Merge branch 'CGAL-fix_warnings-gdamiand' of ssh://scm.cgal.org/var/git/cgal into CGAL-fix_warnings-gdamiand 2013-02-07 15:16:34 +01:00
Andreas Fabri 2740aa9c05 use size_type instead of int 2013-02-07 15:16:03 +01:00
Andreas Fabri c6dd56cf0f suppress a warning. The hypothetical problem cannot occur 2013-02-07 15:15:27 +01:00
Andreas Fabri 462ad57712 Remove a declaration without definition 2013-02-07 15:13:48 +01:00
Sébastien Loriot 2186a89455 write a link to the current doc if published 2013-02-07 15:02:37 +01:00
Sébastien Loriot 52684f2b1a get the date from the system if not using a git branch 2013-02-07 14:46:08 +01:00