Commit Graph

  • 47041de63a lexical_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
  • c58a55a512 lexical_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
  • dd165b4b0f lexical_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
  • b5552e351c lexical_cast.hpp improvements: better overflow detections for float conversions, more const modifiers (refs #9046) Antony Polukhin 2013-08-29 11:41:28 +0000
  • 297b115e6c lcast_put_unsigned in lexical_cast.hpp header is refactored, duplicate code removed (refs #9046) Antony Polukhin 2013-08-28 12:55:09 +0000
  • a2299ec1f9 Fix 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
  • bf551ad8c9 Delay character trait extraction (refs #9046) Antony Polukhin 2013-08-27 07:51:27 +0000
  • fac805ddf6 Improved some of the metaprogramming methods (refs #9046) Antony Polukhin 2013-08-27 07:07:15 +0000
  • 3ce36a2848 Get 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
  • 4ba64ea889 Merge 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
  • d723c18fff Update 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
  • 6bd8edfa02 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-07 11:08:01 +0000
  • 7e484c17f6 Merge 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
  • 5f44bdcae8 Fix 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
  • a65fcf571f Get rid of BOOST_LCAST_HAS_INT128 macro and use BOOST_HAS_INT128 instead (refs #8790) Antony Polukhin 2013-07-18 09:13:41 +0000
  • 13d98f02d0 Fixed 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
  • 91aa2ce64d Report more warnings while testing boost::lexical_cast. Some warnings suppressed Antony Polukhin 2013-07-12 11:33:15 +0000
  • f7bd5e24c2 Fix macro for int128 detection (refs #8790) Antony Polukhin 2013-07-07 09:51:58 +0000
  • 3af0af9405 Merge from trunk: * Fix for GCC-4.8 warning (fixes #8547) * Disable tests, invalid for C11 (clang specific) Antony Polukhin 2013-05-07 19:24:47 +0000
  • c3c44c208a Fix for GCC-4.8 warning (refs #8547) Antony Polukhin 2013-05-04 12:48:26 +0000
  • 93a01eba32 Comment out two lexical_cast tests, not actual for C++11 Antony Polukhin 2013-04-14 07:53:45 +0000
  • b97f2542ec Mrege from trunk: * Disable UTF16 and UTF32 tests for libc++ (fixes #8369) Antony Polukhin 2013-04-04 15:47:02 +0000
  • 12fd711cc8 Disable UTF16 and UTF32 tests for libc++ (refs #8369) Antony Polukhin 2013-04-02 19:56:49 +0000
  • 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) Antony Polukhin 2013-04-01 20:40:43 +0000
  • 1a0ffcadbf Add tests for filesystem::path conversion (refs #7704) Antony Polukhin 2013-03-30 07:41:23 +0000
  • ab0727fdac Fix 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
  • 633b852b81 Update 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
  • 9fc1a66d27 Reimplement STL string buffer unlocker (refs #8267 and refs #7704) Antony Polukhin 2013-03-24 15:26:45 +0000
  • 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) Antony Polukhin 2013-03-24 14:37:56 +0000
  • 61938bc8d3 Fix 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
  • 694f7b5033 Do 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
  • 335c868e9b Merge 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
  • a15dbed640 Silence some buggy VS warnings (refs #7949) Antony Polukhin 2013-02-10 13:59:45 +0000
  • 5c8c897d30 Fixed as many -Wconversion warnings in lexical cast and tests as possible (refs #2558) Antony Polukhin 2013-02-03 09:20:28 +0000
  • 3e4a1669f1 More tests (refs #7814) Antony Polukhin 2013-02-03 07:38:56 +0000
  • cb9de2c55f Update performance results for VC in docs. Looks like bug #6523 now is fixed (fixes #6523) Antony Polukhin 2013-02-02 07:44:09 +0000
  • 89556c8a0f Documentation update (refs #7909) Antony Polukhin 2013-01-20 12:20:43 +0000
  • 47bef9517f Attempt to add support for lexical conversions of int128 types (refs #7909) Antony Polukhin 2013-01-20 12:13:31 +0000
  • 518203671c Merge 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
  • 63b680c082 More strict tests, less workarounds, bugfixes (refs #7814) Antony Polukhin 2012-12-27 20:17:09 +0000
  • 16890bf041 Merge from trunk * Fixes #7799 (optimizations with std::array were not used) * Fixes #7831 (documentation update) Antony Polukhin 2012-12-27 18:54:28 +0000
  • 565e2882d3 Add missing signature to doc (refs #7831) Antony Polukhin 2012-12-27 18:47:15 +0000
  • 24bc6ca6f2 Fix bug in array conversion test (refs #7799) Antony Polukhin 2012-12-23 15:16:01 +0000
  • 4ad6f1bd4b FIx bug in conversion of some std::array implementations (refs #7799) Antony Polukhin 2012-12-22 18:42:04 +0000
  • 5a6309db7a Fix incorrect macro usage (refs #7799) Antony Polukhin 2012-12-16 09:01:18 +0000
  • 2333ee53f8 Minor fix in lexical_cast_stream_traits_test.cpp Antony Polukhin 2012-12-06 17:20:28 +0000
  • 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 Antony Polukhin 2012-12-02 09:33:42 +0000
  • e15f179bfc Removed usage of deprecated macros Marshall Clow 2012-11-26 17:27:53 +0000
  • 82969ebb20 Remove usage of deprecated macros Marshall Clow 2012-11-26 14:14:10 +0000
  • 17f4b6fd4c Comment out some minor unrequired tests Antony Polukhin 2012-11-22 16:33:54 +0000
  • 2ea7487806 Move 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
  • cd5a55aab5 Documentation update for lexical_cast (refs #6786) Antony Polukhin 2012-11-15 06:45:23 +0000
  • f682bff3a7 Simplify 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
  • 1c37887f2b Stream 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
  • 5c3159cd1c Attempt to workaround VACPP, CRAY and ancient GCC bugs in lexical_cast tests Antony Polukhin 2012-11-03 16:20:43 +0000
  • c484325310 Fix FAQ section of lexical_cast documentation (refs #7582) Antony Polukhin 2012-10-27 16:30:41 +0000
  • 0920c53e23 Merege fix for #7421 from trunk Antony Polukhin 2012-09-30 16:07:32 +0000
  • 42e7585dd4 Tiny documentation update (refs #7421) Antony Polukhin 2012-09-28 18:31:53 +0000
  • 7b6c4eed7d Remove bad test (refs #7421) Antony Polukhin 2012-09-28 04:55:37 +0000
  • 824fbd9b06 Do not overload lexical_cast<To, From>(const From&), instead add lexical_cast<To>(character_type,size_type) templates (refs #7421). Added tests for getting &boost::lexical_cast<To,from> functions pointers Antony Polukhin 2012-09-26 19:57:31 +0000
  • 8d373a0c99 Merge updated tests from trunk (now float types tests are less strict, workaround MSVC2012 bug) Antony Polukhin 2012-09-23 17:19:05 +0000
  • 77eff6b47d Workaround MSVC2012 error in lexical_cast_test.cpp Antony Polukhin 2012-09-18 20:11:05 +0000
  • 8705038cd2 Workaround MSVC2012 error in lexical_cast_test.cpp Antony Polukhin 2012-09-12 03:58:26 +0000
  • bb224866a7 Fix float types tests, make them less strict (so that MSVC2012 could pass it) Antony Polukhin 2012-09-08 01:44:18 +0000
  • 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) Antony Polukhin 2012-09-05 18:23:41 +0000
  • c43b86d7f1 Replace .c_str() with .data() in documentation (refs #6663) Antony Polukhin 2012-09-03 17:23:16 +0000
  • c290a26625 Added missing const modifier Antony Polukhin 2012-09-03 17:06:40 +0000
  • d08477900d Added 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
  • 63acf4f174 Fix compilation of lexical cast with MSVC 2003 (refs #7255) Antony Polukhin 2012-08-25 19:07:46 +0000
  • ce95319f03 Multiple 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
  • f67347e308 Merge bugfix for volatile types (refs #7157) Antony Polukhin 2012-08-05 09:46:43 +0000
  • d6a72e9ea5 Fix bug with volatile types (refs #7157) Antony Polukhin 2012-07-29 18:54:24 +0000
  • 46c6cc911b Merge fix of VC warning (fixes #7116) Antony Polukhin 2012-07-19 18:42:34 +0000
  • 3c94791b1e Workaround VC warning (refs #7116) Antony Polukhin 2012-07-16 17:17:00 +0000
  • 80d480ca0b Fix typo in documentation (fixes #7129) Antony Polukhin 2012-07-13 19:22:49 +0000
  • e81d4dfdbb Fix typo in documentation (fixes #7129) Antony Polukhin 2012-07-13 19:20:05 +0000
  • 675d0bb451 Merge from trunk (now lexical_cast has optimized conversions to and from array<>, fixes #7065) Antony Polukhin 2012-07-08 18:06:32 +0000
  • fe79553bf8 Fix tab in documentation (refs #7065) Antony Polukhin 2012-07-08 17:59:50 +0000
  • 093e298c9d Updated 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
  • d2361fe05a Updated documentaion, fixed bug and refactored tests (refs #7065) Antony Polukhin 2012-07-04 18:50:56 +0000
  • b037563bf9 Documentation update: documented optimizations for boost and std arrays (refs #7065) Antony Polukhin 2012-07-03 17:32:29 +0000
  • 88244b57d4 Split 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
  • e3cd0ca7fa Optimizations for boost and std array (refs #7065) Antony Polukhin 2012-07-02 18:30:21 +0000
  • 79d6468aeb Merge 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
  • c6318e3819 Do 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
  • e691b15b77 Force PGI and SunCC compillers to use fallback version of lexical_cast Antony Polukhin 2012-05-15 18:51:35 +0000
  • ca9c8d30bd Merge 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
  • bb46dbc46c Fixes #6852 for wide characters (ISO C++ does not support the ‘%lg’ gnu_printf format fixed) Antony Polukhin 2012-05-10 17:39:46 +0000
  • d30dd9e3c8 Fixes #6852 (ISO C++ does not support the ‘%lg’ gnu_printf format fixed) Antony Polukhin 2012-05-02 19:00:37 +0000
  • b1b5305984 Merge from trunk: * fixed #6812 (now converting "." to float type throws bad_lexical_cast) Antony Polukhin 2012-04-26 17:59:17 +0000
  • 15ab0d6385 Fixes #6812 (now converting "." to float type throws bad_lexical_cast) Antony Polukhin 2012-04-21 11:08:03 +0000
  • 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 Antony Polukhin 2012-04-18 04:09:49 +0000
  • d963842d70 Typo fix in documentation. New line added to the end of lexical_cast.hpp file Antony Polukhin 2012-04-17 18:00:30 +0000
  • 9ff79f4df9 Update 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
  • 746d466e38 Comment out bad advise in documentation ( refs #6786, refs #6663) Antony Polukhin 2012-04-16 17:13:11 +0000
  • 674e71fb7d Fix compile time error in lexical_cast, when new unicode characters are being converted (Refs #6504 ) Antony Polukhin 2012-04-12 17:15:22 +0000
  • 35d592fc21 Fix iterator_range test for compilers with new unicode characters but without new unicode locales support Antony Polukhin 2012-04-11 18:34:10 +0000
  • 7881eb5666 Remove 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
  • 6ff6958204 Removed incorrect test Antony Polukhin 2012-04-07 08:05:16 +0000