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

3720 commits

Author SHA1 Message Date
Jason Volk
3b2342e001 ircd:Ⓜ️:room::origins: Simplify callstack; remove unused iteration. 2020-03-09 14:41:36 -07:00
Jason Volk
a4f18fcd00 ircd::mods::ldso: Add loaded check using the dlfcn method. 2020-03-08 18:55:33 -07:00
Jason Volk
49dc7e77f2 ircd:Ⓜ️:media: Use abstract federation request for media downloads. 2020-03-07 21:33:44 -08:00
Jason Volk
63aa71ce58 ircd:Ⓜ️:fed: Implement federation 3.1 well-known for server name resolution. 2020-03-07 21:33:44 -08:00
Jason Volk
55ffdddc6a ircd:Ⓜ️:fed: Refactor all interfaces using abstract request. 2020-03-07 21:33:44 -08:00
Jason Volk
c0a5a7a89e ircd:Ⓜ️ Simplify various interfaces using string rather than net::hostport remotes. 2020-03-07 17:17:46 -08:00
Jason Volk
a068981452 ircd:Ⓜ️:fed: Simplify and rename well known fetch function. 2020-03-07 14:55:50 -08:00
Jason Volk
4935015b18 ircd::net::dns: Consolidate cache interfaces in public header; weak unresolved for now. 2020-03-07 12:51:12 -08:00
Jason Volk
6ab71b8fdc ircd:Ⓜ️:fed: Add well-known request for server name resolution w/ console cmd. 2020-03-06 18:28:41 -08:00
Jason Volk
6679b66806 ircd::prof: Move ctx::syscall_usage_warning into prof. 2020-03-06 15:43:24 -08:00
Jason Volk
726422f576 ircd::prof: Add a log facility for namespace. 2020-03-06 15:43:24 -08:00
Jason Volk
0e25a2e055 ircd::net::dns: Add support for netdb; interface to getservbyname(3). 2020-03-06 15:43:24 -08:00
Jason Volk
0a90b4d4cc ircd:Ⓜ️:fed: Apply the canon service to all remotes without a service string. 2020-03-06 10:37:28 -08:00
Jason Volk
14cce54b1f ircd::net: Add missing service(hostport) mutable referencer. 2020-03-05 20:10:35 -08:00
Jason Volk
c44d732443 ircd:Ⓜ️ Rename v1/v2 namespace to fed. 2020-03-05 20:06:14 -08:00
Jason Volk
f5d5f6de3b ircd::server: Require service suffix for peer map keying; refactor host canonization. 2020-03-05 20:06:14 -08:00
Jason Volk
65d41d0093 ircd::net::dns::resolver: Copy to preserve service string from hostport in tag. 2020-03-05 14:18:57 -08:00
Jason Volk
a46bf7dcbe ircd::net: Eliminate the legacy canon_port/canon_service defaults.
ircd:Ⓜ️ Move canon_port/canon_service into matrix lib.
2020-03-05 14:18:55 -08:00
Jason Volk
e7eb5a62c7 ircd::server: Add peer level aggregate for cleanup_canceled(). 2020-03-04 12:00:39 -08:00
Jason Volk
7f2eb104b6 ircd::net::acceptor: Refactor error and limit handling branches; fix reset. 2020-03-03 14:14:43 -08:00
Jason Volk
6ec9867843 ircd::net::acceptor: Add a default proffer callback when none set. 2020-03-03 13:54:14 -08:00
Jason Volk
14b962a695 ircd:Ⓜ️:vm: Track evaluation hook phase. 2020-03-02 20:55:08 -08:00
Jason Volk
f471093d3e ircd:Ⓜ️:user::rooms: Use _event_state to eliminate the ircd.member type. 2020-03-01 17:13:15 -08:00
Jason Volk
cb0363f13c ircd:Ⓜ️:rooms: Add dump to file util w/ console cmd. 2020-02-28 20:19:42 -08:00
Jason Volk
8d9a9eccfb ircd:Ⓜ️:rooms: Add prefetch context on iteration. 2020-02-28 20:19:42 -08:00
Jason Volk
d402eddb98 ircd::run: Place out-of-line default ctor/dtor definitions.
ircd::http::error: Place out-of-line dtor definition.

ircd:Ⓜ️:error: Place out-of-line dtor definition.

ircd::exception: Place out-of-line dtor definition.

ircd:Ⓜ️:vm: Place out-of-line ctor definitions for copts/opts.
2020-02-28 12:36:45 -08:00
Jason Volk
ac021785a2 ircd::net::hostport: Deinline amalgam constructors. 2020-02-28 10:21:49 -08:00
Jason Volk
a038116a50 ircd::run: Add convenience overload for run::changed. 2020-02-28 09:55:36 -08:00
Jason Volk
a6131d1268 ircd::ctx: Split sleep()/wait() suites into headers. 2020-02-28 09:11:06 -08:00
Jason Volk
92b7ae5c17 ircd::prof: Split cycles into header. 2020-02-27 19:09:10 -08:00
Jason Volk
8ce0c46f63 ircd::server: Minor reorg; section comments. 2020-02-27 15:39:31 -08:00
Jason Volk
bd46cf49ed ircd::spirit: Disable zealous assert for character test in spirit headers. 2020-02-27 12:44:57 -08:00
Jason Volk
c1737e167c ircd::ios: Employ the asio::executor abstraction w/ backward-compat. 2020-02-27 12:44:57 -08:00
Jason Volk
47a5136045 ircd: Additional comments / docs on main mode confs. 2020-02-27 12:44:57 -08:00
Jason Volk
1bdf52b7bb ircd:Ⓜ️:events: Add preliminary interface to _event_state w/ console cmd. 2020-02-26 18:24:17 -08:00
Jason Volk
d579dd54aa ircd::util: Add pre-c++2a identity functor template. 2020-02-26 18:10:41 -08:00
Jason Volk
139059f381 ircd: Split panic/terminate exception related into header. 2020-02-26 14:17:43 -08:00
Jason Volk
72b772b530 ircd: Make exception.o as an asio unit for system_error interop; minor comments. 2020-02-26 11:50:10 -08:00
Jason Volk
e36537d8ca ircd::spirit: Fix upstream visibility related 737d9dd162. 2020-02-25 20:04:17 -08:00
Jason Volk
b61a566b03 ircd: Workaround missing boost::begin/boost::end related 737d9dd1626. 2020-02-25 20:04:17 -08:00
Jason Volk
8b45d8e97f ircd::ios: Remove unused fwddecl related 737d9dd1626. 2020-02-25 20:04:17 -08:00
Jason Volk
628b194151 ircd::ctx: Relax member access. 2020-02-24 16:44:15 -08:00
Jason Volk
8baaf366c4 ircd:Ⓜ️:event: Fix signature interface regression; optimize call path. 2020-02-24 11:01:52 -08:00
Jason Volk
a0af97ae3e ircd: Use universal reference argument for always_assert(). 2020-02-23 20:53:27 -08:00
Jason Volk
4bef7dca7b ircd: Split stdinc into additional macros header. 2020-02-21 12:22:56 -08:00
Jason Volk
a4f48eaab8 ircd:Ⓜ️:vm::eval: Conduct parallel fetch of new keys for vector eval. 2020-02-20 18:43:47 -08:00
Jason Volk
20bc23abde ircd:Ⓜ️:dbs: Replace pairs with tuples for reference lifetime issue w/ clang. 2020-02-20 16:25:51 -08:00
Jason Volk
a13d9282ac ircd:Ⓜ️:vm::eval: Add vector_view construction and eval to interface/stack. 2020-02-20 14:49:33 -08:00
Jason Volk
c3349b9d40 ircd::ctx::dock: Add convenience interface for interrupt/terminate/notify. 2020-02-19 16:16:53 -08:00
Jason Volk
24325c8fc1 ircd:Ⓜ️ Add overload for nothrow integral m::get w/ defaulting. 2020-02-19 13:27:13 -08:00
Jason Volk
0c1970af0f ircd:Ⓜ️:feds: Add default inline construction to reassert noexcept. 2020-02-19 13:26:05 -08:00
Jason Volk
e886e79073 ircd::db: Inline pointer-conditional overloads for cache interface. 2020-02-19 08:50:36 -08:00
Jason Volk
43f5ebe8e3 ircd::ctx: Inline the interruptible/uninterruptible instanced interface. 2020-02-19 08:40:15 -08:00
Jason Volk
7d4cf45f01 ircd::server: Fix bug when overrun discarded in cancellation buffer. 2020-02-13 16:33:44 -08:00
Jason Volk
c63141c4dc ircd: Complete the assert workaround for clang. 2020-02-12 15:12:03 -08: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
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