2
0
mirror of https://github.com/boostorg/spirit.git synced 2026-01-19 04:42:11 +00:00

5177 Commits

Author SHA1 Message Date
Joel de Guzman
dcaded05c8 Merge pull request #794 from boostorg/pr/avoid-deprecated
Avoid inclusion of deprecated header
2024-09-30 08:20:10 +08:00
Peter Dimov
125bcfc905 Avoid inclusion of deprecated header 2024-09-29 15:12:55 +03:00
Joel de Guzman
b44bcac525 Merge pull request #790 from schorsch1976/fix-doc
Fix 2 Typos: instantiating and Remember
2024-08-28 19:44:49 +08:00
Georg Gast
e7f3c2699c Fix 2 Typos: instantiating and Remember 2024-08-28 10:41:42 +02:00
Joel de Guzman
154e6b9bfd Merge pull request #787 from grafikrobot/modular
Add support for modular build structure.
2024-08-22 09:42:09 +08:00
Rene Rivera
1bbea78003 Sync from upstream. 2024-08-20 09:56:54 -05:00
Joel de Guzman
52c8d66a59 Merge pull request #788 from saki7/nothrow-expect
Non-throwing x3::expect
2024-08-18 06:10:39 +08:00
Nana Sakisaka
d9b53fedb0 Fix ODR violation, add tests 2024-08-13 20:02:38 +09:00
Rene Rivera
d0598ab8ed Sync from upstream. 2024-08-12 20:33:00 -05:00
Nana Sakisaka
cf643c13c0 Add documentation for non-throwing expectations 2024-08-12 23:14:19 +09:00
Nana Sakisaka
88d9987167 Implement non-throwing version of x3::expect 2024-08-12 17:18:52 +09:00
Joel de Guzman
5d7aa47ac6 Bump compilers for X3 to Clang 18 and GCC 13 2024-08-12 14:37:01 +08:00
Joel de Guzman
4dc63a7699 Bump X3 STD to 17 2024-08-12 07:20:30 +08:00
Rene Rivera
d85a0f485a Change math dep real target math/tr1. 2024-08-11 09:23:25 -05:00
Rene Rivera
32d0535ace Update build deps. 2024-08-08 23:15:28 -05:00
Rene Rivera
64a8fef7dd Move inter-lib dependencies to a project variable and into the build targets. 2024-07-23 22:34:22 -05:00
Rene Rivera
ead3e4e4e4 Update copyright dates. 2024-07-20 22:52:03 -05:00
Rene Rivera
b1947d9c3a Change all <source> references to <library>. 2024-07-20 21:25:51 -05:00
Rene Rivera
dbda017a36 Bump B2 require to 5.2 2024-06-14 11:33:56 -05:00
Rene Rivera
2c93b802e6 Add requires-b2 check to top-level build file. 2024-05-05 09:00:01 -05:00
Rene Rivera
c714c24aa2 Add missing import-search for cconfig/predef checks. 2024-05-04 23:32:40 -05:00
Rene Rivera
485b006898 Remove relative references to boost-root in Jamfiles. 2024-04-13 16:20:21 -05:00
Rene Rivera
d4c1c68736 Switch to library requirements instead of source. As source puts extra source in install targets. 2024-03-29 21:15:59 -05:00
Rene Rivera
c31939d691 Make the library modular usable. 2024-03-11 08:38:16 -05:00
Nikita Kniazev
43112c3f05 X3: Constrain operator>
It might be instantiated for user types inherited from classes in x3 namespace.
boost-1.85.0 boost-1.87.0.beta1 boost-1.87.0 boost-1.86.0.beta1 boost-1.86.0 boost-1.85.0.beta1
2024-02-24 02:10:26 +03:00
Nikita Kniazev
d4d4b8e9d8 Tests: Boost.Math drops MSVC 14.0 support 2024-02-23 07:42:12 +03:00
Nikita Kniazev
f39edf226a Appveyor: Remove clcache 2024-02-07 21:36:31 +03:00
Ivan A. Melnikov
008109aa9a Fix missing includes for karma/binary
Previosuly, scoped_enum was included into karma's binary.hpp
through boost/endian/detail/order.hpp. Since Boost 1.84.0
that file stopped using scoped enum and switched to use
plain enum class instead; so it needs to be added here.
2024-02-07 21:35:05 +03:00
Joel de Guzman
59515f0e56 Merge pull request #767 from Lastique/feature/fix_missing_includes
Fix missing includes in `match_manip.hpp`
boost-1.84.0.beta1 boost-1.84.0
2023-10-09 07:08:18 +08:00
Joel de Guzman
491197f748 Merge pull request #766 from Lastique/feature/use_invoke_swap
Switch to `boost::core::invoke_swap`
2023-10-09 07:07:47 +08:00
Joel de Guzman
f73218e5d8 Merge pull request #773 from Flamefire/gha-ci
Fix GHA CI
2023-10-09 07:07:39 +08:00
Joel de Guzman
b5ad68b757 Merge pull request #775 from Flamefire/appveyor
Remove unsupported compilers from Appveyor
2023-10-09 07:07:28 +08:00
Alexander Grund
c9a4e6cb77 Remove unsupported compilers from Appveyor
msvc-10/11/12 is no longer supported by Boost.Variant hence Spirit
cannot be used (or at least tested) with those.
So remove them.
2023-10-08 12:11:18 +02:00
Andrey Semashev
880efcae9b Fix missing includes in match_manip.hpp.
Use failbit as a dependent name to avoid having to include <ios>
for std::ios_base::failbit.

Add missing includes for enable_if, mpl::true_/mpl::false_ and scoped
enums.
2023-10-08 03:58:10 +03:00
Alexander Grund
1b9bc5666b Remove GHA C++03 jobs 2023-10-07 18:20:41 +02:00
Alexander Grund
ff9aa99bd9 Cancel old GHA jobs 2023-10-07 18:20:41 +02:00
Andrey Semashev
66145232eb Switch to boost::core::invoke_swap.
boost::swap is deprecated and will be removed. Use boost::core::invoke_swap
as a replacement, where needed.

Removed "using boost::swap" in common.hpp, since this is not the intended usage
of Boost.Swap, and doing so did not add anything to the existing code (which
already did "using std::swap").

Corrected documentation re. compatibility with boost::swap/
boost::core::invoke_swap. It does not (and never did) use member swap()
functions, but simply forwards to either std::swap or the user-defined free
function overload (which, in turn, may forward to the member swap()).
2023-09-02 20:33:56 +03:00
Yang Lin
ba5026b191 Fix roman example lambda error
error: non-local lambda expression cannot have a capture-default
2023-06-10 17:07:58 +03:00
Nikita Kniazev
32fb6f6899 V2.Tests: Revise poorly named tests
Looking by the commit history they should not have been using classic iterators
boost-1.83.0.beta1 boost-1.83.0
2023-04-03 01:26:26 +03:00
Nikita Kniazev
94f4704f40 X3.Tests: expect: actually test exception info 2023-03-21 23:58:49 +03:00
Nikita Kniazev
945eb97f9f Cease dependence on Boost.Regex
`boost/spirit/include/classic_regex.hpp` is an optional header
2023-03-19 04:48:51 +03:00
Nikita Kniazev
250e78ad0d Tests: fix missing sstream includes (more) 2023-03-18 22:41:52 +03:00
Nikita Kniazev
bda34254dc Tests: fix missing sstream includes 2023-03-18 18:06:07 +03:00
Nikita Kniazev
3e763336e4 Trim std stream headers inclusion 2023-03-17 22:53:33 +03:00
Nikita Kniazev
fe3675ea09 Tests: Suppress C++03 deprecation warnings from other libraries 2023-03-17 22:50:13 +03:00
Nikita Kniazev
15362c0263 to_utf8: more tests 2023-03-17 03:36:25 +03:00
Nikita Kniazev
58123d7443 line_pos_iterator: simplify get_line_start 2023-03-13 00:34:54 +03:00
Nikita Kniazev
2599b2b3d5 Test: line_pos_iterator: test both forward and bidirectional paths 2023-03-13 00:32:26 +03:00
Tobias Loew
5471852b5d line_pos_iterator: optimized get_* routines (#757)
* added optimized `get_line_start` version for bidirectional iterators
* `get_line_start`/`get_line_end`/`get_column` avoids `line_pos_iterator` line counting overhead

---------

Co-authored-by: Tobias Loew <tobi@die-loew.de>
Co-authored-by: Nikita Kniazev <nok.raven@gmail.com>
2023-03-13 00:03:10 +03:00
Nikita Kniazev
b0237057c8 line_pos_iterator: fix multiple consequence CRLF/LFCR handling 2023-03-08 21:49:37 +03:00