Jason Volk
|
2424208a01
|
ircd::json: Reverse number's <alternative>.
|
2018-08-25 15:06:17 -07:00 |
|
Jason Volk
|
5146ddf67e
|
ircd::json: Reduce iov interface; make conditional nodes evaluate conditionally.
|
2018-06-05 11:16:52 -07:00 |
|
Jason Volk
|
1a12b7331d
|
ircd::json: Add conditioned-closure iov::add_if.
|
2018-06-04 23:17:29 -07:00 |
|
Jason Volk
|
b69848b620
|
ircd::json: Add non-const iov::at(); minor cleanup.
|
2018-05-25 17:45:49 -07:00 |
|
Jason Volk
|
f641076072
|
ircd::json: Antipodal undefined number; add assert that it's not zero.
|
2018-05-23 00:32:37 -07:00 |
|
Jason Volk
|
2b71ad8a04
|
ircd::json: Various cleanup.
|
2018-05-19 22:55:03 -07:00 |
|
Jason Volk
|
208a0198c0
|
ircd::json: Add specific extern undefined number.
|
2018-05-19 22:55:03 -07:00 |
|
Jason Volk
|
ce6c4d357e
|
ircd::json: Add flush watermarking to json::stack.
|
2018-05-07 23:48:31 -07:00 |
|
Jason Volk
|
dd69acbad3
|
ircd::json::stack: Handle and properly propagate flusher exception out of stack.
|
2018-04-13 16:03:34 -07:00 |
|
Jason Volk
|
54e3719097
|
ircd::json: Consolidate authority for value defined() semantics.
|
2018-04-11 23:40:31 -07:00 |
|
Jason Volk
|
97ec3a62ab
|
ircd::json: Fix bugs related to bool type.
|
2018-04-11 23:40:30 -07:00 |
|
Jason Volk
|
baf8b192b1
|
ircd::json: Add the stack flusher semantic.
|
2018-04-10 19:32:56 -07:00 |
|
Jason Volk
|
9270937957
|
ircd::json: Simplify internal stack appending; pass expected append size.
|
2018-04-10 17:00:57 -07:00 |
|
Jason Volk
|
b244959c35
|
ircd::json: Fix stack::object error.
|
2018-04-10 15:11:44 -07:00 |
|
Jason Volk
|
bc4cb5cf8c
|
ircd::json: Allow stack objects to have dtor called manually to close JSON.
|
2018-04-10 14:17:56 -07:00 |
|
Jason Volk
|
102ef2cb47
|
ircd::json: Object semantics for json::stack classes.
|
2018-04-10 13:48:14 -07:00 |
|
Jason Volk
|
93316f4692
|
ircd::json: Deinline various value related.
|
2018-04-04 22:54:58 -07:00 |
|
Jason Volk
|
6b5bfaf4c0
|
ircd::json: Minor cleanup of value serialize cattle grid.
|
2018-04-04 13:36:30 -07:00 |
|
Jason Volk
|
39da63828c
|
ircd::json: Fix error in stack::~object.
|
2018-04-03 23:34:09 -07:00 |
|
Jason Volk
|
db9e5f3b78
|
ircd::json: Improve validator grammar; clarify magic number.
|
2018-03-28 22:19:26 -07:00 |
|
Jason Volk
|
4a1ca1a525
|
ircd::json: Deinline output validators from template.
|
2018-03-28 22:17:09 -07:00 |
|
Jason Volk
|
7ad99ab387
|
ircd::json: Add why() to specifically return err str from valid().
|
2018-03-28 22:17:09 -07:00 |
|
Jason Volk
|
f01fdc0528
|
ircd::json: Return non-magic size; return stringify views of written data.
|
2018-03-27 21:44:01 -07:00 |
|
Jason Volk
|
fb58bdf7de
|
ircd::json: Granular stringify size assertions.
|
2018-03-27 21:44:01 -07:00 |
|
Jason Volk
|
49cb8fee1a
|
ircd::json: Assertions for empty object iterator equality.
|
2018-03-27 21:44:01 -07:00 |
|
Jason Volk
|
1436ce36c1
|
ircd::json: Checkpoint output escape echo.
|
2018-03-27 21:44:01 -07:00 |
|
Jason Volk
|
968ef4115c
|
ircd: Fix signage related.
|
2018-03-23 23:19:53 -07:00 |
|
Jason Volk
|
503ab33c38
|
ircd::json: Stricter escape conditions in string values.
|
2018-03-21 18:47:56 -07:00 |
|
Jason Volk
|
df7b6f0ca9
|
ircd::json: Extend escaped unicode codepoint target.
|
2018-03-21 17:12:48 -07:00 |
|
Jason Volk
|
0e7ef9ef7d
|
ircd::json: Fix value type LITERAL serialize/stringify consistency.
|
2018-03-21 17:12:48 -07:00 |
|
Jason Volk
|
502675e527
|
ircd::json: Minor cleanup of function static grammar type decls.
|
2018-03-21 17:12:48 -07:00 |
|
Jason Volk
|
b949a1f3dc
|
ircd::json: Checkpoint output grammar cleanup.
|
2018-03-21 17:12:48 -07:00 |
|
Jason Volk
|
99608b6bd2
|
ircd::json: Sort json::member vectors on stringify; w/ recursive reentrance.
|
2018-03-21 13:55:58 -07:00 |
|
Jason Volk
|
0483a381f8
|
ircd::json: Move member.h definitions to proper dependency ordered location.
|
2018-03-21 13:49:00 -07:00 |
|
Jason Volk
|
df605d5646
|
ircd::json: Add functions to determine if object members are sorted.
|
2018-03-21 12:33:43 -07:00 |
|
Jason Volk
|
d01aef9c35
|
ircd::json: Sort object members for stringify; recursive reentrant tls.
|
2018-03-21 01:09:41 -07:00 |
|
Jason Volk
|
615ccdc426
|
ircd::json: Hello, goodbye.
|
2018-03-20 23:51:14 -07:00 |
|
Jason Volk
|
fef1c0b1b8
|
ircd::json: Add stringify vector of object::member.
|
2018-03-20 23:40:31 -07:00 |
|
Jason Volk
|
53a4fae580
|
ircd::json: Recursive output grammar.
|
2018-03-20 17:39:57 -07:00 |
|
Jason Volk
|
7a9bb89506
|
ircd::json: All output through the generator.
|
2018-03-20 17:39:57 -07:00 |
|
Jason Volk
|
09d971fa9e
|
ircd::json: Make print_error an assertion; improve output validation messages.
|
2018-03-20 16:31:02 -07:00 |
|
Jason Volk
|
b169ac1ce8
|
ircd::json: Whitespace monoid.
|
2018-03-18 21:17:54 -07:00 |
|
Jason Volk
|
931fe2439e
|
ircd::json: Introduce the json::stack device.
|
2018-03-17 21:40:27 -07:00 |
|
Jason Volk
|
373a791158
|
ircd::json: Limit IOV size and take stringify buffer off-stack.
|
2018-03-17 11:53:21 -07:00 |
|
Jason Volk
|
30eb9178bd
|
ircd: Consolidate spirit typedefs from all relevant units into spirit.h.
|
2018-03-17 10:44:40 -07:00 |
|
Jason Volk
|
78d5825315
|
ircd::json: Deeper copying on value copy ctor.
|
2018-03-12 11:14:11 -07:00 |
|
Jason Volk
|
8c02823d49
|
ircd: Tweak client error handling; fwddecl json::expectation_failure.
|
2018-03-08 07:40:41 -08:00 |
|
Jason Volk
|
2a7d7fa8c8
|
ircd::json: Value stringify semantic fixes.
|
2018-02-28 03:12:17 -08:00 |
|
Jason Volk
|
5a16a5ded9
|
ircd::json: Indicate static duration for these printer closures.
|
2018-02-18 22:35:35 -08:00 |
|
Jason Volk
|
f8e5ca20d3
|
ircd::json: Remove the double-indirected member stringify.
|
2018-02-18 22:35:35 -08:00 |
|
Jason Volk
|
89ca9c9b24
|
ircd::json: Allow multiple attributes to the printer; simplify printer stack.
|
2018-02-18 22:35:27 -08:00 |
|
Jason Volk
|
42a22a6c79
|
ircd::json: Use consumption protocol for create_string closure.
|
2018-02-18 22:22:38 -08:00 |
|
Jason Volk
|
e149f38d79
|
ircd::json: This has to be more relaxed for now here.
|
2018-02-17 16:17:59 -08:00 |
|
Jason Volk
|
a66f0f9423
|
ircd::json: Update the generator grammar.
|
2018-02-13 21:14:52 -08:00 |
|
Jason Volk
|
be624ca7f6
|
Update Copyrastafaris.
|
2018-02-05 21:24:34 -08:00 |
|
Jason Volk
|
a20e2c2319
|
ircd::json: Minor cleanup; note todo for exp.
|
2018-01-30 13:37:13 -08:00 |
|
Jason Volk
|
52ee74fe55
|
ircd::json: Place missing break; cleanup branches.
|
2018-01-26 19:27:12 -08:00 |
|
Jason Volk
|
429e5e1dcf
|
ircd::json: Fix treatment of already stringified number.
|
2018-01-24 07:30:36 -08:00 |
|
Jason Volk
|
ac27005cd7
|
ircd::json: Move these outside of value class.
|
2018-01-23 21:18:47 -08:00 |
|
Jason Volk
|
89ccdaa510
|
ircd::json: Proper throw when iov::at() key is not found.
|
2018-01-23 15:07:05 -08:00 |
|
Jason Volk
|
90ea730a04
|
ircd::json: Add recursion depth checking.
|
2018-01-18 06:05:56 -08:00 |
|
Jason Volk
|
db24cef649
|
ircd::json: Minor cleanup/formatting.
|
2017-12-24 21:54:59 -07:00 |
|
Jason Volk
|
42246d8d5f
|
ircd::json: Fix an empty string test.
|
2017-12-12 14:59:40 -07:00 |
|
Jason Volk
|
219d1ba245
|
ircd::json: Fix empty value stringification cases; Fix serialized number printing.
|
2017-11-30 11:23:47 -08:00 |
|
Jason Volk
|
2fa64e5b87
|
ircd::json: Update grammars: string escapes; generalize rules without raw[] if possible.
|
2017-11-30 11:23:47 -08:00 |
|
Jason Volk
|
d354991c68
|
ircd::json: Stub a canonize() function which isn't complete yet.
|
2017-11-30 11:23:47 -08:00 |
|
Jason Volk
|
0e2fe01426
|
ircd::json: Add a validator suite.
|
2017-11-30 11:23:46 -08:00 |
|
Jason Volk
|
78e8a3668d
|
ircd::json: Add missing stringify participant; minor cleanup.
|
2017-11-30 11:23:44 -08:00 |
|
Jason Volk
|
7f97ffdede
|
ircd::json: Add support for parsing a vector of objects (non-standard).
|
2017-11-30 11:23:42 -08:00 |
|
Jason Volk
|
d09a3096be
|
ircd::json: Clean up expectation failure catching.
|
2017-11-30 11:23:42 -08:00 |
|
Jason Volk
|
570f4d7f54
|
ircd::json: stringify empty array as expected by serialized size.
|
2017-11-30 11:23:42 -08:00 |
|
Jason Volk
|
6562efb11e
|
ircd::json: Add 'defaults' construct to iov.
|
2017-11-30 11:23:40 -08:00 |
|
Jason Volk
|
f20ff13a44
|
ircd::json: Sort members in during opportunity in this stringify().
|
2017-10-15 21:22:18 -07:00 |
|
Jason Volk
|
9c875c71a6
|
ircd::json: Better bool related conversions etc.
|
2017-10-15 21:21:56 -07:00 |
|
Jason Volk
|
a3f7a41650
|
ircd::json: Rename json::string to json::strung and maintain json::string as intuitive type.
|
2017-10-15 21:18:42 -07:00 |
|
Jason Volk
|
638f5469c5
|
ircd::json: Minor conflict fix.
|
2017-10-11 18:18:19 -07:00 |
|
Jason Volk
|
bd1a66e608
|
ircd: minor simplifications; minor cleanup.
|
2017-10-11 18:18:18 -07:00 |
|
Jason Volk
|
4090b80d60
|
ircd::json: Add missing serialized() participants.
|
2017-10-03 04:17:09 -07:00 |
|
Jason Volk
|
bc9b0e990c
|
ircd::json: Simplify expectation error message.
|
2017-10-03 04:17:08 -07:00 |
|
Jason Volk
|
4c50b2794f
|
ircd::json: Various fixes/cleanup/conversions.
|
2017-09-24 18:16:38 -07:00 |
|
Jason Volk
|
38c1d2e195
|
ircd::json: Complete serialize/stringify for object/object::member.
|
2017-09-24 18:16:37 -07:00 |
|
Jason Volk
|
47cd7790ed
|
ircd::json: Simplify generators with common list protocol.
|
2017-09-24 18:16:36 -07:00 |
|
Jason Volk
|
eaca7429b6
|
ircd::json: Simplify grammar / various cleanup.
|
2017-09-24 18:16:35 -07:00 |
|
Jason Volk
|
438866a3d7
|
ircd::json: Fix estimation error.
|
2017-09-24 18:16:35 -07:00 |
|
Jason Volk
|
6a5159499f
|
ircd::json: Use ircd::iov for json::iov.
|
2017-09-24 18:16:34 -07:00 |
|
Jason Volk
|
f8fc03e57b
|
ircd::json: Improve value semantics and various fixes.
|
2017-09-24 18:16:34 -07:00 |
|
Jason Volk
|
54d6793f59
|
Update various documentation and comments.
|
2017-09-24 18:16:33 -07:00 |
|
Jason Volk
|
8ad134c565
|
ircd::json: Rename builder to iov.
|
2017-09-24 18:16:33 -07:00 |
|
Jason Volk
|
e95fe7fbd9
|
ircd::json: Improve tuple/builder related.
|
2017-09-24 18:16:32 -07:00 |
|
Jason Volk
|
147a49a86c
|
ircd::json: Improve stringification interface et al.
|
2017-09-08 07:47:07 -07:00 |
|
Jason Volk
|
4cb99ba1a4
|
ircd::resource: Cleanup / fixes.
|
2017-09-08 03:47:52 -07:00 |
|
Jason Volk
|
b829c5d7ba
|
ircd::json: Extend interface with some hackses for now but this has to be revisited eventually.
|
2017-09-08 03:47:51 -07:00 |
|
Jason Volk
|
04129d7444
|
ircd::json: Use proper output grammar for literal generation.
|
2017-09-08 03:47:49 -07:00 |
|
Jason Volk
|
4fd787d9d5
|
ircd::json/modules: Rename various types.
|
2017-08-23 15:32:28 -06:00 |
|
Jason Volk
|
03734c7fb5
|
ircd::json: Fixes to grammar and generator related.
|
2017-08-23 15:02:24 -06:00 |
|
Jason Volk
|
6de469c8fb
|
ircd::json: Remove empty initializer list members.
|
2017-04-02 20:58:30 -07:00 |
|
Jason Volk
|
217a0e9454
|
ircd::json: Modify grammar to fail with error when member name is empty string.
|
2017-04-02 20:57:57 -07:00 |
|
Jason Volk
|
673c8ca068
|
ircd::json: Add val::empty() and full default initialization.
|
2017-04-02 20:54:35 -07:00 |
|
Jason Volk
|
2ffab411df
|
ircd::json: Various fixes to JSON subsystem.
|
2017-03-30 16:04:20 -07:00 |
|
Jason Volk
|
aee06c5ff8
|
ircd::json: Scan until eoi for type check of numbers and literals.
|
2017-03-30 16:04:19 -07:00 |
|
Jason Volk
|
1f6d83b5b1
|
ircd::db: additional support: stats, callbacks and merge operator.
|
2017-03-30 16:04:18 -07:00 |
|
Jason Volk
|
7ae5785431
|
ircd::json: Add merge constructor.
|
2017-03-30 16:04:18 -07:00 |
|
Jason Volk
|
26529b4ac6
|
fixup! ircd: JSON subsystem related.
|
2017-03-20 15:59:14 -07:00 |
|
Jason Volk
|
710d959a63
|
ircd::json: Cleanup/improve grammar; improve linear array parse (incomplete).
|
2017-03-17 20:33:47 -07:00 |
|
Jason Volk
|
1d0e2b0a6a
|
fixup! ircd::json: Add stronger value typing with runtime visitor switching.
|
2017-03-16 13:36:18 -07:00 |
|
Jason Volk
|
03ee560c13
|
ircd: Add aggregate spirit header (without pch at this time).
|
2017-03-16 13:35:37 -07:00 |
|
Jason Volk
|
150583c711
|
fixup! What is the Matrix? Control.
|
2017-03-15 12:08:26 -07:00 |
|
Jason Volk
|
c9ddf4f6ab
|
ircd: Add lex_cast wrapper interface; various cleanup.
|
2017-03-14 15:03:15 -07:00 |
|
Jason Volk
|
49c2a5361c
|
ircd: Various fixes.
|
2017-03-13 14:43:27 -07:00 |
|
Jason Volk
|
b592b69b86
|
What is the Matrix? Control.
|
2017-03-10 17:51:18 -08:00 |
|