Jeff Garland
8bb7f140af
unfortunate last minute major bug with duration output with negative time durations - fixes allow for additional user control of the sign format for the general case and make sure all elements of duration have absolute values. Also cleaned up a few out of date comments
...
[SVN r29876]
2005-07-03 06:53:13 +00:00
Jeff Garland
4901ad91e4
fix a serious bug with conversions for negative time durations. Need the minutes and seconds fields to be converted to absolute values. This was creating a downstream bug in i/o code where negative durations were not streaming out correctly
...
[SVN r29874]
2005-07-02 23:35:06 +00:00
Jeff Garland
443ab4fce8
fix an input parsing bug that would cause an extra character to be consumed in the stream when parsing special value cases. In particular something like a date period like [2005-Jun-10/not-a-date-time] would fail to parse correctly even though this can be constructed and output just fine
...
[SVN r29853]
2005-07-01 02:58:57 +00:00
Jeff Garland
54e7c78df6
fix bug with exception handling in new i/o code -- only throw exceptions if stream bits set correctly
...
[SVN r29823]
2005-06-28 13:12:24 +00:00
Jeff Garland
7472b1e047
fixes for special value serialization bug
...
[SVN r29712]
2005-06-21 03:35:34 +00:00
Jeff Garland
fa053e1172
cleanup/removal of ptime_facet typedefs
...
[SVN r29620]
2005-06-16 13:22:27 +00:00
Jeff Garland
ea43217c2b
fix for bug with %% strings in formats
...
[SVN r29619]
2005-06-16 13:21:39 +00:00
Jeff Garland
99c989d1da
fix problem with use of format/npos
...
[SVN r29493]
2005-06-09 12:37:13 +00:00
Jeff Garland
8f247814a4
minor tweaks -- documentation only -- no code changes
...
[SVN r29444]
2005-06-06 10:36:46 +00:00
Rene Rivera
925b49e7dc
Add work around for standard libraries that use local time as the basis of std::time, like the MSL on Windows.
...
[SVN r29346]
2005-06-01 15:05:06 +00:00
Rene Rivera
08db1dce9e
Work around CW-8 problem of considering a T[] incomplete when T is a template type.
...
[SVN r29344]
2005-06-01 14:19:22 +00:00
Jeff Garland
aadfbadf35
variety of fixes to clean up various compiler warnings -- particularly cw, vc8
...
[SVN r29189]
2005-05-25 14:16:15 +00:00
Jeff Garland
ce98b2ac63
fix for unused parameter warnings
...
[SVN r29182]
2005-05-25 11:52:24 +00:00
Jeff Garland
394bb9911e
fix for microsecond clock -- remove extra call to time which sometimes caused regression failures
...
[SVN r29181]
2005-05-25 11:28:41 +00:00
Jeff Garland
61d6ee9a86
add operator- to fix errors in testlocal_time_period.cpp
...
[SVN r28938]
2005-05-15 21:21:00 +00:00
Jeff Garland
4a2f3352b7
add std:: qualifications to isalpha calls to hopefully fix codewarrior 9.5 regressions
...
[SVN r28900]
2005-05-14 16:38:28 +00:00
Jeff Garland
a9ca8beb87
minor tweaks to try and cleanup como regresssions -- warnings about unreachable code and failure on microsec clock
...
[SVN r28817]
2005-05-11 13:01:53 +00:00
Jeff Garland
85e8d01166
take a shot a fixing como regression failures
...
[SVN r28755]
2005-05-09 03:37:09 +00:00
Jeff Garland
2e4f021ab6
take a shot at fixing gcc 4.x compile error for 1.33
...
[SVN r28709]
2005-05-07 08:49:15 +00:00
Rene Rivera
1beebb2eb5
Fixes for CodeWarrior compilation problems.
...
* time_facet.hpp; Fix undefined errors because of class method lookups. Needed to use this->* for correct vtable method resolution.
* Jamfile; Make some of the tests specify that they use locale support.
[SVN r28708]
2005-05-07 06:17:24 +00:00
Jeff Garland
94b388e3c9
Changes for i/o fixes -- close some holes. Also rename of timezone to custom tz
...
[SVN r28630]
2005-05-03 14:27:53 +00:00
Jeff Garland
898e0a4524
add custom timezone -- just a name change from timezone
...
[SVN r28628]
2005-05-03 14:14:11 +00:00
Jeff Garland
9992b00c59
updates to fix serialization regression caused by changes to the serialization lib -- macros must now be outside namespace
...
[SVN r28457]
2005-04-24 05:54:25 +00:00
Jeff Garland
83b9057a68
fix a problem where in STD_CONFIG mode we don't handle the case where a time duration of over 24 hours is constructed. Change adds appropriate amounts to the date.
...
[SVN r28445]
2005-04-24 01:35:19 +00:00
Jeff Garland
b0f888e7b6
fix error with setting month strings -- caused off by one month error
...
[SVN r28442]
2005-04-23 21:16:06 +00:00
Jeff Garland
9bec7b8111
patches to enable local time input streaming
...
[SVN r28433]
2005-04-23 05:39:52 +00:00
Jeff Garland
ad38989a3a
series of changes to support input/output for time zones
...
[SVN r28304]
2005-04-17 21:49:11 +00:00
Jeff Garland
ad9ab4c15e
fix a metrowerks warning about returning an int instead of short
...
[SVN r28299]
2005-04-17 21:10:54 +00:00
Jeff Garland
a47da49ee9
add an end string char -- perhaps fix vc regressions
...
[SVN r28283]
2005-04-16 18:59:51 +00:00
Jeff Garland
8b5a417459
make changes to eliminate most of the lexical_casts in the code -- hopefully this will help codewarrior 8.3 errors
...
[SVN r28181]
2005-04-12 15:04:33 +00:00
Jeff Garland
68a03f5ec9
fix warning on code warrior about implict conversion from int
...
[SVN r28177]
2005-04-12 13:16:24 +00:00
Jeff Garland
f9c5429756
portability changes for sunpro with new i/o code
...
[SVN r28176]
2005-04-12 13:01:53 +00:00
Jeff Garland
22953c181c
narrow down the string_algo includes to hopefully work around error in code warrior -- make compiles faster
...
[SVN r28175]
2005-04-12 12:47:46 +00:00
Jeff Garland
3257d1297a
changes to support format-based input of time types. For example: %Y-%M-%D %H:%M:%S
...
[SVN r28140]
2005-04-12 02:55:04 +00:00
Jeff Garland
9e7902c79e
change the compiler macros to enable new fancy i/o for metrowerks compiler
...
[SVN r28092]
2005-04-10 23:53:08 +00:00
Jeff Garland
23f9750b7a
open up mingw to new i/o code -- will hopefully fix some of the current mingw regressions
...
[SVN r28090]
2005-04-10 23:07:24 +00:00
Jeff Garland
5b47132eb5
call atoi via std:: -- hopefully fix some metrowerks 9.4 regressions
...
[SVN r28070]
2005-04-09 16:05:16 +00:00
Jeff Garland
9eed73ddd6
replace facet io with simplified form that will hopefully reverse regressions on compilers like mingw
...
[SVN r27996]
2005-04-06 02:16:07 +00:00
Jeff Garland
bf47dadf80
fix uninitialized variable problem
...
[SVN r27995]
2005-04-06 01:15:20 +00:00
Jeff Garland
faa1bdc2f9
fix up a couple of casts to the correct types
...
[SVN r27951]
2005-04-04 11:05:30 +00:00
Jeff Garland
ea0f30f26e
truncate extra digits when parsing time duration instead of taking the last n digits incorrectly
...
[SVN r27935]
2005-04-02 17:57:45 +00:00
Jeff Garland
2821d374ea
fix code warrior 9_3 warning about int to short conversions
...
[SVN r27886]
2005-03-30 16:09:46 +00:00
Jeff Garland
c346cce82f
serialization fixes for gcc 3.4
...
[SVN r27883]
2005-03-30 14:13:11 +00:00
Jeff Garland
116b195367
add mingw to the list of compilers not supporting reentrant function calls
...
[SVN r27881]
2005-03-30 13:22:50 +00:00
Jeff Garland
96eac159dc
getting the reentrant function macro logic right -- hopefully
...
[SVN r27866]
2005-03-29 14:36:04 +00:00
Jeff Garland
1f31372e84
prevent the reentrant versions of std lib clock functions from use with metrowerks compiler
...
[SVN r27865]
2005-03-29 12:22:51 +00:00
Jeff Garland
6f1a591083
add some code comments -- constructor for formatter
...
[SVN r27860]
2005-03-28 14:27:09 +00:00
Jeff Garland
821d9bce88
add include of gregorian/conversion.hpp so header will stand alone
...
[SVN r27818]
2005-03-27 15:57:35 +00:00
Jeff Garland
82fbd7f7df
next round of major updates to format-based input-output. Adds various parsers to support full date input
...
[SVN r27797]
2005-03-24 13:07:42 +00:00
Jeff Garland
c4167b847e
fix define for multi-threaded posix builds -- remove parens from macro defines
...
[SVN r27752]
2005-03-21 11:13:02 +00:00