0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-06 05:48:54 +01:00
Commit graph

4775 commits

Author SHA1 Message Date
Jason Volk
ee4d64ff28 ircd::util: Start an all() convenience template w/ bool specialization. 2020-06-08 16:13:00 -07:00
Jason Volk
0cb9e74cc6 ircd::resource::method: Add conf items for option defaults. 2020-06-08 16:13:00 -07:00
Jason Volk
640e81ef4d ircd:Ⓜ️:fed: Split well_known into namespace into unit. 2020-06-08 16:13:00 -07:00
Jason Volk
bc3ad3f89c ircd::fs::dev: Eliminate the static map; refactor interface; add console cmd. 2020-06-08 16:13:00 -07:00
Jason Volk
27d52c660b ircd::fs::opts: Add an option to suppress internal error logging on some operations. 2020-06-08 14:10:13 -07:00
Jason Volk
64c82829d8 ircd::fs::dev: Use defaulting values rather than exceptions for sysfs() suite.
ircd::fs::dev: Stop exception propagation on per block device during discovery.
2020-06-07 14:30:50 -07:00
Jason Volk
2031966072 ircd::server: Add tag completed counters on link and peer w/ report. 2020-06-07 07:53:37 -07:00
Jason Volk
6968f24921 ircd::db: Add compaction period parameter to descriptor. 2020-06-07 05:46:24 -07:00
Jason Volk
b8521117c1 ircd::db::row: Add valid_all() to interface. 2020-06-07 03:26:31 -07:00
Jason Volk
7af4e85631 ircd:Ⓜ️ Throw better errcode for unverifiable sig; use 403 for failed verify. 2020-06-07 02:24:49 -07:00
Jason Volk
22eb9b514b ircd::fs::dev: Add block device information system w/ sysfs. 2020-06-07 01:51:19 -07:00
Jason Volk
680c29601e ircd::fs::dev: Cleanup returned string data from sysfs read. 2020-06-07 01:51:19 -07:00
Jason Volk
6e1d58c2e6 ircd::buffer: Improve the overlap tool. 2020-06-07 01:51:19 -07:00
Jason Volk
58d15e6852 ircd::spirit: Add template option for truncation behavior to generate.
ircd::fmt: Add internal generate template; enable truncation.
2020-06-05 12:15:11 -07:00
Jason Volk
268d4265ca ircd::spirit: Improve generator overflow counting. 2020-06-05 09:15:15 -07:00
Jason Volk
be07ae05b2 ircd::portable: Optimize redefined macro if conditions are favorable. 2020-06-05 04:32:57 -07:00
Jason Volk
04020a91b7 ircd::buffer: lte range assertion on ctor; remove attr; minor reorg.
ircd::buffer::window_buffer: Assertion on consumption increments.
2020-06-05 04:32:57 -07:00
Jason Volk
1ef26f113f ircd::strlcpy: Use character copy; remove branch. 2020-06-04 19:19:06 -07:00
Jason Volk
da43ac3d95 ircd:Ⓜ️:sync: Add flag to trigger re-request forcing focused full_state. 2020-06-03 23:26:08 -07:00
Jason Volk
9e96863922 ircd:Ⓜ️:sync: Add flags component to since token. 2020-06-03 22:36:58 -07:00
Jason Volk
d662bdaa3e ircd:Ⓜ️:sync: Add document comments for sync::data members. 2020-06-03 22:36:58 -07:00
Jason Volk
fcd488b409 ircd:Ⓜ️:sync: Centralize all since token related into library suite. 2020-06-03 22:36:58 -07:00
Jason Volk
b8c4bf85e5 ircd:Ⓜ️:sync: Split up sync.h header into directory; move sync::data definition. 2020-06-03 19:39:55 -07:00
Jason Volk
a70a6164be ircd::net: Convey ALPN selection to socket instance. 2020-05-30 23:19:03 -07:00
Jason Volk
47d1ac40c3 ircd::net::acceptor: Carry pointer to our socket instance in ssl opaque. 2020-05-30 22:47:03 -07:00
Jason Volk
5fa1e524a4 ircd::openssl: Add interface wrapping get/set app_data. 2020-05-30 22:17:11 -07:00
Jason Volk
489cf7a560 ircd::allocator: Add a graceful getter/setter for RLIMIT_MEMLOCK. 2020-05-29 23:40:24 -07:00
Jason Volk
ed5228610f ircd::allocator: Add void specialization to mallctl suite. 2020-05-29 23:40:24 -07:00
Jason Volk
e70284c03f ircd::allocator: Add more flexibility to mallctl template. 2020-05-29 23:40:24 -07:00
Jason Volk
6eb54341ef ircd::spirit: Fix signedness and displacements in generator state; add assertions. 2020-05-29 23:40:24 -07:00
Jason Volk
d9cf74ebd6 modules/client/publicrooms: Convey search term to any federation query. 2020-05-29 01:39:25 -07:00
Jason Volk
761ff66464 ircd:Ⓜ️:fed: Generate POST /publicRooms content by default; add console search param. 2020-05-29 01:34:19 -07:00
Jason Volk
aead45402d ircd:Ⓜ️:sync: Introduce item prefetch feature for polylog mode. 2020-05-28 21:31:28 -07:00
Jason Volk
4d32122fa8 ircd::spirit: Quench the generator's default position policy. 2020-05-28 20:09:14 -07:00
Jason Volk
6beb93b1c1 ircd::spirit: Improve pseudo-buffering; generator state and interface related. 2020-05-28 20:09:14 -07:00
Jason Volk
7064e4f349 ircd::util: Improve some comments; minor cleanup. 2020-05-28 15:20:32 -07:00
Jason Volk
876f28f1df ircd::spirit: Specify inline storage for util templates. 2020-05-27 20:03:03 -07:00
Jason Volk
8b3760b57f ircd::spirit: Minor rename error buffer. 2020-05-27 20:03:02 -07:00
Jason Volk
d58921f756 ircd::spirit: Add exceptions; move epsilon into generate abstraction; minor cleanup. 2020-05-27 20:03:02 -07:00
Jason Volk
3b485d79f1 ircd::buffer: Return bytes consumed from consume(). 2020-05-27 10:50:56 -07:00
Jason Volk
b698f80067 ircd::spirit: Abstract common generator call into template. 2020-05-26 04:54:52 -07:00
Jason Volk
93ee6a9f04 ircd::allocator: Add templated info get()/set() to suite. 2020-05-26 02:10:09 -07:00
Jason Volk
ef022a215f ircd:Ⓜ️🪝 Use nothrow disable_interruption; propagate by default. 2020-05-24 21:06:17 -07:00
Jason Volk
31dfedbcd7 ircd::json: Add suite for type optimized type query; refactor grammars. 2020-05-24 19:03:00 -07:00
Jason Volk
e938081404 ircd::ctx: Add watchdog log facility. 2020-05-24 17:42:32 -07:00
Jason Volk
ac42d4df13 ircd::ctx: Measure and report epoch span for slice_usage_warning. 2020-05-24 17:14:02 -07:00
Jason Volk
f070e3b706 ircd::ctx: Condition on RB_DEBUG rather than NDEBUG for slice_usage_warning tool. 2020-05-24 17:14:02 -07:00
Jason Volk
24d73428c8 ircd::json: Fix overzealous escape cases. (fixes #152) (fixes #17) 2020-05-24 15:32:40 -07:00
Jason Volk
2f51b01008 ircd::fs: Integrate fd::opts extending fs::opts. 2020-05-24 15:32:40 -07:00
Jason Volk
c7b473485b ircd::allocator: Add argument for options string to info() interface. 2020-05-22 16:37:05 -07:00
Jason Volk
54a72532b6 ircd::json: Eliminate output validation for release builds. 2020-05-22 16:37:05 -07:00
Jason Volk
c73636f950 ircd::json: Add output validation to base stringify() template. 2020-05-22 16:37:05 -07:00
Jason Volk
a57469fbd6 ircd::spirit: Add convenience templates for semantic context access. 2020-05-20 20:52:32 -07:00
Jason Volk
4d5c006003 ircd::fs: Simplify read suite overloads. 2020-05-20 20:40:48 -07:00
Jason Volk
a1de7e8e08 ircd::fs::fd: Replace open(2) with openat(2); additional constructor. 2020-05-20 20:40:48 -07:00
Jason Volk
82485b9aa9 ircd::fs: Minor cleanup. 2020-05-20 18:28:42 -07:00
Jason Volk
0c1e2be81a ircd::spirit: Add substring_view; additional imports. 2020-05-20 17:16:23 -07:00
Jason Volk
f2bdcd7859 ircd::spirit: Expand boost::fusion header selection. 2020-05-19 16:54:10 -07:00
Jason Volk
9213d31f1d ircd::ctx: Inline interruptible(ctx, ...) manipulators. 2020-05-19 15:55:18 -07:00
Jason Volk
3c96120e72 ircd::ctx: Add some noexcept; minor comment justification. 2020-05-18 19:57:54 -07:00
Jason Volk
00fe4baa2a ircd::ctx: Add direct flags reference accessor to interface. 2020-05-18 19:57:54 -07:00
Jason Volk
215a0148b4 ircd:Ⓜ️🪝:site: Add interrupt masking feature. 2020-05-18 19:02:49 -07:00
Jason Volk
ce3a57bfce ircd::ctx::uninterruptible: Add defaulted runtime bool construction. 2020-05-18 18:43:17 -07:00
Jason Volk
648d6e42b4 ircd::json: Inline vector::const_iterator related. 2020-05-18 18:12:34 -07:00
Jason Volk
8b3cc178ae ircd::spirit: Import qi::seek, qi::subrule; minor reorg. 2020-05-13 04:15:10 -07:00
Jason Volk
b91c768c57 ircd:Ⓜ️:vm::eval: Remove sequence_shared state. 2020-05-12 22:27:53 -07:00
Jason Volk
987a3eeb6b ircd:Ⓜ️:vm::eval: Add pointer to parent eval; related utils.
ircd:Ⓜ️:vm::eval: Add pointer to child evals; maintain stack.
2020-05-12 22:27:53 -07:00
Jason Volk
13003986bc ircd:Ⓜ️:vm::eval: Minor static interface reorg. 2020-05-12 22:27:53 -07:00
Jason Volk
3bd3173db0 ircd:Ⓜ️:vm: Replace eval hook::site member with entered hook ptr; add id to console cmd. 2020-05-12 22:27:53 -07:00
Jason Volk
adde714df4 ircd:Ⓜ️🪝 Add callsite overloads which maintain pointer to current hfn. 2020-05-12 19:21:58 -07:00
Jason Volk
38a12ec0f7 ircd:Ⓜ️🪝 Add integer for easier ident; improve log msgs; console cmd. 2020-05-12 19:21:58 -07:00
Jason Volk
a247334744 ircd:Ⓜ️🪝 Minor interface reorg. 2020-05-12 19:21:58 -07:00
Jason Volk
23b7dc62d6 ircd:Ⓜ️🪝 Add documenting comments on namespace, some primary structures. 2020-05-12 19:21:58 -07:00
Jason Volk
46cea198a2 ircd:Ⓜ️:vm: Remove explicit assignments in phase enumeration. 2020-05-12 19:21:58 -07:00
Jason Volk
b764e75692 ircd:Ⓜ️:vm: Additional fetch phases; split fetch hook sites. 2020-05-11 21:14:25 -07:00
Jason Volk
0fd5570c14 ircd:Ⓜ️:vm: Add enumeration for evaluation phases. 2020-05-11 21:14:25 -07:00
Jason Volk
a1708a687e ircd:Ⓜ️:vm: Rename eval.phase to eval.phase_hook. 2020-05-11 19:25:07 -07:00
Jason Volk
db4e0af8a9 ircd::tokens: Modernize all remaining interface delims to string_view. 2020-05-11 16:31:48 -07:00
Jason Volk
aae7f7e545 ircd::allocator::je: Add runtime query for linked library at initialization. 2020-05-10 18:53:45 -07:00
Jason Volk
b0776fd0f8 ircd:Ⓜ️:homeserver: Preliminary bootstrap from event vector. 2020-05-10 03:52:28 -07:00
Jason Volk
554478da49 ircd:Ⓜ️:homeserver: Consolidate/simplify ctor/dtor for now. 2020-05-10 03:02:20 -07:00
Jason Volk
0bd1d03bbc ircd:Ⓜ️:homeserver: Unload any loaded modules for ctor error. 2020-05-09 19:56:20 -07:00
Jason Volk
befe43f45a ircd:Ⓜ️:acquire: Add options to toggle operations. 2020-05-09 19:01:25 -07:00
Jason Volk
8c15247efc ircd::fs: Add options to fadvise() on fd open(). 2020-05-09 18:42:05 -07:00
Jason Volk
32192bf439 ircd::prof::psi: Additional state relative to last refresh. 2020-05-09 17:28:34 -07:00
Jason Volk
19f4917d9f ircd::prof::psi: Add threshold triggering mechanism to interface. 2020-05-09 17:28:34 -07:00
Jason Volk
05e384d315 ircd::prof::psi: Add interface to poll for PSI linux>=5.2. (#144) 2020-05-09 17:28:34 -07:00
Jason Volk
a0476b8a9c ircd::fs: Add a select()'ish multi-fd yielding device. 2020-05-09 17:28:34 -07:00
Jason Volk
47800ba094 ircd::allocator: Add interface to fetch some resource limits. 2020-05-08 00:44:13 -07:00
Jason Volk
52831893da ircd::util: Add next_powerof2(u64) constexpr. 2020-05-07 21:31:02 -07:00
Jason Volk
aaa5e785aa ircd::fs: Implement synchronous parallel-read interface. 2020-05-07 00:28:27 -07:00
Jason Volk
f34cc52043 ircd::util: Allow variable increment for scope_count. 2020-05-06 17:30:12 -07:00
Jason Volk
b448156da4 ircd::db: Interface to get the charge value of cache entry. 2020-05-05 19:58:37 -07:00
Jason Volk
36a0394184 ircd::db::database: Add custom allocator stub; apply per-cache allocators. 2020-05-05 19:58:37 -07:00
Jason Volk
63e0543175 ircd::http: Use unsigned 32bit type for chunk size. 2020-05-05 17:32:41 -07:00
Jason Volk
b3dbf0cd01 ircd::ctx: Start an interpositionable posix thread interface. 2020-05-04 16:09:39 -07:00
Jason Volk
18f215d3f0 ircd: Move main_thread assertion related to ctx; adjust condition. 2020-05-04 16:09:39 -07:00
Jason Volk
77dc612735 ircd::ctx: Various assertions for current context. 2020-05-04 13:15:45 -07:00
Jason Volk
a776565ce0 ircd::ctx: Fixes and assertions for shared_mutex upgrade lockable semantics. 2020-05-04 13:15:45 -07:00
Jason Volk
926795f01a ircd::ctx: Use context pointer for mutex/shared_mutex acquisition state. 2020-05-04 13:15:45 -07:00