Edward Diener
30d5705804
[skip ci] Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries in order to specify the minumum C++ standard compilation level. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out.
2021-01-21 11:08:23 -05:00
Joel de Guzman
21860d0432
Merge pull request #636 from theodelrieu/unicode/char32_t
...
Unicode/char32 t
2021-01-06 20:00:52 +08:00
Théo DELRIEU
a7ddded02c
Enhance debug output to print unicode code points as hex
2021-01-04 22:13:10 +01:00
Théo DELRIEU
8ba96d921e
Use char32_t as unicode encoding char_type
2021-01-04 22:13:10 +01:00
Joel de Guzman
30e669f210
Merge pull request #629 from boostorg/fixing_628
...
Fixing problems related to formatting numbers
2021-01-04 08:03:16 +08:00
Joel de Guzman
673038ba1a
Merge pull request #556 from rubenvb/shadowing_variables_warnings
...
Rename variables and suppress warnings about hiding global declaratio…
2021-01-04 07:38:36 +08:00
Joel de Guzman
edb0cf9884
Merge pull request #627 from giomasce-throwaway/develop
...
Fix typos and encoding errors in copyright headers.
2021-01-03 17:46:14 +08:00
Ruben Van Boxem
4e154f353e
Rename variables and suppress warnings about hiding global declarations with local declarations.
...
This silences some occurrences of C4459 when using VS2019.
2021-01-03 10:32:12 +01:00
Giovanni Mascellani
c35dffc860
Fix typos and encoding errors in copyright headers.
2021-01-03 09:25:35 +01:00
Joel de Guzman
5e0234a95e
Merge pull request #635 from boostorg/revert-634-unicode/char32_t
...
Revert "Use char32_t as unicode encoding char_type"
2021-01-03 09:20:39 +08:00
Joel de Guzman
3cf1faf2cc
Revert "Use char32_t as unicode encoding char_type"
2021-01-03 09:19:49 +08:00
Joel de Guzman
bbec68dcd3
Merge pull request #265 from Kojoley/tst-add-regression-test-for-379413a5-fix
...
X3.Tests: Added regression test for 379413a5 fix
2021-01-03 08:33:17 +08:00
Joel de Guzman
57ed6fc977
Merge pull request #626 from camolezi/clang-modules-fix
...
Add missing includes
2021-01-03 08:26:51 +08:00
Joel de Guzman
2a1afcdbe0
Merge pull request #634 from theodelrieu/unicode/char32_t
...
Use char32_t as unicode encoding char_type
2021-01-03 08:21:07 +08:00
Joel de Guzman
c3db18bfeb
Merge pull request #633 from K-ballo/omit-raw-sanity-checks
...
Test omit and raw directives behavior with rules
2021-01-01 10:37:09 +08:00
Théo DELRIEU
b0484d228f
Enhance debug output to print unicode code points as hex
2020-12-31 19:14:11 +01:00
Théo DELRIEU
a2f9f34cbb
Use char32_t as unicode encoding char_type
2020-12-31 18:44:15 +01:00
Agustin K-ballo Berge
37b6b7d69c
Test omit and raw directives behavior with rules
2020-12-27 11:21:50 -03:00
Joel de Guzman
c535d58b5e
Merge pull request #620 from pepsiman/patch-2
...
Cast to correct char type to avoid assertion failure
2020-12-04 08:30:53 +08:00
Joel de Guzman
44effcee7d
Merge pull request #631 from sehe/improve_distinct_what
...
Improve what() info for distinct directive
2020-12-03 09:13:54 +08:00
sehe
ba9cda5e21
Improve what() info for distinct directive
...
Like on similar directives, propagate the info from the subject parser
for improved debug/diagnostics.
2020-12-01 21:49:26 +01:00
Hartmut Kaiser
9b126fa865
Fixing problems related to formatting numbers
2020-11-21 16:08:21 -06:00
Malcolm Parsons
6821c8208b
Update char_class.hpp
...
boost/spirit/home/support/char_encoding/standard.hpp:59: static bool boost::spirit::char_encoding::standard::isalnum(int): Assertion `strict_ischar(ch)' failed.
2020-09-02 15:02:29 +01:00
camolezi
ee097a1246
Add missing includes
...
This patch makes the headers able to be built standalone, making possible C++ clang modules builds.
2020-09-01 15:21:04 -03:00
Nikita Kniazev
e0625d190b
X3.Test: Make pow call unqualified
boost-1.75.0.beta1
boost-1.75.0
2020-08-15 23:31:20 +03:00
Nikita Kniazev
06155791f6
X3.Test: Correct pow overload
2020-08-15 22:50:10 +03:00
Nikita Kniazev
a1ace8d8eb
1.74 changelog
boost-1.74.0
2020-07-23 02:11:11 +03:00
Nikita Kniazev
ffe9bbc59d
Karma.Tests: int2: warning C4310: cast truncates constant value
2020-07-22 23:41:48 +03:00
Nikita Kniazev
81db036c6d
Karma.Tests: int2: char type is not always signed
2020-07-22 23:41:35 +03:00
Nikita Kniazev
e5cbefa843
utree_cast: Fix unreachable code warnings
2020-07-20 02:36:35 +03:00
Nikita Kniazev
a46c2fd91f
Karma: Suppress C4244 in buffer_sink
...
Sadly, Karma buffers are always of wide type, and fixing that is not trivial.
2020-07-20 01:40:43 +03:00
Nikita Kniazev
ce34303926
Karma.Tests: print_if_failed: Hexencode non-ASCII printable
...
Fixes noisy C4244 warning.
2020-07-20 01:40:41 +03:00
Nikita Kniazev
9ee9a1ece3
Remove redundant assert
...
> For all functions described in this subclause that accept an argument of type wint_t, the value shall
> be representable as a wchar_t or shall equal the value of the macro WEOF. If this argument has any
> other value, the behavior is undefined.
There is no way to produce a `wint_t` value non-representable as `wchar_t` with `std::char_traits<wchar_t>::to_int_type`.
2020-07-18 16:08:25 +03:00
Nikita Kniazev
49f7452cc1
Fix standard_wide::toucs4
...
* Make the argument type `wchar_t`
* Fix issue when `sizeof(wchar_t) < sizeof(boost::uint32_t)` and `wchar_t` is
a signed type.
* Remove wrong/pointless assertion (there is no calls to `std::w*`)
2020-07-18 16:08:25 +03:00
Nikita Kniazev
53664b38e3
X3: Remove unused header unrefcv.hpp
boost-1.74.0.beta1
2020-06-23 19:48:47 +03:00
Nikita Kniazev
262834ee77
CI: GCC 10
2020-06-22 17:55:53 +03:00
Nikita Kniazev
997a075921
X3: Remove value_initialize trait
...
Removes unneeded move on C++14
2020-06-22 02:38:02 +03:00
Nikita Kniazev
28bf3e910b
X3: Remove wrong pseudo_attribute usage
...
We already have an actual attribute here.
This reverts a wrong part of ded2c2127c , that
also prevented guaranteed copy elision.
2020-06-22 02:38:02 +03:00
Nikita Kniazev
cd46686ecc
CI: Add assertions enabled builds on Travis
...
This time for sure
2020-06-14 23:00:30 +03:00
Nikita Kniazev
262d3efc3e
CI: No need to find ccache if it is on PATH already
2020-06-14 22:55:08 +03:00
Nikita Kniazev
41d21b354c
CI: Boost.Build natively supports stdlib=libc++
2020-06-14 22:06:14 +03:00
Nikita Kniazev
4cfb7e34f5
Add basic optional tests
...
Those seems to be missing for some reason
2020-06-12 18:52:15 +03:00
Nikita Kniazev
a29df02ecc
X3: details::move_to without forwarding references
2020-06-10 21:04:59 +03:00
Nikita Kniazev
0abca50754
X3: Remove unneeded reserve before insert
...
Every sane container implementation will make preallocation if possible,
calling `reserve` ourselves increases code size and creates a dead branch
inside `insert` which cannot be removed by compiler.
2020-06-10 14:43:31 +03:00
Nikita Kniazev
e01e9fbfda
X3: Fixed self-move in alternative parser
...
Moreover, guard ourselves from this ever happening again.
2020-06-08 14:26:12 +03:00
Nikita Kniazev
7b3d5c394d
Revert "Add handling with optional<Source> for `boost::spirit::x3::traits::…"
2020-06-08 00:47:40 +03:00
Nikita Kniazev
b59458e089
X3: Attribute of alternative/sequence without MPL
2020-06-07 14:29:36 +03:00
Nikita Kniazev
036993b086
X3: Infinity recursion in is_substitute
...
Match same arguments earlier to break infinity recursion
2020-06-06 21:38:24 +03:00
Nikita Kniazev
bf81c62314
X3: Sequence parser in alternative into container
...
This seems like a good compromise until we find a general solution.
2020-06-04 17:17:09 +03:00
Nikita Kniazev
66c22296c3
X3: Corner cases in alternative parser with container attribute
...
Alternative parser were appending empty values with attributeless parsers, while
it should not append anything at all.
A container parser of alternative parser of container parser with container of
variant of container attribute was failing to compile.
It would be cleaner to simply store every subparser wrapped inside `alternative`
because even the general way to call subparsers is via `parse_alternative`, but
it will hurt parser expression tree readability.
2020-05-31 14:44:34 +03:00