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

4594 commits

Author SHA1 Message Date
Jason Volk
bd6860743c ircd::uleb128: Add #ifdefs for intrinsics. 2019-11-30 10:47:20 -08:00
Jason Volk
6d380dcb6c ircd::uleb128: Ensure ceiling for result at the type length. 2019-11-30 10:47:20 -08:00
Jason Volk
538c3530f3 ircd::leb128: Add optimized template specializations for 8 and 16 byte words. 2019-11-30 10:47:20 -08:00
Jason Volk
62f2f5ea8d ircd: Implement unsigned LEB128. 2019-11-30 10:47:20 -08:00
Jason Volk
83bdee822a ircd::spirit: Add template with exception translation wrapping qi::parse(). 2019-11-30 10:47:20 -08:00
Jason Volk
c8d1fa5170 include/ircd/Makefile: Use expression for gch removal. 2019-10-14 10:27:19 -07:00
Jason Volk
d44da6c8fd ircd::ctx: Add inline redefinition of coroutine_context::jump(). 2019-10-10 19:34:01 -07:00
Jason Volk
7afb295c09 ircd::ctx: Partial inline continuation. 2019-10-10 19:33:49 -07:00
Jason Volk
e1e67f7603 ircd:Ⓜ️🆔 Inline ctors with missy jumps. 2019-10-09 22:15:49 -07:00
Jason Volk
864afd78e4 ircd::ctx: Fix trivial branch sequence causing L2 => I1 miss; hot section. 2019-10-09 22:07:17 -07:00
Jason Volk
7e21c1c8db ircd::ctx: Ensure assert_critical() callsite DCE in non-debugmode. 2019-10-09 16:30:08 -07:00
Jason Volk
51e62a56f6 ircd::net::socket: Switch to deadline timer. 2019-10-08 19:30:48 -07:00
Jason Volk
c0fc0a1cad ircd::prof: Add interface to pressure stall information on linux platforms. 2019-10-08 19:30:48 -07:00
Jason Volk
8d1f10f8b4 ircd: Support explicit float lex_cast. 2019-10-08 16:59:31 -07:00
Jason Volk
b82123e09a ircd::util: Prevent section creation std::function wrapper in ~unwind. 2019-10-08 14:56:23 -07:00
Jason Volk
1d1f04126b ircd:Ⓜ️:dbs: Add _event_state column. 2019-10-05 22:24:21 -07:00
Jason Volk
e5f72b7855 ircd::db::database::env: Fix linkage of fs::evict() options argument related. 2019-10-05 18:02:15 -07:00
Jason Volk
2b2374db6c ircd: Split all non-matrix definitions back to lib; rename module to net_dns_cache. 2019-10-05 17:37:44 -07:00
Jason Volk
9e3c9be5a8 ircd::server: Minor cleanup of init related. 2019-10-05 16:21:06 -07:00
Jason Volk
7ec7390211 ircd:Ⓜ️:init::backfill: Fix interface; reenable for primary. 2019-10-04 14:36:52 -07:00
Jason Volk
1f88439bc1 ircd:Ⓜ️:homeserver: Additional my_ tools. 2019-10-04 13:55:06 -07:00
Jason Volk
1add5349ac ircd:Ⓜ️:homeserver:🔑 Add the verify_keys generation subroutine. 2019-10-04 13:55:06 -07:00
Jason Volk
6f798df65c ircd:Ⓜ️:homeserver: Refactor conf related; patch self:: related; console cmds. 2019-10-04 13:49:37 -07:00
Jason Volk
08ea932c59 ircd:Ⓜ️ Simplify/remove homeserver::rooms related. 2019-10-04 12:48:02 -07:00
Jason Volk
723997fd2e ircd:Ⓜ️:homeserver: Additional construction; bootstrap related. 2019-10-03 12:15:23 -07:00
Jason Volk
8764f523d4 ircd:Ⓜ️:vm: Move core from modules to matrix; split units. 2019-10-03 12:14:29 -07:00
Jason Volk
cfc76f1777 ircd::net::dns: Move resolver into libircd proper. 2019-10-03 12:14:29 -07:00
Jason Volk
d71ffa6338 ircd::ed25519: Use string_view for path ctor. 2019-10-02 18:16:55 -07:00
Jason Volk
a3cf1dfa30 ircd::fmt: Introduce the format string literal operator. 2019-10-02 18:16:55 -07:00
Jason Volk
e7c66d86d9 ircd::run: Add another runlevel; eliminate main callback; simplify. 2019-10-02 16:49:30 -07:00
Jason Volk
dbb3c55db5 matrix: Add m::homeserver; preliminary virtual origin networks. 2019-10-01 17:56:01 -07:00
Jason Volk
e28a3d7f7a ircd::mods: Add comparison operator suite for module instance. 2019-10-01 17:56:01 -07:00
Jason Volk
9c49e8bdb5 ircd:Ⓜ️ Remove tls fingerprint related. 2019-09-30 20:38:57 -07:00
Jason Volk
60b2de8ef4 ircd::run: Add main event callbacks. 2019-09-30 14:41:15 -07:00
Jason Volk
7fd40513f4 ircd::util::callbacks: Add default void prototype to template. 2019-09-30 14:23:28 -07:00
Jason Volk
035ec56bc3 ircd::net::acceptor: Condition accepted SNI from listener's certificate for now. 2019-09-30 14:23:28 -07:00
Jason Volk
d45b18f3e8 ircd::openssl: Add getters for X509 from SSL_CTX. 2019-09-30 14:23:28 -07:00
Jason Volk
43a86a428c ircd::net::acceptor: Split/cleanup the acceptor configuration related. 2019-09-30 14:23:28 -07:00
Jason Volk
01af00bae0 ircd::ctx: Preliminary trilean logic concept (WIP). 2019-09-30 14:23:28 -07:00
Jason Volk
36b621e72b ircd::ctx: Minor fix inconsistent header HAVE_ defines. 2019-09-30 14:23:28 -07:00
Jason Volk
31ee90c056 ircd:Ⓜ️:self: Move the signoff/signon greeting to self.cc. 2019-09-30 14:23:28 -07:00
Jason Volk
ad195ef8a4 Fix build / Makefile related errors. 2019-09-30 14:23:28 -07:00
Jason Volk
0b0e903dc7 construct: Add matrix unit; move instance out from ircd. 2019-09-30 14:23:28 -07:00
Jason Volk
85845dcff2 Abstract ircd::resource from ircd:Ⓜ️:resource; fix header stack. 2019-09-29 14:00:02 -07:00
Jason Volk
10854b2886 ircd::http: Add format string error ctor template. 2019-09-28 14:12:53 -07:00
Jason Volk
5f4d8afd86 ircd:Ⓜ️:user: Remove noexcept for I/O interrupt; minor cleanup. 2019-09-28 01:19:25 -07:00
Jason Volk
98d04ebb2f ircd::util::callbacks: Add note to comment. 2019-09-27 21:40:19 -07:00
Jason Volk
8259ac6a31 ircd:Ⓜ️ Improve fetch init/fini for now. 2019-09-27 21:18:07 -07:00
Jason Volk
f6992ca3e1 matrix: Split matrix base unit. 2019-09-27 19:35:26 -07:00
Jason Volk
183e44e0b6 modules: Distill all API's from modules up to matrix lib. 2019-09-27 19:35:26 -07:00
Jason Volk
d3809d43e5 Reorganize Makefiles. 2019-09-27 19:35:26 -07:00
Jason Volk
89e0a7fc82 ircd: Move matrix application related to derived library. 2019-09-27 19:35:26 -07:00
Jason Volk
7934756858 ircd:Ⓜ️ Split user registration API from client/register; minor reorg. 2019-09-27 19:35:26 -07:00
Jason Volk
7d1da07894 ircd::net::wait: Simplify ctor stack for noexcept suggestion. 2019-09-26 14:03:43 -07:00
Jason Volk
0b4ec3873c ircd:Ⓜ️:room: Make inline ctor noexcept. 2019-09-26 14:03:43 -07:00
Jason Volk
d8bfacd128 ircd::fs: Add missing base path for RB_LIB_DIR. 2019-09-25 17:09:05 -07:00
Jason Volk
33b57e48ba include/ircd: Add -x c++-header to PCH cxxflags. 2019-09-25 09:43:33 -07:00
Jason Volk
6dcdbba06b ircd::magick: Minor cleanup. 2019-09-24 18:34:03 -07:00
Jason Volk
8880eadfd5 ircd:Ⓜ️:room::events: Additional prefetch()/preseek() related interfaces. 2019-09-24 15:46:11 -07:00
Jason Volk
4254960ee1 ircd:Ⓜ️ Simplify m::visible(); refactor implementation. 2019-09-24 15:16:19 -07:00
Jason Volk
9cb0f46440 ircd:Ⓜ️:room::events: Cleanup/simplify; reorg interface. 2019-09-24 14:31:14 -07:00
Jason Volk
575bacee8d ircd:Ⓜ️:room::events: Simplify count() suite. 2019-09-23 23:26:07 -07:00
Jason Volk
f86b129ea6 ircd::json::stack: Add class member counters; assertions; conditions. 2019-09-23 20:11:20 -07:00
Jason Volk
8ec205b4b5 ircd::resource::response::chunked: Further elaborate the class. 2019-09-23 19:46:32 -07:00
Jason Volk
f9e5ece672 ircd:Ⓜ️:get: Fix false assertion when no result. 2019-09-22 21:13:45 -07:00
Jason Volk
39ade19ae3 ircd::ctx: Switch from steady_timer to deadline_timer. 2019-09-22 20:59:54 -07:00
Jason Volk
320af9e9b8 ircd::ctx: Add context::DEFER flag; cleanup ios::descriptor set. 2019-09-22 18:28:07 -07:00
Jason Volk
2f88540f3c ircd::ctx: Expose critical_assertion related details. 2019-09-22 17:35:20 -07:00
Jason Volk
a20659b1d8 ircd::ios: Profile the latency of handler execution. 2019-09-22 16:27:54 -07:00
Jason Volk
2be2d7ca8c ircd::util: Allow integer index on all overloads for precooked format strings. 2019-09-22 16:09:15 -07:00
Jason Volk
41646091f8 ircd::ctx: Experimental mitigations for return address misprediction on context switch. 2019-09-22 16:09:15 -07:00
Jason Volk
71a59d20e0 ircd::prof: Add a scope_cycles utility device. 2019-09-21 12:15:31 -07:00
Jason Volk
08ef760266 ircd::prof: Split type struct into header. 2019-09-21 12:14:01 -07:00
Jason Volk
a9a77f86d1 ircd: Inline single jump without LTO for now. 2019-09-21 12:14:01 -07:00
Jason Volk
ea1a18adfe ircd::ios: Minor cleanup; remove cruft. 2019-09-21 12:14:01 -07:00
Jason Volk
5b28f51d1e ircd::db::prefetcher: Move all counters into a dedicated structure. 2019-09-20 11:12:16 -07:00
Jason Volk
99d080767f ircd: Add interface to backtrace(3). 2019-09-19 22:07:41 -07:00
Jason Volk
15c4c3cc63 ircd::util: Additional noexcept ctor. 2019-09-19 22:07:41 -07:00
Jason Volk
71a56fecb7 ircd: Move demangle() out of util. 2019-09-19 16:37:45 -07:00
Jason Volk
083493dd1c ircd:Ⓜ️:room: Minor cleanup; move ctor defs out of class. 2019-09-19 11:31:10 -07:00
Jason Volk
dc5a335968 ircd::db::prefetcher: Add fetched byte counters; accumulated timers. 2019-09-18 22:25:05 -07:00
Jason Volk
9d2e506253 ircd::db: Add direct-dispatch if request worker available; various optimizations. 2019-09-18 20:23:34 -07:00
Jason Volk
e2ed860c04 ircd::ctx::pool: Add wouldblock() convenience to interface. 2019-09-18 20:05:51 -07:00
Jason Volk
35d39a7d70 ircd::db: Move prefetcher to header; reorg definitions; minor reorg. 2019-09-18 15:15:02 -07:00
Jason Volk
c12205e39b ircd:Ⓜ️:room::state: Refactor the prefetch() interface. 2019-09-18 13:39:02 -07:00
Jason Volk
83cce03f6f ircd:Ⓜ️:room::state: Add prefetch() support to state::history/state::space. 2019-09-18 13:30:15 -07:00
Jason Volk
601f26983e ircd:Ⓜ️ Support vector of membership states in optimal aggregate query. 2019-09-18 12:30:51 -07:00
Jason Volk
0d25e68c50 ircd:Ⓜ️ Support query for non-membership with empty string to interface. 2019-09-18 12:30:51 -07:00
Jason Volk
11699baff0 ircd:Ⓜ️ Consolidate m::membership() suite to header; minor cleanup. 2019-09-18 12:30:50 -07:00
Jason Volk
41cfb47de4 ircd: Add strncpy++ tool. 2019-09-18 09:50:14 -07:00
Jason Volk
e94a21aa7d ircd:Ⓜ️:redacted: Add prefetch() to interface. 2019-09-17 21:06:03 -07:00
Jason Volk
26154de7c4 ircd:Ⓜ️:event::refs: Add prefetch() to interface. 2019-09-17 21:06:03 -07:00
Jason Volk
a3163a5ae7 ircd:Ⓜ️ Use util::boolean for m::redacted. 2019-09-17 21:06:03 -07:00
Jason Volk
b3323c3f8d ircd:Ⓜ️:event::append: Add option to bypass redaction query. 2019-09-17 20:17:37 -07:00
Jason Volk
dc1364c735 ircd:Ⓜ️:media::block: Add zero-copy block::get() closure. 2019-09-17 20:17:37 -07:00
Jason Volk
e267b5232d ircd:Ⓜ️:media::block: Add prefetch() to interface. 2019-09-17 11:35:50 -07:00
Jason Volk
6102c0a8b2 ircd:Ⓜ️:room::events: Improve comment [skip ci]. 2019-09-17 11:03:30 -07:00
Jason Volk
b3f646b478 ircd:Ⓜ️:room::events: Add prefetch() convenience to interface. 2019-09-17 10:35:58 -07:00
Jason Volk
a9b86c5594 ircd:Ⓜ️:fetch: Add an attempt_limit option to interface; minor cleanup. 2019-09-16 12:30:36 -07:00
Jason Volk
49ed79e9df ircd:Ⓜ️:fetch: Rename opts::limit to opts::backfill_limit. 2019-09-16 12:09:30 -07:00
Jason Volk
568a2881df ircd:Ⓜ️:event::refs: Branch on the event_idx sentinel here. 2019-09-15 20:21:17 -07:00
Jason Volk
b4b07debbd ircd:Ⓜ️:event::append: Add option to elide query for state prev_content. 2019-09-15 19:47:03 -07:00
Jason Volk
ea33e0326e ircd:Ⓜ️:rooms::summary: Refactor for per-origin result synthesis and learning. 2019-09-15 14:59:36 -07:00
Jason Volk
6450d38c04 ircd:Ⓜ️:rooms: Split rooms::summary header. 2019-09-14 17:44:49 -07:00
Jason Volk
35c37f6a67 ircd::buffer: Add boolean operators. 2019-09-14 17:15:56 -07:00
Jason Volk
398851af68 ircd::server::tag: Use explicit move assignment operations. 2019-09-14 16:55:57 -07:00
Jason Volk
9319df1a1b ircd:Ⓜ️:rooms::summary: Export state key manip utils to interface. 2019-09-14 16:08:33 -07:00
Jason Volk
5493376731 ircd:Ⓜ️ Start a search namespace; add spec tuple. 2019-09-14 13:51:24 -07:00
Jason Volk
8dac4c5a03 ircd::info: Add section label comment. [skip ci] 2019-09-14 12:17:07 -07:00
Jason Volk
56c025ab7b ircd::net::socket: Minor cleanup; move warning into unlikely branch. 2019-09-14 12:17:07 -07:00
Jason Volk
6da9219039 ircd:Ⓜ️:feds: Give the op enum more prominence. 2019-09-13 23:16:07 -07:00
Jason Volk
a2ffebeb06 ircd:Ⓜ️:rooms::summary: Use server name as fetch target. 2019-09-13 18:41:06 -07:00
Jason Volk
1f82e009b7 ircd::json: Deinline member ctor. 2019-09-13 16:32:26 -07:00
Jason Volk
0c45fb827d ircd:Ⓜ️:vm: Add a specific edu option to vmopts. 2019-09-13 15:26:44 -07:00
Jason Volk
54c29274f2 ircd:Ⓜ️:room::server_acl: Propagate exceptions through check(). 2019-09-13 14:10:27 -07:00
Jason Volk
a280350dee ircd::net: Fix the asio callback and error_code interp on socket waits. 2019-09-13 12:44:59 -07:00
Jason Volk
b19ed6854b ircd::net: Consolidate all eof error_code related. 2019-09-13 12:44:59 -07:00
Jason Volk
d6a2328fa0 ircd::server::tag: Use unique_buffer for cancellation mgmt. 2019-09-12 18:37:33 -07:00
Jason Volk
9c68d01d86 ircd:Ⓜ️:room: Remove cruft. 2019-09-12 11:57:42 -07:00
Jason Volk
dcab8eb08e ircd::prof: Remove cruft; minor cleanup. 2019-09-12 10:18:51 -07:00
Jason Volk
2110f7e632 ircd::server: Declare associating ctor noexcept (-Wnoexcept). 2019-09-11 18:07:55 -07:00
Jason Volk
fac2a1e070 ircd:Ⓜ️:vm::eval: Add count(event_id) to static interface. 2019-09-11 12:51:54 -07:00
Jason Volk
0241f2b9a1 ircd:Ⓜ️:room::members: Add host argument to interface stack for more efficient queries. 2019-09-11 10:53:48 -07:00
Jason Volk
71f922d3a1 ircd::server: Qualify noexcept interface functions. 2019-09-10 16:54:41 -07:00
Jason Volk
949c765cd9 ircd::ctx: Additional internal wrappers in hot section. 2019-09-10 15:23:44 -07:00
Jason Volk
ec4c6c46ac ircd:Ⓜ️:vm: Partial revert of a35328f38; remove mutex; use sequencing. 2019-09-10 14:45:54 -07:00
Jason Volk
87fd0f04ea ircd::ctx::mutex: Add deadlock assertion on lock. 2019-09-10 12:12:10 -07:00
Jason Volk
fcb4f6c5f4 ircd::ctx::mutex: Add waiting(ctx) to interface. 2019-09-10 11:06:16 -07:00
Jason Volk
ba11205f2c ircd::ctx::dock: Add query to find if ctx is waiting on dock. 2019-09-10 11:06:16 -07:00
Jason Volk
efdc626495 ircd::ctx::list: Add typedefs for iteration suite closures. 2019-09-10 11:06:16 -07:00
Jason Volk
b6149b429e ircd::ctx::dock: Add noexcept to interface observers.
ircd::ctx: Propagate noexcept on hot leafs;

ircd::ctx::list: Deinline size().
2019-09-10 11:06:11 -07:00
Jason Volk
ac572aeeaa ircd:Ⓜ️ Add branch and overload for event::id in room_id() suite. 2019-09-09 19:34:27 -07:00
Jason Volk
bd1b060314 ircd::json: Split some print_error cases into print_panic; relax print_error; minor cleanup. 2019-09-09 19:03:23 -07:00
Jason Volk
a35328f384 ircd:Ⓜ️:vm: Add inner lock around write commitment. 2019-09-08 19:58:58 -07:00
Jason Volk
002e7aae1a ircd::http: Add code 410 Gone. 2019-09-08 19:58:58 -07:00
Jason Volk
42d56a7bac ircd::ctx: Fix inconsistent refcount() behavior. 2019-09-08 18:22:05 -07:00
Jason Volk
a6747ad3a0 ircd::ctx::promise_base: Add refcount(promise_base&) to suite. 2019-09-08 16:33:38 -07:00
Jason Volk
5b2216fb63 ircd::ctx::shared_state_base: Add assertions; comments; minor cleanup. 2019-09-08 16:31:21 -07:00
Jason Volk
fda4c9d0ce ircd:Ⓜ️:append: Add some \briefs. [skip ci] 2019-09-08 15:33:56 -07:00
Jason Volk
82ef916256 ircd:Ⓜ️:events: Add rebuilder for type/sender meta columns. 2019-09-07 20:35:27 -07:00
Jason Volk
2739696e8f ircd:Ⓜ️:rooms: Add options construction from string; simplify. 2019-09-07 20:05:48 -07:00
Jason Volk
415491b9b6 ircd:Ⓜ️:rooms: Improve options interface for meta-characteristics. 2019-09-07 16:56:17 -07:00
Jason Volk
d1a64471a2 ircd:Ⓜ️:room::members: Move the present join optimization implementation from origins. 2019-09-07 16:56:17 -07:00
Jason Volk
f186fb6e12 ircd:Ⓜ️:room: Redefine and expand the local_only(room) suite. 2019-09-07 16:06:45 -07:00
Jason Volk
34de10317b ircd: Add info::versions instances for self API and ABI. 2019-09-07 14:10:01 -07:00
Jason Volk
463570bef1 ircd::info: Minor reorder declarations. 2019-09-07 14:02:51 -07:00
Jason Volk
0a4cfc59be ircd::ctx: Minor cleanup; tweak promise union; noexcept and linkage for ctors. 2019-09-07 13:45:43 -07:00
Jason Volk
844bf46a5c ircd::server: Add a canceled tag reaper. 2019-09-06 20:10:09 -07:00
Jason Volk
5ead261243 ircd::server:🔗 Add read_ts and write_ts last operation timestamp. 2019-09-06 19:56:18 -07:00
Jason Volk
6a59036f4e ircd:Ⓜ️🧾 Reorg/rename interface; simplify impl; add options argument.
ircd:Ⓜ️🧾 Remove central linkage cruft for interface.
2019-09-06 11:57:02 -07:00
Jason Volk
425aa83900 ircd:Ⓜ️:rooms: Add options for user_id / room_alias related. 2019-09-05 21:36:16 -07:00
Jason Volk
dfdee1eac9 ircd:Ⓜ️ Consolidate viewport calculation data sources; signed integer conf item. 2019-09-05 21:36:16 -07:00
Jason Volk
6831f195aa ircd:Ⓜ️:room::events: Add viewport metric concept; conf item. 2019-09-05 18:10:44 -07:00
Jason Volk
c570e04622 ircd:Ⓜ️:event::prev: Add _events_exist() convenience suite. 2019-09-05 18:10:44 -07:00
Jason Volk
f67eafd078 ircd:Ⓜ️:vm::fetch: Remove/reorg stale fetch related options. 2019-09-05 18:10:44 -07:00
Jason Volk
9adba1b9dc ircd::ctx: No need for mutable here. 2019-09-03 22:07:50 -07:00
Jason Volk
1210523757 ircd::ctx: Support shared futures. 2019-09-03 15:56:14 -07:00
Jason Volk
74679a3a5f ircd:Ⓜ️:fetch: Fix initialization order for server::request buf; add linkage for dtor. 2019-09-03 14:43:34 -07:00
Jason Volk
71edd9adee ircd::util: Add maybe() exception tool. 2019-09-03 12:15:44 -07:00
Jason Volk
ebfaa508fd ircd::ctx::ole: Move opts outside offload; reorg; minor cleanup. 2019-09-03 11:10:30 -07:00
Jason Volk
02009c4aa9 ircd::buffer: Cleanup/simplify shared_buffer. 2019-09-03 10:07:08 -07:00
Jason Volk
8642d2da0d ircd: Add comment in debugtrap asm. 2019-09-03 10:07:07 -07:00
Jason Volk
3c45487611 ircd::ctx: Improve readme paragraph. 2019-09-01 21:06:30 -07:00
Jason Volk
fc98bbc641 ircd::util: Add mutable_cast convenience template. 2019-09-01 21:06:30 -07:00
Jason Volk
f211cc7429 Revert "ircd::ctx: Create vtables for promise and future."
This reverts commit d119d9a8c6.
2019-09-01 21:06:30 -07:00
Jason Volk
062ea9ddf5 ircd::buffer: Support aligned allocations and aligned unique_buffer conversion. 2019-09-01 21:06:30 -07:00
Jason Volk
7e3b5db06a ircd::buffer: Add unique to shared buffer conversion. 2019-08-31 22:54:49 -07:00
Jason Volk
52fd0d1b2e ircd:Ⓜ️:room::events::missing: Add limited iteration overload. 2019-08-31 00:17:11 -07:00
Jason Volk
003575c418 ircd:Ⓜ️:room::events: Rename missing to horizon; reimplement missing. 2019-08-30 23:43:34 -07:00
Jason Volk
1d835f2ed2 ircd:Ⓜ️:dbs: Minor reorder. 2019-08-30 23:09:21 -07:00
Jason Volk
217b2d51d5 ircd:Ⓜ️ Add additional horizon rebuilders. 2019-08-30 22:57:15 -07:00
Jason Volk
3d5b2ca262 ircd:Ⓜ️:room::events::missing: Add count() to interface. 2019-08-30 22:57:15 -07:00
Jason Volk
91862e381f ircd:Ⓜ️ Add additional query() convenience template. 2019-08-30 21:32:02 -07:00
Jason Volk
b38cf0012e ircd:Ⓜ️:event::horizon: Improve some comments. 2019-08-30 21:31:40 -07:00
Jason Volk
10cb380473 ircd:Ⓜ️:room::events: Reorg sounding / gaps related interfaces; reorder definitions. 2019-08-30 19:41:48 -07:00
Jason Volk
6775ee2f3b ircd:Ⓜ️:room: Move m::room::events non-member tools to module; rename/reorg count(). 2019-08-30 16:21:50 -07:00
Jason Volk
a52ad73e87 ircd:Ⓜ️:room: Rename room::messages to room::events. 2019-08-30 14:43:19 -07:00
Jason Volk
fc61fd6b70 ircd:Ⓜ️:fetch: Add backfill support; minor reorg. 2019-08-29 22:14:08 -07:00
Jason Volk
a93f5a54d6 ircd:Ⓜ️:fetch: Support v1::event_auth operation with interface. 2019-08-29 22:14:07 -07:00
Jason Volk
9b23b4d907 ircd:Ⓜ️:fetch: Add remote hinting to fetch::opts. 2019-08-29 22:14:07 -07:00
Jason Volk
ac573cd21d ircd:Ⓜ️:fetch: Cleanup/document interface; add basis for operation abstraction. 2019-08-29 21:32:10 -07:00
Jason Volk
fb8e3de485 ircd:Ⓜ️:fed::event: Minor cleanup. 2019-08-29 18:27:08 -07:00
Jason Volk
b39676f85a ircd: Add some timepoint convenience macros. 2019-08-29 17:12:15 -07:00
Jason Volk
7be4137c7e ircd:Ⓜ️:feds: Add some comments/documentation. [skip ci] 2019-08-29 14:18:49 -07:00
Jason Volk
d119d9a8c6 ircd::ctx: Create vtables for promise and future. 2019-08-29 14:17:46 -07:00
Jason Volk
035dbbab88 ircd:Ⓜ️:typing: Add user control over sending and receiving typing events per room. 2019-08-28 16:48:36 -07:00
Jason Volk
04b17bc9d7 ircd:Ⓜ️:typing: Interface cleanup. 2019-08-28 16:48:36 -07:00
Jason Volk
7b33dd1775 ircd:Ⓜ️🧾 Add briefs on interface. 2019-08-28 14:57:26 -07:00
Jason Volk
1323b30f34 ircd:Ⓜ️:fetch: Move auth_chain() to vm::fetch module. 2019-08-27 20:58:52 -07:00
Jason Volk
766dfe027d ircd:Ⓜ️:keys::cache: Add has() to interface. 2019-08-27 16:26:58 -07:00
Jason Volk
9f95c3233b ircd::db: Update defaults.
ircd:Ⓜ️:dbs: Add custom sizes for _event_json.
2019-08-26 22:40:13 -07:00
Jason Volk
c57bc9077c ircd:Ⓜ️:fetch: Add future result interface; refactor eval out of flow. (fixes #103) (closes #131)
modules: Split m_vm_fetch from m_fetch.
2019-08-26 16:17:09 -07:00
Jason Volk
13e2d56850 ircd::ctx::future: Ensure value is moved out. 2019-08-26 13:10:12 -07:00
Jason Volk
f073657b5a ircd::db: Add granular compaction size related to column descriptor. (#13) 2019-08-26 12:14:26 -07:00
Jason Volk
b95a7a8a9e ircd::exception: Add hide_name construction overload to macro. 2019-08-26 11:10:30 -07:00
Jason Volk
9b5ffb0b1f modules: Split m::createroom related from client/. 2019-08-25 19:44:00 -07:00
Jason Volk
875b03fa1e ircd:Ⓜ️:room: Simplify prototypes. 2019-08-25 19:44:00 -07:00
Jason Volk
885499ad99 ircd:Ⓜ️:room: Start a spec faithful display_name(room) diagnostic. 2019-08-25 16:05:10 -07:00
Jason Volk
42b689a7a0 ircd:Ⓜ️:room::power: Document with some usage details. 2019-08-25 15:22:43 -07:00
Jason Volk
954fed8bba ircd::stringops: Mark the has() template inline to avoid plt. 2019-08-24 16:49:01 -07:00
Jason Volk
4c924b2a43 ircd::util: Add the construction utility device. 2019-08-24 16:49:01 -07:00
Jason Volk
8ad0d46cff ircd:Ⓜ️:room::state: Move rebuild iterations out from interface. 2019-08-22 08:02:17 -07:00
Jason Volk
652ffa8ea2 ircd:Ⓜ️:room::state: Improve coarse rebuild interface. 2019-08-22 06:02:02 -07:00
Jason Volk
4dba866c64 ircd:Ⓜ️:room::auth: Rename to M_AUTH_FAIL. 2019-08-22 03:15:59 -07:00
Jason Volk
118efe5cc7 ircd:Ⓜ️:room::state: Remove cruft. 2019-08-22 02:38:29 -07:00
Jason Volk
061b85de5b ircd:Ⓜ️:room::auth: Reorg check() stack interface related. 2019-08-22 02:25:03 -07:00
Jason Volk
065c0bd426 ircd:Ⓜ️:media: Start a weak central interface; move core utils into namespace. 2019-08-22 01:53:28 -07:00
Jason Volk
3a36d847eb ircd::rfc3986: Use a namespace rather than struct here. 2019-08-22 01:25:43 -07:00
Jason Volk
15dc7d17ef modules/m_event: Add pretty_stateline() for state event detail. 2019-08-21 00:40:20 -07:00
Jason Volk
063bd39b09 ircd:Ⓜ️:room::auth: Remove noexcept on interface for IO termination propagation. 2019-08-20 22:26:52 -07:00
Jason Volk
5e87a2e941 ircd:Ⓜ️:room::auth: Improve error hierarchy. 2019-08-20 22:26:52 -07:00
Jason Volk
7e8d8666ff ircd:Ⓜ️:room::state: Add additional event::idx based tools. 2019-08-20 21:36:36 -07:00
Jason Volk
87a35a5a41 ircd: Add ago() convenience to timedate suite. 2019-08-20 21:23:18 -07:00
Jason Volk
fd953d4b10 ircd:Ⓜ️:events::type: Add has()/has_prefix() to interface. 2019-08-20 21:23:18 -07:00
Jason Volk
204989802d ircd:Ⓜ️:events: Split and reorganize API sections into specific namespaces. 2019-08-20 21:23:18 -07:00
Jason Volk
0e956dbaca ircd:Ⓜ️:dbs: Start a directory README; add some comments. 2019-08-20 21:23:18 -07:00
Jason Volk
ac03c9a13b ircd: Use bool return values through prefetching stack. 2019-08-19 21:18:26 -07:00
Jason Volk
e58434705e ircd:Ⓜ️:dbs: Augment event_sender with a second key domain. 2019-08-19 18:40:12 -07:00
Jason Volk
0c317bdf9d ircd:Ⓜ️:room::state::space: Add nullary count() to interface. 2019-08-18 08:33:00 -07:00
Jason Volk
e38371d50c ircd:Ⓜ️:room: Add basic count() suite. 2019-08-18 08:20:11 -07:00
Jason Volk
abca51deea ircd:Ⓜ️:room::power: Add cheap composer for augmented default power_levels content. 2019-08-18 06:38:10 -07:00
Jason Volk
52657ca410 ircd:Ⓜ️:room::auth::chain: Simplify interface. 2019-08-18 05:46:42 -07:00
Jason Volk
cb94558c4a ircd:Ⓜ️:fed: Remove opts inline constructor due to shared linkage issues. 2019-08-18 04:13:12 -07:00
Jason Volk
8454ae0275 ircd:Ⓜ️:room::head: Simplify interface; move to module. 2019-08-18 03:09:34 -07:00
Jason Volk
59618c6a44 ircd:Ⓜ️ Move event::auth to room::auth; move to module. 2019-08-18 03:09:34 -07:00
Jason Volk
7fa5948fd3 modules/vm: Check auth during eval. 2019-08-17 08:34:46 -07:00
Jason Volk
1541b2d52e ircd:Ⓜ️:user: Move rooms::origins to user::servers interface. 2019-08-17 02:59:13 -07:00
Jason Volk
34e87c08c3 ircd:Ⓜ️:user::mitsein: Simplify interface. 2019-08-17 02:59:13 -07:00
Jason Volk
16f1ba2b11 ircd:Ⓜ️:vm: Fix dependence on room_id without bypass mechanism in injector. 2019-08-17 02:59:13 -07:00
Jason Volk
c760eb0a12 ircd:Ⓜ️:vm: Use bitmask of properties to generate in vm::copts. 2019-08-17 00:44:14 -07:00
Jason Volk
1c0f947211 ircd::json: Add name-based operations to tuple::keys::selection. 2019-08-17 00:39:12 -07:00
Jason Volk
3a0bfc8db9 ircd:Ⓜ️:user::room: Add a one-liner is(user_room) test. 2019-08-16 23:54:04 -07:00
Jason Volk
100f5c646a ircd:Ⓜ️:sync: Fix phased polylog invocation conditions; eliminate initial flag. (#105) 2019-08-16 04:50:39 -07:00
Jason Volk
fc742ae2d0 ircd: Fix warning/error.
ircd: Minor cleanup.
2019-08-16 03:32:13 -07:00
Jason Volk
125ff95875 ircd:Ⓜ️:room::state: Simplify util interface arguments. 2019-08-16 02:25:50 -07:00
Jason Volk
d17286515b ircd:Ⓜ️:room::state: Simplify/consolidate iteration interface. 2019-08-16 02:19:49 -07:00
Jason Volk
2532f7f5e2 ircd::fs::aio: Add submit_coalesce conf item. 2019-08-16 02:19:49 -07:00
Jason Volk
cd347d53cb ircd:Ⓜ️:create: Add a central room_version default conf item. 2019-08-16 02:19:48 -07:00
Jason Volk
aaa015c6b8 ircd:Ⓜ️:name: Add room_version as a property name. 2019-08-16 02:19:48 -07:00
Jason Volk
a8b3e29cac ircd: Apply noexcept on various constexpr callstacks. 2019-08-15 00:05:48 -07:00
Jason Volk
7fb0958080 ircd::json::tuple: Split additional non-member templates into header; constexpr member get()/at(). 2019-08-15 00:05:48 -07:00
Jason Volk
7420bf1156 ircd::vector_view: Add assertion for bounds check here. 2019-08-14 22:33:41 -07:00
Jason Volk
0aacf44440 ircd::resource: Document/comment resource response classes. 2019-08-14 22:33:41 -07:00
Jason Volk
1c42206307 ircd:Ⓜ️:feds: Add an exclude_myself option. 2019-08-14 01:52:32 -07:00
Jason Volk
3d808022ed ircd:Ⓜ️:feds: Rename interface function. 2019-08-14 01:26:02 -07:00
Jason Volk
fca330e1c1 ircd:Ⓜ️:room: Reorg / slim the class member function interface.
ircd:Ⓜ️:room: Rename interface function.
2019-08-14 01:09:34 -07:00
Jason Volk
c95d1e56ee ircd:Ⓜ️:init: Add preliminary worker context loop for backfill unit. (#78) 2019-08-13 23:39:05 -07:00
Jason Volk
765ec46b91 ircd::ctx::promise: Inline trivial accessors; explicit bool operator. 2019-08-13 20:53:02 -07:00
Jason Volk
42b65fa271 ircd::ctx: Add noexcept specifications; tweak inlines. 2019-08-13 20:26:08 -07:00
Jason Volk
e7609afb7b ircd::ios: Add accessor to epoch counter. 2019-08-13 19:37:30 -07:00
Jason Volk
1bea1d2265 ircd:Ⓜ️:room::origins: Add empty(). 2019-08-13 05:35:42 -07:00
Jason Volk
74cef5d74d ircd:Ⓜ️:rooms: Add room::lonly() related to interface. 2019-08-13 05:09:14 -07:00
Jason Volk
6333c94fe0 ircd::info: Attempt to grab mlock rlimit; reorg log facilities and info dump. 2019-08-13 05:05:26 -07:00
Jason Volk
c7f9521a3f ircd:Ⓜ️:users: Rename for consistency. 2019-08-13 03:00:08 -07:00
Jason Volk
ea4d74967b ircd:Ⓜ️:events: Improve header comments.
ircd:Ⓜ️:dbs: Fix typos.
2019-08-13 01:22:13 -07:00
Jason Volk
84e79a64e6 ircd:Ⓜ️:rooms: Refactor interface; split rooms::summary; split module. 2019-08-12 23:55:07 -07:00
Jason Volk
0efc56c9c7 ircd::ctx::future: Add non-std get() w/ durations to avoid separate wait(). 2019-08-12 20:43:39 -07:00
Jason Volk
b4842da414 ircd::ctx::future: Restrict the future type cast operator; fix conflict. 2019-08-12 20:43:04 -07:00
Jason Volk
76889eab6e ircd:Ⓜ️:user::highlight: Add for_each() to interface; simplify stack (#87). 2019-08-12 04:10:28 -07:00
Jason Volk
f74ddd0171 ircd:Ⓜ️ Add back the id::NODE sigil; add to room_id() translation. 2019-08-12 01:39:16 -07:00
Jason Volk
f24bf54799 ircd:Ⓜ️ Eliminate the user::users room references. 2019-08-12 01:39:16 -07:00
Jason Volk
0c05241fec ircd:Ⓜ️:users: Refactor !users room out of the users:: interface. 2019-08-11 23:30:50 -07:00
Jason Volk
dffb03a562 ircd: Cleanup / simplify assert related interface. 2019-08-11 23:30:50 -07:00
Jason Volk
a2c05437d2 ircd::ctx: Export this_ctx down to ircd::. 2019-08-11 08:00:17 -07:00
Jason Volk
9a3f37c0af ircd:Ⓜ️:sync: Remove cruft. 2019-08-11 07:51:42 -07:00
Jason Volk
125f53872c ircd::fs: Preliminary io_uring infrastructure plumbing. 2019-08-11 01:39:30 -07:00
Jason Volk
8bce90fbf3 modules/client/keys/upload: Properly implement one_time_keys upload. (Fixes #9) 2019-08-09 23:34:20 -07:00
Jason Volk
060e46f8e4 ircd: Conditionally compile with gettimeofday().
ircd: Stronger embedding for time point samples.
2019-08-08 18:09:50 -07:00
Jason Volk
ca99df8edb ircd::assert: Always inline the debugtrap. 2019-08-08 16:12:52 -07:00
Jason Volk
3fe4baba4f ircd:Ⓜ️:user::highlight: Improve highlight matching quality. (Fixes #122) 2019-08-07 18:42:20 -07:00
Jason Volk
32ec94e29b ircd: Add ifind() to stringops suite. 2019-08-07 16:32:12 -07:00
Jason Volk
ac14be5a01 ircd:Ⓜ️:user::highlight: Match -at-room. (Closes #118) 2019-08-07 00:41:08 -07:00
Jason Volk
e0fec1e81d modules/client/sync: Add device_id to sync data. 2019-08-06 19:18:03 -07:00
Jason Volk
f3ada0ed9c ircd:Ⓜ️:device: Add access_token_to_id() lookup suite. 2019-08-06 18:33:42 -07:00
Jason Volk
14f16f2b0d ircd::fs: Support hole punching if available; add checks for allocate options. 2019-08-06 16:39:28 -07:00
Jason Volk
315276e3c4 ircd::info: Reorg/improve hardware information sampling. 2019-08-06 15:44:32 -07:00
Jason Volk
eddc5b3b55 ircd:Ⓜ️:event::append: Add properties mask to opts; centralize. (Fixes #119) 2019-08-05 17:54:00 -07:00
Jason Volk
a66db65a1d ircd: Tweak suggestion output; satisfy several suggestions. 2019-08-05 16:20:48 -07:00
Jason Volk
009d417273 ircd: Indicate noexcept on advised interfaces. 2019-08-05 16:19:20 -07:00
Jason Volk
c64bb6850c ircd::net: Fix/improve the v6/v4 check.
ircd::net: Add an is_null(ipport/ipaddr).

ircd::net: Improve the v6/v4 check efficiency.

ircd::net: Swap defaulting from v6 to v4 for better null address output.
2019-08-04 18:05:58 -07:00
Jason Volk
8dd0a22351 ircd: Add additional formatted microdate(). 2019-08-03 20:02:18 -07:00
Jason Volk
ac4e742010 ircd::log: Convert to hook architecture. 2019-08-03 18:36:42 -07:00
Jason Volk
2d83f2c201 ircd::util::callbacks: Add a callback convenience template. 2019-08-03 17:42:21 -07:00
Jason Volk
d394cd4d18 ircd::util::callbacks: Typedef access to the template class for derived classes. 2019-08-03 16:50:52 -07:00
Jason Volk
fa341c274e ircd::log: Add some minor comments / document. 2019-08-03 16:11:14 -07:00
Jason Volk
3dfb593dec modules/m_room_aliases: Consolidate state_key creation; case desensitize. 2019-08-02 22:01:00 -07:00
Jason Volk
be4a33c136 ircd:Ⓜ️🆔 Increase the buf SIZE constant to the next pow2. 2019-08-02 22:00:58 -07:00
Jason Volk
aa013ac526 ircd: Add string_view based tolower()/toupper(). 2019-08-02 21:02:40 -07:00
Jason Volk
d8fcbf7325 ircd:Ⓜ️ Reinterface append(event) into event::append; move to module. (#109) 2019-08-02 17:34:31 -07:00
Jason Volk
7c5ef32008 ircd::util: Add a strong boolean typedef customization. 2019-08-02 17:34:31 -07:00
Jason Volk
7b32e8bbad ircd:Ⓜ️:room::aliases::cache: Improve interface and simplify implementation callstack. 2019-08-02 16:18:01 -07:00
Jason Volk
efa586c424 ircd: Clarify clock types in comments; minor cleanup. 2019-08-02 15:30:06 -07:00
Jason Volk
8e5e599690 ircd:Ⓜ️ Relax exception propagation through event::refs. (Fixes #114) 2019-08-02 15:04:29 -07:00
Jason Volk
af48bdfa6e ircd::json: Stub an unescape(). 2019-08-02 15:04:29 -07:00
Jason Volk
fefaaca2c2 ircd::prof: Split header into directory.
ircd::prof: Split linux/perf_event specific to unit.
2019-07-31 19:43:09 -07:00
Jason Volk
7333be92ca ircd:Ⓜ️:typing: Simplify interface; fix linkages. 2019-07-30 14:21:26 -07:00
Jason Volk
3f5777897b ircd::util: Fix noexcept propagation through enum relaxation operators.
g++-9 warning
2019-07-30 13:46:22 -07:00
Jason Volk
ed56ef680a ircd:Ⓜ️:fed::user::keys::claim: Separate content creation functions from ctor.
ircd:Ⓜ️:fed::user::keys::query: Separate content creation functions from ctor.
2019-07-30 12:30:27 -07:00
Jason Volk
de986d2272 ircd::json::stack: Make completed() return a string_view instead of const_buffer. 2019-07-30 12:26:26 -07:00
Jason Volk
d806ef48db ircd::conf: Improve item maximum related constants. 2019-07-27 18:49:26 -07:00