0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-08-29 12:55:17 +02:00
Commit graph

1277 commits

Author SHA1 Message Date
Jason Volk
1c8753ba9f ircd::mods: Add default constructions to sym_ptr et al. 2018-02-22 14:30:11 -08:00
Jason Volk
0569b41f4b ircd::mods: Add sym_ptr / import_shared reference ctors. 2018-02-22 14:30:11 -08:00
Jason Volk
52cbf0fc70 ircd: Condition client timeout for longpoll; fix resource request reference. 2018-02-21 17:43:29 -08:00
Jason Volk
d50ef4b45f ircd::log: Add interface to toggle facility to console. 2018-02-21 16:13:49 -08:00
Jason Volk
bae8e3b869 ircd:Ⓜ️ Add reverse reflection for event::conforms code. 2018-02-21 15:05:27 -08:00
Jason Volk
4f4b53416c ircd:Ⓜ️ Add more event::conforms checks; add skip-checks constructor. 2018-02-21 15:05:27 -08:00
Jason Volk
268861013e ircd::json: Add these for consistency. 2018-02-21 14:24:01 -08:00
Jason Volk
a00e305442 ircd:Ⓜ️ Rename event::errors to event::conforms. 2018-02-21 13:43:33 -08:00
Jason Volk
c72f7f1e96 ircd:Ⓜ️ Begin an event::errors fundamental conformity report. 2018-02-21 00:13:18 -08:00
Jason Volk
1bf9997086 ircd:Ⓜ️ Deinline these m::event related. 2018-02-20 18:26:54 -08:00
Jason Volk
98ceb154c3 ircd::util: Retype ctype<> for const_buffer; fix return type; simplify loop. 2018-02-20 15:40:40 -08:00
Jason Volk
d673ce16d4 ircd::ctx: Relax noinline attribute on prof::stack_usage_here() wrapper. 2018-02-20 15:40:40 -08:00
Jason Volk
3d1409b243 ircd:Ⓜ️ Tighten exception specification for user::is_password(). 2018-02-19 19:45:44 -08:00
Jason Volk
329b1dc514 ircd:Ⓜ️ Add nothrow stack to complement head(room). 2018-02-19 19:45:44 -08:00
Jason Volk
c5f4ab4a17 ircd::buffer: Compiler errors when copy source may be string literal. 2018-02-19 19:45:44 -08:00
Jason Volk
cede265037 ircd::parse: Add assertive information rather than throwing bad_function_call. 2018-02-19 19:45:44 -08:00
Jason Volk
f620bdcb3a ircd:Ⓜ️:v1: Add version request. 2018-02-19 19:45:44 -08:00
Jason Volk
eaf8df25c2 ircd::info: Add name string / agency strings. 2018-02-19 16:51:28 -08:00
Jason Volk
622e0a56a6 ircd::buffer: Add operator+ to compute a new buffer at offset. 2018-02-19 16:51:28 -08:00
Jason Volk
e9a84ff4d7 ircd::buffer: Improve typography/conversions related issues. 2018-02-19 16:51:28 -08:00
Jason Volk
a21b2b28fa ircd::info: Minor reorg / cleanup. 2018-02-19 13:32:34 -08:00
Jason Volk
b63bc5e8e6 ircd:Ⓜ️ Expose m::modules / m::listeners externs. 2018-02-19 00:36:45 -08:00
Jason Volk
7142cbf735 ircd: Move magic out of fs::. 2018-02-18 22:54:54 -08:00
Jason Volk
de08752853 ircd::net: Remove unused/erroneous has_timeout(). 2018-02-18 22:38:23 -08:00
Jason Volk
a8d72ebbaa ircd::json: Ensure rvalue-reference ownership transfer for these ctors. 2018-02-18 22:38:23 -08:00
Jason Volk
23fb76ae8e ircd::json: Improve the member/value construction relationship. 2018-02-18 22:38:23 -08:00
Jason Volk
3683341aa9 ircd::util: Ensure null termination after all direct writes into string. 2018-02-18 22:38:23 -08:00
Jason Volk
f8e5ca20d3 ircd::json: Remove the double-indirected member stringify. 2018-02-18 22:35:35 -08:00
Jason Volk
42a22a6c79 ircd::json: Use consumption protocol for create_string closure. 2018-02-18 22:22:38 -08:00
Jason Volk
0e526484ea ircd::json: Ensure iov's are in a fixed location. 2018-02-18 22:18:52 -08:00
Jason Volk
9ebf8b0b73 ircd::util: Eliminate false -Wnull-dereference seen with g++ 6.3.0 20170519. 2018-02-18 01:20:39 -08:00
Jason Volk
f5197cc8ff ircd::fs: Add magic interface. 2018-02-18 01:12:09 -08:00
Jason Volk
9173c13b89 ircd: Move resource::request related off the stack into client. 2018-02-17 16:17:59 -08:00
Jason Volk
575f5829dd ircd::json: Verifiably pasken the strongly typed object::size() result. 2018-02-17 16:17:59 -08:00
Jason Volk
7e89baf369 ircd: Add resource::method::CONTENT_DISCRETION option flag. 2018-02-17 14:38:49 -08:00
Jason Volk
3709bd5612 ircd: Improve+rename client/resource head_buffer/content_buffer related. 2018-02-17 14:28:06 -08:00
Jason Volk
39d2196336 ircd::json: Modernize json::strung ctor. 2018-02-17 14:07:46 -08:00
Jason Volk
3c359e1dcc ircd:Ⓜ️ Add RoomEventFilter matcher. 2018-02-17 13:08:59 -08:00
Jason Volk
d89eaf338c ircd:Ⓜ️ 5 Filter (m::event_filter) matching (without globular). 2018-02-17 13:08:17 -08:00
Jason Volk
4c3d20d959 ircd:Ⓜ️ Purge the m::session. 2018-02-16 16:53:47 -08:00
Jason Volk
7a08fe8181 ircd:Ⓜ️ Deinline these request ctors. 2018-02-16 16:44:57 -08:00
Jason Volk
ca7f32a89b ircd:Ⓜ️🆔 Minor cleanup. 2018-02-16 16:33:28 -08:00
Jason Volk
632b1e6f0f ircd:Ⓜ️ Curse the cursor.
modules/console: Update dump; add errcount.
2018-02-16 11:53:42 -08:00
Jason Volk
00e90865d2 ircd:Ⓜ️ Add linear query suite to room interface. 2018-02-15 19:17:09 -08:00
Jason Volk
01251573bc ircd:Ⓜ️ Add redacts to main event; add redact(room, ...) committer. 2018-02-15 16:35:50 -08:00
Jason Volk
eab4aef7e6 ircd:Ⓜ️/modules/client: Add device ID generation; use token/password helpers; various comments/cleanup. 2018-02-15 13:55:09 -08:00
Jason Volk
6ece5db391 ircd:Ⓜ️ Add user::room wrapping m::room with buffer of user's user room_id. 2018-02-15 13:40:08 -08:00
Jason Volk
050eacd142 ircd:Ⓜ️ Add m::user helpers to generate password hash and access tokens. 2018-02-15 13:05:00 -08:00
Jason Volk
51b2cafc74 ircd:Ⓜ️ Add experimental sigiled and qualified device MXID. 2018-02-15 13:01:07 -08:00
Jason Volk
7b0c53501a ircd::rand: Modernize interface. 2018-02-15 12:53:00 -08:00
Jason Volk
d6ad4ce45e ircd:Ⓜ️ Add some object semantics/restrictions. 2018-02-15 12:11:28 -08:00
Jason Volk
3d216fda84 ircd::util: Use std::all_of for boolean ctype test. 2018-02-15 12:09:17 -08:00
Jason Volk
38454022cd ircd::m/modules: Add M_NEED_MORE_PARAMS. 2018-02-14 22:07:01 -08:00
Jason Volk
a7c662529d ircd:Ⓜ️:vm: Remove the fronts map. 2018-02-14 22:07:01 -08:00
Jason Volk
025909e1eb ircd: Move ctype<> into util::; add valid(string_view) boolean convenience. 2018-02-14 14:11:18 -08:00
Jason Volk
d32f990c6a ircd:Ⓜ️ Improve room::messages interface as a bidirectional STL iterator. 2018-02-13 14:25:01 -08:00
Jason Volk
6f0ca19df6 ircd:Ⓜ️ Cleanup cruft from m::room; comments; minor. 2018-02-13 14:23:56 -08:00
Jason Volk
ad56d381a5 ircd:Ⓜ️:dbs: Add a room_events_key generator which doesn't require event_id. 2018-02-13 14:21:57 -08:00
Jason Volk
db4535b049 ircd:📅 Add ostream participants for time_points printing epoch seconds. 2018-02-12 19:30:44 -08:00
Jason Volk
2be10ef206 ircd: Fix/Address client current request flow for longpolls. 2018-02-12 19:30:44 -08:00
Jason Volk
67fba3cd7b ircd:Ⓜ️ Move filters into the user's user room. 2018-02-11 19:46:31 -08:00
Jason Volk
939957c02a ircd:Ⓜ️ Split filter into compilation unit; reactivate interface. 2018-02-11 15:47:24 -08:00
Jason Volk
f770a1638e ircd: Update Makefile ordering to reflect current header ordering; commentary. 2018-02-11 15:47:24 -08:00
Jason Volk
0afaa70ccf ircd: Refer to the right access_token in the resource::request struct. 2018-02-10 22:07:06 -08:00
Jason Volk
3e603b86e9 ircd:Ⓜ️ Add the m::room::has(type, state_key) passthru. 2018-02-10 21:42:16 -08:00
Jason Volk
a3a3239e6e ircd:Ⓜ️ Add room::messages interface; comment on room::state. 2018-02-10 19:50:53 -08:00
Jason Volk
0dc8593b9c ircd::net: Add open() option to allow expired certificates. 2018-02-10 18:37:06 -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
0bf053197c ircd::json: Massage away json::value template ctor. 2018-02-09 21:33:06 -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
e40f11429e ircd::json: Tuple defined(number) decides on max value rather than zero. 2018-02-08 14:01: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
2b05df12e3 ircd::db: minor cleanup: move this here. 2018-02-07 23:15:17 -08:00
Jason Volk
f04ba38b42 ircd: Rename the stream_buffer to window_buffer. 2018-02-07 21:54:41 -08:00
Jason Volk
9de8cb69d2 ircd: Send the aborted array_view fetus to valhalla. 2018-02-07 12:16:17 -08:00