Laurent Rineau
d19578725b
Fix warnings
2013-02-07 18:15:23 +01:00
Laurent Rineau
29c05b900b
Mark BOOST_STATIC_ASSERT with 'CGAL_UNUSED'
...
In order to fix such a warning from g++-4.8:
warning: typedef ‘boost_static_assert_typedef_241’ locally defined but
not used [-Wunused-local-typedefs]
then:
- create one macro CGAL_UNUSED that is "__attribute__ ((__unused__))"
with g++ or empty otherwise,
- use it after BOOST_STATIC_ASSERT in the definition of
CGAL_static_assertion.
2013-02-07 18:15:23 +01:00
Clement Jamin
cd83c4680a
Tags for concurrency
2013-02-06 18:15:25 +01:00
Andreas Fabri
61bb99e2f1
use types
2013-02-04 22:39:00 +01:00
Sébastien Loriot
93df4bd3d5
typo while replacing boost::result_of to cpp11::result_of
2013-02-04 19:53:56 +01:00
Sébastien Loriot
f0f34d45fa
workaround to force the usage of the tr1 implementation of result_of from boost
...
see http://www.boost.org/doc/libs/1_52_0/libs/utility/utility.htm#result_of
2013-02-04 11:30:28 +01:00
Andreas Fabri
13bac84716
less warnings in various packages
2013-02-01 10:27:07 +01:00
Sébastien Loriot
564960f800
fix mismatching begin/end namespace in doc of iterator
2013-01-23 17:49:58 +01:00
Sébastien Loriot
6e63d3cfa8
adding missing () in see also for functions
2013-01-09 19:48:42 +01:00
Sébastien Loriot
b0bd160355
add missing back-ticks in see also
2013-01-09 19:48:41 +01:00
Sébastien Loriot
5ec28b1cf4
replacing the usage of section in user man by \cgalHeading macro call
2013-01-07 18:04:37 +01:00
Philipp Möller
0f34f2a89e
Merge branch 'Maintenance-include-less-boost-pmoeller'
2012-12-21 09:44:18 +01:00
Sébastien Loriot
82b2ebc865
apply the cpp0x namespace renaming in all files
2012-12-19 11:33:17 +01:00
Philipp Möller
71ea8e6e22
Minimal boost includes
...
Replace type_traits.hpp and utility.hpp with the respective
fine-grained includes.
2012-12-14 18:13:59 +01:00
Philipp Möller
75f69570dc
Change the titles of mainpages to "User Manual"
...
This leads to a slightly odd result in the search for "User Manual",
but makes the pages themselves more consistent.
2012-12-13 14:47:09 +01:00
Philipp Möller
a9cdb27b78
Remove tautological precondition
2012-12-12 11:28:57 +01:00
Philipp Möller
728cfaa456
Remove CGAL::Overload
...
Equivalent and better functionality is provided by
http://www.boost.org/libs//functional/overloaded_function/doc/html/index.html
2012-12-07 18:00:46 +01:00
Andreas Fabri
9dd07fad37
doc_tex -> doxygen of the STL Extension documentation
2012-12-05 17:15:25 +01:00
Philipp Möller
d198458ca7
Merge branch 'origin-gsoc2011-boost_object-pmoeller' into Kernel-replace_object-pmoeller
...
Conflicts:
.gitattributes
AABB_tree/doc_tex/AABB_tree_ref/AABBGeomTraits.tex
AABB_tree/doc_tex/AABB_tree_ref/AABBTraits.tex
AABB_tree/doc_tex/AABB_tree_ref/AABB_traits.tex
AABB_tree/include/CGAL/AABB_traits.h
AABB_tree/include/CGAL/AABB_tree.h
AABB_tree/test/AABB_tree/AABB_test_util.h
Arrangement_on_surface_2/doc_tex/Arrangement_on_surface_2/arr_queries.tex
Arrangement_on_surface_2/doc_tex/Arrangement_on_surface_2_ref/Arr_trapezoid_ric_point_location.tex
Arrangement_on_surface_2/doc_tex/Arrangement_on_surface_2_ref/intro.tex
Arrangement_on_surface_2/include/CGAL/Arr_batched_point_location.h
Arrangement_on_surface_2/include/CGAL/Arr_point_location/Arr_lm_generator_base.h
Arrangement_on_surface_2/include/CGAL/Arr_point_location/Arr_lm_random_generator.h
Arrangement_on_surface_2/include/CGAL/Arr_point_location/Arr_trapezoid_ric_pl_impl.h
Arrangement_on_surface_2/include/CGAL/Arr_point_location/Arr_walk_along_line_pl_impl.h
Arrangement_on_surface_2/include/CGAL/Arr_trapezoid_ric_point_location.h
Arrangement_on_surface_2/test/Arrangement_on_surface_2/point_location.cpp
Circular_kernel_2/include/CGAL/Circular_kernel_2/internal_functions_on_line_arc_2.h
Circular_kernel_3/include/CGAL/Circular_kernel_3/internal_functions_on_circular_arc_3.h
Circular_kernel_3/include/CGAL/Circular_kernel_3/internal_functions_on_line_arc_3.h
Circular_kernel_3/include/CGAL/Circular_kernel_3/internal_functions_on_sphere_3.h
Filtered_kernel/include/CGAL/Lazy.h
Filtered_kernel/include/CGAL/Lazy_kernel.h
Intersections_2/include/CGAL/Triangle_2_Iso_rectangle_2_intersection.h
Intersections_2/test/Intersections_2/test_intersections_2.cpp
Intersections_3/test/Intersections_3/test_intersections_3.cpp
Kernel_23/doc_tex/Kernel_23_ref/intersection.tex
Kernel_23/include/CGAL/Kernel/Type_mapper.h
Kernel_d/doc_tex/Kernel_d_ref/Kernel.tex
2012-12-04 17:57:53 +01:00
Sébastien Loriot
14c8641377
Convert all CRLF files to LF
2012-12-04 16:44:49 +01:00
Philipp Möller
fc1a811b90
Correct the documentation of default
2012-12-03 16:37:00 +01:00
Sébastien Loriot
e1be9d2a14
missing include statement
2012-11-28 12:05:03 +01:00
Philipp Möller
93ccbf4465
Remove misleading sentence about array construction
...
Also improve the make_array documentation to be more concise and
honest.
2012-11-27 15:57:48 +01:00
Philipp Möller
7776eb1631
Pluralize group names.
2012-11-27 15:43:28 +01:00
Sébastien Loriot
4ec9529581
Merge branch 'doxy-port-pmoeller'
...
Conflicts:
.gitattributes
Surface_reconstruction_points_3/include/CGAL/Poisson_reconstruction_function.h
Surface_reconstruction_points_3/include/CGAL/Reconstruction_triangulation_3.h
Surface_reconstruction_points_3/include/CGAL/k_nearest_neighbor.h
2012-11-27 10:05:41 +01:00
Sébastien Loriot
9576be3c3b
add doc in dont_submit
2012-11-27 08:42:02 +01:00
Sébastien Loriot
920eb63882
backporting documentation changes of master@9fcc5b57 into doxy-port-pmoeller
...
Conflicts:
Arrangement_on_surface_2/doc/Arrangement_on_surface_2/CGAL/Arr_linear_traits_2.h
Installation/doc_tex/Installation/usage.tex
Kernel_23/doc/Kernel_23/CGAL/Projection_traits_xy_3.h
Mesh_2/doc/Mesh_2/Concepts/ConformingDelaunayTriangulationTraits_2.h
Spatial_searching/doc/Spatial_searching/CGAL/Incremental_neighbor_search.h
Spatial_searching/doc/Spatial_searching/CGAL/K_neighbor_search.h
Spatial_searching/doc/Spatial_searching/CGAL/Orthogonal_incremental_neighbor_search.h
2012-11-23 22:54:31 +01:00
Sébastien Loriot
6cc7d66415
Revert "Replace tex-style quotes with quotes that you would expect, as there"
...
This reverts commit e65a8028ea .
Conflicts:
Approximate_min_ellipsoid_d/doc_tex/Bounding_volumes_ref/Approximate_min_ellipsoid_d.tex
Approximate_min_ellipsoid_d/documentation/mel.tex
Documentation/doxyassist.xml
Installation/doc_tex/Installation/usage.tex
Min_sphere_of_spheres_d/doc_tex/Bounding_volumes_ref/MinSphereOfSpheresTraits.tex
Optimisation_doc/doc_tex/Bounding_volumes/user_part.tex
Optimisation_doc/doc_tex/Inscribed_areas/user_part.tex
Width_3/doc_tex/Polytope_distance_d_ref/Width_3.tex
2012-11-23 18:08:13 +01:00
Sébastien Loriot
7cd0e93fa9
Revert "Merge the changes to ccPrecond and ccPostcond that have been in"
...
This reverts commit b529971917 .
Conflicts:
Approximate_min_ellipsoid_d/doc_tex/Bounding_volumes_ref/Approximate_min_ellipsoid_d.tex
Matrix_search/doc_tex/Polytope_distance_d_ref/spec_all_furthest_neighbors.tex
Min_annulus_d/doc_tex/Bounding_volumes_ref/Min_annulus_d.tex
Min_circle_2/doc_tex/Bounding_volumes_ref/Min_circle_2.tex
Min_ellipse_2/doc_tex/Bounding_volumes_ref/Min_ellipse_2.tex
Min_quadrilateral_2/doc_tex/Bounding_volumes_ref/spec_oops.tex
Min_sphere_d/doc_tex/Bounding_volumes_ref/Min_sphere_d.tex
Min_sphere_of_spheres_d/doc_tex/Bounding_volumes_ref/MinSphereOfSpheresTraits.tex
Min_sphere_of_spheres_d/doc_tex/Bounding_volumes_ref/Min_sphere_of_spheres_d.tex
Surface_mesh_parameterization/doc_tex/Surface_mesh_parameterization_ref/Taucs_matrix.tex
Surface_mesh_parameterization/doc_tex/Surface_mesh_parameterization_ref/Taucs_symmetric_matrix.tex
Triangulation_2/doc_tex/Triangulation_2_ref/Constrained_triangulation_2.tex
Width_3/doc_tex/Polytope_distance_d_ref/Width_3.tex
2012-11-23 18:04:33 +01:00
Sébastien Loriot
ae8362b7d6
replace \cgalModels ::FOO by \cgalModels `FOO`
...
using:
perl -pi -e 's/\\cgalModels\s+::([A-Za-z0-9_:]+)\s*$/\\cgalModels `$1`\n/'
2012-11-23 09:37:53 +01:00
Andreas Fabri
625f9f6cd7
after git merge remotes/origin/hot-fixes-for-Git
2012-11-20 13:02:17 +01:00
Philipp Möller
465c5b265a
Shuffle two undocumented headers backwards.
...
Also change the 2 places they were used in.
2012-11-17 02:16:32 +01:00
Philipp Möller
09e65b9c40
Drop the include guard and remove assert_equal_types
...
The include guard is unnecessary (tags.h is part of basic and no one
else defines it anymore) and it shouldn't be used anyway.
assert_equal_types doesn't do it's job completely and it's usage in
Nef_2 has been replaced.
2012-11-17 01:56:05 +01:00
Sébastien Loriot
0f69c2a512
remove cpp0x namespace from documentation pages
2012-11-14 16:16:15 +01:00
Sébastien Loriot
128b02abb8
update CGAL custom doxygen macros
...
corresponds to a run of the script Documentation/conversion_tools/rename_macros.sh
+manual edit of doxyassist.xml and pkglist_filter.py
2012-11-14 00:31:05 +01:00
Sébastien Loriot
ae159cbdf3
replace markup #, ##, ### by \section, \subsection and \subsubsection
...
(script replacement)
2012-11-06 22:02:15 +00:00
Andreas Fabri
7a6634b5a7
No need for CGAL:: in user manuals
2012-10-31 20:11:16 +00:00
Laurent Rineau
17dc5f2db1
Typo
2012-10-30 17:30:07 +00:00
Philipp Möller
31e9eadf8b
Fix all PackageDescriptions to a newer layout
2012-10-19 15:52:31 +00:00
Clément Jamin
4e1f8aa4f8
Merge from next
2012-10-15 08:28:01 +00:00
Philipp Möller
88a2f0d2db
Fix a few warnings
2012-10-09 17:09:25 +00:00
Andreas Fabri
c600bd13a5
Add documentation of Join_input_iterator_3
2012-10-09 08:53:12 +00:00
Andreas Fabri
555f3cc729
Add documentation of Join_input_iterator_2
2012-10-09 07:15:43 +00:00
Andreas Fabri
8f7bb695b7
finished including a cleanup in Creators
2012-10-08 20:08:00 +00:00
Andreas Fabri
3b48c61b26
finished including a cleanup in Creators
2012-10-08 19:10:57 +00:00
Laurent Rineau
7bc300794d
Fix last errors in headers of CGAL foundations
...
All were missing #include.
2012-10-08 09:03:50 +00:00
Philipp Möller
91f88474a8
The conditional code does not only require variadic templates but also
...
a variadic implementation of tuple. One would think that you never run
in a situation where you only have variadics but no tuple. But thanks
to clang pretending to be a gcc 4.2.1, some configuration code might
think otherwise.
2012-10-05 18:15:46 +00:00
Laurent Rineau
5c757a0a4d
Fix/Improve all #include of all STL_Extension headers
2012-10-05 14:24:38 +00:00
Andreas Fabri
b8b7a5dad3
get rid of spurious XX
2012-10-03 17:02:54 +00:00
Philipp Möller
bc48dfe5a0
Be consistent about author/authors
2012-10-03 16:40:16 +00:00
Philipp Möller
272a52ee44
Do a global pass over Doxygen warnings/errors.
2012-10-02 15:12:54 +00:00
Andreas Fabri
ebe7bfebff
Add assertion failure behaviour and move user manual section
2012-10-02 14:07:25 +00:00
Philipp Möller
a2f6aa1d5e
Minor grouping fixes, linebreaks.
2012-10-02 09:51:54 +00:00
Philipp Möller
37778547bf
Fix example to point to paths similar to a flat layout
2012-10-01 18:02:44 +00:00
Philipp Möller
33cd9af6cd
Remove the last remnants of \require and turn them into \requires
2012-10-01 14:56:32 +00:00
Clément Jamin
2366fee1e1
Merge from next
2012-09-28 14:51:02 +00:00
Philipp Möller
ab5c017c08
Unconditionally disable NO_TR1 defines.
...
Those cause trouble, because on MSVC the include paths for tr1
components are different from gcc. Instead of fixing up the include
paths depending on platform, just never use a tr1 component. Nothing
of value is lost compared to the boost equivalents and it removes
another code-path.
2012-09-28 13:15:14 +00:00
Philipp Möller
b64ba48134
The changes to move the package overview labels into the
...
PackageDescription.
2012-09-25 17:17:49 +00:00
Philipp Möller
1954eff3d6
* build normalized mainpage anchors
...
* better naming for Pkg commands
* User and Reference Manual links from the PackageOverview
2012-09-20 15:30:03 +00:00
Andreas Fabri
6f61e2b2ee
Downsize headings
2012-09-17 14:53:05 +00:00
Philipp Möller
5bed1b15c5
Add basic Surface_mesh_parameterization, grouping and some moves to
...
internal are still missing
2012-09-14 11:15:18 +00:00
Philipp Möller
864aebe2e5
Merge next.
...
This commit also updates the respective mock-headers when the
corresponding .tex documentation has changed. This has been the case for:
AABB_tree/doc_tex/AABB_tree_ref/AABBGeomTraits.tex
AABB_tree/doc_tex/AABB_tree_ref/AABBTraits.tex
AABB_tree/doc_tex/AABB_tree_ref/AABB_traits.tex
Mesh_3/doc_tex/Mesh_3_ref/parameters_features.tex
Mesh_3/doc_tex/Mesh_3_ref/parameters_no_features.tex
Number_types/doc_tex/NumberTypeSupport_ref/Interval_nt.tex
Number_types/doc_tex/NumberTypeSupport_ref/Lazy_exact_nt.tex
Spatial_searching/doc_tex/Spatial_searching_ref/Search_traits_2.tex
Spatial_searching/doc_tex/Spatial_searching_ref/Search_traits_3.tex
Triangulation_2/doc_tex/Triangulation_2_ref/Constrained_Delaunay_triangulation_2.tex
2012-09-12 14:14:22 +00:00
Andreas Fabri
513eaf63f1
unlink
2012-09-10 20:18:45 +00:00
Philipp Möller
ba70217acb
document CGAL_ALLOCATOR in the public manual
2012-09-10 15:28:06 +00:00
Philipp Möller
2d8931167f
autoexamples
2012-08-29 16:20:55 +00:00
Philipp Möller
5a0a5403c4
Enable autotoc on mainpages
2012-08-29 15:45:17 +00:00
Philipp Möller
e2616dafb1
Rebuild the how_to_cite structure
2012-08-28 17:33:45 +00:00
Andreas Fabri
76c5ca1899
typo
2012-08-27 19:58:06 +00:00
Laurent Rineau
2db4effa7e
CMake: Fix the handling of cmake_policy
...
That is a followup-to my commit last year:
| ------------------------------------------------------------------------
| r63198 | lrineau | 2011-04-28 19:45:22 +0200 (Thu, 28 Apr 2011) | 5 lines
|
| 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.
|
| ------------------------------------------------------------------------
The following check:
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" VERSION_GREATER 2.6)
is useless just after a call to:
cmake_minimum_required(VERSION 2.6.2)
The script used to fix that was:
#!/usr/bin/env perl
$replacement=<<'END';
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER 2.8.3)
cmake_policy(VERSION 2.8.4)
else()
cmake_policy(VERSION 2.6)
endif()
END
while(<>) {
if(/if\("\${CMAKE_MAJOR_VERSION}.\${CMAKE_MINOR_VERSION}" VERSION_GREATER 2.6\)/) {
while(<>) {
if(/^endif\(\)/) {
print "$replacement";
while(<>) {
print;
}
exit 0
}
}
}
print;
}
2012-08-22 12:35:03 +00:00
Andreas Fabri
af87732f6a
Add \anchor of chapters
2012-08-21 10:18:58 +00:00
Andreas Fabri
3dfd7031c2
Remove whitespace
2012-08-20 18:30:46 +00:00
Philipp Möller
d3a9a641de
Refurb package descriptions with a label for the license.
2012-08-20 14:28:36 +00:00
Philipp Möller
49c07b62d6
Fix broken brief descriptions, unlink a word.
2012-08-17 15:31:03 +00:00
Andreas Fabri
c4430ef45e
. instead of ;
2012-08-17 14:06:02 +00:00
Andreas Fabri
9c31449e91
capitalize
2012-08-17 13:56:25 +00:00
Philipp Möller
d5c15dafde
fix double \cite commands
2012-08-17 13:46:35 +00:00
Philipp Möller
f40c0f16f7
update to new layout
2012-08-16 17:08:03 +00:00
Laurent Rineau
90414d195f
Move <CGAL/Testsuite/use.h> to <CGAL/use.h> (in the Installation package)
...
That is a followup to the following commit:
| ------------------------------------------------------------------------
| r71090 | pmoeller | 2012-08-07 13:04:32 +0200 (Tue, 07 Aug 2012) | 6 lines
| Changed paths:
| M /branches/next/Alpha_shapes_2/include/CGAL/Alpha_shape_2.h
| M /branches/next/Circulator/include/CGAL/circulator.h
| M /branches/next/Convex_decomposition_3/include/CGAL/Convex_decomposition_3/Reflex_vertex_searcher.h
| M /branches/next/Intersections_3/test/Intersections_3/bbox_other_do_intersect_test.cpp
| M /branches/next/Kernel_d/include/CGAL/Cartesian_d.h
| M /branches/next/Mesh_3/include/CGAL/IO/File_medit.h
| M /branches/next/Mesh_3/include/CGAL/Mesh_cell_criteria_3.h
| M /branches/next/Mesh_3/include/CGAL/Mesh_edge_criteria_3.h
| M /branches/next/Mesh_3/include/CGAL/Mesh_facet_criteria_3.h
| M /branches/next/Mesh_3/include/CGAL/make_mesh_3.h
| M /branches/next/Nef_2/include/CGAL/Bounded_kernel.h
| M /branches/next/Nef_2/include/CGAL/Nef_polyhedron_2.h
| M /branches/next/Nef_3/include/CGAL/Nef_3/ID_support_handler.h
| M /branches/next/Nef_3/include/CGAL/Nef_3/Infimaximal_box.h
| M /branches/next/Nef_3/include/CGAL/Nef_3/vertex_cycle_to_nef_3.h
| M /branches/next/Nef_3/include/CGAL/Nef_polyhedron_3.h
| M /branches/next/Nef_3/test/Nef_3/nef_union_error_llvm.cpp
| M /branches/next/Nef_S2/include/CGAL/Nef_S2/SM_overlayer.h
| M /branches/next/OpenNL/include/CGAL/OpenNL/blas.h
| M /branches/next/Periodic_3_triangulation_3/include/CGAL/Periodic_3_triangulation_3.h
| M /branches/next/Point_set_processing_3/include/CGAL/mst_orient_normals.h
| M /branches/next/QP_solver/include/CGAL/QP_solver/QP_functions_impl.h
| M /branches/next/STL_Extension/include/CGAL/iterator.h
| M /branches/next/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_simple_site_2.h
| M /branches/next/Subdivision_method_3/include/CGAL/Polyhedron_decorator_3.h
| M /branches/next/Subdivision_method_3/include/CGAL/Subdivision_mask_3.h
| M /branches/next/Surface_mesher/include/CGAL/Surface_mesh_default_criteria_3.h
| M /branches/next/Voronoi_diagram_2/include/CGAL/Voronoi_diagram_2/Adaptation_traits_functors.h
| M /branches/next/Voronoi_diagram_2/include/CGAL/Voronoi_diagram_2/Default_site_inserters.h
| M /branches/next/Voronoi_diagram_2/include/CGAL/Voronoi_diagram_2/Default_site_removers.h
|
| WARNFIX: Silence a good part of unused variable/parameter warnings.
|
| Wextra results in a dreadful wall of yellow in the test-suite and is
| scary when using CGAL. Reduce some of the noise by silencing the
| obvious cases with CGAL_USE or comments.
|
| ------------------------------------------------------------------------
The reason is that everything from CGAL/Testsuite/ is removed in public
releases (that was discussed at a CGAL developers meetings, long ago). That
means that r71090 introduced compilation errors undetectable by the tests
of internal releases. I hope that the minutes of that developers meeting
say that I was against the removal of headers between internal and public
releases! -- Laurent Rineau
2012-08-09 15:34:08 +00:00
Philipp Möller
5d5390ace6
Minor fixes with to avoid ambiguity clashes and add a missing include.
...
test_Compact_container.cpp defined its won CGAL::use and somehow
Testsuite/use.h got included. CGAL::internal::use got then picked up
by ADL, as the iterator of a compact container is in internal (as
opposed to a member of Compact_container).
test_multiset used strcmp without including cstring.
2012-08-09 08:44:13 +00:00
Philipp Möller
4a24b439f4
Layouting and package building changes
...
Fiddle with the master doxygen file, improve package overview
building, add a set of packages to the doxyassist XML, fix up
straggling packages that didn't have those changes
2012-08-08 09:21:40 +00:00
Philipp Möller
79b30908d5
WARNFIX: Silence a good part of unused variable/parameter warnings.
...
Wextra results in a dreadful wall of yellow in the test-suite and is
scary when using CGAL. Reduce some of the noise by silencing the
obvious cases with CGAL_USE or comments.
2012-08-07 11:04:32 +00:00
Philipp Möller
e65a8028ea
Replace tex-style quotes with quotes that you would expect, as there
...
is no way to handle them in the converter.
Needs to be revert before this is being merged into next.
2012-08-02 12:55:15 +00:00
Philipp Möller
ebe9072d1d
Testwise STL_Extension + Mesh_2
2012-07-27 18:45:02 +00:00
Philipp Möller
495fac8ea1
Merge from next
2012-07-27 17:58:52 +00:00
Clément Jamin
68fbaa4373
Bugfix + minor changes
2012-07-11 14:21:17 +00:00
Clément Jamin
41f9cbe411
Sequential Mesh_3 can now be compiled by GCC.
2012-07-09 15:44:58 +00:00
Philipp Möller
6735bd47a4
Remove include overkill.
2012-06-22 10:43:25 +00:00
Philipp Möller
b529971917
Merge the changes to ccPrecond and ccPostcond that have been in
...
features/doxy-pmoeller and add changes for ccRequires on top of it.
ATTN: This changeset should be unmerged before the whole branch goes
back into next.
2012-06-20 13:57:36 +00:00
Laurent Rineau
69ef17087e
Fix a warning of clang
...
The warning was:
In file included from [...]/cmake/platforms/x86-64_Linux-2.6_llvm-clang-with-g++-4.6.2_F16/test/Algebraic_foundations/Chinese_remainder_traits.cpp:34:
In file included from [...]/include/CGAL/Polynomial.h:44:
In file included from [...]/include/CGAL/Flattening_iterator.h:24:
In file included from [...]/include/CGAL/Nested_iterator.h:29:
[...]/include/CGAL/iterator.h:1240:10: warning: class template 'Derivator' was previously declared as a struct template [-Wmismatched-tags]
friend class internal::Derivator;
^
[...]/include/CGAL/iterator.h:1193:8: note: previous use is here
struct Derivator
^
[...]/include/CGAL/iterator.h:1240:10: note: did you mean struct here?
friend class internal::Derivator;
^~~~~
struct
[...]/include/CGAL/iterator.h:1299:10: warning: class template 'Derivator' was previously declared as a struct template [-Wmismatched-tags]
friend class internal::Derivator;
^
[...]/include/CGAL/iterator.h:1193:8: note: previous use is here
struct Derivator
^
[...]/include/CGAL/iterator.h:1299:10: note: did you mean struct here?
friend class internal::Derivator;
^~~~~
struct
2 warnings generated.
2012-06-20 10:18:05 +00:00
Laurent Rineau
fd26d4eb2c
Remove a warning about duplicate labels
2012-06-18 10:20:50 +00:00
Laurent Rineau
2e80ceff2d
Fix a TeX compilation error.
...
Developers, before merging a candidate feature, please check that *both*
the code test suite and the manual test suite are green.
2012-06-18 10:18:10 +00:00
Philipp Möller
b518c4e792
Two more tests for the namespaces. You never know.
2012-06-14 10:39:13 +00:00
Clément Jamin
b268598665
Replace LINKED_WITH_TBB by CGAL_LINKED_WITH_TBB.
2012-06-13 09:33:08 +00:00
Philipp Möller
bb03b1753b
template arguments were the wrong way around and copy_n even compiles
...
when used as copy when the iterators are actually pointers.
2012-06-12 10:59:54 +00:00
Clément Jamin
b948543cc6
Use of a Tag (template parameter) to activate/deactivate concurrency in Mesh_3, instead of #ifdef macros.
2012-06-09 08:52:37 +00:00
Philipp Möller
9995021cdb
Changed the doc.
2012-05-24 11:41:40 +00:00
Philipp Möller
dd7403c765
Change the namespace to cpp11 and add an alias cpp0x.
2012-05-24 11:23:21 +00:00
Philipp Möller
75378f55ce
Merged ^/branches/next for the test-suite run.
2012-05-10 17:34:30 +00:00
Clément Jamin
7d1d94f42e
Merge from next
2012-04-24 16:24:13 +00:00
Philipp Möller
17797b7271
Merge next into this branch. There have been conflicts in the
...
AABB_tree documentation, Intersections_3 and Arrangement_on_surface_2.
The merge also introduced a regression for a bug fixed in R68387 which
fixed a bug in Triangle_3 Segment_3 intersections. The relevant
testcase is in triangle_other_intersection_test.cpp.
2012-04-24 15:06:19 +00:00
Laurent Rineau
4c186e9417
Oops: std::tr1::get(std::pair) is in <tr1/utility>
2012-04-20 10:34:06 +00:00
Laurent Rineau
66ec3ee6b8
I was wrong: get<N>(std::pair) was already in TR1.
...
Strange that it is not in Boost.
2012-04-20 10:30:10 +00:00
Laurent Rineau
a40c0bf6a8
A branch to extend the CGAL::cpp0x::get function template in <CGAL/tuple.h>
2012-04-19 12:28:12 +00:00
Laurent Rineau
f142cb667d
Fix a bug in test of equality operator of CGAL::cpp0x::tuple
...
Do not test equality between default initialized tuples, because GNU/g++
version 4.1.2 does not default-initialize correctly std::tr1::tuple.
2012-04-19 11:59:24 +00:00
Laurent Rineau
b3822e9b85
Extend the test, again
...
That time, one checks that boost::tuple has I/O operators.
2012-04-16 13:49:19 +00:00
Laurent Rineau
9d041ed59a
Better testing of CGAL::is_streamable<T>
2012-04-16 12:48:50 +00:00
Philipp Möller
542f5d9c51
Merged ^/branches/next here
2012-04-16 08:53:21 +00:00
Laurent Rineau
eef911bc02
New MPL type checking: is_streamable
...
is_streamable is a meta-function that checks if a type is streamable
is_streamable<T>::value is true iff the type T has stream operators <<
and >>. Otherwise it is false.
That commit adds a new header, used nowhere, and a new test. That cannot
break anything. I do it directly to 'next', with my own approval.
2012-04-13 10:40:12 +00:00
Laurent Rineau
678f252224
Add missing test for <CGAL/is_iterator.h>
2012-04-13 10:20:43 +00:00
Laurent Rineau
f22ae81a91
Trivial bug: add missing #include
...
If CGAL::cpp0x::tuple is Boosts implementation, one wants equality operator
operator==.
Add the corresponding test in test/STL_Extension/.
2012-04-12 14:35:20 +00:00
Clément Jamin
69272e4d9a
Test with a worksharing strategy (based on TBB task scheduler) + test with parallel_do.
2012-04-10 13:23:51 +00:00
Philipp Möller
042482d986
Removed unused Identity_iterator
...
Identity_iterator was neither documented nor used anywhere throughout
the code base and served no real purpose and can easier be implemented
(if really needed) with iterator_adaptor or the iterator helpers in
boost operators.
2012-03-23 17:25:52 +00:00
Clément Jamin
512f0b12bd
Missing "mutable" on the mutex
2012-03-22 17:50:17 +00:00
Clément Jamin
4ccf8e0447
First working parallel version. It's not faster than the sequential one, but not slower neither (depends if you're optimistic or not). The good news is that we found all (?) the sections to protect or to make thread-local.
2012-03-22 17:07:03 +00:00
Clément Jamin
d56d031aa7
Added a constructor to enable conversion from Filter_iterator to const Filter_iterator.
...
Added an end() member function.
2012-03-15 15:07:16 +00:00
Clément Jamin
9aefad0454
Added a few comments
2012-03-15 14:59:43 +00:00
Clément Jamin
09de63eb4a
Brand new Concurrent_compact_container, not based on tbb::concurrent_vector as it was causing compiler nightmare (C1060).
...
Anyway, it's faster and much more scalable... so no regrets.
2012-03-14 17:06:13 +00:00
Clément Jamin
401568c63c
Added the option to use Boost filter_iterator, and a few member functions.
2012-03-09 17:34:19 +00:00
Clément Jamin
1192e188cc
Creates a Concurrent_compact_container, based on tbb::concurrent_vector. Some member functions (size, etc.) are missing. To be continued...
2012-03-09 11:44:41 +00:00
Clément Jamin
5a5d838497
Added an operator< to Filter_iterator
2012-03-09 11:43:02 +00:00
Clément Jamin
7137347f95
Added::process_a_batch_of_elements(...) which use parallel_for to insert batch of facets/cells. For now, the body is protected by a scoped_lock to avoid races => no speedup!
2012-03-07 13:57:16 +00:00
Clément Jamin
9ae59efaaf
Merge from next
2012-02-15 15:58:17 +00:00
Philipp Möller
bf0e941c78
* documentation for the converting constructors of Object from
...
variant<T...> and optional<variant<T...>>
2012-02-13 09:38:37 +00:00
Clément Jamin
4051f03a62
Added a "Strategy" template parameter which allows to optionally add a counter of "erase" (= put on free list) inside each element.
2012-02-13 09:04:24 +00:00
Laurent Rineau
0b760d0fbb
Remove warnings about static assertions
2012-01-23 12:29:17 +00:00
Sébastien Loriot
3795b8dc9c
revert part of my commit 67333
...
(windows testsuite was actually broken so it was working:)
2012-01-20 15:01:53 +00:00
Sébastien Loriot
a1fdcd6170
explicitly check that the Interval template parameter is an interval.
...
MSVC is not able to eliminate the function even when the functor used
is Null_functor that has no result_type.
2012-01-20 13:08:32 +00:00
Sébastien Loriot
45e7c06392
revert r67297.
...
Fix test it in candidates
2012-01-19 10:08:57 +00:00
Sébastien Loriot
f17ccbb823
explicitly check that the Interval template parameter is an interval.
...
MSVC is not able to eliminate the function even when the functor used
is Null_functor that has no result_type.
2012-01-19 08:49:20 +00:00
Andreas Fabri
cebb7314bc
Fix for Windows 'min/max' bug
2012-01-18 11:05:35 +00:00
Philipp Möller
24d771b828
overload manual is more explicit about type requirements
2012-01-18 09:12:26 +00:00
Laurent Rineau
a37c74d534
Add license files, per package
2012-01-16 15:54:22 +00:00
Laurent Rineau
5b5dd33848
merge changes from next
2012-01-09 12:33:39 +00:00
Sébastien Loriot
980f0353dd
missing include
2012-01-06 07:26:06 +00:00
Philipp Möller
b8a96e9114
Merged next to this branch.
2011-12-06 17:11:01 +00:00
Philipp Möller
0e0a200646
* Using result_of instead of Qualified_result_of
...
* limited refactoring in the lazy kernel
* still bugs in circular_3
* still specialization problem with iso_rectangle
2011-11-23 17:52:38 +00:00
Sébastien Loriot
5fd945cd3c
is_iterator now requests the type to be either a pointer or
...
to provide all 5 nested types provided by iterator_traits
2011-11-23 11:29:15 +00:00
Philipp Möller
b3b3cde5ea
Fixed compiler errors in the examples
2011-11-21 13:54:01 +00:00
Laurent Rineau
93486787c3
The inside of ccPkgDescription must not contain black lines between macros
...
Otherwise that inserts a buggy "<p>" tag in the package overview where the
doctype does not allow it.
2011-11-15 19:16:23 +00:00
Philipp Möller
c935a9dbc1
Fixed a crash when calling type() on an uninitialized Object
2011-11-15 15:05:20 +00:00
Philipp Möller
71c1a44f4f
Safe bool conversion for object including tests
2011-11-08 11:01:59 +00:00
Philipp Möller
69add44ef4
Object switched to any internally
2011-11-07 16:22:56 +00:00
Philipp Möller
a8f49b5814
more testing for object
2011-11-07 15:52:36 +00:00
Philipp Möller
44abf6a332
Additional tests for overload
2011-11-04 18:02:32 +00:00
Philipp Möller
64450662ac
Overload now uses tuples directly and has improved documentation
2011-11-04 17:54:15 +00:00
Marc Glisse
dc3b382bd4
Simplify the code and help with thread-safety by reading the return value of operator--.
2011-10-29 07:18:10 +00:00
Laurent Rineau
cfd37935cf
merge from next
2011-10-20 16:04:32 +00:00
Andreas Fabri
2a5bc234be
size_t -> unsigned int to avoid a warning
2011-10-20 10:36:22 +00:00
Laurent Rineau
1efe6ff9c4
merge from next, again
2011-10-13 10:25:40 +00:00
Laurent Rineau
b41acfcc5e
Revert those two commits:
...
| ------------------------------------------------------------------------
| r65838 | afabri | 2011-10-12 13:01:14 +0200 (Wed, 12 Oct 2011) | 5 lines
| Changed paths:
| M /branches/next/STL_Extension/include/CGAL/assertions.h
|
| When CGAL_NO_ASSERTIONS, fix CGAL_static_assertion
|
| CGAL_static_assertion cannot be "static_cast<void>(0)" because that
| macro can also be used in a class or namespace scope.
|
| ------------------------------------------------------------------------
| r65833 | lrineau | 2011-10-11 23:43:39 +0200 (Tue, 11 Oct 2011) | 6 lines
| Changed paths:
| M /branches/next/STL_Extension/include/CGAL/assertions.h
|
| Avoid a warning with -ansi -pedantic when CGAL_NO_ASSERTIONS
|
| When CGAL_NO_ASSERTIONS is defined (when NDEBUG is defined, for example),
| "CGAL_static_assertion(true);" must not be expanded to ";", to avoid a
| pedantic warning "extra ;".
|
| ------------------------------------------------------------------------
That was just a very wrong way to fix a pedantic warning: the new
implementations were buggy.
2011-10-13 10:24:14 +00:00
Marc Glisse
4fff839d84
Revert, was supposed to go to candidates...
2011-10-12 15:00:55 +00:00
Marc Glisse
03ff622be8
Help with a future thread-safe version (and make the code shorter).
2011-10-12 14:41:53 +00:00
Laurent Rineau
5946c69608
merge from next
2011-10-12 13:52:06 +00:00
Andreas Fabri
eba24795fa
When CGAL_NO_ASSERTIONS, fix CGAL_static_assertion
...
CGAL_static_assertion cannot be "static_cast<void>(0)" because that
macro can also be used in a class or namespace scope.
2011-10-12 11:01:14 +00:00
Laurent Rineau
44be6552ef
Avoid a warning with -ansi -pedantic when CGAL_NO_ASSERTIONS
...
When CGAL_NO_ASSERTIONS is defined (when NDEBUG is defined, for example),
"CGAL_static_assertion(true);" must not be expanded to ";", to avoid a
pedantic warning "extra ;".
2011-10-11 21:43:39 +00:00
Sébastien Loriot
91a5327fa8
change LGPLv2 -> LGPLv3
2011-10-10 13:48:25 +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
62a6daf1da
add to Compact_container iterator type operators > >= and <=
2011-10-04 11:25:45 +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
Laurent Rineau
fdd69b61a3
Rename macro of Compact_container to avoid potential future conflict
...
Add the _COMPACT_CONTAINER_ infix:
CGAL_INIT_BLOCK_SIZE -> CGAL_INIT_COMPACT_CONTAINER_BLOCK_SIZE
CGAL_INCREMENT_BLOCK_SIZE -> CGAL_INCREMENT_COMPACT_CONTAINER_BLOCK_SIZE
2011-09-29 14:21:10 +00:00
Guillaume Damiand
18e674fc14
Merged feature-branche Compact_container_reserve-gdamiand into next (test suite is ok, Laurent is ok)
2011-09-29 14:09:40 +00:00
Laurent Rineau
fdb7ea6c6b
prepare ccPkgHowToCiteCgal for CGAL-3.10 (in 2012)
2011-09-28 16:15:05 +00:00
Guillaume Damiand
71d1d6f56a
Add reserve method in compact container (include file, plus ref manual, plus test).
2011-09-27 12:01:42 +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
Laurent Rineau
2542c65270
\href is LaTeX only. Our manual tools understand \ccAnchor as a replacement.
2011-09-13 09:34:46 +00:00
Sébastien Loriot
7ec484eac7
merge next into feature branch
2011-09-09 06:44:09 +00:00
Guillaume Damiand
a29c905ee0
Replace BOOST_STATIC_ASSERT by CGAL_static_assertion.
2011-08-31 14:30:07 +00:00
Laurent Rineau
9369f7ba93
Add "benchmark" to dont_submit
...
We do not want "benchmark" in the releases.
2011-08-26 14:47:45 +00:00
Philipp Möller
f116b940ad
merged next
2011-08-26 14:17:53 +00:00
Laurent Rineau
1e3c229440
merge from next
2011-08-26 13:55:12 +00:00
Philipp Möller
7a6f8f08e6
Links added as a see also, inline link to the draft
2011-08-26 11:47:54 +00:00
Philipp Möller
c495e8059f
inline link to the recent draft for copy_
2011-08-26 11:31:00 +00:00
Philipp Möller
03caf9fe95
New documentation for intersections in Kernel_23 and Kernel_d, removed old IT2/3, documentation
...
for overload, added examples for overload and dispatch_outputiterator
2011-08-25 14:02:05 +00:00
Sébastien Loriot
b60dc7514e
BUGFIX: fix bug in the documentation of tuple
2011-08-25 10:40:35 +00:00
Philipp Möller
cc01731a34
Fixed a namespace bug with C++0x disabled
2011-08-25 10:11:06 +00:00
Marc Glisse
1a6bc3f2d4
Small workarounds for LLVM.
2011-08-12 15:50:05 +00:00
Marc Glisse
ab56912a06
s/static_assert/CGAL_static_assertion_msg/
2011-08-08 16:48:34 +00:00
Philipp Möller
353241ec7d
Interoperability for Dispatch_output_iterator with variants, documentation and tests
2011-07-22 01:22:32 +00:00
Philipp Möller
83fc8e4bf3
Added implicit conversion from variant to object
2011-07-20 19:26:15 +00:00
Philipp Möller
ab7b592514
Made optional< variant > to Object conversion safer
2011-07-15 13:57:25 +00:00
Philipp Möller
6580eb504d
merged next
2011-07-05 09:15:29 +00:00
Andreas Fabri
01f978de36
partial undo: remove debug output
2011-06-30 22:11:47 +00:00
Andreas Fabri
7dbddbc945
Add CR in the last line to quiet Intel C++
2011-06-30 22:09:49 +00:00
Laurent Rineau
ac9877372d
Update all PkgDescription files to CGAL-3.9
2011-06-27 14:31:45 +00:00
Philipp Möller
bfcfc89b01
Small change to avoid confusion about empty namespace/replacement function
2011-06-23 14:43:02 +00:00
Philipp Möller
3e98f1c856
Removed reference to CGAL
2011-06-23 14:06:57 +00:00
Philipp Möller
a67a03d297
Fixed naming and include guard
2011-06-23 14:02:53 +00:00
Philipp Möller
d98d1d057f
Object: Made implicit conversion from optional<variant> safer
...
Overload: Added generalised overloads and tests
2011-06-23 13:09:49 +00:00
Philipp Möller
b4c1504975
Added conversion from optional<variant<...>>
2011-06-22 15:27:48 +00:00
Philipp Möller
ba7f258db8
Added implicit conversion from variant to object
...
Added test
2011-06-22 15:19:20 +00:00
Laurent Rineau
4cf99c4a3d
Fix mutable_queue.hpp with old Boost versions
...
boost/property_map.hpp has moved in recent Boost versions.
2011-06-21 10:22:47 +00:00
Sébastien Loriot
4c4330a05a
test increase and decrease key
2011-06-17 15:22:26 +00:00
Sébastien Loriot
b9dd4baf69
add testsuite for Modifiable_priority_queue
2011-06-17 15:04:26 +00:00
Sébastien Loriot
f488e75869
BUGFIX: change internal boost namespace to boost_ to avoid ambiguities
...
of boost:: in internal namespace (vs ::boost::)
2011-06-17 13:22:42 +00:00
Sébastien Loriot
b80fd74b73
BUGFIX: this is safer to compare to the size of indices
2011-06-17 13:07:06 +00:00
Sébastien Loriot
acb0950398
BUGFIX (together with 64192,64193,64194):
...
Modifiable_priority_queue no longer depends on non-documented
boost code. This code has been copied into CGAL.
Modify boost's mutable_queue to have a constructor initializing
indices of elements not in the queue to the maximum number of elements.
Update pop to maintain this property
2011-06-17 13:04:58 +00:00
Sébastien Loriot
2254e9b4f8
reverse modifications of Modifiable_priority_queue.h should not be modified in 64193
2011-06-17 12:48:11 +00:00
Sébastien Loriot
cacb699937
put boost file inside namespace CGAL::internal::boost
...
add URL and ID tags
update #ifndef macros
2011-06-17 12:45:16 +00:00
Sébastien Loriot
6838175967
plain copy of files from the release 1.46.1 (BOOST_VERSION 104601)
...
from undocumented stuff for internal use in CGAL (Mofiable_priority_queue.h).
Modifications of these files to come in another commit
2011-06-17 12:38:15 +00:00
Sébastien Loriot
65d6249062
missing include
2011-06-17 08:46:36 +00:00
Philipp Möller
4d79553424
Doc now has standard paragraphs and boost links.
2011-06-16 13:24:11 +00:00
Philipp Möller
0a5bf0c685
merged next
2011-06-16 11:46:46 +00:00
Philipp Möller
cf4814da58
Doc now explains copy_n and gives the standard paragraph, fixed typo in code documentation
2011-06-16 11:09:59 +00:00
Philipp Möller
ef85dcaebb
Added a test for copy_n and fixed a bug where you would only end up
...
with a linker error instead of a "no such definition" error when
CGAL_NO_DEPRECATED_CODE was used
2011-06-10 13:26:42 +00:00
Guillaume Damiand
d2d010909f
merge with next
2011-06-09 13:51:23 +00:00
Philipp Möller
75119379c7
Added test for next and prev
2011-06-07 17:27:18 +00:00
Philipp Möller
194d16f9e0
Removed test for predecessor and successor.
2011-06-07 17:16:06 +00:00
Philipp Möller
c3ec79c02c
Made the namespaces explicit.
2011-06-07 16:43:27 +00:00
Philipp Möller
7dc4dec19b
Made documentation of cpp0x::prev clearer.
2011-06-07 16:38:36 +00:00
Philipp Möller
c46c4460bc
Deprecated the documentation of predecessor and successor. Added new documentation for cpp0x::{next,prev}
2011-06-07 12:29:43 +00:00
Philipp Möller
fb85f14247
Added the imports to namespace cpp0x.
2011-06-07 12:04:59 +00:00
Philipp Möller
3144673c5b
Deprecated successor and predecessor
2011-06-07 10:44:21 +00:00
Philipp Möller
8eb07481ba
Added ccInclude.
2011-06-07 09:03:54 +00:00
Sébastien Loriot
93c9475bbc
missing comma and namespace CGAL to avoid confusion
2011-06-06 15:49:40 +00:00
Philipp Möller
171ad62f8c
Changed benchmarks to properly function without C++0x.
2011-06-06 15:20:10 +00:00
Philipp Möller
00882a21bc
Changed deprecation for CGAL::copy_n to only trigger when there is an alternative.
2011-06-06 15:19:01 +00:00
Philipp Möller
75e1ec4dc0
Added a benchmark for an actual use case. Adapted CMake to generate both benchmarks.
2011-06-06 09:52:34 +00:00
Philipp Möller
f2f32f007f
Added a benchmark for copy_n
2011-06-01 14:05:51 +00:00
Marc Glisse
dd2aba7fe6
The goal was to be able to use iterator_traits safely, so we don't want arrays...
2011-05-30 15:27:09 +00:00
Sébastien Loriot
ca13392880
CGAL -> \cgal\
2011-05-30 12:36:57 +00:00
Sébastien Loriot
e5aee57eab
use lower-case for deprecated
2011-05-30 11:26:56 +00:00
Sébastien Loriot
1666c4fd57
use ccDeprecated environment of deprecation of classes
2011-05-30 09:16:37 +00:00
Sébastien Loriot
ccb1b1e39f
document wrappers added
2011-05-30 09:15:46 +00:00
Philipp Möller
7bcaa0b754
marked CGAL::copy_n deprecated and added cpp0x::copy_n
2011-05-26 18:25:29 +00:00
Philipp Möller
52d1657717
Replaced CGAL::copy_n in all files with CGAL::cpp0x::copy_n
2011-05-26 18:14:58 +00:00
Sébastien Loriot
1ad7bac55b
change license from QPL to LGPL
2011-05-24 13:03:39 +00:00
Marc Glisse
d64e8a9371
Fix misinterpretation of decay
2011-05-13 18:37:13 +00:00
Guillaume Damiand
c283ac6689
Backport of modifs made in Linear_cell_complex-gdamiand branch.
2011-05-10 07:14:42 +00:00
Guillaume Damiand
046cc5a048
merge from next and from candidates/Combinatorial_map
2011-05-05 12:29:06 +00:00
Sébastien Loriot
0a1b070ed1
temporary fix for visual
2011-04-29 14:32:31 +00:00
Sébastien Loriot
5921eca974
A null functor should not defined a result_type
...
nor a second_argument_type (this allows using SFINAE
on some functions).
2011-04-13 08:26:09 +00:00
Sébastien Loriot
b30c983e3c
bugfix: the derivation must be public
2011-03-17 10:16:30 +00:00
Andreas Fabri
cb8e525640
No need to #include <CGAL/basic.h>
2011-03-13 17:27:53 +00:00
Marc Glisse
879c4eb81c
Enable implicit Lazy_exact_nt conversions only if there exists an implicit
...
conversion between the exact types.
I'll add something similar for explicit conversions if required.
2011-03-08 10:27:31 +00:00
Laurent Rineau
da95064578
Update the \ccPkgHowToCiteCgal tag for CGAL-3.8 (2011).
2011-02-24 15:21:10 +00:00
Sébastien Loriot
d19e13d863
move Modifiable_priority_queue in STL_Extension as it is used by Mesh_3
2011-02-15 16:24:09 +00:00
Guillaume Damiand
261ad9eaf3
Add the 4 operators < <= > >= to compare iterators.
...
Now we can compare two handles (as for example Halfedge_haldle) which is usefull for example to define directly a std::set<Halfedge_handle> (or a std::map) without need to define a comparator class.
NOTE: this modification was preapproved by the released manager.
2011-02-15 12:50:21 +00:00
Marc Glisse
f01ec07125
New is_iterator test for immediate use in PCA.
2011-01-18 10:50:05 +00:00
Andreas Fabri
00a7b64e89
Declare the operator const
2010-12-12 21:32:16 +00:00
Marc Glisse
67ca8cf8b1
A bug in clang currently means that uncaught exceptions result in a
...
segfault. It happens in particular for CGAL assertions. Make it print
the information first, as a workaround. Revert when it's fixed.
2010-09-10 09:51:25 +00:00
Sébastien Loriot
f6afbd8a94
correct filter_output_iterator:
...
operator*, operator++ and operator++(int) was not working with all possible iterators
2010-09-02 06:30:35 +00:00
Laurent Rineau
49c71b30ac
Merge CGAL-3.7-branch:
...
| ------------------------------------------------------------------------
| r58172 | lrineau | 2010-08-20 11:21:30 +0200 (Fri, 20 Aug 2010) | 3 lines
| Changed paths:
| M /branches/CGAL-3.7-branch/Arithmetic_kernel/test/Arithmetic_kernel/CMakeLists.txt
|
| Fix buggy CMake logic: the GMP_arithmetic_kernel.cpp must me configured
| only once.
|
| ------------------------------------------------------------------------
| r58173 | lrineau | 2010-08-20 11:25:35 +0200 (Fri, 20 Aug 2010) | 2 lines
| Changed paths:
| M /branches/CGAL-3.7-branch/BGL/examples/BGL_arrangement_2
| M /branches/CGAL-3.7-branch/BGL/examples/BGL_arrangement_2/dual.cpp
| M /branches/CGAL-3.7-branch/BGL/examples/BGL_arrangement_2/primal.cpp
|
| Fix warning about deprecated included headers.
|
| ------------------------------------------------------------------------
| r58174 | lrineau | 2010-08-20 11:39:25 +0200 (Fri, 20 Aug 2010) | 3 lines
| Changed paths:
| M /branches/CGAL-3.7-branch/Boolean_set_operations_2/test/Boolean_set_operations_2/test_polygon_validation.cpp
|
| Modify the test file so that the check function do not display warnings
| that result in a 'w' in the testsuite.
|
| ------------------------------------------------------------------------
| r58175 | lrineau | 2010-08-20 11:45:26 +0200 (Fri, 20 Aug 2010) | 9 lines
| Changed paths:
| M /branches/CGAL-3.7-branch/GraphicsView/demo/Bounding_volumes/Bounding_volumes.cpp
|
| Fix warnings:
|
| test/Bounding_volumes_Demo/Bounding_volumes.cpp: In constructor `MainWindow::MainWindow()':
| test/Bounding_volumes_Demo/Bounding_volumes.cpp:71: warning: `MainWindow::P' will be initialized after
| test/Bounding_volumes_Demo/Bounding_volumes.cpp:120: warning: base `CGAL::Qt::DemosMainWindow'
| test/Bounding_volumes_Demo/Bounding_volumes.cpp:120: warning: when initialized here
| test/Bounding_volumes_Demo/Bounding_volumes.cpp: In member function `void MainWindow::update()':
| test/Bounding_volumes_Demo/Bounding_volumes.cpp:247: warning: comparison between signed and unsigned integer expressions
|
| ------------------------------------------------------------------------
| r58177 | lrineau | 2010-08-20 11:47:06 +0200 (Fri, 20 Aug 2010) | 3 lines
| Changed paths:
| M /branches/CGAL-3.7-branch/Min_circle_2/include/CGAL/Min_circle_2.h
|
| Fix warning:
| include/CGAL/Min_circle_2.h:197: warning: comparison between signed and unsigned integer expressions
|
| ------------------------------------------------------------------------
| r58178 | lrineau | 2010-08-20 11:49:09 +0200 (Fri, 20 Aug 2010) | 4 lines
| Changed paths:
| M /branches/CGAL-3.7-branch/STL_Extension/include/CGAL/assertions.h
|
| Avoid a warning if NDEBUG and CGAL_NDEBUG are both defined:
|
| include/CGAL/assertions.h:59:1: warning: "CGAL_NDEBUG" redefined
|
| ------------------------------------------------------------------------
| r58179 | lrineau | 2010-08-20 11:50:54 +0200 (Fri, 20 Aug 2010) | 8 lines
| Changed paths:
| M /branches/CGAL-3.7-branch/GraphicsView/include/CGAL/Qt/GraphicsViewCircularArcInput.h
|
| Fix a warning:
|
| include/CGAL/Qt/GraphicsViewCircularArcInput.h: In constructor 'CGAL::Qt::GraphicsViewCircularArcInput<K>::GraphicsViewCircularArcInput(QObject*, QGraphicsScene*) [with K = CGAL::Circular_kernel_2<CGAL::Cartesian<CGAL::Quotient<CGAL::MP_Float> >, CGAL::Algebraic_kernel_for_circles_2_2<CGAL::Quotient<CGAL::MP_Float> > >]':
| cmake/platforms/i686_Linux-2.6_g++-4.1.2_CentOS-5.1/test/Circular_kernel_2_Demo/Circular_kernel_2.cpp:107: instantiated from here
| include/CGAL/Qt/GraphicsViewCircularArcInput.h:73: warning: 'CGAL::Qt::GraphicsViewCircularArcInput<CGAL::Circular_kernel_2<CGAL::Cartesian<CGAL::Quotient<CGAL::MP_Float> >, CGAL::Algebraic_kernel_for_circles_2_2<CGAL::Quotient<CGAL::MP_Float> > > >::scene_' will be initialized after
| include/CGAL/Qt/GraphicsViewCircularArcInput.h:68: warning: 'int CGAL::Qt::GraphicsViewCircularArcInput<CGAL::Circular_kernel_2<CGAL::Cartesian<CGAL::Quotient<CGAL::MP_Float> >, CGAL::Algebraic_kernel_for_circles_2_2<CGAL::Quotient<CGAL::MP_Float> > > >::count'
| include/CGAL/Qt/GraphicsViewCircularArcInput.h:79: warning: when initialized here
|
| ------------------------------------------------------------------------
| r58180 | lrineau | 2010-08-20 11:56:19 +0200 (Fri, 20 Aug 2010) | 21 lines
| Changed paths:
| M /branches/CGAL-3.7-branch/Convex_hull_d/include/CGAL/Delaunay_d.h
|
| Fix warnings:
|
| include/CGAL/Delaunay_d.h: In member function 'CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_iterator& CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_iterator::operator++() [with R_ = CGAL::Cartesian_d<double, CGAL::Linear_algebraCd<double, std::allocator<double> > >, Lifted_R_ = CGAL::Cartesian_d<double, CGAL::Linear_algebraCd<double, std::allocator<double> > >]':
| include/CGAL/Delaunay_d.h:1011: instantiated from 'std::list<typename CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_handle, std::allocator<typename CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_handle> > CGAL::Delaunay_d<R_, Lifted_R_>::all_simplices(CGAL::Delaunay_d<R_, Lifted_R_>::Delaunay_voronoi_kind) const [with R_ = CGAL::Cartesian_d<double, CGAL::Linear_algebraCd<double, std::allocator<double> > >, Lifted_R_ = CGAL::Cartesian_d<double, CGAL::Linear_algebraCd<double, std::allocator<double> > >]'
| cmake/platforms/i686_Linux-2.6_g++-4.3.3_CentOS-5.1-O2/test/Convex_hull_d/delaunay_d-test.cpp:74: instantiated from here
| include/CGAL/Delaunay_d.h:229: warning: suggest parentheses around && within ||
| include/CGAL/Delaunay_d.h: In member function 'CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_iterator& CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_iterator::operator++() [with R_ = CGAL::Homogeneous_d<CGAL::Gmpz, CGAL::Linear_algebraHd<CGAL::Gmpz, std::allocator<CGAL::Gmpz> > >, Lifted_R_ = CGAL::Homogeneous_d<CGAL::Gmpz, CGAL::Linear_algebraHd<CGAL::Gmpz, std::allocator<CGAL::Gmpz> > >]':
| include/CGAL/Delaunay_d.h:1011: instantiated from 'std::list<typename CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_handle, std::allocator<typename CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_handle> > CGAL::Delaunay_d<R_, Lifted_R_>::all_simplices(CGAL::Delaunay_d<R_, Lifted_R_>::Delaunay_voronoi_kind) const [with R_ = CGAL::Homogeneous_d<CGAL::Gmpz, CGAL::Linear_algebraHd<CGAL::Gmpz, std::allocator<CGAL::Gmpz> > >, Lifted_R_ = CGAL::Homogeneous_d<CGAL::Gmpz, CGAL::Linear_algebraHd<CGAL::Gmpz, std::allocator<CGAL::Gmpz> > >]'
| cmake/platforms/i686_Linux-2.6_g++-4.3.3_CentOS-5.1-O2/test/Convex_hull_d/delaunay_d-test.cpp:162: instantiated from here
| include/CGAL/Delaunay_d.h:229: warning: suggest parentheses around && within ||
| include/CGAL/Delaunay_d.h: In constructor 'CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_iterator::Simplex_iterator(CGAL::Delaunay_d<R_, Lifted_R_>*, typename CGAL::Convex_hull_d<Lifted_R_>::Simplex_iterator, CGAL::Delaunay_d<R_, Lifted_R_>::Delaunay_voronoi_kind) [with R_ = CGAL::Cartesian_d<double, CGAL::Linear_algebraCd<double, std::allocator<double> > >, Lifted_R_ = CGAL::Cartesian_d<double, CGAL::Linear_algebraCd<double, std::allocator<double> > >]':
| include/CGAL/Delaunay_d.h:575: instantiated from 'CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_iterator CGAL::Delaunay_d<R_, Lifted_R_>::simplices_begin(CGAL::Delaunay_d<R_, Lifted_R_>::Delaunay_voronoi_kind) [with R_ = CGAL::Cartesian_d<double, CGAL::Linear_algebraCd<double, std::allocator<double> > >, Lifted_R_ = CGAL::Cartesian_d<double, CGAL::Linear_algebraCd<double, std::allocator<double> > >]'
| include/CGAL/Delaunay_d.h:1011: instantiated from 'std::list<typename CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_handle, std::allocator<typename CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_handle> > CGAL::Delaunay_d<R_, Lifted_R_>::all_simplices(CGAL::Delaunay_d<R_, Lifted_R_>::Delaunay_voronoi_kind) const [with R_ = CGAL::Cartesian_d<double, CGAL::Linear_algebraCd<double, std::allocator<double> > >, Lifted_R_ = CGAL::Cartesian_d<double, CGAL::Linear_algebraCd<double, std::allocator<double> > >]'
| cmake/platforms/i686_Linux-2.6_g++-4.3.3_CentOS-5.1-O2/test/Convex_hull_d/delaunay_d-test.cpp:74: instantiated from here
| include/CGAL/Delaunay_d.h:213: warning: suggest parentheses around && within ||
| include/CGAL/Delaunay_d.h: In constructor 'CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_iterator::Simplex_iterator(CGAL::Delaunay_d<R_, Lifted_R_>*, typename CGAL::Convex_hull_d<Lifted_R_>::Simplex_iterator, CGAL::Delaunay_d<R_, Lifted_R_>::Delaunay_voronoi_kind) [with R_ = CGAL::Homogeneous_d<CGAL::Gmpz, CGAL::Linear_algebraHd<CGAL::Gmpz, std::allocator<CGAL::Gmpz> > >, Lifted_R_ = CGAL::Homogeneous_d<CGAL::Gmpz, CGAL::Linear_algebraHd<CGAL::Gmpz, std::allocator<CGAL::Gmpz> > >]':
| include/CGAL/Delaunay_d.h:575: instantiated from 'CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_iterator CGAL::Delaunay_d<R_, Lifted_R_>::simplices_begin(CGAL::Delaunay_d<R_, Lifted_R_>::Delaunay_voronoi_kind) [with R_ = CGAL::Homogeneous_d<CGAL::Gmpz, CGAL::Linear_algebraHd<CGAL::Gmpz, std::allocator<CGAL::Gmpz> > >, Lifted_R_ = CGAL::Homogeneous_d<CGAL::Gmpz, CGAL::Linear_algebraHd<CGAL::Gmpz, std::allocator<CGAL::Gmpz> > >]'
| include/CGAL/Delaunay_d.h:1011: instantiated from 'std::list<typename CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_handle, std::allocator<typename CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_handle> > CGAL::Delaunay_d<R_, Lifted_R_>::all_simplices(CGAL::Delaunay_d<R_, Lifted_R_>::Delaunay_voronoi_kind) const [with R_ = CGAL::Homogeneous_d<CGAL::Gmpz, CGAL::Linear_algebraHd<CGAL::Gmpz, std::allocator<CGAL::Gmpz> > >, Lifted_R_ = CGAL::Homogeneous_d<CGAL::Gmpz, CGAL::Linear_algebraHd<CGAL::Gmpz, std::allocator<CGAL::Gmpz> > >]'
| cmake/platforms/i686_Linux-2.6_g++-4.3.3_CentOS-5.1-O2/test/Convex_hull_d/delaunay_d-test.cpp:162: instantiated from here
| include/CGAL/Delaunay_d.h:213: warning: suggest parentheses around && within ||
|
| ------------------------------------------------------------------------
| r58181 | lrineau | 2010-08-20 12:11:35 +0200 (Fri, 20 Aug 2010) | 3 lines
| Changed paths:
| M /branches/CGAL-3.7-branch/Installation/test/Installation/link_to_CGAL_Qt4.cpp
|
| Fix a warning:
| test/Installation/link_to_CGAL_Qt4.cpp:11: warning: the address of 'f' will never be NULL
|
| ------------------------------------------------------------------------
| r58182 | lrineau | 2010-08-20 12:15:14 +0200 (Fri, 20 Aug 2010) | 3 lines
| Changed paths:
| M /branches/CGAL-3.7-branch/Jet_fitting_3/include/CGAL/Monge_via_jet_fitting.h
|
| Fix a warning:
| include/CGAL/Monge_via_jet_fitting.h:425: warning: comparison between signed and unsigned integer expressions
|
| ------------------------------------------------------------------------
| r58183 | lrineau | 2010-08-20 12:19:36 +0200 (Fri, 20 Aug 2010) | 4 lines
| Changed paths:
| M /branches/CGAL-3.7-branch/Min_circle_2/include/CGAL/Min_circle_2.h
| M /branches/CGAL-3.7-branch/Min_circle_2/test/Min_circle_2/test_Min_circle.cpp
|
| Fix warnings:
| "comparison between signed and unsigned integer expressions"
| and "unsigned is always >= 0"
|
| ------------------------------------------------------------------------
| r58184 | lrineau | 2010-08-20 12:22:35 +0200 (Fri, 20 Aug 2010) | 2 lines
| Changed paths:
| M /branches/CGAL-3.7-branch/Min_ellipse_2/test/Min_ellipse_2/test_Min_ellipse_2.cpp
|
| Fix warnings about comparison between signed and unsigned.
|
| ------------------------------------------------------------------------
2010-08-20 12:57:32 +00:00
Marc Glisse
6ea5914309
Import fix for narrowing conversions from the relevant LWG issue
2010-07-08 09:12:23 +00:00
Laurent Rineau
b122410e54
Fix a warning (unused parameter).
2010-06-29 12:37:23 +00:00
Sébastien Loriot
26dcdbcba2
removed non-need copy constructor added to drop_or_dispatch_output_iterator
...
in revision 56902
2010-06-21 09:48:18 +00:00
Sébastien Loriot
d9a4f82a66
add copy constructor to Dispatch and drop output iterators (needed by MSVC10)
...
(only in the non-variadic case for the moment)
2010-06-21 09:19:41 +00:00
Sébastien Loriot
54b0fbc99a
add helper functions tuple_size and tuple_element for CGAL::cpp0x:tuple
...
This is defined in cpp0x and tr1 but not in boost: in case boost::tuple
is used, it relies on internal boost struct.
2010-06-14 16:24:10 +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
Fernando Cacciola
75e7d64cd1
Renamed nested type T to Handled_type to work around VC name-lookup bugs
2010-05-19 13:30:47 +00:00