Maxime Gimeno
7e05923005
Remove the if !defined(CGAL_HEADER_ONLY) in the get_default_random() function. Random has bee fixed in 4.9 but this test was forgotten.
2020-12-15 09:51:13 +01:00
Sébastien Loriot
0779373835
extra run of the script to remove tabs and trailing whitespaces
...
right after the merge of 4.14 release branch
+ manual fix on one line in:
* Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
* .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Sébastien Loriot
52164b1fba
First pass on removing license notice in header for LGPL files
2019-10-19 15:40:30 +02:00
Sébastien Loriot
7356421d80
introduce Commercial license SPDX tag
2019-10-19 12:15:19 +02:00
Sébastien Loriot
9bd9c68b83
update LGPL[23]+ and GPL[23]+ SPDX tags
...
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Laurent Rineau
64bc3bc96e
Fix conversion warnings of the testsuite of CGAL_ImageIO
2019-09-04 10:22:46 +02:00
Andreas Fabri
fc4e723570
Don't overload but cast
2018-02-21 15:29:16 +00:00
Andreas Fabri
ac4baa9355
just an overload instead of an explicit specialization
2018-02-17 12:58:08 +00:00
Andreas Fabri
ffcdb79bb6
Random_numbers: Add overload for unifoem_smallint
2018-02-15 13:54:30 +00:00
Sébastien Loriot
0698f79aff
add SPDX identifier for files under the LGPL-3+ license
2017-11-12 10:17:50 +01:00
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
Guillaume Damiand
d544f4a5f7
Remove the unused variable warning for the deprecated variable default_random.
2016-06-03 18:11:34 +02: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
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
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
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
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
6b6d351181
Rollback to old functions and added new functions
2010-09-10 09:10:02 +00:00
Andreas Fabri
b66a35a44c
Replace overload of operator() with a template
2010-09-09 09:00:48 +00:00
Andreas Fabri
a47520992d
get_double needs versions with default arguments
2010-09-09 07:43:09 +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
Bernd Gärtner
fe6d6e97b0
doc and implementation brought in sync: added access to seed
2008-11-13 14:40:48 +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
Laurent Rineau
166724f6c9
added operator== to Random.
2006-07-03 15:16:51 +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
727ade71a6
Move packages to trunk root
2006-02-14 08:58:18 +00:00