Commit Graph

597 Commits

Author SHA1 Message Date
Andreas Fabri f05a19035c #include <cctype> for isspace() 2014-12-04 14:22:49 +01:00
Laurent Rineau af90b1d6bc Restore the initial indentation incorrectly modified by this branch 2014-12-04 13:45:26 +01:00
Laurent Rineau 9ef939e1cf Fix Input_rep<double>
- EOF was not handled.
- sscanf may not recognize a double
2014-12-04 13:01:08 +01:00
Andreas Fabri a668af3628 unset the failbit if everything went fine 2014-12-03 19:08:57 +01:00
Andreas Fabri 679f6de9b7 As the exponent can be negative we have to check for '-' too 2014-11-30 23:00:17 +01:00
Andreas Fabri a1a0f5c17d Input_rep<double> now reads a string (0-9eE\.)* 2014-11-27 11:14:52 +01:00
Andreas Fabri 2916850771 use iformat for reading doubles 2014-11-26 16:53:50 +01:00
Andreas Fabri f50bbd72c4 Use iformat and Input_rep<double> instead of an additional function 2014-11-24 17:10:46 +01:00
Andreas Fabri 36f1514957 Add a generic template function extract(istream&, T&) 2014-11-13 20:34:58 +01:00
Guillaume Damiand e8fe29c79c Ok for the compilation version header only (only for the treated files). 2014-10-31 17:09:48 +01:00
Guillaume Damiand 15b1cfdcb7 Color_impl and io_impl ok 2014-10-30 19:37:47 +01:00
Guillaume Damiand 5895d2b9e0 Add io_impl 2014-10-30 18:51:03 +01:00
Guillaume Damiand 1182319f5d Redo all the modifs to remove all the cpp files from cgal.
First step where all the XXX.cpp are copied into XXX_impl.h files.
The macro CGAL_HEADER_ONLY allows to know if impl files need to be
included or not into header files; and allow to decide if functions are
in impl files are inline or not.

Next step: process with static variables for the header only version.
2014-10-30 16:05:22 +01:00
Andreas Fabri c537e4ed64 Use the workaround only for VC++ and only starting from VC10 2014-04-11 16:51:04 +02:00
Andreas Fabri afdeb14bd7 Add a replacement for operator>>(istream&, double&) 2014-04-10 13:10:41 +02:00
Laurent Rineau a04891ff93 WARNFIX: fix some warnings triggered by -Wconversion on g++ 2012-08-09 16:06:54 +00:00
Philipp Möller 88963525b6 Merged iostream into Stream_support 2012-06-22 14:43:58 +00:00
Laurent Rineau 52d230565c Remove files added but not used 2012-04-18 13:43:24 +00:00
Andreas Fabri 9d86cb2ea9 Fix for Windows 'min/max' bug 2012-01-18 10:10:14 +00:00
Laurent Rineau cabc943d53 Missing exports 2011-10-18 16:46:54 +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 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
Philipp Möller 34d6ac52ec Replaced [U]Integer* with boost::[u]int*_t in Polyhedron, Polyhedron_IO and Stream_support 2011-06-10 14:51:30 +00:00
Sébastien Loriot 49d3fd8430 correct type y= by z= 2010-12-08 09:43:42 +00:00
Marc Glisse 4174a8cce7 make Ostream_iterator assignable, as befits an output iterator 2010-12-05 09:32:16 +00:00
Andreas Fabri 778420c709 Put std:: before numeric_limits 2010-11-18 10:07:05 +00:00
Andreas Fabri 4372c2f5b3 Initialize huge std::size_t properly and not with -1, which triggers a warning 2010-11-18 09:59:39 +00:00
Marc Glisse 5ac4b18901 Use consistent integer types to avoid warnings. 2010-10-29 13:37:32 +00:00
Laurent Rineau 375baeee10 The badbit is for I/O error, and failbit is for logic errors.
My reference; http://www.cplusplus.com/reference/iostream/ios/clear/
2010-06-28 10:58:52 +00:00
Laurent Rineau a528e215dc ios::fail() is a more general test than bad() 2010-06-28 10:57:58 +00:00
Andreas Fabri 6988668606 Error handling when passing from ptrdiff_t to size_t 2010-06-28 10:53:01 +00:00
Andreas Fabri 63b759a9fd ptrdiff_t -> size_t 2010-06-28 10:51:05 +00:00
Andreas Fabri 124b252def Use istream::bad() 2010-06-28 10:19:08 +00:00
Andreas Fabri 8dc7ff13fb int -> size_t 2010-06-28 08:32:45 +00:00
Andreas Fabri a83ca3c44e int -> size_t 2010-06-25 07:35:33 +00:00
Andreas Fabri 83795f53ca int -> size_t 2010-06-22 13:15:46 +00:00
Andreas Fabri 21c0ba670f Binary OFF format is 32bit, so we have to cast size_t 2010-06-22 11:54:07 +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
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
Andreas Fabri 81cf2e0dde output for polyhedral surfaces 2009-03-16 11:15:49 +00:00
Sylvain Pion 2bdfec6cc0 Removal of remaining protect macros : those protecting other CGAL include files.
Done using the script Scripts/developer_scripts/cgal_conditional_include_remove.
2007-01-24 18:00:30 +00:00
Sylvain Pion fb8595b94e Cleanup : remove ancient CGAL_PROTECT_* macros.
It's the compiler's job to optimize preprocessing time.
2007-01-24 17:16:05 +00:00
Sylvain Pion 2a17eac977 - Remove unused argument name to remove warning in NDEBUG mode.
- Remove protect macros.
2006-03-17 15:50:13 +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 0a531b828d Move packages to trunk root 2006-02-14 08:58:19 +00:00