624 Commits

Author SHA1 Message Date
Antony Polukhin
1c89e3a56c Update copyright years boost-1.88.0.beta1 boost-1.88.0 2025-01-05 19:41:20 +03:00
René Ferdinand Rivera Morell
71a184d20f
Add support for modular build structure. (#78)
This is part of the effort to make the Boost libraries "modular" for build and consumption. See https://lists.boost.org/Archives/boost/2024/01/255704.php and https://github.com/grafikrobot/boost-b2-modular/blob/b2-modular/README.adoc for more information.

This PR depends on the following other PRs being merged to both develop and master branches of the respective repos:

- https://github.com/boostorg/boost/pull/854
boost-1.87.0.beta1 boost-1.87.0
2024-08-25 09:57:23 +03:00
Antony Polukhin
7f121f8ce3
Drop Boost.Integer dependency (#79) 2024-08-14 21:15:33 +03:00
Antony Polukhin
ff2f0496b0 Fixed conversion of std::basic_string_view and boost::basic_string_view containing one or more \0 characters.
Issue was introduced in 1.85.0
boost-1.86.0.beta1 boost-1.86.0
2024-07-07 20:08:13 +03:00
Antony Polukhin
7861401ac4
Always use the boost::core::*printf functions and rely on Boost.Core workarounds (#77) 2024-04-13 09:55:14 +03:00
René Ferdinand Rivera Morell
92e55e842e
Add macOS testing. (#75)
Fixes https://github.com/boostorg/lexical_cast/issues/76
---------

Co-authored-by: Antony Polukhin <antoshkka@gmail.com>
2024-04-12 19:12:54 +03:00
Antony Polukhin
02e5821ab3
Do not use custom traits from input/output types as it leads to linktime or runtime errors (fixes #46) (#74) boost-1.85.0.beta1 boost-1.85.0 2024-02-15 11:50:10 +03:00
Antony Polukhin
3433c34b43
Suppress the unsigned-integer-overflow sanitizer warnings and do not recover from the integer sanitizer errors (fixes #45) (#73) 2024-02-15 09:24:44 +03:00
Antony Polukhin
518e28ff79
Dropped dependency on Boost.NumericConversion and Boost.MPL (#72)
Fix some corner cases of floating-point conversions (infinities to infinities of smaller type, fractional numbers to integers)
2024-02-13 10:55:25 +03:00
Antony Polukhin
fc5ffb67f8
Simplify the code by removing the explicit copy optimization that is not profitable on modern compilers (#71) 2024-01-28 14:05:12 +03:00
Antony Polukhin
31e0fcde67
Optimizations for std::basic_string_view ans boost::basic_string_view (ref https://github.com/boostorg/lexical_cast/issues/30) (#70) 2024-01-26 20:16:50 +03:00
Antony Polukhin
f0862bb60d
Significant rewrite of the internal logic to separate optimized and C++ Standard Library IO-based streams (#69)
* C++ Standard Library based streams now constructed in less cases leading to **better performance**;
* less template instantiations and simpler maintainance;
* support for `volatile` input types was dropped, following the C++ Standard Library trend.
2024-01-24 22:35:41 +03:00
Antony Polukhin
4bf37fb6ce
Do not reinterpret_cast boost:: and std::array and do not check their sizes (refs #64) (#68) 2024-01-21 14:59:43 +03:00
Antony Polukhin
621b9cf431 Merge branch 'develop' of github.com:boostorg/lexical_cast into develop 2024-01-21 14:49:22 +03:00
Antony Polukhin
92ef7fdeaf Update performance measures 2024-01-21 14:49:07 +03:00
Antony Polukhin
fe9ee41f5c
Reduce template instantiations count by using template aliases (#67) 2024-01-21 14:23:33 +03:00
Antony Polukhin
90ec909dcf Update copyright years 2024-01-07 13:22:00 +03:00
Antony Polukhin
a713e09eab Update copyright years 2024-01-07 13:06:23 +03:00
Antony Polukhin
1ca93a8e27
Drop Boost.Range dependecy (#63) boost-1.84.0.beta1 boost-1.84.0 2023-09-10 16:52:10 +03:00
Antony Polukhin
c65a020401 Use BOOST_OVERRIDE to satisfy GCC-4.6 (refs #60) 2023-09-09 15:34:52 +03:00
Antony Polukhin
515e5988b2 Minor changes to satisfy GCC-4.6 (refs #60) 2023-09-03 15:00:21 +03:00
Antony Polukhin
af5ce2a5fe
Drop C++03 and C++98 support (#62)
Also update tests to not use Boost.Test
2023-09-02 17:42:14 +03:00
Antony Polukhin
844a4d1640
Merge pull request #59 from Romain-Geissler-1A/fix-warning
Fix -Wdeprecated-copy-with-dtor warnings with clang.
2023-08-12 10:58:56 +03:00
Romain Geissler
20db4f8d32
Fix -Wdeprecated-copy-with-dtor warnings with clang.
/data/mwrep/res/osp/Boost/23-0-0-0/include/boost/lexical_cast/bad_lexical_cast.hpp:59:9: error: definition of implicit copy constructor for 'bad_lexical_cast' is deprecated because it has a user-declared destructor
 [-Werror,-Wdeprecated-copy-with-dtor]
        ~bad_lexical_cast() BOOST_NOEXCEPT_OR_NOTHROW BOOST_OVERRIDE = default;
2023-06-02 13:20:24 +00:00
Antony Polukhin
35941953d1 update CI setup (1) boost-1.83.0.beta1 boost-1.83.0 2023-05-21 12:42:50 +03:00
Antony Polukhin
4850d71673 update CI setup 2023-05-21 09:55:36 +03:00
Antony Polukhin
42518efe39 add C++03 deprecation warnings 2023-05-14 20:02:49 +03:00
Antony Polukhin
32e9b6d2a0 Update copyright years boost-1.82.0.beta1 boost-1.82.0 2023-01-19 10:00:15 +03:00
Antony Polukhin
345e1549b4
Merge pull request #56 from mborland/develop
Fix for sprintf deprecation message
2023-01-17 15:25:15 +03:00
Matt Borland
b7fd03b19d
Replace sprintf with Boost.Core snprintf 2022-12-08 18:32:56 -08:00
Antony Polukhin
81148c50f7 Revert "Merge pull request #51 from biodranik/sprintf-warning-fix"
This reverts commit e67d186e0dbfee538b8d66cebfc27f119d4eb12a, reversing
changes made to a9f296115967335aaa9f4a4cadfd900f131a60d1.
boost-1.81.0.beta1 boost-1.81.0
2022-09-03 07:57:49 +03:00
Antony Polukhin
cfd466eacd Remove MacOS run from CI as it almost always hits CI limits 2022-09-02 19:17:08 +03:00
Antony Polukhin
e49ad59570
Merge pull request #54 from boostorg/antoshkka/update-ci-win2022
Update CI
2022-09-02 17:34:52 +03:00
Antony Polukhin
d54f16a0af update ci 2022-09-02 16:21:11 +03:00
Antony Polukhin
403d79edc7 fix compilation for casting volatile arithmetic types
Fixes #50
2022-09-01 13:53:46 +03:00
Antony Polukhin
9e287d6624
Merge pull request #53 from fanquake/core_noncopyable
refactor: use core/noncopyable over boost/noncopyable
2022-09-01 11:45:32 +03:00
Antony Polukhin
e67d186e0d
Merge pull request #51 from biodranik/sprintf-warning-fix
Replaced sprintf with snprintf to silent the security deprecated warning in Xcode 14
2022-08-31 21:27:53 +03:00
fanquake
b302988907
refactor: use core/noncopyable over boost/noncopyable
The later is deprecated:
```cpp
// The header file at this path is deprecated;
// use boost/core/noncopyable.hpp instead.

include <boost/core/noncopyable.hpp>
```
2022-08-24 12:34:18 +01:00
Alexander Borsuk
3f0026eec0 Replaced sprintf with snprintf to silent the security deprecated warning in Xcode 14 2022-06-10 23:51:41 +02:00
Antony Polukhin
a9f2961159 update copyright years boost-1.80.0.beta1 boost-1.80.0 boost-1.79.0.beta1 boost-1.79.0 2022-01-30 13:03:00 +03:00
Antony Polukhin
00197e2f97 update CI setups: remove outdated and broken setups, avoid using TravisCI boost-1.78.0.beta1 boost-1.78.0 2021-09-11 14:05:01 +03:00
Antony Polukhin
a8e2a9458b
Remove TravisCI runs 2021-09-11 12:43:43 +03:00
Antony Polukhin
934858fbdc do not gather coverage in GithubActions CI runs boost-1.77.0.beta1 boost-1.77.0 2021-05-04 19:27:57 +03:00
Antony Polukhin
b7a3039fa1 remove obsolete link from Readme 2021-05-04 11:29:13 +03:00
Antony Polukhin
d47bbfc79b add GithubActions CI step to set up locaes 2021-05-04 11:28:57 +03:00
Antony Polukhin
650958a9da remove unused Drone CI 2021-05-04 10:11:42 +03:00
Antony Polukhin
2b37bce120 test the library with different locales in GithubActions CI 2021-05-04 10:11:07 +03:00
Antony Polukhin
17606ef8a6 update coverage logic in TravisCI script 2021-05-04 10:07:06 +03:00
Antony Polukhin
f071fb83cf typo fix 2021-05-03 19:10:31 +03:00
Antony Polukhin
28a3b0e6f8 add new badges to Readme and use HTTPS links 2021-05-03 17:37:51 +03:00