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

3235 commits

Author SHA1 Message Date
Jason Volk
c0402f08f4 ircd::util: Improve the test trigger prototype. 2019-07-10 21:39:47 -07:00
Jason Volk
c39aad4d3f ircd:Ⓜ️:vm: Factor room_version into eval. 2019-07-10 06:52:56 -07:00
Jason Volk
329972ed01 ircd:Ⓜ️:event: Update the make_id() suite. 2019-07-10 03:50:37 -07:00
Jason Volk
b7fc4710eb ircd:Ⓜ️:event::conforms: Add event_id hash check to static conformity checks. 2019-07-10 03:50:37 -07:00
Jason Volk
43d66420cd Update incompatible uses of event_id. 2019-07-10 03:50:37 -07:00
Jason Volk
639b132250 ircd:Ⓜ️ Add a check_id(event) suite. 2019-07-10 02:12:16 -07:00
Jason Volk
0a210544b3 ircd:Ⓜ️:event::conforms: Remove MISTMATCH_ORIGIN_EVENT_ID code. 2019-07-09 23:46:24 -07:00
Jason Volk
2755cfe71b ircd:Ⓜ️🆔 Improve the validation interface / stack. 2019-07-09 02:33:27 -07:00
Jason Volk
719a965d9f ircd:Ⓜ️:event: Remove prev_state from top level. 2019-07-09 02:33:27 -07:00
Jason Volk
fc8048dc74 ircd::event: Remove membership from top level. 2019-07-09 02:03:03 -07:00
Jason Volk
e0655229c5 ircd::room::auth: Improve make_refs and cleanup interface related. 2019-07-09 02:03:03 -07:00
Jason Volk
d37aaa8542 ircd::assert: Only #error for include-order in --enable-debug mode. 2019-07-08 16:49:43 -07:00
Jason Volk
d5c035693c ircd:Ⓜ️:user: Add interface to im.vector.riot.breadcrumb_rooms. 2019-07-08 06:03:20 -07:00
Jason Volk
93b82445d9 ircd:Ⓜ️:fetch: Fix initialization.
ircd:Ⓜ️:event::fetch: Fix member statekeeping.
2019-07-08 06:03:20 -07:00
Jason Volk
015cbe53b1 ircd::net::socket: Add static counters for totals. 2019-07-08 06:03:20 -07:00
Jason Volk
11dd47a8aa ircd:Ⓜ️:sync: Add pointer to struct args in struct data. 2019-07-08 06:03:20 -07:00
Jason Volk
3057e9a328 ircd:Ⓜ️ Move event/get.h down one level. 2019-07-07 22:06:11 -07:00
Jason Volk
439402c08c ircd:Ⓜ️ Add an m::query() template suite for DRY'ing common m::get() usage pattern. 2019-07-07 17:58:15 -07:00
Jason Volk
ec8bac81d1 ircd:Ⓜ️:filter: Add missing fields on room_event_filter. 2019-07-07 17:00:36 -07:00
Jason Volk
49264bd13b ircd:Ⓜ️:sync: Add sync item children counter. 2019-07-06 22:25:16 -07:00
Jason Volk
18f07b6378 ircd:Ⓜ️:sync: Move definitions to module.
ircd:Ⓜ️:sync: Give sync::data an instance_list.
2019-07-06 22:25:12 -07:00
Jason Volk
dc4d13bca6 ircd:Ⓜ️:event::fetch: Add internal buffer for event::id state. 2019-07-05 23:45:00 -07:00
Jason Volk
261151f539 ircd:Ⓜ️:fetch: Remove ambiguating event_id() util. 2019-07-05 23:45:00 -07:00
Jason Volk
4a289c065a ircd:Ⓜ️:event: Add event_id member; reorg ctors. 2019-07-05 23:45:00 -07:00
Jason Volk
31aea230b1 ircd::conf: Explicit bool operators for std::string item. 2019-07-05 18:07:49 -07:00
Jason Volk
7af8e5774c ircd::ios: Add no-op synchronous defer overload; use w/ this_ctx::yield(). 2019-07-05 17:37:04 -07:00
Jason Volk
b8dfa9ccee ircd::magick: Reorg and elaborate the job state tracking; add interface. 2019-07-05 16:05:36 -07:00
Jason Volk
612eeb3b7f ircd::allocator: Add ctrl get()/set() w/ console cmd. 2019-07-04 00:20:49 -07:00
Jason Volk
e7b66eac3b ircd:Ⓜ️:event::prev: Stronger json::object type for v1 tuple value at indice. 2019-07-03 18:57:48 -07:00
Jason Volk
5d570a8da4 ircd:Ⓜ️🆔 Move event fwddecl closer to use; add more comments on v3/v4 objects. 2019-07-03 18:57:48 -07:00
Jason Volk
6a6c51d359 ircd::allocator: Distill out GNU malloc featurette from allocator.cc unit. 2019-07-03 18:57:48 -07:00
Jason Volk
ea0a1df3a1 configure: Add options for third-party allocator selection/deselection and inclusion. 2019-07-03 18:02:54 -07:00
Jason Volk
f88cc51e37 ircd: Move definitions for various valgrind suites to vg.cc for header isolation. 2019-07-03 15:14:29 -07:00
Jason Volk
60fda46bdf ircd::http: Consolidate line terminator static strings. 2019-06-28 18:23:43 -07:00
Jason Volk
9ca019f03e ircd:Ⓜ️🆔:event: Add non-throwing static tests of v3/v4 id from string. 2019-06-28 03:42:07 -07:00
Jason Volk
6c62515a6d ircd:Ⓜ️🆔 Use proper reference hashing procedure for event::v3/event::v4 ctors. 2019-06-27 20:06:26 -07:00
Jason Volk
6ce67a81a1 ircd:Ⓜ️:user::highlight: Add conf items to toggle counting; improve match detail. 2019-06-27 01:59:19 -07:00
Jason Volk
0fb3f1d8ac ircd:Ⓜ️:user: Modernize the highlight counting interface. 2019-06-27 01:32:16 -07:00
Jason Volk
7843925335 modules: Disperse modules to eliminate the s_ prefix-space. 2019-06-27 00:41:57 -07:00
Jason Volk
ed5af1fdbd ircd:Ⓜ️🆔 Add class representations for event::v3 and event::v4. 2019-06-26 06:21:30 -07:00
Jason Volk
fcfc28c6e4 ircd:Ⓜ️🆔 Add event::id version gauge method. 2019-06-26 06:21:30 -07:00
Jason Volk
5500a897e9 ircd: Add RFC4648 base64url conversion suite. 2019-06-26 01:52:42 -07:00
Jason Volk
19b85ef908 ircd: Add mutable_buffer based replace_copy stringop. 2019-06-26 01:44:23 -07:00
Jason Volk
5c03f4e08f ircd: Add mutable_buffer inplace replace to stringops. 2019-06-26 01:16:27 -07:00
Jason Volk
754adf33ec ircd:Ⓜ️:keys: Add pretty()/pretty_oneline() output diagnostics. 2019-06-25 07:42:13 -07:00
Jason Volk
758ee9c185 ircd:Ⓜ️:keys: Retype server_name property as json::string. 2019-06-25 07:13:10 -07:00
Jason Volk
425f277eaa ircd: Fix main thread assertion. 2019-06-24 03:55:11 -07:00
Jason Volk
80655da66e Misc fixes for clang. 2019-06-24 01:34:14 -07:00
Jason Volk
cbd2f6f4c7 ircd::prof: Add extern keyword for c89 semantics via gnu_inline in clang for odr. 2019-06-24 01:33:41 -07:00
Jason Volk
83dd5581be ircd:Ⓜ️ Workaround comparison operator resolution and others for clang. 2019-06-24 02:22:55 -06:00
Jason Volk
9d48215aaa ircd: Explicit instance_list destructor template instantiations for clang. 2019-06-24 01:33:00 -06:00
Jason Volk
37760fe251 ircd:Ⓜ️:keys: Improve key query and cache loop. 2019-06-23 16:27:37 -07:00
Jason Volk
c2f86a8094 ircd:Ⓜ️:keys: Distill out expiration test from verification test. 2019-06-23 16:22:15 -07:00
Jason Volk
fcbd31f672 ircd:Ⓜ️:keys: Add an iteration over node's cached keys. 2019-06-23 15:50:02 -07:00
Jason Volk
cf3b1218c4 ircd: Misc fixes for clang. 2019-06-23 16:22:06 -06:00
Jason Volk
2e7f272570 ircd: Add plain string terminate. 2019-06-23 16:16:39 -06:00
Jason Volk
82a7d736d1 ircd::fs::path: Use scoped enum for fs::path::base paths. 2019-06-23 07:37:23 -06:00
Jason Volk
f85398392f ircd: Tentative fix assert macro missing on clang. 2019-06-23 07:37:23 -06:00
Jason Volk
805f2c1184 ircd:Ⓜ️:user: Tentative fixes for clang rejection of std::string_view::size() constexprness. 2019-06-23 07:37:23 -06:00
Jason Volk
5bf62fc33f ircd: Degrade enum addressing for clang. 2019-06-23 07:37:23 -06:00
Jason Volk
fa7b708e03 ircd::util: Fix inline namespace reopening for clang. 2019-06-23 07:37:23 -06:00
Jason Volk
ab32ef76d7 ircd::ctx::this_ctx: Fix inline namespace reopening for clang. 2019-06-23 07:37:23 -06:00
Jason Volk
801f0d57b7 ircd: Fix attributes for clang. 2019-06-23 07:37:23 -06:00
Jason Volk
e4a5a755d0 ircd::base: Fix lack of constexpr ceil(). 2019-06-23 01:27:49 -06:00
Jason Volk
35cff6c498 include/ircd: Handle *.gch.tmp files from clang. 2019-06-23 01:27:49 -06:00
Jason Volk
53ea7b8658 ircd:Ⓜ️:feds: Add send operation to feds suite.
modules/console: Update console for feds resend.
2019-06-22 20:03:58 -07:00
Jason Volk
a371bc3e1f ircd: Fix cast-conversion based reference-constructions. 2019-06-22 17:36:42 -06:00
Jason Volk
7aaee4c68d ircd: Mark recommended noexcept on inline constructors. 2019-06-22 17:36:42 -06:00
Jason Volk
656ef1572e ircd::buffer::parse_buffer: Remove erroneous cast operator. 2019-06-22 16:58:58 -06:00
Jason Volk
a67f134a6b ircd:Ⓜ️ Partial migration of m::node to module; modernize legacy extern "C". 2019-06-21 21:02:38 -07:00
Jason Volk
4093dc2f85 ircd:Ⓜ️:self::init: Fix keys init; prevent libircd as dependency for module. 2019-06-21 20:29:26 -07:00
Jason Volk
d17afdd531 ircd::http2: Start an RFC7540 implementation. 2019-06-21 16:54:22 -07:00
Jason Volk
b7023a6dc7 ircd:Ⓜ️ Reorg keys related interfaces and init. 2019-06-21 16:41:43 -07:00
Jason Volk
133b2605c6 ircd:Ⓜ️:dbs: Generalize the reflection for M_RELATES event_refs related. 2019-06-21 16:32:15 -07:00
Jason Volk
9cf64712d9 ircd::json::iov: Fix declarations. 2019-06-21 04:31:38 -07:00
Jason Volk
f6067edcdf ircd::ctx::async: Fix template default param using runtime extern. 2019-06-21 03:41:13 -07:00
Jason Volk
26efac134e ircd::json: Fix out-of-line definition return type. 2019-06-21 03:41:13 -07:00
Jason Volk
5c8e590219 ircd: Fix default arguments in exception macros for clang. 2019-06-21 03:41:13 -07:00
Jason Volk
95e0ff3bbc ircd::buffer: Use __builtin_unreachable() for clang. 2019-06-21 04:36:53 -06:00
Jason Volk
a5a267dcd5 ircd::byte_view: Rearrange class definition order for clang. 2019-06-21 04:36:53 -06:00
Jason Volk
a8ebcbcbe0 ircd::allocator: Fix error. 2019-06-21 04:36:53 -06:00
Jason Volk
75c125e8aa ircd:Ⓜ️:rooms: Expose fetcher in interface; internal cleanup. 2019-06-17 23:05:31 -07:00
Jason Volk
f24c7c2e82 ircd:Ⓜ️:rooms: Simplify interface. 2019-06-17 16:57:00 -07:00
Jason Volk
4f741960a0 ircd:Ⓜ️:room::state: Reconnect !present() branch with state::history. 2019-06-16 02:18:04 -07:00
Jason Volk
24ce076c3d ircd:Ⓜ️:room::state: Add state::history interface derived from state::space. 2019-06-16 02:17:47 -07:00
Jason Volk
b5a61a7a6b ircd:Ⓜ️:room::state::space: Improve interface; fixes. 2019-06-16 01:00:47 -07:00
Jason Volk
493bd85c11 ircd:Ⓜ️:dbs: Add additional room state space key overload. 2019-06-15 15:20:00 -07:00
Jason Volk
390b8bf2fb ircd:Ⓜ️ Remove remaining vestiges of m::state.
closes #15.
2019-06-15 14:10:36 -07:00
Jason Volk
c59894a01b ircd::http:: Add 416 Range Not Satisfiable. 2019-06-15 12:50:53 -07:00
Jason Volk
7666561f02 ircd::http: Parse range-request related headers as primaries. 2019-06-15 12:48:01 -07:00
Jason Volk
864cdd6405 ircd::buffer: Add convenience typedefs for unique/shared buffer common templates. 2019-06-14 14:50:42 -06:00
Jason Volk
22f3c41603 ircd::rfc3986: Add URI decomposition. 2019-06-13 21:44:51 -06:00
Jason Volk
0355391e34 ircd::rfc3986: Complete the URI grammars as specified. 2019-06-13 20:06:05 -06:00
Jason Volk
3d04ed9ad0 configure: Remove the CPPDEFINE for RB_TIME_CONFIGURED. 2019-06-13 15:03:32 -06:00
Jason Volk
9539b21789 ircd::nacl: Improve sodium initialization; various cleanup. 2019-06-13 13:46:57 -06:00
Jason Volk
b78ea359b6 ircd::db: Rename db::index to db::domain; fix userspace. 2019-06-11 12:57:52 -07:00
Jason Volk
a1d76d55cc ircd::db: Rename prefix.h to prefix_transform.h 2019-06-11 12:47:43 -07:00
Jason Volk
947fd1f4b4 ircd::conf: Add explicit bang operator on bool conf item specialization. 2019-06-07 22:25:16 -07:00
Jason Volk
8e0ac58987 ircd:Ⓜ️:room: Expose bootstrap to interface. 2019-06-07 04:56:23 -07:00
Jason Volk
5f248f5965 ircd::http: Add cloudflare 521 code. 2019-06-07 00:09:58 -07:00