Commit Graph

32863 Commits

Author SHA1 Message Date
Sylvain Pion 732f926025 The script I use to cleanup files with leading and trailing empty lines 2007-03-10 16:47:06 +00:00
Sylvain Pion 05840a8f17 Cleanup of white spaces and empty lines also under examples/*/*.h. 2007-03-10 16:45:36 +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 ffe1e4ec1c More redundant filename removal.
The only survivors should be under Arrangement_2/examples
(some Doxygen syntax is used, so I don't touch them).
2007-03-10 15:22:41 +00:00
Sylvain Pion e46d4d9f99 Remove more "// file :" lines forgotten. 2007-03-10 15:11:24 +00:00
Sylvain Pion 8bfd7a00e5 Manually remove the remaining "//file:" lines. 2007-03-10 15:03:39 +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 01d46bfa15 Some examples escapede my previous pass due to trailing white space at end of line. 2007-03-10 14:39:37 +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 d11d632ee5 #include <CGAL/basic.h> before testing for CGAL_USE_CORE, otherwise
nothing is ever performed...
2007-03-10 14:21:33 +00:00
Sylvain Pion fac1f26a61 Constify xpms. 2007-03-10 12:51:25 +00:00
Sylvain Pion 5d8d4c8dec Constify check_sep(). 2007-03-10 12:49:21 +00:00
Sylvain Pion ed56f137a0 constify xpms 2007-03-10 12:36:57 +00:00
Sylvain Pion 3609051554 Constify xpms. 2007-03-10 12:32:56 +00:00
Sylvain Pion fdada9bd45 Constify "filemane" (g++ 4.2 warning). 2007-03-10 11:49:40 +00:00
Sylvain Pion 507482cf86 Replace boost::rand48 by boost::minstd_rand as it is more portable
(the former requires uint64_t, and pgCC does not seem to have it).
2007-03-10 11:33:22 +00:00
Sylvain Pion 32e8dc4c7e remove unused variables... 2007-03-10 11:16:26 +00:00
Sylvain Pion e4ea39527e Add something to test that we link against the correct libgmpxx. 2007-03-10 11:06:41 +00:00
Sylvain Pion 90968cccd0 remove pgcc warning about pointless comparison of unsigned to 0 2007-03-10 10:59:33 +00:00
Sylvain Pion a24361e4ae pgcc warning-- 2007-03-10 10:50:36 +00:00
Sylvain Pion 70b9930045 remove GCC-only command-line option 2007-03-10 10:49:31 +00:00
Sylvain Pion 57ac2709a4 pgcc warning-- 2007-03-10 10:48:51 +00:00
Sylvain Pion f7b30ec07b Remove pgcc warnings "white space between backslash and newline in line splice ignored" 2007-03-10 10:42:31 +00:00
Sylvain Pion 56baf22de3 pgcc warning-- 2007-03-10 10:37:52 +00:00
Sylvain Pion 1f088ecde2 replace copy-pasted code by calling create_cgal_test --no-run for demos 2007-03-09 22:58:30 +00:00
Joachim Reichel cd1a040d2e remove -w and -g option of install_cgal
remove makefile variables CGAL_WINDOW_LDFLAGS, CGAL_GEOWIN_LDFLAGS and CGAL_QT_LDFLAGS
(see #1894)
2007-03-09 22:53:24 +00:00
Sylvain Pion d7494960f0 Add a --no-run option which avoids executing (to be used for demos) 2007-03-09 22:52:40 +00:00
Sylvain Pion 2bbef62de2 more on new compilers 2007-03-09 17:20:34 +00:00
Sylvain Pion 9426891f83 Implement Unit_part. 2007-03-09 15:35:24 +00:00
Sylvain Pion ca68531c73 fix pgcc warnings 2007-03-09 13:58:37 +00:00
Sylvain Pion bf0e32a0e5 remove pgcc warnings 2007-03-09 13:55:29 +00:00
Andreas Fabri a9b7c143fc some of the changes 2007-03-09 13:34:35 +00:00
Andreas Fabri 952d15bc1a changed wording 2007-03-09 13:34:09 +00:00
Sylvain Pion 1745f8b0eb comment out unused variable (spotted by pgcc) 2007-03-09 13:28:35 +00:00
Laurent Rineau 1d90e12229 Allows MAKE="make -j2" ./install_cgal... 2007-03-09 10:28:32 +00:00
Sylvain Pion c6b85022e5 warning patrol 2007-03-09 08:37:01 +00:00
Sylvain Pion 5cd4f73753 warning patrol 2007-03-09 08:32:01 +00:00
Sylvain Pion 3a368d6dc0 warning-- 2007-03-09 08:24:31 +00:00
Fernando Cacciola 5af62e3065 duplicate assertion functions removed (they shown undefined in linux-gcc4.0.2) 2007-03-08 21:49:44 +00:00
Fernando Cacciola 99a482f86e Fixed audit parsing in Linux
Fixed testsuite to handle unstable ordering of edges with equal collapse cost
2007-03-08 20:48:48 +00:00
Daniel Russel 6cdcb5d22e clean weighted vs nonweighted 2007-03-08 18:18:42 +00:00
Daniel Russel bbd19d8a16 removed weighted_point inheriting from unweighted point, although I think it really should. VC was getting confused. 2007-03-08 18:15:24 +00:00
Sylvain Pion f173ff399c Downgrade MP_Float's category to UFD instead of Euclidean_ring (at least for now).
Try to make gcd() work in the 0 case.
There are still some test-suite failures...
2007-03-08 17:59:28 +00:00
Peter Hachenberger 488604ffb9 erased redundant template parameters of compare
and smaller functors.
2007-03-08 17:51:06 +00:00
Sylvain Pion cb13268b22 Initialize _grep to grep.
Improve detection of PGCC (pgCC or pgcpp).
2007-03-08 17:12:26 +00:00
Sylvain Pion 6276bbb9e8 Typo long_double 2007-03-08 16:57:33 +00:00
Michael Hemmer 024df41155 changed test for div_mod for MP_Float (exact) 2007-03-08 15:47:17 +00:00
Sylvain Pion b1d77c0f3b normalize the gcd() 2007-03-08 15:44:39 +00:00
Andreas Fabri 9913651cc7 replace options.cpp by usage of boost program options 2007-03-08 15:16:43 +00:00