Commit Graph

210 Commits

Author SHA1 Message Date
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 a0588f219f typos 2012-06-15 09:55:26 +00:00
Philipp Möller d3ee04897c merged next 2012-05-09 13:50:00 +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
Philipp Möller 0c5b3fcf85 WARNINGFIX: Nef_2 is no longer triggering a "suggest parenthesis" 2012-04-16 16:21:21 +00:00
Philipp Möller 8f1ce2412c Removed all places where the CGAL_CFG_NO_TMPL_IN_TMPL work-around was
used. Those were mostly in Polyhedron and HalfedgeDS but some places
in Arrangement_2 used it, too. Neither of the parts of Arrangement_2
have been documented.
2012-04-13 13:13:30 +00:00
Laurent Rineau 6824cd0605 Remove an unused variable 2012-01-31 15:11:10 +00:00
Laurent Rineau 29d617e712 Cosmetic change: add a space after the license, to be compatible
with the output of licensecheck
2012-01-16 15:56:10 +00:00
Laurent Rineau a37c74d534 Add license files, per package 2012-01-16 15:54:22 +00:00
Laurent Rineau 2af2160942 Turn \ccLicenseQPL into \ccLicenseGPL 2012-01-13 17:13:55 +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 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
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 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 fdb7ea6c6b prepare ccPkgHowToCiteCgal for CGAL-3.10 (in 2012) 2011-09-28 16:15:05 +00:00
Philipp Möller f9b288db90 Merged branch ^/branches/features/gsoc2011-copy_n-pmoeller.
Small feature page: https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Replace_copy_n
2011-08-26 14:34:10 +00:00
Laurent Rineau 369498d1e5 Cancel revision 64607. There had been a problem with the branch.
| ------------------------------------------------------------------------
  | r64607 | efif | 2011-07-05 17:27:04 +0200 (Tue, 05 Jul 2011) | 1 line
  | 
  | Merged feature-branch Aos_2-new_functors-tau into next
  | ------------------------------------------------------------------------
2011-07-06 11:11:58 +00:00
Sébastien Loriot ca13392880 CGAL -> \cgal\ 2011-05-30 12:36:57 +00:00
Laurent Rineau 3c02e07b23 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.
2011-04-28 17:45:22 +00:00
Laurent Rineau c97205f085 Global handling of CMake policies (second part)
We declare 
  cmake_minimum_required(VERSION 2.6.2)
but we also use
  cmake_policy(VERSION 2.8.4)
to declare that our CMake scripts are OK with all the defaults of CMake policies
as of CMake-2.8.4. That shuts down the warnings of CMake-2.8.4.

That way, we no longer need any declaration of specific policies.

Those two lines must be present and maintained in all our CMakeLists.txt
files (the one for the libraries, and also the one for examples and demos,
and maybe tests).
2011-04-28 10:55:56 +00:00
Laurent Rineau 0631943153 Uniform capitalization in our CMake script: use lowercase for commands 2011-04-28 10:36:18 +00:00
Laurent Rineau ca5c92e034 Global maintenance of CMakeLists.txt: CMake minimal version is -2.6.2
The documentation of CGAL says that the minimal version of CMake must be
CMake-2.6.2.
  - change cmake_minimum_required to VERSION 2.6.2
  - no longer any need for the policy CMP0003 (was for 2.4.x)
  - no longer any need for CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS (was for 2.4)
2011-04-27 17:58:27 +00:00
Sébastien Loriot 8ce2048aea add #include<CGAL/config.h> before any directive CGAL_USE_* 2011-03-02 18:52:57 +00:00
Sébastien Loriot 0d4dba11fa temporary fix of geninfo that avoid an aliasing problem. The solution chosen is probably slower but safe.
Will for a better fix after the release.
2011-02-25 16:24:10 +00:00
Sébastien Loriot a155b2c4da remove warnings 2011-02-25 15:16:21 +00:00
Laurent Rineau da95064578 Update the \ccPkgHowToCiteCgal tag for CGAL-3.8 (2011). 2011-02-24 15:21:10 +00:00
Andreas Fabri ddb18cceb2 Add parenthesis to quiet vlang and increase code readability 2010-12-07 10:18:51 +00:00
Andreas Fabri 087b2d2ce0 Add parenthesis to quit down clang and have more readable code 2010-12-06 14:58:54 +00:00
Andreas Fabri c6f3973dd6 Add missing #include 2010-09-08 06:03:52 +00:00
Andreas Fabri b2e9dd680c Replace Random with boost 2010-09-07 12:57:15 +00:00
Andreas Fabri 77473d54f3 char* -> QString 2010-08-23 11:50:32 +00:00
Andreas Fabri 0547570e85 char* -> QString 2010-08-23 11:47:55 +00:00
Laurent Rineau cdf0322256 Let's remove all makefiles, now. 2010-08-23 11:03:02 +00:00
Andreas Fabri 7489eee639 try to get rid of warning 2010-08-23 08:22:27 +00:00
Marc Glisse e54d65ec06 Don't rely on the implicit conversion QString -> const char*.
Don't do it on temporaries.
stddef.h missing in qt3 headers.
2010-07-12 10:02:56 +00:00
Laurent Rineau 35a3c17f1e Fix warnings: braces around empty body, and unused parameters. 2010-06-29 12:38:52 +00:00
Andreas Fabri 92a037a450 Some int->size_t. Perform static_cast<int> as Polynomial degree is bound by int not size_t 2010-06-22 09:38:32 +00:00
Sébastien Loriot d53e01f1a1 remove package namespace macro 2010-06-09 08:45:58 +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 9db08e1461 Add using statements for ansi-compliance 2010-05-18 07:19:35 +00:00
Andreas Fabri 38530dd89d Add 'using' for ansi compliance 2010-05-17 07:11:44 +00:00
Andreas Fabri cfc38df79c Add 'using' for ansi compliance 2010-05-16 13:25:15 +00:00
Andreas Fabri a40ea9d137 Add using statements for ansi-compliance 2010-05-13 15:19:34 +00:00
Andreas Fabri 6f7944174d Add 'using' for ansi compliance 2010-05-11 12:05:22 +00:00
Andreas Fabri 13f152b974 Remove unused and unconstructible default constructor 2010-05-10 10:16:44 +00:00
Marc Glisse 8f3d2b6785 cleanup extra ';' 2010-04-24 09:25:11 +00:00
Michael Hemmer 1a3efc713a fix include guard 2010-04-20 07:45:54 +00:00