2
0
mirror of https://github.com/boostorg/format.git synced 2026-01-29 19:42:09 +00:00
Commit Graph

113 Commits

Author SHA1 Message Date
Samuel Krempp
197decc600 copy-constructor now copies .dumped_ , fixing Ticket #3610
[SVN r57672]
2009-11-15 08:08:32 +00:00
Steven Watanabe
a569d82df4 Fix order of initialization warning. Fixes #1699
[SVN r53219]
2009-05-23 19:26:10 +00:00
Jeremiah Willcock
2ca8fb08d0 Fixed most tab and min/max issues from trunk inspection report
[SVN r53141]
2009-05-20 19:19:00 +00:00
Marshall Clow
fb6c27612a Fixed unused parameter - bug #2455
[SVN r52258]
2009-04-08 16:14:22 +00:00
John Maddock
7127dd351e Yet another MSVC warning suppression.
[SVN r42080]
2007-12-15 18:49:13 +00:00
John Maddock
b6cb5400e9 Trivial patches to silence MSVC warnings.
[SVN r42076]
2007-12-15 17:36:31 +00:00
John Maddock
4356e38c4c MSVC warning suppression.
[SVN r42067]
2007-12-15 12:32:18 +00:00
John Maddock
840ee87985 Added missing #include.
Fix warnings on MSVC: the code should now be clean with -W4.
Fix warnings on gcc: the code should now be clean with -Wall -Wshadow.
This fixes Track issues #585, #980, #1196, #1278 and #1340.

[SVN r41254]
2007-11-20 11:40:28 +00:00
Samuel Krempp
b8495a4269 handle invalid format string (ends with %) without asserting,
closing ticket #493


[SVN r38730]
2007-08-16 18:48:03 +00:00
Samuel Krempp
61f3feb471 bug fixed : prefix_ was not reset by make_or_reuse (all other buffers were).
Solves ticket #570


[SVN r38729]
2007-08-16 17:33:47 +00:00
Gennaro Prota
fe2c3f3765 fixed license reference text; added final slash to library doc url; removed inconsistent period at the end of what() string, fixed typos reported in http://bugs.debian.org/378016
[SVN r34624]
2006-07-20 12:13:16 +00:00
Joaquín M. López Muñoz
734c437f52 fixed SourceForge bug #1506914
[SVN r34350]
2006-06-19 06:03:04 +00:00
Joaquín M. López Muñoz
0802feac8a fixed a bug that generated accesses to a vector with a negative index
[SVN r34097]
2006-05-26 14:24:44 +00:00
Caleb Epstein
4e94d45908 Fix for Sourceforge bug #1450260 where this will assert on MSVC:
boost::format("%s") % std::string()


[SVN r33443]
2006-03-22 15:13:25 +00:00
Douglas Gregor
b3cecbf8e8 Untabify
[SVN r30052]
2005-07-13 15:40:24 +00:00
Markus Schöpflin
bd35889d7d Enable overload disambiguation workaround for Tru64/CXX too. This clears most of
the remaining test failures for this compiler.


[SVN r29516]
2005-06-10 12:29:27 +00:00
Markus Schöpflin
cf1efc3586 Bumped version for Tru64/CXX workaround.
[SVN r29514]
2005-06-10 10:33:03 +00:00
Samuel Krempp
20f2d3405d . made many casts explicit to avoid warnings on MSVC7, and changed a few types for more coherence
. minor changes


[SVN r27510]
2005-02-27 02:06:57 +00:00
Samuel Krempp
e1c99d5351 uses std::string::size_type directly instead of thru chained typedef, to workaround MSVC7+ bug
[SVN r27505]
2005-02-25 15:19:15 +00:00
Samuel Krempp
25fa0a3285 fixed typo in macro name BOOST_NO_LOCALE_ISDIGIT (the typo was consistent where it matters,
had no effect on compilation)


[SVN r27491]
2005-02-23 13:10:36 +00:00
Aleksey Gurtovoy
ca5e01849c workarounds_gcc-2.95.hpp -> workarounds_gcc-2_95.hpp
[SVN r25666]
2004-10-11 14:08:04 +00:00
Markus Schöpflin
5ed5e8a4f0 Add workaround for Compaq C++.
[SVN r24845]
2004-09-01 08:11:05 +00:00
Samuel Krempp
0b12543b27 -feed_args.hpp : includes boost/assert.hpp and replaced "assert" by "BOOST_ASSERT", thanks to Nando for reporting this.
-sample_formats.cpp : was using assert without including it


[SVN r24613]
2004-08-20 09:44:24 +00:00
Samuel Krempp
7a521da638 copyright info added. (I had forgotten those two)
[SVN r24611]
2004-08-20 09:04:16 +00:00
Rene Rivera
01aaf84d38 Remove tabs in file.
[SVN r24040]
2004-07-25 15:53:20 +00:00
Eric Niebler
f54966678b move BOOST_USING_STD_MIN and _MAX and BOOST_PREVENT_MACRO_SUBSTITUTION to the config headers, remove boost/minmax.hpp, update coding guidelines
[SVN r23313]
2004-07-02 01:21:32 +00:00
Eric Niebler
806a448be7 remove std_min and std_max, update minmax coding guidelines
[SVN r23162]
2004-06-23 04:49:48 +00:00
Samuel Krempp
d09013ce9c changed format_item::truncate_ 's type from int to streamsize. that's what it was supposed to be from the start. spotted on 64 bit plaform by A.Leeming
[SVN r22550]
2004-03-25 13:38:16 +00:00
Eric Niebler
42532c2942 remove minmax hack from win32.hpp and fix all places that could be affected by the minmax macros
[SVN r22394]
2004-02-26 18:27:02 +00:00
Samuel Krempp
cf900ac983 use BOOST_USE_FACET wrapper
[SVN r22237]
2004-02-11 15:00:31 +00:00
Samuel Krempp
276fe36eb3 1. use BOOST_USE_FACET wrapper
2. using std::string's  +=  operator instead of (more efficient) append for STLPORT +  MSVC <= 7.0
msvc-6-stlport fails to find basic_string::append( Iter, Iter) when linking
with Iter = _STL::_DBG_iter< _STL::_Nondebug_string<char,
                                                    _STL::char_traits<char>,
                                                    _STL::allocator<char> >
might affect other MSwindows compilers.


[SVN r22236]
2004-02-11 15:00:05 +00:00
Samuel Krempp
14b13e2458 using std::string's += operator instead of (more efficient) append for STLPORT + MSVC <= 7.0
msvc-6-stlport fails to find basic_string::append( Iter, Iter) when linking
with Iter = _STL::_DBG_iter< _STL::_Nondebug_string<char,
                                                    _STL::char_traits<char>,
                                                    _STL::allocator<char> >
might affect other MSwindows compilers.


[SVN r22235]
2004-02-11 14:59:22 +00:00
Samuel Krempp
bff741c34f forgot opening {
[SVN r22198]
2004-02-08 20:54:58 +00:00
Samuel Krempp
6316ac304e . fix 2 warnings (no return in the undefined behaviour case of seekpos, and unused values in clear_buffer)
. std::ios_base instead of ::std::ios_base to try to make msvc6 happy (this line strange error msg..)


[SVN r22187]
2004-02-06 15:56:21 +00:00
Samuel Krempp
c51a055f92 stick to the norm's guaranteed operations on strempos / streamoff (§27.4.3.2)
should fix gcc-3.4-cvs

+ replaced std::streamoff by off_type for consistency.


[SVN r22164]
2004-02-05 01:56:01 +00:00
Samuel Krempp
86a7a74c83 - wasnt including <ostream> in alt_stream.hpp, now this is done (in compat_workarounds, since <ostream> doesnt exist in gcc-2.95's native stlport)
- cleaned gcc-2.95 workarounds : testing for STLport vs native is now consistent across headers.


[SVN r22163]
2004-02-04 20:25:33 +00:00
Samuel Krempp
066610a360 str wasnt templated on class Alloc, fixed. also forward declaration in format_fwd.hpp was useless, removed.
[SVN r22159]
2004-02-04 11:25:38 +00:00
Samuel Krempp
d6bfa62c7a replaced problemaic typedef to basic_format::string_type with plain basic_string
hopefully solve vc7 issue


[SVN r22141]
2004-02-02 22:26:27 +00:00
Samuel Krempp
18253a24d8 size_type typedef used in implementation. maybe fix msvc issue
[SVN r22128]
2004-02-01 23:42:02 +00:00
Samuel Krempp
11ec0fe5f1 replaced ComaptOStream<..> by using emulated std::basic_ostream and new BOOST_NO_TEMPLATE_STD_STREAM macro
cleaned CompatTraits and CompatAlloc, now simply points to a std-compatible type


[SVN r22105]
2004-02-01 14:57:09 +00:00
Samuel Krempp
bd330592ca blank line rmeoved
[SVN r22104]
2004-02-01 14:42:05 +00:00
Samuel Krempp
a6df89ebeb forward declaration of operator<< is not needed, removed
[SVN r22103]
2004-02-01 14:41:00 +00:00
Samuel Krempp
3f933ee684 ooops, typo. forgot 'typedef' ..
[SVN r22091]
2004-01-31 13:41:47 +00:00
Samuel Krempp
2ab20a9142 minor details from RC_1_31. changed last foobar.h includes to <foobar.h>
[SVN r22090]
2004-01-31 01:12:54 +00:00
Samuel Krempp
9fbf754d3e from RC_1_31, size_type declared as typedef inside class
[SVN r22089]
2004-01-31 01:11:56 +00:00
Samuel Krempp
336f2b5e76 from RC1_31, qualified constructor call needed for borland in operator=()
[SVN r22088]
2004-01-31 01:10:39 +00:00
Samuel Krempp
4d139883de added 'private' keyword for the private inheritance
[SVN r21911]
2004-01-25 13:09:55 +00:00
Samuel Krempp
46fdc35cc3 settled for clear() / clear_binds() member functions
[SVN r21910]
2004-01-25 04:31:46 +00:00
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