47041de63alexical_cast.hpp improvements: interpreter was split to input and output streams to reduce size of binaries and improve compilation times, fixed typo from previous commit (refs #9046)
Antony Polukhin
2013-08-30 14:37:32 +0000
c58a55a512lexical_cast.hpp improvements: more comments, BOOST_NOEXCEPT and const; parser_buf moved to boost/detail/basic_pointerbuf.hpp, better formatting and simplified type traits (refs #9046)
Antony Polukhin
2013-08-30 08:59:59 +0000
dd165b4b0flexical_cast.hpp improvements: no more const_casts, much shorter and better template specializations, some code formatting fixes (refs #9046)
Antony Polukhin
2013-08-29 15:35:02 +0000
b5552e351clexical_cast.hpp improvements: better overflow detections for float conversions, more const modifiers (refs #9046)
Antony Polukhin
2013-08-29 11:41:28 +0000
297b115e6clcast_put_unsigned in lexical_cast.hpp header is refactored, duplicate code removed (refs #9046)
Antony Polukhin
2013-08-28 12:55:09 +0000
a2299ec1f9Fix bug introduced by previous commits during conversion of wide character to wide character. Remove duplicate code and add more comments for lcast_ret_unsigned method. Optimize and simplify overflow detection (refs #9046)
Antony Polukhin
2013-08-27 14:23:19 +0000
fac805ddf6Improved some of the metaprogramming methods (refs #9046)
Antony Polukhin
2013-08-27 07:07:15 +0000
3ce36a2848Get rid of some macro, improve type traits, fix svn properties, do not supress warnings (refs #9046)
Antony Polukhin
2013-08-26 11:18:42 +0000
4ba64ea889Merge from trunk: * Do not treat critcal errors as bad_lexical_cast exceptions, but if exceptions are on, throw correct exception instead (refs #8966)
Antony Polukhin
2013-08-13 13:08:37 +0000
d723c18fffUpdate explicit failures markup and lexical_cast_float_types_test.cpp: do not run some checks when libc++ is used, but do expect other checks to pass well.
Antony Polukhin
2013-08-12 16:06:59 +0000
6bd8edfa02Do not treat critcal errors as bad_lexical_cast exceptions, but if exceptions are on throw correct exception instead (refs #8966)
Antony Polukhin
2013-08-07 11:08:01 +0000
7e484c17f6Merge lexical_cast and some conversion docs and test from trunk: * fixed int128 and uint128 conversions (fixes#8790) * fixed warnings from Boost Inspection Report
Antony Polukhin
2013-07-25 16:29:11 +0000
5f44bdcae8Fix warnings in lexical_cast found by Boost Inspection program (copyrights restored according to svn history, license text replaced with license name and link to it)
Antony Polukhin
2013-07-24 08:46:08 +0000
a65fcf571fGet rid of BOOST_LCAST_HAS_INT128 macro and use BOOST_HAS_INT128 instead (refs #8790)
Antony Polukhin
2013-07-18 09:13:41 +0000
13d98f02d0Fixed testing of 128bit integer types and added staic assert that cheks for std::numeric_limits specializations, if they are required for conversion (refs #8790)
Antony Polukhin
2013-07-18 08:45:09 +0000
91aa2ce64dReport more warnings while testing boost::lexical_cast. Some warnings suppressed
Antony Polukhin
2013-07-12 11:33:15 +0000
93a01eba32Comment out two lexical_cast tests, not actual for C++11
Antony Polukhin
2013-04-14 07:53:45 +0000
b97f2542ecMrege from trunk: * Disable UTF16 and UTF32 tests for libc++ (fixes#8369)
Antony Polukhin
2013-04-04 15:47:02 +0000
12fd711cc8Disable UTF16 and UTF32 tests for libc++ (refs #8369)
Antony Polukhin
2013-04-02 19:56:49 +0000
32d70a0764Merge 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)
Antony Polukhin
2013-04-01 20:40:43 +0000
ab0727fdacFix streams and buffers usage (refs #8267 and refs #7704). Now conversions the use STL streams shall work faster
Antony Polukhin
2013-03-30 07:20:22 +0000
633b852b81Update code that uses string buffers (refs #8267). Treat cast to pointer as compile time error (refs #8334). Update documentation
Antony Polukhin
2013-03-27 17:00:46 +0000
a4bd056b8eMerge 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)
Antony Polukhin
2013-03-24 14:37:56 +0000
61938bc8d3Fix ambiguity while using lexical_cast with std::transform or other functions that may take a pointer to lexical_cast (refs #7421)
Antony Polukhin
2013-03-16 09:24:08 +0000
694f7b5033Do not use long double type in lexical_cast for internal variables if Boost.Math has no functions for long double (refs #8162) Do not test lexical_cast on long doubles, if Boost.Math does not support long double
Antony Polukhin
2013-02-24 13:34:57 +0000
335c868e9bMerge from trunk: * Silence some buggy VS warnings (fixes#7949) * Fix -Wconversion warnings (fixes#2558) * Added support for int128 conversions (fixes#7909)
Antony Polukhin
2013-02-24 08:31:17 +0000
a15dbed640Silence some buggy VS warnings (refs #7949)
Antony Polukhin
2013-02-10 13:59:45 +0000
5c8c897d30Fixed as many -Wconversion warnings in lexical cast and tests as possible (refs #2558)
Antony Polukhin
2013-02-03 09:20:28 +0000
47bef9517fAttempt to add support for lexical conversions of int128 types (refs #7909)
Antony Polukhin
2013-01-20 12:13:31 +0000
518203671cMerge from trunk: fixes#7814 (fixed some numeric to numeric conversions bugs, workaround warnings, -ftrapv now does not triggers coredump)
Antony Polukhin
2012-12-29 14:41:23 +0000
16890bf041Merge from trunk * Fixes#7799 (optimizations with std::array were not used) * Fixes#7831 (documentation update)
Antony Polukhin
2012-12-27 18:54:28 +0000
2333ee53f8Minor fix in lexical_cast_stream_traits_test.cpp
Antony Polukhin
2012-12-06 17:20:28 +0000
dbda7689e0Merge 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
Antony Polukhin
2012-12-02 09:33:42 +0000
e15f179bfcRemoved usage of deprecated macros
Marshall Clow
2012-11-26 17:27:53 +0000
82969ebb20Remove usage of deprecated macros
Marshall Clow
2012-11-26 14:14:10 +0000
17f4b6fd4cComment out some minor unrequired tests
Antony Polukhin
2012-11-22 16:33:54 +0000
2ea7487806Move all the stream specific metafunctions to lexical_cast_stream_traits<Source, Target> Test stream traits for correctness and correct optimization detection
Antony Polukhin
2012-11-15 07:26:23 +0000
f682bff3a7Simplify test_getting_pointer_to_function to don't deal with compilers bugs and just test that getting pointer to lexical_cast<T1, T2> is not ambiguous
Antony Polukhin
2012-11-11 08:59:36 +0000
1c37887f2bStream type detection metafunctions were rewritten so that now they can detect stream type for user defined types (refs #6786) Removed unrequired ::
Antony Polukhin
2012-11-10 07:42:04 +0000
5c3159cd1cAttempt to workaround VACPP, CRAY and ancient GCC bugs in lexical_cast tests
Antony Polukhin
2012-11-03 16:20:43 +0000
8d373a0c99Merge updated tests from trunk (now float types tests are less strict, workaround MSVC2012 bug)
Antony Polukhin
2012-09-23 17:19:05 +0000
77eff6b47dWorkaround MSVC2012 error in lexical_cast_test.cpp
Antony Polukhin
2012-09-18 20:11:05 +0000
8705038cd2Workaround MSVC2012 error in lexical_cast_test.cpp
Antony Polukhin
2012-09-12 03:58:26 +0000
bb224866a7Fix float types tests, make them less strict (so that MSVC2012 could pass it)
Antony Polukhin
2012-09-08 01:44:18 +0000
733438e072Merge 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)
Antony Polukhin
2012-09-05 18:23:41 +0000
c43b86d7f1Replace .c_str() with .data() in documentation (refs #6663)
Antony Polukhin
2012-09-03 17:23:16 +0000
d08477900dAdded lexical_cast(const CharType* chars, std::size_t count) function overload (refs #6430 and refs #6663) Fixed GCC warning in numeric_cast_test.cpp
Antony Polukhin
2012-08-28 20:31:16 +0000
63acf4f174Fix compilation of lexical cast with MSVC 2003 (refs #7255)
Antony Polukhin
2012-08-25 19:07:46 +0000
ce95319f03Multiple small changes: 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
Antony Polukhin
2012-08-21 04:44:00 +0000
093e298c9dUpdated documentaion and performance test (now we have info about conversion speed to and from array<>, refs #7065)
Antony Polukhin
2012-07-05 19:27:35 +0000
b037563bf9Documentation update: documented optimizations for boost and std arrays (refs #7065)
Antony Polukhin
2012-07-03 17:32:29 +0000
88244b57d4Split lexical_cast_test.cpp into two tests and reduce iterations count for integral types tests (now we must not exceed tests timeouts)
Antony Polukhin
2012-07-03 17:10:02 +0000
e3cd0ca7faOptimizations for boost and std array (refs #7065)
Antony Polukhin
2012-07-02 18:30:21 +0000
79d6468aebMerge lexical_cast from trunk : * force SunCC compiler to use fallback version of lexical_cast (with fallbak version SunCC can pass at least some tests) * removed trailing whitespaces
Antony Polukhin
2012-05-24 04:22:04 +0000
c6318e3819Do not force PGI compiler to use fallback version of lexical_cast (PGI fails tests even in fallback version) Trialing whitespaces removed
Antony Polukhin
2012-05-20 16:25:21 +0000
e691b15b77Force PGI and SunCC compillers to use fallback version of lexical_cast
Antony Polukhin
2012-05-15 18:51:35 +0000
ca9c8d30bdMerge from trunk: * Fixes ISO C++ does not support the ‘%lg’ gnu_printf format (refs #6852) * explicit-failures-markup merge from trunk * supress warnings in implicit_cast.cpp test
Antony Polukhin
2012-05-13 08:15:51 +0000
bb46dbc46cFixes#6852 for wide characters (ISO C++ does not support the ‘%lg’ gnu_printf format fixed)
Antony Polukhin
2012-05-10 17:39:46 +0000
d30dd9e3c8Fixes#6852 (ISO C++ does not support the ‘%lg’ gnu_printf format fixed)
Antony Polukhin
2012-05-02 19:00:37 +0000
b1b5305984Merge from trunk: * fixed#6812 (now converting "." to float type throws bad_lexical_cast)
Antony Polukhin
2012-04-26 17:59:17 +0000
15ab0d6385Fixes#6812 (now converting "." to float type throws bad_lexical_cast)
Antony Polukhin
2012-04-21 11:08:03 +0000
eb4ad73cafMerge 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
Antony Polukhin
2012-04-18 04:09:49 +0000
d963842d70Typo fix in documentation. New line added to the end of lexical_cast.hpp file
Antony Polukhin
2012-04-17 18:00:30 +0000
9ff79f4df9Update documentation ( more info about stream character type detection + warn about new unicode types support; refs #6786, refs #6663)
Antony Polukhin
2012-04-17 16:27:50 +0000
746d466e38Comment out bad advise in documentation ( refs #6786, refs #6663)
Antony Polukhin
2012-04-16 17:13:11 +0000
674e71fb7dFix compile time error in lexical_cast, when new unicode characters are being converted (Refs #6504 )
Antony Polukhin
2012-04-12 17:15:22 +0000
35d592fc21Fix iterator_range test for compilers with new unicode characters but without new unicode locales support
Antony Polukhin
2012-04-11 18:34:10 +0000
7881eb5666Remove incorrect test
Antony Polukhin
2012-04-09 18:07:51 +0000
8562b480f8* fixes#6504 (characters widening fixed) * much more tests * better support for unicode characters and template classes that are instantinated with unicode character types * meta code refactored (it is now shorter and clearer)
Antony Polukhin
2012-04-07 19:44:07 +0000
6ff6958204Removed incorrect test
Antony Polukhin
2012-04-07 08:05:16 +0000