134 Commits

Author SHA1 Message Date
Antony Polukhin
a9697b88fd Fixes #6186 (lexical_cast compliation error fixed, when wchar_t is a typedef for unsigned short. Test added)
[SVN r75864]
2011-12-08 15:29:44 +00:00
Antony Polukhin
4ddb0bfb95 Fix for error noticed by Olaf van der Spek (ticket #6083)
Added test case for that error

[SVN r75283]
2011-11-03 04:33:58 +00:00
Antony Polukhin
c07cbcee5c Performance optimizations and testsfor conversions to/from boost::container::basic_string
[SVN r74940]
2011-10-13 18:36:39 +00:00
Gennadiy Rozental
3d60698843 eliminated unit_test_framework
[SVN r74720]
2011-10-05 09:15:12 +00:00
Antony Polukhin
8a756eae7b Fixes #5732.
* reduces templates count
 * leaves only one lexical converting class (at least for modern compilers)
 * fixes small TODOs and XXXs from source code
 * makes lexical_stream_limited_src more readable
 * updates status/explicit-failures-markup.xml
 * makes lexical_cast_inf_nan_test.cpp pass on Itanium pltform
 * makes lexical_cast able to convert signed and unsigned chars to wchar_t
 and updates lexical_cast_wchars_test

[SVN r73313]
2011-07-23 15:55:54 +00:00
Antony Polukhin
c6c501c769 Fixes #5689. Added code to work -NaN on any platform. Removed some warnings
[SVN r73155]
2011-07-16 21:02:32 +00:00
Antony Polukhin
de3df54f80 Fixes #5689. Added code to work with Inf and NaN on any platform
[SVN r73118]
2011-07-15 11:20:11 +00:00
Antony Polukhin
fff0066392 Fixes #5676.
Tests for float types are now more accurate

[SVN r72955]
2011-07-07 16:04:32 +00:00
Antony Polukhin
0e2235dc75 Fixes #5675. Adds tests on #5675.
Updates #5660. Updates performance section of documentation

[SVN r72954]
2011-07-07 11:31:25 +00:00
Antony Polukhin
6a8c22d5c3 Partial fix for #5660. Better performance and less memory usage for conversions to float type (and to double type, if sizeof(double) < sizeof(long double)). New test suits. Documentation update.
[SVN r72925]
2011-07-06 15:43:04 +00:00
Antony Polukhin
dc9b364d6f Fixes #5417. Much better performance on casts to integral types.
Adds more tests for overflow detection.
Workaround for bugs of vc8 (lexical_cast_vc8_bug_test.cpp now passes)
Fixes some inspection errors.

[SVN r72056]
2011-05-20 17:11:53 +00:00
John Maddock
fce9ad4e1b Misc small fixes to suppress warnings.
Code should now be clean with msvc /W4 and gcc /Wall /Wextra -pedantic with the exception of one deliberate warning in one test.

[SVN r57510]
2009-11-09 12:27:54 +00:00
Troy D. Straszheim
febafb7cb8 rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
[SVN r56942]
2009-10-17 02:07:38 +00:00
Alexander Nasonov
79a141ce9d Add new test libs/conversion/test/lexical_cast_vc8_bug_test.cpp.
[SVN r56229]
2009-09-15 23:38:21 +00:00
Troy D. Straszheim
a77fc4c0bb Copyrights on CMakeLists.txt to keep them from clogging up the inspect
reports.  This is essentially the same commit as r55095 on the release
branch.



[SVN r55159]
2009-07-26 00:49:56 +00:00
Michael A. Jackson
b72cb10ae6 Updating CMake files to latest trunk. Added dependency information for regression tests and a few new macros for internal use.
[SVN r49627]
2008-11-07 17:02:56 +00:00
Michael A. Jackson
4217a354f5 Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
[SVN r49510]
2008-11-01 13:15:41 +00:00
Vladimir Prus
b9a7ee6deb Remove V1 Jamfiles
[SVN r38516]
2007-08-08 19:02:26 +00:00
Alexander Nasonov
42cb6d66cf lexical_cast_noncopyable_test.cpp
[SVN r36763]
2007-01-20 13:17:35 +00:00
Alexander Nasonov
2c41ed0473 Fix for [ 1358600 ] lexical_cast & pure virtual functions & VC 8 STL
[SVN r36738]
2007-01-16 21:03:47 +00:00
Vladimir Prus
de6746d67a Allow building of shared versions of some Boost.Test libraries.
Adjust tests to use always use static linking to Boost.Test, since
linking to the shared version requires test changes.

Patch from Juergen Hunold.


[SVN r35989]
2006-11-10 19:09:56 +00:00
Alexander Nasonov
67968d9b33 Separate test for round-tripping of floating point types.
[SVN r35771]
2006-10-28 19:33:32 +00:00
Dave Abrahams
80e9edcb29 Stop using assert() in tests
[SVN r33181]
2006-02-28 22:56:33 +00:00
Vladimir Prus
e5a0aec661 Revert (supposedly mistaken) removal of 'numeric_cast_test.cpp' from the
list of tests.


[SVN r32701]
2006-02-07 11:36:24 +00:00
Vladimir Prus
8cec2cc291 Update Jamfile.v2
[SVN r32700]
2006-02-07 11:35:31 +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
Douglas Gregor
0b19a0ae27 Fix line endings
[SVN r29773]
2005-06-24 14:24:02 +00:00
Fernando Cacciola
e66d58e6de Old numeric_cast<> completely replaced by new code (except that the old code is retained as a fallback mechanism for old broken compilers that can't deal with the new code)
[SVN r29761]
2005-06-23 23:33:01 +00:00
Vladimir Prus
caa875505e Update
[SVN r28239]
2005-04-14 11:20:26 +00:00
Fernando Cacciola
a096a4b153 numeric_cast<> test factored out from conversion\cast_test.cp
and also added (duplicated) in numeric\conversion\test


[SVN r25468]
2004-09-28 21:48:39 +00:00
Douglas Gregor
abf8ee0eb9 Converted to Boost Software License, Version 1.0
[SVN r24055]
2004-07-26 00:32:12 +00:00
Vladimir Prus
575c477f54 Add V2 Jamfile
[SVN r20209]
2003-09-29 15:38:40 +00:00
Dave Abrahams
13796f3f98 Use the import rule
[SVN r19968]
2003-09-08 17:38:49 +00:00
Beman Dawes
4b3e8171fa Initial re-commit after CVS disk crash
[SVN r18348]
2003-05-07 20:41:11 +00:00