2
0
mirror of https://github.com/boostorg/format.git synced 2026-01-19 16:22:12 +00:00

Commit Graph

  • 3f933ee684 ooops, typo. forgot 'typedef' .. Samuel Krempp 2004-01-31 13:41:47 +00:00
  • 2ab20a9142 minor details from RC_1_31. changed last foobar.h includes to <foobar.h> Samuel Krempp 2004-01-31 01:12:54 +00:00
  • 9fbf754d3e from RC_1_31, size_type declared as typedef inside class Samuel Krempp 2004-01-31 01:11:56 +00:00
  • 336f2b5e76 from RC1_31, qualified constructor call needed for borland in operator=() Samuel Krempp 2004-01-31 01:10:39 +00:00
  • 1ea9bde5e5 str(..) function moved in boost:: namespace (was boost::io) Samuel Krempp 2004-01-29 21:03:46 +00:00
  • 3d9fbf1553 using boost::str Samuel Krempp 2004-01-29 21:02:30 +00:00
  • a4e9c0fb5c fix for BCB 6 patch 4, suggested by Pavel Vozenilek Samuel Krempp 2004-01-29 07:14:08 +00:00
  • 07449a5448 even if it's just for information, bench_format.cpp updated, wasnt even compilable anymore.. Samuel Krempp 2004-01-26 12:54:34 +00:00
  • e57209324d no actual change, just switched to include files with <foo/bar> instead of "foo/bar" Samuel Krempp 2004-01-26 12:52:25 +00:00
  • 0130bbed42 "a note about performance" paragrpah added. Samuel Krempp 2004-01-26 04:41:53 +00:00
  • fefaf1a23c . reflects updates in the code (member func size(), str() in boost:: ) . removes missing urls and update moved ones . W3C validated . minor added info (user type formatting note, etc) Samuel Krempp 2004-01-26 02:48:20 +00:00
  • 38ab17451c new tests added from main trunk Samuel Krempp 2004-01-26 02:01:55 +00:00
  • 5ec7f5ca1d dded using boost::str, vc7 wasnt finding str. Samuel Krempp 2004-01-25 18:49:08 +00:00
  • a8a6a42bc0 boost::io::str is now only an alias, use str directly (koenig lookup) Samuel Krempp 2004-01-25 14:57:51 +00:00
  • 638022ee1f strange mismatch between declaration and definition of format::size() for MSVC7 maybe making size_type a typedef will help it Samuel Krempp 2004-01-25 14:56:02 +00:00
  • 403efd4bce one occurence of clear_non_bound remained, removed. Samuel Krempp 2004-01-25 14:44:00 +00:00
  • 4d139883de added 'private' keyword for the private inheritance Samuel Krempp 2004-01-25 13:09:55 +00:00
  • 46fdc35cc3 settled for clear() / clear_binds() member functions Samuel Krempp 2004-01-25 04:31:46 +00:00
  • 8e3b8c53ce settled for clear() / clear_binds() member function names. Samuel Krempp 2004-01-25 04:25:57 +00:00
  • 41c7c576c7 oops again, got to include <boost/config.hpp> before testing BOOST_NO_STD_LOCALE Samuel Krempp 2004-01-25 04:23:26 +00:00
  • 4c7a3bdb69 a few precise changes : . free function boost::io::str moved into boost::, much more convenient due to Koenig lookup . added format::size() const (avoids making the full string just to know the current size) . settled for clear() / clear_binds() . sample programs updated accordingly. Samuel Krempp 2004-01-25 03:00:40 +00:00
  • d8ca2ca81b string::append(Iter, Iter) seems to cause link failure for msvc-stlport. try using += buf.substr(..) instead. (the copy overhead is not critical) Samuel Krempp 2004-01-25 00:16:40 +00:00
  • a824542ba0 oops, forget workarounds need <locale> to be already included Samuel Krempp 2004-01-24 19:19:10 +00:00
  • 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 ?) Samuel Krempp 2004-01-24 17:33:18 +00:00
  • 86dfc15c4e format::size() added. Samuel Krempp 2004-01-21 22:48:25 +00:00
  • 0d87c146eb fixed size_t to std::size_t Samuel Krempp 2004-01-21 22:47:22 +00:00
  • 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 Samuel Krempp 2004-01-21 11:51:23 +00:00
  • d30e334876 not using anymore manipulators that gcc-2.95 lacks so it compiles with old gcc. Samuel Krempp 2004-01-21 11:08:30 +00:00
  • 33ff28bce1 a few more tests, and new source headers Samuel Krempp 2004-01-21 11:01:39 +00:00
  • 653fec77b5 This commit was manufactured by cvs2svn to create branch 'RC_1_31_0'. nobody 2003-12-30 12:10:04 +00:00
  • 735a1691e5 Fix compliance issues detected by Metrowerks Beman Dawes 2003-12-18 17:51:17 +00:00
  • 898e7028cd Unnecessary (?) anonymous namespace was tripping up MSVC 6.0; the "detail" namespace is fine Douglas Gregor 2003-12-14 04:53:43 +00:00
  • c78659f957 index.htm renamed index.html Beman Dawes 2003-12-11 23:31:15 +00:00
  • d0333cfcf3 Add V2 Jamfile Vladimir Prus 2003-09-29 16:09:15 +00:00
  • 3ea3482d99 MSVC STLport 's char_traits is not in namespace std. Samuel Krempp 2003-09-19 17:20:50 +00:00
  • 8a83ea77d2 fixed few small errors (pcount(), str()..) Samuel Krempp 2003-09-19 16:59:38 +00:00
  • 7220144bed . forgot to remove a 'state0' occurence in format_implementation.hpp . gcc-2.95 with STLport has good stringstream, but format wasnt making the distinction . stringbuf is now derived into a specific class, so outsstream can use it thru base_from_member, cleaner. Samuel Krempp 2003-09-19 00:59:21 +00:00
  • 3feaca02c6 . format::clear() 's meaning changed : now it _also_ clears bound arguments, (was former clear_binds() function) and the former clear() is now 'clear_non_bound(..) . format::parse(..) now public. . format constructors are now explicit . improved string processing in feed_args.hpp and parsing.hpp . feed_args.hpp : now produces sensible result when spacepad, or truncate, is specified and the user set the stream adjustfield to 'internal' Samuel Krempp 2003-09-16 16:53:34 +00:00
  • 82d8a5e109 re-indented. Samuel Krempp 2003-09-11 19:46:33 +00:00
  • 460c97f4e8 no actual change. Samuel Krempp 2003-09-11 18:31:28 +00:00
  • 0b5c07ba1a no actual change Samuel Krempp 2003-09-11 17:01:08 +00:00
  • 2e6f048854 no actual change, only re-idented the whole file (4 isntead of 2, etc..) Samuel Krempp 2003-09-11 15:41:55 +00:00
  • 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. Samuel Krempp 2003-09-10 00:36:27 +00:00
  • e5d2827c69 refactored the completely uninteresting headers in ./detail/ Samuel Krempp 2003-09-10 00:29:28 +00:00
  • bc2bc08695 now doesnt try to use <sstream> on g++ < 3, even if it *is* present. (using strstream for this cas too is just simpler) Samuel Krempp 2003-09-09 18:24:51 +00:00
  • 2fc361407f removed 2 useless using declarations, left from debugging. Samuel Krempp 2003-09-09 18:23:39 +00:00
  • 81e823cae9 small fixes. . workarounds for gcc-2.95 now depend on __STL_CONFIG_H . outsstream 'using ' its buffer methods pptr(), etc.. Samuel Krempp 2003-09-09 12:04:28 +00:00
  • 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 Samuel Krempp 2003-09-09 02:51:52 +00:00
  • 23e6828236 obsolete (maybe it never even was any use) Samuel Krempp 2003-09-09 02:28:57 +00:00
  • 841e08f2c1 commit my benchmark sources, and some results, just for people crazy about timings. Samuel Krempp 2003-09-09 02:14:13 +00:00
  • 7618d770c4 split format_test2.cpp : 2 tests dont apply to gcc-2.95 (showbase isnt even defined..) so moved them into format_test3.cpp Samuel Krempp 2003-09-09 02:00:43 +00:00
  • 5f62244997 Use the import rule Dave Abrahams 2003-09-08 17:38:49 +00:00
  • e56ede40d7 got rid of useless empty string auxiliary objects, among which a static one was causing problems on some platform. Samuel Krempp 2003-08-27 03:24:41 +00:00
  • 5f00d37f8e This commit was manufactured by cvs2svn to create tag 'Version_1_30_2'. boost-1.30.2 nobody 2003-08-18 18:40:31 +00:00
  • 6fee4a6666 Fix facet support for intel-win32 Dave Abrahams 2003-08-16 00:18:24 +00:00
  • 0409b32aa7 Fix locale support for metrowerks Dave Abrahams 2003-08-15 18:39:57 +00:00
  • 07e1ab0ea8 Fix locale support for metrowerks Dave Abrahams 2003-08-15 18:31:28 +00:00
  • 2e520937ce removed <runtime-link>static, to see if it solves intel-7.1 linux problem. Samuel Krempp 2003-08-14 13:07:02 +00:00
  • b9d753913b merged MSVC7.1 fixes in the main trunk into the branch for 1_30_2 release Samuel Krempp 2003-08-14 11:32:01 +00:00
  • 2dcf24cbda This commit was manufactured by cvs2svn to create tag 'Version_1_30_1'. boost-1.30.1 nobody 2003-08-04 17:55:29 +00:00
  • 57683a2e5c This commit was manufactured by cvs2svn to create tag 'RC_1_30_2'. boost-1.30.2-rc1 nobody 2003-08-04 17:55:28 +00:00
  • d45e7f5805 merged from trunk Dave Abrahams 2003-08-02 16:20:49 +00:00
  • aa221d4383 Apply patch for GCC 3.3 from larsbj-at-gullik.net (Lars Gullik Bjønnes) Dave Abrahams 2003-08-02 16:17:48 +00:00
  • fa2af043a4 string_t::npos , fixes bug report (anonymous SF) Samuel Krempp 2003-05-28 11:21:49 +00:00
  • 7acdc249e5 fixes bug reported by okuchuk (truncate bigger than size) Samuel Krempp 2003-05-28 11:20:49 +00:00
  • 4dad9549a8 there was some BOOST_WORKAROUND( BOOST_MSVC, BOOST_TESTED_AT( 1300) ) Samuel Krempp 2003-04-29 12:39:07 +00:00
  • 7884dbbc68 custom namespaces used Samuel Krempp 2003-04-25 14:54:08 +00:00
  • 8f551b40ec unused variable removed Samuel Krempp 2003-04-25 14:52:43 +00:00
  • 4118cd7612 added custom namespaces, as a hint for the user who doesnt want to inject full boost (or std) namespaces .. Samuel Krempp 2003-04-25 14:33:43 +00:00
  • 4d5678417b now using BOOST_WORKAROUND in this file too. Samuel Krempp 2003-04-25 14:08:07 +00:00
  • af56a3e8b9 This commit was manufactured by cvs2svn to create tag 'Version_1_30_0'. boost-1.30.0 nobody 2003-03-20 02:53:48 +00:00
  • 17e59574f3 from trunk Samuel Krempp 2003-03-19 19:24:48 +00:00
  • ed09864c54 (from trunk) Samuel Krempp 2003-03-19 17:05:20 +00:00
  • ff6321e45b . BOOST_BAD_ISDIGIT renamed BOOST_NO_LOCALE_ISDIGIT (this macro was aready the one being checked in the eginning of the file) Samuel Krempp 2003-03-19 16:51:00 +00:00
  • 8ce2f0eccc . BOOST_BAD_ISDIGIT renamed BOOST_NO_LOCALE_ISDIGIT (this macro was aready the one being checked in the eginning of the file) Samuel Krempp 2003-03-19 16:50:48 +00:00
  • ff1eb7a557 Borland fix from Alisdair Meredith Beman Dawes 2003-03-19 14:12:21 +00:00
  • f3cf9dd35a Borland fix from Alisdair Meredith Beman Dawes 2003-03-19 14:12:21 +00:00
  • e467a8180c This commit was manufactured by cvs2svn to create branch 'RC_1_30_0'. nobody 2003-03-01 19:43:06 +00:00
  • 72274f33d8 added copyrights Samuel Krempp 2003-02-19 12:06:50 +00:00
  • 9e2c802919 .BOOST_WORKAROUND( _CRAYC ..) for the template functions friend declarations Samuel Krempp 2003-02-05 01:34:45 +00:00
  • 521f8a30cc minor diff. (include <locale> when possible, even if BAD_IS_DIGIT) Samuel Krempp 2003-02-05 00:46:01 +00:00
  • f3270702f0 call isdigit after using namespace std, tos upport macro-defined isdigit Samuel Krempp 2003-02-05 00:42:52 +00:00
  • 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. Samuel Krempp 2003-02-05 00:16:52 +00:00
  • 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. Samuel Krempp 2003-02-05 00:15:18 +00:00
  • 22bbbacc5f Added copyright statement and untabified Björn Karlsson 2003-02-04 11:32:55 +00:00
  • 734e1155ee . changed wrap_isdigit prototype, avoids trouble with kylix Samuel Krempp 2003-02-03 15:59:16 +00:00
  • 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. Samuel Krempp 2003-02-03 15:43:25 +00:00
  • 4c88b8ee50 made #undef isdigit for everybody, instead of just MSVC. (got the same macro on Mdk9 g++-3.2, for whatever reason) Samuel Krempp 2003-02-03 13:27:47 +00:00
  • 5c63f2e148 made format reg-tests as a subinclude in status/Jamfile Samuel Krempp 2003-02-03 13:12:01 +00:00
  • 4a501e844a updated with new test lib dependance Samuel Krempp 2003-01-29 17:38:07 +00:00
  • 6706baa2c4 add or update See www.boost.org comments Beman Dawes 2002-12-27 16:51:53 +00:00
  • 9990e6d4af removed ostream includes (sstream should be enough anyway). swtiched to angle includes. Samuel Krempp 2002-12-03 23:54:34 +00:00
  • f0002ac919 split format_config.hpp into 2 macro_XXX headers Samuel Krempp 2002-12-03 23:52:07 +00:00
  • 10b4f55cdc replaced format_config.hpp by macros_stl.hpp and macros_default.hpp, and began switching to 'angle includes' Samuel Krempp 2002-12-03 23:50:03 +00:00
  • 103fd4690f added #ifndef BOOST_NO_STD_LOCALE switches Samuel Krempp 2002-12-03 23:36:02 +00:00
  • 99edb6799b avoid std::isdigit. Instead : using namespace std; [ then call isdigit(..) ] Samuel Krempp 2002-12-03 23:31:24 +00:00
  • f7fb9b5429 split format_config.hpp into 2 macro_XXX headers Samuel Krempp 2002-12-03 23:26:12 +00:00
  • 93de453c35 changed comments about basic_ios& used just for narrow/widen Samuel Krempp 2002-12-03 21:36:36 +00:00
  • 5c0681d601 moved wformat tests into its own test file. Samuel Krempp 2002-11-28 01:20:51 +00:00
  • badd371c1e codewarrior (and the standard..) need qualified io::out_of_range_bit and others (suggested by beman) Samuel Krempp 2002-11-28 01:07:30 +00:00