Commit Graph

38 Commits

Author SHA1 Message Date
Antony Polukhin
32d70a0764 Merge from trunk:
* Fix stream related issues with libc++ and clang (fixes #7704, fixes #8267)
* Change runtime assert to compile time when converting to pointer (fixes #8267)

[SVN r83689]
2013-04-01 20:40:43 +00:00
Antony Polukhin
a4bd056b8e Merge from trunk:
* Fixed incorrect usage of Boost.Math when it does not support long double (fixes #8162)
* Fixed ambiguity of boost::lexical_cast functions (fixes #7421)

[SVN r83542]
2013-03-24 14:37:56 +00:00
Antony Polukhin
dbda7689e0 Merge lexical_cast from trunk:
* Deduce stream character type for user defined classes (fixes #6786)
* Deprecated macros replaced with new ones (thanks to Marshall Clow)
* Updated documentation (refs #6786, fixes #7582)
* More tests and minor bugfixes

[SVN r81668]
2012-12-02 09:33:42 +00:00
Antony Polukhin
0920c53e23 Merege fix for #7421 from trunk
[SVN r80787]
2012-09-30 16:07:32 +00:00
Antony Polukhin
8d373a0c99 Merge updated tests from trunk (now float types tests are less strict, workaround MSVC2012 bug)
[SVN r80672]
2012-09-23 17:19:05 +00:00
Antony Polukhin
733438e072 Merge from trunk:
1) #warning replaced with #error (refs #7228)
2) Pavel Korzh added to thanks list (refs #7157)
3) BOOST_NOEXCEPT modifiers added where possible
4) better support for c++11 Unicode characters
5) fixed compilation with MSVC+STLPort
6) more agressive usage of Traits template parameter
7) Added lexical_cast(const CharType* chars, std::size_t count) function overload (refs #6430 and refs #6663)
8) Fixed GCC warning in numeric_cast_test.cpp
9) Fix compilation of lexical cast with MSVC 2003 (refs #7255)

[SVN r80409]
2012-09-05 18:23:41 +00:00
Antony Polukhin
675d0bb451 Merge from trunk (now lexical_cast has optimized conversions to and from array<>, fixes #7065)
[SVN r79364]
2012-07-08 18:06:32 +00:00
Antony Polukhin
eb4ad73caf Merge lexical_cast library from trunk:
* multiple optimizations and bugfixes for boost::iterator_range (refs #6786, refs #6430, refs #6663)
* documentation update
* new Unicode characters support updated
* much more tests, removed incorrect tests

[SVN r78059]
2012-04-18 04:09:49 +00:00
Antony Polukhin
1e58331baf Merge lexical_cast from trunk:
* fixed #6717 (now lexical_cast won`t try to support non confirming swprintf)
* fixed #6670 (now using BOOST_NO_UNICODE_LITERALS macro to detect unicode literals support)
* rewritten Jamfile

[SVN r77804]
2012-04-07 07:52:23 +00:00
Antony Polukhin
a2e4606e6c Merge from trunk r76354
(Fixes overflow detection, pointers casts)

[SVN r76355]
2012-01-08 09:05:35 +00:00
Antony Polukhin
7112ded1b9 Merge from trunk r75937
* fixed a lot of wchar_t errors
* Optimizations for boost::containers::basic_string
* More tests

[SVN r76062]
2011-12-19 15:19:43 +00:00
Antony Polukhin
3a62368d0e Merge from trunk r74564
* char16_t and char32_t conversions now work on gcc for C locale
* Optimizations for C locale
* Performance section of documentation updated

[SVN r74565]
2011-09-25 16:44:39 +00:00
Antony Polukhin
e1caac418c Mereged from r74355
Basic support for char16_t and char32_t

[SVN r74361]
2011-09-12 18:15:31 +00:00
Antony Polukhin
00f1246faf Merge from trunk r73850
* Compile time optimizations
* Float types optimizations
* Source code refactoring
* Parsing and writing inf and nan values according to the standart
* Fixed some bugs and warnings
* New tests
* New documentation

[SVN r73851]
2011-08-17 18:43:10 +00:00
Antony Polukhin
6c5f31e7a5 lexical-cast mereged from trunk r72347 (allow "C" locale grouping for other locales)
[SVN r72348]
2011-06-02 16:20:36 +00:00
Antony Polukhin
1f7147d24b mereged lexical_cast from trunk r72267 (more optimizations, updated documentation, added tests)
[SVN r72268]
2011-05-29 19:21:28 +00:00
Antony Polukhin
a385c3ec99 Merge from trunk: r72184 (a lot of optimizations, new tests, fix inspection warnings).
[SVN r72185]
2011-05-26 16:27:53 +00:00
Antony Polukhin
701d5f0bf0 Merged from trunk revision 71922. Most part of this modifications of lexical_cast library were made and successfully tested during the year 2009.
Later commits affected only documentation bugs.

[SVN r71923]
2011-05-13 17:44:51 +00:00
Alexander Nasonov
04f73e5a89 Decrease indent of #if and #endif lines and test string<->integral conversons when BOOST_NO_INTRINSIC_WCHAR_T is defined.
[SVN r56231]
2009-09-15 23:55:47 +00:00
Alexander Nasonov
65328d9716 Add new test libs/conversion/test/lexical_cast_vc8_bug_test.cpp.
[SVN r56230]
2009-09-15 23:41:02 +00:00
Alexander Nasonov
dc151d2b5a DISABLE_WIDE_CHAR_SUPPORT -> BOOST_LCAST_NO_WCHAR_T.
[SVN r56227]
2009-09-15 22:53:27 +00:00
Alexander Nasonov
23949682c1 [lexical_cast] Merge from trunk r56170 (#2295 Inconsistent behavior when using 64 bit integer types) and r56171 (Add a test for uintmax_t).
[SVN r56172]
2009-09-13 15:03:52 +00:00
Beman Dawes
e9a5ac6d7a Merge conversion library at rev 41517
[SVN r42070]
2007-12-15 14:39:18 +00:00
Beman Dawes
ee3f643c5e Full merge from trunk at revision 41356 of entire boost-root tree.
[SVN r41370]
2007-11-25 18:38:02 +00:00
Stefan Slapeta
027a566e09 Small fix for new init_unit_test_suite signature
[SVN r32293]
2006-01-12 11:59:09 +00:00
Markus Schöpflin
9a29a753e8 Fixed lexical_cast_test which was no longer working after the last test
framework update.


[SVN r32176]
2005-12-28 11:05:31 +00:00
John Maddock
cb2bd8076d Reconfigure lexical_cast to work wide character strings and VC++ when not using /Zc:wchar_t.
[SVN r30724]
2005-08-29 12:44:09 +00:00
Terje Slettebø
cfe358b570 Fixed so it doesn't trim any whitespace when converting, fixed reversed bad_lexical_cast constructor parameters, changed to pass-by-const reference
[SVN r29627]
2005-06-16 18:16:58 +00:00
John Maddock
bba9169401 Updated to use the BSL: Permission from Kevlin Henney was granted in blanket-permission.txt, permission from Terje Slettebo was granted for this one file privately.
[SVN r25402]
2004-09-25 15:06:48 +00:00
Eric Niebler
463284f46f remove minmax hack from win32.hpp and fix all places that could be affected by the minmax macros
[SVN r22394]
2004-02-26 18:27:02 +00:00
Jens Maurer
25935cda40 avoid warning about signed/unsigned conversion
[SVN r19007]
2003-07-09 22:30:40 +00:00
Terje Slettebø
1937e3a12a Added test case for unsigned types, in case they are an alias for wchar_t
[SVN r18141]
2003-03-31 08:29:45 +00:00
Terje Slettebø
545687e22b Removed test for MSVC, restored test for BOOST_NO_INTRINSIC_WCHAR_T
[SVN r18140]
2003-03-30 23:21:17 +00:00
Terje Slettebø
9c1311a712 BOOST_MSVC<=1200 fix from Terje
[SVN r18019]
2003-03-19 21:25:45 +00:00
Dave Abrahams
02609a4675 Commit Terje's changes
[SVN r17980]
2003-03-18 22:46:00 +00:00
Beman Dawes
e2825ab729 overloading fix + less permissive wide character support
[SVN r17893]
2003-03-13 17:27:06 +00:00
Beman Dawes
42639f120a update from Kevlin and Terje
[SVN r17861]
2003-03-12 21:33:16 +00:00
Beman Dawes
7f2c4ed981 Initial commit after public review (note change in library name per review)
[SVN r8514]
2001-01-06 16:25:08 +00:00