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

4378 commits

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