0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-15 04:58:53 +02:00
Commit graph

3847 commits

Author SHA1 Message Date
Jason Volk
6c43a47d87 ircd:Ⓜ️:room::messages: Add event_idx convenience conversion. 2019-05-06 14:36:49 -07:00
Jason Volk
afa475eb18 ircd::ios: Add front for asio notify_fork(). 2019-05-06 13:48:49 -07:00
Jason Volk
7ef4b9f836 include/ircd: Add header file installer. 2019-05-06 13:18:51 -07:00
Jason Volk
3ea091712e include/ircd: Add header deps to pch targets. 2019-05-06 13:07:05 -07:00
Jason Volk
7606996d3b ircd::mapi: Elide metablock ctor from each module's PLT. 2019-05-06 12:18:06 -07:00
Jason Volk
250b600ead ircd::resource: Reduce m:: type dependency in request structure. 2019-05-06 11:16:44 -07:00
Jason Volk
4fb5d38319 ircd: Add comment in spirit header. 2019-05-06 10:42:11 -07:00
Jason Volk
77f468b257 ircd: Tweak smalldate fmt. 2019-05-05 20:00:52 -07:00
Jason Volk
1bf17da6d1 ircd::stats: Additional arithmetic/access operators on item. 2019-05-05 19:12:54 -07:00
Jason Volk
688340a8a2 ircd:Ⓜ️ Recombine modules/m_room with ircd/m_room for now. 2019-05-05 18:10:51 -07:00
Jason Volk
134bcc1bfb ircd::fs: Add write_opts for RWF_WRITE_LIFE_* support. 2019-05-05 17:48:02 -07:00
Jason Volk
861df761fe ircd::fs: Add runtime support indicators for write_life related features. 2019-05-05 17:46:50 -07:00
Jason Volk
82200a9abd ircd::fs: Add write_life hint fcntl front. 2019-05-03 19:53:05 -07:00
Jason Volk
4aef8cfdf8 ircd::net::socket: Deinline the read/write member template suites. 2019-05-03 16:29:56 -07:00
Jason Volk
e2136a3157 ircd::net::dns: Minor cleanup. 2019-05-03 16:09:57 -07:00
Jason Volk
d9812f3e86 ircd::fs: Add an evict() front to cache interface; add preconditions. 2019-05-03 05:52:12 -07:00
Jason Volk
d544c37d3d ircd::fs: Abstract the posix_fadvise wrapping. 2019-05-03 03:33:45 -07:00
Jason Volk
d74985d3f9 ircd:Ⓜ️ Move event.h/room.h headers into their dirs. 2019-05-02 21:43:27 -07:00
Jason Volk
a464523c00 ircd::mapi: Cleanup macros for potential deepbind strategy. 2019-05-02 21:42:34 -07:00
Jason Volk
7d6bcd1bd0 ircd: Add visibility pragma in stdinc.h 2019-05-02 16:45:27 -07:00
Jason Volk
04e5e44c98 ircd:Ⓜ️:event: Use direct reference initialization for constexprs here. 2019-05-02 15:35:26 -07:00
Jason Volk
ab61b38ad0 ircd::server:🔗 Add noexcept on handlers. 2019-05-02 15:35:26 -07:00
Jason Volk
1a266a0651 ircd::mapi: Change header symbol name, visibility; use macro for declaration. 2019-05-02 15:35:26 -07:00
Jason Volk
77a92a1874 modules/s_keys: Reorg free functions into namespace; various cleanup. 2019-05-01 15:40:17 -07:00
Jason Volk
c45160462c ircd::mapi: Add default visibility attribute to macro and header. 2019-04-30 15:14:24 -07:00
Jason Volk
a5f26db7ea modules/s_fetch: Split hook handler into auth and prev related subroutines. 2019-04-30 14:14:08 -07:00
Jason Volk
64770c0214 ircd:Ⓜ️:event::prev: Add suite to check if prev reference exists; minor cleanup. 2019-04-29 11:06:56 -07:00
Jason Volk
73ea2ff156 ircd:Ⓜ️:event: Add comment \brief's to prev and refs interfaces. 2019-04-29 10:59:33 -07:00
Jason Volk
17a9763da6 ircd:Ⓜ️:event::prev: Use size_t indexing rather than uint. 2019-04-29 10:57:43 -07:00
Jason Volk
80fb8699a1 ircd:Ⓜ️ Add a membership string size constant. 2019-04-27 18:32:45 -07:00
Jason Volk
425385265a ircd:Ⓜ️:room::origins: Minor reorg for_each. 2019-04-27 18:32:45 -07:00
Jason Volk
0cdbe472d1 ircd::util: Add pretty() convenience to timer. 2019-04-27 15:51:36 -07:00
Jason Volk
10b8e1d08b ircd:Ⓜ️:event::fetch: Relax object semantics. 2019-04-26 05:30:21 -07:00
Jason Volk
05306b2ce7 ircd:Ⓜ️ Minor formatting fix; remove stale comment. 2019-04-26 03:23:09 -07:00
Jason Volk
e5563586cf ircd:Ⓜ️ Additional room sounding tools; improve console cmd. 2019-04-26 01:47:13 -07:00
Jason Volk
486ca09153 ircd:Ⓜ️ Replace is_complete w/ sounding(); console cmd. 2019-04-26 01:35:39 -07:00
Jason Volk
ba797778d6 ircd:Ⓜ️ Provide event_idx for event after gap to closure. 2019-04-26 01:35:38 -07:00
Jason Volk
e3e9322718 ircd:Ⓜ️ Add a room depth gap sounding suite w/ console cmd. 2019-04-26 01:35:16 -07:00
Jason Volk
f26fc85b0a ircd:Ⓜ️:error: Add convenience getters for properties. 2019-04-25 23:35:46 -07:00
Jason Volk
67380746b6 ircd::fs: Default write_opts::keep_size to true for fallocate() behavior. 2019-04-25 22:16:13 -07:00
Jason Volk
cfe4807b77 ircd::prof: Add a higher resolution syscall timer. 2019-04-25 21:10:45 -07:00
Jason Volk
30b59f4736 ircd::prof: Reorg; deinline various; add comments. 2019-04-25 21:10:45 -07:00
Jason Volk
e4acdbf772 ircd: Tweak the smalldate() format. 2019-04-25 07:35:18 -07:00
Jason Volk
ad3fedd2e2 ircd::json: Remove explicit type check here. 2019-04-24 20:12:58 -07:00
Jason Volk
541d95f47e ircd:Ⓜ️:v1: Add ids_only to event_auth opts. 2019-04-24 17:43:03 -07:00
Jason Volk
693cd317ff ircd::ctx: Fix the sentinel iterator value for when_any() to last (end) not first. 2019-04-23 18:40:08 -07:00
Jason Volk
28f677eef2 ircd::info: Remove ununused; minor reorg. 2019-04-23 01:30:36 -07:00
Jason Volk
d18711503f ircd:Ⓜ️ Unsplit event/event.h room/room.h. 2019-04-22 21:38:27 -07:00
Jason Volk
f6314a4201 modules/s_fetch: Minor reorg; pass room arg to fetch::synchronize(). 2019-04-22 12:45:45 -07:00
Jason Volk
e3b1be2910 ircd:Ⓜ️:vm: Refactor various fetch related options. 2019-04-22 12:27:43 -07:00
Jason Volk
56dd0ed8e7 ircd:Ⓜ️:vm: Add opts to pass user_id/node_id of evaluator. 2019-04-22 12:25:50 -07:00
Jason Volk
b683f1d436 modules/vm: Assert options; prevent assignment of eval. 2019-04-22 12:23:37 -07:00
Jason Volk
e0b4dc4450 ircd::server: Use a uniform log prefix for link related. 2019-04-22 12:13:27 -07:00
Jason Volk
acd774c3ee ircd::fs: Make ~fd() noexcept. 2019-04-22 09:16:11 -07:00
Jason Volk
7d55468511 ircd::fs: Add fd::opts getter from open fd. 2019-04-22 09:14:46 -07:00
Jason Volk
d08bcc2f32 ircd::fs: Add fd::release() memfn. 2019-04-22 08:55:42 -07:00
Jason Volk
f145c6774a ircd::fs: Rename function. 2019-04-21 04:15:10 -07:00
Jason Volk
fbcd38fa17 ircd::fs: Add a preliminary fincore(1)-like tool. 2019-04-20 19:24:18 -07:00
Jason Volk
2a0b3994f9 ircd: Apply low-memory compile flags to spirit.h.gch. 2019-04-20 19:24:18 -07:00
Jason Volk
744438ec49 ircd: Precompile the spirit.h header. 2019-04-20 19:24:18 -07:00
Jason Volk
21a62019f2 modules/vm: Simplify error wrapping on propagation. 2019-04-20 15:03:51 -07:00
Jason Volk
db539c6268 ircd::db: Add write-ahead-log recovery callback surface. 2019-04-20 14:30:42 -07:00
Jason Volk
4db52804cb ircd::ctx: Use iteration closure rather than exposing ctx::list. 2019-04-19 20:50:22 -07:00
Jason Volk
53fed2c4e9 ircd::util: Null the instance_list allocator ptr after use. 2019-04-19 17:42:34 -07:00
Jason Volk
91a7426899 ircd::util: Fix list node allocation related in optimized builds. 2019-04-19 16:35:50 -07:00
Jason Volk
55fc2c6f76 ircd::prof: Add callgrind hypercall suite. 2019-04-19 05:53:54 -07:00
Jason Volk
def7ee2753 ircd::allocator: Renamespace the vg utils. 2019-04-19 05:26:51 -07:00
Jason Volk
c7a872c67a ircd:Ⓜ️🪝 Add accounting for hook calls; site/hook current call count. 2019-04-18 21:52:33 -07:00
Jason Volk
02b835eb2b ircd:Ⓜ️:feds: Add additional options; document options. 2019-04-18 21:23:00 -07:00
Jason Volk
0176dba9a8 ircd:Ⓜ️:fetch: Consolidate interface; remove unused; reorg. 2019-04-18 19:12:37 -07:00
Jason Volk
9907f7f477 ircd::stats: Add value; add operator/access suite. 2019-04-18 17:56:09 -07:00
Jason Volk
c427223340 ircd::mapi: Force the header inline so the module contains the constants. 2019-04-18 17:36:33 -07:00
Jason Volk
1312784518 ircd::mapi: Add a serial number to deal with removed modules which are still installed. 2019-04-18 17:36:33 -07:00
Jason Volk
12df824cf4 ircd::ctx: Allow lambda transformation of the iterable for when_any()/when_all(). 2019-04-18 16:07:24 -07:00
Jason Volk
0edd47d383 ircd:Ⓜ️:feds: Add vector of operations to API. 2019-04-18 15:26:03 -07:00
Jason Volk
c6a59ab6b1 ircd::util: Add an unwind::defer device. 2019-04-18 05:46:07 -07:00
Jason Volk
5232893c6a ircd:Ⓜ️:fetch: Checkpoint frontfill / head selection related. 2019-04-18 05:17:49 -07:00
Jason Volk
bc922724cd ircd:Ⓜ️:feds: Refactor interface into opcode ABI. 2019-04-18 05:16:21 -07:00
Jason Volk
08cd894cd0 ircd:Ⓜ️:feds: Point to the opts in result struct. 2019-04-18 04:15:13 -07:00
Jason Volk
59982907d3 ircd:Ⓜ️:feds: Add feds::auth; update console cmd. 2019-04-18 04:13:21 -07:00
Jason Volk
871fb748eb ircd:Ⓜ️:fetch: Pass boolean values down the stack for start/prefetch. 2019-04-18 01:21:22 -07:00
Jason Volk
2726c67ecc ircd::server: Dedup request/tag move semantics. 2019-04-18 01:10:43 -07:00
Jason Volk
afdf0efbd1 ircd::buffer: Tweak unique_buffer semantics. 2019-04-18 00:59:56 -07:00
Jason Volk
128b770429 ircd::buffer: Move aligned_alloc to ircd::allocator; deinline. 2019-04-18 00:21:08 -07:00
Jason Volk
286aee740b ircd::buffer: Use c++17 switch here; addl assertions. 2019-04-18 00:08:10 -07:00
Jason Volk
0fa4bdcff7 ircd:Ⓜ️:rooms: Consolidate / refine the rooms iteration interface. 2019-04-17 20:47:50 -07:00
Jason Volk
25680a8ed2 ircd: Move smalldate() to date.h from logger unit. 2019-04-17 19:27:26 -07:00
Jason Volk
1eaff2e91e ircd::fs: Runtime binding for pwritev(2)/pwritev2(2) based on kernel version. 2019-04-17 19:19:30 -07:00
Jason Volk
08b53b1746 ircd::vg: Start a valgrind emulator hypercall suite. 2019-04-17 00:59:52 -07:00
Jason Volk
83193d0ff9 ircd::server: Add an op_open; handle control return to link::open(). 2019-04-16 22:37:44 -07:00
Jason Volk
0f404a0bda ircd::net: Addition assertions; use constrefs in handler cbs. 2019-04-16 21:39:43 -07:00
Jason Volk
4038973297 ircd::util: Use allocator::node for instance_list instances. 2019-04-16 20:48:00 -07:00
Jason Volk
903a6e7f57 ircd::server: Copy the eptr so it doesn't get robbed on forwarding constructions. 2019-04-16 19:04:23 -07:00
Jason Volk
adfc4d0c70 ircd::ios: Fix overzealous universal construction of handler. 2019-04-16 18:33:01 -07:00
Jason Volk
af1bd92b26 ircd::spirit: Apply hidden visibility to all headers + our internal grammar namespaces. 2019-04-16 18:33:01 -07:00
Jason Volk
5fee4a9933 ircd:Ⓜ️:events: Add type-based iteration w/ console cmd. 2019-04-16 16:11:23 -07:00
Jason Volk
9b00c65ef6 ircd:Ⓜ️:events: Add additional lighter-weight event_idx iteration tools. 2019-04-16 16:11:23 -07:00
Jason Volk
d96208faaf ircd:Ⓜ️:events: Add iteration tools for events in sender/origin. 2019-04-16 16:11:23 -07:00
Jason Volk
ecbdf00f22 ircd:Ⓜ️:dbs: Add event_type metadata column. 2019-04-16 16:11:23 -07:00
Jason Volk
8148dc6502 ircd:Ⓜ️:dbs: Add event_sender metadata column. 2019-04-16 15:04:31 -07:00
Jason Volk
25d153d64c ircd:Ⓜ️:sync: Add an initial phase convenience; add account_data as an initial phase. 2019-04-16 01:32:52 -07:00
Jason Volk
f17e521ff8 ircd::ios: Objectify the asio enqueuing wrappers. 2019-04-16 01:32:52 -07:00
Jason Volk
92cdccf956 ircd::net: Add parent ssl_cipher conf items; add curve items. 2019-04-15 22:16:16 -07:00
Jason Volk
889b65a002 ircd::net: Additional traps / assertions. 2019-04-15 17:09:35 -07:00
Jason Volk
7d021f9430 ircd::server: Rename server_name to server_version. 2019-04-15 15:23:44 -07:00
Jason Volk
307d8bf71c ircd:Ⓜ️:fetch: Fix object assignment semantics. 2019-04-15 14:44:58 -07:00
Jason Volk
77b16f32ce ircd:Ⓜ️:append: Calculate age based on depth from room head.
fixes #55
2019-04-15 14:44:58 -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
58c5ac7855 ircd::ios: Add asio::defer() to interface. 2019-04-12 16:26:34 -07:00
Jason Volk
8c68a24e1f ircd::ctx::prof: Add cycle counter to ticker array. 2019-04-12 15:58:06 -07:00
Jason Volk
541dbadf2f ircd::buffer: Increase restrictions for unique_buffer<>. 2019-04-12 11:34:00 -07:00
Jason Volk
15bd7282c7 ircd::db: Use rvalue refs here. 2019-04-12 09:36:53 -07:00
Jason Volk
2822cd0a8a ircd:Ⓜ️:fetch: Add headfill operation. 2019-04-12 05:09:38 -07:00
Jason Volk
eb33688bc1 ircd:Ⓜ️:fetch: Add additional interface tools; consolidate interface; cleanup/reorg.
ircd:Ⓜ️:fetch: Add backfill suite.
2019-04-12 04:44:26 -07:00
Jason Volk
7d27126f96 ircd:Ⓜ️:room: Add any_user() convenience. 2019-04-12 04:44:26 -07:00
Jason Volk
c14d67102a ircd:Ⓜ️:fetch: Reorient interface to expose fetch::request. 2019-04-12 03:35:46 -07:00
Jason Volk
eace5e309c ircd:Ⓜ️:feds: Add / upgrade backfill. 2019-04-12 01:53:57 -07:00
Jason Volk
360cc01dc8 ircd:Ⓜ️:feds: Migrate feds::perspective() to interface. 2019-04-12 00:55:16 -07:00
Jason Volk
06e381ce2b ircd:Ⓜ️:feds: Use a misc arg vector of string_view's. 2019-04-12 00:52:29 -07:00
Jason Volk
302969f100 ircd:Ⓜ️:feds: Add namespace \brief. Reorg impl layout. 2019-04-12 00:33:29 -07:00
Jason Volk
dc93610914 ircd:Ⓜ️:feds: Add feds::event to interface. 2019-04-12 00:16:27 -07:00
Jason Volk
3865326d71 ircd::server: Add additional loghead(link, request) with more data. 2019-04-11 22:26:11 -07:00
Jason Volk
4f27526e9b ircd::server: Add monotonic identity counters for peers and links. 2019-04-11 22:26:11 -07:00
Jason Volk
d38c5801c9 ircd::server: Add interface to iterate all requests. 2019-04-11 21:40:59 -07:00
Jason Volk
5f1f0d0d7f ircd::server: Distill out functions to parse HTTP head from in/out buffers. 2019-04-11 21:13:42 -07:00
Jason Volk
c9c171ed5b ircd:Ⓜ️:feds: Refine the feds preliminary central interface. 2019-04-11 06:27:28 -07:00
Jason Volk
74778bd024 ircd::ios: Add a queued handler counter to stats. 2019-04-10 22:54:13 -07:00
Jason Volk
562651aa7d ircd:Ⓜ️:fetch: Add fetch+eval workers; start central interface; various. 2019-04-10 22:32:06 -07:00
Jason Volk
1209d47fa5 ircd:Ⓜ️:vm: Add additional vmopts related to fetching. 2019-04-10 22:32:06 -07:00
Jason Volk
049828290f ircd::server: Fix move semantics for server::in. 2019-04-10 22:32:06 -07:00
Jason Volk
0b51a10a44 ircd::fs::aio: Count io_submit() 'stalls' in stats. 2019-04-10 20:18:51 -07:00
Jason Volk
ba46e8c005 ircd::fs::aio: Move for_each_completed() to central interface; add additional utils. 2019-04-10 20:18:51 -07:00
Jason Volk
d8bf5b9fff ircd::ctx: Add a syscall_usage_warning to suite. 2019-04-10 20:18:50 -07:00
Jason Volk
9f07790b41 ircd::ios: Start an opaque interface; add name(). 2019-04-10 20:18:50 -07:00
Jason Volk
565d6e8381 ircd::prof: Add a syscall_timer device. 2019-04-10 20:18:50 -07:00
Jason Volk
b45306a012 ircd::buffer: Additional assertions; simplify unique_buffer operations; minor cleanup. 2019-04-10 20:18:50 -07:00
Jason Volk
cd8b645b91 ircd::util: Stub a TODO for util::closure. 2019-04-09 21:08:15 -07:00
Jason Volk
5c359f22f3 ircd::net::socket: Change behavior of non-blocking read_() calls to not throw for EAGAIN. 2019-04-09 21:08:15 -07:00
Jason Volk
3a9e85c294 ircd::net::addrs: Tweak interface detail; workaround issues. 2019-04-09 20:05:48 -07:00
Jason Volk
37ddf9f8fb ircd::net: Make various conversions to ipaddr explicit. 2019-04-09 15:54:22 -07:00
Jason Volk
ca7d401144 ircd::buffer: Add remains() to window_buffer interface. 2019-04-08 20:42:37 -07:00
Jason Volk
a82410009e ircd:Ⓜ️:sync: Introduce phased polylogarithmic initial sync. 2019-04-08 02:46:49 -07:00
Jason Volk
a780609b76 ircd:Ⓜ️:sync: Add opts to sync::item. 2019-04-08 01:53:09 -07:00
Jason Volk
d08bd0b336 ircd:Ⓜ️:vm: Remove unused fault codes. 2019-04-07 20:57:43 -07:00
Jason Volk
6ff3c88fa4 ircd::fs: Add a wait() interface. 2019-04-07 17:59:52 -07:00
Jason Volk
3bed48011d ircd::fs: Add non-blocking option passed to fd ctor's open(2) fwiw. 2019-04-07 16:45:35 -07:00
Jason Volk
9994836db0 ircd::fs: Add and use dedicated log facility for ircd::fs. 2019-04-07 16:28:21 -07:00
Jason Volk
e752273462 ircd::prof: Add an rusage based profile object. 2019-04-07 15:34:39 -07:00
Jason Volk
ab6cf110d5 ircd::prof: Make sample_t constructions consistent for all prof objects. 2019-04-07 15:33:36 -07:00
Jason Volk
6ae6624772 ircd:Ⓜ️ Add room object equality operator suite. 2019-04-07 14:50:27 -07:00