0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-05 05:18:54 +01:00
Commit graph

220 commits

Author SHA1 Message Date
Jason Volk
27146c471c ircd::json: Use rule::alias() for property name string. 2020-04-18 00:08:08 -07:00
Jason Volk
ca147df40f ircd::json: Cleanup visibility attributions for internal assets. 2020-04-17 20:17:33 -07:00
Jason Volk
f151eb2e6c ircd::json::object: Reuse/reorg member rule instance; out-of-line static durations. 2020-04-17 20:17:33 -07:00
Jason Volk
f288d4a816 ircd::json::stack::member: Fix critical assertion; use stack buffer. 2020-04-15 16:09:55 -07:00
Jason Volk
777ea844e7 ircd::json::stack::checkpoint: Trigger unforced flush from checkpoint dtor. 2020-04-15 16:09:55 -07:00
Jason Volk
79a4394626 ircd::json::stack: Simplify checkpoint interface controls. 2020-04-14 15:31:41 -07:00
Jason Volk
cb41660c94 ircd: Applications of loopless copy overload for single character. 2020-04-13 23:58:33 -07:00
Jason Volk
a7d9476a05 ircd::json: Split array::const_iterator from array header; inline comparison suite. 2020-04-03 11:02:49 -07:00
Jason Volk
c4d041d1ae ircd::json: Inline object::const_iterator comparison suite.
ircd::json: Split object::const_iterator from object header.

ircd::json: Split object::member related from object header.
2020-04-03 11:02:49 -07:00
Jason Volk
291de1a49b ircd::json: Increase the recursion limit. 2020-03-19 21:54:07 -07:00
Jason Volk
e6c9f757ce ircd::json: Add a members replacement tool. 2020-03-18 19:47:18 -07:00
Jason Volk
66c4ebfbb4 ircd::json: Add a member replacement tool. 2020-03-18 16:28:16 -07:00
Jason Volk
468b591186 ircd::json: Cast to enumeral for balanced ternary result to switch. 2020-03-11 15:12:37 -07:00
Jason Volk
43d608c8cb ircd::json: Increase recursion depth limit. 2020-03-01 11:26:12 -08:00
Jason Volk
901890d2af ircd::json: Remove branch in ~value(). 2020-02-28 15:11:39 -08:00
Jason Volk
4f0920d2ba ircd::json: Reorder value rule initialization. 2020-02-21 12:22:56 -08:00
Jason Volk
421af71f58 ircd::json: Reopen namespace with default visibility for clang. 2020-02-19 21:02:37 -08:00
Jason Volk
e1e7457e2d Revert "ircd::json: Printer operator template type conveyance; minor cleanup."
This reverts commit 60b0a5eab3.
2020-02-12 18:36:19 -08:00
Jason Volk
9dfcd63797 ircd::json: Add expect; minor rename. 2020-02-12 14:34:26 -08:00
Jason Volk
e17318a334 ircd::json: Remove const for any recursive repropagation. 2020-02-12 14:34:26 -08:00
Jason Volk
4007e4f2e2 ircd::json: Fix rule construction for clang. 2020-02-10 15:28:00 -08:00
Jason Volk
bb3c8dfb53 ircd::json: Fix output grammar rule constness for clang. 2020-02-10 15:05:35 -08:00
Jason Volk
60b0a5eab3 ircd::json: Printer operator template type conveyance; minor cleanup. 2020-02-10 14:35:17 -08:00
Jason Volk
04595054d8 ircd::json: Fix member constructor template. 2020-02-10 14:35:17 -08:00
Jason Volk
4c84df62e7 ircd::json: Simplify reference name. 2020-02-10 14:35:17 -08:00
Jason Volk
622a0fe7c1 ircd::json: Simplify/cleanup members stringify. 2020-02-09 16:28:11 -08:00
Jason Volk
ab6672877d ircd::json: Move max_string_size constant to header. 2020-02-09 14:54:38 -08:00
Jason Volk
b899a1dc24 ircd::json: Emit specific attributes for GCC only. 2020-02-07 12:53:02 -08:00
Jason Volk
a7e97f124e ircd::json: Fix value copy to closure. 2020-02-07 12:47:17 -08:00
Jason Volk
d512ef1006 ircd::json: Fix format string. 2020-02-07 12:45:09 -08:00
Jason Volk
d91b9d0aee ircd::json: Reorder alternative operands. 2020-01-17 17:26:23 -08:00
Jason Volk
f588dad9eb ircd::json: Fix lifetime dead store elimination; regression from df79d61 2019-12-04 23:28:29 -08:00
Jason Volk
875c0bce05 ircd::json: Add assertion for stack unwind. 2019-12-04 16:04:52 -08:00
Jason Volk
09e315a8f0 ircd::json::stack: Maintain enough space for JSON to close on all stack unwinds. 2019-12-01 21:37:54 -08:00
Jason Volk
66934f317a ircd::json::stack: Track and assert the running recursion level. 2019-12-01 21:37:22 -08:00
Jason Volk
2aaef63e04 ircd::json::stack: Fix missing move members. 2019-12-01 21:22:58 -08:00
Jason Volk
f86b129ea6 ircd::json::stack: Add class member counters; assertions; conditions. 2019-09-23 20:11:20 -07:00
Jason Volk
a8d9c78e12 ircd::json: Add comments and assertions in stack::append(). 2019-09-23 12:58:02 -07:00
Jason Volk
1f82e009b7 ircd::json: Deinline member ctor. 2019-09-13 16:32:26 -07:00
Jason Volk
bd1b060314 ircd::json: Split some print_error cases into print_panic; relax print_error; minor cleanup. 2019-09-09 19:03:23 -07:00
Jason Volk
c01a816582 ircd::json: Enforce max string size on stringify(value). 2019-09-08 19:58:58 -07:00
Jason Volk
a6eb3c28ff ircd::json: Enforce max string size on create_string(). 2019-09-08 19:58:58 -07:00
Jason Volk
f3845d9ed0 ircd::json: Minor cleanup / noexcept closures. 2019-08-26 11:36:20 -07:00
Jason Volk
b95a7a8a9e ircd::exception: Add hide_name construction overload to macro. 2019-08-26 11:10:30 -07:00
Jason Volk
af48bdfa6e ircd::json: Stub an unescape(). 2019-08-02 15:04:29 -07:00
Jason Volk
181ed12bd7 ircd::json: Add more escapes to map. 2019-08-02 15:04:28 -07:00
Jason Volk
7984f4bdee ircd::json: Require full range of control chars to be escaped. 2019-08-02 15:04:28 -07:00
Jason Volk
75927abb42 ircd::json: Restrict escaped unicodes to UTF-16 surrogates. 2019-08-02 15:04:28 -07:00
Jason Volk
de986d2272 ircd::json::stack: Make completed() return a string_view instead of const_buffer. 2019-07-30 12:26:26 -07:00
Jason Volk
b191b153e3 ircd::json: Add shortcut equality comparison for two serialized values. 2019-07-29 16:46:15 -07:00