0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-25 03:48:38 +02:00
Commit graph

3701 commits

Author SHA1 Message Date
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
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