Nigel Tao
1d19157668
Remove After editing... run "go generate" lines
2021-08-22 12:57:39 +10:00
Nigel Tao
341dd50800
Add more internal errors to wuffs_aux Cbor, Json
2021-08-15 13:40:17 +10:00
Nigel Tao
6a30c1ede0
Inline wuffs_aux::DecodeJson work_buf variable
2021-07-18 11:25:46 +10:00
Nigel Tao
9c07523a84
Have wuffs_aux::DecodeJson consume trailing filler
...
Prior to this commit, wuffs_aux::DecodeJson would almost always consume
(optional) trailing filler, but in rare coincidences, it might not if a
wuffs_base__suspension__short_write coroutine suspension was needed
between the last token of the actual JSON value and the first token of
the filler after that JSON value.
This commit should change behavior only if the wuffs_aux::DecodeJson
caller had opted into WUFFS_JSON__QUIRK_ALLOW_TRAILING_FILLER or
WUFFS_JSON__QUIRK_EXPECT_TRAILING_NEW_LINE_OR_EOF.
Also remove an unnecessary std::move on a size_t typed value.
2021-07-18 11:12:41 +10:00
Nigel Tao
9b5d9b46ae
Add some virtual destructors
2021-04-02 08:52:49 +11:00
Nigel Tao
2b17cf72ca
Fix uint64_t vs size_t when compiling with -m32
2021-01-08 23:07:07 +11:00
Nigel Tao
904004e79a
Let non-strict JSON Pointer syntax allow "~t"
2020-11-15 20:56:04 +11:00
Nigel Tao
b55d539d94
Add links to jsonptr blog post
2020-09-11 08:11:02 +10:00
Nigel Tao
6c13877688
Drop WUFFS_JSON__QUIRK_ALLOW_BACKSLASH_X_AS_BYTES
...
We can always add it back later if there's demand for it.
2020-08-30 16:15:35 +10:00
Nigel Tao
63e6796896
Add "4Ki tokens is 32KiB" comment
2020-08-26 00:00:32 +10:00
Nigel Tao
2742a4f4be
Have wuffs_aux take lvalue (not rvalue) references
2020-08-17 00:02:49 +10:00
Nigel Tao
d384e1e458
Avoid wuffs_aux macro's unused variable token_ptr
2020-08-13 00:13:12 +10:00
Nigel Tao
b21a82bbcd
Add some section breaks to auxiliary/json.cc
2020-08-13 00:09:28 +10:00
Nigel Tao
b3438434ca
Add json QUIRK_JSON_POINTER_ALLOW_TILDE_R_TILDE_N
2020-08-13 00:06:56 +10:00
Nigel Tao
8aac6767bb
Add example/jsonfindptrs -query=STR flag
2020-08-12 23:18:37 +10:00
Nigel Tao
ab6f895007
Extract WUFFS_AUX__DECODE_JSON__GET_THE_NEXT_TOKEN
2020-08-11 22:10:46 +10:00
Nigel Tao
62c4feb268
Let wuffs_aux::DecodeJson use BACKSLASH_X_AS_BYTES
2020-08-10 15:22:05 +10:00
Nigel Tao
6d81764e14
Tweak wuffs_aux::DecodeJsonCallbacks
2020-08-09 23:15:41 +10:00
Mike Kaufman
b66cf6b4b1
rename internal/cgen/aux to internal/cgen/auxiliary
2020-08-05 09:11:03 -07:00