0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-06 00:35:34 +02:00
Commit graph

67 commits

Author SHA1 Message Date
Jason Volk
b42dffb24c ircd::json: Improve tuple assignment typography. 2017-11-30 11:23:45 -08:00
Jason Volk
78e8a3668d ircd::json: Add missing stringify participant; minor cleanup. 2017-11-30 11:23:44 -08:00
Jason Volk
87c9ebdbc3 ircd::json: Fix assign source here. 2017-11-30 11:23:43 -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
93c9935338 ircd::json: Add preliminary tuple iteration with mask of keys. 2017-11-30 11:23:41 -08:00
Jason Volk
4ae58a4f46 ircd::json: Add tuple construction from a different tuple object. 2017-11-30 11:23:41 -08:00
Jason Volk
57ae71fe4e ircd::json: Add additional commentary. 2017-11-30 11:23:40 -08:00
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