Commit Graph

228 Commits

Author SHA1 Message Date
Andreas Fabri 7cbffac35b Deal with deprecated functions allocator<T>::construct/destroy 2018-04-17 13:35:04 +01:00
Andreas Fabri fa92aa49f7 Nef 2018-01-18 10:43:57 +00:00
Laurent Rineau f2391a30a5 Merge pull request #2562 from afabri/Filtered_kernel-Do_intersect_2-GF
Add Static Filters for the Exact Construction Kernel
2017-12-19 16:29:53 +01:00
Sébastien Loriot 8cdfad0d08 add missing URL and Id tags 2017-11-15 22:58:57 +01:00
Sébastien Loriot ff26773f7b remove include directive for checking GPL compliance in LGPL headers 2017-11-12 10:21:35 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Sébastien Loriot 97e8ea1794 remove extra space 2017-11-12 10:17:51 +01: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 a2fc6e1830 Make Partition_2 work with g++ 2017-10-30 12:55:21 +01:00
Marc Glisse 1b77180e62 Qualify call to CGAL::sign. 2017-07-21 11:20:10 +02:00
Sébastien Loriot 50510c05ea add include directive for license of all GPL header files
done using:
ack-grep "^GPL" */package_info/*/license.txt -l | awk -F "/" '{print $1}' > /tmp/gpl_packages
for i in `cat /tmp/gpl_packages | \
          grep -v Operations_on_polyhedra | \
          grep -v Algebraic_kernel_for_circles | \
          grep -v Algebraic_kernel_for_spheres | \
          grep -v Polyhedron_IO`;
do
  echo $i
  python Scripts/developer_scripts/add_license_in_pkg_header.py $i
done
python Scripts/developer_scripts/add_license_in_pkg_header.py Operations_on_polyhedra Polygon_mesh_processing
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_circles Circular_kernel_2
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_spheres Circular_kernel_3
python Scripts/developer_scripts/add_license_in_pkg_header.py Polyhedron_IO Polyhedron
2017-01-19 15:20:25 +01:00
Andreas Fabri bc8e29b025 Split the file CGAL/Nef_3/ID_support_handler in two files,
one with the generic function, one with the specialization used by Nef_3.
2016-09-30 15:23:15 +02:00
Laurent Rineau 0c690014b7 Remove all usage of CGAL_LEDA_VERSION
Now, LEDA version >= 6.0 is required if `CGAL_USE_LEDA` is toggled.
2016-08-25 14:38:16 +02:00
Sébastien Loriot 07a7f569d5 Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch' into HEAD 2016-05-26 16:07:27 +02:00
Sebastien Loriot 7235206dcd comment doc in code 2016-05-26 16:04:45 +02:00
Andreas Fabri beb1417477 remove unused header files; remove commented includes; changed include paths 2016-02-15 14:20:12 +01:00
Andreas Fabri 99b4e2f150 more CGAL_USE and some reindentations 2016-01-21 10:22:20 +01:00
Simon Giraudot f21cb46900 Remove deprecated "register" keyword 2015-12-17 08:20:56 +01:00
Sebastien Loriot 2e493f297b Merge pull request #389 from afabri/CGAL-Qt3-GF
Remove Qt3 based demos
2015-10-23 17:08:49 +02:00
Sébastien Loriot 4787bda61f remove documented widget based on Qt3 2015-10-05 15:20:06 +02:00
Guillaume Damiand cf1c0ea0ca Merge branch 'CGAL_headers_only-gdamiand_cjamin-OLD' into CGAL_headers_only-gdamiand_cjamin 2015-10-01 09:12:55 +02:00
Laurent Rineau 91bca286d3 Fix warnings with CGAL_USE
All those variables were unused only if CGAL_NDEBUG was
defined. CGAL_USE can solve that.
2015-08-19 17:37:46 +02:00
Sébastien Loriot 84d82c3a8e fix unused variable warnings 2015-07-16 10:15:33 +02:00
Guillaume Damiand ef550fd3bb Ok for first version. 2014-11-14 17:22:06 +01:00
Laurent Rineau 495ed0b6ab Merge remote-tracking branch 'origin/CGAL-Less_warnings-GF'
Fix various warnings.

Tested in CGAL-4.5-Ic-97. Approved by the Release Manager.
2014-07-16 17:48:56 +02:00
Andreas Fabri 2c8b9e7cd4 initialize pointer with 0 2014-07-03 14:59:59 +02:00
Sébastien Loriot 251a9d8446 fixes for tests to use leda and not gmp 2014-06-19 14:29:20 +02:00
Andreas Fabri 6c547e5663 Mainly added includes 2013-09-13 22:24:30 +02:00
Laurent Rineau 403031ce7f Fix warnings 2013-02-27 18:21:24 +01:00
Philipp Möller 3ee98b11ea Leave a warning to the next person that comes across this 2013-02-08 00:27:48 +01:00
Sébastien Loriot 82b2ebc865 apply the cpp0x namespace renaming in all files 2012-12-19 11:33:17 +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
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
Laurent Rineau db194534c7 First big patch to fix -Wunused-local-typedefs
-Wunused-local-typedefs is a new warning flag of gcc-4.7, and it will enabled
 by -Wall since gcc-4.8 (not yet released).

The fix is a big set of removals of unused typedefs (or comments, or moves,
depending on the context).
2012-08-01 13:29:16 +00:00
Sébastien Loriot 8bb75c0586 actually there was two nested macros... 2012-04-19 07:06:00 +00:00
Sébastien Loriot 44853585b7 too naive replacement: do not use nested macros 2012-04-18 06:59:22 +00:00
Sébastien Loriot 24070082f6 *deprecate the use of geninfo
*naive replacement of void* and geninfo by boost::any.
*old code can be used if CGAL_I_DO_WANT_TO_USE_GENINFO is defined
*info was printed, I simply ignored that for boost::any 
 (it probably made sense why the old implementation of geninfo that was using placement new to write
  inside the void*)
*some sizeof(void*) was used in SNC_structure.h for printing the size of something.
 I guessed this was related to the void* used as info. I left that code untouched.
*testsuite is OK on my machine except Nef_3/example/Nef_3/polygon_construction which also
 does not work with next on my machine
2012-04-17 18:18:09 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Laurent Rineau 5b5dd33848 merge changes from next 2012-01-09 12:33:39 +00:00
Laurent Rineau 07be7f49a5 Include <CGAL/glu.h> where needed 2011-11-09 22:45:52 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Sébastien Loriot 675814c5f8 normalized plane now first check if FT is a fraction 2011-09-01 13:26:45 +00:00
Sébastien Loriot 1d2c334e61 BUGFIX:
revert parts of modifications done in r58343, r58233, r58232
  The constness problem fixed by the aforementioned modifications
  was induced by a non-used function that I commented.
2011-06-01 13:47:17 +00:00
Eric Berberich eb7a5ed11e branch-build is now HOT on next ;-) 2011-04-15 09:12:06 +00:00
Andreas Fabri d205e31a62 Add parenthesis to quit clang and get more readable code 2010-12-06 15:01:15 +00:00
Andreas Fabri f97bd7a64a Move unused variable inside the #if 0 block where it is used 2010-11-12 08:36:32 +00:00
Laurent Rineau e14ec20c4b Move the declaration/definition of convert before its uses. 2010-09-22 16:29:52 +00:00
Laurent Rineau 6963eef49c Move the declaration/definition of convert before its uses. 2010-09-22 16:26:33 +00:00
Andreas Fabri 3de348a9d0 Add missing #include 2010-09-08 06:04:07 +00:00
Andreas Fabri 525b76b928 Replace Random with boost 2010-09-07 12:59:47 +00:00
Andreas Fabri f30471cb1f Add typedef for SFace_const_handle 2010-08-29 16:30:21 +00:00
Andreas Fabri 42d3fa3562 const handles instead of handles 2010-08-23 13:30:21 +00:00
Andreas Fabri 9456c0815d Added using statements and declared locate const 2010-08-23 12:34:24 +00:00
Laurent Rineau 35a3c17f1e Fix warnings: braces around empty body, and unused parameters. 2010-06-29 12:38:52 +00:00
Andreas Fabri a83c6a6d00 int -> size_t 2010-06-28 08:28:04 +00:00
Andreas Fabri 9c90032656 int -> size_t 2010-06-25 08:27:45 +00:00
Andreas Fabri b2ae121d76 int -> size_t 2010-06-23 15:07:14 +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
Andreas Fabri 9c6ac44025 Add using statements for ansi-compliance 2010-05-13 13:54:18 +00:00
Sébastien Loriot 0efc95342c revert part of commit r56130 that was responsible
for red test-suite of Nef3, Convex_decomposition_3, Polyhedron_demo and Nef_3*
2010-05-13 11:00:32 +00:00
Andreas Fabri 17bdd579db Add 'using' for ansi compliance 2010-05-11 13:09:12 +00:00
Andreas Fabri a9685365e4 Add 'using' for ansi compliance 2010-05-11 13:04:53 +00:00
Andreas Fabri 46d7de54b1 Add 'using' for ansi compliance 2010-05-11 12:55:56 +00:00
Andreas Fabri ab745f1a39 function is not const 2010-05-11 12:32:53 +00:00
Sylvain Pion 85dc12f2a7 Remove empty lines at beginning and end of files
(apply Scripts/developer_scripts/remove_empty_lines.pl).
2010-02-01 12:55:28 +00:00
Laurent Rineau 83912b2952 Massive fix of svn:keywords properties, and $URL$ keyword. 2009-10-20 08:59:26 +00:00
Sylvain Pion 1ac605c947 Replace Nef_S2's CGAL::Tuple by cpp0x::array. 2009-05-01 12:07:15 +00:00
Peter Hachenberger 4ec5cc575c small bug fix - used wrong variable 2008-12-10 23:05:46 +00:00
Andreas Fabri e022a80af5 Don't use deprecated functions internally 2008-11-02 20:34:48 +00:00
Pierre Alliez 7287c68d75 Nef_S2: remove attempt to remove OpenGL warnings 2008-10-14 11:02:44 +00:00
Peter Hachenberger 619ea45808 added some make_object calls, which were still missing 2008-09-10 17:39:05 +00:00
Sylvain Pion 6aba449434 Replace Nef's custom Object_handle by CGAL::Object.
There were some differences :
- CGAL::Object has no template constructor, so using make_object() was required.
- CGAL::Object had no comparison with NULL to check emptyness.  I added
  such comparison operators to CGAL::Object as *deprecated*.
2008-09-09 16:03:25 +00:00
Peter Hachenberger 300aa8751c remove warning about ambiguous brackets 2008-07-30 09:39:43 +00:00
Peter Hachenberger cda090b2ae removed inclusion problems 2008-07-26 20:26:48 +00:00
Peter Hachenberger 29bc1390df Optimization turned of when loop is present. Degenerate case
gave problems
2008-07-14 22:19:00 +00:00
Peter Hachenberger 7ad5c01f32 io support for Nef_S2 2008-07-14 18:58:13 +00:00
Peter Hachenberger 10433152f9 corrected <<operator 2008-07-14 18:57:14 +00:00
Peter Hachenberger 422e8279a3 additional traces 2008-06-27 11:19:56 +00:00
Peter Hachenberger 3402a57298 removed functions info(SHalfloop_handle) 2008-06-27 11:18:28 +00:00
Peter Hachenberger bfd8ea2eac added namespace 2008-06-27 11:17:26 +00:00
Peter Hachenberger acbb15c13f use number type conversion 2008-06-27 10:04:22 +00:00
Peter Hachenberger e0595a0490 bug fix 2008-06-16 11:09:21 +00:00
Peter Hachenberger 7c41599488 adjusted reading 2008-01-17 15:34:18 +00:00
Peter Hachenberger 0ec77d9780 additional parameter for optimization issues 2008-01-16 15:57:31 +00:00
Sylvain Pion fd0df56ebd Get rid of some eternally commented debug code at global scope ::MSDEBUG. 2008-01-12 21:00:11 +00:00
Andreas Meyer 0f941fbcf2 again CGAL_error -> CGAL_error_msg 2007-11-09 15:27:44 +00:00
Andreas Meyer c1d1609af1 replaced CGAL_assertion( false* and CGAL_assertion( 0*
with CGAL_error/CGAL_error_msg
2007-11-08 00:27:20 +00:00
Andreas Meyer fdeedcf8b0 some low level code cleanup. renamed
* CGAL_error to CGAL_error_msg
* introduced a macro CGAL_error()
* added some words about CGAL_error to the developers manual
* renamed most of assert(x) into CGAL_assertion(x)
* renamed exit(x) with x != 0 , CGAL_assertion(false) and assert(false) into CGAL_error
* CORE left untouched, OpenNL changed
2007-11-07 16:51:18 +00:00
Peter Hachenberger 99e9ad30d2 removed ancient bug in locate() 2007-09-21 20:33:49 +00:00
Peter Hachenberger d4eb5e3247 added new helper function split_at 2007-09-11 15:50:18 +00:00
Peter Hachenberger 1f8a68ea1b final adaptations to the new indexed_items 2007-08-01 11:58:52 +00:00
Peter Hachenberger 13dcfb940e using integral_division enables the use of MP_float 2007-08-01 11:48:25 +00:00
Fernando Cacciola 6189c4f670 Merged back from 3.3-branch 2007-06-06 16:11:12 +00:00
Peter Hachenberger 3b6c45efa6 removed warnings 2007-04-17 07:29:00 +00:00
Peter Hachenberger 38712a8584 removed some warnings 2007-04-16 16:56:26 +00:00
Peter Hachenberger 418950e953 explicit initialization of Base class 2007-04-16 16:38:25 +00:00
Peter Hachenberger c7b22268be bug fix for indexed items 2007-04-12 10:31:22 +00:00
Peter Hachenberger 395ca9146c fixed bugs in ray_shoot() 2007-04-12 10:30:33 +00:00
Andreas Fabri 279d5d408b remove unused parameter 2007-04-06 08:56:24 +00:00
Peter Hachenberger 4fec5dbc53 removed wrong assertions 2007-03-28 13:03:14 +00:00
Andreas Fabri 06a2a3fc0b Removed unused parameters 2007-03-26 07:45:54 +00:00
Joachim Reichel 876652347a change license to LGPL as the file is used during the build of libCGALQt 2007-03-20 20:33:56 +00:00
Andreas Fabri 37f581bd75 removed unused parameters 2007-03-19 09:13:00 +00:00
Andreas Fabri 7f4c5cc311 removed unused parameters 2007-03-19 09:05:53 +00:00
Andreas Fabri 188cf9590f Added pragma to suppress warning, plus cleanup 2007-03-15 16:40:37 +00:00
Sylvain Pion 5d8d4c8dec Constify check_sep(). 2007-03-10 12:49:21 +00:00
Sylvain Pion cb7784aa01 Replace the 7 partners by only MPI as copyright owner.
This probably came from a copy-paste of Qt_widget, which is INRIA only (post-GALIA).
2007-03-07 12:01:28 +00:00
Sylvain Pion 54bafcf4c4 Add missing CGAL:: qualifications required by g++ 4.3 2007-03-05 16:20:47 +00:00
Peter Hachenberger 1ec1a530f8 - hopefully gets rid of typedef Problems.
- removal of some warnings.
2007-03-02 14:30:25 +00:00
Peter Hachenberger a3923877cf now faster and nicer through effective filtering 2007-02-15 16:03:18 +00:00
Fernando Cacciola 70c736d388 Fixed pending VC8 STL iterator issue 2007-02-06 14:13:24 +00:00
Fernando Cacciola 4bd14fdc4f VC8 STL iterator fixes 2007-01-18 14:08:27 +00:00
Peter Hachenberger 8714bb6f2f changes in the fashion of Plane_3<R> to typename R::Plane_3
in order to guarantee equal types
2006-11-13 13:43:37 +00:00
Andreas Fabri f239012836 suppress VC++ warning 2006-09-14 08:03:44 +00:00
Andreas Meyer 68c3715b5c support for LEDA 5.x (mostly done by Eric Berberich) 2006-08-10 15:14:32 +00:00
Marc Glisse b13e3b5ec0 Last round of missing std:: before 3.2 (Andreas permission) 2006-04-19 16:56:12 +00:00
Peter Hachenberger bf4bf75a6d fixed bug in test whether all svertices
and sedges lie on a common halfsphere.
2006-04-18 16:53:23 +00:00
Peter Hachenberger 9114d93fb2 added CGAL_ to some macros 2006-03-24 13:08:31 +00:00
Peter Hachenberger 01c0239e40 assoc_info was sometimes called for each sface
twice. I have put this functionality in a
separte function to have better control.
2006-03-21 15:44:06 +00:00
Peter Hachenberger 7633956921 inserted missing allocation of info variable 2006-03-21 14:17:47 +00:00
Marc Glisse 9240d225b1 Replace:
typedef B<T> B;
by:
typedef A::B<T> B;
to make sunpro happy.
2006-03-11 18:34:06 +00:00
Marc Glisse 13380ebe5e Add some missing std:: and #include <c*> 2006-02-22 15:22:27 +00:00
Peter Hachenberger 46c91fff24 specialization for leda_rational was buggy 2006-02-17 16:40:20 +00:00
Peter Hachenberger 80d5c57bbc corrected bug in leda_rational specialization/overload 2006-02-16 18:12:49 +00:00
Peter Hachenberger b5147e0888 QPL => LGPL 2006-02-16 15:52:45 +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 622d8838c4 Move packages to trunk root 2006-02-14 08:58:17 +00:00