Commit Graph

487 Commits

Author SHA1 Message Date
Antony Polukhin
d2ae7fdbd7 char16_t and char32_t conversions now work on gcc for C locale
Optimizations for C locale
Performance section of documentation updated

[SVN r74432]
2011-09-17 09:09:27 +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
2acef7aa44 Basic support for char16_t and char32_t
[SVN r74243]
2011-09-05 19:00:29 +00:00
Antony Polukhin
8480a6d083 Merge from trunk r73850
* Documentation commited

[SVN r73852]
2011-08-17 18:44:00 +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
2f5d0c847b Fixes #5783
Fixes ambiguities with operators >> and <<. Adds tests for such cases.

[SVN r73818]
2011-08-16 17:09:25 +00:00
Antony Polukhin
eb66b40e67 FIxes #5631
Workaround for nvcc bug

[SVN r73707]
2011-08-12 17:35:56 +00:00
Antony Polukhin
5ebb13bbad Very small update for FAQ section of documentation
[SVN r73706]
2011-08-12 17:08:17 +00:00
Antony Polukhin
4a4150d0be Fixes #5746
Updates FAQ section of documentation

[SVN r73705]
2011-08-12 17:04:31 +00:00
Antony Polukhin
9955dcce51 Fixes #5732.
* suppress compilation warnings, if the compiler requires a return, even when it can never be reached

[SVN r73640]
2011-08-10 18:58:06 +00:00
Antony Polukhin
e8108e5066 Fixes #5732.
* some fixes for WinCE
* updated explicit failures markup

[SVN r73601]
2011-08-07 17:38:33 +00:00
Antony Polukhin
a9778ad460 Fixes #5732.
* at least compiles on pgi

[SVN r73446]
2011-07-30 16:47:30 +00:00
Antony Polukhin
aba423d425 Fixes #5732.
* one more try to fix compilation errors on pgi compiler 

[SVN r73435]
2011-07-29 19:33:18 +00:00
Antony Polukhin
30e4efd062 Fixes #5732.
* one more try to fix compilation errors on pgi compiler 

[SVN r73401]
2011-07-27 15:56:49 +00:00
Antony Polukhin
19f316f768 Fixes #5732.
* fixes compilation errors pgi compiler 
* fixes some bugs for MinGW compiler

[SVN r73384]
2011-07-26 18:51:39 +00:00
Antony Polukhin
9ac4e2bef1 Fixes #5732.
* fixes compilation errors for nonconst char arrays

[SVN r73357]
2011-07-25 15:13:36 +00:00
Antony Polukhin
2b76f558c1 #5732. Adds workaround for MinGW bugs
[SVN r73347]
2011-07-25 05:02:07 +00:00
Antony Polukhin
0ee6400d5e Fixes #5732.
* fixes some warnings and bugs for VC

[SVN r73328]
2011-07-24 10:56:54 +00:00
Antony Polukhin
fd264b0583 Fixes #5732.
* fixes performance regression, that was added by previous commit
* fixes float types preformance regression for old compilers

[SVN r73323]
2011-07-24 09:42:06 +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
c1c8485cb4 Fixes #5723. Links in documentation are now implemented via [@boost: ]
[SVN r73277]
2011-07-21 15:35:11 +00:00
Antony Polukhin
c372f482a2 Fixes #5723. Fixes broken link
[SVN r73269]
2011-07-21 08:20:35 +00:00
Daniel James
fa7f4ba7a7 Link up the new lexical cast documentation.
[SVN r73267]
2011-07-21 07:35:29 +00:00
Antony Polukhin
272e92ba7f Fixes #5723. Updates lexical_cast maintainer info
[SVN r73256]
2011-07-20 11:50:46 +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
27a7fac22e Updates #5660.
Removed duplicate tests.
Unified behaviour for float conversions on different compillers

[SVN r72972]
2011-07-08 17:23:31 +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
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
cd0167d6b8 Fixes #5585 and adds test on it
[SVN r72315]
2011-05-31 20:46:37 +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
ccaa3059e8 Improved english and documentation design for #5576.
[SVN r72225]
2011-05-27 18:32:57 +00:00
Antony Polukhin
b0b1ce9453 Fixes #5576, adds performance section to the lexical_cast documentation, fixes misprint in tests/
[SVN r72224]
2011-05-27 18:19:38 +00:00
Antony Polukhin
98d24e04f4 Fixes #5564. Adds tests on #5564 and more tests on #5557
[SVN r72203]
2011-05-27 04:22:18 +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
920e36f6ba Fixes #5557. Adds tests on #5557
[SVN r72071]
2011-05-22 11:35:00 +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
Antony Polukhin
95360b5df6 Fixes #5417. Fixes #4397
More tests (for conversions to float types, for conversions of negative values to unsigned integers)

[SVN r71958]
2011-05-15 15:31:01 +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
Antony Polukhin
266ebbcb88 Added documentation on the feature, described in ticket. Fixed 5494
[SVN r71922]
2011-05-13 17:31:16 +00:00
Antony Polukhin
e41ef929d2 FIx #5536
[SVN r71901]
2011-05-12 17:21:07 +00:00
Alexander Nasonov
c28efea0b3 Fix an access to grouping[grouping.size()].
AFAIK, this is valid for const strings but STLport (when _STLP_DEBUG
is defined) doesn't like it.
The problem reported by Bogdan Dragu.


[SVN r65279]
2010-09-05 00:02:25 +00:00
Steven Watanabe
00b609b498 Supress MSVC /Wp64 warnings. Fixes #4184
[SVN r62806]
2010-06-11 16:12:39 +00:00
Alexander Nasonov
2cfa78ab40 Apply the patch from #4119. Fixes #4119.
[SVN r62529]
2010-06-07 22:58:42 +00:00
Daniel James
b5583b88fa Merge some detail changes.
- [53670] Avoid C style casts.
 - [55604] Fix #3346 boost/detail/scoped_enum_emulation.hpp enum_t conflict
   with Unix rpc/types.h
 - Don't foward declare containers when using gcc's parallel library and add a
   macro to disable forward declaration. Fixes #3866.


[SVN r59679]
2010-02-14 16:31:21 +00:00
Alexander Nasonov
5c1dc5388c Use BOOST_LCAST_THROW_BAD_CAST consistently.
[SVN r59664]
2010-02-13 01:24:34 +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