Commit Graph

21 Commits

Author SHA1 Message Date
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Guillaume Damiand e8fe29c79c Ok for the compilation version header only (only for the treated files). 2014-10-31 17:09:48 +01:00
Guillaume Damiand 1182319f5d Redo all the modifs to remove all the cpp files from cgal.
First step where all the XXX.cpp are copied into XXX_impl.h files.
The macro CGAL_HEADER_ONLY allows to know if impl files need to be
included or not into header files; and allow to decide if functions are
in impl files are inline or not.

Next step: process with static variables for the header only version.
2014-10-30 16:05:22 +01:00
Laurent Rineau 36d8b5bd18 Convert source files encoding to utf-8
All non-ASCII files should be encoded in UTF-8. So far, the ZSH script
`Scripts/developer_scripts/detect_wrong_encoding` detects wrong encoding
in source/header files of include/, src/, and doc/.
2014-08-01 11:20:13 +02:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Sébastien Loriot dff6dda8b3 Remove from copyright holder
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
2011-09-21 19:46:31 +00:00
Marc Glisse 1a6bc3f2d4 Small workarounds for LLVM. 2011-08-12 15:50:05 +00:00
Marc Glisse 67ca8cf8b1 A bug in clang currently means that uncaught exceptions result in a
segfault. It happens in particular for CGAL assertions. Make it print
the information first, as a workaround. Revert when it's fixed.
2010-09-10 09:51:25 +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
Sylvain Pion 8eab7e07dd Split <CGAL/assertions.h> in 2 files, by moving the assertion behaviour
changing functions to a separate header, not included by default
(<CGAL/assertions_behaviour.h>).  The motivation is to hide the enum
values with risky names (ABORT, EXIT, CONTINUE) to a header file which
is most probably not used by any user (or very few).
(breaks backward compatibility for an expected very few, for the sake
of erasing random surprises for "many" ?)
2008-11-21 16:42:02 +00:00
Sylvain Pion 0c65a5a092 - It is not possible to use the CONTINUE mode in set_error_behaviour().
- Various formatting fixes.
- Mark the assertion_fail and similar functions as CGAL_NORETURN.
2008-07-31 09:50:28 +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 dddf37f5cc Avoid duplicating error messages with g++. 2007-11-21 16:44:44 +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 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
Fernando Cacciola 278e0bbc77 VC8 STL iterator fixes 2007-01-18 13:46:53 +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
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