Commit Graph

84 Commits

Author SHA1 Message Date
Andreas Fabri e3634a3537 create an object as otherwise it looks like a function pointer 2016-11-04 17:36:56 +01:00
Andreas Fabri 2cfd132227 A ) too much 2016-11-04 17:29:11 +01:00
Andreas Fabri 63c87af293 Split constructor of Random 2016-11-04 13:42:11 +01:00
Laurent Rineau b8aa40feb8 Fix the way the default Random is constructed 2016-11-04 10:17:33 +01:00
Andreas Fabri 13806e86f2 Make static variable thread local 2016-11-02 15:01:46 +01:00
Sébastien Loriot 7e2ee496de update project name of cmake scripts of tests 2016-09-08 00:26:37 +02:00
Guillaume Damiand d544f4a5f7 Remove the unused variable warning for the deprecated variable default_random. 2016-06-03 18:11:34 +02:00
Guillaume Damiand bb42e3a468 Readd the debug mechanism for default random, but only in non header only mode. 2016-06-03 09:06:34 +02:00
Guillaume Damiand 2a41a1a9cd Try to find the code generating __gnu_cxx::recursive_init_error in header only mode. 2016-06-02 11:33:03 +02:00
Guillaume Damiand 10469f9c4e Update with master 2016-05-25 10:58:55 +02:00
Andreas Fabri e9b3918c38 Update Random_impl.h 2016-04-01 12:02:23 +02:00
Laurent Rineau 617d5f2856 Merge pull request #843 from afabri/Random_print_seed-GF
Print the seed of CGAL::default_random
2016-04-01 11:02:54 +02:00
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