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

1088 Commits

Author SHA1 Message Date
Zach Laine
1cdf8a246a Update docs. 2024-10-03 20:09:21 -05:00
Zach Laine
4fc75eb97a Merge branch 'develop' into gh-pages 2024-10-03 20:07:51 -05:00
Zach Laine
9b03f3c1f9 Remove " (Proposed)" from docs.
Fixes #199.
2024-10-03 20:06:47 -05:00
Zach Laine
446d09dc5d Update README.md badges. 2024-10-03 19:31:46 -05:00
Zach Laine
f2aa039282 Document newly-added operations in the Mutable Symbol Tables page of the docs.
Documentation for #183.
2024-10-03 19:23:46 -05:00
Zach Laine
1e64b6e416 Add insert/erase/clear operations on symbol tables for the current parse and
subsequent parses both. Add better tests for the added API and the previous
subset of the operations already present. Fix errors revealed by the tests.

Fixes #183.
2024-10-03 17:56:00 -05:00
Zach Laine
41fb3997ba Remove official support for VS 2019. 2024-10-03 17:56:00 -05:00
Zach Laine
23017af526 Remove support for direct use of null-terminated strings with the parser APIs.
Fixes #175.
Fixes #190.
2024-10-02 20:28:50 -05:00
Martin Posch
274e4e36ea Revert "avoid usage of CMAKE_CXX_COMPILER_FRONTEND_VARIANT and go with pre 3.14 version"
This reverts commit eab545e5b4.
2024-10-01 00:47:53 -05:00
Martin Posch
9d3647db3d avoid usage of CMAKE_CXX_COMPILER_FRONTEND_VARIANT and go with pre 3.14 version 2024-10-01 00:47:53 -05:00
Martin Posch
568494346a remove commented-out cmake 2024-10-01 00:47:53 -05:00
Martin Posch
f12e6a4882 quotes were missing for string comparison; use alternative compiler frontend check 2024-10-01 00:47:53 -05:00
MPo
912bfbded6 Fix MSVC Compiler issue.
MSVC in cmake has always been a boolean variable ( see https://cmake.org/cmake/help/latest/variable/MSVC.html)
detecting the MSVC Compiler requires therefore "if (MSVC)"

further, the MSVC Compiler will always emit '199711L' for __cplusplus, if it is called without the option '/Zc:__cplusplus'

this odd behavior will break any version check in the headers.
e.g. './include/boost/parser/detail/text/detail/begin_end.hpp' or 'boost/hana/traits.hpp

therefore "add_compile_options(/Zc:__cplusplus)" is always nrequired for the MSVC compiler
2024-10-01 00:47:53 -05:00
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
554e7e3ae1 Update docs. 2024-03-31 20:19:48 -05:00
Zach Laine
35f2bcd02d Merge branch 'master' into gh-pages 2024-03-31 20:13:07 -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