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

6152 commits

Author SHA1 Message Date
Jason Volk
1dcfff91a5 ircd::ctx: Expose stack_max() to public interface. 2018-04-19 21:42:54 -07:00
Jason Volk
35a1c62b1f ircd::ctx: Add ctx::running()/waiting() for interface completeness. 2018-04-19 21:42:54 -07:00
Jason Volk
3b32d2170e ircd::ctx: Give ctx::ctx the instance_list. 2018-04-19 21:42:54 -07:00
Jason Volk
281a9e1cfd ircd::ctx: Place ctx::list node pointers into structure in ctx. 2018-04-19 21:42:54 -07:00
Jason Volk
793c24ce9e ircd::ctx: Simplify list iteration API. 2018-04-19 14:47:56 -07:00
Jason Volk
1d451ca3ff ircd:Ⓜ️ Add additional filter convenience constructors. 2018-04-19 14:23:47 -07:00
Jason Volk
0d4176a960 modules/console: Add events subcommand accepting filter-JSON argument. 2018-04-19 14:23:47 -07:00
Jason Volk
1397091b7c ircd:Ⓜ️:events: Add a filtered iteration. 2018-04-19 14:23:47 -07:00
Jason Volk
e57b85cb36 ircd:Ⓜ️ Add developer convenience constructor to event_filter. 2018-04-19 13:47:51 -07:00
Jason Volk
328292ba0e ircd|:Ⓜ️ Optimize path for head_idx()/depth() to avoid head id lookup. 2018-04-18 15:13:17 -07:00
Jason Volk
fbc78c9c60 ircd:Ⓜ️ Add head_idx(room) convenience to get one head event idx. 2018-04-18 15:09:13 -07:00
Jason Volk
a91c4314d4 modules/console: Add room top command. 2018-04-18 15:05:15 -07:00
Jason Volk
02bc9032e8 ircd:Ⓜ️ Add event::idx to top() tuple. 2018-04-18 15:04:46 -07:00
Jason Volk
7659ef3acc ircd:Ⓜ️ Reorder top() tuple; use strong type template std::get'ers. 2018-04-18 15:03:42 -07:00
Jason Volk
7b514deb80 modules/console: Add db base cmd w/ delegation to db list for empty arguments. 2018-04-18 14:27:18 -07:00
Jason Volk
d64adf8916 ircd:Ⓜ️ Rename event id generator function. 2018-04-18 14:26:25 -07:00
Jason Volk
7f3919dd17 ircd:Ⓜ️ Split events iterations into namespace. 2018-04-18 01:25:54 -07:00
Jason Volk
5a3f105afc ircd:Ⓜ️ Optimize away the event_seq column. 2018-04-18 00:28:05 -07:00
Jason Volk
e764747e17 ircd::db: Use actual gt operator for reverse integer less. 2018-04-18 00:25:02 -07:00
Jason Volk
03e8107b7b ircd:Ⓜ️:dbs: Elaborate additional descriptor options for columns. 2018-04-17 22:10:28 -07:00
Jason Volk
eefc7430bc ircd:Ⓜ️ Convert db column keys to binary integers over a continuous sequence space. 2018-04-17 21:13:16 -07:00
Jason Volk
e6a80082c8 ircd::db: Assertion for non-empty key seek. 2018-04-17 20:30:06 -07:00
Jason Volk
b95a588bc4 ircd::db: Comment/improve descriptor/column options. 2018-04-17 15:28:08 -07:00
Jason Volk
3b7b6f815e modules/console: Add db bytes command. 2018-04-17 14:14:00 -07:00
Jason Volk
330fe74035 ircd::db: Add file_count and bytes aggregator for all columns in db. 2018-04-17 14:13:36 -07:00
Jason Volk
359ff91316 modules/console: Add db stats convenience command to passthru to prop rocksdb.stats. 2018-04-17 13:43:10 -07:00
Jason Volk
12957038f7 ircd::db: Create template for integer comparators. 2018-04-17 13:42:30 -07:00
Jason Volk
ad0f248b0f ircd: Update assumptions / assertions for byte_view. 2018-04-17 13:41:26 -07:00
Jason Volk
6ef68a8f4e ircd:Ⓜ️ Show content bytes in pretty(event). 2018-04-17 02:51:44 -07:00
Jason Volk
5b09cdc264 modules/client: Stub various lies to quiet errors in Riot. 2018-04-17 01:15:30 -07:00
Jason Volk
8a829435cd ircd:Ⓜ️:vm: Special case sequence number zero for iterator. 2018-04-16 23:30:57 -07:00
Jason Volk
f0be8745b7 modules/console: Convert event dumper to use vm sequence iteration. 2018-04-16 23:30:14 -07:00
Jason Volk
00b46a8885 modules/client/sync: Checkpoint preliminary stateless incremental sync exhibit. 2018-04-16 17:57:41 -07:00
Jason Volk
bcd704826c ircd:Ⓜ️:vm: Move db::txn to the stack; use automatic reserve option. 2018-04-16 17:28:26 -07:00
Jason Volk
f06505a967 modules/console: Basic vm events iteration command. 2018-04-16 16:01:10 -07:00
Jason Volk
b729338037 ircd:Ⓜ️:room: Move event::fetch outside loop to prevent constructions. 2018-04-16 15:58:26 -07:00
Jason Volk
d5cd5dea09 ircd:Ⓜ️:vm: Sequence iteration interface. 2018-04-16 15:58:02 -07:00
Jason Volk
b320d8ece1 ircd:Ⓜ️:vm: Integrate sequence counting. 2018-04-16 15:20:08 -07:00
Jason Volk
d5087f4e8f ircd:Ⓜ️:dbs: Add event sequence column. 2018-04-16 15:20:08 -07:00
Jason Volk
dcacc5af0a ircd:Ⓜ️:vm: Add db::txn allocation reservation options. 2018-04-16 15:20:08 -07:00
Jason Volk
e009d6763e ircd::db: Fix issues with txn interface. 2018-04-16 15:20:08 -07:00
Jason Volk
cae6964fa5 ircd:Ⓜ️:vm: Add missing INTERRUPT fault to reflect switch. 2018-04-16 13:48:16 -07:00
Jason Volk
39a5272ee3 modules/console: Improve the events database dump process. 2018-04-15 22:33:44 -07:00
Jason Volk
0504962248 modules/m_presence: Basic exception handling for the edu hook. 2018-04-15 19:58:07 -07:00
Jason Volk
4ee21dba48 construct: Remove the unnecessary dummy resolver instance. 2018-04-15 18:02:42 -07:00
Jason Volk
60b9960c3d ircd:Ⓜ️ Tweaks to bootstrap / init task ordering. 2018-04-15 18:02:41 -07:00
Jason Volk
d6e5723014 modules/federation/sender: Fix various issues; propagate context interruption. 2018-04-15 18:02:41 -07:00
Jason Volk
19d7e05605 ircd::resource: Allow each resource method to specify its timing. 2018-04-15 18:02:41 -07:00
Jason Volk
49d83de384 ircd::net: Propagate ctx interruption to socket. 2018-04-15 17:46:20 -07:00
Jason Volk
f4b2273a4b ircd::net: Add a semaphore to the socket timer to invalidate queued callbacks. 2018-04-15 17:46:20 -07:00