Commit Graph

45979 Commits

Author SHA1 Message Date
Sébastien Loriot a65be14cb1 update operator== for Sqrt_extension. I was only valid in case objects had the same extension. 2011-05-04 11:36:18 +00:00
Sébastien Loriot c8b96139c6 *GMP_arithmetic_kernel now always define Integer and Rational even when Gmpfi
is not available.

*Add default empty struct for Get_arithmetic_kernel. That way we can test if
a specialization is avaible. I used it for the default case of Root_of_traits.
When a number type not known by CGAL is used to instanciate Root_of_traits,
the field type used to instanciate Sqrt_extension is made using Quotient.

*Patch of Lazy_exact_nt constructor from another Lazy_exact_nt type.
In revision 61559, that constructor was retricted to the case the exact type
is implicitely constructed from the other exact type. Now the old behavior is
back but only if it is explicitely called (patch from Marc Glisse).

*Update To_double specialization of Sqrt_extension to use the same formula
than To_interval so that the double value is contained in the interval.

*update root_of_2 test-suite to use Sqrt_extension and that they behave
similarly
2011-05-04 07:32:31 +00:00
Laurent Rineau eebb1584b5 merge from next 2011-05-02 14:55:39 +00:00
Sébastien Loriot 659dcd26b3 is_rational() from one_root_number is replaced by !is_extended() from Sqrt_extension 2011-05-02 10:13:35 +00:00
Sébastien Loriot 506aebdfd5 use forward declaration of Sqrt_extension (detected by a bug in Algebraic_kernel_d test-suite). 2011-05-02 09:45:02 +00:00
Eric Berberich 74445d5d9e applied same fix to enhanced script 2011-04-29 15:53:37 +00:00
Laurent Rineau 5997c30b00 merge trunk into next, because Pierre commited to trunk instead of next 2011-04-29 15:50:56 +00:00
Pierre Alliez 8c356f15e9 Poisson reconstruction: back to un-normalized divergent 2011-04-29 14:39:35 +00:00
Laurent Rineau 02bca9e9d9 Adapt cgal_create_cmake_script so that it uses the right
cmake_policy(VERSION ...) command.
2011-04-29 14:37:50 +00:00
Sébastien Loriot 0a1b070ed1 temporary fix for visual 2011-04-29 14:32:31 +00:00
Sébastien Loriot c04add4c06 revert commit 63222 done in wrong branch 2011-04-29 14:28:53 +00:00
Sébastien Loriot 26037d14e8 temporary fix for visual 2011-04-29 14:20:40 +00:00
Eric Berberich a54f16d874 fixed include order 2011-04-29 12:36:03 +00:00
Laurent Rineau 65d197d980 Branches with candidates to test 2011-04-29 11:30:50 +00:00
Sébastien Loriot 81f8f69ffe merge from next 2011-04-28 18:44:10 +00:00
Laurent Rineau 704571e29d Fix cmake_minimum_required 2011-04-28 18:04:28 +00:00
Laurent Rineau 3c02e07b23 Try to fix my last revision about cmake_policy, with CMake-2.6.x
CMake gives an error if one tries to use cmake_policy(VERSION x.y.z) if
x.y.z is greater than the current CMake version.
2011-04-28 17:45:22 +00:00
Sébastien Loriot 9176663964 the lib now compiles.
move Get_arithmetic_kernel specialization into MP_Float.h
reorder declaration of to_double(Sqrt_extension<MP_Float>)

Sqrt_extension need specialization of Real_embeddable_traits
and Algebraic_structure_traits.
2011-04-28 16:44:00 +00:00
Laurent Rineau 0dc1194fc8 Fix URLs to the manual pages 2011-04-28 15:14:20 +00:00
Laurent Rineau 12744ab7ff Track dependencies between libraries and examples/demos
With this patch, when CGAL as been configured with WITH_examples and/or
WITH_demos, then the executables of examples and demos depends on the CGAL
libraries. That means if one change a file involved in a CGAL library, and
ask the rebuild of an executable, then the CGAL library will be rebuilt
first.
2011-04-28 13:11:09 +00:00
Laurent Rineau c97205f085 Global handling of CMake policies (second part)
We declare 
  cmake_minimum_required(VERSION 2.6.2)
but we also use
  cmake_policy(VERSION 2.8.4)
to declare that our CMake scripts are OK with all the defaults of CMake policies
as of CMake-2.8.4. That shuts down the warnings of CMake-2.8.4.

That way, we no longer need any declaration of specific policies.

Those two lines must be present and maintained in all our CMakeLists.txt
files (the one for the libraries, and also the one for examples and demos,
and maybe tests).
2011-04-28 10:55:56 +00:00
Laurent Rineau 82f952223e Uniform capitalization in our CMake script: use lowercase for commands 2011-04-28 10:37:38 +00:00
Laurent Rineau 0631943153 Uniform capitalization in our CMake script: use lowercase for commands 2011-04-28 10:36:18 +00:00
Laurent Rineau 4b795c56f4 Global handling of CMake policies
We declare 
  cmake_minimum_required(VERSION 2.6.2)
but we also use
  cmake_policy(VERSION 2.8.4)
to declare that our CMake scripts are OK with all the defaults of CMake policies
as of CMake-2.8.4. That shuts down the warnings of CMake-2.8.4.

That way, we no longer need any declaration of specific policies.
2011-04-28 10:33:17 +00:00
Sébastien Loriot b365ee3416 merge next into branch 2011-04-28 09:01:01 +00:00
Laurent Rineau 5229c33964 Typo 2011-04-27 22:07:08 +00:00
Laurent Rineau c248afb548 Cosmetic: unify the use of lowercase for CMake commands names 2011-04-27 21:32:54 +00:00
Laurent Rineau 2c81fa893d Cosmetic: use lowercase for CMake commands, use functions instead of macros. 2011-04-27 21:24:29 +00:00
Laurent Rineau d827ed8d74 Add quotes in execute_process if the command name is a variable. 2011-04-27 21:16:42 +00:00
Laurent Rineau 4edaa583e4 merge from trunk 2011-04-27 20:54:11 +00:00
Laurent Rineau 35a3356d54 Remove incorrect svn:mergeinfo in sub-directories.
That was blocking a merge from trunk.
2011-04-27 20:44:46 +00:00
Laurent Rineau 6f05e72cef Global maintenance of CMakeLists.txt: CMake minimal version is -2.6.2
The documentation of CGAL says that the minimal version of CMake must be
CMake-2.6.2.
  - change cmake_minimum_required to VERSION 2.6.2
  - no longer any need for the policy CMP0003 (was for 2.4.x)
  - no longer any need for CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS (was for 2.4)
2011-04-27 18:06:32 +00:00
Laurent Rineau ca5c92e034 Global maintenance of CMakeLists.txt: CMake minimal version is -2.6.2
The documentation of CGAL says that the minimal version of CMake must be
CMake-2.6.2.
  - change cmake_minimum_required to VERSION 2.6.2
  - no longer any need for the policy CMP0003 (was for 2.4.x)
  - no longer any need for CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS (was for 2.4)
2011-04-27 17:58:27 +00:00
Laurent Rineau e569b702f1 Handle dont_submit
Handle dont_submit to avoid the inclusion of examples/<something> or
demo/<something> if it is in dont_submit.
2011-04-27 17:48:08 +00:00
Sébastien Loriot 6e897fafb6 bug-fix: typo 2011-04-26 17:01:34 +00:00
Eric Berberich 9274c3c09e added todo 2011-04-26 09:26:46 +00:00
Eric Berberich 08f55455fc removed svn -> wiki: https://cgal.geometryfactory.com/CGAL/Members/wiki/Guidelines/Source_Code_Management 2011-04-24 21:42:42 +00:00
Joachim Reichel 85462603fa Add announcement mails for Debian packages. 2011-04-24 20:11:58 +00:00
Joachim Reichel e06c4692d3 Fix FTP server instructions for Debian packages. 2011-04-24 20:11:33 +00:00
Joachim Reichel 044c6debf0 Fix tagging instructions (branches/next instead of trunk). 2011-04-24 19:50:05 +00:00
Joachim Reichel 35565e5483 Use packaging of 3.8-1 as basis for 3.9 and later releases. 2011-04-24 19:45:20 +00:00
Joachim Reichel d0ac629168 remove outdated Debian package information 2011-04-24 19:45:03 +00:00
Laurent Rineau 1fd39b77fb Update the list of platforms. My Intel platforms are currently broken. 2011-04-21 15:56:56 +00:00
Laurent Rineau ce16413de1 update to newest CGAL 2011-04-21 15:56:17 +00:00
Laurent Rineau 339bee0583 upgrade of my machine to Fedora 14 (g++-4.5.1, CMake-2.8.4, Boost-1.44) 2011-04-21 15:32:18 +00:00
Eric Berberich 4d457ba1ad fix to build demos and example properly, and even out-of-source now 2011-04-21 08:47:46 +00:00
Eric Berberich 9bcf77ab04 fixed parsing of SVN_REVISION_NR for our french friends ;-) 2011-04-20 16:10:16 +00:00
Laurent Rineau dbe1d85c49 updated crontab (automated commit) 2011-04-20 14:18:02 +00:00
Laurent Rineau b4bf7e3f58 merge from trunk 2011-04-20 13:56:23 +00:00
Laurent Rineau 4ee0c30ac5 Announcement for CGAL-3.8, almost the same as for CGAL-3.8-beta1 2011-04-19 15:40:26 +00:00