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

Commit Graph

  • 8327b38c47 Merge branch 'master' into gh-pages Zach Laine 2023-12-21 18:21:53 -06:00
  • d50b961199 Add a more explicit description of as_utfN. Zach Laine 2023-12-21 18:21:31 -06:00
  • dfcc7ae20b Doc typos. Zach Laine 2023-12-21 18:20:47 -06:00
  • e9cd214ad2 Merge branch 'master' into gh-pages Zach Laine 2023-12-21 17:37:14 -06:00
  • 88a7b39dc2 Fix MSVC 2022 in C++20 mode. Zach Laine 2023-12-21 23:29:59 -06:00
  • 9c0e07812f Fix the VS2022 build. Zach Laine 2023-12-17 14:15:17 -06:00
  • 1bbad0a871 Address TODOs about the need to document an unexpected aspect of how out-param attributes are assigned. Zach Laine 2023-12-16 16:28:54 -06:00
  • 05bfffa5c0 Add a note to the runtime-debugging example that it is taken from an older version of the code. Zach Laine 2023-12-16 16:01:35 -06:00
  • 103b517309 Remove references to boost::text in docs. Zach Laine 2023-12-16 16:00:51 -06:00
  • 449a964b23 Publicize the as_utfN and utfN_view templates/aliases in boost::parser, so users can use them to drive Unicode-aware parsing. Zach Laine 2023-12-15 22:26:04 -06:00
  • 14054ed1bf Consolidate the two implementations of is_detected into one. Zach Laine 2023-12-15 21:54:51 -06:00
  • efaa7c8c08 Replace the half-assed subrange implementation in boost::parser with the more robust one from boost::text. Zach Laine 2023-12-15 21:05:18 -06:00
  • 869df54e36 Add the latest version of Boost.Text components used here. This comes from 2c9d55a8 of the Boost.Tet clang_support branch. Zach Laine 2023-12-10 16:13:13 -06:00
  • d09817df43 Update docs. Zach Laine 2023-12-03 19:22:08 -06:00
  • 898b8d487b Merge branch 'master' into gh-pages Zach Laine 2023-12-03 19:21:40 -06:00
  • fbcc28a810 Doc tweak. Zach Laine 2023-12-03 16:58:08 -06:00
  • ef3c90b552 view -> subrange Zach Laine 2023-12-03 16:51:36 -06:00
  • a33883d59b symbols::add -> symbols::insert_for_next_parse Zach Laine 2023-12-03 16:33:31 -06:00
  • ba27e94262 Update docs. Zach Laine 2023-12-03 16:12:25 -06:00
  • 9155484652 Merge branch 'master' into gh-pages Zach Laine 2023-12-03 16:11:13 -06:00
  • 91c3689ccd Remove descriptions of old integral-value-based meataprogramming logic from the docs. Zach Laine 2023-12-03 15:51:51 -06:00
  • 8f560956c4 Change the assumption in parser.hpp that a code point is a uint32_t; use char32_t instead. Zach Laine 2023-12-03 16:08:31 -06:00
  • bdf8ea7fed In detail::unequal_impl, valeus are comparable if they're both character types (previously, is was whether they were integral). Zach Laine 2023-12-03 16:01:41 -06:00
  • f9708f9a0a In detail namespace, change equality_comparable_with and is_invocable to be constexpr bools. Zach Laine 2023-12-03 15:52:57 -06:00
  • 8c875c562f Merge branch 'master' into gh-pages Zach Laine 2023-12-03 15:24:58 -06:00
  • 235f4d92c9 Change many C++17-mode metafunction predicates to constexpr bools instead of structs. Zach Laine 2023-12-03 15:13:04 -06:00
  • 72e5573505 Replace use of is_integral with parsable_code_unit, which is all the character types. Also slightly simplify the logic for parsable_code_unit. Zach Laine 2023-12-03 15:05:45 -06:00
  • 876056aa28 uint32_t -> char32_t in transcode_iterator. Zach Laine 2023-12-03 14:19:08 -06:00
  • 7e45010e55 Remove the lazy usage of decay instead of remove_cvref in the public concepts. Zach Laine 2023-12-03 13:57:28 -06:00
  • cf63c1ccf6 More char8_t-specific cruft removal. Zach Laine 2023-12-03 13:53:56 -06:00
  • fe28fcb8ff Remove superfluous {utf8,code_point}_* concepts and their associated C++17 type traits. Zach Laine 2023-12-03 13:49:12 -06:00
  • 362542d688 Remove the char8_t-specific public concepts, and simplify code that was previously the downstream use of those public concepts. Zach Laine 2023-12-03 12:45:20 -06:00
  • 2e65a9edcd Update docs. Zach Laine 2023-12-02 17:28:57 -06:00
  • a2d6e6f628 Merge branch 'master' into gh-pages Zach Laine 2023-12-02 17:26:36 -06:00
  • dda33ef5e8 Copy editing. Zach Laine 2023-12-02 17:24:56 -06:00
  • dba593e052 Add section about standalone config and optional Boost features to intro. Zach Laine 2023-12-02 15:37:10 -06:00
  • 0744da497b innermost -> bottommost Zach Laine 2023-12-02 15:01:54 -06:00
  • 593c78643d Copy editing. Zach Laine 2023-12-02 15:01:36 -06:00
  • 25fa063493 Update compiler support docs. Zach Laine 2023-12-02 14:45:22 -06:00
  • 28b663eeb8 Add doc build script. Zach Laine 2023-12-02 14:29:42 -06:00
  • 6e06f386a3 Merge branch 'master' into gh-pages Zach Laine 2023-12-02 14:21:15 -06:00
  • ffe3c522b5 Change the concepts for utf{8,32}_code_unit to be char/char8_t and wchar_t/char32_t, respectively. Obvs, the wchar_t bit only applies to non-MSVC. Zach Laine 2023-12-02 14:19:54 -06:00
  • 37f70260f1 Replace old badges with Github actions ones. Zach Laine 2023-12-02 02:46:01 -06:00
  • 2d0a6bdc6a Remove the C++20 build from macos-12 workflow. Zach Laine 2023-12-02 02:31:33 -06:00
  • 0bc35153d7 Remove appveyor config file. Zach Laine 2023-12-02 02:29:18 -06:00
  • 22a2e95d43 Add Github workflows. Zach Laine 2023-12-02 02:23:59 -06:00
  • fb47fdc0f1 Make the configury simpler: Zach Laine 2023-12-02 01:31:23 -06:00
  • 61bd9fba5c Comment typo. Zach Laine 2023-12-02 01:42:17 -06:00
  • 670fb39f2d Remove Travis build file. Zach Laine 2023-12-02 00:58:44 -06:00
  • c02d68ff45 Introduce BOOST_PARSER_CONSTEXPR, which is defined to be constexpr, except on MSVC before VS2022. This works around a bug in constexpr in VS2017. Zach Laine 2023-12-01 22:33:40 -06:00
  • 8c38314b98 Make the minimal change to fix the Clang+libstdc++ build in C++20 mode. Zach Laine 2023-11-29 19:20:37 -06:00
  • ebaf584846 Force stl_interfaces and text to use C++17 code path. Zach Laine 2023-11-29 19:08:02 -06:00
  • f15a8a2dde Fix failure in C++20 builds due to the use of std::prev instead of std::ranges::prev. Zach Laine 2023-11-26 00:47:42 -06:00
  • cefbc69962 Add missing header. Zach Laine 2023-11-25 17:36:21 -06:00
  • e9893e7979 C++17 Clang warning mitigation. Zach Laine 2023-11-25 17:17:34 -06:00
  • a8f0c62fb9 Update stl_interfaces code to the version from Boost 1.85. Verified to work with C++17 on clang {10,12,13,14} and GCC {9,10,12,13}. Zach Laine 2023-11-25 16:51:53 -06:00
  • a38eb982f8 Fix no-Boost C++17 builds by using the is_detected from detail/text instead of the one from boost/type_traits. Zach Laine 2023-11-25 15:36:34 -06:00
  • d54381247a Add missing std include. Zach Laine 2023-11-25 15:24:52 -06:00
  • 2de63708cc Update Boost.Text to 1ff99f926f. Zach Laine 2022-08-20 23:46:34 -05:00
  • 7bed764196 Update stl_interfaces code from latest (1.80). Zach Laine 2022-08-20 15:37:30 -05:00
  • ed37f05998 Fix Boost.Text namespace confusion. LoewT 2022-08-20 15:41:50 -05:00
  • 4aea8691bd Update docs. Zach Laine 2022-07-23 13:42:59 -05:00
  • ff314ee465 Merge branch 'master' into gh-pages Zach Laine 2022-07-23 13:42:26 -05:00
  • 176f9a71a7 Flesh out the Best Practices section. Zach Laine 2022-07-23 13:24:43 -05:00
  • b350682856 Fix template instantiation ambiguity introduced when working around MSVC bugs. Zach Laine 2022-04-15 00:41:36 -05:00
  • c437e98985 Fix int literal/long long literal confusion in parser_api.cpp tst. Zach Laine 2022-04-10 22:12:04 -05:00
  • 75ec33d8eb Stop GTest from messing about with the MSVC link flags! Zach Laine 2022-04-10 20:05:50 -05:00
  • 68800adb37 Work around broken MSVC template specialization logic. Zach Laine 2022-04-10 19:34:12 -05:00
  • 4439f84247 text::as_utf8 -> detail::text::as_utf8 Zach Laine 2022-04-10 16:48:36 -05:00
  • 1c0bd473f3 Fix really weird thinko in file_slurp() in JSON examples. Zach Laine 2022-04-08 19:07:59 -05:00
  • 65b9020ed4 Add missing include. Zach Laine 2022-04-08 17:47:40 -05:00
  • 0c083f572b Fix constexpr UB in hl UDL. Zach Laine 2022-04-08 17:47:22 -05:00
  • 8e91ee5145 Fix call ambiguity claimed by GCC in C++20 mode. Zach Laine 2022-04-08 17:45:36 -05:00
  • f8dcd56578 Fix uninitialized vars in GTest. Zach Laine 2022-04-08 17:45:08 -05:00
  • 4f3b106de9 Fix a failing static_assert in the non-callback JSON example, that was due to sizeof(std::unique_ptr<T>) being 2*(sizeof(T*) on Clang! Zach Laine 2022-04-08 17:43:05 -05:00
  • c7ab7ea845 Add sketch of string_view[] directive. Zach Laine 2022-04-07 22:14:13 -05:00
  • 127e3d65c7 Doc copy edits. Zach Laine 2022-04-07 21:58:30 -05:00
  • 4d0a310809 Correct (sigh) UB in self_filling_symbol_table.cpp example. Zach Laine 2022-04-07 17:49:54 -05:00
  • 93a51860e3 Doc copy edits. Zach Laine 2022-04-07 00:09:38 -05:00
  • 095aa362d7 Fix Clang builds. Zach Laine 2020-09-21 17:11:25 -05:00
  • 8d976d31df Fix Clang build on Linux. Zach Laine 2020-09-20 18:32:24 -05:00
  • 99005aa848 Add builds to Travis that disable Hana and Boost, respectively. Zach Laine 2020-09-20 17:45:42 -05:00
  • 25b99b53cd Change the CMake build mode when BUILD_WITHOUT_BOOST is defined not to find nor include Boost at all. Fix several problems that this brought out. Zach Laine 2020-09-20 17:32:18 -05:00
  • 895224b214 Convert from Boost.Hana to Hana lite, part 5: Make some small adjustments to the tests to get them building when Hana is not used; disable building the examples when Boost.Hana is not in use, so that they can keep using the much nicer hana::tuple::operator[] instead of parser::get(). Zach Laine 2020-09-20 17:05:57 -05:00
  • 8af6138021 Convert from Boost.Hana to Hana lite, part 4: Remove all the remaining direct uses of Boost.Hana, including the hana namespace algorithms. Zach Laine 2020-09-20 16:50:14 -05:00
  • 7f45618fe1 Convert from Boost.Hana to Hana lite, part 3: Replace numerous compile-time constants, and make other small changes that leave only use of the big Hana algorithms behind. Zach Laine 2020-09-20 16:10:59 -05:00
  • 71c697d23d Convert from Boost.Hana to Hana lite, part 2: introduce a template aliases for constants like llong; provide a tuple accessor get(); use these throughout the code. Zach Laine 2020-09-20 14:10:07 -05:00
  • c1205a419d Convert from Boost.Hana to Hana lite, part 1: introduce a template alias for tuple, and use it throughout the code. Zach Laine 2020-09-20 13:14:36 -05:00
  • df8d20838e Create Boost.Hana lite. Zach Laine 2020-09-20 00:27:55 -05:00
  • 4b415e0856 Cruft removal. Zach Laine 2020-09-20 03:11:31 -05:00
  • 969de5c23d Move all the text and stl_interface internal header code into boost::parser::detail namespace. Zach Laine 2020-09-19 23:34:22 -05:00
  • f173196885 Fully internalize Boost.STLInterfacecs headers. Zach Laine 2020-09-19 23:22:30 -05:00
  • 111efe1eb3 Fully internalize Boost.Text headers. Zach Laine 2020-09-19 22:27:47 -05:00
  • c8b5554fa3 Remove several Boost submodules from the clone list in the cmake/dependencies.cmake. Zach Laine 2020-09-19 22:12:12 -05:00
  • c288298713 Remove dependencies on Boost.Optional, Boost.Algorithm, and Boost.ThrowException. Zach Laine 2020-09-19 22:10:30 -05:00
  • 5bed6f9776 Make dependency on Boost.Preprocessor optional. Zach Laine 2020-09-19 21:31:03 -05:00
  • 675fcd2309 Make dependency on Boost.TypeIndex optional. Zach Laine 2020-09-19 21:12:24 -05:00
  • 113270d6f6 Remove dependency on Boost.Any. Zach Laine 2020-09-19 20:40:41 -05:00
  • 1ed37641e9 Remove dependency on the Spirit headers, via extensive copy/pasta. Zach Laine 2020-09-19 18:01:36 -05:00
  • f40be64876 Merge branch 'master' into gh-pages Zach Laine 2020-09-10 01:37:50 -05:00