Commit Graph

17 Commits

Author SHA1 Message Date
Samuel Krempp
41c7c576c7 oops again, got to include <boost/config.hpp> before testing BOOST_NO_STD_LOCALE
[SVN r21908]
2004-01-25 04:23:26 +00:00
Samuel Krempp
a824542ba0 oops, forget workarounds need <locale> to be already included
[SVN r21899]
2004-01-24 19:19:10 +00:00
Samuel Krempp
18785faa01 small modifs :
. removed CompatFoo<CompatFoo< typename > > specializations (maybe msvc will be happy)
. fixed a few non-qualified 'size_t' (thanks cwpro8)
. moved free func boost::io::str(boost::basic_format const&) into boost:: (allows koenig lookup, much more convenient)
. changed the IO_NEEDS_USING_DECLARATION list (is this still required on some compiler ?)

and mostly cosmetic details (shortened //------ .. lines longer than 80 and other unnecessary long lines, changed comments, ..)


[SVN r21892]
2004-01-24 17:33:18 +00:00
Samuel Krempp
beb10ca1cc . added basic_altstringbuf (tailored alternative to std::basic_stringbuf, and works on
gcc-2.95 which doesnt define stringbufs)
  -> alt_sstream.hpp and alt_sstream_impl.hpp
. added a template framework (CompatTraits<>, CompatAlloc<>, CompatOStream) to
  accomodate non-conforming  stdlibs lacking while being transparent on conforming
  platforms. (it allows supporting gcc-2.95)
  -> compat_workarounds.hpp
. replaced basic_format::oss_ by a stringbuf. There was no way to be sure to reset its state fully
  between calls to operator% (because of the stream's xalloc())
  The right way is creating a new stream each time, but re-allocating a buffer each time has
  a big impact
   ->  now basic_format stores a basic_altstringbuf
. more detailed exception classes (added data members to pass pertinant information)
. new source-header with reference to the new Boost license


[SVN r21856]
2004-01-21 11:51:23 +00:00
Samuel Krempp
fc8e9cc73c 1. moved
macros_default.hpp  ->  detail/config_macros.hpp
    macros_stlport.hpp  ->  detail/workarounds_stlport.hpp
    msvc_disambiguater.hpp  ->  detail/msvc_disambiguater.hpp
    workarounds_gcc-2.95.hpp  ->  detail/workarounds_gcc-2.95.hpp
   added  detail/unset_macros.hpp
2. moved outsstream.hpp 's implementation into outsstream_impl.hpp
   And fixed the problem with gcc-2.95 failing to init the stream correctly.


[SVN r19986]
2003-09-10 00:36:27 +00:00
Samuel Krempp
197b805cf1 . use own boost::io::outsstream as a stringstream with clear_buffer() feature
(35% speed-up when reusing format objects with gcc-3)
 and makes it easier to support gcc-2.95
. workarounds for gcc-2.95'sSGI stdlib ( basic_foo<Ch, Tr> classes declared and
  non-defined except a partial specialisation basic_foo<char, Tr>
  which is defined by deriving foo  (foo being ostream, streambuf, ios, ..)
. small clean-ups


[SVN r19975]
2003-09-09 02:51:52 +00:00
Samuel Krempp
8ce2f0eccc . BOOST_BAD_ISDIGIT renamed BOOST_NO_LOCALE_ISDIGIT (this macro was aready the one being checked in the eginning of the file)
[SVN r18009]
2003-03-19 16:50:48 +00:00
Beman Dawes
f3cf9dd35a Borland fix from Alisdair Meredith
[SVN r18007]
2003-03-19 14:12:21 +00:00
Samuel Krempp
521f8a30cc minor diff. (include <locale> when possible, even if BAD_IS_DIGIT)
[SVN r17218]
2003-02-05 00:46:01 +00:00
Samuel Krempp
3c23a8620c . Now using BOOST_WORKAROUND. renamed local macros, and checked they are not already defined.
. Borland does not support 'non-const-overloads' correctly  (triggers warnings, temporaries being used).  So this feature is now disabled for borland.


[SVN r17216]
2003-02-05 00:16:52 +00:00
Samuel Krempp
cd65597040 . replaced <cassert> assert's by <boost/assert.hpp> 's BOOST_ASSERT
. wrapped calls to std::isdigit, and call <ctype.h> 's isdigit instead, if necessary.


[SVN r17176]
2003-02-03 15:43:25 +00:00
Beman Dawes
6706baa2c4 add or update See www.boost.org comments
[SVN r16708]
2002-12-27 16:51:53 +00:00
Samuel Krempp
10b4f55cdc replaced format_config.hpp by macros_stl.hpp and macros_default.hpp, and began switching to 'angle includes'
[SVN r16502]
2002-12-03 23:50:03 +00:00
Samuel Krempp
e7199ada9b merge from RC_1_29_0 branch
( removed "$Id$" from header comments,  and hunted down two tabs)


[SVN r15849]
2002-10-10 11:17:19 +00:00
Dave Abrahams
00fda18017 Fix unversioned VC++ checks
[SVN r14436]
2002-07-13 12:26:19 +00:00
Samuel Krempp
062198b94a . used std::streamsize instead of int where needed.
. added format_config.hpp and BOOST_IO_STD macro to deal with STLport
(which does not accept 'std::' in 'std::basic_stream<..>' )
as suggested by Markus Schöpflin <markus.schoepflin@ginit-technology.com>


[SVN r14162]
2002-06-17 17:29:43 +00:00
Samuel Krempp
c2acd377bf initial commit
[SVN r14002]
2002-05-22 11:56:47 +00:00