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
Nikita Kniazev
dc4fbd9a09 Tests: Refactor line_pos_iterator test 2023-03-08 21:49:37 +03:00
Nikita Kniazev
56b5c28fca Tests: Remove regression_ prefix from test names 2023-03-07 23:26:54 +03:00
Joel de Guzman
2f65e6e744 Merge pull request #745 from 3dyd/update-unicode-tables
Update Unicode tables
boost-1.82.0 boost-1.82.0.beta1
2023-01-04 07:16:06 +08:00
Mikalai Ananenka
b2e0ce251a Replace Unicode data files with a download script 2022-12-05 05:55:52 -05:00
Mikalai Ananenka
b66e502058 Update Unicode scripts; fix mapping for Unicode general category 'Unassigned' and script 'Unknown' 2022-12-05 03:52:43 -05:00
Mikalai Ananenka
dc1d3772d8 Update Unicode tables 2022-11-28 07:09:28 -05:00
Nikita Kniazev
859fd9cf85 Karma: real generator off by a magnitude due to log10 rounding up boost-1.81.0.beta1 boost-1.81.0 2022-09-23 00:05:16 +03:00
Nikita Kniazev
5049c39ec5 CI: Update to Clang 14 2022-09-13 21:03:38 +03:00
Nikita Kniazev
b003bb4f64 V2: Fix Clang 14 -Wbitwise-instead-of-logical 2022-09-13 21:03:38 +03:00
Nikita Kniazev
1fd010384e CI: Upgrade from deprecated image 2022-09-13 21:03:38 +03:00
Nikita Kniazev
2069cd9763 CI: Update to Clang 13 2022-09-13 04:13:24 +03:00
Nikita Kniazev
e692051e25 Fix Clang 13 -Wdeprecated-copy 2022-09-13 04:13:24 +03:00
Nikita Kniazev
2c2c52cdec Classic: scoped_lock: make include unconditional 2022-09-03 16:19:32 +03:00
Yuriy Chernyshov
a281c9450e Fix typo in #include composite.hpp 2022-09-03 16:19:32 +03:00
Han Wang
15539bbf92 X3: fix missing template argument skip_definition_injection for rule_definition boost-1.80.0.beta1 boost-1.80.0 2022-06-28 01:29:54 +03:00
Nikita Kniazev
30ed090a15 Tests: Boost.Math will require C++14 soon 2022-06-27 21:55:59 +03:00
djowel
da9968dbdf Fixes #725 2022-06-01 10:22:27 +08:00
Joel de Guzman
1451c2eb3e Merge pull request #724 from goblin-rulez/changes
Fix: annotate_on_success doesn't annotate variant
2022-04-25 08:49:22 +08:00
Katsunori Wakita
cba529383a Fix: annotate_on_success doesn't annotate variant 2022-04-24 22:41:43 +09:00
Nikita Kniazev
7b7a09db8c X3: Return back iterator pre-skipping for on_success handler
Reverts the wrong part of #686.
2022-01-21 02:28:58 +03:00
Nikita Kniazev
2f5c2cb718 X3: Fix on_success dispatcher inverted iterator const/mutability
Instead of usual `[current, end)` pair it receives `[before, current)` pair.
2022-01-15 20:28:48 +03:00
Nikita Kniazev
31659b5062 X3: Refactor detectors from disable_if_substitution_failure to just a cast to void
I had to do that to workaround some bug in vs2015 in one detector and have decided to refactor others too.
2022-01-13 22:37:05 +03:00
Nikita Kniazev
5498bc0fd1 X3: Improve C++17 diagnostic boost-1.79.0.beta1 boost-1.79.0 2022-01-09 18:39:33 +03:00
Nikita Kniazev
9168be80dd X3: Warn about future C++17 requirement
I plan to keep the warning for two releases before starting to utilize C++17 features.

Since Boost 1.81 (scheduled to November 2022) supported compilers will be:
* Clang 4 (currently 3.6)
* GCC 7 (currently 5)
* VS 2017 (currently 2015)
2022-01-06 20:47:44 +03:00
Nikita Kniazev
166e71ae36 conjure2: Add missing Phoenix include 2022-01-05 00:56:56 +03:00
Nikita Kniazev
51b509740b Examples: Add missing <iostream> includes 2022-01-05 00:56:56 +03:00
Nikita Kniazev
38ce182a6b X3: pow10.hpp: missing <cfloat> include
Fixes #708
2022-01-04 17:26:25 +03:00
Nikita Kniazev
abd946b00d Tests: Limit -Wno-deprecated-copy to GCC 9-11
To avoid 'unrecognized command line option "-Wno-maybe-uninitialized"' warning
2021-12-17 22:19:40 +03:00
Nikita Kniazev
5026daaf17 Fix warning C4555: result of expression not used 2021-12-17 21:18:24 +03:00
Nikita Kniazev
2a231e81a3 Lex: Fix warning C4458: declaration of 'varname' hides class member 2021-12-17 21:18:18 +03:00
Nikita Kniazev
551d4b6d79 Rework known warning suppression 2021-12-17 04:21:28 +03:00
Nikita Kniazev
bff0126954 CI: Re-enable -Wdeprecated-copy on Clang 2021-12-17 04:21:28 +03:00
Roel Standaert
e4092c6f3b Karma: fix off by factor 10 error when rounding to integer
This fixes issue #688. There's some code that divides the integer part
by 10 and increases dim to compensate for it. This code is not
applicable to fixed notation, however, since dim is disregarded in that
case, causing the result to be off by a factor 10.

We can fix this by checking if we're not using fixed notation first,
before doing the division.

Added a few tests to check for this regression.
2021-12-17 01:12:53 +03:00
Nikita Kniazev
f0799e4e49 Changelog for Boost 1.78 release boost-1.78.0 2021-11-29 19:07:31 +03:00
Nikita Kniazev
48c19a96ff Fix swapped parameters to is_substitute
It seems that confusion in template parameters naming lead to mistakenly swapped types to `is_substitute`. The code to X3 have been brought from Qi with the same mistake, but I do not know how to trigger it in Qi.
boost-1.78.0.beta1
2021-10-20 15:49:13 +03:00
Nikita Kniazev
8754f3686a Replace some reinterpret_cast with static_cast 2021-10-15 02:52:35 +03:00
Nikita Kniazev
f53400137c Fix -Wundefined-reinterpret-cast warnings 2021-10-15 02:52:35 +03:00
Nikita Kniazev
28071ced0a CI: Enable -Wundefined-reinterpret-cast 2021-10-15 02:52:34 +03:00
Nikita Kniazev
4ea7e3a7b7 Deprecate Phoenix transition headers
There is no purpose in these transition headers, Phoenix V2 was removed 8 years ago.
2021-09-28 22:24:57 +03:00
Nikita Kniazev
8ba926425a X3.Examples: tuple: Do not run on unsupported compilers 2021-09-05 23:40:10 +03:00
Nikita Kniazev
3b64a41889 V2.Examples: proto::deep_copy missing include 2021-09-05 23:33:55 +03:00
Nikita Kniazev
2f87dfe2f2 Qi.Examples: derived: Make base class destructor virtual
The problem was spotted by Clang `-Wdelete-non-abstract-non-virtual-dtor`
2021-09-05 23:30:05 +03:00
Nikita Kniazev
3102c63c25 X3.Docs: Add missed changelog entry 2021-09-03 23:35:03 +03:00
Nikita Kniazev
0821b0d877 Improve headers self-sufficiency
Closes #695
2021-08-28 23:43:28 +03:00
Nikita Kniazev
f44479bcd3 Remove boost/config/warning_disable.hpp usage
It is better to manage warnings on our side to know what warnings we need to fix or suppress, and the only thing that header does is disabling deprecation warnings on MSVC and ICC which we would prefer to not show to users.
2021-08-24 03:14:12 +03:00
Nikita Kniazev
bbb020e221 Remove unused boost/mpl/print.hpp includes 2021-08-23 22:35:47 +03:00
Nikita Kniazev
6a7c758376 Switch to the new location of lightweight test
Old location had been deprecated for a long time already.
2021-08-23 21:45:17 +03:00
UMU
6a92324d7c Prevent error C2589 when min, max was defined. 2021-08-21 19:42:36 +03:00
Nikita Kniazev
1745794818 Remove unused include
This one slipped under the radar somehow
2021-08-17 02:55:27 +03:00
Nikita Kniazev
eeb2f2052f CI: Install libunwind-dev package boost-1.77.0 2021-08-04 22:06:15 +03:00