Commit Graph

122 Commits

Author SHA1 Message Date
Laurent Rineau d2b0900ec9 Do not call `Random(char*)` in header-only
Follow-up to:
> ef624f92de
> Author: Andreas Fabri <andreas.fabri@geometryfactory.com>
> Date:   Wed Mar 23 13:01:21 2016 +0100
>
>     No need for a constructor just for default_random
2016-03-29 12:12:37 +02:00
Sébastien Loriot 4c29bf1b44 CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR 2016-03-24 16:33:46 +01:00
Guillaume Damiand de861ad22e Bug fix: the global variable default_random must be defined in non header only mode. 2016-03-23 17:52:34 +01:00
Guillaume Damiand b03ec1a6c3 Re-add variable default_random in header only mode, but marked deprecated. 2016-03-23 17:47:32 +01:00
Andreas Fabri ef624f92de No need for a constructor just for default_random 2016-03-23 13:06:17 +01:00
Laurent Rineau 79f54a6c7c Bump the SOVERSION_MINOR
- With the addition of that new function Random::Random(char*), the ABI
  changes, but in a compatible way -> bump the minor version of
  SOVERSION. The SONAME remains unchanged.

- Add tests for `Random` with and without `CGAL_TEST_SUITE`. That will
  make a difference only with header-only, because at the time the tests
  are compiled, libCGAL is already compiled.
2016-03-23 11:27:33 +01:00
Laurent Rineau 24b7b762f6 CGAL_DEPRECATED cannot be used on `default_random`
Even if that variable is deprecated, it is still used internally by
`get_default_random()`.
2016-03-09 17:01:59 +01:00
Clement Jamin 35dbf4e3df Deprecate default_random (global variable) 2016-03-09 14:15:26 +01:00
Sébastien Loriot 881e4d3199 request Core only in examples, tests and demos when really needed 2016-03-07 22:36:57 +01:00
Sébastien Loriot 2d191d6651 commit CMakeLists.txt for all examples and tests 2016-03-07 17:39:36 +01:00
Andreas Fabri 83ffff09f9 remove debug output 2016-02-29 10:55:51 +01:00
Andreas Fabri a2e766f136 Print the seed of CGAL::default_random in the testsuite or when CGAL_PRINT_SEED is defined 2016-02-28 08:20:28 +01:00
Sebastien Loriot 2e493f297b Merge pull request #389 from afabri/CGAL-Qt3-GF
Remove Qt3 based demos
2015-10-23 17:08:49 +02:00
Laurent Rineau 330a0e75a2 Merge pull request #385 from cjamin/CGAL_headers_only-gdamiand_cjamin
CGAL headers only, step 0
2015-10-13 16:37:38 +02:00
Andreas Fabri 6e214c5f4a remove Qt3 demos and empty dontsubmit files 2015-09-30 12:51:40 +02:00
Andreas Fabri bb2a7de73a remove literate programming source 2015-09-29 13:53:51 +02:00
Clement Jamin ed3113f89d Code clean-up 2015-03-16 17:01:49 +01:00
Guillaume Damiand 9c78897ba5 Merge branch 'CGAL_headers_only-gdamiand_cjamin-old' into CGAL_headers_only-gdamiand_cjamin 2015-03-16 14:00:43 +01:00
Andreas Fabri 6a00be2602 disable warning with push/pop macros around boost header 2014-12-16 17:25:33 +01:00
Clement Jamin e18e59a72a Header-only for package Kinetic_data_structures 2014-12-02 20:41:19 +01:00
Guillaume Damiand ef550fd3bb Ok for first version. 2014-11-14 17:22:06 +01:00
Guillaume Damiand ebc4300334 Header only for random.cpp.
For the header only version, the global variable default_random no more exist => we need to replace all occurences of default_random by a call to the global function get_default_random().
As usual, no modification for the non header only version.
2014-11-14 14:20:26 +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 0fa2cacb60 remove doc_tex documentation (including developer manual) and old manual tools 2013-12-03 17:27:02 +01:00
Laurent Rineau 26a7e70785 New license.txt files (eol changes)
The new version 2.13.0 of licensecheck has changed the spaces at eol.
2013-02-19 16:46:39 +01:00
Laurent Rineau a37c74d534 Add license files, per package 2012-01-16 15:54:22 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Andreas Fabri 4312c1cb2e Add declspecs for Visual C++ so that we can build dlls 2011-10-05 20:33:36 +00:00
Andreas Fabri cbfe32ce37 Add declspecs for Visual C++ so that we can build dlls 2011-10-05 19:12:23 +00:00
Sébastien Loriot 554f62d411 remove executable property from copyright files 2011-10-03 08:18:16 +00:00
Andreas Fabri d10a333947 Add a file with the copyright holder(s) to the package_info 2011-09-29 20:45:16 +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
Andreas Fabri 0ec14040cb Add tests for uniform_real and uniform_01 2011-01-12 11:18:01 +00:00
Laurent Rineau 249b484e60 Fix typos: \ccRefName eats any following space character. One must use
\ccRefName{} or \ccRefName\
2010-11-30 11:01:34 +00:00
Andreas Fabri 1c6db5e5e9 Rollback to old functions and added new functions 2010-09-10 09:10:20 +00:00
Andreas Fabri 6b6d351181 Rollback to old functions and added new functions 2010-09-10 09:10:02 +00:00
Andreas Fabri 170eca485d Cast so that it compiles with older boost versions 2010-09-09 09:52:00 +00:00
Andreas Fabri 9bd507949c Replace deprecated header file with new one 2010-09-09 09:15:59 +00:00
Andreas Fabri b66a35a44c Replace overload of operator() with a template 2010-09-09 09:00:48 +00:00
Andreas Fabri 681c29753b Add tests for default arguments of get_double 2010-09-09 07:47:22 +00:00
Andreas Fabri a47520992d get_double needs versions with default arguments 2010-09-09 07:43:09 +00:00
Andreas Fabri 50a395149f Add tests for ptrdiff_t and size_t 2010-09-08 14:39:00 +00:00
Andreas Fabri 6105e38760 Use boost::rand48 instead of std::rand() in the implementation of CGAL::Random 2010-09-08 14:33:20 +00:00
Andreas Fabri a7b655d213 Use boost::rand48 instead of std::rand() in the implementation of CGAL::Random 2010-09-08 14:26:11 +00:00
Andreas Fabri 8eef56bfd4 Use boost::rand48 instead of std::rand() in the implementation of CGAL::Random 2010-09-08 14:25:45 +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
Laurent Rineau 0056f40749 Explicit the cast, to calm down warnings about precision lost.
As far as I know, that is only guaranteed on Unix. On other platforms,
time_t may not be castable to an integral type.
2008-11-27 15:32:38 +00:00
Bernd Gärtner 41caf5e85b _seed -> seed_ 2008-11-13 14:46:44 +00:00
Bernd Gärtner fe6d6e97b0 doc and implementation brought in sync: added access to seed 2008-11-13 14:40:48 +00:00
Sylvain Pion dc3bf72707 Remove changes.txt files. 2008-07-24 17:47:16 +00:00
Sylvain Pion e7a7c12d89 Remove (most probably) unused files. 2008-07-22 13:24:04 +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 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
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
Sylvain Pion ab8c8d20be rename .C to .cpp 2007-01-27 20:47:11 +00:00
Sylvain Pion fb8595b94e Cleanup : remove ancient CGAL_PROTECT_* macros.
It's the compiler's job to optimize preprocessing time.
2007-01-24 17:16:05 +00:00
Sylvain Pion c03659bc7a global update of maintainer files
(remove Lutz, Sven, Matthias, Geert-Jan...)
2006-12-05 14:01:13 +00:00
Laurent Rineau 166724f6c9 added operator== to Random. 2006-07-03 15:16:51 +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
Sylvain Pion 86b98eb15b Remove obsolete filenames from dont_submit files:
wrapper.tex, error.txt, .cvsignore
2006-02-19 20:23:51 +00:00
Laurent Saboret 77340051f5 Change CVS keywords to SVN style 2006-02-17 16:03:17 +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 541f5f7f0e Remove .cvsignore files (changed to svn:ignore properties) 2006-02-14 09:20:20 +00:00
Laurent Saboret 727ade71a6 Move packages to trunk root 2006-02-14 08:58:18 +00:00