Commit Graph

1207 Commits

Author SHA1 Message Date
Marc Glisse 94c9bd5175 Typo in sse2.h
__GNUC__ is missing its 'C'. This probably makes the test for __MINGW64__ useless. (I am testing the github interface for minor edits)
2015-07-05 15:40:02 +02:00
Laurent Rineau 8caf689860 Merge pull request #115 from lrineau/Number_types-oldgmp-glisse
Fixes a bug: emulate `mpn_sqr` on old versions of GMP (GMP < 4.3.2).

Fixes bug #113
2015-06-10 12:00:42 +02:00
Andreas Fabri 0c4902a2dc fix documentation in Nef_2 2015-03-23 11:03:32 +01:00
Laurent Rineau 90543eefab Support MINGW64 in sse2.h
Trivial fix for master
2015-01-26 17:35:05 +01:00
Andreas Fabri 2cee9fc33e Merge branch 'CGAL-misc_warnings-GF'
Approved by the release manager
2015-01-12 13:00:41 +01:00
Sébastien Loriot 0218954ea6 Merge branch 'barycentric_coordinates_2-dmitry'
Tested in CGAL-4.6-Ic-99 and CGAL-4.6-Ic-100
  Approved by the release manager

Conflicts:
	Installation/changes.html
	Kernel_23/include/CGAL/internal/Projection_traits_3.h
2015-01-09 10:35:20 +01:00
Andreas Fabri 4705199cf8 use CGAL_UAE_TYPE 2015-01-08 10:17:07 +01:00
Sébastien Loriot 6ca94a57b4 NT might not be constructible from infinity while interval bounds could be 2015-01-07 18:07:48 +01:00
Sébastien Loriot ce6342d629 Merge remote-tracking branch 'origin/Stream_support-fix_reading_double-GF'
improve reading double from streams on windows

Tested in CGAL-4.6-Ic-79
Approved by the release manager
2014-12-17 22:36:46 +01:00
Laurent Rineau 057924e1d4 Merge remote-tracking branch 'origin/releases/CGAL-4.5-branch'
That merges the following:
  | commit 5dbfeec3ae
  | Merge: fc407cf 5b9be0f
  | Author: Sébastien Loriot <sebastien.loriot@cgal.org>
  | Date:   Fri Dec 12 15:29:51 2014 +0100
  |
  |     Merge branch 'BSO_2-fix_kernel_conflict-local' into releases/CGAL-4.5-branch
  |
  |     Tested in CGAL-4.5.1-Ic-171
  |
  | commit fc407cfebf
  | Merge: bd2c6f8 0c6153c
  | Author: Laurent Rineau <laurent.rineau@cgal.org>
  | Date:   Mon Dec 1 17:38:48 2014 +0100
  |
  |     Merge branch 'Mesh_3-fix_with_time_stamps-GF' into releases/CGAL-4.5-branch
  |
  |     Bug-fix in Mesh_3 with time stamps.
  |
  |     Tested in CGAL-4.5.1-Ic-168.
  |     Approved by the Release Manager.
  |
  | commit bd2c6f890f
  | Merge: ad53e42 c904f77
  | Author: Laurent Rineau <laurent.rineau@cgal.org>
  | Date:   Fri Nov 28 12:04:55 2014 +0100
  |
  |     Merge branch BGL-make_property_map_lightweight-For_4.5_bugfix-GF' into releases/CGAL-4.5-branch
  |
  |     Bug fix: a property map was not lightweight.
  |
  |     Tested in CGAL-4.5.1-Ic-167.
  |     Approved by the Release Manager.
  |
  | commit ad53e42fb3
  | Merge: 044660e b281d86
  | Author: Laurent Rineau <laurent.rineau@cgal.org>
  | Date:   Fri Nov 28 12:03:30 2014 +0100
  |
  |     Merge remote-tracking branch 'remotes/origin/BGL-fix_example-GF' into releases/CGAL-4.5-branch
  |
  |     Fix the example examples/BGL_triangulation_2/emst.cpp:
  |     the filtered (finite) triangulation was not used.
  |
  |     Tested in CGAL-4.5.1-Ic-167.
  |     Approved by the Release Manager.
  |
  | commit 044660eb48
  | Merge: a096cdf 4464116
  | Author: Laurent Rineau <laurent.rineau@cgal.org>
  | Date:   Fri Nov 28 12:01:50 2014 +0100
  |
  |     Merge branch 'CGAL-fix_sse2_mingw-lrineau' into releases/CGAL-4.5-branch
  |
  |     Fix the SSE macros when MinGW is used.
  |
  |     Tested in CGAL-4.5.1-Ic-167.
  |     Approved by the Release Manager.

Tested in CGAL-4.6-Ic-79.
2014-12-17 17:05:01 +01:00
Andreas Fabri a1a0f5c17d Input_rep<double> now reads a string (0-9eE\.)* 2014-11-27 11:14:52 +01:00
Laurent Rineau 4464116c0d Test _WIN32 instead of _MSC_VER
With MinGW, __declspec is also implemented.

Reported in the CGAL-discuss mailing list:

  Date: Wed, 26 Nov 2014 14:59:46 +0000
  From: xantares 09 <xantares09@hotmail.com>
  To: "cgal-discuss@inria.fr" <cgal-discuss@inria.fr>
  Subject: [cgal-discuss] MinGW issues
2014-11-26 16:26:54 +01:00
Marc Glisse 18e8c5898b Improve ARM asm with clang. 2014-09-22 16:54:27 +02: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 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
Marc Glisse 8e481c447c Emulate mpn_sqr on old versions of GMP. 2014-04-17 22:49:51 +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