Commit Graph

27 Commits

Author SHA1 Message Date
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Sylvain Pion e89b580703 I also want to play ! 2010-09-24 06:59:13 +00:00
Sébastien Loriot cb718baddc typo 2010-09-24 06:51:48 +00:00
Andreas Fabri d2de0fc323 undo previous wrong fix, and do a better one 2010-09-24 06:41:48 +00:00
Andreas Fabri e7570005e4 simplify 2010-09-23 16:41:48 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Andreas Fabri 191eae691b prefix macro with CGAL 2010-02-26 15:18:53 +00:00
Sylvain Pion 85dc12f2a7 Remove empty lines at beginning and end of files
(apply Scripts/developer_scripts/remove_empty_lines.pl).
2010-02-01 12:55:28 +00:00
Stéphane Tayeb 8dceee4164 Add include<CGAL/assertions.h> in *_assertion files. 2009-10-07 13:16:13 +00:00
Stéphane Tayeb 770492c1c7 Use new version of script create_assertions.sh to generate *_assertions.h files.
Diffs are:
 * #undef added
 * in old files, (void)0 is replaced by static_cast<void>(0)
 * in old files, lines as "#  define CGAL_xxx_assertion 1" are added
 * in point_set_processing_assertions.h, surface_mesh_parameterization_assertions.h, surface_reconstruction_points_assertions.h, "|| defined(CGAL_NDEBUG)" is replaced by "|| defined (NDEBUG)"
 * protective macros (if any) are removed
 * included files if any (<CGAL/assertions.h>, <CGAL/trace.h>) are removed
2009-10-07 07:49:44 +00:00
Andreas Fabri 79dec30a9c class -> struct 2008-10-15 07:52:05 +00:00
Andreas Fabri a9ff741545 class -> struct 2008-10-14 07:30:35 +00:00
Sylvain Pion 2eb0d8f9e9 certainly() -> possibly(). 2008-07-14 11:16:41 +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
Sylvain Pion 2ded0089c0 Use CGAL convention for protect macro naming. 2007-12-30 16:55:25 +00:00
Sylvain Pion b23f61eefd Make Tree_base_node type safe using CRTP.
(removes frightening aliasing breakage warnings)
2007-12-30 16:51:02 +00:00
Sylvain Pion 3c3c77088e Remove useless macros and other related cleanups 2007-12-30 16:14:26 +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
Marc Glisse eb84eb8a23 Make the size of the file not a multiple of memory page size because of a
ridiculous bug in a compiler.
2007-07-31 18:32:54 +00:00
Sylvain Pion 2bdfec6cc0 Removal of remaining protect macros : those protecting other CGAL include files.
Done using the script Scripts/developer_scripts/cgal_conditional_include_remove.
2007-01-24 18:00:30 +00:00
Andreas Fabri f6399fada1 'interface' is a macro in windows.h 2006-08-22 08:13:35 +00:00
Andreas Fabri 1fafba9621 'interface' is a macro in windows.h 2006-08-22 08:10:03 +00:00
Laurent Saboret db6a8f948c Change CVS keywords to SVN style 2006-02-16 14:30:13 +00:00
Laurent Saboret 1aad55d4cb Change CVS keywords to SVN style 2006-02-14 10:08:15 +00:00
Laurent Saboret 6fb8cac2d9 Move packages to trunk root 2006-02-14 08:58:19 +00:00