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

290 Commits

Author SHA1 Message Date
Krystian Stasiowski
8e9ca507df Comment parsing fixes 2020-08-09 15:24:27 -07:00
Krystian Stasiowski
b6719ef78f Number parsing bug fixes 2020-08-09 15:24:20 -07:00
Vinnie Falco
098643f04a Specialize std::hash for json string
fix #133
2020-08-07 18:21:47 -07:00
Krystian Stasiowski
95b499a2f5 Refactor trailing commas 2020-07-28 14:27:52 -04:00
Krystian Stasiowski
d98b565887 UTF-8 validation 2020-07-28 14:27:50 -04:00
Krystian Stasiowski
3ac73ec531 Comment and trailing comma support
close #116
2020-07-22 15:40:46 -07:00
Krystian Stasiowski
849a6559dd Use jump table in parse_value 2020-07-22 14:15:05 -04:00
Krystian Stasiowski
1c3809a093 Better code generation without local_const_stream 2020-07-20 16:18:15 -04:00
Krystian Stasiowski
53cd3069a4 Use constant operand for modulo
Fix #115, close #125
2020-07-16 12:35:53 -07:00
Krystian Stasiowski
098be8a6c7 Add storage_ptr constructor to parser
close #124
2020-07-16 12:34:52 -07:00
Krystian Stasiowski
f330c7a7c1 Refactor reserve
close #129
2020-07-16 12:32:59 -07:00
Krystian Stasiowski
516fb6891f Fix parse_unsigned for big-endian
close #128
2020-07-15 14:53:52 -07:00
Krystian Stasiowski
fcb502dde1 Remove unneeded SSE2 instruction from count_digits 2020-07-15 14:53:39 -07:00
Krystian Stasiowski
904252de0b Fix repo links
close #123
2020-07-03 11:51:58 -07:00
Krystian Stasiowski
ba0ecba360 Improve array and object return path
close #122
2020-07-03 11:51:06 -07:00
Krystian Stasiowski
86addf23a4 Remove size parameter from object and array handlers 2020-06-30 23:07:22 -04:00
Krystian Stasiowski
14bc67b63f Number parsing optimizations 2020-06-30 16:56:42 -07:00
Krystian Stasiowski
387a26e54c Remove redundant branch from parse_string 2020-06-30 16:56:42 -07:00
AeroStun
4d1587900f Make key_value_pair tuple-like
close #112, close #121
2020-06-30 16:56:42 -07:00
Krystian Stasiowski
fda139f6f4 Eliminate conditional expression warning 2020-06-30 12:38:46 -07:00
Krystian Stasiowski
ed8f95e161 Flush buffer after parsing escapes
close #113, close #114
2020-06-29 18:15:46 -07:00
Vinnie Falco
f47fbeb1a5 Refactor value conversions 2020-06-08 15:11:12 -07:00
Krystian Stasiowski
4c7507ada7 Fix value_ref unsigned integral constructors 2020-06-08 15:11:12 -07:00
Vinnie Falco
0919d6d217 Remove invalid characters in source 2020-05-31 15:58:09 -07:00
Krystian Stasiowski
ae846d3e81 Fix exception specification on destructor definition 2020-05-26 13:12:54 -07:00
Krystian Stasiowski
5a9b314c45 Refactor allocator docs 2020-05-19 14:20:03 -07:00
Krystian Stasiowski
c837c2d130 monotonic_resource docs
close #91
2020-05-19 14:20:03 -07:00
Vinnie Falco
a412606a72 Fix warnings 2020-05-19 12:46:04 -07:00
Krystian Stasiowski
e49288be75 Refactor monotonic_resource 2020-05-13 17:10:32 -07:00
Vinnie Falco
4a6a6e7cc3 Parser limits are error codes
fix #65
2020-05-03 12:33:50 -07:00
Vinnie Falco
e02029379e object fixes:
* Don't apply salt twice
* Fix infinite loop in remove
* Tests for bucket collisions
2020-05-02 15:05:25 -07:00
Vinnie Falco
c0fde02ff9 Use salt in key hash algorithm
fix #3
2020-05-01 19:14:55 -07:00
Vinnie Falco
b238e94461 Remove unused file
fix #80
2020-05-01 18:02:45 -07:00
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
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
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