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 |
|