2
0
mirror of https://github.com/boostorg/parser.git synced 2026-01-28 07:22:29 +00:00
Commit Graph

607 Commits

Author SHA1 Message Date
Zach Laine
b350682856 Fix template instantiation ambiguity introduced when working around MSVC bugs. 2022-04-15 00:41:36 -05:00
Zach Laine
c437e98985 Fix int literal/long long literal confusion in parser_api.cpp tst. 2022-04-10 22:12:04 -05:00
Zach Laine
75ec33d8eb Stop GTest from messing about with the MSVC link flags! 2022-04-10 21:57:50 -05:00
Zach Laine
68800adb37 Work around broken MSVC template specialization logic. 2022-04-10 20:06:31 -05:00
Zach Laine
4439f84247 text::as_utf8 -> detail::text::as_utf8 2022-04-10 16:48:36 -05:00
Zach Laine
1c0bd473f3 Fix really weird thinko in file_slurp() in JSON examples. 2022-04-08 19:07:59 -05:00
Zach Laine
65b9020ed4 Add missing include. 2022-04-08 17:47:40 -05:00
Zach Laine
0c083f572b Fix constexpr UB in hl UDL. 2022-04-08 17:47:22 -05:00
Zach Laine
8e91ee5145 Fix call ambiguity claimed by GCC in C++20 mode. 2022-04-08 17:45:36 -05:00
Zach Laine
f8dcd56578 Fix uninitialized vars in GTest. 2022-04-08 17:45:08 -05:00
Zach Laine
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!
2022-04-08 17:43:05 -05:00
Zach Laine
c7ab7ea845 Add sketch of string_view[] directive. 2022-04-08 09:58:05 -05:00
Zach Laine
127e3d65c7 Doc copy edits. 2022-04-07 21:58:30 -05:00
Zach Laine
4d0a310809 Correct (sigh) UB in self_filling_symbol_table.cpp example. 2022-04-07 17:49:54 -05:00
Zach Laine
93a51860e3 Doc copy edits. 2022-04-07 00:10:38 -05:00
Zach Laine
095aa362d7 Fix Clang builds. 2020-09-21 17:11:25 -05:00
Zach Laine
8d976d31df Fix Clang build on Linux. 2020-09-20 18:32:24 -05:00
Zach Laine
99005aa848 Add builds to Travis that disable Hana and Boost, respectively. 2020-09-20 17:45:42 -05:00
Zach Laine
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.
2020-09-20 17:32:23 -05:00
Zach Laine
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().

This completes the changes to make Hana optional.
2020-09-20 17:05:57 -05:00
Zach Laine
8af6138021 Convert from Boost.Hana to Hana lite, part 4: Remove all the remaining direct
uses of Boost.Hana, including the hana namespace algorithms.
2020-09-20 16:58:27 -05:00
Zach Laine
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.
2020-09-20 16:58:21 -05:00
Zach Laine
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.

Also, adapt the code in detail/hl.hpp to work with hana::tuple and std::tuple.
2020-09-20 16:05:52 -05:00
Zach Laine
c1205a419d Convert from Boost.Hana to Hana lite, part 1: introduce a template alias for
tuple, and use it throughout the code.
2020-09-20 14:07:49 -05:00
Zach Laine
df8d20838e Create Boost.Hana lite. 2020-09-20 12:46:01 -05:00
Zach Laine
4b415e0856 Cruft removal. 2020-09-20 03:23:46 -05:00
Zach Laine
969de5c23d Move all the text and stl_interface internal header code into
boost::parser::detail namespace.
2020-09-20 03:23:23 -05:00
Zach Laine
f173196885 Fully internalize Boost.STLInterfacecs headers. 2020-09-20 03:23:23 -05:00
Zach Laine
111efe1eb3 Fully internalize Boost.Text headers. 2020-09-20 03:23:23 -05:00
Zach Laine
c8b5554fa3 Remove several Boost submodules from the clone list in the
cmake/dependencies.cmake.
2020-09-20 03:23:20 -05:00
Zach Laine
c288298713 Remove dependencies on Boost.Optional, Boost.Algorithm, and
Boost.ThrowException.
2020-09-19 22:10:35 -05:00
Zach Laine
5bed6f9776 Make dependency on Boost.Preprocessor optional. 2020-09-19 21:37:45 -05:00
Zach Laine
675fcd2309 Make dependency on Boost.TypeIndex optional. 2020-09-19 21:12:24 -05:00
Zach Laine
113270d6f6 Remove dependency on Boost.Any. 2020-09-19 20:43:12 -05:00
Zach Laine
1ed37641e9 Remove dependency on the Spirit headers, via extensive copy/pasta. 2020-09-19 19:55:52 -05:00
Zach Laine
fd502751e0 Remove GTest .md files that offend Github's pages build bot. 2020-09-10 01:37:35 -05:00
Zach Laine
b734f79f0e Update compiler support section. 2020-09-10 01:33:29 -05:00
Zach Laine
26195a84ce Drop XCode 9.4 from the Travis builds, since it does not have full C++17
support.
2020-09-10 01:25:28 -05:00
Zach Laine
8dc397f53a Fix broken CI badges. 2020-09-10 01:13:05 -05:00
Zach Laine
425011e9a3 Replace GTest 1.8 with GTest 1.10. 2020-09-10 01:11:26 -05:00
Zach Laine
1d302c3d14 Determine and use the correct subset of Boost submodules to clone when Boost
is not available.
2020-09-10 00:56:27 -05:00
Zach Laine
b88e33cc88 Fix narrowing conversion error. 2020-09-10 00:15:42 -05:00
Zach Laine
bd3e3bd42a Boost dependency CMake code from text. 2020-09-10 00:07:16 -05:00
Zach Laine
c3db92bdb1 Fix VC2017 compilation failures. 2020-09-10 00:02:29 -05:00
Zach Laine
d8a323a5fb Fix VC2019 test failures. 2020-09-09 23:42:04 -05:00
Zach Laine
435ac5adf4 Fix a handfull of compilation failures when building on MSVC. 2020-09-09 23:01:49 -05:00
Zach Laine
f83345e1fb Bring in GTest from text. 2020-09-09 22:59:53 -05:00
Zach Laine
b0964f039b Initial add of Travis and Appveyor config files. 2020-09-09 03:00:22 -05:00
Zach Laine
3ac30663b4 Add support for C++17. 2020-09-09 02:45:19 -05:00
Zach Laine
701566d6b0 Grooming. 2020-09-09 02:45:19 -05:00