Antony Polukhin
a98a74d3dd
Merge lexical_casts documentation and tests to release branch (refs #9046 )
...
[SVN r85901]
2013-09-25 13:27:07 +00:00
Antony Polukhin
c2c4b884fe
Make a separate folder for lexical_casts examples, use those examples in documenation and assure that they successfully build and run (refs #9046 )
...
[SVN r85828]
2013-09-22 12:23:26 +00:00
Antony Polukhin
6f656adea3
Do not treat long long warnings as errors in lexical_cast + containers tests ( fixes #9061 )
...
[SVN r85684]
2013-09-15 19:33:17 +00:00
Antony Polukhin
3ce36a2848
Get rid of some macro, improve type traits, fix svn properties, do not supress warnings (refs #9046 )
...
[SVN r85475]
2013-08-26 11:18:42 +00:00
Antony Polukhin
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 )
[SVN r85331]
2013-08-13 13:08:37 +00:00
Antony Polukhin
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.
...
[SVN r85322]
2013-08-12 16:06:59 +00:00
Antony Polukhin
6bd8edfa02
Do not treat critcal errors as bad_lexical_cast exceptions, but if exceptions are on throw correct exception instead (refs #8966 )
...
[SVN r85232]
2013-08-07 11:08:01 +00:00
Antony Polukhin
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
[SVN r85160]
2013-07-25 16:29:11 +00:00
Antony Polukhin
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)
...
[SVN r85149]
2013-07-24 08:46:08 +00:00
Antony Polukhin
a65fcf571f
Get rid of BOOST_LCAST_HAS_INT128 macro and use BOOST_HAS_INT128 instead (refs #8790 )
...
[SVN r85073]
2013-07-18 09:13:41 +00:00
Antony Polukhin
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 )
...
[SVN r85072]
2013-07-18 08:45:09 +00:00
Antony Polukhin
91aa2ce64d
Report more warnings while testing boost::lexical_cast. Some warnings suppressed
...
[SVN r85007]
2013-07-12 11:33:15 +00:00
Antony Polukhin
f7bd5e24c2
Fix macro for int128 detection (refs #8790 )
...
[SVN r84965]
2013-07-07 09:51:58 +00:00
Antony Polukhin
3af0af9405
Merge from trunk:
...
* Fix for GCC-4.8 warning (fixes #8547 )
* Disable tests, invalid for C11 (clang specific)
[SVN r84183]
2013-05-07 19:24:47 +00:00
Antony Polukhin
93a01eba32
Comment out two lexical_cast tests, not actual for C++11
...
[SVN r83894]
2013-04-14 07:53:45 +00:00
Antony Polukhin
b97f2542ec
Mrege from trunk:
...
* Disable UTF16 and UTF32 tests for libc++ (fixes #8369 )
[SVN r83764]
2013-04-04 15:47:02 +00:00
Antony Polukhin
12fd711cc8
Disable UTF16 and UTF32 tests for libc++ (refs #8369 )
...
[SVN r83717]
2013-04-02 19:56:49 +00:00
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
1a0ffcadbf
Add tests for filesystem::path conversion (refs #7704 )
...
[SVN r83644]
2013-03-30 07:41:23 +00:00
Antony Polukhin
633b852b81
Update code that uses string buffers (refs #8267 ).
...
Treat cast to pointer as compile time error (refs #8334 ).
Update documentation
[SVN r83601]
2013-03-27 17:00:46 +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
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
[SVN r83129]
2013-02-24 13:34:57 +00:00
Antony Polukhin
335c868e9b
Merge from trunk:
...
* Silence some buggy VS warnings (fixes #7949 )
* Fix -Wconversion warnings (fixes #2558 )
* Added support for int128 conversions (fixes #7909 )
[SVN r83114]
2013-02-24 08:31:17 +00:00
Antony Polukhin
5c8c897d30
Fixed as many -Wconversion warnings in lexical cast and tests as possible (refs #2558 )
...
[SVN r82695]
2013-02-03 09:20:28 +00:00
Antony Polukhin
3e4a1669f1
More tests (refs #7814 )
...
[SVN r82694]
2013-02-03 07:38:56 +00:00
Antony Polukhin
47bef9517f
Attempt to add support for lexical conversions of int128 types (refs #7909 )
...
[SVN r82560]
2013-01-20 12:13:31 +00:00
Antony Polukhin
518203671c
Merge from trunk: fixes #7814 (fixed some numeric to numeric conversions bugs, workaround warnings, -ftrapv now does not triggers coredump)
...
[SVN r82268]
2012-12-29 14:41:23 +00:00
Antony Polukhin
63b680c082
More strict tests, less workarounds, bugfixes (refs #7814 )
...
[SVN r82227]
2012-12-27 20:17:09 +00:00
Antony Polukhin
16890bf041
Merge from trunk
...
* Fixes #7799 (optimizations with std::array were not used)
* Fixes #7831 (documentation update)
[SVN r82224]
2012-12-27 18:54:28 +00:00
Antony Polukhin
24bc6ca6f2
Fix bug in array conversion test (refs #7799 )
...
[SVN r82187]
2012-12-23 15:16:01 +00:00
Antony Polukhin
5a6309db7a
Fix incorrect macro usage (refs #7799 )
...
[SVN r82017]
2012-12-16 09:01:18 +00:00
Antony Polukhin
2333ee53f8
Minor fix in lexical_cast_stream_traits_test.cpp
...
[SVN r81745]
2012-12-06 17:20:28 +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
Marshall Clow
e15f179bfc
Removed usage of deprecated macros
...
[SVN r81559]
2012-11-26 17:27:53 +00:00
Antony Polukhin
17f4b6fd4c
Comment out some minor unrequired tests
...
[SVN r81486]
2012-11-22 16:33:54 +00:00
Antony Polukhin
2ea7487806
Move all the stream specific metafunctions to lexical_cast_stream_traits<Source, Target>
...
Test stream traits for correctness and correct optimization detection
[SVN r81354]
2012-11-15 07:26:23 +00:00
Antony Polukhin
1c37887f2b
Stream type detection metafunctions were rewritten so that now they can detect stream type for user defined types (refs #6786 )
...
Removed unrequired `::`
[SVN r81278]
2012-11-10 07:42:04 +00:00
Antony Polukhin
5c3159cd1c
Attempt to workaround VACPP, CRAY and ancient GCC bugs in lexical_cast tests
...
[SVN r81162]
2012-11-03 16:20:43 +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
bb224866a7
Fix float types tests, make them less strict (so that MSVC2012 could pass it)
...
[SVN r80438]
2012-09-08 01:44:18 +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
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
[SVN r80291]
2012-08-28 20:31:16 +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
d2361fe05a
Updated documentaion, fixed bug and refactored tests (refs #7065 )
...
[SVN r79266]
2012-07-04 18:50:56 +00:00
Antony Polukhin
88244b57d4
Split lexical_cast_test.cpp into two tests and reduce iterations count for integral types tests (now we must not exceed tests timeouts)
...
[SVN r79246]
2012-07-03 17:10:02 +00:00
Antony Polukhin
e3cd0ca7fa
Optimizations for boost and std array (refs #7065 )
...
[SVN r79230]
2012-07-02 18:30:21 +00:00
Antony Polukhin
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
[SVN r78565]
2012-05-24 04:22:04 +00:00
Antony Polukhin
c6318e3819
Do not force PGI compiler to use fallback version of lexical_cast (PGI fails tests even in fallback version)
...
Trialing whitespaces removed
[SVN r78521]
2012-05-20 16:25:21 +00:00
Antony Polukhin
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
[SVN r78450]
2012-05-13 08:15:51 +00:00
Antony Polukhin
b1b5305984
Merge from trunk:
...
* fixed #6812 (now converting "." to float type throws bad_lexical_cast)
[SVN r78211]
2012-04-26 17:59:17 +00:00