Marshall Clow
ef81faff5f
Added test for bug #5041 - %y in single digit year
...
Ahmed Charles: Tests pass with MSVC 2013.
2014-03-13 15:08:38 -07: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
Marshall Clow
f9d548ae92
Create first merge point for git
2014-03-12 08:24:18 -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
Noel Belcourt
30e7e7ae46
Merge pull request #1 from DanielaE/fix/bad_narrow
...
fix: narrow uses insufficient input char type
2014-02-06 20:23:53 -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
98bbc0b95c
Fixed compilation with MinGW.
...
[SVN r80890]
2012-10-06 17:54:32 +00:00
Andrey Semashev
29c0f85c14
Fixed compilation with MSVC.
...
[SVN r80889]
2012-10-06 17:46:27 +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
318a6ce7ea
Fix typo in test case; Refs #6513
...
[SVN r80709]
2012-09-26 16:44:40 +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
Marshall Clow
4a5c1d20a3
Merge bug fix to trunk; fixes #7022
...
[SVN r80697]
2012-09-24 18:08:16 +00:00
Vicente J. Botet Escriba
7b1b5aa452
DateTime: merge [80051]
...
[SVN r80648]
2012-09-22 22:33:33 +00:00
Daniel James
693c89198f
Merge some old datetime changes to release
...
- [70756] Convert jamfile for examples to boost build v2.
- [79211][79212] Suppress g++4.6 warnings in tests.
- Document NO LIB option. Fixes #6077 .
[SVN r80629]
2012-09-22 16:21:43 +00:00
Marshall Clow
006adfaa84
Merge doc typo corrections to release; fixes #6595 ; fixes #7182
...
[SVN r80057]
2012-08-16 05:16:42 +00:00
Marshall Clow
2dd066d92c
Fix typo in docs; Refs #7182
...
[SVN r80055]
2012-08-16 03:52:00 +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
Jeff Garland
a6bca8a4a5
fix for ticket 6077 -- document the NO LIB option
...
[SVN r79213]
2012-07-01 18:58:59 +00:00
Jeff Garland
97c2acd867
minor updates to suppress g++4.6 warnings
...
[SVN r79212]
2012-07-01 17:04:48 +00:00
Jeff Garland
c2861c6305
minor updates to suppress g++4.6 warnings
...
[SVN r79211]
2012-07-01 16:52:34 +00:00
Marshall Clow
75c53e7b75
Refs #7022 ; will close when merged to release
...
[SVN r79186]
2012-06-30 15:31:33 +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