Commit Graph

223 Commits

Author SHA1 Message Date
Laurent Saboret 544547bc81 Added trace 2008-08-26 14:43:28 +00:00
Laurent Saboret f524fb618e Added traces 2008-08-25 15:24:58 +00:00
Laurent Saboret a1627b003f Removed unnecessary includes of CGAL/basic.h
Enforced CGAL_NDEBUG rule:
- code under include/CGAL/ and src/ must not use NDEBUG and assert(), but CGAL_NDEBUG and CGAL assertion macros.
- code under demo/, examples/ and test/ must use NDEBUG and assert().
2008-08-21 11:57:02 +00:00
Laurent Saboret 242349559d Updated reference manual 2008-08-20 15:16:34 +00:00
Laurent Saboret 42f40a7fc2 Changed the way parameterization errors are reported. Now:
- there is a clear distinction between internal errors (aka bugs) and not supported input files (typically models which are not topological discs),
- internal errors trigger a test suite failure.

The main consequence is that OpenNL errors trigger now a test suite failure.
2008-08-20 14:47:53 +00:00
Laurent Saboret 5e61260a99 test_all.sh create now a log file 2008-08-20 14:31:55 +00:00
Laurent Saboret 7f6eb45faa Tiny pyramid model. Test case provided by Andreas Fabri. 2008-08-20 10:04:53 +00:00
Laurent Saboret fa729a4476 Removed traces 2008-08-19 15:58:57 +00:00
Laurent Saboret fa30accac8 Surface_mesh_parameterization pre-conditions and post-conditions are now always checked,
in order to catch input meshes that do not respect them and avoid crashes in Release mode: 
- For fixed border parameterizations:
 Preconditions:
     check that the border is mapped onto a convex polygon.
     check that the input mesh is triangular (expensive check).
     check that the input mesh is a surface with one connected component (expensive check).
 Postconditions:
     check one-to-one mapping.
- For free border parameterizations:
 Preconditions:
     check that the input mesh is triangular (expensive check).
     check that the input mesh is a surface with one connected component (expensive check).
 Postconditions:
     check one-to-one mapping.
2008-08-19 15:50:40 +00:00
Laurent Saboret 87462368ca Add back VC++ (2005) makefiles until switch to CMake is over 2008-08-19 15:24:50 +00:00
Sylvain Pion dc3bf72707 Remove changes.txt files. 2008-07-24 17:47:16 +00:00
Sylvain Pion 79864c0c8e Remove Arity_tag. 2008-07-22 12:29:01 +00:00
Sylvain Pion 2eb0d8f9e9 certainly() -> possibly(). 2008-07-14 11:16:41 +00:00
Sylvain Pion eff6efd3af CGAL_NULL and CGAL_NULL_TYPE are now constant macros, so replace them by:
- CGAL_NULL -> NULL
- CGAL_NULL_TYPE -> CGAL::Nullptr_t (typedef to const void *)
2008-07-12 21:58:52 +00:00
Sylvain Pion 9d7a609ff2 Make assertions trigger an error only for *certain* conditions (using CGAL::certainly()).
This is useful for interval arithmetic code.
(replay of r44002 with the header order hopefully fixed)
2008-07-10 21:49:17 +00:00
Sylvain Pion 2b4ebf01f7 Undo r44002 as it's buggy 2008-07-06 20:47:29 +00:00
Sylvain Pion 514a17ad4f Improve the interaction of assertions and interval computations.
Things like "CGAL_assertion(denominator != 0)" produced assertion failures for no gain.
So now, the assertion is triggered only if the condition is certain, using CGAL::certainly().
That is, change the following in all assertion files :
  ((EX)?(static_cast<void>(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__))
to :
  (CGAL::certainly(EX)?(static_cast<void>(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__))
2008-07-06 17:05:47 +00:00
Laurent Saboret 0e68fecdfe This package is now compatible with the default makefile and cgal_test files:
- removed .sln and .vcproj VisualC++ makefiles
2008-06-06 13:59:35 +00:00
Laurent Saboret d04e3f8c0d This package is now compatible with the default makefile and cgal_test files:
- removed find_first script
- copied Mesh_cutter.h, Parameterization_polyhedron_adaptor_ex.h and Polyhedron_ex.h from examples/ to test/
2008-06-06 13:17:07 +00:00
Fernando Cacciola f93437ca22 Removed *unmodified* auto-generated CMakeLists.txt (now created by create_internal_release) 2008-05-05 14:01:55 +00:00
Laurent Saboret 11366f0a6c Automatic documentation by generate_reference_documentation 1.0.2 2008-04-04 16:40:07 +00:00
Laurent Saboret 3a29a3f61f generate_reference_documentation 1.0.2 requires to document the concepts refinement by inheritance instead of "@heading Refines" 2008-04-04 16:38:18 +00:00
Laurent Saboret b59996cee6 Removed obsolete doxygen comment 2008-03-21 16:11:18 +00:00
Laurent Saboret f124fca6b9 Minor change 2008-03-21 16:04:58 +00:00
Andreas Meyer 20315de571 * replaced CGAL_test_assert with ::assert, instead of CGAL_assertion
* removed include/Testsuite/assert.h
2008-03-19 13:45:36 +00:00
Laurent Saboret 500fc2f95c Update to generate_reference_manual 1.0.1 2008-03-07 13:43:59 +00:00
Fernando Cacciola b704509dcf Examples/Demos/Test CMake scripts updated 2008-03-05 21:14:02 +00:00
Laurent Saboret e2f3e93490 Update to generate_reference_manual 1.0 2008-02-22 13:03:40 +00:00
Laurent Saboret d64885d524 Improved \ccHasModels parsing 2008-02-20 14:36:52 +00:00
Laurent Saboret 70a58205c3 Fixed \ccVariables support 2008-02-20 11:46:17 +00:00
Laurent Saboret 0c9edbfd24 Words surrounded by simple quotes are emphasized using \ccc 2008-02-18 18:38:09 +00:00
Fernando Cacciola a659cd852a Added project() and conditional test for CGAL_DIR 2008-02-14 15:42:36 +00:00
Fernando Cacciola 14043c43a0 Replaced CGALROOT by CGAL_DIR (the latters is used by CMake automatically) 2008-02-08 17:47:21 +00:00
Fernando Cacciola afddfc4fca CMake scripts for demos/examples/test added 2008-02-06 19:06:24 +00:00
Laurent Saboret 705e0b1362 Redo r41603 and r41552 (#ifdef CGAL_USE_TAUCS) for SP 2008-01-25 17:51:55 +00:00
Laurent Saboret a36cb5d3fd Update to doxygen 1.5 and generate_reference_manual 0.8: methods implemented out of a class declaration should not repeat the doxygen documentation 2008-01-25 16:32:47 +00:00
Laurent Saboret d21010bde0 Undo r41603 and r41552: using global flags like CGAL_USE_TAUCS breaks generate_reference_manual 2008-01-25 16:30:48 +00:00
Sylvain Pion b24108f5fd Remove #include <cassert> from everywhere under include/CGAL/.
CGAL code has to use CGAL assertions instead.
2008-01-20 18:47:19 +00:00
Sylvain Pion 65a5ac690f Protect using CGAL_USE_TAUCS 2008-01-14 17:10:22 +00:00
Sylvain Pion 4e76054a50 Protect by CGAL_USE_TAUCS. 2008-01-12 20:31:14 +00:00
Sylvain Pion 7c9f6841af remove unused argument warning 2007-12-30 15:28:32 +00:00
Sylvain Pion b50e1cea03 Fix warning for empty body of while loop 2007-12-30 15:26:39 +00:00
Sylvain Pion d49e006c53 Remove default argument "0" to calls to assertion_fail() et al,
as the default is now the empty string "".
It should fix the problem that we have lost the assertion messages
(seeing "what():  basic_string::_S_construct NULL not valid" instead),
for packages that use package-specific assertion macros.
2007-12-21 21:58:27 +00:00
Sylvain Pion a46b55bf71 The files "changes.txt", "description.txt", "long_description.txt" and "maintainer"
are now under /trunk/$Package/package_info/$Package/ .
2007-12-02 15:06:42 +00:00
Andreas Meyer 6623d525eb * replaced assert in */test/*/*.{cpp,h} with CGAL_test_assertion
* replaced #include <assert.h> with the according CGAL/Testsuite/assert.h
2007-11-07 21:35:42 +00:00
Andreas Meyer fdeedcf8b0 some low level code cleanup. renamed
* CGAL_error to CGAL_error_msg
* introduced a macro CGAL_error()
* added some words about CGAL_error to the developers manual
* renamed most of assert(x) into CGAL_assertion(x)
* renamed exit(x) with x != 0 , CGAL_assertion(false) and assert(false) into CGAL_error
* CORE left untouched, OpenNL changed
2007-11-07 16:51:18 +00:00
Laurent Saboret a661ae2211 Regenerated Reference Manual with generate_reference_manual 0.7.5. 2007-09-07 15:27:39 +00:00
Laurent Saboret 97fa913995 Port to Linux and Windows 64 bits 2007-08-28 15:16:55 +00:00
Sylvain Pion 4da7713aa8 Remove obsolete config flag CGAL_CFG_NO_STDC_NAMESPACE and rename
its dependant macro CGAL_CLIB_STD to "std".
2007-08-08 15:59:25 +00:00
Laurent Saboret a1e58fff56 Port to Linux 64 bits 2007-06-14 15:38:24 +00:00