Andrey Semashev
72e2a74cb9
Fixes #2809 .
...
[SVN r53622]
2009-06-04 10:07:42 +00:00
Andrey Semashev
1510fb009d
Merged fixes for #287 , #1859 and partially #1861 . Improved diagnostics in case of test failures.
...
[SVN r53618]
2009-06-04 08:24:49 +00:00
Andrey Semashev
3e558911e4
Optimized the from_stream_type function. In case if no locales support available the code was modified to fix possible character code truncation. Related to #287 .
...
[SVN r53529]
2009-06-01 09:51:34 +00:00
Andrey Semashev
d1877bf9de
Added missing include
...
[SVN r53527]
2009-06-01 09:00:02 +00:00
Andrey Semashev
02b34018f4
The std::tm instances are zero initialized before usage in to_tm functions. Related to #1859 .
...
[SVN r53500]
2009-05-31 14:24:25 +00:00
Andrey Semashev
34e2312fa5
Fixed a possible reading overflow in the var_string_to_int function.
...
Mentioned in ticket #1861 .
-This line, and those below, will be ignored--
M format_date_parser.hpp
[SVN r53485]
2009-05-31 12:03:41 +00:00
Jeremiah Willcock
d72c172d31
Fixed almost all tab and min/max issues found by inspect tool
...
[SVN r53142]
2009-05-20 19:41:20 +00:00
Jeremiah Willcock
49fe4d03ff
Fixed most tab and min/max issues from trunk inspection report
...
[SVN r53141]
2009-05-20 19:19:00 +00:00
Andrey Semashev
fbab6c1ddf
Merged fixes for #2688 and #2698 from trunk.
...
[SVN r50942]
2009-02-01 11:29:43 +00:00
Andrey Semashev
15c4ebd523
Removed dereferencing of end iterators of strings, which could cause crashes on MSVC. Fixed #2698 .
...
[SVN r50877]
2009-01-29 18:54:17 +00:00
Andrey Semashev
5ac35edc3a
Added missing #include. Fixed #2688 .
...
[SVN r50876]
2009-01-29 17:44:52 +00:00
Andrey Semashev
86a65b062a
testfrmwk.hpp moved to the tests directory. It was not a part of the library public interface and should not be seen by users.
...
[SVN r49946]
2008-11-26 21:07:14 +00:00
Boris Gubenko
bffbf251f0
merge changeset/49940 into release branch
...
[SVN r49941]
2008-11-26 15:39:19 +00:00
Boris Gubenko
854864f008
work around the bug in aC++ (QXCR1000880488 in the HP bug tracking system)
...
[SVN r49940]
2008-11-26 15:12:17 +00:00
Andrey Semashev
4a238482e8
testfrmwk.hpp moved to the tests directory. It was not a part of the library public interface and should not be seen by users.
...
[SVN r49932]
2008-11-25 20:36:52 +00:00
Andrey Semashev
ee9241c634
Merged fixes from trunk: tickets 2521, 2523.
...
[SVN r49893]
2008-11-23 11:13:35 +00:00
Andrey Semashev
462d59604b
Fixed a possible crash in gregorian::special_value_from_string if the string did not represent a valid special value. The find_match function now accepts the size of lookup tables rater than the maximum index.
...
[SVN r49875]
2008-11-22 13:40:54 +00:00
Andrey Semashev
4ea026b835
In FILETIME support functions fixed a possible integer wrapping that would cause to invalid conversion of FILETIME before 1970-01-01 into a DateTime time. In time facet changed the reaction on a too long hours string to an assert rather than truncating the string. Updated docs and tests to reflect these changes.
...
[SVN r49874]
2008-11-22 12:49:20 +00:00
Andrey Semashev
125082430e
Silenced some warnings about unreferenced formal parameters.
...
[SVN r49729]
2008-11-13 20:10:23 +00:00
Andrey Semashev
415b9adb49
Silenced some warnings about unused formal parameters.
...
[SVN r49728]
2008-11-13 20:01:18 +00:00
Andrey Semashev
3af0a51e62
Fixed a number of warnings about shadowed variables. Fixed
...
date_generator_formatter constructor that accepts custom phrase
elements.
[SVN r49723]
2008-11-13 19:05:31 +00:00
Andrey Semashev
e3fcd06a86
Fixed a number of warnings about shadowed variables. Fixed
...
date_generator_formatter constructor that accepts custom phrase
elements.
[SVN r49722]
2008-11-13 19:04:15 +00:00
Andrey Semashev
a2049a59d6
Merged various fixes from trunk.
...
[SVN r49705]
2008-11-12 19:37:53 +00:00
Andrey Semashev
841625c1ac
Removed some warnings about unreferenced variables (these were exceptions that were not used).
...
[SVN r49651]
2008-11-08 18:49:57 +00:00
Andrey Semashev
334b57e8d9
Fixed order of nth_as_str forward declaration and its first usage.
...
[SVN r49650]
2008-11-08 17:54:38 +00:00
Andrey Semashev
ac3a5b489a
Fixed incorrect variable naming for systems with no GetSystemTimeAsFileTime function support.
...
[SVN r49614]
2008-11-06 16:47:56 +00:00
Andrey Semashev
f15712c448
Fixed exception handling that led to inefficient code.
...
[SVN r49611]
2008-11-06 15:44:10 +00:00
Andrey Semashev
fe220e57b3
Added a missing include that could break compilation of user's code with STLport.
...
[SVN r49609]
2008-11-06 15:12:17 +00:00
Andrey Semashev
7c851f60d3
Fixed various issues, including missing includes, missing IO operators
...
for local time, windows.h inclusion on Windows, compilation failure on
GCC 4.3, a number of warnings on GCC and MSVC. Added a new format
specifier %O to format and read more than 99 hours in time durations.
All exception throwing moved to boost::throw_exception in order to
support builds with exceptions disabled.
[SVN r49505]
2008-11-01 10:34:04 +00:00
John Maddock
9c0fb985c1
Merge fixes from Trunk.
...
Fixes #2392 .
Change includes of <cmath> to <boost/config/no_tr1/config.hpp>.
Previously if Boost.TR1 was in the include path then including <cmath> pulls in all the new TR1 math functions, which in turn also requires linking to an external library. With auto-linking support this requires that library to have been built and be present in the library search path, even if the actual library under use is header only.
[SVN r49314]
2008-10-13 09:00:03 +00:00
John Maddock
6c6a6b3a1c
Change includes of <cmath> to <boost/config/no_tr1/config.hpp>.
...
Previously if Boost.TR1 was in the include path then including <cmath> pulls in all the new TR1 math functions, which in turn also requires linking to an external library. With auto-linking support this requires that library to have been built and be present in the library search path, even if the actual library under use is header only.
Fixes #2392 .
[SVN r49254]
2008-10-10 16:10:00 +00:00
Jurko Gospodnetić
19cdab0cd5
Worked around two unused function parameter compiler warnings. Suggested by Peter Klotz.
...
[SVN r47957]
2008-08-03 10:09:21 +00:00
Jurko Gospodnetić
7c5395ddad
Corrected a comment typo in boost/date_time/string_parse_tree.hpp and removed trailing spaces.
...
[SVN r47641]
2008-07-20 22:02:39 +00:00
Jurko Gospodnetić
2ff01baa21
Comment typo corrections & stylistic changes.
...
[SVN r47368]
2008-07-13 00:15:30 +00:00
Jurko Gospodnetić
e6bb691886
Applied a date_time greg_weekday.hpp typo correction patch by Peter Klotz.
...
[SVN r46638]
2008-06-24 08:35:07 +00:00
Emil Dotchevski
48a959accb
Reverting previous change... #define NOMINMAX isn't a good idea either.
...
[SVN r44473]
2008-04-16 18:36:30 +00:00
Emil Dotchevski
6cfc268a27
Added #define NOMINMAX to preserve standard behavior of std::min and std::max. Is including <windows.h> here necessary?
...
[SVN r44472]
2008-04-16 18:24:17 +00:00
Daniel James
40dd655abf
Merge in a few license fixes that I missed before.
...
https://svn.boost.org/svn/boost/trunk
........
r43467 | danieljames | 2008-03-03 12:10:35 +0000 (Mon, 03 Mar 2008) | 2 lines
Tell subversion that date_time.doc is a text file, not a word document.
........
r43468 | danieljames | 2008-03-03 12:11:25 +0000 (Mon, 03 Mar 2008) | 1 line
Fix license link in date_time.doc
........
r43803 | danieljames | 2008-03-23 13:03:24 +0000 (Sun, 23 Mar 2008) | 1 line
Fix another license link I seem to have missed.
........
[SVN r43874]
2008-03-26 21:16:15 +00:00
Daniel James
342e17aa5a
Fix another license link I seem to have missed.
...
[SVN r43803]
2008-03-23 13:03:24 +00:00
Daniel James
c9f634b1d4
Merged revisions 43211,43214-43219,43222-43225,43227-43238,43242,43244-43245,43249-43250,43257-43259,43261,43263,43265,43267-43268,43270-43271,43273,43275-43279,43284-43289,43291,43295,43297-43298,43304-43305,43307,43313,43315,43324,43326-43327,43331,43333,43339-43343,43345,43348,43350,43352-43353,43355-43356,43358,43360,43366-43367,43369-43370,43372-43376,43378-43389,43394,43396-43398,43400-43401,43403-43404,43406-43408,43413-43415,43417-43418,43420,43422-43423 via svnmerge from
...
https://svn.boost.org/svn/boost/trunk
........
r43417 | danieljames | 2008-02-26 22:04:55 +0000 (Tue, 26 Feb 2008) | 2 lines
Fix a link to Boost.Bimap.
........
r43418 | danieljames | 2008-02-26 22:07:25 +0000 (Tue, 26 Feb 2008) | 2 lines
Change another link that's no longer in the repository to link to the website.
........
r43422 | danieljames | 2008-02-27 18:51:14 +0000 (Wed, 27 Feb 2008) | 1 line
Fix broken copyright urls. Fixes #1573 .
........
r43423 | danieljames | 2008-02-27 19:22:01 +0000 (Wed, 27 Feb 2008) | 1 line
Fix incorrect links to copyright of the form 'http:#www.boost.org
........
[SVN r43425]
2008-02-27 20:00:24 +00:00
Daniel James
9b5d99078e
Fix broken copyright urls. Fixes #1573 .
...
[SVN r43422]
2008-02-27 18:51:14 +00:00
Beman Dawes
00782e4d6a
Full merge from trunk at revision 41356 of entire boost-root tree.
...
[SVN r41369]
2007-11-25 18:07:19 +00:00
Beman Dawes
a9c191bb59
// Add or correct comment identifying Boost library this header is associated with.
...
[SVN r41173]
2007-11-17 20:13:16 +00:00
David Deakins
957b7ae81c
Have the local_time and universal_time functions use GetSystemTime and SystemTimeToFileTime on Windows CE (since GetSystemTimeAsFileTime is not present)
...
[SVN r41069]
2007-11-13 20:19:39 +00:00
Ralf W. Grosse-Kunstleve
c72177cb58
gcc 4.3.0 compatibility (resolves new "changes meaning" error)
...
[SVN r40558]
2007-10-29 19:12:56 +00:00
Anthony Williams
b04e84c09c
New mutex implementations, more akin to C++0x
...
[SVN r39784]
2007-10-08 15:41:05 +00:00
Caleb Epstein
43f9e6bc25
Quiet unused argument warnings from gcc.
...
[SVN r39274]
2007-09-14 17:18:02 +00:00
Boris Gubenko
7171662c11
on HP-UX, macro BOOST_DATE_TIME_HAS_REENTRANT_STD_FUNCTIONS should be defined only if macro _REENTRANT is defined
...
[SVN r39256]
2007-09-14 02:25:06 +00:00
Thomas Witt
62c7e837f1
Patches from Trac #583 .
...
[SVN r37846]
2007-06-01 16:12:08 +00:00
Jeff Garland
908a40bdc1
apply changes from adobe to remove else clause which makes some compilers spit out a warning.
...
[SVN r37775]
2007-05-25 19:59:41 +00:00
Jeff Garland
0414642fc6
apply changes from adobe to remove else clause which makes some compilers spit out a warning.
...
[SVN r37775]
2007-05-25 19:59:41 +00:00
Jeff Garland
2cbb73d151
SF tracker 1672139 - fix end time in au_dst_traits to 3 hours instead of 2
...
[SVN r37130]
2007-03-02 05:19:06 +00:00
Jeff Garland
2a19fc5fb0
SF tracker 1672139 - fix end time in au_dst_traits to 3 hours instead of 2
...
[SVN r37130]
2007-03-02 05:19:06 +00:00
Jeff Garland
d9ae9fb1cf
Remove unused variables from serialization code to prevent warnings
...
[SVN r37129]
2007-03-02 02:50:49 +00:00
Jeff Garland
998143109f
Remove unused variables from serialization code to prevent warnings
...
[SVN r37129]
2007-03-02 02:50:49 +00:00
Jeff Garland
461e80afd6
Changes to fix the compile-time dst rules engines for 2007 US and Canada dst changes
...
[SVN r37128]
2007-03-02 02:04:55 +00:00
Jeff Garland
07b8df62f0
Changes to fix the compile-time dst rules engines for 2007 US and Canada dst changes
...
[SVN r37127]
2007-03-02 01:54:49 +00:00
Jeff Garland
f504c68f58
fix problem with acc by including sstream
...
[SVN r37047]
2007-02-23 15:30:31 +00:00
Jeff Garland
4a404c0a45
fix problem with acc by including sstream
...
[SVN r37047]
2007-02-23 15:30:31 +00:00
Jeff Garland
bf9502ac86
add single overall include file for date time lib
...
[SVN r35756]
2006-10-27 23:21:38 +00:00
Jeff Garland
bc53043e5c
add single overall include file for date time lib
...
[SVN r35756]
2006-10-27 23:21:38 +00:00
Gennaro Prota
97d1a0a7af
use new license reference text; silence inspect tool false positives about min/max
...
[SVN r34576]
2006-07-17 03:56:05 +00:00
Gennaro Prota
ef9df63195
fixed license reference text; parenthesized max identifiers, even if inside a comment, to avoid spurious inspect tool detections
...
[SVN r34575]
2006-07-17 03:48:31 +00:00
Jeff Garland
17b02e954c
fix an issue with multiple defines under some circumstances -- change static const into an enum
...
[SVN r34382]
2006-06-23 18:05:48 +00:00
Jeff Garland
19e07d6bf2
fix an issue with multiple defines under some circumstances -- change static const into an enum
...
[SVN r34381]
2006-06-23 17:55:18 +00:00
Jeff Garland
2f8e311836
Fix header guard mismatch issue -- basically cleanup as the guard mismatch doesn't have an effect in this case.
...
[SVN r34067]
2006-05-23 14:38:15 +00:00
Jeff Garland
c1302ab112
Fix header guard mismatch issue -- basically a no-op
...
[SVN r34066]
2006-05-23 14:33:55 +00:00
Jeff Garland
269f799e99
Apply modified version of gcc warning patch from Stephan L. to main branch
...
[SVN r33481]
2006-03-26 21:35:58 +00:00
Jeff Garland
4a3a71749e
Apply modified version of gcc warning patch from Stephan L.
...
[SVN r33480]
2006-03-26 21:29:10 +00:00
Jeff Garland
2af5cd1361
add an expand function to the period
...
[SVN r33478]
2006-03-26 20:12:41 +00:00
Jeff Garland
ac92083505
Fix regression errors that showed up under FreeBSD with GCC and the LANG environment set to russian -- changed parser to use classic locale instead of blank locale
...
[SVN r33416]
2006-03-21 02:26:30 +00:00
Jeff Garland
83be4dd883
Shadow warning fixes from Steven L.
...
[SVN r33407]
2006-03-20 13:29:16 +00:00
Jeff Garland
f9576c4a32
Supress warnings for VC
...
[SVN r33372]
2006-03-18 16:47:55 +00:00
Alisdair Meredith
27ca552ed8
Patch for Borland patch - did not include workaround.hpp
...
[SVN r33134]
2006-02-27 08:02:30 +00:00
Alisdair Meredith
ee74aad32f
Workarounds updated for BCB2006 compiler
...
[SVN r33125]
2006-02-26 20:10:18 +00:00
Jeff Garland
b3e3232bbd
Reduce the usage of basic_stringstream as much a possible to work around VC8 memory leak issue.
...
[SVN r32998]
2006-02-18 20:58:01 +00:00
Jeff Garland
7e1b6bbef4
minor patch from Davlet Panech to stop ICE on MSVC6 SP6 with STLPort 4.6.2
...
[SVN r31927]
2005-12-06 03:49:15 +00:00
Jeff Garland
26f14eda80
add dll linking for special_value_from_string declaration.
...
[SVN r31802]
2005-11-28 13:21:54 +00:00
Jeff Garland
66721a13e4
Fix one last unqualified tm struct --> make std::tm
...
[SVN r31521]
2005-11-01 04:27:29 +00:00
Jeff Garland
334a28d8ce
changes to for QNX - put time_t references into namespace std
...
[SVN r31496]
2005-10-27 13:37:30 +00:00
Jeff Garland
c2a307320b
changes for tracker issue 1178092 -- change in convert_to_lower to make local a const static and speed up parsing.
...
[SVN r31460]
2005-10-25 12:49:02 +00:00
Jeff Garland
cfc379713a
fixes for issue 949189 -- perhaps cleans up some warnings.
...
[SVN r31459]
2005-10-25 12:42:20 +00:00
Jeff Garland
cfea9b8090
remove obsolete file -- class renamed
...
[SVN r31457]
2005-10-25 03:52:30 +00:00
Jeff Garland
6f7fc0d116
Qualify all references to tm with std:: hopefully will fix QNX compile issues
...
[SVN r31456]
2005-10-25 03:38:40 +00:00
Jeff Garland
f2d4fac8cd
Patch to silence vc8 deprication warnings since we plan to keep using std::gmtime.
...
[SVN r31455]
2005-10-25 02:42:43 +00:00
Jeff Garland
267c42d33f
Start on feature changes required to support wide chars in time zones and eventual move of all the time zone core to date_time namespace
...
[SVN r31436]
2005-10-23 20:15:07 +00:00
Jeff Garland
6ab46fc3d4
fixes for regression in gcc295 compilers
...
[SVN r30914]
2005-09-11 23:21:00 +00:00
Jeff Garland
2edb54a390
Fix negative month addition issue.
...
[SVN r30823]
2005-09-05 22:07:23 +00:00
Jeff Garland
1ed0baf300
iso tokenizer fixes - causes exception when missing digits - hence bad format
...
[SVN r30820]
2005-09-05 21:34:26 +00:00
Jeff Garland
71b24a55de
fixes for day of month parsing problem
...
[SVN r30818]
2005-09-05 21:10:50 +00:00
John Maddock
e73f083d86
Large patch from Ulrich Eckhardt to fix support for EVC++ 4.
...
[SVN r30670]
2005-08-25 16:27:28 +00:00
Jeff Garland
7ae423541f
fix shadow warnings and remove mis-coded copy constructor
...
[SVN r30607]
2005-08-20 18:22:06 +00:00
Jeff Garland
3b99d4e120
Remove localtime_r functions for borland compilers.
...
[SVN r30374]
2005-08-02 13:02:41 +00:00
Jeff Garland
01736f5847
Fixes to period to resolve inconsistencies with handling periods of -1, 0, 1 durations.
...
[SVN r30233]
2005-07-24 23:47:50 +00:00
Jeff Garland
ebd6ac409c
Fixes so that from_iso_string correctly handles subsecond resolutions.
...
[SVN r30175]
2005-07-19 11:17:32 +00:00
Jeff Garland
f8b6cee61b
Reorder input iterator dereferences to ensure end of stream is checked first
...
[SVN r30150]
2005-07-17 23:57:59 +00:00
Jeff Garland
74de942d09
critical fix for time input functions that made iso and other undelimited time formats fail to parse correctly
...
[SVN r30129]
2005-07-16 00:36:56 +00:00
Jeff Garland
8ff4398901
fix tabs in file problem
...
[SVN r30025]
2005-07-13 03:59:54 +00:00
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
Jeff Garland
40fc786a46
disable the reentrant calls when MSC_VER is defined -- should fix regressions on windows compilers temporarily while we figure out why it works here, but not in regression land
...
[SVN r27747]
2005-03-20 16:41:07 +00:00
Jeff Garland
f88d8130a5
fixes related to reentrant function calls on posix (localtime_r)
...
[SVN r27744]
2005-03-19 21:39:59 +00:00
Jeff Garland
aac4bbfd98
changes for vc7 failure related to shared_ptr compares
...
[SVN r27743]
2005-03-19 18:42:14 +00:00
Jeff Garland
b03be5374f
replace time_ with this->time_ to hopefully fix gcc regression failures
...
[SVN r27658]
2005-03-15 04:29:08 +00:00
Jeff Garland
46a8a6c4f5
refactor the implementation of has_dst to remove the a flag and hopefully allow this code to compile on vc7
...
[SVN r27634]
2005-03-13 19:29:20 +00:00
Jeff Garland
b88926bc0d
fix gcc3_4 lookup errors for protected data member time_ by adding this->time_ to subclass
...
[SVN r27633]
2005-03-13 19:16:22 +00:00
Jeff Garland
ba33687a2b
fix bug 1155556 which reports failure in the case of an empty string sent to from_simple_string
...
[SVN r27624]
2005-03-12 20:44:55 +00:00
Victor A. Wagner Jr.
7971e6658a
Changed - some &*somestdstring.end() to &*somestdstring.begin+somestdstring.size()
...
since dereferencing ....end() is undefined
I realize that most optimizers will do away with the dereference, but some
debugging libraries won't (in particular VC8.0)
[SVN r27549]
2005-03-04 06:52:10 +00:00
Jeff Garland
09fc884f2d
make output of generators have a 2 digit day in all cases
...
[SVN r27488]
2005-02-23 10:07:53 +00:00
Jeff Garland
0aab889bfe
fix metroworks and other regressions as a result of multiple definitions of the 1_33_facet_io macro -- in some cases it's defined in the JAMFILE so we don't want to redefine here
...
[SVN r27435]
2005-02-19 22:26:19 +00:00
Jeff Garland
965643e13f
Fix problems with gcc 3.4 and 4.x compiles by adding this-> to protected member access
...
[SVN r27405]
2005-02-16 13:04:40 +00:00
Jeff Garland
32d0fd2cd1
make division operator const
...
[SVN r27404]
2005-02-16 13:03:38 +00:00
Jeff Garland
f4038f5df4
change the i/o to not be included if pre_133 macro is set
...
[SVN r27351]
2005-02-13 19:11:14 +00:00
Jeff Garland
462c4f4112
change storage for default strings over to individual chars to avoid redefinition problems
...
[SVN r27350]
2005-02-13 19:09:50 +00:00
Jeff Garland
c812fbed5a
remove zone_abbrev function
...
[SVN r27349]
2005-02-13 19:08:51 +00:00
Jeff Garland
f060e8752a
fix errors in compiler config due to bad patch
...
[SVN r27339]
2005-02-13 02:38:32 +00:00
Jeff Garland
8c7d41bd85
fixes for regressions on old compilers after check-in of new facet code
...
[SVN r27309]
2005-02-10 15:17:01 +00:00
Jeff Garland
1db70c3342
mostly doc updates -- a few minor typedefs and such for local time
...
[SVN r27000]
2005-02-02 02:34:46 +00:00
Jeff Garland
f18f2ddeff
add new legacy io file -- fix broken regression tests
...
[SVN r26984]
2005-02-01 03:15:16 +00:00
Jeff Garland
94de717857
large series of changes associated with revamped facet code
...
[SVN r26940]
2005-01-30 20:58:52 +00:00
Stefan Slapeta
faf814d4e1
check bad leap year from string
...
[SVN r26860]
2005-01-27 11:09:50 +00:00
Jeff Garland
8da8b543ab
updates to enable universal_time for windows platforms
...
[SVN r26812]
2005-01-22 19:16:03 +00:00
Jeff Garland
fff2e8e38d
add in a universal time extension for gettimeofday clocks
...
[SVN r26805]
2005-01-22 16:33:48 +00:00
Jeff Garland
021b754074
changes to add local_time io -- 11-03 io patchset
...
[SVN r26658]
2005-01-10 00:29:14 +00:00
Jeff Garland
5505ebb621
add as part of the 11-03 io patchset
...
[SVN r26655]
2005-01-09 23:24:05 +00:00
Jeff Garland
a3463b52bc
fix for VC7 regression change
...
[SVN r26654]
2005-01-09 23:13:54 +00:00
Jeff Garland
c4ec04ca2a
new local time stuff from 11-03 patchset
...
[SVN r26652]
2005-01-09 22:52:50 +00:00
Jeff Garland
5c85586294
various changes from 11_03_2004 patch set
...
[SVN r26651]
2005-01-09 20:37:36 +00:00
Jeff Garland
dcaf8594e1
first version of operators
...
[SVN r26650]
2005-01-09 20:23:48 +00:00
Jeff Garland
c0c724e6dd
add comment regarding static cast
...
[SVN r26469]
2004-12-07 11:00:12 +00:00
Jeff Garland
389747604e
apply sunpro patch from caleb epstein
...
[SVN r26468]
2004-12-07 10:52:50 +00:00
Jeff Garland
0202d24f66
fix various vc7.x warnings
...
[SVN r26436]
2004-12-06 02:07:52 +00:00
Jeff Garland
c584da75f3
fix vc7.x warnings
...
[SVN r26435]
2004-12-06 02:01:32 +00:00
Jeff Garland
10aad83bd6
fix potential loss of resolution on conversion
...
[SVN r26434]
2004-12-06 01:54:20 +00:00
Jeff Garland
af9cfeac5e
fix windows min/max macro clash problem
...
[SVN r26401]
2004-12-02 13:48:17 +00:00
Victor A. Wagner Jr.
200d17fd13
Added - #include "boost/shared_ptr.hpp"
...
so the user doesn't have to.
[SVN r26392]
2004-12-01 15:50:05 +00:00
Aleksey Gurtovoy
d76afc09e4
merge RC_1_32_0 tab fixes
...
[SVN r26327]
2004-11-28 03:27:25 +00:00
Jeff Garland
02e78e9bb7
add method for local times
...
[SVN r26111]
2004-11-04 12:40:37 +00:00
Jeff Garland
950d235994
remove date template parameter from clock type
...
[SVN r26110]
2004-11-04 12:38:54 +00:00
Jeff Garland
245fcbe19c
add clock stuff for local_times
...
[SVN r26109]
2004-11-04 12:37:55 +00:00
Jeff Garland
fe49e0bfd3
merge fix from 1.32 release branch
...
[SVN r26108]
2004-11-04 12:28:49 +00:00
Jeff Garland
90a28a5988
new format-based time formatter core
...
[SVN r25719]
2004-10-14 02:42:09 +00:00
Jeff Garland
5f545d33fc
add new format based date facet code
...
[SVN r25718]
2004-10-14 00:05:56 +00:00
Jeff Garland
5ab9ac8eba
make utc time type available for clients
...
[SVN r25714]
2004-10-13 18:40:02 +00:00
Jeff Garland
a93beae7e7
include posix_time since we depend on it
...
[SVN r25713]
2004-10-13 18:39:15 +00:00
Jeff Garland
ade6682a9a
various changes to tm conversion functions for local_time support
...
[SVN r25617]
2004-10-07 22:28:21 +00:00
Jeff Garland
97df759fb5
first version of format-based parsing engine
...
[SVN r25615]
2004-10-07 21:40:53 +00:00
Jeff Garland
beb447b6d6
minor commenting fixes
...
[SVN r25614]
2004-10-07 21:05:04 +00:00
Jeff Garland
8f2c5d0ecd
initial version of functions to pull month and weekdays from a facet
...
[SVN r25613]
2004-10-07 21:02:33 +00:00
Jeff Garland
fecb89c9f5
add generic put period template function
...
[SVN r25545]
2004-10-04 00:00:42 +00:00
Jeff Garland
454277023d
files for facet rewrite
...
[SVN r25544]
2004-10-03 23:28:49 +00:00
Jeff Garland
8a472229cc
fix bug in time duration parsing where fractional digits would be incorrect
...
[SVN r25537]
2004-10-03 14:59:25 +00:00