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

4613 commits

Author SHA1 Message Date
Jason Volk
b9832c3a9e modules/client/search: Implement c2s r0.6.1 13.15.1.1 /client/search (closes #20). 2020-12-28 03:44:21 -08:00
Jason Volk
67448469ae ircd:Ⓜ️:event::append: Add visibility query support w/ option. 2020-12-28 02:01:26 -08:00
Jason Volk
9efe14ba6d ircd:Ⓜ️:event::append: Support event_filter in options; minor reorg. 2020-12-28 02:01:26 -08:00
Jason Volk
e51ddb1ee6 ircd:Ⓜ️:filter: Modernize some match conditions; use non-throwing queries. 2020-12-28 02:01:26 -08:00
Jason Volk
16ce9a820e ircd::client: Add write overload for iov arguments. 2020-12-25 07:30:10 -08:00
Jason Volk
6987e30cf6 ircd::server: Add conf items for peer socket options. 2020-12-25 07:30:10 -08:00
Jason Volk
2c48499db7 ircd::server: Add sock_opts in peer open_opts; move constant; minor cleanup. 2020-12-25 06:44:31 -08:00
Jason Volk
75a88976dc ircd::resource: Add TCP_NODELAY flush opportunity at completion boundary. 2020-12-25 05:33:59 -08:00
Jason Volk
227ba21341 ircd::resource: Add DELAYED_ACK flag to method; support TCP_QUICKACK opportunity. 2020-12-25 05:33:59 -08:00
Jason Volk
a63fcfa5b4 ircd::net: Add interface to TCP_QUICKACK if supported. 2020-12-25 05:33:59 -08:00
Jason Volk
44bee11fc0 ircd::resource::response: Add flush/push option to chunked::finish(). 2020-12-24 18:09:31 -08:00
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
Jason Volk
85bd984da7 ircd:Ⓜ️:events::missing: Reverse primary iteration; improve interface related. 2020-11-11 22:49:39 -08:00
Jason Volk
4212f46372 ircd:Ⓜ️:acquire: Refactor acquire to inline-worker model; add console cmd. 2020-11-11 22:49:39 -08:00
Jason Volk
da0464e101 ircd::server: Reorg peer::resolve() as unary using member data. 2020-11-11 22:49:39 -08:00
Jason Volk
124e969f43 ircd::spirit: Comment on the std::function drop-in. [ci skip] 2020-11-11 22:49:39 -08:00
Jason Volk
5958e73ff8 ircd::json: Add integrated type-checking overloads to reduce call count. 2020-11-11 22:49:39 -08:00
Jason Volk
b4112b3d33 ircd: Remove std execution header. 2020-11-11 12:54:32 -08:00
Jason Volk
04f6e9692a ircd::net::dns::resolver: Improve timeout cycle; avoid false positives under load. 2020-11-06 22:06:16 -08:00
Jason Volk
27d0c25f9b ircd::net::dns::resolver: Split recv into function from work loop. 2020-11-06 22:04:46 -08:00
Jason Volk
e2f495c4a8 ircd:Ⓜ️:room::head::fetch: Add opts for result limitations. 2020-11-05 22:10:54 -08:00
Jason Volk
6fe770b4bf ircd:Ⓜ️:room::head: Add fetch interface. 2020-11-05 22:10:54 -08:00
Jason Volk
45def842c4 ircd:Ⓜ️:room::head: Split generate into header. 2020-11-05 22:10:54 -08:00
Jason Volk
d6200a7ac3 ircd::server: Add DNS expiration TTL state to peer. 2020-11-05 22:10:54 -08:00
Jason Volk
f3886d60d8 ircd: Replace callsites w/ template deduced mutable_cast. 2020-11-05 22:10:53 -08:00
Jason Volk
2eab4fb4f7 ircd::util: Improve mutable_cast convenience template. 2020-11-05 22:10:53 -08:00
Jason Volk
857979744f ircd::server: Add conf item to toggle whole unit. 2020-11-05 22:10:53 -08:00
Jason Volk
b4613b8132 ircd::server: Move conf item into namespace; minor reorg. 2020-11-05 22:10:53 -08:00
Jason Volk
3910b3af91 ircd:Ⓜ️:fetch: Improve/fix namespace brief comment. [ci skip] 2020-11-05 22:10:53 -08:00
Jason Volk
536a496bee ircd::allocator: Add incore(); replace as fs::fincore() impl. 2020-11-05 22:10:53 -08:00
Jason Volk
b1cc013132 ircd::buffer: Fix missing align_up() result wrapping. 2020-11-05 22:10:53 -08:00
Jason Volk
01385aab2d ircd::util: Add ssizeof() convenience template. 2020-11-05 22:10:53 -08:00
Jason Volk
3bdc26765b ircd::buffer: Fix missing cast in alignment util templates. 2020-11-05 22:10:53 -08:00
Jason Volk
a0a3eeb16e ircd::allocator: Minor reorg; dedup alignment utils. 2020-11-05 22:10:53 -08:00
Jason Volk
c56b4a4ee9 ircd:Ⓜ️:dbs: Add conf item toggling indexer prefetching. 2020-11-05 22:10:53 -08:00
Jason Volk
231bcf3f95 ircd::spirit: Increase expectation rule buffer size.
ircd::spirit: Simplify expectation failure wrapper.
2020-11-05 22:10:53 -08:00
Jason Volk
cd2a71d3c2 construct: Remove -checkdb flag; replace w/ -diagnostic checkdb. 2020-11-05 22:10:53 -08:00
Jason Volk
d3b33ec811 ircd:Ⓜ️:dbs: Add prefetch handlers; mechanism and related options. 2020-10-31 12:05:51 -07:00
Jason Volk
30796e5729 ircd::buffer: Fix template name conflicts for clang-11; apply inline linkages.
ircd::json::tuple: Fix template name related for clang-11.

ircd::ctx: Fix template related for clang-11; inline linkages.

ircd:Ⓜ️🪝 Fix template related for clang-11.
2020-10-29 04:06:59 -07:00
Jason Volk
3b75b06bf1 ircd:Ⓜ️:room: Fix stale comment. [ci skip]
ircd::simd: Fix erroneous comment. [ci skip]
2020-10-29 03:00:48 -07:00
Jason Volk
a6b3b3f80b include/ircd/Makefile: Set clang equiv of -fmax-errors. 2020-10-29 03:00:48 -07:00
Jason Volk
c5478cd151 ircd::buffer: Remove builtin requiring constexpr size for clang-11. 2020-10-28 12:42:59 -07:00
Jason Volk
f6a5e8daf3 ircd:Ⓜ️:app: Implement stdin to app from room. 2020-10-28 05:39:09 -07:00
Jason Volk
e55c750f97 ircd::db: Reduce default target size base. 2020-10-28 04:35:49 -07:00
Jason Volk
55e7b83ca7 ircd:Ⓜ️:app: Improve stdout handler; member state off of worker stack. 2020-10-28 04:35:45 -07:00
Jason Volk
f026e81a07 ircd: Instrument against string_view(string&&) impossible construction.. 2020-10-28 03:31:55 -07:00
Jason Volk
87b1b764c1 ircd::db: Add convenience overload debug(rocksdb::WriteBatch) 2020-10-27 22:44:06 -07:00
Jason Volk
3884e30b4c ircd::db::txn: Add release for the rocksdb::WriteBatch to interface. 2020-10-27 22:44:05 -07:00
Jason Volk
813b686e97 ircd:Ⓜ️:app: Add autorun mechanism; conf items; program options. 2020-10-27 04:11:44 -07:00
Jason Volk
5ed2022517 ircd:Ⓜ️:app: Additional conf item to enable w/ persist. 2020-10-27 04:11:44 -07:00
Jason Volk
5c1980da70 ircd:Ⓜ️:room: Add preliminary interface specific to event content. 2020-10-27 04:11:44 -07:00
Jason Volk
ed5875c869 ircd::json: Remerge tool header with index header; use value argument. 2020-10-27 01:17:06 -07:00
Jason Volk
cc8c9942a4 ircd:Ⓜ️:push::request: Add conf item to toggle functionality. 2020-10-25 00:30:35 -07:00
Jason Volk
891cba3fb9 modules/m_pusher: Implement Push Gateway 3.1 POST Server Behavior. (closes #63) 2020-10-25 00:30:35 -07:00
Jason Volk
3cbf610cd0 ircd:Ⓜ️:user::pushers: Additional derivative utils for interface. 2020-10-25 00:09:59 -07:00
Jason Volk
27fe4a9d81 ircd:Ⓜ️:app: Add restriction binpath; improve stdio to room; improve console cmd. 2020-10-24 06:26:44 -07:00
Jason Volk
f4558a84e6 ircd::exec: Implement callback handler suite; async wait(). 2020-10-24 05:41:46 -07:00
Jason Volk
5d7f56a5ce ircd:Ⓜ️:app: Application management infrastructure w/ cmd suite. 2020-10-20 23:20:41 -07:00
Jason Volk
86a8509b26 ircd:Ⓜ️:exec: Add options structure; add logging/detach related options. 2020-10-20 23:20:41 -07:00
Jason Volk
e5b0fe25c7 ircd::fs: Add is_exec() to interface. 2020-10-20 23:20:41 -07:00
Jason Volk
1d97263066 ircd::proc: Add basic subprocess interface; ios integration. 2020-10-20 23:20:41 -07:00
Jason Volk
8b4fdf49c4 ircd::net: Cleanup interface arguments w/ common alias. 2020-10-20 23:20:41 -07:00
Jason Volk
cda10cc799 ircd::simd::support: Fix formatting; fix avx512f macro name; add vbmi/vbmi2. 2020-10-20 22:19:34 -07:00
Jason Volk
b407769e21 ircd:Ⓜ️:fed::well_known: Add condition for result extrication w/ OK code.
ircd:Ⓜ️:fed::well_known: Add internal buffer w/ copy for m_server.
2020-10-20 20:55:30 -07:00
Jason Volk
dc388a0f09 ircd::ctx: Use vg::stack registration in stack allocator. 2020-10-16 14:32:06 -07:00
Jason Volk
f6bc11b76a ircd::vg: Add stack register/deregister to interface.
ircd::vg: Use extern const bool for active(); minor reorg.
2020-10-16 14:32:06 -07:00
Jason Volk
8759f9d209 ircd::vg: Split allocator::vg to vg:: in header. 2020-10-16 10:05:23 -07:00
Jason Volk
339e86d2b8 ircd::ctx: Hoist various function static descriptor objects; inline courtesy yield(). 2020-10-16 05:19:14 -07:00
Jason Volk
a9a54f11de ircd:Ⓜ️:feds: Add prelink loop before request loop w/ options toggle. 2020-10-16 02:40:39 -07:00
Jason Volk
d04008a45f ircd:Ⓜ️:fed: Add non-blocking prelink to interface. 2020-10-16 02:40:39 -07:00
Jason Volk
9d1741f5b4 ircd::server: Add asynchronous prelink() to interface. 2020-10-16 02:40:39 -07:00
Jason Volk
859c488932 ircd::rfc3986: Add REMOTE_MAX / REMOTE_BUFSIZE convenience constexprs. 2020-10-16 02:40:39 -07:00
Jason Volk
c11e8e85ed ircd:Ⓜ️:fed::well_known: Refactor to single-worker pattern. 2020-10-16 01:40:40 -07:00
Jason Volk
142179e4a5 ircd:Ⓜ️:fed::well_known: Convert to future interface w/ dummy impl. 2020-10-15 04:55:38 -07:00
Jason Volk
2eb4b84019 ircd::ctx: Add missing shared_state already_t w/ value ctor. 2020-10-15 04:55:38 -07:00
Jason Volk
3f6d90c7a8 ircd:Ⓜ️:fed: Move head fetch convenience to room::head interface. 2020-10-14 22:04:04 -07:00
Jason Volk
888c62c156 ircd:Ⓜ️:fed::well_known: Simplify interface; add opts struct. 2020-10-14 22:04:04 -07:00
Jason Volk
ad41fb69a9 ircd::ctx: Support user-supplied stacks. 2020-10-14 02:22:45 -07:00
Jason Volk
28eaf63543 ircd::ctx: Convey allocated stack for context to context at entry. 2020-10-14 02:22:45 -07:00
Jason Volk
560eb12f68 ircd::db::database::sst: Add file id integer to info struct. 2020-10-14 02:22:45 -07:00
Jason Volk
08572e750f ircd::db: Add descriptor item for write_buffer_blocks; tweak values/defaults. 2020-10-13 14:55:38 -07:00
Jason Volk
597f60cf6b ircd: Add assume() convenience wrapping for __builtin_assume(). 2020-10-12 18:07:39 -07:00
Jason Volk
6914201335 ircd::prof: Fallback to __builtin_readcyclecounter() if available. 2020-10-12 18:07:39 -07:00
Jason Volk
cd8d034240 ircd::resource: Add untokenized params view to request struct. 2020-10-12 18:07:39 -07:00
Jason Volk
62fdaaa389 ircd:Ⓜ️:events::refs: Add unbounded column scan w/ console cmd. 2020-10-12 18:07:39 -07:00
Jason Volk
6b915da4ab ircd::db: Optimize internal linkages; valid() / make_opts() on the hotpath. 2020-10-11 17:36:03 -07:00
Jason Volk
1dc799dffa ircd::db::opts: Inline flag template suite; minor optimize. 2020-10-11 17:36:03 -07:00
Jason Volk
841e7dc35b ircd::db: Split db::database into unit. 2020-10-11 11:42:48 -07:00
Jason Volk
d4f6e3e8ea ircd:Ⓜ️:event::refs: Simplify closure typename. 2020-10-11 11:42:48 -07:00
Jason Volk
913ec123e3 ircd::simd: Rename lateral to reduce. 2020-10-11 10:10:50 -07:00
Jason Volk
c80dc79e36 ircd::simd: Minor fix indentation. 2020-10-11 10:10:50 -07:00
Jason Volk
019010336b ircd::simd: Add constexpr feature support suite. 2020-10-10 05:54:15 -07:00
Jason Volk
5e21435e1a ircd::simd: Add closure to stream interface; include in stack. 2020-10-10 02:47:53 -07:00
Jason Volk
d4de92c61f ircd::simd: Add various ircd::buffer convenience overloads to interface. 2020-10-10 01:16:39 -07:00
Jason Volk
d10576a03e ircd::util: Remove separate header for pair gimmick; move to stdinc.h 2020-10-10 01:16:39 -07:00
Jason Volk
c49e546be5 ircd::simd: Categorical interface renaming for stream related. 2020-10-10 00:43:59 -07:00
Jason Volk
de0650d3f7 ircd: Reorg simd.h / buffer.h interface dependency relationship. 2020-10-10 00:43:59 -07:00
Jason Volk
b63d88d195 ircd::simd: Relax assertion on unused lane. 2020-10-09 09:06:17 -07:00
Jason Volk
5b63366e5d ircd::simd: Add pointer cast template w/ alignment assertion. 2020-10-09 09:06:17 -07:00
Jason Volk
a88934f4e7 ircd::simd: Add ostream suite to interface. 2020-10-09 09:06:17 -07:00
Jason Volk
20f9301158 ircd::simd: Split and improve stream template util naming. 2020-10-09 03:50:24 -07:00
Jason Volk
876bbe906c ircd: Ensure typedef'ed 128-bit integers are properly aligned. (#156) 2020-10-08 20:49:49 -07:00
Jason Volk
4db835ef5f ircd::fmt: Use POD array here; avoid member function use out of initialization order. 2020-10-08 20:49:49 -07:00
Jason Volk
e6a7904040 ircd:Ⓜ️:events: Refactor for_each interface; split into raw suite. 2020-10-07 15:12:12 -07:00
Jason Volk
7e7eb14e0b ircd::rand: Add vector convenience interface. 2020-10-07 03:08:28 -07:00
Jason Volk
28887b0dc0 ircd::simd: Additional block-aligned fixed-stride half-duplex stream template. 2020-10-07 01:27:49 -07:00
Jason Volk
638efbc0e9 ircd::simd: Make stream template into enable_if complex w/ closure deductions. 2020-10-07 01:07:51 -07:00
Jason Volk
ef715a637d ircd::simd: Add accumulate template. 2020-10-06 19:15:42 -07:00
Jason Volk
7f63dc07ef ircd::simd: Simplify stream template; deduce unaligned type. 2020-10-06 19:15:42 -07:00
Jason Volk
112151249b ircd::simd: Use template as basis for unaligned wrapper; simplify suite.
ircd::simd: Rename unaligned header.
2020-10-06 19:15:40 -07:00
Jason Volk
e69ad0b49a ircd::rand: Add fill(mutable_buffer) to interface. 2020-10-06 16:25:03 -07:00
Jason Volk
767322dc37 ircd::rand: Simplify interface; comments/cleanup. 2020-10-06 16:25:03 -07:00
Jason Volk
e362a509d8 ircd:Ⓜ️:fetch: Add result check opts to request interface opts; feature authoritative_redactions. 2020-10-03 04:27:52 -07:00
Jason Volk
432fcd9cd8 ircd::net::socket: Hoist function-static instances of ios::descriptor. 2020-10-03 02:31:20 -07:00
Jason Volk
e472a4a5df ircd::info: Gather basic idents on aarch64. (closes #132) 2020-10-02 03:18:06 -07:00
Jason Volk
eb2facbfd2 ircd:Ⓜ️:dbs: Add compression conf items for all columns. 2020-10-01 19:15:15 -07:00
Jason Volk
b7b2c44973 ircd: Improve restart-assist to convey different program options. 2020-10-01 00:02:16 -07:00
Jason Volk
fecd009ffb ircd:Ⓜ️:db: Fix accounting for index compression.
Revert 1051e740cc.
2020-09-30 19:40:29 -07:00
Jason Volk
28c4baf2b2 ircd:Ⓜ️:buffer: Remove cruft/unused from interface. 2020-09-30 16:35:34 -07:00
Jason Volk
8e3bf1f458 ircd:Ⓜ️ Remove cruft. [ci skip] 2020-09-30 16:35:34 -07:00
Jason Volk
6c89faee13 ircd::ctx::posix: Enforce noexcept on the full surface. 2020-09-29 16:09:10 -07:00
Jason Volk
ca7b7b0c61 ircd::db: Move computed properties from console into info struct. 2020-09-29 08:01:14 -07:00
Jason Volk
88808f597a ircd::info: Additional string for compiler name; architecture related. 2020-09-29 00:19:42 -07:00
Jason Volk
4dbb550e89 ircd::fs: Add support for O_EXCL; add exclusive to fd::opts. 2020-09-28 22:33:46 -07:00
Jason Volk
95cb3df160 ircd::fs: Rename nocreate to create in fd::opts. 2020-09-28 22:33:46 -07:00
Jason Volk
bd641e76ad ircd:Ⓜ️:event: Compare decoded hash to allow both rfc4648 and rfc1421 compat. 2020-09-28 05:56:03 -07:00
Jason Volk
9cee52fff0 ircd::simd: Add all() template w/ efficient word specializations. 2020-09-28 00:27:30 -07:00
Jason Volk
38a52f76d5 ircd::simd: Add any() template w/ efficient word specializations. 2020-09-28 00:27:30 -07:00
Jason Volk
512b12caf1 ircd::util: Refactor pretty(duration) interface; internal template. 2020-09-27 18:12:51 -07:00
Jason Volk
3fedfaeb8d ircd: Add conf item to convey contextual diagnostic options. 2020-09-27 14:57:07 -07:00
Jason Volk
42fd88d169 ircd::simd: Add broad_cast template without required deduction argument. 2020-09-27 14:57:07 -07:00
Jason Volk
30e5a0110c ircd::spirit: Add template id to custom_parser; add three specializations per unit for now. 2020-09-27 14:57:07 -07:00
Jason Volk
a73b538349 ircd:Ⓜ️:room: Add contains() tool. 2020-09-27 14:57:07 -07:00
Jason Volk
2741ab785c ircd::db: Inline trivial operator wrappers. 2020-09-21 20:50:58 -07:00
Jason Volk
e2ac5c6fc7 ircd::db: Use conf item for default compression string in descriptor. 2020-09-20 12:50:17 -07:00
Jason Volk
4168f2899f ircd::simd: Add scatter template. 2020-09-20 06:41:38 -07:00
Jason Volk
dc14f2f803 ircd::simd: Reorg existing mask related into header. 2020-09-20 06:41:38 -07:00
Jason Volk
972fbcc97d ircd::simd: Add rotate left/right template interfaces. 2020-09-20 06:41:38 -07:00
Jason Volk
13c2df9992 ircd::simd: Add missing non-intrinsic alternative templates at 128 bit shift.
ircd::simd: Split shift left and right suites into headers.
2020-09-20 06:41:38 -07:00
Jason Volk
818241db86 ircd::simd: Add vpgather achieving template. 2020-09-20 06:41:38 -07:00
Jason Volk
4a59ea5b4a ircd::simd: Add template typedef for lane type. 2020-09-20 05:15:50 -07:00
Jason Volk
5294a8e78b ircd::portable: Remove todo (would prevent macro-op fusion). 2020-09-19 07:47:21 -07:00
Jason Volk
a738cc8444 ircd::spirit: Split boost includes for separate pragma clang system_header. 2020-09-18 23:40:34 -07:00
Jason Volk
3fef6b154d ircd::http: Fix buffer alignment. 2020-09-18 18:47:15 -07:00
Jason Volk
8bda8cbdc6 ircd:Ⓜ️:event::prev: Add constant value for spec max. 2020-09-17 10:49:41 -07:00
Jason Volk
9165975953 ircd:Ⓜ️:dbs: Supersede index query tool with parallel impl. 2020-09-17 10:49:41 -07:00
Jason Volk
099b6d8301 ircd:Ⓜ️ Add parallel event::idx query to interface. 2020-09-17 10:49:41 -07:00
Jason Volk
70860ecaa2 ircd::db: Add parallel read suite to interface. 2020-09-17 10:49:41 -07:00
Jason Volk
66368d1cdc ircd::db: Add typedefs for parallel query argument templates. 2020-09-17 10:49:41 -07:00
Jason Volk
a9c37908ec ircd: Add template option to skip runtime conditional in byte_view conversion. 2020-09-17 10:49:41 -07:00
Jason Volk
0675a621f1 ircd:Ⓜ️:homeserver: Add specific option to toggle initial backfill jobs after startup. 2020-09-16 23:00:58 -07:00