Commit Graph

147 Commits

Author SHA1 Message Date
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
Andreas Fabri 9ab541b052 Use boost::shared_ptr to avoid a memory leak 2013-11-19 10:28:51 +01:00
Andreas Fabri c4202a9e0c Instead of if (! map::find()) {map::insert()} we call just map::insert()
as it returns a pair with a bool if it really inserted something
2013-09-27 15:16:02 +02:00
Andreas Fabri abdbe0f74d Replace std::map[key] = value with std::map_insert(make_pair(key,value0)
as VC++ in debug mode makes too expensive checks
which results in a timeout in the testsuite
2013-09-27 11:09:46 +02:00
Andreas Fabri 6f08686b71 obvious fix in an unused function 2013-02-27 13:55:06 +01:00
Sébastien Loriot 82b2ebc865 apply the cpp0x namespace renaming in all files 2012-12-19 11:33:17 +01: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
Laurent Rineau dc91170ac8 Remove unused variables 2012-01-23 08:09:05 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Andreas Fabri 0555f1133b const static int is illegal 2011-06-30 22:17:00 +00:00
Andreas Fabri 7578d859d9 const static int is illegal 2011-06-30 22:16:29 +00:00
Nico Kruithof 3131d6b592 Added an example to show how to retrieve the weighted points that define a face of the polyhedron 2011-02-10 20:38:46 +00:00
Nico Kruithof a389c224a5 Cleaning up typedefs 2011-01-09 11:47:58 +00:00
Sébastien Loriot 10cc7ed3b5 correct mixed up indices in precondition 2010-12-29 09:59:53 +00:00
Nico Kruithof 7ea41f049b Fixing a bug when referencing the point of the infinite vertex. 2010-12-07 09:46:17 +00:00
Nico Kruithof 8364150a57 Fixing the Skin surface package for kernels other than the EPIC-kernel. 2010-11-30 20:34:12 +00:00
Andreas Fabri 05a4d4abd4 Remove unused variables 2010-11-12 09:06:27 +00:00
Laurent Rineau 9277a77b72 Fix all svn:keywords in */include/ 2010-10-04 11:00:27 +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
Nico Kruithof d8cfbae694 Resolving errors reported by the Intel compiler and LLVM 2010-05-20 19:04:35 +00:00
Andreas Fabri 6e35884d9f Remove unused constructor which does not initialize a reference data member and is hence buggy (discovered by Intel) 2010-05-20 07:44:17 +00:00
Nico Kruithof 33e9b04848 Removed an unused and non-ansi-compliant constructor 2010-05-11 06:06:51 +00:00
Andreas Fabri e859f43641 Switch from CGAL::Random to boost::rand48 as T3 did so 2010-01-27 08:20:18 +00:00
Andreas Fabri 65e3ff529b Just FK would be nicer, but VC 2005 messes it up with an FK in a base class when compiling degenerate_test.cpp 2010-01-22 12:28:06 +00:00
Andreas Fabri d8c72fb5c5 VC mixup 2010-01-21 17:05:19 +00:00
Laurent Rineau 83912b2952 Massive fix of svn:keywords properties, and $URL$ keyword. 2009-10-20 08:59:26 +00:00
Sébastien Loriot 11d8010174 updates according to the modification of regular_3 traits 2009-10-19 14:29:50 +00:00
Sylvain Pion f0ed774e37 Move CGAL::array to namespace CGAL::cpp0x, like tuple. 2009-04-30 14:03:52 +00:00
Andreas Fabri 78982e2575 Protection is outside the try block as VC8 has the CGAL_CFG_FPU_ROUNDING_MODE_UNWINDING_VC_BUG 2008-10-23 13:10:00 +00:00
Andreas Fabri 330f35b0ed Protection is outside the try block as VC8 has the CGAL_CFG_FPU_ROUNDING_MODE_UNWINDING_VC_BUG 2008-10-23 13:06:38 +00:00
Sylvain Pion a0be560caa New profiling tool : Profile_branch_counter, that improves the display
of failure/calls ratios.  With the corresponding macro CGAL_BRANCH_PROFILER().
2008-09-08 09:52:37 +00:00
Sylvain Pion 44c185f1f4 Rename boost::array to CGAL::array. 2008-08-26 13:15:21 +00:00
Sylvain Pion 53f5c9679b Add a using directive "using std::array" in namespace CGAL to import either:
- C++0x's std:array from <array>
- TR1's std::tr1::array from <tr1/array>
- boost::array from <boost/array.hpp>
Motivation : GCC's std::array is faster than boost::array.

Move CGALi:make_array to namespace CGAL.

Document CGAL::array.
2008-08-26 13:08:16 +00:00
Sylvain Pion a8e8ecfdcf Replace Interval_nt_advanced::unsafe_comparison by Uncertain_conversion_exception.
(it was alrady the same type, but now the filtering code can be independent on Interval_nt_advanced
(think other interval types, or other types of filters).
2008-07-31 13:31:26 +00:00
Sylvain Pion 97929b6bd2 Replace is_indeterminate() by !is_certain() 2008-07-30 12:40:57 +00:00
Sylvain Pion 240892f892 Replace CGAL::Triple by boost::array. 2008-07-25 14:59:27 +00:00
Sylvain Pion 79864c0c8e Remove Arity_tag. 2008-07-22 12:29:01 +00:00
Nico Kruithof 608521f6db Fixed missing include files and removed the beginning of the link to the delaunay mesher. 2008-06-27 13:06:20 +00:00
Nico Kruithof b996234336 Fixed a bug while meshing the union of a set of balls. The implicit function was 0. 2008-03-19 07:50:34 +00:00
Nico Kruithof 86fd3693c7 Removed unreacheable statement that a compiler was complaining about 2008-01-14 07:22:49 +00:00
Sylvain Pion ac54df3371 Fix typo in include file name 2008-01-12 20:47:06 +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
Sylvain Pion ab2310307d Update following renaming EK -> Exact_kernel and FK -> Approximate_kernel. 2007-09-07 09:53:56 +00:00
Nico Kruithof 03f98cabf2 The orientation predicate in the triangulated mixed complex is now
exact (reverts to exact computations if necessary)
2007-08-07 12:01:50 +00:00
Sylvain Pion bf2c16406e Rename argument to avoid shadowing warning. 2007-04-18 08:57:53 +00:00
Nico Kruithof 4d3ddf66ab Removed a warning. 2007-04-12 06:54:30 +00:00
Nico Kruithof fd7fd56545 Found a typo 2007-04-05 11:32:27 +00:00
Nico Kruithof b6969fe13c Found some typo's in the documentation and removed two warnings 2007-04-04 12:25:05 +00:00
Nico Kruithof d0336b4c2f A template specialisation was not matched and the optimised code was therefore not executed. 2007-04-02 07:55:15 +00:00
Nico Kruithof 53dbdfebea Removing warning 2007-03-26 11:43:04 +00:00