Commit Graph

1193 Commits

Author SHA1 Message Date
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 e6c8e84b26 fix operator>> for Number_type_checker
the previous version was hoping to have an = operator between the types
  which is unlikely to happen in practice. We use the read from string
  capabilities instead (which should be available for most NT)
2014-07-19 10:36:59 +02:00
Sébastien Loriot 16441b0f6d Merge branch 'Surface_modeling-integration_with_BGL-GF'
Introduces the Surface modeling package that allows
  to deform a triangulated surface mesh

Successfully tested in CGAL-4.5-Ic-90
Approved by the Release Manager

Conflicts:
	Installation/changes.html
2014-07-08 19:53:36 +02:00
Sébastien Loriot 6713a7083f fix license headers 2014-07-04 15:47:49 +02:00
Sébastien Loriot 0b353bb85b Merge remote-tracking branch 'origin/CGAL-use_leda-GF'
Reintroduce the possibility to use CGAL without GMP
  (to use LEDA number types instead for example).
  The cmake option to set to switch off GMP when building
  the lib is CGAL_DISABLE_GMP.

Tested in CGAL-4.5-Ic-86
Approved by the release manager

ge is necessary,
2014-07-04 12:02:37 +02:00
Sébastien Loriot a0469c444b typo 2014-06-27 13:50:24 +02:00
Sébastien Loriot 2eb117c397 add missing protection macros 2014-06-27 13:15:48 +02:00
Sébastien Loriot a914a44d99 fix order of inclusion of leda number headers 2014-06-27 13:15:47 +02:00
Laurent Rineau b275b7e6eb Quote library names
Otherwise Doxygen matches with the CGAL and CORE namespaces.
2014-06-27 12:57:56 +02:00
Laurent Rineau cc43313498 Implementation of CGAL::Exact_rational/integer
See the small feature:
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Exact_rational
2014-06-27 12:47:45 +02:00
Laurent Rineau 5d584c8007 Fix the dependency hell 2014-06-24 18:19:49 +02:00
Laurent Rineau c18c93023a More #include
When CORE_arithmetic_kernel and LEDA_arithmetic_kernel are used, then
one should have:
  #include <CGAL/CORE_arithmetic_kernel.h>
  #include <CGAL/LEDA_arithmetic_kernel.h>
2014-06-24 18:10:07 +02:00
Sébastien Loriot 31cc32428a remove exe flag 2014-06-23 21:34:02 +02:00
Marc Glisse 3b3993aa19 Merge branch 'Kernel_d-rewrite-glisse-old' into Kernel_d-rewrite-glisse
Conflicts:
	Installation/changes.html
2014-06-23 17:13:29 +02:00
Sébastien Loriot 0230e979e2 Merge branch 'CGAL-use_leda-GF-OLD' into CGAL-use_leda-GF
Conflicts:
	Arrangement_on_surface_2/test/Arrangement_on_surface_2/construction_test_suite_generator.cpp
	Arrangement_on_surface_2/test/Arrangement_on_surface_2/test_construction.cpp
	Documentation/doc/Installation.txt
	Kernel_23/include/CGAL/Exact_predicates_exact_constructions_kernel.h
2014-06-18 22:50:06 +02:00
Sébastien Loriot cb58227f62 Merge branch 'Polyhedron_demo-add_scene_polyhedron_selection_item-sloriot' into Surface_modeling-integration-GF
Conflicts:
	Polyhedron/demo/Polyhedron/CMakeLists.txt
	Polyhedron/demo/Polyhedron/Scene_polyhedron_item.cpp
	Polyhedron/demo/Polyhedron/Scene_polyhedron_item.h
	Polyhedron/demo/Polyhedron/Travel_isolated_components.h
2014-06-18 11:53:16 +02:00
Marc Glisse dd4f968c48 Reorder some macro tests, no functional change. 2014-06-06 12:32:11 +02:00
Marc Glisse 37cab384f8 Opacify FPU support for XL C++. It accepts gcc's asm syntax with slight variations. 2014-05-30 10:34:42 +02:00
Marc Glisse ccca2e6e24 IBM XL C++ support for counting leading/trailing zeros.
Patch by George Zagaris.
2014-05-29 18:11:31 +02:00
Marc Glisse 0f31b49301 Make Gmpq interoperable with long long (required by eigen...). 2014-05-09 13:06:22 +02:00
Marc Glisse 897f585f12 Merge branch 'Kernel_d-rewrite-glisse-old' into Kernel_d-rewrite-glisse
Need the Interval_nt/long interoperability for Eigen.
2014-05-07 18:41:17 +02:00
Marc Glisse 89dd491a17 Merge remote-tracking branch 'origin/Number_types-Interval_with_long-glisse'
Remove explicit interoperability between Interval_nt and int, so
Interval_nt becomes interoperable with every builtin type (in particular
long) via double.

Approved by the release manager
2014-05-07 13:19:24 +02:00
Marc Glisse e5113a2c37 Don't use Boost.Operators for +-*/ of Gmpq.
It shouldn't change the performance significantly (the time is spent in
malloc/free and the mpq_* calls), but at least I can follow the
(smaller) generated code.
2014-05-05 20:06:22 +02:00
Marc Glisse b8bab2041a Remove the mixed Interval_nt x int operations. They are useless and
cause ambiguity with the double operations.
2014-05-05 18:19:08 +02:00
Sébastien Loriot 2892c2fb4e Merge branch 'Surface_modeling-new_package-GF-old' into Surface_modeling-new_package-GF
Conflicts:
	Documentation/biblio/geom.bib
	Documentation/doxyassist.xml
2014-04-08 14:41:09 +02:00
Laurent Rineau a8ff620f3f Fix the remaining warnings on my platform
That was mostly "unused locally defined typedefs".
2014-04-01 14:50:51 +02:00
Laurent Rineau 136b536b1a Fix more warnings 2014-03-27 11:34:40 +01:00
Laurent Rineau 13dd6aed26 Fix warnings 2014-03-26 14:29:36 +01:00
Marc Glisse 50aba6f3dc Microsoft needs to do something about their warnings... 2014-03-15 10:00:57 +01:00
Marc Glisse e25a284796 VC and min/max :-( 2014-03-15 09:41:47 +01:00
Marc Glisse 5c7ca614bf On win64, eigen wants to convert __int64 to whatever number type we are using. 2014-03-14 15:02:17 +01:00
Marc Glisse 39f1c4f589 At least on windows with the latest eigen, dummy_precision seems
necessary.
2014-03-14 14:43:32 +01:00
Marc Glisse 1241b2f14f Use boost::int128_type instead of __int128. This makes __extension__
useless, hence removed.
2014-03-13 17:06:43 +01:00
Marc Glisse b257e85427 Rework test for __int128 availability. 2014-03-13 16:50:22 +01:00
Marc Glisse 6571a80fdd fix pedantic warnings. 2014-03-13 13:21:21 +01:00
Marc Glisse 3168c851a1 Merge branch 'Kernel_d-rewrite-glisse-old' into Kernel_d-rewrite-glisse
Conflicts:
	Kernel_d/doc_tex/Kernel_d/kernel_representation_d.tex
	Kernel_d/doc_tex/Kernel_d_ref/Homogeneous_d.tex
	Kernel_d/doc_tex/Kernel_d_ref/Kernel.tex
	Kernel_d/doc_tex/Kernel_d_ref/main.tex

Resolved by dropping those files.
2014-03-12 12:38:08 +01:00
Laurent Rineau 367314623d Add a script to detect wrong permissions, and fix permissions
The script uses zsh, and lists regular files that have the
'executable' permission.

At the same time, I fix the permissions of several files.
2014-02-06 18:49:09 +01:00
Marc Glisse 91090ec2b7 Merge remote-tracking branch 'origin/Number_types-powerpc-glisse'
Tested in CGAL-4.4-Ic-57 (and CGAL-4.4-Ic-51 but only for ppc64_linux_gcc47).

Approved by the Release Manager.
2013-12-21 11:09:18 +01:00
Laurent Rineau 7b5a8a388d merge branch origin/Number_types-new_delete_mismatch-GF
Remove memory leaks detected by AddressSanitizer.
Tested in CGAL-4.4-Ic-54 and CGAL-4.4-Ic-55.
Approved by the release manager.
2013-12-11 13:42:34 +01:00
Marc Glisse 8f2b5970e7 Fix FPU rounding mode on powerpc.
The code was incorrect, we should have used _FPU_GETCW(CW)&3 to keep
only the rounding mode bits. However, glibc comes with an optimized
inline version of fegetround and fesetround so there is no point using
anything else.
2013-12-07 01:41:02 +01:00
Sébastien Loriot 0fa2cacb60 remove doc_tex documentation (including developer manual) and old manual tools 2013-12-03 17:27:02 +01:00
Marc Glisse 7f1adbc485 Reformulate one comment about IA_opacify for vectors. 2013-11-27 17:57:43 +01:00
Marc Glisse 8ddf8255d5 Merge branch 'Kernel_d-rewrite-glisse-old' into Kernel_d-rewrite-glisse
Hopefully the doc will be easier to build this way.
2013-11-23 12:34:18 +01:00
Marc Glisse a1c21ae45f Improve asm for -m32 and with Intel's compiler. 2013-11-19 00:46:00 +01:00
Andreas Fabri 18b04bfb22 delete [] instead of delete after a new array 2013-11-18 17:24:16 +01:00
Marc Glisse fffddfb806 Finish the removal of the template :-( 2013-11-17 22:18:39 +01:00
Marc Glisse d128a72551 IA_opacify is not generic, don't make it a template.
The code has become very specific to double, and we weren't using it for
vectors yet.
2013-11-17 12:54:34 +01:00
Marc Glisse 726a7daf63 Work around gcc bug. Improve support for non-x86. 2013-11-17 11:24:15 +01:00
Marc Glisse 325a687888 Fix llvm ICE on inline asm. Also improve asm for gcc.
It is strange, my experiments today don't give at all the same results I
remember from this summer...
2013-11-16 22:46:33 +01:00
Sébastien Loriot da1791759c Merge branch 'Number_types-mpzf-glisse'
Introduces a faster alternative to MP_Float and Gmpzf
    (see the documentation to see on which platforms it is available).
    When activated, it is used as default exact ring number type for exact
    evaluation of predicates (that only require ring operations).
    It is possible to switch back to the previous behavior by defining
    CGAL_DO_NOT_USE_MPZF

    Successfully tested in CGAL-4.4-Ic-29
    Approved by the Release Manager
2013-11-15 16:38:16 +01:00