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

4103 commits

Author SHA1 Message Date
Jason Volk 0f4d1e2869 ircd::net::socket: Convert totals counters to stats::items. 2019-07-11 15:51:09 -07:00
Jason Volk 13d733e89d ircd::stats: Allow a default value to be passed in the feature. 2019-07-11 15:51:09 -07:00
Jason Volk 1b65cc36c8 modules/console: Fix unwrapped prev event iteration.
ircd:Ⓜ️:v1: Fix unwrapped prev event reference.
2019-07-10 07:39:37 -07:00
Jason Volk 114b997088 ircd:Ⓜ️:v1::make_join: Advertise versions in query params. 2019-07-10 07:31:03 -07:00
Jason Volk ae3980dd00 ircd:Ⓜ️ Add the event_id to the JSON in append(event) to client. 2019-07-10 07:24:09 -07:00
Jason Volk e54d880e6c ircd:Ⓜ️:room:head: Update make_refs for bi-format compat. 2019-07-10 07:15:26 -07:00
Jason Volk 9af1e5af4e ircd:Ⓜ️ Fix pretty(event) format when lacking a digest. 2019-07-10 07:00:37 -07:00
Jason Volk 4958170e4b ircd:Ⓜ️:room: Fix version property name. 2019-07-10 06:52:56 -07:00
Jason Volk 03344ab0e1 ircd:Ⓜ️:event::fetch: Fix event_id related condition. 2019-07-10 06:52:56 -07:00
Jason Volk 4bbe07c95c ircd:Ⓜ️:dbs: Fix unwrapped prev_events iteration in indexer. 2019-07-10 06:52:56 -07:00
Jason Volk 735d1980ff ircd:Ⓜ️🆔 Fix event::version gauge. 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 6f4a4f351c ircd:Ⓜ️🆔 Allow empty host in rewrite constructor. 2019-07-10 03:50:37 -07:00
Jason Volk 558428d503 ircd:Ⓜ️ Set default version value on not-found to "1". 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 b6f277a975 Update various event construction sites. 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 90bf8f03b8 ircd:Ⓜ️:dbs: Augment the property->column direct indexer when missing event_id. 2019-07-10 00:01:25 -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 ab25346534 ircd::ctx: Tweak exception_handler. 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 aa78f6f85c ircd:Ⓜ️:event::conforms: Update event_id related conditions. 2019-07-08 18:57:45 -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 94148ec80a ircd::json::stack: Use character appends where possible. 2019-07-08 06:03:20 -07:00
Jason Volk f02b51d647 ircd::mods: Avoid npd warning from assertions. 2019-07-08 06:03:20 -07:00
Jason Volk 7dc5d30405 ircd:Ⓜ️:sync: Move data ctor to module. 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 7f102e7f8c ircd:Ⓜ️:room: Use scope_restore here. 2019-07-07 03:59:51 -07:00
Jason Volk cf853cf9ad ircd:Ⓜ️:event: Condition for sentinel return value. 2019-07-07 03:59:51 -07:00
Jason Volk 3816d4104a ircd:Ⓜ️:sync: Fix loghead/console formatting. 2019-07-06 22:27:51 -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 13e87b00a1 ircd:Ⓜ️:dbs: Use event_id member. 2019-07-05 23:45:00 -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 fa737c0019 modules/vm: Require event_id member. 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 7af8e5774c ircd::ios: Add no-op synchronous defer overload; use w/ this_ctx::yield(). 2019-07-05 17:37:04 -07:00
Jason Volk 3d982a3042 ircd:Ⓜ️:room: Optimize the state::count(type) to elide value query. 2019-07-04 02:01:20 -07:00
Jason Volk 89e3838c4f ircd:Ⓜ️:room: Optimize the state::count(void) to elide key parse, value query. 2019-07-04 02:01:20 -07:00
Jason Volk 612eeb3b7f ircd::allocator: Add ctrl get()/set() w/ console cmd. 2019-07-04 00:20:49 -07:00
Jason Volk bc84247519 modules/federation: Implement 12.2 /v2/invite. 2019-07-03 19:58:13 -07:00
Jason Volk e6f8bb0114 ircd:Ⓜ️:event::conforms: Adjustments for v3/v4 compat. 2019-07-03 19:24:21 -07:00
Jason Volk 8b3a2b89f6 ircd:Ⓜ️ Update pretty(event)/pretty(event::prev) for version compat; reuse. 2019-07-03 18:57:48 -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 adda5ba170 ircd::allocator: Start an allocator_je.cc unit. 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 15e06e4d2e ircd::allocator: Use stack for pretty(iec()) format buffers. 2019-07-03 13:57:48 -07:00
Jason Volk d6b23cd9ac ircd::allocator: Minor increase table width for output [ci skip] 2019-07-03 12:47:12 -07:00
Jason Volk 2d5b4c9aca ircd:Ⓜ️🆔 Fix assertion for empty host()/hostname() on v3/v4 event::id's. 2019-06-30 01:39:33 -07:00
Jason Volk 8145652f2a ircd:Ⓜ️🆔 Tighten expectation for string bounds in validation grammars. 2019-06-30 01:31:07 -07:00
Jason Volk ca8dcb3271 ircd::server: Avoid unnecessary tail call on empty overrun buffer. 2019-06-28 21:26:33 -07:00
Jason Volk 1e45ffcba2 ircd::server: Additional assertions. 2019-06-28 21:26:33 -07:00
Jason Volk 60fda46bdf ircd::http: Consolidate line terminator static strings. 2019-06-28 18:23:43 -07:00
Jason Volk ee23c98eda ircd::server: Call the progress callbacks before the completion routines. 2019-06-28 18:13:25 -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 54d5afae49 ircd:Ⓜ️🆔 Fix id::event::v3/v4 hashing ctor return view of sigil. 2019-06-27 19:31:50 -07:00
Jason Volk 19df2bbf79 ircd:Ⓜ️:event::prev: Support version 3/4 references formats. 2019-06-27 19:22:54 -07:00
Jason Volk 0f02cf3c29 ircd::mods: Remove the version from infolog on load; improve fmt. 2019-06-27 02:22:56 -07:00
Jason Volk a21f054cfc ircd::server: Handle exception when starting DNS resolution for peer. 2019-06-27 00:43:05 -07:00
Jason Volk 7843925335 modules: Disperse modules to eliminate the s_ prefix-space. 2019-06-27 00:41:57 -07:00
Jason Volk 2301d378fa Trim outdated README docs in ircd/ modules/. 2019-06-26 22:56:31 -07:00
Jason Volk 8ea404a66a ircd:Ⓜ️🆔 Delegate string_view ctor. 2019-06-26 06:21:30 -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 ed5e7ef10a ircd:Ⓜ️🆔 Remove any fixed prefix to generated id::ROOM for now. 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 7c142b9519 ircd:Ⓜ️🆔 Add event_id version 3 and version 4 grammars. 2019-06-26 06:21:07 -07:00
Jason Volk 142622db77 ircd: Consolidate base conversions internal temporary buffers. 2019-06-26 01:54:28 -07:00
Jason Volk 5500a897e9 ircd: Add RFC4648 base64url conversion suite. 2019-06-26 01:52:42 -07:00
Jason Volk 6379813950 ircd::server: Additional assertions; minor cleanup. 2019-06-26 00:27:41 -07:00
Jason Volk b1974871c8 ircd::server: Split out content completion branches into internal subroutines. 2019-06-25 21:08:27 -07:00
Jason Volk d58e119f7b ircd::json: Synthesized repropagation of recursive grammars. 2019-06-24 04:41:06 -07:00
Jason Volk b0502195ea ircd::assert: Static assert for clang supporting __builtin_debugtrap(). 2019-06-24 03:55:11 -07:00
Jason Volk abe9fed5fa ircd::json: Make grammar rules const if possible. 2019-06-24 03:52:44 -06:00
Jason Volk 80655da66e Misc fixes for clang. 2019-06-24 01:34:14 -07:00
Jason Volk c692b009a4 Fix -fuse-ld ldflags. 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 7157a9cf8b ircd: Handle exceptions before unwind of class member reference. 2019-06-24 02:22:55 -06:00
Jason Volk 809d01d7df ircd: Mark explicit unreachables for clang's failure to elide dtors of noreturn constructed objects. 2019-06-24 02:22:55 -06:00
Jason Volk 2f74142737 ircd::db: Fix erroneous calls when stacking overloads.
modules/s_keys: Fix erroneous calls when stacking overloads (regression).
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 708b34092f ircd::ctx: Handle exception before unwind of class members; comments. 2019-06-23 16:46:41 -07:00
Jason Volk 31560dbc83 ircd:Ⓜ️ Fix keys::get() callsite inside libircd causing unloading dependency. 2019-06-23 16:36:08 -07:00
Jason Volk 86d0d720a1 ircd:Ⓜ️ Unload vm first during fini procedure. 2019-06-23 16:35:25 -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 c20e4bccd4 ircd::rfc1035: Fix cast-alignments. 2019-06-23 07:37:23 -06:00
Jason Volk cd8d070fb6 ircd: Fix compiler option switches for clang. 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 801f0d57b7 ircd: Fix attributes for clang. 2019-06-23 07:37:23 -06:00
Jason Volk b7186313e8 ircd: Fix system exception category condition error. 2019-06-23 01:27:49 -06:00