0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-02 14:55:20 +02:00
Commit graph

3039 commits

Author SHA1 Message Date
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
Jason Volk
29775f0866 ircd::util: Add hton()/ntoh() in-place swap overloads. 2019-04-06 17:12:01 -07:00
Jason Volk
d1966fffb5 ircd::prof: Add more timing calls with better resolution. 2019-04-06 14:18:08 -07:00
Jason Volk
d118a0e743 ircd::fs: Add enumerated op codes to identify request types. 2019-04-06 12:13:16 -07:00
Jason Volk
9d8fe82126 ircd::prof: Add x-platform cputime reporting alternative interface. 2019-04-05 18:12:23 -07:00
Jason Volk
e29ebb0b98 ircd::info: Query sysconf value for CLK_TCK. 2019-04-05 18:12:23 -07:00
Jason Volk
ecf8465d36 ircd::log: Change some widths into consts; various reorg. 2019-04-05 14:38:50 -07:00
Jason Volk
f289bc5095 ircd: Additional system_error translation utils. 2019-04-03 21:05:39 -07:00
Jason Volk
1b0853a9c5 ircd::util: Split custom_ptr; make strong type; pointer conversion. 2019-04-03 17:18:21 -07:00
Jason Volk
8e1dc9f453 ircd::prof: Develop profiling system; implement non-hardware counters. 2019-04-03 15:51:42 -07:00
Jason Volk
b83bc1cb2f ircd::spirit: Add explicit phoenix actor typedefs for additional argument slots. 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
f7dc5f6146 ircd::fs: Add fd fdno ctor. 2019-03-31 23:57:35 -07:00
Jason Volk
7434a06ec6 ircd::resource: Add conditional method list generator. 2019-03-31 19:15:45 -07:00
Jason Volk
af08458f8d ircd::resource: Stub default/builtin method handlers for OPTIONS and HEAD. 2019-03-31 18:51:59 -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
9e61cf7bc0 ircd::info: Query cpuid features on init. 2019-03-31 17:04:02 -07:00
Jason Volk
19c58ca23e ircd:Ⓜ️:filter: Add convenience filter::get() taking a direct query string value. 2019-03-31 14:41:04 -07:00
Jason Volk
6644161140 ircd:Ⓜ️ Add state_filter w/ related m::name strings. 2019-03-31 14:03:21 -07:00
Jason Volk
40b3bdaa89 ircd::ctx::prof: Add uint argument for rdpmc; minor cleanup. 2019-03-31 13:24:11 -07:00
Jason Volk
9c2b215d60 ircd:Ⓜ️:room::aliases::cache: Add remote fetching; improve interface. 2019-03-30 19:02:11 -07:00
Jason Volk
8063904c06 ircd:Ⓜ️:room::aliases: Add preliminary aliases cache replacement interface. 2019-03-30 19:02:11 -07:00
Jason Volk
d17ac6a8bb ircd:Ⓜ️🆔 Add id part-swapping interface. 2019-03-30 18:15:07 -07:00
Jason Volk
276ba9941d modules/m_room_aliases: Move for_each impl to module. 2019-03-30 18:15:07 -07:00
Jason Volk
317fa612fb ircd:Ⓜ️:room: Add aliases interface. 2019-03-30 18:15:07 -07:00
Jason Volk
128fdfa8a3 ircd::json::stack: Improve active checkpoint invalidation related. 2019-03-30 14:58:34 -07:00
Jason Volk
9b2de5f4fc ircd::json::stack: Add conditional exception rollback toggle. 2019-03-30 14:35:48 -07:00
Jason Volk
e0864a1911 ircd::json::stack: Add checkpoint/chase device documentation. 2019-03-30 14:32:51 -07:00
Jason Volk
f7fa89b061 ircd::json::stack: Alter checkpoint rollback() behavior to proactive. 2019-03-30 14:13:34 -07:00
Jason Volk
a9a6adf28d ircd::json::stack: Add checkpoint ctor option for initial commitment state. 2019-03-30 14:09:47 -07:00
Jason Volk
b6732b5fdf ircd::fs::aio: Optimize integer sizes of various stats. 2019-03-30 13:02:03 -07:00
Jason Volk
f6f73e87cb ircd::json: Add strict check overload to type() suite. 2019-03-28 21:01:56 -07:00
Jason Volk
653c0bc3cc ircd::json: Cleanup members typedefs / construction stack. 2019-03-28 20:15:22 -07:00