Commit Graph

149 Commits

Author SHA1 Message Date
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
e5d2827c69 refactored the completely uninteresting headers in ./detail/
[SVN r19985]
2003-09-10 00:29:28 +00:00
Samuel Krempp
bc2bc08695 now doesnt try to use <sstream> on g++ < 3, even if it *is* present.
(using strstream for this cas too is just simpler)


[SVN r19984]
2003-09-09 18:24:51 +00:00
Samuel Krempp
2fc361407f removed 2 useless using declarations, left from debugging.
[SVN r19983]
2003-09-09 18:23:39 +00:00
Samuel Krempp
81e823cae9 small fixes.
. workarounds for gcc-2.95 now depend on __STL_CONFIG_H
. outsstream   'using ' its buffer methods pptr(), etc..


[SVN r19979]
2003-09-09 12:04:28 +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
e56ede40d7 got rid of useless empty string auxiliary objects,
among which a static one was causing problems on some platform.


[SVN r19794]
2003-08-27 03:24:41 +00:00
Dave Abrahams
aa221d4383 Apply patch for GCC 3.3 from larsbj-at-gullik.net (Lars Gullik Bjønnes)
[SVN r19403]
2003-08-02 16:17:48 +00:00
Samuel Krempp
fa2af043a4 string_t::npos , fixes bug report (anonymous SF)
[SVN r18582]
2003-05-28 11:21:49 +00:00
Samuel Krempp
7acdc249e5 fixes bug reported by okuchuk
(truncate bigger than size)


[SVN r18581]
2003-05-28 11:20:49 +00:00
Samuel Krempp
4dad9549a8 there was some BOOST_WORKAROUND( BOOST_MSVC, BOOST_TESTED_AT( 1300) )
removed, now that the vc7.1 beta regressions results are available.


[SVN r18331]
2003-04-29 12:39:07 +00:00
Samuel Krempp
4d5678417b now using BOOST_WORKAROUND in this file too.
[SVN r18309]
2003-04-25 14:08:07 +00:00
Samuel Krempp
ff6321e45b . BOOST_BAD_ISDIGIT renamed BOOST_NO_LOCALE_ISDIGIT (this macro was aready the one being checked in the eginning of
the file)


[SVN r18010]
2003-03-19 16:51:00 +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
9e2c802919 .BOOST_WORKAROUND( _CRAYC ..) for the template functions friend declarations
[SVN r17219]
2003-02-05 01:34:45 +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
f3270702f0 call isdigit after using namespace std, tos upport macro-defined isdigit
[SVN r17217]
2003-02-05 00:42:52 +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
198c0465ff . Now using BOOST_WORKAROUND. renamed local macros, and checked they are not already defined.
. std::swap(string1, string2) replaced by string1.swap(string2).
  it was triggering borland bugs.
. Borland does not support 'non-const-overloads' correctly  (triggers warnings, temporaries being used).
  The non-const reference scheme is now disabled for borland.


[SVN r17215]
2003-02-05 00:15:18 +00:00
Samuel Krempp
734e1155ee . changed wrap_isdigit prototype, avoids trouble with kylix
[SVN r17177]
2003-02-03 15:59:16 +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
Samuel Krempp
4c88b8ee50 made #undef isdigit for everybody, instead of just MSVC.
(got the same macro on Mdk9 g++-3.2, for whatever reason)


[SVN r17172]
2003-02-03 13:27:47 +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
9990e6d4af removed ostream includes (sstream should be enough anyway). swtiched to angle includes.
[SVN r16504]
2002-12-03 23:54:34 +00:00
Samuel Krempp
f0002ac919 split format_config.hpp into 2 macro_XXX headers
[SVN r16503]
2002-12-03 23:52:07 +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
103fd4690f added #ifndef BOOST_NO_STD_LOCALE switches
[SVN r16501]
2002-12-03 23:36:02 +00:00
Samuel Krempp
99edb6799b avoid std::isdigit. Instead :
using namespace std;
[ then call isdigit(..) ]

suggested by feedback from Alisdair Meredith

it might suppress borland 0x560 errors .


[SVN r16500]
2002-12-03 23:31:24 +00:00
Samuel Krempp
f7fb9b5429 split format_config.hpp into 2 macro_XXX headers
[SVN r16499]
2002-12-03 23:26:12 +00:00
Samuel Krempp
93de453c35 changed comments about basic_ios& used just for narrow/widen
[SVN r16495]
2002-12-03 21:36:36 +00:00
Samuel Krempp
badd371c1e codewarrior (and the standard..) need qualified io::out_of_range_bit and others
(suggested by beman)


[SVN r16447]
2002-11-28 01:07:30 +00:00
Samuel Krempp
64b7faf0df refactored feed_args(..) code
[SVN r16445]
2002-11-27 18:03:53 +00:00
Samuel Krempp
76e2bc6bf6 comments changes
[SVN r16431]
2002-11-26 18:01:45 +00:00
Samuel Krempp
63d5714560 renamed do_fill into do_pad,
and comments clarifications


[SVN r16430]
2002-11-26 18:00:19 +00:00
Samuel Krempp
171847868a removed 'û' from the source
[SVN r16423]
2002-11-26 15:46:24 +00:00
Samuel Krempp
9db777270d workaround for BCB5 by Alisdair Meredith : basic_format<Ch, Tr> defines typedefs ChairT for Ch, and Traits for Tr
[SVN r16422]
2002-11-26 15:45:28 +00:00
Björn Karlsson
48b58644fc Applied patch from Lbg. Suppressed warnings for 64-bit platforms.
[SVN r16420]
2002-11-26 10:55:29 +00:00
Björn Karlsson
9b73daeb54 Patch from lbj, enabling the library to be used without exceptions
[SVN r16344]
2002-11-20 14:51:17 +00:00
Björn Karlsson
9f849416f5 Added copyright statement
[SVN r16338]
2002-11-20 10:26:29 +00:00
John Maddock
5e469f3509 Changed BOOST_NO_STD_WSTREAM to BOOST_NO_STD_WSTREAMBUF,
the former doesn't exist in the config system.


[SVN r16221]
2002-11-13 12:15:10 +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
Samuel Krempp
415a762b97 Merged from branch to trunk
[SVN r15497]
2002-09-24 16:37:40 +00:00
Samuel Krempp
ee2ed45450 . fixed parsing bug, when a '%%' was used after all arguments in a format string.
. mention the '%%' syntax for printing literal '%'
 in the documentation. (it's standard printf legacy, but nonetheless)


[SVN r15075]
2002-08-24 02:34:00 +00:00
Samuel Krempp
a7ccc60cb7 bad semi-colons removed, thanks to <Gennadiy@ilx.com>
[SVN r14622]
2002-07-26 22:21:30 +00:00
Dave Abrahams
00fda18017 Fix unversioned VC++ checks
[SVN r14436]
2002-07-13 12:26:19 +00:00
Samuel Krempp
c11dd7586e BOOST_IO_STD fixes (I had forgot a few things, thanks Markus)
[SVN r14209]
2002-06-20 12:43:43 +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