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

34 commits

Author SHA1 Message Date
Jason Volk
bd00907922 ircd::json: Allow literal null for array/object ::empty(); inline. 2022-06-30 14:21:50 -07:00
Jason Volk
401f61e564 ircd::json: Remove unit linkages for constant expression values. 2022-06-17 21:11:54 -07:00
Jason Volk
5958e73ff8 ircd::json: Add integrated type-checking overloads to reduce call count. 2020-11-11 22:49:39 -08:00
Jason Volk
45f43dd46a ircd::json: Use inline linkage; prevent PLT entries. 2020-08-02 09:13:08 -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
7669fd53d9 ircd::json: Move exception construction branch to unlikely seg; minor cleanup. 2020-02-12 14:34:26 -08:00
Jason Volk
26efac134e ircd::json: Fix out-of-line definition return type. 2019-06-21 03:41:13 -07:00
Jason Volk
f95ed6851b ircd::json: Deinline / defriend various json::object related. 2019-01-22 12:04:23 -08:00
Jason Volk
efc4831497 ircd::json: Improve conformity of various limitation constants. 2019-01-21 14:38:34 -08:00
Jason Volk
3fae228c1a ircd::json: Simplify json::object interface: eliminate path traversing overloads. 2019-01-12 16:47:48 -08:00
Jason Volk
eead379f36 ircd::json: Minor cleanup. 2018-11-29 13:08:37 -08: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
fef1c0b1b8 ircd::json: Add stringify vector of object::member. 2018-03-20 23:40:31 -07:00
Jason Volk
2fcaf8c758 ircd::json: Add default ctor for array/object/vector const_iterators. 2018-02-28 22:33:50 -08:00
Jason Volk
575f5829dd ircd::json: Verifiably pasken the strongly typed object::size() result. 2018-02-17 16:17:59 -08:00
Jason Volk
be624ca7f6 Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
Jason Volk
01235e3851 ircd::json: Add a bang ADL for falsy semantic on object/array. 2018-01-30 10:14:41 -08:00
Jason Volk
08d00bb3c8 ircd::json: Add strongly typed empty() for object/array with an ADL. 2018-01-29 11:59:59 -08:00
Jason Volk
90ea730a04 ircd::json: Add recursion depth checking. 2018-01-18 06:05:56 -08: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
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
57bcae7a32 ircd: Update notes. 2017-09-24 18:16:42 -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
54d6793f59 Update various documentation and comments. 2017-09-24 18:16:33 -07:00
Jason Volk
147a49a86c ircd::json: Improve stringification interface et al. 2017-09-08 07:47:07 -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
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