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

260 commits

Author SHA1 Message Date
Jason Volk
6562efb11e ircd::json: Add 'defaults' construct to iov. 2017-11-30 11:23:40 -08:00
Jason Volk
43e35786ce ircd: Move subsystem 'index header' into subsystem directories. 2017-10-19 01:38:03 -07:00
Jason Volk
0fe97a2ed5 ircd::json: Use a non-pack enable_if template for get(tuple) like at(tuple). 2017-10-17 00:52:17 -07:00
Jason Volk
9bc7587557 ircd::json: Add a preliminary suite of sign()/verify()/hash() for tuple. 2017-10-15 21:22:52 -07:00
Jason Volk
9c875c71a6 ircd::json: Better bool related conversions etc. 2017-10-15 21:21:56 -07:00
Jason Volk
52e2525b30 ircd::json: Fix member construction related. 2017-10-15 21:21:16 -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
1cede9a21f ircd::json: Various fixes/cleanup; debug related. 2017-10-11 20:54:02 -07:00
Jason Volk
bc5be1c6be ircd::json: Improve constexpr-hashed-name related and uniform overloads for non-tuples. 2017-10-11 20:54:02 -07:00
Jason Volk
0ae0172a25 ircd::json: Warn when sampling size() of object and array the wrong way. 2017-10-11 20:54:02 -07:00
Jason Volk
723cd3440b ircd::json: Towards uniform defined(). 2017-10-11 20:54:02 -07:00
Jason Volk
e3963da007 ircd: Various comments added/modified. 2017-10-11 18:18:20 -07:00
Jason Volk
f32a984722 ircd::json: Add support for tuple indexing by hash; add c++11 literal hasher. 2017-10-11 18:18:18 -07:00
Jason Volk
c722ff6e71 ircd::json: Better handling and message for assignment failure to tuple. 2017-10-03 04:27:14 -07:00
Jason Volk
4090b80d60 ircd::json: Add missing serialized() participants. 2017-10-03 04:17:09 -07:00
Jason Volk
3649843950 ircd::json: Add conditional transform to tuple during serialization. 2017-10-03 04:17:08 -07:00
Jason Volk
e69cb9c2e9 ircd::json: Assume this conversion to match the byte_view<string_view> specialization. 2017-09-24 23:52:48 -07:00
Jason Volk
57bcae7a32 ircd: Update notes. 2017-09-24 18:16:42 -07:00
Jason Volk
48877a31c8 ircd::json: Add until() with two tuple arguments (for comparisons). 2017-09-24 18:16:40 -07:00
Jason Volk
44f3d2cd27 ircd::json: Recursive tuple members. 2017-09-24 18:16:39 -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
eaca7429b6 ircd::json: Simplify grammar / various cleanup. 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
6f29784573 ircd: Fix json::member alias. 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
77ba8696d9 ircd::json: Commentary / minor cleanup. 2017-09-08 03:47:53 -07:00
Jason Volk
ace878b887 ircd::json: Rename tuple member to property. 2017-09-08 03:47:53 -07:00
Jason Volk
b715b99b0c ircd::json: Upgrade index::member to json::member. 2017-09-08 03:47:53 -07:00
Jason Volk
1a59218bad ircd::json: Add builder. 2017-09-08 03:47:53 -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
fd3bb037c7 ircd::json: Add value constructor template to attempt cast to string_view. 2017-09-08 03:47:50 -07:00
Jason Volk
81bd73f6f0 ircd::json: Add boolean constructor for literal rep. 2017-09-08 03:47:49 -07:00
Jason Volk
d9a4f06bf6 ircd: Employ namespace scope extensions from c++1z/gnu++14.
This is not a move to c++17. If the compiler happens to have support
for c++17 namespace scope resolution, they have been kind enough to
backport it to gnu++14. This limits our support for really old c++14
compilers, but that was limited anyway. GCC 6.1 and clang 3.6 tested.
2017-09-08 03:47:46 -07:00
Jason Volk
121670d1a8 ircd::json: Minor comment cleanup. 2017-09-08 03:45:09 -07:00
Jason Volk
7f92c1243c ircd::json: Refactor tuple and settle for extern member name strings. 2017-09-08 03:45:09 -07:00
Jason Volk
bc19a795d8 ircd::json: Rename parse to tuple. 2017-09-08 03:45:09 -07:00
Jason Volk
7bfaa5ec08 ircd::json: Commentary on array. 2017-08-25 15:36:29 -07:00
Jason Volk
a9f52a70b2 ircd::json: Add commentary; Add path related. 2017-08-23 15:52:15 -06:00
Jason Volk
823387da4e fixup! ircd::json: Improve object interface; remove dot traversal. 2017-08-23 15:52:15 -06:00
Jason Volk
74da170996 fixup! ircd::json: Add comment for struct object 2017-08-23 15:52:15 -06:00
Jason Volk
df87d820e1 ircd::json: Improve object interface; remove dot traversal. 2017-08-23 15:52:15 -06:00
Jason Volk
e99b22de6f ircd::json: Add comment for struct object 2017-08-23 15:52:15 -06:00
Jason Volk
4fd787d9d5 ircd::json/modules: Rename various types. 2017-08-23 15:32:28 -06:00
Jason Volk
6dbc9201f1 ircd::json: Add preliminary map and object. 2017-08-23 15:01:58 -06:00
Jason Volk
673c8ca068 ircd::json: Add val::empty() and full default initialization. 2017-04-02 20:54:35 -07:00
Jason Volk
ff84531ea3 ircd::json: Add get<string_view>() to doc. 2017-04-02 20:53:56 -07:00
Jason Volk
2ffab411df ircd::json: Various fixes to JSON subsystem. 2017-03-30 16:04:20 -07:00
Jason Volk
7ae5785431 ircd::json: Add merge constructor. 2017-03-30 16:04:18 -07:00
Jason Volk
4d2e41970b ircd::json: Add has()/get() to json::doc. 2017-03-30 16:04:18 -07:00
Jason Volk
21db4baab3 ircd: Various cleanup. 2017-03-30 16:04:18 -07:00
Jason Volk
3badb2ff90 ircd: JSON subsystem related. 2017-03-20 04:27:11 -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
7ff20d061d ircd::json: Add stronger value typing with runtime visitor switching. 2017-03-16 13:32:42 -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