0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-03 12:28:52 +01:00
Commit graph

179 commits

Author SHA1 Message Date
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
Jason Volk
d47518a102 ircd:Ⓜ️:self: Add the servername string to this section; update README. 2019-03-28 13:08:40 -07:00
Jason Volk
d2546120ee ircd: Add descriptor participation for all asynchronous operations. 2019-03-27 13:04:12 -07:00
Jason Volk
a21e03df27 ircd: Add restart support w/ console cmd. 2019-03-02 14:20:52 -08:00
Jason Volk
d639eceba2 ircd: Move runlevel related into ircd::run:: namespace. 2019-01-18 09:08:56 -08:00
Jason Volk
815252e71f ircd: Remove unused ap/cbor on this branch. 2019-01-02 12:27:17 -08:00
Jason Volk
e1fd3f556b ircd: Move runlevel definitions into ircd.cc. 2018-12-18 17:34:12 -08:00
Jason Volk
9f458938db ircd: Gracefully ignore termination propagated from ircd::main(). 2018-12-15 20:51:57 -08:00
Jason Volk
4216e939c8 ircd: Set runlevel to QUIT when ircd::quit() called in START state. 2018-12-15 18:18:00 -08:00
Jason Volk
399198deac ircd::ctx: Add flags for slice and stack usage watchdog exemption. 2018-12-13 16:21:54 -08:00
Jason Volk
45bf911952 ircd::conf: Add feature to toggle whether conf item is persisted in a db. 2018-12-08 16:27:32 -08:00
Jason Volk
1ba22a21ba ircd: Disperse accumulated global options as conf items in namespaces. 2018-12-08 15:36:34 -08:00
Jason Volk
0c0c3b1f41 ircd: Split runlevel related into header and unit. 2018-12-08 15:15:31 -08:00
Jason Volk
99001a4ea5 ircd: Initial ap. 2018-12-05 15:17:00 -08:00