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

3665 commits

Author SHA1 Message Date
Jason Volk
7669fd53d9 ircd::json: Move exception construction branch to unlikely seg; minor cleanup. 2020-02-12 14:34:26 -08:00
Jason Volk
72642ef556 ircd: Add PBC stub. 2020-02-11 15:47:18 -08:00
Jason Volk
3c9f0c82e7 ircd:Ⓜ️:matrix: Remove noexcept specifier for clang mangle resolution. 2020-02-11 12:19:32 -08:00
Jason Volk
0fd8019149 ircd::ctx: Use thread_local keyword for current. 2020-02-11 12:18:25 -08:00
Jason Volk
1ebe09f36b ircd::json: Resize value bitfields to alignment for movdqa. 2020-02-11 10:12:58 -08:00
Jason Volk
c4f294810c ircd::log: Remove duplicate condition for __assert_fail. 2020-02-10 18:54:59 -08:00
Jason Volk
04595054d8 ircd::json: Fix member constructor template. 2020-02-10 14:35:17 -08:00
Jason Volk
ab6672877d ircd::json: Move max_string_size constant to header. 2020-02-09 14:54:38 -08:00
Jason Volk
13469512c3 ircd::util: Disable undefined-var-template warning for clang. 2020-02-02 17:35:33 -08:00
Jason Volk
4f96fafe67 ircd::prof: Fix gnu_inline extern emission from clang. 2020-02-01 22:18:49 -08:00
Jason Volk
438dd21048 ircd::rfc3986: Increase visibility of grammar namespace for clang. 2020-02-01 22:18:49 -08:00
Jason Volk
e241ab9e51 ircd::assert: Deconflict extern keyword duality for clang. 2020-02-01 17:20:50 -08:00
Jason Volk
1b699745bb ircd::server: Fix syntax for clang. 2020-02-01 13:35:11 -08:00
Jason Volk
9d7e35adb1 ircd::util: Inline template definitions for clang. 2020-02-01 13:34:45 -08:00
Jason Volk
9e187f7406 ircd::db::prefetcher: Fix alignment attribution for clang. 2020-02-01 12:33:24 -08:00
Jason Volk
0c43394446 ircd::ctx::ole: Fix struct namespace error. 2020-02-01 12:31:37 -08:00
Jason Volk
0231e26c76 ircd: Add overloads for counted character leading/trailing strip. 2020-01-23 20:55:13 -08:00
Jason Volk
b0a773c922 ircd::db: Add conf item to repair on open. 2020-01-11 23:31:53 -08:00
Jason Volk
e2e4ea544b ircd::ctx: Move paragraph in README. 2020-01-11 23:31:53 -08:00
Jason Volk
5993c6cdf4 ircd:Ⓜ️:event::fetch: Minor cleanup. 2020-01-11 23:31:53 -08:00
Jason Volk
cdfdde3334 ircd::db: Add interface to checksum files per column.
modules/console: Add column params to db check cmd.
2020-01-08 12:32:56 -08:00
Jason Volk
ffcc49b9e5 ircd::db: Add interface to checksum per file. 2020-01-08 12:32:56 -08:00
Jason Volk
f952cecfbb ircd:Ⓜ️:vm: Add txnid to opts; propagate from federation send. 2020-01-06 17:01:21 -08:00
Jason Volk
d9c7985376 ircd:Ⓜ️:sync: Add next_batch central convenience; add branding to token. 2020-01-06 13:24:21 -08:00
Jason Volk
4ef3f6eab7 ircd::ctx: Add nice/ionice values to pool opts; propagate on spawn. 2020-01-06 12:19:38 -08:00
Jason Volk
78d300b3b7 ircd::ctx: Add nice/ionice values to context. 2020-01-06 12:19:38 -08:00
Jason Volk
68a56374e3 ircd:Ⓜ️:fed: Allow empty response to not throw in convenience cast. 2020-01-05 17:30:58 -08:00
Jason Volk
1245101a5b ircd: Undef legacy major/minor macros if included through sys/types.h. 2019-12-31 13:42:22 -08:00
Jason Volk
031f3e0a72 ircd::buffer: Add constructors which limit requested size to input buffer. 2019-12-31 11:23:20 -08:00
Jason Volk
316d668a58 ircd: Add always_assert() inline expression trap. 2019-12-26 14:41:43 -08:00
Jason Volk
37cde44d58 ircd::cbor: Reconstitute head reader and utils. 2019-12-26 11:43:01 -08:00
Jason Volk
45e5104a87 ircd::leb128: Add RB_GENERIC condition on platform intrinsics. 2019-12-21 14:37:41 -08:00
Jason Volk
189b5cfbcd ircd:Ⓜ️:keys: Add back tls_fingerprints due to reintroduction by matrix.org. 2019-12-21 14:34:28 -08:00
Jason Volk
ba5352e560 ircd:Ⓜ️:room: Add annotate() convenience reaction. 2019-12-11 14:09:22 -08:00
Jason Volk
6fa63f8bf0 ircd:Ⓜ️:room: Add react() convenience sender. 2019-12-11 14:07:24 -08:00
Jason Volk
bf2df9c223 ircd:Ⓜ️ Add a tuple structure for m_relates_to. 2019-12-11 11:01:11 -08:00
Jason Volk
4970e4f626 ircd::util::params: Support prefixed non-positional parameters. 2019-12-10 22:02:30 -08:00
Jason Volk
5b3cc11859 ircd::util::params: Modernize; remove allocation. 2019-12-10 17:51:14 -08:00
Jason Volk
8dfbe808d6 ircd:Ⓜ️:room::head: Add room version hint to opts to reduce query. 2019-12-10 12:06:54 -08:00
Jason Volk
5c74bfbd7f ircd:Ⓜ️:event: Add event::my(event::idx) query util; branch for event:🆔:host() use. 2019-12-10 12:06:54 -08:00
Jason Volk
7b3f0a1874 ircd:Ⓜ️:event::refs: Add note for fwd decl. [ci skip] 2019-12-10 11:37:09 -08:00
Jason Volk
12b340c093 ircd:Ⓜ️:room::head: Elaborate the prev_events generating interface; add features. 2019-12-10 11:37:09 -08:00
Jason Volk
a32e05e9c4 ircd::util: Increase constness; remove default template arguments on definition. 2019-12-04 23:28:29 -08:00
Jason Volk
df79d61395 ircd::util: Elide std::function overhead for util::unwind suite. 2019-12-03 13:39:49 -08:00
Jason Volk
21ad249f74 ircd:Ⓜ️:event::fetch: Move default opts ctor out of line. 2019-12-03 12:09:25 -08:00
Jason Volk
1a22309919 ircd::resource: Add doxygen brief for suite; also note abstraction leak. 2019-12-02 17:50:11 -08:00
Jason Volk
66934f317a ircd::json::stack: Track and assert the running recursion level. 2019-12-01 21:37:22 -08:00
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