0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-29 13:58:43 +02:00
Commit graph

4452 commits

Author SHA1 Message Date
Jason Volk f30c5f381b ircd::net: Add tools to query socket write buffering related. 2020-12-24 18:09:30 -08:00
Jason Volk 7e81806f29 ircd::net: Minor reorg available()/readable() into read.h. 2020-12-24 18:09:30 -08:00
Jason Volk 9523e3ca0a ircd::simd: Fix AVX512 devectorization on clang w/ uninitialized across loops. 2020-12-23 22:28:41 -08:00
Jason Volk 7cdf1330d4 ircd::ios: Add comments on dispatch related. [ci skip] 2020-12-23 22:28:41 -08:00
Danilo Spinella d8ff6172ef ircd/ctx/posix.h: Add typedef for __clockid_t to fix build on musl
__clockid_t is not POSIX, add it as a typedef to clockid_t, when needed.
2020-12-23 03:56:43 -08:00
Jason Volk 78cbd244c4 ircd::db: Lower the global write mutex to database instance member. 2020-12-23 03:56:43 -08:00
Jason Volk 1f164304a6 ircd::db::prefetcher: Integrate ticker items into ircd::stats system. 2020-12-23 03:56:43 -08:00
Jason Volk 9f0c081ac8 ircd::stats: Add signed integer, chrono specializations; use panic exception. 2020-12-23 03:56:43 -08:00
Jason Volk dfa75cd421 ircd::stats: Abstract items into templates w/ special instantiations. 2020-12-23 03:56:43 -08:00
Jason Volk d6d518666e ircd::db: Inline various undersized; mark un-inlinable for hot section. 2020-12-23 03:56:43 -08:00
Jason Volk e53ed1f6a8 ircd::db: Split column from column::iterator headers. 2020-12-23 01:07:45 -08:00
Jason Volk eb18ae9daf ircd:Ⓜ️ Add argument to toggle sigs in m::essential(). 2020-12-22 18:40:30 -08:00
Jason Volk 770088d677 ircd::util: Add a non-atomic compare_exchange(). 2020-12-21 00:44:14 -08:00
Jason Volk 07ec766ff9 ircd::ios: Consolidate dispatch/post/defer interfaces; minor fixes. 2020-12-20 06:02:50 -08:00
Jason Volk 59d4b987b5 ircd:Ⓜ️:vm: Add array-wide reference event_id pre-prefetcher. 2020-12-19 22:53:13 -08:00
Jason Volk 6c71ec39b2 ircd:Ⓜ️ Parallel event::idx convenience for event::auth; simplify definitions. 2020-12-19 22:53:12 -08:00
Jason Volk 7d1de2ded7 ircd::ios: Torch any possible idiv in core epoll(2) instruction stream. 2020-12-18 19:58:51 -08:00
Jason Volk 9655a6311f ircd: Simplify the async main init fiasco w/ continuation callback. 2020-12-18 17:41:26 -08:00
Jason Volk f7945918c6 ircd::stats: Use vector for item iteration; add name convenience member. 2020-12-18 04:04:01 -08:00
Jason Volk 5ee8405117 ircd::resource: Integrate method stats into ircd::stats. 2020-12-18 02:45:03 -08:00
Jason Volk 1f2abfb64a ircd::ios: Integrate descriptor::stats into ircd::stats system. 2020-12-18 02:42:07 -08:00
Jason Volk e80629c914 ircd: Rename all ios::descriptors w/ consistent dot namespacing.
ircd: Hoist various ios::descriptors out of function-static duration.
2020-12-18 02:42:07 -08:00
Jason Volk af59cc1378 ircd::fs::aio: Integrate stats structure into ircd::stats system. 2020-12-18 02:42:07 -08:00
Jason Volk 3eb664bbe9 ircd::stats: Use trapping exception for developer errors. 2020-12-18 02:41:56 -08:00
Jason Volk 253de07229 ircd::fmt: Use trapping exceptions for developer error types. 2020-12-17 20:23:50 -08:00
Jason Volk 34e1dc99a1 ircd::stats: Add value assignment passthru semantic to item. 2020-12-17 20:14:27 -08:00
Jason Volk 018f2655b6 ircd:Ⓜ️:acquire: Add divulgence acquisition algorithm to suite. 2020-12-17 01:49:20 -08:00
Jason Volk 159bebbd26 ircd:Ⓜ️:event: Add more ergonomic bulk id/idx extraction interface. 2020-12-17 01:49:09 -08:00
Jason Volk 7a11acbacd ircd:Ⓜ️:event: Separate out event::auth from event::prev header, unit, callsites. 2020-12-16 21:39:08 -08:00
Jason Volk c3f0f37b30 ircd:Ⓜ️:vm: Add phase to reject events not needed by any local user. 2020-12-16 14:41:17 -08:00
Jason Volk dfcf032b96 ircd:Ⓜ️:vm: Additional comments; minor simplifications. 2020-12-16 14:41:17 -08:00
Jason Volk e1e8286436 ircd:Ⓜ️:event: Add bool argument to skip verify restringify. 2020-12-16 14:41:17 -08:00
Jason Volk 6f66ff5bac ircd::resource::response::chunked: Support user-supplied buffer constructions. 2020-12-15 16:56:07 -08:00
Jason Volk e71c89fa86 ircd:Ⓜ️:vm: Support output/error transcription to evaluator json::stack. 2020-12-15 16:56:07 -08:00
Jason Volk 6696693f8b ircd::ios: Add legit framework for core loop optimizations. (related 7df5592ebe) 2020-12-14 00:36:32 -08:00
Jason Volk a10429c15f ircd: Improve terminate interface; simplify impl. 2020-12-13 10:45:34 -08:00
Jason Volk 9ca664d231 ircd::ios: Split headers into directory; minor reorg.
ircd::ios: Move profile constexprs into namespace.
2020-12-13 08:29:29 -08:00
Jason Volk e91c845de5 ircd::ctx: Minor move misplaced comment. [ci skip]
ircd:Ⓜ️:acquire: Remove stale comment. [ci skip]
2020-12-12 18:18:28 -08:00
Jason Volk af102fcab6 ircd::ios: Increase descriptor name width in debuglog. 2020-12-12 00:35:36 -08:00
Jason Volk ce7ede99cf ircd:Ⓜ️ Use universal lambda construction for query template; inline linkage. 2020-12-12 00:35:36 -08:00
Jason Volk ddfac32b85 ircd::ios: Elide std::function for hot descriptor calls. 2020-12-11 22:50:57 -08:00
Jason Volk 5151a3b934 ircd::ios: Inline additional handler related definitions. 2020-12-11 22:50:57 -08:00
Jason Volk dac50c8da7 ircd::util: Optimizations for the bernstein constexpr string hasher. 2020-12-11 22:50:57 -08:00
Jason Volk b798192c15 ircd::rand: Improve xoshiro256p default values; improve interface consistency.
ircd::rand: Reorg iface; deinline mersenne twister so it's not emitted everywhere.
2020-12-11 22:50:57 -08:00
Jason Volk 20204d5917 ircd:Ⓜ️:fed::event_auth: Use single endpoint w/ auth_chain_ids instead of state_ids. 2020-12-10 11:47:52 -08:00
Jason Volk 972502fd19 ircd::json: Inline trivial array::empty(); label branch expect. 2020-12-10 08:34:22 -08:00
Jason Volk 42f7b05775 ircd:Ⓜ️:resource: Add log facility w/ debug; minor cleanup. 2020-12-10 08:34:22 -08:00
Jason Volk d8115cccc9 ircd:Ⓜ️:vm::eval: Improve mfetch_keys related during eval. 2020-12-10 08:34:22 -08:00
Jason Volk f8ad44b16a ircd:Ⓜ️:vm: Add distinct phase for unique check; reorder phase enum. 2020-12-10 08:34:22 -08:00
Jason Volk a7edf142c7 ircd:Ⓜ️:vm::eval: Minor interface cleanup; unit reorg. 2020-12-10 08:34:22 -08:00
Jason Volk bc74684267 ircd:Ⓜ️:vm: Split header into directory. 2020-12-10 08:34:22 -08:00
Jason Volk 9c75d72120 ircd: Move assert related macros from portable.h to assert.h; simplify. 2020-12-09 23:50:49 -08:00
Jason Volk 4b1c8956a6 ircd:Ⓜ️:gossip: Implement multi-round loop; add console cmds. 2020-12-09 20:52:55 -08:00
Jason Volk 401e7ee7e8 ircd:Ⓜ️:room::head::fetch: Refactor one() convenience interface; add abstract overload. 2020-12-09 02:16:50 -08:00
Jason Volk c5bcbe5afd ircd::ios: Add constexpr verbose debug; add inline enqueue(); reorg.
ircd::ios: Simplify fault handler; reuse leave() codepath.
2020-12-09 02:16:50 -08:00
Jason Volk bf3fa0a122 ircd::log: Propagate noexcept to interface vlog(). 2020-12-09 02:16:50 -08:00
Jason Volk 38d6911f98 ircd:Ⓜ️:room::state::history: Add event_idx class member; improve 6768c23811 condition. 2020-12-08 03:33:06 -08:00
Jason Volk e0a64b47ee ircd::ios: Add logging facility for subsystem. 2020-12-07 14:18:42 -08:00
Jason Volk 6ceb8c193b ircd: Fix/improve comments. [ci skip] 2020-12-06 10:36:47 -08:00
Jason Volk 9ba0a58769 ircd::rand: Add xoshiro256+ xorshift/rol algorithm. 2020-12-06 10:36:47 -08:00
Jason Volk bf5b03adc4 ircd:Ⓜ️:vm: Add earlier PREINDEX phase with prefetches for txn. 2020-12-06 10:27:27 -08:00
Jason Volk 54a591e45c ircd:Ⓜ️:dbs: Improve prefetch handlers; remove opts; split interface. 2020-12-06 10:27:27 -08:00
Jason Volk 9e085c49c5 ircd: Move lfence to __assert_fail(); simplify macro. 2020-12-06 10:27:27 -08:00
Jason Volk 1622ef89af ircd:Ⓜ️:gossip: Refactor interface; zero-worker implementation. 2020-12-06 10:27:27 -08:00
Jason Volk d85a4bec99 ircd::spirit: Relax character assertion. 2020-12-06 10:27:27 -08:00
Jason Volk 779fc767d9 ircd:Ⓜ️🆔 Deinline ctor; construct string_view tight to valid mxid. 2020-12-03 01:37:33 -08:00
Jason Volk c93dd98b05 ircd:Ⓜ️:vm: Simplify redaction authority options; fix conditions. 2020-12-01 06:14:35 -08:00
Jason Volk 7fe0e9106f ircd:Ⓜ️:vm: Consolidate codepath; eval member counters; fix console related. 2020-12-01 02:11:56 -08:00
Jason Volk d49227c848 ircd:Ⓜ️:vm: Add redacted canonization cases prior to eval. 2020-11-29 23:55:09 -08:00
Jason Volk cf065aedbe ircd::spirit: Use better alignment for function object allocation. 2020-11-29 19:49:15 -08:00
Jason Volk 966a0e7bdb ircd:Ⓜ️🆔 Add ctor w/o type erasure to string_view. 2020-11-29 19:49:15 -08:00
Jason Volk 02dc164d66 ircd:Ⓜ️:vm: Add canonization point prior to core eval. 2020-11-29 19:49:15 -08:00
Jason Volk 9ea6fe65c3 ircd:Ⓜ️:event: Consolidate various thread-local buffers. 2020-11-29 19:49:15 -08:00
Jason Volk 42808cb5a5 ircd::spirit: Match exception specification from original template. 2020-11-28 17:05:13 -08:00
Jason Volk 716f26216d configure: Consolidate applications of -fmax-errors/-ferror-limit. 2020-11-28 12:42:32 -08:00
Jason Volk ded8f05064 ircd::tokens: Simplify interface w/ closure template; eliminate named closure.
ircd::tokens: Minor interface cleanup; inline linkages.
2020-11-27 20:06:19 -08:00
Jason Volk 266e617e36 ircd::util: Implement the closure template concept. 2020-11-27 20:06:19 -08:00
Jason Volk 5b5adb77d3 ircd::spirit: Optimize boost::spirit::qi::char_parser / literal_char related. 2020-11-27 18:31:18 -08:00
Jason Volk 3132f85f9a ircd::spirit: Add custom function object interposition (for clang). 2020-11-27 17:30:21 -08:00
Jason Volk a3809351f4 ircd::spirit: Prevent inline of expectation_failure ctor. 2020-11-27 17:28:43 -08:00
Jason Volk 5fdc492470 ircd:Ⓜ️ Add parallel index() overload for event::prev. 2020-11-27 17:27:55 -08:00
Jason Volk e06b033218 ircd:Ⓜ️:fetch: Pass the respondent's origin string with result. 2020-11-21 17:19:21 -08:00
Jason Volk 5872604280 ircd:Ⓜ️:acquire: Pass an attempt cap from opts to m::fetch. 2020-11-20 20:38:07 -08:00
Jason Volk e1d52b28ce ircd:Ⓜ️:acquire: Add state dispatch component; minor cleanup. 2020-11-20 20:38:07 -08:00
Jason Volk a5da068d0d ircd:Ⓜ️:room::state: Add fetch interface similar to room::head; w/ console cmd. 2020-11-20 18:28:32 -08:00
Jason Volk e9fb24bdd9 ircd:Ⓜ️:acquire: Add vm::opts to interface options; add per-operation eval opts. 2020-11-20 16:50:17 -08:00
Jason Volk b897071ce3 ircd:Ⓜ️:vm: Add options over existing state fetch decisions. 2020-11-20 13:55:19 -08:00
Jason Volk 1c0a9f3020 ircd:Ⓜ️:acquire: Use class linkage; tweak option interface; add instance_list. 2020-11-19 19:06:04 -08:00
Jason Volk 99b9ab4167 ircd:Ⓜ️:acquire: Granular targeting options for procurement. 2020-11-18 17:19:07 -08:00
Jason Volk 3412f3e6e3 ircd::json::tuple: Optimize at() runtime reference template approach. 2020-11-18 11:51:43 -08:00
Jason Volk a82b325341 ircd::json: Optimize poor composition from inlining unquote(). 2020-11-18 11:05:41 -08:00
Jason Volk 7a35647ab8 ircd: Add missing inline linkages to lex_cast. 2020-11-18 11:05:41 -08:00
Jason Volk 58fb551a13 ircd:Ⓜ️:sync: Add inline sequence extraction logic from token.
modules/client: Update sites parsing since tokens.
2020-11-15 05:48:25 -08:00
Jason Volk 6a5dbfe228 ircd::fs::path: Additional reorg; add safe path() overload; add missing parent(). 2020-11-15 02:27:33 -08:00
Jason Volk 34cf3e032e ircd::fs::path: Add absolute() to interface. 2020-11-14 00:59:09 -08:00
Jason Volk cb223b97c0 ircd::fs::path: Add canonical() suite to interface; minor reorg. 2020-11-14 00:59:09 -08:00
Jason Volk b447b9dd42 ircd: Additional replace() overloads; use consistent integral character arguments. 2020-11-13 22:46:36 -08:00
Jason Volk 14a20955ec ircd: Deinline some replace() stringops. 2020-11-13 21:07:14 -08:00
Jason Volk fbc3ab87e9 ircd::ctx: Add interface to change name; implement posix handler. 2020-11-13 21:07:14 -08:00
Jason Volk 00ed83e380 ircd::simd: Add missing support::sse; add alignment constexpr. 2020-11-13 00:52:31 -08:00