Commit Graph

314 Commits

Author SHA1 Message Date
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
23e6828236 obsolete (maybe it never even was any use)
[SVN r19973]
2003-09-09 02:28:57 +00:00
Samuel Krempp
841e08f2c1 commit my benchmark sources, and some results,
just for people crazy about timings.


[SVN r19972]
2003-09-09 02:14:13 +00:00
Samuel Krempp
7618d770c4 split format_test2.cpp : 2 tests dont apply to gcc-2.95 (showbase isnt even defined..)
so moved them into format_test3.cpp


[SVN r19971]
2003-09-09 02:00:43 +00:00
Dave Abrahams
5f62244997 Use the import rule
[SVN r19968]
2003-09-08 17:38:49 +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
07e1ab0ea8 Fix locale support for metrowerks
[SVN r19620]
2003-08-15 18:31:28 +00:00
Samuel Krempp
2e520937ce removed <runtime-link>static, to see if it solves intel-7.1 linux problem.
[SVN r19591]
2003-08-14 13:07:02 +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
7884dbbc68 custom namespaces used
[SVN r18313]
2003-04-25 14:54:08 +00:00
Samuel Krempp
8f551b40ec unused variable removed
[SVN r18312]
2003-04-25 14:52:43 +00:00
Samuel Krempp
4118cd7612 added custom namespaces, as a hint for the user who doesnt want to inject
full boost (or std) namespaces ..


[SVN r18311]
2003-04-25 14:33:43 +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
72274f33d8 added copyrights
[SVN r17529]
2003-02-19 12:06:50 +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
Björn Karlsson
22bbbacc5f Added copyright statement and untabified
[SVN r17192]
2003-02-04 11:32:55 +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
Samuel Krempp
5c63f2e148 made format reg-tests as a subinclude in status/Jamfile
[SVN r17170]
2003-02-03 13:12:01 +00:00
Samuel Krempp
4a501e844a updated with new test lib dependance
[SVN r17081]
2003-01-29 17:38:07 +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
5c0681d601 moved wformat tests into its own test file.
[SVN r16448]
2002-11-28 01:20:51 +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
cf0028e8c2 fixed "href=examples/", replaced it with html listing of the files.
[SVN r16426]
2002-11-26 15:54:53 +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