0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-31 14:54:40 +02:00
Commit graph

3754 commits

Author SHA1 Message Date
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