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

314 commits

Author SHA1 Message Date
Jason Volk
a3a3239e6e ircd:Ⓜ️ Add room::messages interface; comment on room::state. 2018-02-10 19:50:53 -08:00
Jason Volk
43d581f1e9 ircd:Ⓜ️ Add room::get() passthru interface to room::state. 2018-02-10 18:37:06 -08:00
Jason Volk
605fbe1859 ircd:Ⓜ️ Use member buffer caches in m::room::state for the state root/head event. 2018-02-10 18:37:06 -08:00
Jason Volk
e368101e54 ircd:Ⓜ️:state: Might as well typedef this id. 2018-02-10 17:33:17 -08:00
Jason Volk
3597d1eb6b ircd:Ⓜ️ Elaborate the event::prev interface with pattern conveniences. 2018-02-10 13:44:54 -08:00
Jason Volk
b238818522 ircd:Ⓜ️ Convert room::members/origins iters to test proto; console update; various. 2018-02-10 13:05:01 -08:00
Jason Volk
23387155df ircd:Ⓜ️ Candidate split room::state interface (const part). 2018-02-10 00:41:10 -08:00
Jason Volk
9405166a7a ircd:Ⓜ️:state: Add an unconditional for_each. 2018-02-10 00:41:06 -08:00
Jason Volk
5236a7d129 ircd:Ⓜ️ Add convenience event::fetch::valid() := row::valid(). 2018-02-10 00:39:13 -08:00
Jason Volk
98d3b8bc65 ircd:Ⓜ️:state: Make each() into test() protocol. 2018-02-10 00:38:36 -08:00
Jason Volk
00ed883f22 ircd:Ⓜ️ Typedefs to close over event::id and room::id. 2018-02-09 22:13:18 -08:00
Jason Volk
063644feaa ircd:Ⓜ️ Abort the current sorry state of m::io. 2018-02-09 21:33:06 -08:00
Jason Volk
6ff27aa45c ircd:Ⓜ️ Add room.root(); crush pattern. 2018-02-09 13:08:41 -08:00
Jason Volk
cf18cdfcb7 ircd:Ⓜ️:state: Add nothrow overloads for value get() suite. 2018-02-09 11:55:49 -08:00
Jason Volk
45f165b462 ircd:Ⓜ️ Add event::fetch: db::cell/db::row aggregate; apply to all pattern. 2018-02-09 11:22:46 -08:00
Jason Volk
e0df498415 ircd:Ⓜ️:room: Plug more stuff back in. 2018-02-08 23:23:50 -08:00
Jason Volk
a32f93c357 ircd:Ⓜ️:vm: Add specific exception; checkpoint incomplete eval; fix dbref. 2018-02-08 23:23:50 -08:00
Jason Volk
ec2f44f409 ircd:Ⓜ️:state: Typedef an id_buffer for better public use. 2018-02-08 21:02:10 -08:00
Jason Volk
39fed550cd ircd:Ⓜ️ Elaborate room.maxdepth() into the m::head(room)/m::depth(room) (non-array) suite. 2018-02-08 20:59:48 -08:00
Jason Volk
fd7792d32b ircd:Ⓜ️ Reenable the room::maxdepth() query with efficiency. 2018-02-08 17:19:12 -08:00
Jason Volk
2db910adea ircd:Ⓜ️:dbs: Add room_events key extractor for use with db::index::iterator. 2018-02-08 17:19:04 -08:00
Jason Volk
6e34a4a399 ircd:Ⓜ️:dbs: Add highest->lowest depth comparator for room_events meta. 2018-02-08 17:19:03 -08:00
Jason Volk
2f0c4e004e ircd:Ⓜ️:dbs: Treat room_events as an index column for better behavior. 2018-02-08 16:36:09 -08:00
Jason Volk
f096a45e88 ircd:Ⓜ️ Update the common m::error list. 2018-02-08 15:00:53 -08:00
Jason Volk
4540a32948 ircd:Ⓜ️ Events database interface to m::dbs; trim vm; [inconsistent]. 2018-02-08 13:27:49 -08:00
Jason Volk
7346d9dcdb ircd:Ⓜ️:state: Rename head to root. 2018-02-08 13:27:49 -08:00
Jason Volk
230be7d922 ircd:Ⓜ️ Remove the query; remove the query from the cursor. 2018-02-08 13:27:49 -08:00
Jason Volk
5c968f0949 ircd:Ⓜ️:state: Distill out any DB/IO for tree root; split out create(); remove init. 2018-02-08 13:27:49 -08:00
Jason Volk
775f410e63 ircd:Ⓜ️ Update README. 2018-02-08 13:27:48 -08:00
Jason Volk
af62b5f089 ircd:Ⓜ️:state: Proper typedef for value closures. 2018-02-05 21:24:36 -08:00
Jason Volk
49027cc312 ircd:Ⓜ️:state: Optimize DFS branches recursed based on key argument prefix. 2018-02-05 21:24:36 -08:00
Jason Volk
025e1d7c78 ircd:Ⓜ️ Move events database description and instance to libircd. 2018-02-05 21:24:36 -08:00
Jason Volk
9c03fcdb95 ircd:Ⓜ️:state: Basic util suite. 2018-02-05 21:24:36 -08:00
Jason Volk
ea35ea5863 ircd:Ⓜ️:state: Cache DB column refs statically and away from API surface. 2018-02-05 21:24:35 -08:00
Jason Volk
42bd702d8f ircd:Ⓜ️:state: Adjust interface for event insertions from m::dbs. 2018-02-05 21:24:35 -08:00
Jason Volk
b97f6bf7a9 ircd:Ⓜ️:state: Improve buffer related; fix issues. 2018-02-05 21:24:35 -08:00
Jason Volk
d4eeeacdec ircd:Ⓜ️:state: Tweak some issues. 2018-02-05 21:24:35 -08:00
Jason Volk
dc361284f0 ircd:Ⓜ️:state: Add a DFS with closure; comments; cleanup. 2018-02-05 21:24:35 -08:00
Jason Volk
be624ca7f6 Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
Jason Volk
6b7b3b2db7 ircd:Ⓜ️:state: Cleanup; break down operations. 2018-02-05 18:54:56 -08:00
Jason Volk
d53eef4ab6 ircd: Eliminate the raw_buffer concept. 2018-02-05 18:54:55 -08:00
Jason Volk
63d28a77cc ircd:Ⓜ️:state: Make it right. 2018-02-02 15:06:12 -08:00
Jason Volk
50a0983fa0 ircd:Ⓜ️:state: Make it work. 2018-02-02 14:58:56 -08:00
Jason Volk
8296adb6c3 ircd:Ⓜ️:state: Try using a separate child array to store values at any level (partial). 2018-02-02 14:58:55 -08:00
Jason Volk
6f1220dc5f ircd:Ⓜ️ Cleanup and prep m::state related. 2018-01-30 13:33:17 -08:00
Jason Volk
365fabe638 ircd::db: Rename iov to txn (since iov should really be a rocksdb::SliceParts). 2018-01-30 09:58:36 -08:00
Jason Volk
0d8a646ccc ircd:Ⓜ️ Split state:: off dbs::. 2018-01-29 09:36:05 -08:00
Jason Volk
b462f2bbd8 ircd:Ⓜ️ Fix m::error constructor stack for zero-argument exceptions. 2018-01-28 09:09:58 -08:00
Jason Volk
4cfd41327a ircd:Ⓜ️ Checkpoint single-level/splitless state query. 2018-01-28 08:45:09 -08:00
Jason Volk
6bc6d9f8a1 ircd: Minor cleanup. 2018-01-28 08:44:47 -08:00
Jason Volk
a9cada32db ircd:Ⓜ️ Add dbs namespace; remove old interfaces; checkpoint various. 2018-01-26 18:12:46 -08:00
Jason Volk
ed5b4d0641 ircd:Ⓜ️ Room interface related. 2018-01-26 12:23:28 -08:00
Jason Volk
74657fa197 ircd:Ⓜ️ Minor cleanup: remove redundant namespace scope here. 2018-01-26 12:22:06 -08:00
Jason Volk
623f4fec8c ircd:Ⓜ️ Suppress subobject linkage warnings here for now. 2018-01-25 12:15:50 -08:00
Jason Volk
610d4ad9da ircd: Minor comment cleanup. 2018-01-25 12:15:40 -08:00
Jason Volk
5ca98e9c9a ircd:Ⓜ️ Move more name strings into name::. 2018-01-24 11:02:56 -08:00
Jason Volk
d2f887f778 ircd:Ⓜ️ Move m.room keys to name.h 2018-01-23 16:35:28 -08:00
Jason Volk
56191db9bc ircd:Ⓜ️ Add v1::send response helper; comments; minor cleanup. 2018-01-23 15:07:05 -08:00
Jason Volk
0c838448c2 ircd:Ⓜ️ Add send/send_join to v1; fix buffer sizes. 2018-01-22 10:06:27 -08:00
Jason Volk
a6bc89d960 ircd:Ⓜ️ Remove name cruft. 2018-01-22 03:34:12 -08:00
Jason Volk
c79539ebf3 ircd:Ⓜ️ Elaborate v1 federation requests in directory. 2018-01-22 03:34:12 -08:00
Jason Volk
4ce6a8ac0a ircd: Remove various cruft. 2018-01-22 00:54:52 -08:00
Jason Volk
63ddbf8fbe ircd:Ⓜ️ Add addl name:: keys; cleanup event related. 2018-01-22 00:54:51 -08:00
Jason Volk
617b0d0777 ircd:Ⓜ️ Rework/cleanup request/session related. 2018-01-20 13:58:24 -08:00
Jason Volk
c28912b085 ircd:Ⓜ️ Create dedicated header for m::name string namespace. 2018-01-19 06:57:38 -08:00
Jason Volk
497b4ec552 ircd:Ⓜ️ Improve MXID ctor related. 2018-01-19 02:47:08 -08:00
Jason Volk
31fd9346f6 ircd: Baptize server.h into the standard include group. 2018-01-18 06:09:02 -08:00
Jason Volk
2bca92d85d ircd: We don't need this here; RocksDB has interface. 2018-01-04 17:44:34 -08:00
Jason Volk
59bd14e862 ircd:Ⓜ️ Update README. 2017-12-25 21:02:36 -07:00
Jason Volk
80931e4e86 ircd:Ⓜ️ Split m.cc; distribute inits; modules: Checkpoint matrix. 2017-12-12 14:59:40 -07:00
Jason Volk
0565301560 ircd:Ⓜ️ Remove the is_state mistake. 2017-12-12 14:59:40 -07:00
Jason Volk
2692a22f62 ircd:Ⓜ️ Add an access denied general exception. 2017-12-12 14:59:40 -07:00
Jason Volk
e0f64a7ca2 ircd:Ⓜ️ Transitional improvements to mxid grammars & tools. 2017-12-12 14:59:40 -07:00
Jason Volk
49b32de864 ircd:Ⓜ️ Update README. 2017-12-12 14:59:40 -07:00
Jason Volk
6027a68105 ircd:Ⓜ️ Formatting/various fixes to README. 2017-12-02 13:14:30 -08:00
Jason Volk
5d53cdab5e ircd:Ⓜ️ Checkpoint matrix. 2017-11-30 11:23:47 -08:00
Jason Volk
96499c0e2a ircd:Ⓜ️ Improve room interface; Improve bootstrap/init related. 2017-11-30 11:23:47 -08:00
Jason Volk
14f348f900 ircd:Ⓜ️ Add convenience aliases for event closure. 2017-11-30 11:23:47 -08:00
Jason Volk
31b778ee0b ircd:Ⓜ️ Improve server keys related functions. 2017-11-30 11:23:46 -08:00
Jason Volk
865ee127c3 ircd:Ⓜ️ Try updating the matrix README. 2017-11-30 11:23:45 -08:00
Jason Volk
4793e4906c ircd:Ⓜ️ Checkpoint matrix top-half / modules. 2017-11-30 11:23:44 -08:00
Jason Volk
526bfa23e1 ircd:Ⓜ️ Add pretty/pretty_oneline for preferred event viewing; minor event rel. 2017-11-30 11:23:41 -08:00
Jason Volk
55603a3718 ircd:Ⓜ️ Fix ID reconstruction semantics; cleanup. 2017-11-30 11:23:41 -08:00
Jason Volk
f10662fe7d ircd:Ⓜ️ Checkpoint matrix. 2017-11-30 11:23:40 -08:00
Jason Volk
deaea72f9a ircd:Ⓜ️ Update README. 2017-11-30 11:23:39 -08:00
Jason Volk
43e35786ce ircd: Move subsystem 'index header' into subsystem directories. 2017-10-19 01:38:03 -07:00
Jason Volk
5d9a573458 ircd:Ⓜ️ Update error.h with bad signature and json::strung changes. 2017-10-15 22:00:22 -07:00
Jason Volk
211f6da570 ircd:Ⓜ️ Add missing keys.h related. 2017-10-15 21:58:23 -07:00
Jason Volk
761cd1913e ircd:Ⓜ️ Add a txn structure. 2017-10-15 21:57:29 -07:00
Jason Volk
5797e99d81 ircd:Ⓜ️ Improve / cleanup ID related. 2017-10-15 21:54:28 -07:00
Jason Volk
20869309a2 Checkpoint matrix with preliminary federation client and keyserver related. 2017-10-03 04:27:15 -07:00
Jason Volk
3a9696fb6c ircd:Ⓜ️ Add all spec'ed event fields to event tuple. 2017-10-03 04:27:15 -07:00
Jason Volk
5073096335 ircd:Ⓜ️ Improve id construction / validation related. 2017-10-03 04:27:15 -07:00
Jason Volk
7745082fb0 ircd:Ⓜ️ Add preliminary matrix README. 2017-10-03 04:27:13 -07:00
Jason Volk
2982166072 ircd:Ⓜ️ ircd::buffer conversions for id::bufs. 2017-10-03 04:27:13 -07:00
Jason Volk
5d7eee1937 ircd:Ⓜ️ Simplify the event query interface by making more internal decisions from query data. 2017-10-03 04:17:08 -07:00
Jason Volk
016ff64dbb ircd:Ⓜ️ Preliminary efficient membership query object. 2017-10-03 04:17:08 -07:00
Jason Volk
92a8d8e2bf ircd:Ⓜ️ Improve interfaces; Add prelim sync loop; Add send resource handler. 2017-10-03 04:17:07 -07:00
Jason Volk
d4508e157f ircd:Ⓜ️ Deduplicate user related in m::user. Update various resource related. 2017-09-24 20:48:53 -07:00
Jason Volk
ca1f5bbbe5 ircd:Ⓜ️ Fix some id constructor behavior. 2017-09-24 20:48:53 -07:00
Jason Volk
c032c686f6 Checkpoint matrix application basis. 2017-09-24 18:16:45 -07:00
Jason Volk
7eaffc3188 ircd:Ⓜ️ Fix subobject linkage. 2017-09-24 18:16:43 -07:00
Jason Volk
eaca7429b6 ircd::json: Simplify grammar / various cleanup. 2017-09-24 18:16:35 -07:00
Jason Volk
f8fc03e57b ircd::json: Improve value semantics and various fixes. 2017-09-24 18:16:34 -07:00
Jason Volk
6f29784573 ircd: Fix json::member alias. 2017-09-24 18:16:33 -07:00
Jason Volk
8ad134c565 ircd::json: Rename builder to iov. 2017-09-24 18:16:33 -07:00
Jason Volk
b715b99b0c ircd::json: Upgrade index::member to json::member. 2017-09-08 03:47:53 -07:00
Jason Volk
1cea631f60 ircd::m modules: Matrix reinterface checkpoint. 2017-09-08 03:47:53 -07:00
Jason Volk
5eaae24559 m: Improve error/exception. 2017-09-08 03:47:50 -07:00
Jason Volk
96d121c82a m: Improve mxid class 2017-09-08 03:47:50 -07:00
Jason Volk
bc19a795d8 ircd::json: Rename parse to tuple. 2017-09-08 03:45:09 -07:00
Jason Volk
fa41c1db5f ircd:Ⓜ️ Reorg location of database descriptions. 2017-08-23 15:52:14 -06:00
Jason Volk
0149610bb2 ircd: Various matrix library / modules / database development. 2017-08-23 15:51:34 -06:00
Jason Volk
a3117391b5 ircd/modules: Preliminary matrix scaffold. 2017-08-23 15:10:28 -06:00