2
0
mirror of https://github.com/boostorg/json.git synced 2026-02-09 11:12:37 +00:00
Commit Graph

344 Commits

Author SHA1 Message Date
Vinnie Falco
73b757fc4d Remove string::substr:
fix #85

This intentionally leaves the question of
"which storage to use for the return value" unanswered.
2020-05-01 17:59:41 -07:00
Vinnie Falco
af66849e90 string fixes:
* Remove redundant members
* Use `explicit` to prevent ambiguities
2020-05-01 17:50:19 -07:00
Vinnie Falco
a6d2549ddf storage_ptr fixes:
* Fix constraint in constructor
* No longer constructible from nullptr
2020-05-01 17:41:38 -07:00
Vinnie Falco
1061bcaa21 Check array contents in tests 2020-05-01 17:41:31 -07:00
Vinnie Falco
9d3f055ff5 Workaround for LLVM/clang-cl bug 2020-04-30 19:00:09 -07:00
Vinnie Falco
80de795265 Update ci scripts 2020-04-30 17:10:39 -07:00
Alexej Harm
e74f9bf6f1 Enable cmake install:
When building outside of boost, boost_json now supports the install option of cmake.
This patch produces a full, correct install which obeys CMAKE_INSTALL_PREFIX and
creates the correct config.cmake files in order to construct the target Boost::json
This config will automatically find Boost::system using the standard cmake find_package
command
2020-04-30 06:52:50 -07:00
Vinnie Falco
17b41774e9 Rename repo artwork 2020-04-27 17:38:33 -07:00
Vinnie Falco
bb3d5e7fdc Update artwork 2020-04-27 17:37:15 -07:00
Vinnie Falco
137c1653a8 Refactor string_view include 2020-04-17 14:31:55 -07:00
Vinnie Falco
fc0b74f986 Refactor memory resource includes 2020-04-17 14:31:55 -07:00
Vinnie Falco
fd29fd2749 Refactor error includes 2020-04-17 14:10:41 -07:00
Vinnie Falco
f8875f4d74 Trim include material 2020-04-17 08:27:11 -07:00
Vinnie Falco
cb281d6b71 Don't rely on RTTI
fix #75
2020-04-17 07:28:11 -07:00
Krystian Stasiowski
ad1a3378b6 Init-list doc work 2020-04-15 10:50:56 -07:00
Vinnie Falco
3404eed7df Better is_equal 2020-04-05 15:36:33 -07:00
Vinnie Falco
ab00f37499 Add key_c_str 2020-04-05 13:32:50 -07:00
Vinnie Falco
a47b0f3fc1 storage_ptr uses memory_resource 2020-04-05 13:21:29 -07:00
Vinnie Falco
33e8e468cb Fix mod by zero warning 2020-04-05 12:11:17 -07:00
Vinnie Falco
8e0356ef7a Refactor parser write 2020-04-04 13:15:40 -07:00
Vinnie Falco
2545475bdd basic_parser is a base 2020-04-04 06:58:55 -07:00
Vinnie Falco
845d7af5e3 Refactor include files for basic_parser 2020-04-01 09:22:23 -07:00
Vinnie Falco
da31e648c7 Parser handler speedups 2020-04-01 08:44:29 -07:00
Vinnie Falco
1e73707593 Faster integer serialization 2020-03-30 20:20:34 -07:00
Vinnie Falco
f2e860f4ee Update bench results 2020-03-30 18:13:27 -07:00
Vinnie Falco
b85a0543ce Serializer optimization 2020-03-30 12:32:14 -07:00
Vinnie Falco
38d5372465 Travis tests cmake 2020-03-29 18:46:03 -07:00
Vinnie Falco
3053eaa54c Tidy up required std in cmake 2020-03-29 16:26:07 -07:00
Vinnie Falco
d2dfe90784 Add null parser to bench 2020-03-29 11:21:40 -07:00
Vinnie Falco
7784fdd45b StackEmpty is a compile time constant 2020-03-29 10:32:43 -07:00
Vinnie Falco
26906cce99 Define BOOST_JSON_DOCS as needed 2020-03-29 09:00:00 -07:00
Vinnie Falco
8822a141c8 Tidy up parsers 2020-03-29 08:59:08 -07:00
Vinnie Falco
7794ee87a6 Tidy test files and turn LTCG on 2020-03-29 06:43:23 -07:00
Vinnie Falco
9675c4950b Update results.html 2/2 2020-03-29 06:03:35 -07:00
Vinnie Falco
95d2d9331f Update results.html 2020-03-28 20:34:08 -07:00
Vinnie Falco
b755989d83 inline true and false parsing 2020-03-28 20:29:47 -07:00
Vinnie Falco
6387fb8671 basic_parser handler is a template 2020-03-28 20:29:46 -07:00
Vinnie Falco
79ba1a8198 Use return channel in parser 2020-03-28 15:37:30 -07:00
Vinnie Falco
8e34c77783 inline fast path of parse_null 2020-03-28 14:49:54 -07:00
Vinnie Falco
6b8dccf7de Add test/null.json 2020-03-28 14:23:03 -07:00
Vinnie Falco
33d6af4cbb Fix warnings 2020-03-28 09:32:34 -07:00
Peter Dimov
5126e25d26 Add support for command line options 2020-03-28 18:17:06 +02:00
Peter Dimov
7cf41d0afe Define RAPIDJSON_SSE2 whenever BOOST_JSON_USE_SSE2 is defined; add /sse2 to arch in this case 2020-03-28 17:51:05 +02:00
Vinnie Falco
432a475697 Refactor bucket next 2020-03-27 20:21:13 -07:00
Vinnie Falco
d1a6899b1a Tidy up msvc toolchain file 2020-03-27 13:47:57 -07:00
Peter Dimov
2933739b14 Add whitespace.json 2020-03-27 13:33:10 -07:00
Peter Dimov
76f3e15dbd Add a variation of citm_catalog.json with spaces removed 2020-03-27 13:33:10 -07:00
Peter Dimov
7e11ebbd1f Move count_leading before count_whitespace; add an alternative implementation, but leave it commented out, as it's not a win 2020-03-27 13:33:09 -07:00
Peter Dimov
edcafb3f5d Add a count argument to count_whitespace 2020-03-27 13:33:09 -07:00
Peter Dimov
0360505b75 Add one additional early return in parse_white 2020-03-27 13:33:09 -07:00