Commit Graph

69 Commits

Author SHA1 Message Date
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
Fernando Cacciola f93437ca22 Removed *unmodified* auto-generated CMakeLists.txt (now created by create_internal_release) 2008-05-05 14:01:55 +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
Fernando Cacciola b704509dcf Examples/Demos/Test CMake scripts updated 2008-03-05 21:14:02 +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
Sylvain Pion 056901c578 Remove Borland workaround. 2008-01-20 22:50:29 +00:00
Sylvain Pion dc1be1898e Get rid of obsolete Window_stream (LEDA window) code. 2008-01-10 17:50:45 +00:00
Sylvain Pion 7a03b91d9e Get rid of CGAL_REP_CLASS_DEFINED 2008-01-03 19:13:08 +00:00
Sylvain Pion 360d29f72a Rename CGAL_CIRC_NULL to CGAL_NULL. 2007-12-28 15:40:36 +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
Shlomo Golubev b91276c362 add typename 2007-09-20 08:07:44 +00:00
Andreas Fabri a913203d47 ref man fixes 2007-09-19 07:53:27 +00:00
Andreas Fabri cb33e0c4f6 temporary fix in is_simple 2007-09-19 07:43:34 +00:00
Andreas Fabri 40b94b1853 Added documentation of IO for Polygon_2 2007-09-06 07:31:09 +00:00
Camille Wormser ce7b960958 Correcting the bug I found in is_convex by filtering
repeated points (and adding only one equality test at 
the beginning in the generic case).
2007-06-27 13:52:53 +00:00
Fernando Cacciola 88111fcf70 VS project files merged back 2007-06-06 15:35:17 +00:00
Andreas Fabri 3fc7e21b15 3.3 branch -> trunk 2007-06-04 14:10:45 +00:00
Andreas Fabri 004391b3c2 add demo 2007-05-04 14:07:22 +00:00
Andreas Meyer c1e9765ff4 manual fix: moved labels inside sectioning command 2007-04-18 14:20:12 +00:00
Sylvain Pion 70fa015c19 Allow pointers as the underlying container's iterator
(spotted by Minkowski_sum_2 test-suite on SunCC+STLport).
2007-04-18 12:12:07 +00:00
Sylvain Pion 35e3109822 Spell check. 2007-04-17 16:29:15 +00:00
Andreas Fabri ea71b8eaa1 .C ->.cpp and autolinking 2007-04-11 13:59:20 +00:00
Andreas Meyer 41169fc270 * updated howtocite bibkeys for upcoming 3.3 release
* typo fixes/cosmetic changes
2007-03-29 17:40:13 +00:00
Andreas Fabri 21ffd34223 resized teaser 2007-03-26 09:45:39 +00:00
Andreas Fabri b55f62fc0c Added illustration 2007-03-20 22:19:49 +00:00
Joachim Reichel d08f6bea45 replace obsolete variable CGAL_QT_LDFLAGS by CGAL_LDFLAGS 2007-03-11 09:54:17 +00:00
Sylvain Pion b2630cd7e1 Apply trailing whites-spaces and leadgin+trailing empty-lines cleanups
to demo/**/*.h and .cpp.
2007-03-10 16:55:12 +00:00
Sylvain Pion 847c23a15e Removing leading and trailing empty lines from all example files.
Using the following Perl script:
-----------------------------------------------------
#!/usr/bin/perl

local($/) = undef;
my $text = <>;

$text =~ s/\A\n+//mg;
$text =~ s/\n+\Z/\n/mg;

print "$text";
-----------------------------------------------------
2007-03-10 16:17:17 +00:00
Sylvain Pion 6fb5cb906b Remove trailing white spaces and end of lines.
(using : perl -pi.bak -e 's/\s+$/\n/' */examples/*/*.cpp )
2007-03-10 14:59:41 +00:00
Sylvain Pion b8b87ab5a5 Actually, the "// file: example_bla.cpp" lines are not needed anymore,
since the manual tools know it.  So let's just remove them (many were
not uptodate with the filemane anyway).
2007-03-10 14:48:00 +00:00
Sylvain Pion 23edc11d3b Fix all first lines of examples "// file : example_file.C" to .cpp suffix.
Using :

for i in * ; do  cd $i ; for f in examples/*/*.cpp ; do ( head -1 $f | grep file | grep -v '\.cpp' ) && echo $f && perl -pi.bak -e 's/\.C$/.cpp/' $f ; done ; cd .. ; done
2007-03-10 14:34:05 +00:00
Sylvain Pion 6441bd7342 remove empty first line 2007-02-15 14:50:53 +00:00
Sylvain Pion 4642f88f0b constify 2007-02-11 22:45:56 +00:00
Sylvain Pion 691db9aec4 rename .C to .cpp 2007-01-27 21:03:49 +00:00
Sylvain Pion 40d0fb8d35 Fix all "align=center" in <img> by "align=middle". 2007-01-13 21:49:03 +00:00
Sylvain Pion c03659bc7a global update of maintainer files
(remove Lutz, Sven, Matthias, Geert-Jan...)
2006-12-05 14:01:13 +00:00
Andreas Fabri d5ab163d62 Avoid the tyoe Polygon as it is defined in windows.h 2006-08-20 21:00:55 +00:00
Andreas Fabri 6b06bc24a4 Replaced Polygon with Polygon_2, to avoid clash with Windows type 2006-08-18 21:12:27 +00:00
Andreas Meyer c51efe2626 replaced ccIncludeVerbatim by ccIncludeExampleCode, where appropriate 2006-08-09 14:19:50 +00:00
Andreas Meyer b454b3febd manual cleanup:
* .C ---> .cpp
* removed ../examples from paths
* moved some demo/example files out of doc_tex into their respective place
* now it should build properly, again
2006-08-07 16:43:09 +00:00
Andreas Fabri c39a098fec rename .C to .cpp 2006-08-07 08:48:31 +00:00
Andreas Fabri d5b7274a8d changed .C to .cpp in examples 2006-07-09 19:34:39 +00:00
Andreas Fabri b219738033 fix of \ccPkgIntroducedInCGAL 2006-06-20 11:55:06 +00:00
Ron Wein a3ea8fcdb7 Rename the *.C files to *_impl.h files, and removed non-interface include
files under the subfolder Polygon_2/
2006-05-29 07:28:42 +00:00
Sylvain Pion 5dfde87b75 Remove now useless test program. It used to test the caching of polygon
properties, but the caching has been removed, and now this file is
redundant with PolygonTest3.C.  It makes the test-suite barf since it does
not contain a main() function, so I remove it.
2006-05-21 07:44:27 +00:00
Andreas Meyer 0e3d6b8143 manual bugfix (ccHowToCiteCgal) 2006-05-04 12:28:44 +00:00