2
0
mirror of https://github.com/boostorg/parser.git synced 2026-01-19 04:22:13 +00:00

1075 Commits

Author SHA1 Message Date
Zach Laine
8f5b84ded5 Fix __clang__/__clang_major__ confusion when trying to define language feature
macros in terms of Clang major version number.

Fixes #168.
2024-09-30 18:10:05 -05:00
Zach Laine
8accdd922f Fix ignored USE_{A,UB}SAN in CMake files. 2024-09-30 18:08:09 -05:00
Zach Laine
71eeb36272 Remove the broken use of alias CTAD from the transcoding views.
Fixes #193.
2024-09-30 18:06:46 -05:00
Zach Laine
7ae86c1a0c Fix macro guard on s1_boost_variant2 tuple_aggregate test.
Fixes #179.
2024-09-30 17:44:28 -05:00
Martin Posch
e35d066f44 Avoid Compiler Warning. move declaration of 'buf' into region of #if BOOST_PARSER_DETAIL_TEXT_USE_CONCEPTS as it is only used there. 2024-09-30 12:48:12 -05:00
Martin Posch
b1b7b221c7 Avoid Compiler Warning. move declaration of 'buf' into region of #if BOOST_PARSER_DETAIL_TEXT_USE_CONCEPTS as it is only used there. 2024-09-30 12:48:12 -05:00
Martin Posch
d45b964cb1 fix boost build b2.exe for non-msvc compilers in win32.
propagate the selected compiler from cmake down to the boost bootstrap process
2024-09-30 12:47:14 -05:00
Zach Laine
2a9687f22f Fix __clang__/__clang_major__ confusion when trying to define language feature
macros in terms of Clang major version number.

Fixes #168.
2024-09-29 14:28:22 -05:00
Zach Laine
edd802ea8f char8_type -> unsigned char in UTF8 -> UTF32 implementation in
utf_iterator::decode_code_point() to mitigate warnings.

Fixes #167.
2024-09-29 14:28:22 -05:00
Zach Laine
75c29c0378 Add missing implementations for hidden friends in project_view::iterator (op==
and op-).

Fixes #169.
2024-09-29 14:28:22 -05:00
Zach Laine
6b0194d7d6 Just use 'make check' to run tests on Github actions for every configuration
but Win+MSVC; the tests previously were not being run at all!
2024-09-29 14:27:00 -05:00
Zach Laine
4cea9c03d6 Remove -Werror from Fedora Github action builds. 2024-04-01 16:00:31 -05:00
Jannik Glückert
058fb68314 unix: disable boost windres usage
windres outputs object files that get rejected by stricter ld
configurations used in some distros
res.o:(.rsrc$01+0x48): dangerous relocation: R_AMD64_IMAGEBASE with __ImageBase undefined
2024-04-01 15:58:58 -05:00
Jannik Glückert
5864eee3be fix CI clang warnings in tests 2024-04-01 15:58:58 -05:00
Jannik Glückert
6eeed0dce9 modernize MacOS CI & update checkout actions 2024-04-01 15:58:58 -05:00
Jannik Glückert
d25207c0ee simplify Windows CI 2024-04-01 15:58:58 -05:00
Jannik Glückert
d7593f7960 simplify Ubuntu CI 2024-04-01 15:58:58 -05:00
Jannik Glückert
57e796e2ae add Fedora CI for gcc & clang 2024-04-01 15:58:58 -05:00
Zach Laine
d774edc0e6 Add the condition that BOOST_PARSER_USE_CONCEPTS is true to/in place of many
places that used __cpp_lib{concepts,ranges} previously.  This is often
necessary when concepts are disabled, since the user might have a broken
implementation of concepts.
2024-03-31 19:55:28 -05:00
Zach Laine
a37a1223ff Now that the code disables the use of concepts for Clangs earlier than 16,
re-enable the C++20 build modes for Clang 13,14,15.
2024-03-30 14:01:54 -05:00
Zach Laine
5f50c371af Disable the use of concept constraints in Clang < 16.
Fixes #131.
Fixes #133.
2024-03-30 13:56:47 -05:00
Zach Laine
1cb67e7728 Remove apparently broken ARM64 and S390x Clang compilers from Drone builds. 2024-03-28 21:47:03 -05:00
Zach Laine
12de839618 Officially drop support for Clang 10. 2024-03-28 21:06:34 -05:00
Zach Laine
7d6682d536 Remove C++20 variants from Linux and FreeBSD Drone builds, since libc++
<ranges> was missing a lot of tuff before Clang 16.
2024-03-28 21:04:39 -05:00
Zach Laine
6f28211166 Use handrolled indirectly_copyable for Clang <= 13, not just 13 itself. 2024-03-28 02:22:49 -05:00
Zach Laine
294d84f2d5 Disabling the post-C++17 Clang+libstdc++ Drone builds. That combination will
not work when concepts are in use until Clang 16 at the earliest.  See:
https://github.com/llvm/llvm-project/issues/44178#issuecomment-1282493131
2024-03-28 02:18:10 -05:00
Zach Laine
dbfc8da474 Add missing #include <iterator>. 2024-03-27 21:24:26 -05:00
Zach Laine
939502e358 Remove C++17 variants of ARM64 and S390x Clang Drone builds. 2024-03-27 20:33:39 -05:00
Zach Laine
ce38d43657 Remove XCode 10.1 from Drone builds. 2024-03-27 20:29:24 -05:00
Zach Laine
0bbf5a8df6 Remove VS 2015 from Drone builds. 2024-03-27 19:27:17 -05:00
Zach Laine
5dce167bf9 Disable some of the compile tests that spuriously fail on older Apple Clangs. 2024-03-27 19:26:41 -05:00
Zach Laine
88842dc789 Remove post-C++17 builds from Drone OSX-XCode targets before 14.3.1. 2024-03-27 02:43:41 -05:00
Zach Laine
072a812bcc Add <library>/boost/charconv//boost_charconv project requirement to the b2
build.
2024-03-27 02:30:05 -05:00
Zach Laine
a49c9521b5 Don't include <version>, since it turns out that it's a C++20 header. Who
knew?
2024-03-27 00:55:54 -05:00
Zach Laine
7980c98222 Depend on specific files (instead of dirs) custom rules/targets in
cmake/dependencies.cmake.  This is necessary for MSVC builds.
2024-03-26 04:14:17 -05:00
Zach Laine
843867944b Add documentation of the new VS output trace/error_Handler feature.
Partially addresses #124.
2024-03-26 04:14:17 -05:00
Tobias Loew
56d043b3a4 Add VS debugger output error_handler and trace support.
Fixes #124.
2024-03-26 04:14:17 -05:00
Zach Laine
62f4646c55 Make .drone/*sh executable. 2024-03-25 20:19:30 -05:00
Zach Laine
f39d119d44 Initial add of Drone build files. 2024-03-24 23:09:25 -05:00
Zach Laine
06c49a428e Small doc copy edit. 2024-03-24 22:48:24 -05:00
Zach Laine
d34cc345bb Add/update b2 build for docs and tests. 2024-03-24 22:29:10 -05:00
Zach Laine
d88e47cf17 Fix deficiencies in the CMake build:
- Clone minimal Boost dependencies so that the minimal Boost.Test header is
  available.

- Add boostdep-generated CMake code to the top of the top-level
  CMakeLists.txt.

Fixes #127.
2024-03-24 22:29:10 -05:00
Zach Laine
8e39ad067b Change tests from GTest to Boost.Test. Remove Goolge.{Test,Benchmark}.
Fixes #165.
2024-03-24 22:29:10 -05:00
Zach Laine
55dcb7a8ad Remove boost_review_changes branch from the Github workflows. 2024-03-23 23:40:08 -05:00
Zach Laine
abbab9017f Address gaps in code coverage; fix a couple of small errors in the trace code. 2024-03-23 23:40:08 -05:00
Zach Laine
889be318f8 Add code coverage generation and reporting.
Fixes #146.
2024-03-23 23:40:08 -05:00
Zach Laine
be8a9591f2 Add coverage.yml and CMakePresets.json from Boost.Redis. 2024-03-23 22:26:16 -05:00
Zach Laine
317248843b BOOST_PARSER_DISABLE_HANA_TUPLE - > BOOST_PARSER_USE_HANA_TUPLE; disable Hana
by default.

Fixes #155.
2024-03-23 22:26:16 -05:00
Zach Laine
d5eba27273 Honor the use of BOOST_DISABLE_ASSERTS even when Boost.Assert is not available. 2024-03-23 22:26:16 -05:00
Zach Laine
f461b38850 Address TODO about BOOST_PARSER_ASSERT vs. BOOST_PARSER_DEBUG_ASSERT in
quoted_string_parser.
2024-03-23 22:26:13 -05:00