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

192 commits

Author SHA1 Message Date
Jason Volk
43b85dad87 ircd:🆑 Offload blocking wait to thread; integrate dependencies with ircd::ctx. 2021-03-16 12:58:22 -07:00
Jason Volk
5ad43d8817 ircd:🆑 Add library interfacing utils; add init, infolog device banner.
ircd:🆑 Add context and device queue related init/dtor.
2021-01-08 01:37:45 -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
ff9375a408 ircd: Allow several debug msgs in release build; tweak facilities. 2020-12-01 00:00:54 -08:00
Jason Volk
6da204b063 construct: Fix exception propagation; interrupt masking during runlevel change. 2020-10-17 16:01:36 -07:00
Jason Volk
a015872df7 ircd: Disassociate compaction disabling from write_avoid. 2020-10-10 04:44:01 -07:00
Jason Volk
b7b2c44973 ircd: Improve restart-assist to convey different program options. 2020-10-01 00:02:16 -07:00
Jason Volk
3fedfaeb8d ircd: Add conf item to convey contextual diagnostic options. 2020-09-27 14:57:07 -07:00
Jason Volk
4ecb2d0d5f ircd: Add distinct maintenance mode; chain write-avoid/read-only and net listen modes. 2020-09-15 22:16:11 -07:00
Jason Volk
ba564d6bdb ircd: Tweak continue handler format string. 2020-09-04 21:09:49 -07:00
Jason Volk
f5dd9debb6 ircd: Move magick support to core lib. (#109) 2020-08-24 03:04:05 -07:00
Jason Volk
2b3066a2a4 ircd: Simplify switch; fix missing runlevel case. 2020-06-13 00:03:19 -07:00
Jason Volk
cfba2b52c9 ircd::run: Add additional UNLOAD runlevel on shutdown after QUIT. 2020-06-12 18:41:30 -07:00
Jason Volk
ca18ea1c17 construct: Redirect error propagation and startup failure. 2020-05-10 03:02:25 -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
c815de3621 ircd::run: Rename level IDLE to LOAD; minor reorg. 2020-03-16 16:56:07 -07: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
e4a07517fd ircd: Remove explicit catch for http::error around main(). 2020-02-19 13:26:38 -08:00
Jason Volk
2e9337d198 ircd::run: Split run.cc from ircd.cc for static initialization order upstreaming.
This allows run::changed handlers to be statically constructed in definition files
which are ordered before ircd.cc (i.e. all of them).
2020-01-24 10:40:33 -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
ac9b834eca ircd: Minor format fix. 2019-11-30 10:47:20 -08:00
Jason Volk
8c9d08ead5 ircd::run: Allow exception propagation based on runlevel. 2019-10-07 15:23:24 -07:00
Jason Volk
9e3c9be5a8 ircd::server: Minor cleanup of init related. 2019-10-05 16:21:06 -07:00
Jason Volk
e6f3f23439 ircd::run: Add comments; add check. 2019-10-03 15:55:08 -07:00
Jason Volk
e7c66d86d9 ircd::run: Add another runlevel; eliminate main callback; simplify. 2019-10-02 16:49:30 -07:00
Jason Volk
dbb3c55db5 matrix: Add m::homeserver; preliminary virtual origin networks. 2019-10-01 17:56:01 -07:00
Jason Volk
111ce0fb88 ircd::run: Simplify; remove condition. 2019-09-30 14:41:54 -07:00
Jason Volk
60b2de8ef4 ircd::run: Add main event callbacks. 2019-09-30 14:41:15 -07:00
Jason Volk
0b0e903dc7 construct: Add matrix unit; move instance out from ircd. 2019-09-30 14:23:28 -07:00
Jason Volk
85845dcff2 Abstract ircd::resource from ircd:Ⓜ️:resource; fix header stack. 2019-09-29 14:00:02 -07:00
Jason Volk
89e0a7fc82 ircd: Move matrix application related to derived library. 2019-09-27 19:35:26 -07:00
Jason Volk
dcab8eb08e ircd::prof: Remove cruft; minor cleanup. 2019-09-12 10:18:51 -07:00
Jason Volk
7cc029d726 ircd::run: Notify the changed::dock inside call_users. 2019-09-08 15:33:56 -07:00
Jason Volk
34de10317b ircd: Add info::versions instances for self API and ABI. 2019-09-07 14:10:01 -07:00
Jason Volk
be959362dd ircd::run: Handle runlevel change callback unhandled here. 2019-08-07 21:41:55 -07:00
Jason Volk
9539b21789 ircd::nacl: Improve sodium initialization; various cleanup. 2019-06-13 13:46:57 -06:00
Jason Volk
f702520044 ircd: Add infrastructure to handle continuation notification after suspending. 2019-06-05 15:06:16 -07:00
Jason Volk
351f1804c8 Add runtime program option to soften assert behavior. 2019-06-01 02:10:30 -07:00
Jason Volk
d7e1f88921 ircd: Minor remove cruft; internal ircd::main(). 2019-05-24 18:15:56 -07:00
Jason Volk
d90d06307d ircd: Add validations on init() origin/servername inputs. 2019-05-09 16:58:29 -07:00
Jason Volk
87210d4856 ircd: Wait on the runlevel changed dock in ircd::main(). 2019-04-24 02:19:14 -07:00
Jason Volk
a6a8fa7d1b ircd: Only post runlevel callback when on ctx. 2019-04-24 00:46:06 -07:00
Jason Volk
28f677eef2 ircd::info: Remove ununused; minor reorg. 2019-04-23 01:30:36 -07:00
Jason Volk
4d6eb23352 ircd: Use unwind::defer to enter run::level::HALT. 2019-04-18 05:46:20 -07:00
Jason Volk
4038973297 ircd::util: Use allocator::node for instance_list instances. 2019-04-16 20:48:00 -07:00
Jason Volk
f9025cebb9 ircd: Support read-only and write-avoid modes via conf item / command line. 2019-04-15 11:16:31 -07:00
Jason Volk
8e1dc9f453 ircd::prof: Develop profiling system; implement non-hardware counters. 2019-04-03 15:51:42 -07:00
Jason Volk
63c850b123 ircd: Rename perf:: to prof::. 2019-04-03 15:51:42 -07:00
Jason Volk
403bf52867 ircd::perf: Start a perf profiling subsystem; move ctx::prof counter utils. 2019-03-31 18:16:18 -07:00