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
29d15d7eb1
Remove obsolete SunPRO workarounds
2008-01-20 21:51:12 +00:00
Sylvain Pion
0f587ba0b5
This SUNPRO workaround is not needed anymore
2008-01-20 20:34:39 +00:00
Sylvain Pion
4d1b8d63e3
Remove workarounds and support for the BORLAND compiler.
2008-01-20 20:24:20 +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
1d2b1f3b6a
Make CGAL_NDEBUG depend on NDEBUG, and simplify code.
2008-01-20 18:07:46 +00:00
Sylvain Pion
3eb3e168e8
The main (non package-specific) macros like CGAL_assertion() should not depend on
...
kernel specific knobs like CGAL_KERNEL_NO_ASSERTIONS.
2008-01-20 17:39:27 +00:00
Sylvain Pion
5c551050a5
Remove obsolete VC++ 6 specific code.
2008-01-20 15:27:47 +00:00
Sylvain Pion
2b46416907
Remove more SUNPRO + RW's STL obsolete workarounds:
...
CGAL_CFG_SUNPRO_RWSTD (partially)
CGAL_reverse_iterator()
2008-01-03 15:04:30 +00:00
Sylvain Pion
83b76e21e9
Remove obsolete .C example files (there are uptodate .cpp files under examples/).
2007-12-28 16:07:38 +00:00
Sylvain Pion
360d29f72a
Rename CGAL_CIRC_NULL to CGAL_NULL.
2007-12-28 15:40:36 +00:00
Sylvain Pion
e8591b3b32
Change Counting_output_iterator to store a pointer to the counter, instead of
...
the counter itself. It fixes a problem with g++ 4.3 since std::copy now
performs the assignments on *copies* of the output iterator.
See : http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34595
2007-12-26 17:34:36 +00:00
Sylvain Pion
be95afcd9b
Fix const-correctness issue.
2007-12-25 11:22:48 +00:00
Sylvain Pion
ef3ba8a5ec
variadic template fix
2007-12-24 13:30:24 +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
Sylvain Pion
dddf37f5cc
Avoid duplicating error messages with g++.
2007-11-21 16:44:44 +00:00
Sylvain Pion
1f492aa1e8
Remove unused, undocumented, and superceeded by boost::function_output_iterator (more or less)
...
class Transform_output_iterator.
2007-11-20 14:05:31 +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
Sylvain Pion
80f14be579
Using an anonymous namespace is much more funky than static funcitons/variables.
2007-11-07 15:50:25 +00:00
Sylvain Pion
84719ab22f
Mention bug-report URL in the assertion failure error message.
2007-11-07 15:38:48 +00:00
Sylvain Pion
848b455cc6
Use default arguments...
2007-11-05 17:13:21 +00:00
Sylvain Pion
9d7c8b949d
Variadic template syntax is not supported by the manual tools
...
(and hopefully will never).
2007-11-02 22:23:46 +00:00
Sylvain Pion
2c25427164
- New class Default_argument that helps shrink error messages
...
and mangled names.
- Use it in Compact_container in place of Default_allocator
which was playing the same role, but less generally.
2007-11-02 16:16:02 +00:00
Sylvain Pion
ef264999b3
Renaming of Compact_container's construct_insert() to emplace() to match C++0x.
...
It breaks backward compat, but I doubt many people use Compact_container directly.
Make it use variadic templates, while at it.
2007-10-20 20:51:59 +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
Andreas Meyer
ba23c28c2b
* added #include <CGAL/basic>
...
* moved some support functions/classes from EXACUS to STL_Extensions/iostream:
- Benchmark_rep (similar to Output_rep)
- a functor Pair_lexicographical_less_than
(previously called Product_order in EXACUS)
- a functor Handle_id_less_than
2007-07-04 16:25:33 +00:00
Sylvain Pion
54b01bd44f
Speed up the clear() function (and therefore the destructor), by allowing
...
the compiler to optimize away a complete walk over the container for
types with trivial destructors.
2007-06-08 22:35:58 +00:00
Sylvain Pion
bea63ec2f6
formatting
2007-06-08 21:22:45 +00:00
Andreas Fabri
01e763217b
3.3 branch -> trunk
2007-06-04 14:27:09 +00:00
Andreas Meyer
7c09dc370a
* removed unused "old_alloc_strategy", based on LEDA
...
* some leda stuff remains : added version-dependent include for leda/memory.h
2007-04-20 12:16:17 +00:00
Andreas Meyer
c1e9765ff4
manual fix: moved labels inside sectioning command
2007-04-18 14:20:12 +00:00
Sylvain Pion
8cb773f976
Rename variable to avoid shadowing warning.
2007-04-18 09:01:37 +00:00
Sylvain Pion
0d4a66304b
Spell check.
2007-04-17 15:32:22 +00:00
Sylvain Pion
1fd9eeaeef
Fix Quadruple's operator!=.
2007-04-16 16:26:57 +00:00
Laurent Rineau
f9538d6cb8
Same think: missing operator!= for Quadruple.
...
Warning: I have not tested that one.
2007-04-14 18:10:44 +00:00
Laurent Rineau
ec055e953b
Triple had an operator==. The operator!= was missing.
2007-04-14 17:58:29 +00:00
Andreas Meyer
116d4b6570
* EXACUS -> CGAL cleanups
...
* license header
* cosmetic changes
2007-04-03 16:07:32 +00:00
Sylvain Pion
57730e837e
Fix headers.
2007-04-03 15:13:47 +00:00
Andreas Meyer
f575392469
fixed test-program license statement, by removing it:
...
now it only says, that it's part of the internal release and
should not be distributed (similar to other packages)
2007-04-03 12:51:51 +00:00
Andreas Fabri
85c59538a7
Added link to Null_tag and Null_functor
2007-03-19 14:43:29 +00:00
Andreas Fabri
4b8a772dee
replacement new instead of allocator::construct
2007-03-19 14:42:00 +00:00
Andreas Fabri
42c4ecdf0b
it is illegal to have a singular iterator on the rhs of an assignment
2007-03-16 11:49:47 +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
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
09c71b26f9
warning--
2007-03-08 09:48:21 +00:00
Andreas Fabri
12682ecb4b
moved doc from Algebraic Foundations to STL Extensions
2007-03-07 14:15:14 +00:00
Andreas Fabri
42934cc135
moved doc from Algebraic Foundations to STL Extensions
2007-03-07 14:11:34 +00:00
Andreas Fabri
ea8ba1d3f0
moved doc from Algebraic Foundations to STL Extensions
2007-03-07 12:57:07 +00:00
Andreas Fabri
f569184122
moved doc from Algebraic Foundations to STL Extensions
2007-03-07 12:48:16 +00:00
Sylvain Pion
675f5c6104
add parenthesis to remove g++ 4.3 warning
2007-03-05 16:27:54 +00:00
Sylvain Pion
c3d608beb5
remove unused arguments to prevent warnings
2007-03-02 11:06:40 +00:00
Sylvain Pion
62fc224512
comment unused argument to prevent warning
2007-03-02 11:05:53 +00:00
Fernando Cacciola
63442a954a
License headers fixed.
2007-02-28 18:06:42 +00:00
Fernando Cacciola
8a3dee2292
C2vcproj fixed to look for master_71.vcproj instead of master_VC71.vcproj.
...
Missing svn properties added
2007-02-27 16:50:16 +00:00
Bernd Gärtner
34dd0eae83
- unused ariable warning fix
2007-02-23 08:35:43 +00:00
Andreas Meyer
50b32ff044
updated changes.txt
2007-02-22 11:23:09 +00:00
Andreas Meyer
9cfb43e09f
added header
2007-02-22 11:10:53 +00:00
Laurent Rineau
65d7908377
commit an old patch I had for STL_Extension/doc_tex/STL_Extension_ref/stl_extension.tex: explain differences between Boost filter iterator and CGAL one.
2007-02-21 10:11:52 +00:00
Andreas Meyer
1996f8c159
added a mpl struct is_same_or_equal, similar to
...
boost::is_same / boost::is_base_and_derived
2007-02-17 21:25:09 +00:00
Sylvain Pion
7dcfe00529
- Move documentation of Boolean_tag<bool>, Tag_true and Tag_false
...
to STL_Extension.
2007-02-09 17:13:47 +00:00
Sylvain Pion
25e0f2349f
Try replacing custom int_to_string by boost::lexical_cast
2007-02-05 15:53:32 +00:00
Michael Hemmer
95d26f6787
the function check_tag is deprecated since CGAL 3.3
2007-02-02 08:37:35 +00:00
Fernando Cacciola
7afd2f1bbf
Fixes for VC7.1/8 bug
2007-01-30 18:47:57 +00:00
Sylvain Pion
3c27e07382
rename .C to .cpp
2007-01-27 20:14:24 +00:00
Sylvain Pion
2eafe93364
These cgal_test/makefile do not bring anything compared to the default generated.
2007-01-27 20:13:55 +00:00
Sylvain Pion
1ae3c091b0
These cgal_test/makefile do not seem to bring anything compared to the default generated.
2007-01-27 17:29:04 +00:00
Fernando Cacciola
c211eb0aa9
Fixed incorrect 'typename'
2007-01-19 19:05:10 +00:00
Fernando Cacciola
278e0bbc77
VC8 STL iterator fixes
2007-01-18 13:46:53 +00:00
Sylvain Pion
0530a7d920
min_n() and max_n() functions similar to std::min() and std::max(),
...
but which allow more than 2 arguments.
2006-12-02 21:50:30 +00:00
Andreas Fabri
dd978791ea
Workaround for VC++ -- reintroduced
2006-11-10 11:51:35 +00:00
Michael Hemmer
6e8bfad68a
new design for Tag_true/Tag_false
...
get tag via Boolean_tag<bool>
has public member: bool value
2006-11-08 14:36:53 +00:00
Michael Hemmer
7936604249
restored original version of Null_functor
2006-11-08 10:11:49 +00:00
Andreas Fabri
412c009679
Give Null_functor some nested types
2006-10-27 17:55:23 +00:00
Andreas Meyer
f8c89d0986
* included EXACUS test programs in STL_Extension test (hardcoded in makefile and cgal_test)
...
* removed some leftover #include <CGAL/LiS/basic.h>
2006-10-26 11:24:40 +00:00
Andreas Meyer
e9e8387260
merged changes from CGAL_with_EXACUS branch into trunk.
...
revisions used:
(1) 32995:34537
(2) 34538:34906
2006-10-24 15:21:25 +00:00
Sylvain Pion
5aba55173f
Introduce CGAL_NDEBUG.
2006-08-11 13:01:36 +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
2fb18f532d
Fixed min max problem
2006-07-31 22:31:49 +00:00
Sylvain Pion
e4f5e2a1ef
- Introduce exception throwing as assertion behavior.
...
- Make it the default.
- FIXME : the exception classes are not yet documented.
2006-07-13 17:46:18 +00:00
Andreas Fabri
0b9ab2594b
changed .C to .cpp in examples
2006-07-09 19:41:43 +00:00
Andreas Fabri
4aa722c47c
empty circulator ranges must not be encoded with default constructed iterators
2006-06-15 13:39:06 +00:00
Ron Wein
623b747d42
Changed the header such that the copyright is only for TAU.
2006-05-16 10:11:35 +00:00
Ron Wein
9b870e03c8
Added a test case for swapping two siblings.
2006-05-14 07:48:13 +00:00
Ron Wein
68d5ab3e0c
Fixed a bug in the swap(pos1, pos2) function.
2006-05-14 07:40:30 +00:00
Andreas Meyer
b9ef01ba52
\chapter --> \ccUserChapter
2006-05-03 16:11:09 +00:00
Marc Glisse
b13e3b5ec0
Last round of missing std:: before 3.2 (Andreas permission)
2006-04-19 16:56:12 +00:00
Sylvain Pion
d2740513aa
Use .cpp file extension instead of .C for src/*/* files.
2006-04-14 09:19:29 +00:00
Sylvain Pion
22ad725de1
Move src/*.C to src/CGAL/*.C
2006-04-13 22:24:18 +00:00
Andreas Fabri
cf23c9a828
Moved text to the user manual
2006-04-08 20:36:16 +00:00
Andreas Meyer
5b5a60cecf
rewritten the whole manual
...
ok. seriously:
renamed \chapter into \ccUserChapter and \ccRefChapter
2006-04-06 17:03:37 +00:00
Andreas Fabri
936733ce81
Added \section{Classified Reference Pages}
2006-04-05 20:54:55 +00:00
Sylvain Pion
23d1b2e70d
- Renaming to avoid potential confusion
2006-03-25 12:21:56 +00:00
Joachim Reichel
f582718758
rename create_makefile to cgal_create_makefile to avoid name clashes,
...
adjust all occurences of create_makefile and create\_makefile in the entire
repository (well, trunk only)
2006-03-15 22:10:02 +00:00
Marc Glisse
0756f34663
Work around yet another sunpro bug, where it complains about an ambiguity
...
between A and A.
2006-02-28 16:03:31 +00:00
Marc Glisse
f9e7d81429
Clean sunpro rwstd workaround by using reverse_iterator macro.
2006-02-25 23:25:27 +00:00
Marc Glisse
733a96b81c
Try new version of sunpro reverse_iterator workaround.
2006-02-25 00:14:28 +00:00
Sylvain Pion
c1223ad0b5
Add note that CGAL::Filter_iterator and boost::filter_iterator have opposite semantics
2006-02-24 12:20:47 +00:00
Monique Teillaud
6c595610ca
revert my previous change (in fact Sylvain had already fixed the bug in svn
...
after the internal release)
2006-02-24 10:02:04 +00:00
Monique Teillaud
30712bb7ba
commenting Sylvain's recent addition, which should give a chance to
...
tomorrow's test suite to get more green boxes...
2006-02-24 09:45:18 +00:00
Sylvain Pion
7efa173f71
- Fix last change.
2006-02-23 22:32:10 +00:00
Sylvain Pion
acd8cdf25a
- Add a Transform_output_iterator.
2006-02-23 14:21:30 +00:00
Ron Wein
fdd566b269
Trying to fix the compilation warning we get from gcc 4.1
2006-02-23 13:08:30 +00:00
Ron Wein
2b89c8dc1e
Fixed the header.
2006-02-23 12:00:57 +00:00
Marc Glisse
725dd1ff24
workaround for sunpro old stl, copied from vector.h
2006-02-22 16:44:00 +00:00
Marc Glisse
936522e422
workaround for sunpro old stl, copied from vector.h
2006-02-22 16:36:03 +00:00
Marc Glisse
1b05f9442d
workaround for sunpro old stl, copied from vector.h.
2006-02-22 16:00:53 +00:00
Marc Glisse
6480cf43ca
Fix check for broken sunpro stl.
2006-02-22 15:57:20 +00:00
Marc Glisse
13380ebe5e
Add some missing std:: and #include <c*>
2006-02-22 15:22:27 +00:00
Sylvain Pion
216c62b83e
Remove empty files
2006-02-19 22:23:06 +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
76603aad2b
Move packages to trunk root
2006-02-14 08:58:19 +00:00