Bryce Adelstein-Lelbach
d444c164c2
Replacing the use of <iomanip> with <boost/detail/iomanip.hpp> across Boost.
...
On Linux, GNU's libstdc++, which is the default stdlib for icc and clang,
cannot parse the <iomanip> header in version 4.5+ (which thankfully neither
compiler advises the use of yet), as it's original C++98-friendly
implementation has been replaced with a gnu++0x implementation.
<boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing
boost::detail::setfill, boost::detail::setbase, boost::detail::setw,
boost::detail::setprecision, boost::detail::setiosflags and
boost::detail::resetiosflags.
[SVN r68140]
2011-01-14 02:35:58 +00:00
Daniel James
2c8be13241
Mergeinfo for libs/date_time and clean up whitespace differences with trunk.
...
[SVN r66267]
2010-10-30 13:34:37 +00:00
Andrey Semashev
3a779defdb
Added inline qualifiers. Fixes #3647 .
...
[SVN r62674]
2010-06-09 17:36:07 +00:00
Andrey Semashev
5bad0e79de
Added inline qualifiers. Refs. #3647 .
...
[SVN r62673]
2010-06-09 17:35:16 +00:00
Andrey Semashev
2cf2957cd5
Merged changes from trunk (rev. 62450). Fixes #3876 .
...
[SVN r62667]
2010-06-09 16:33:36 +00:00
Andrey Semashev
901cb1fd20
Refs #3876 . Made format flags %T and %R to be processed by the library in order to support them on more platforms. Also marked some flags that are known to have similar problems in the docs.
...
[SVN r62450]
2010-06-05 17:09:37 +00:00
Troy D. Straszheim
09b0c7c183
rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
...
[SVN r56942]
2009-10-17 02:07:38 +00:00
Troy D. Straszheim
0d90e990da
rm cmake from the release branch before it goes out broken. Policy dictates that you never commit to release, you commit to trunk and merge to release.
...
[SVN r56941]
2009-10-17 01:10:45 +00:00
Andrey Semashev
7b3b24632e
Fixes #3308 . Also added some missing includes.
...
[SVN r56456]
2009-09-28 18:10:02 +00:00
Andrey Semashev
e229437b9e
Refs #3308 . Fixed calculation of difference between dates on 64 bit platforms.
...
[SVN r56372]
2009-09-24 20:21:37 +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
8e9f05161d
Improved diagnostics in case of test failure.
...
[SVN r53528]
2009-06-01 09:02:43 +00:00
Andrey Semashev
c4531a9c0e
Added missing include for the BOOST_NO_STD_WSTRING macro.
...
[SVN r51229]
2009-02-12 20:33:55 +00:00
Andrey Semashev
e0efb39092
Added missing config.hpp include for the wide characters support configuration macro.
...
[SVN r51030]
2009-02-05 17:48:02 +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
Troy D. Straszheim
983db9f225
merge of cmake build files from trunk per beman
...
[SVN r50756]
2009-01-24 18:57:20 +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
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
a2049a59d6
Merged various fixes from trunk.
...
[SVN r49705]
2008-11-12 19:37:53 +00:00
Michael A. Jackson
e68bd489a6
Updating CMake files to latest trunk. Added dependency information for regression tests and a few new macros for internal use.
...
[SVN r49627]
2008-11-07 17:02:56 +00:00
Andrey Semashev
ca3bb2dfe8
The test now operates on strings rather than files. This was made in order to reduce possible influence from the file system and improve diagnostics in case of failure.
...
[SVN r49613]
2008-11-06 16:14:02 +00:00
Andrey Semashev
1dd61b0f86
The test now operates on strings rather than files. This was made in order to reduce possible influence from the file system and improve diagnostics in case of failure.
...
[SVN r49612]
2008-11-06 16:03:44 +00:00
Andrey Semashev
b59c3dab04
Fixed exception handling that led to exception type slicing in some cases and simply inefficient code in others.
...
[SVN r49610]
2008-11-06 15:43:07 +00:00
Michael A. Jackson
aa74081aff
Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
...
[SVN r49510]
2008-11-01 13:15:41 +00:00
Andrey Semashev
d170c71007
Fixed a number of misprints in the documentation, added change notes for
...
the latest commit. The tests are modified to support the latest changes.
[SVN r49506]
2008-11-01 10:36:57 +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
e7e613f518
Full merge from trunk at revision 41356 of entire boost-root tree.
...
[SVN r41370]
2007-11-25 18:38:02 +00:00
Vladimir Prus
1cbafb20d0
Remove V1 Jamfiles
...
[SVN r38516]
2007-08-08 19:02:26 +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
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
b232691602
allow tests to pass if the clock time is equal to the last -- happens on fast machines.
...
[SVN r37066]
2007-02-25 20:00:37 +00:00
Jeff Garland
0b401d8914
allow tests to pass if the clock time is equal to the last -- happens on fast machines.
...
[SVN r37066]
2007-02-25 20:00:37 +00:00
Jeff Garland
5becc5c309
test update to coorespond to new 2007 DST rules in US and new tz database.csv file
...
[SVN r37011]
2007-02-20 03:01:31 +00:00
Jeff Garland
6cfc007431
test update to coorespond to new 2007 DST rules in US and new tz database.csv file
...
[SVN r37011]
2007-02-20 03:01:31 +00:00
Rene Rivera
9aec576490
Remove obsolete Boost.Build v1 files.
...
[SVN r35880]
2006-11-06 17:10:46 +00:00
Jeff Garland
0dadfe419a
add some test diagnostics to get more information about regression failures
...
[SVN r34283]
2006-06-12 14:46:54 +00:00
Jeff Garland
5cd09b1cfb
add some test diagnostics to get more information about regression failures
...
[SVN r34283]
2006-06-12 14:46:54 +00:00
Jeff Garland
2af5cd1361
add an expand function to the period
...
[SVN r33478]
2006-03-26 20:12:41 +00:00
Rene Rivera
485762ff72
Merge from HEAD.
...
[SVN r33458]
2006-03-23 16:12:40 +00:00
Rene Rivera
6d728ddd40
Add missing requirement rule when using the shared version of serialization.
...
[SVN r33456]
2006-03-23 15:16:22 +00:00
Jeff Garland
e9261beb4c
Fix regression test error with greg_serialize_dll by changing Jamfile to pick up dll properly.
...
[SVN r33377]
2006-03-18 19:58:03 +00:00
Vladimir Prus
d3a6dd9385
The date_time/testgreg_serialize_dll test should link to date_time DLL,
...
not static lib.
[SVN r33184]
2006-03-01 09:35:06 +00:00
Vladimir Prus
7984815e6e
Attempt to sync Jamfile.v2 with Jamfile
...
[SVN r32490]
2006-01-31 16:57:16 +00:00
Vladimir Prus
8a6b03a744
Update Jamfile.v2
...
[SVN r32350]
2006-01-18 12:32:54 +00:00
Douglas Gregor
b5a98e0321
Fix regression testing on GCC 2.95.x, I think
...
[SVN r32184]
2005-12-29 19:46:55 +00:00
Jeff Garland
258a9d72f3
add a dll linked test for serialization to make sure all the symbols are exported
...
[SVN r31801]
2005-11-28 13:20:35 +00:00
Jeff Garland
cfea9b8090
remove obsolete file -- class renamed
...
[SVN r31457]
2005-10-25 03:52:30 +00:00
Jeff Garland
c83211770f
add new tests to support wide chars in timezones
...
[SVN r31437]
2005-10-23 20:15:39 +00:00
Jeff Garland
e8ba437845
Add tests to fix negative durations wrapping problem (wrapping int fix)
...
[SVN r30822]
2005-09-05 22:07:05 +00:00
Jeff Garland
09ff47960f
iso tokenizer fix test updates - causes exception when missing digits - hence bad format
...
[SVN r30821]
2005-09-05 21:34:51 +00:00
Jeff Garland
33bce3542a
add local time iterator and local time period tests to Jamfile
...
[SVN r30819]
2005-09-05 21:30:41 +00:00
Jeff Garland
73ddcd7ead
add tests for day of month parsing problem
...
[SVN r30817]
2005-09-05 21:10:09 +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
9b1d477e1c
Fixes to period to resolve inconsistencies with handling periods of -1, 0, 1 durations. Add new tests for these cases
...
[SVN r30234]
2005-07-24 23:48:42 +00:00
Jeff Garland
05de944281
Add tests for subsecond resolution for from_iso_string -- patched to work correctly now.
...
[SVN r30174]
2005-07-19 11:16:18 +00:00
Jeff Garland
ee65dedf4d
move all tests within an exception block to see if we can track down odd cw failures
...
[SVN r30151]
2005-07-17 23:58:33 +00:00
Jeff Garland
7e719a84d9
tighten up testing for various input i/o formats
...
[SVN r30135]
2005-07-16 18:37:46 +00:00
Jeff Garland
748fe1433d
critical fix for time input functions that made iso and other undelimited time formats fail to parse correctly -- additional tests
...
[SVN r30130]
2005-07-16 00:37:26 +00:00
Jeff Garland
cd68e581a6
add a few tests that have been there for ages, but somehow got dropped from the Jamfile -- this includes several i/o tests. Also removed a redundant test
...
[SVN r29878]
2005-07-03 06:56:21 +00:00
Jeff Garland
64185b666d
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. This change adds new tests to make sure the bug is gone
...
[SVN r29877]
2005-07-03 06:55:06 +00:00
Jeff Garland
ad50aac6b7
Added tests to test fix for 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 r29875]
2005-07-02 23:36:32 +00:00
Jeff Garland
bc754d907c
add tests for fix to input parsing. Tests for 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 r29854]
2005-07-01 03:00:34 +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
Vladimir Prus
4f9cd8f96e
link-runtime -> runtime-link.
...
Patch from Jurgen Hunold.
[SVN r29729]
2005-06-22 10:11:39 +00:00
Jeff Garland
7472b1e047
fixes for special value serialization bug
...
[SVN r29712]
2005-06-21 03:35:34 +00:00
Jeff Garland
bb21d778a0
updates to test for %% bugfix -- removal of references to ptime_facet in tests
...
[SVN r29622]
2005-06-16 13:23:38 +00:00
Rene Rivera
c30df89277
Fix serialization condition that archives have to be included first.
...
[SVN r29426]
2005-06-04 06:40:36 +00:00
Jeff Garland
6596484fb1
minor update to testcase to see if we can figure out why vc8 fails this test
...
[SVN r29228]
2005-05-26 12:37:49 +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
ea0e997bf5
add new test file for local time iterator
...
[SVN r28940]
2005-05-15 22:05:54 +00:00
Jeff Garland
431cb1cbf4
add new testfile for local time periods
...
[SVN r28939]
2005-05-15 21:22:10 +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
43839c4d19
Changes to tests for i/o fixes -- close some holes. Also rename of custom timezone
...
[SVN r28629]
2005-05-03 14:27:05 +00:00
Jeff Garland
d13c4ec9f3
updates to fix serialization regression caused by changes to the serialization lib -- const value is required when archiving
...
[SVN r28456]
2005-04-24 05:53:01 +00:00
Jeff Garland
dd789080fd
add local time input facet test
...
[SVN r28447]
2005-04-24 01:48:19 +00:00
Jeff Garland
54d9cbc1bf
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. Added tests to validate this is working correctly
...
[SVN r28446]
2005-04-24 01:36:25 +00:00
Jeff Garland
7635f9334d
add facet tests the check setting of name strings
...
[SVN r28441]
2005-04-23 21:15:06 +00:00
Jeff Garland
dd0c9127e0
test updates for local time input streaming
...
[SVN r28434]
2005-04-23 05:41:08 +00:00
Rene Rivera
1d5b9be500
Fix bjam error when Spirit is not found, which is required for use of Boost.Serialization.
...
[SVN r28346]
2005-04-20 22:06:17 +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
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
6304827f3a
changes to test to support format-based input of time types. For example: %Y-%M-%D %H:%M:%S - new testfile posix_time/testtime_input_facet.cpp
...
[SVN r28141]
2005-04-12 02:56:45 +00:00
Jeff Garland
44fec40c5f
clear up some test errors for compilers that don't support the new 1.33 fancy i/o facts
...
[SVN r28091]
2005-04-10 23:47:38 +00:00
Jeff Garland
971a9cc630
add date-time serialization tests to the standard suite of tests
...
[SVN r28083]
2005-04-10 18:07:52 +00:00
Jeff Garland
dbe8af4393
add test for truncating extra digits when parsing time duration instead of taking the last n digits incorrectly
...
[SVN r27936]
2005-04-02 17:58:58 +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
aac4bbfd98
changes for vc7 failure related to shared_ptr compares
...
[SVN r27743]
2005-03-19 18:42:14 +00:00
Jeff Garland
527c482a9f
put in a fix to retry if the tz_database file cannot be found -- this should fix regression tests that are run from boost/status directory
...
[SVN r27635]
2005-03-13 19:49:35 +00:00
Jeff Garland
e71ce4bf36
add empty string test for bug 1155556 which reports failure in the case of an empty string sent to from_simple_string
...
[SVN r27623]
2005-03-12 20:44:03 +00:00
Jeff Garland
174bea2604
added new date parsing tests to go along with updates to date parsing code including new tokenizer stuff
...
[SVN r27622]
2005-03-12 20:30:09 +00:00
Jeff Garland
a62c95047c
fix for failures on gcc3.x on Solaris -- apparently on that platform there is a macro that defines sun == 1 -- unbelievable...
...
[SVN r27618]
2005-03-12 03:56:24 +00:00
Jeff Garland
c6292bcabc
fix test so it can find tz csv file when run from regression directory
...
[SVN r27563]
2005-03-07 03:53:44 +00:00
Jeff Garland
09bfa592a6
add in the local time tests
...
[SVN r27456]
2005-02-20 22:47:44 +00:00