Joachim Faulhaber
1519c8784e
Warning fixes for conversion warnings
2015-09-22 13:01:50 +02:00
Joachim Faulhaber
86703c4df9
Warning fixes for conversion warnings
2015-09-21 17:45:12 +02:00
Marshall Clow
b13b2a2b42
Patch from alexhenrie to fix spelling mistake in comment
2015-02-01 16:40:38 -08:00
Axel Ismirlian
e9c5af3c45
Renamed variable v_type to var_type so it no longer conflicts with the definition of an AIX system variable.
2014-08-08 10:47:45 -05:00
Andrey Semashev
ae536816ee
Restored to_time_t() function removed by commit 6636f49f13
.
2014-05-31 20:46:36 +04:00
Andrey Semashev
805bf4dffe
Added comments to the type tags.
2014-05-31 17:49:52 +04:00
Andrey Semashev
1753a38289
Fix Boost.Sync tests breakage.
...
Re-add date/time type tags removed by commit 6636f49f13
. These tags are used by Boost.Sync to categorize different date/time types.
2014-05-31 17:13:25 +04:00
K. Noel Belcourt
6636f49f13
Merge branch 'master' into develop
2014-05-09 20:36:03 -06:00
Maks Naumov
2df204ba78
remove unused variable in tz_db_base::load_from_file()
2014-04-15 16:08:11 +03:00
Denis Mingulov
9ad0419530
#else/#endif comments are updated accordingly to the used condition
...
Fixed incorrect comments for the condition at the next line:
#if defined(BOOST_DATE_TIME_HAS_REENTRANT_STD_FUNCTIONS)
There were later:
#else // BOOST_HAS_THREADS
#endif // BOOST_HAS_THREADS
It prevented a proper fast undesrstanding of the source.
2014-03-24 08:41:16 +02:00
Marshall Clow
4d44fae9ac
Merge pull request #2 from DanielaE/feature/qoi-warnings
...
Suppress msvc level-4 warnings.
2014-03-12 08:29:22 -07:00
Andrey Semashev
f42e7f6287
Fixed locally defined but not unused typedef warnings on GCC.
...
Passes tests.
2014-03-02 01:30:52 -08:00
Daniela Engert
c4abfc8cbb
Suppress msvc level-4 warnings.
...
Even when compiled at warning level 4 (i.e. all), project policies may require compilations without warnings issued.
Signed-off-by: Daniela Engert <dani@ngrt.de>
2014-02-07 18:17:40 +01:00
Noel Belcourt
344c0dceb4
Merge pull request #4 from MarcelRaad/patch-1
...
Fix for utc_to_local year 2038 problem
2014-02-06 20:32:28 -07:00
Marcel Raad
c88efdea68
Fix for utc_to_local year 2038 problem
...
Even if std::time_t is 64-bit, multiplying the 32-bit value dd.days() by 86400 result in a negative value for dates after 2038. This results in c_time::localtime(&t2, &tms) throwing an exception.
Adding casts to std::time_t fixes this problem.
2014-01-20 13:26:43 +01:00
Daniela Engert
ad1899abd9
fix: narrow uses insufficient input char type
...
The current implementation uses std::stringstream::narrow(char) with its 'char' input parameter type to transform 'charT' chars taken from a std::basic_istream<charT> into 'char' chars. This is most likely not what is intended if 'charT' is wider than 'char'. Fix this by using std::basic_istream<charT>::narrow(charT) instead.
Signed-off-by: Daniela Engert <dani@ngrt.de>
2013-12-30 17:41:34 +01:00
Marshall Clow
057e0aaf64
Merge DateTime bug fix to Release; Fixes #9216
...
[SVN r86322]
2013-10-15 15:22:02 +00:00
Marshall Clow
072b4e1b61
Fix several 'iterating past the end' bugs in Boost.DateTime; Refs #9216
...
[SVN r86230]
2013-10-10 15:43:31 +00:00
Stephen Kelly
fe1f823e3a
DateTime: Remove obsolete GCC version checks.
...
[SVN r86108]
2013-10-01 08:43:14 +00:00
Stephen Kelly
dee09f0e62
DateTime: Remove obsolete MSVC version check.
...
[SVN r86027]
2013-09-30 00:18:55 +00:00
Stephen Kelly
af581a1f2a
DateTime: Remove obsolete MSVC version checks.
...
[SVN r85905]
2013-09-25 13:52:11 +00:00
Andrey Semashev
71ccdd2fe5
Added tags for integration with Boost.Sync.
...
[SVN r85672]
2013-09-15 10:21:59 +00:00
Marshall Clow
d123f62bdc
Merge fix for C++11 compilation error
...
[SVN r85045]
2013-07-15 13:55:21 +00:00
Marshall Clow
98f041d7fd
Merge bug fixes to release. Fixes #6136 . Fixes #5550
...
[SVN r84860]
2013-06-21 15:04:12 +00:00
Marshall Clow
990187b70c
Fixed more compiler warnings; Refs #5550
...
[SVN r84835]
2013-06-19 15:36:32 +00:00
Marshall Clow
0054ff1ab7
Fixed more compiler warnings; Refs #6136
...
[SVN r84834]
2013-06-19 15:25:05 +00:00
Marshall Clow
0764743fb9
Apply patch to release branch; Fixes #8391
...
[SVN r84755]
2013-06-13 14:00:48 +00:00
Marshall Clow
250b88cfb5
Removed extraneous return-unreachable introduced in [84645]
...
[SVN r84647]
2013-06-05 20:16:21 +00:00
Marshall Clow
d9874a3140
More error checking on tz files; Refs #8391
...
[SVN r84645]
2013-06-05 20:04:10 +00:00
Marshall Clow
47c81a9033
In C++11 the shared_ptr -> bool conversion is explicit. In custom time zone code, make the cast explicit. Fixes compilation failure in C++11
...
[SVN r84626]
2013-06-04 04:34:29 +00:00
Jürgen Hunold
5e009f6002
untabify to adjust to style of the rest of the file
...
[SVN r84290]
2013-05-15 09:14:11 +00:00
Jürgen Hunold
9454bb4e1c
add inline to avoid duplicate symbol warnings
...
[SVN r84289]
2013-05-15 09:13:17 +00:00
Marshall Clow
5126bfbc0a
Added missing call 'to_time_t' (and tests)
...
[SVN r84284]
2013-05-14 21:22:01 +00:00
Andrey Semashev
6bbd9f50bc
Merged changes from trunk. Fixes #3471 .
...
[SVN r80940]
2012-10-10 19:05:03 +00:00
Andrey Semashev
11974f29b2
Refs #3471 . Precompute the duration conversion coefficient to avoid integer overflow. Added a test for integer overflow in the subsecond duration constructor.
...
[SVN r80887]
2012-10-06 17:34:06 +00:00
Marshall Clow
365c29f1a1
Merge bug fixes to release; Fixes #5550 Fixes #6136 Fixes #6513 Fixes #7111 Fixes #7112 Fixes #7113 Fixes #7342 Fixes #7426
...
[SVN r80797]
2012-09-30 23:25:22 +00:00
Marshall Clow
2e31c3b92e
Commented out unused parameters in date-time; Refs #7426
...
[SVN r80722]
2012-09-27 14:24:15 +00:00
Marshall Clow
db1f46894e
Use memset instead of default constructor (std::tm) for deficient compilers; Refs #5550
...
[SVN r80710]
2012-09-26 16:57:58 +00:00
Marshall Clow
2da515b579
Added default case labels to silence bogus warnings; Refs #7112 ; Refs #7113
...
[SVN r80708]
2012-09-26 16:22:04 +00:00
Marshall Clow
e86d5f310f
Added default case label to silence bogus warning; Refs #7111
...
[SVN r80703]
2012-09-25 19:08:40 +00:00
Marshall Clow
7ce2128b11
Remove unused variable; Refs #7342 Refs #6136
...
[SVN r80699]
2012-09-24 21:41:06 +00:00
Vicente J. Botet Escriba
7b1b5aa452
DateTime: merge [80051]
...
[SVN r80648]
2012-09-22 22:33:33 +00:00
Vicente J. Botet Escriba
f0381aab02
DateTime: apply patch to manage with #7234
...
[SVN r80051]
2012-08-15 17:06:56 +00:00
Marshall Clow
9b94605972
Merge greg_year serialization changes to release; fixes #3633
...
[SVN r79539]
2012-07-15 16:49:32 +00:00
Marshall Clow
e6515ce73c
Refs #3633 ; will close when merged to release
...
[SVN r79228]
2012-07-02 15:14:03 +00:00
Jürgen Hunold
2490f1c985
Merge 73299,73301,73308 from ^/trunk
...
------------------------------------------------------------------------
r73299 | jhunold | 2011-07-22 14:08:03 +0200 (Fr, 22 Jul 2011) | 2 lines
Enable visibility support. Refs #2114 .
------------------------------------------------------------------------
r73301 | jhunold | 2011-07-22 16:15:45 +0200 (Fr, 22 Jul 2011) | 2 lines
Enable visibility support. Refs #2114 .
------------------------------------------------------------------------
r73308 | jhunold | 2011-07-23 11:24:35 +0200 (Sa, 23 Jul 2011) | 2 lines
Enable visibility support. Refs #2114 .
------------------------------------------------------------------------
[SVN r73381]
2011-07-26 17:40:21 +00:00
Jürgen Hunold
c81a7f7f0c
Enable visibility support. Refs #2114 .
...
[SVN r73301]
2011-07-22 14:15:45 +00:00
Marshall Clow
7f89ef42b6
Merge fixes to release; Fixes #1674
...
[SVN r72330]
2011-06-01 15:55:38 +00:00
Marshall Clow
72eb4479ea
Merge fixes to release; Fixes #2475
...
[SVN r72329]
2011-06-01 15:52:09 +00:00
Marshall Clow
77d6aa82bb
Applied patch; refs #1674
...
[SVN r72132]
2011-05-24 15:11:37 +00:00
Marshall Clow
dbc9491a32
added 'load_from_stream'; refs #2475
...
[SVN r71720]
2011-05-04 19:54:36 +00:00
Marshall Clow
bd7d632c66
Merge fixes to release; Fixes #1988
...
[SVN r71676]
2011-05-02 20:56:53 +00:00
Marshall Clow
2303ba2fbc
Renamed BOOST_NO_THREADEX -> BOOST_HAS_THREADEX and BOOST_NO_GETSYSTEMTIMEASFILETIME --> BOOST_HAS_GETSYSTEMTIMEASFILETIME - Refs #1988
...
[SVN r71533]
2011-04-27 15:51:07 +00:00
Marshall Clow
a77b19d9d7
Applied patch; Refs #4870
...
[SVN r71191]
2011-04-11 18:20:53 +00:00
Marshall Clow
7052c3c5f7
Merge date/time fixes to release. Fixes #5345
...
[SVN r70986]
2011-04-04 23:47:20 +00:00
Marshall Clow
abdd3169e4
Merge date/time fixes to release. Fixes #5250
...
[SVN r70985]
2011-04-04 23:45:08 +00:00
Marshall Clow
f049671aa3
Merge date/time fixes to release. Fixes #4952
...
[SVN r70984]
2011-04-04 23:42:42 +00:00
Marshall Clow
20286c8d74
Merge date/time fixes to release. Fixes #4798
...
[SVN r70983]
2011-04-04 23:39:00 +00:00
Marshall Clow
6baaaaf783
Merge date/time fixes to release. Fixes #4475
...
[SVN r70982]
2011-04-04 23:33:53 +00:00
Marshall Clow
2f18c57465
Applied modified patch - Refs #4798
...
[SVN r70780]
2011-03-31 13:32:46 +00:00
Marshall Clow
39fc9958ce
Applied patch - Refs #5345
...
[SVN r70770]
2011-03-30 22:27:06 +00:00
Marshall Clow
2869d0f722
Applied patch - Refs 5250
...
[SVN r70769]
2011-03-30 22:26:36 +00:00
Marshall Clow
6b7e271ba8
Applied patch - Refs #4952
...
[SVN r70768]
2011-03-30 22:25:58 +00:00
Marshall Clow
7f0f89d624
Applied patch - Refs #4475
...
[SVN r70767]
2011-03-30 22:25:25 +00:00
Steven Watanabe
5c9a890972
Revert [67111] (addition of boost/detail/iomanip.hpp) and all the commits that depend on it. ([68137], [68140], [68141], [68154], and [68165]).
...
[SVN r68168]
2011-01-15 08:11:51 +00:00
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
Eric Niebler
e524b7b26b
Merged revisions 66495 via svnmerge from
...
https://svn.boost.org/svn/boost/trunk
........
r66495 | eric_niebler | 2010-11-11 14:58:13 -0500 (Thu, 11 Nov 2010) | 1 line
add missing serialization/nvp.hpp header
........
[SVN r66497]
2010-11-11 20:19:38 +00:00
Eric Niebler
a161660022
add missing serialization/nvp.hpp header
...
[SVN r66495]
2010-11-11 19:58:13 +00:00
Andrey Semashev
836b5faa3e
Fixes #4154 . Added iterator validity checks. If TZ string is not valid, the time zone constructor throws instead of crashing.
...
[SVN r62751]
2010-06-10 17:24:38 +00:00
Andrey Semashev
e8561914b1
Refs #4154 . Added iterator validity checks. If TZ string is not valid, the time zone constructor throws instead of crashing.
...
[SVN r62685]
2010-06-09 19:29:47 +00:00
Andrey Semashev
4e56397de2
Silence silly GCC warnings. Fixes #3563 .
...
[SVN r62682]
2010-06-09 18:10:13 +00:00
Andrey Semashev
116869304c
Silence silly GCC warnings. Refs #3563 .
...
[SVN r62681]
2010-06-09 18:09:32 +00:00
Andrey Semashev
565d7d13a8
Silence the warnings. Fixes #3591 .
...
[SVN r62677]
2010-06-09 17:41:14 +00:00
Andrey Semashev
4db9fc1777
Silence the warnings. Refs #3591 .
...
[SVN r62676]
2010-06-09 17:40:23 +00:00
Andrey Semashev
a3e84e42be
Merged changes from trunk (rev. 62450). Fixes #3876 .
...
[SVN r62669]
2010-06-09 16:39:31 +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
Andrey Semashev
b85f86f35e
Fixes #2757 . Added explicit casts to avoid warnings on MSVC.
...
[SVN r61892]
2010-05-10 09:15:48 +00:00
Andrey Semashev
3fce52f4e3
Refs #2757 . Added explicit casts to avoid warnings on MSVC.
...
[SVN r61293]
2010-04-15 15:23:56 +00:00
Daniel James
149e759f06
Fix some whitespace differences between trunk and release.
...
[SVN r58878]
2010-01-10 19:17:23 +00:00
Andrey Semashev
865feda955
Fixes #3470 . Merged from trunk revision 56548.
...
[SVN r56549]
2009-10-03 10:22:58 +00:00
Andrey Semashev
0255dcd796
Refs #3470 . Modified documentation for c_time functions to reflect the actual behavior.
...
[SVN r56548]
2009-10-03 10:21:08 +00:00
Andrey Semashev
cbd73eb665
Fixes #1861 , #2213 merged from trunk.
...
[SVN r56545]
2009-10-03 10:04:00 +00:00
Andrey Semashev
9be8ef4831
Refs #1861 . Changed the default format for time durations to "%-%O:%M:%S%F" instead of "%-%H:%M:%S%F".
...
[SVN r56506]
2009-10-01 20:19:50 +00:00
Andrey Semashev
4ebe9e7979
Refs #2213 . Fixed UTC zone offset boudaries.
...
[SVN r56505]
2009-10-01 19:43:55 +00:00
Andrey Semashev
7b3b24632e
Fixes #3308 . Also added some missing includes.
...
[SVN r56456]
2009-09-28 18:10:02 +00:00
Andrey Semashev
820a0b311f
Added some missing includes.
...
[SVN r56384]
2009-09-25 19:39:08 +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
fa0df44386
Refs #3308 . Changed the internal type of the gregorian dates to 32 bit integer.
...
[SVN r56338]
2009-09-21 15:27:52 +00:00
Andrey Semashev
8184015b34
Fixes #3015 .
...
[SVN r53679]
2009-06-06 11:27:35 +00:00
Andrey Semashev
dddbec8577
Fixes #2824 .
...
[SVN r53678]
2009-06-06 11:25:55 +00:00
Andrey Semashev
94fe1d551e
Fixes #2809 .
...
[SVN r53677]
2009-06-06 11:24:09 +00:00
Andrey Semashev
f985c62668
Changed tick_per_second constant type to avoid possible value truncation. Related to #2824 .
...
[SVN r53632]
2009-06-04 12:18:59 +00:00
Andrey Semashev
9496e6ba33
Fixes #3094 .
...
[SVN r53631]
2009-06-04 11:52:28 +00:00
Andrey Semashev
b0d4735d98
Fixes #3094 .
...
[SVN r53630]
2009-06-04 11:52:06 +00:00
Andrey Semashev
e5d7b20d17
The std::tm instances are zero initialized before usage. Related to #1859 .
...
[SVN r53629]
2009-06-04 11:40:18 +00:00
Andrey Semashev
a7d470ff86
Fixes #3105 .
...
[SVN r53628]
2009-06-04 11:36:43 +00:00
Andrey Semashev
024f7bb976
Fixes #3105 .
...
[SVN r53627]
2009-06-04 11:35:44 +00:00
Andrey Semashev
7f908f13d9
Added explicit include of special_defs.hpp.
...
[SVN r53626]
2009-06-04 11:29:04 +00:00
Andrey Semashev
0970985b80
Fixes #3015 .
...
[SVN r53625]
2009-06-04 11:22:11 +00:00
Andrey Semashev
ec094bd865
The std::tm instances are zero initialized before usage. Related to #1859 .
...
[SVN r53624]
2009-06-04 11:18:56 +00:00