Andreas Fabri
54ad19e4db
handle struct mixup
2008-05-11 18:14:25 +00:00
Sylvain Pion
ef30aa5ffe
Add a variadic template version of make_array() (by Samuel Hornus).
2008-05-07 16:46:15 +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 Rineau
4bf21e39ed
Revert r42877:
...
"Use boost::iterator_facade for the Compact_container's iterators."
That modification triggers compilation errors with Visual C++.
2008-04-24 13:08:49 +00:00
Samuel Hornus
8f902841c6
adding operator->() with a proxy-trick
2008-04-17 09:03:06 +00:00
Sylvain Pion
5699aa2aca
Add back the comparisons with NULL... they are needed.
2008-04-12 21:23:08 +00:00
Sylvain Pion
57904f1e25
Use boost::iterator_facade for the Compact_container's iterators.
2008-04-12 18:19:43 +00:00
Sylvain Pion
4416bee3de
Move all Handle* classes to STL_Extension. There's no geometry in them,
...
so the kernel is not the most appropriate place for them.
2008-04-12 10:38:07 +00:00
Sylvain Pion
cab843595b
Replace {Two|Three|Four}tuple<FT> or <RT> by boost::array.
...
It makes more code parameterized by the dimension as template argument.
It provides iterators and a few basic functions already such as operator==...
I added CGALi::make_array() to easily and efficiently construct them.
2008-04-09 11:44:28 +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
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