0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-02 16:58:19 +02:00
Commit graph

3505 commits

Author SHA1 Message Date
Jason Volk 0c45fb827d ircd:Ⓜ️:vm: Add a specific edu option to vmopts. 2019-09-13 15:26:44 -07:00
Jason Volk 54c29274f2 ircd:Ⓜ️:room::server_acl: Propagate exceptions through check(). 2019-09-13 14:10:27 -07:00
Jason Volk a280350dee ircd::net: Fix the asio callback and error_code interp on socket waits. 2019-09-13 12:44:59 -07:00
Jason Volk b19ed6854b ircd::net: Consolidate all eof error_code related. 2019-09-13 12:44:59 -07:00
Jason Volk d6a2328fa0 ircd::server::tag: Use unique_buffer for cancellation mgmt. 2019-09-12 18:37:33 -07:00
Jason Volk 9c68d01d86 ircd:Ⓜ️:room: Remove cruft. 2019-09-12 11:57:42 -07:00
Jason Volk dcab8eb08e ircd::prof: Remove cruft; minor cleanup. 2019-09-12 10:18:51 -07:00
Jason Volk 2110f7e632 ircd::server: Declare associating ctor noexcept (-Wnoexcept). 2019-09-11 18:07:55 -07:00
Jason Volk fac2a1e070 ircd:Ⓜ️:vm::eval: Add count(event_id) to static interface. 2019-09-11 12:51:54 -07:00
Jason Volk 0241f2b9a1 ircd:Ⓜ️:room::members: Add host argument to interface stack for more efficient queries. 2019-09-11 10:53:48 -07:00
Jason Volk 71f922d3a1 ircd::server: Qualify noexcept interface functions. 2019-09-10 16:54:41 -07:00
Jason Volk 949c765cd9 ircd::ctx: Additional internal wrappers in hot section. 2019-09-10 15:23:44 -07:00
Jason Volk ec4c6c46ac ircd:Ⓜ️:vm: Partial revert of a35328f38; remove mutex; use sequencing. 2019-09-10 14:45:54 -07:00
Jason Volk 87fd0f04ea ircd::ctx::mutex: Add deadlock assertion on lock. 2019-09-10 12:12:10 -07:00
Jason Volk fcb4f6c5f4 ircd::ctx::mutex: Add waiting(ctx) to interface. 2019-09-10 11:06:16 -07:00
Jason Volk ba11205f2c ircd::ctx::dock: Add query to find if ctx is waiting on dock. 2019-09-10 11:06:16 -07:00
Jason Volk efdc626495 ircd::ctx::list: Add typedefs for iteration suite closures. 2019-09-10 11:06:16 -07:00
Jason Volk b6149b429e ircd::ctx::dock: Add noexcept to interface observers.
ircd::ctx: Propagate noexcept on hot leafs;

ircd::ctx::list: Deinline size().
2019-09-10 11:06:11 -07:00
Jason Volk ac572aeeaa ircd:Ⓜ️ Add branch and overload for event::id in room_id() suite. 2019-09-09 19:34:27 -07:00
Jason Volk bd1b060314 ircd::json: Split some print_error cases into print_panic; relax print_error; minor cleanup. 2019-09-09 19:03:23 -07:00
Jason Volk a35328f384 ircd:Ⓜ️:vm: Add inner lock around write commitment. 2019-09-08 19:58:58 -07:00
Jason Volk 002e7aae1a ircd::http: Add code 410 Gone. 2019-09-08 19:58:58 -07:00
Jason Volk 42d56a7bac ircd::ctx: Fix inconsistent refcount() behavior. 2019-09-08 18:22:05 -07:00
Jason Volk a6747ad3a0 ircd::ctx::promise_base: Add refcount(promise_base&) to suite. 2019-09-08 16:33:38 -07:00
Jason Volk 5b2216fb63 ircd::ctx::shared_state_base: Add assertions; comments; minor cleanup. 2019-09-08 16:31:21 -07:00
Jason Volk fda4c9d0ce ircd:Ⓜ️:append: Add some \briefs. [skip ci] 2019-09-08 15:33:56 -07:00
Jason Volk 82ef916256 ircd:Ⓜ️:events: Add rebuilder for type/sender meta columns. 2019-09-07 20:35:27 -07:00
Jason Volk 2739696e8f ircd:Ⓜ️:rooms: Add options construction from string; simplify. 2019-09-07 20:05:48 -07:00
Jason Volk 415491b9b6 ircd:Ⓜ️:rooms: Improve options interface for meta-characteristics. 2019-09-07 16:56:17 -07:00
Jason Volk d1a64471a2 ircd:Ⓜ️:room::members: Move the present join optimization implementation from origins. 2019-09-07 16:56:17 -07:00
Jason Volk f186fb6e12 ircd:Ⓜ️:room: Redefine and expand the local_only(room) suite. 2019-09-07 16:06:45 -07:00
Jason Volk 34de10317b ircd: Add info::versions instances for self API and ABI. 2019-09-07 14:10:01 -07:00
Jason Volk 463570bef1 ircd::info: Minor reorder declarations. 2019-09-07 14:02:51 -07:00
Jason Volk 0a4cfc59be ircd::ctx: Minor cleanup; tweak promise union; noexcept and linkage for ctors. 2019-09-07 13:45:43 -07:00
Jason Volk 844bf46a5c ircd::server: Add a canceled tag reaper. 2019-09-06 20:10:09 -07:00
Jason Volk 5ead261243 ircd::server:🔗 Add read_ts and write_ts last operation timestamp. 2019-09-06 19:56:18 -07:00
Jason Volk 6a59036f4e ircd:Ⓜ️🧾 Reorg/rename interface; simplify impl; add options argument.
ircd:Ⓜ️🧾 Remove central linkage cruft for interface.
2019-09-06 11:57:02 -07:00
Jason Volk 425aa83900 ircd:Ⓜ️:rooms: Add options for user_id / room_alias related. 2019-09-05 21:36:16 -07:00
Jason Volk dfdee1eac9 ircd:Ⓜ️ Consolidate viewport calculation data sources; signed integer conf item. 2019-09-05 21:36:16 -07:00
Jason Volk 6831f195aa ircd:Ⓜ️:room::events: Add viewport metric concept; conf item. 2019-09-05 18:10:44 -07:00
Jason Volk c570e04622 ircd:Ⓜ️:event::prev: Add _events_exist() convenience suite. 2019-09-05 18:10:44 -07:00
Jason Volk f67eafd078 ircd:Ⓜ️:vm::fetch: Remove/reorg stale fetch related options. 2019-09-05 18:10:44 -07:00
Jason Volk 9adba1b9dc ircd::ctx: No need for mutable here. 2019-09-03 22:07:50 -07:00
Jason Volk 1210523757 ircd::ctx: Support shared futures. 2019-09-03 15:56:14 -07:00
Jason Volk 74679a3a5f ircd:Ⓜ️:fetch: Fix initialization order for server::request buf; add linkage for dtor. 2019-09-03 14:43:34 -07:00
Jason Volk 71edd9adee ircd::util: Add maybe() exception tool. 2019-09-03 12:15:44 -07:00
Jason Volk ebfaa508fd ircd::ctx::ole: Move opts outside offload; reorg; minor cleanup. 2019-09-03 11:10:30 -07:00
Jason Volk 02009c4aa9 ircd::buffer: Cleanup/simplify shared_buffer. 2019-09-03 10:07:08 -07:00
Jason Volk 8642d2da0d ircd: Add comment in debugtrap asm. 2019-09-03 10:07:07 -07:00
Jason Volk 3c45487611 ircd::ctx: Improve readme paragraph. 2019-09-01 21:06:30 -07:00
Jason Volk fc98bbc641 ircd::util: Add mutable_cast convenience template. 2019-09-01 21:06:30 -07:00
Jason Volk f211cc7429 Revert "ircd::ctx: Create vtables for promise and future."
This reverts commit d119d9a8c6.
2019-09-01 21:06:30 -07:00
Jason Volk 062ea9ddf5 ircd::buffer: Support aligned allocations and aligned unique_buffer conversion. 2019-09-01 21:06:30 -07:00
Jason Volk 7e3b5db06a ircd::buffer: Add unique to shared buffer conversion. 2019-08-31 22:54:49 -07:00
Jason Volk 52fd0d1b2e ircd:Ⓜ️:room::events::missing: Add limited iteration overload. 2019-08-31 00:17:11 -07:00
Jason Volk 003575c418 ircd:Ⓜ️:room::events: Rename missing to horizon; reimplement missing. 2019-08-30 23:43:34 -07:00
Jason Volk 1d835f2ed2 ircd:Ⓜ️:dbs: Minor reorder. 2019-08-30 23:09:21 -07:00
Jason Volk 217b2d51d5 ircd:Ⓜ️ Add additional horizon rebuilders. 2019-08-30 22:57:15 -07:00
Jason Volk 3d5b2ca262 ircd:Ⓜ️:room::events::missing: Add count() to interface. 2019-08-30 22:57:15 -07:00
Jason Volk 91862e381f ircd:Ⓜ️ Add additional query() convenience template. 2019-08-30 21:32:02 -07:00
Jason Volk b38cf0012e ircd:Ⓜ️:event::horizon: Improve some comments. 2019-08-30 21:31:40 -07:00
Jason Volk 10cb380473 ircd:Ⓜ️:room::events: Reorg sounding / gaps related interfaces; reorder definitions. 2019-08-30 19:41:48 -07:00
Jason Volk 6775ee2f3b ircd:Ⓜ️:room: Move m::room::events non-member tools to module; rename/reorg count(). 2019-08-30 16:21:50 -07:00
Jason Volk a52ad73e87 ircd:Ⓜ️:room: Rename room::messages to room::events. 2019-08-30 14:43:19 -07:00
Jason Volk fc61fd6b70 ircd:Ⓜ️:fetch: Add backfill support; minor reorg. 2019-08-29 22:14:08 -07:00
Jason Volk a93f5a54d6 ircd:Ⓜ️:fetch: Support v1::event_auth operation with interface. 2019-08-29 22:14:07 -07:00
Jason Volk 9b23b4d907 ircd:Ⓜ️:fetch: Add remote hinting to fetch::opts. 2019-08-29 22:14:07 -07:00
Jason Volk ac573cd21d ircd:Ⓜ️:fetch: Cleanup/document interface; add basis for operation abstraction. 2019-08-29 21:32:10 -07:00
Jason Volk fb8e3de485 ircd:Ⓜ️:fed::event: Minor cleanup. 2019-08-29 18:27:08 -07:00
Jason Volk b39676f85a ircd: Add some timepoint convenience macros. 2019-08-29 17:12:15 -07:00
Jason Volk 7be4137c7e ircd:Ⓜ️:feds: Add some comments/documentation. [skip ci] 2019-08-29 14:18:49 -07:00
Jason Volk d119d9a8c6 ircd::ctx: Create vtables for promise and future. 2019-08-29 14:17:46 -07:00
Jason Volk 035dbbab88 ircd:Ⓜ️:typing: Add user control over sending and receiving typing events per room. 2019-08-28 16:48:36 -07:00
Jason Volk 04b17bc9d7 ircd:Ⓜ️:typing: Interface cleanup. 2019-08-28 16:48:36 -07:00
Jason Volk 7b33dd1775 ircd:Ⓜ️🧾 Add briefs on interface. 2019-08-28 14:57:26 -07:00
Jason Volk 1323b30f34 ircd:Ⓜ️:fetch: Move auth_chain() to vm::fetch module. 2019-08-27 20:58:52 -07:00
Jason Volk 766dfe027d ircd:Ⓜ️:keys::cache: Add has() to interface. 2019-08-27 16:26:58 -07:00
Jason Volk 9f95c3233b ircd::db: Update defaults.
ircd:Ⓜ️:dbs: Add custom sizes for _event_json.
2019-08-26 22:40:13 -07:00
Jason Volk c57bc9077c ircd:Ⓜ️:fetch: Add future result interface; refactor eval out of flow. (fixes #103) (closes #131)
modules: Split m_vm_fetch from m_fetch.
2019-08-26 16:17:09 -07:00
Jason Volk 13e2d56850 ircd::ctx::future: Ensure value is moved out. 2019-08-26 13:10:12 -07:00
Jason Volk f073657b5a ircd::db: Add granular compaction size related to column descriptor. (#13) 2019-08-26 12:14:26 -07:00
Jason Volk b95a7a8a9e ircd::exception: Add hide_name construction overload to macro. 2019-08-26 11:10:30 -07:00
Jason Volk 9b5ffb0b1f modules: Split m::createroom related from client/. 2019-08-25 19:44:00 -07:00
Jason Volk 875b03fa1e ircd:Ⓜ️:room: Simplify prototypes. 2019-08-25 19:44:00 -07:00
Jason Volk 885499ad99 ircd:Ⓜ️:room: Start a spec faithful display_name(room) diagnostic. 2019-08-25 16:05:10 -07:00
Jason Volk 42b689a7a0 ircd:Ⓜ️:room::power: Document with some usage details. 2019-08-25 15:22:43 -07:00
Jason Volk 954fed8bba ircd::stringops: Mark the has() template inline to avoid plt. 2019-08-24 16:49:01 -07:00
Jason Volk 4c924b2a43 ircd::util: Add the construction utility device. 2019-08-24 16:49:01 -07:00
Jason Volk 8ad0d46cff ircd:Ⓜ️:room::state: Move rebuild iterations out from interface. 2019-08-22 08:02:17 -07:00
Jason Volk 652ffa8ea2 ircd:Ⓜ️:room::state: Improve coarse rebuild interface. 2019-08-22 06:02:02 -07:00
Jason Volk 4dba866c64 ircd:Ⓜ️:room::auth: Rename to M_AUTH_FAIL. 2019-08-22 03:15:59 -07:00
Jason Volk 118efe5cc7 ircd:Ⓜ️:room::state: Remove cruft. 2019-08-22 02:38:29 -07:00
Jason Volk 061b85de5b ircd:Ⓜ️:room::auth: Reorg check() stack interface related. 2019-08-22 02:25:03 -07:00
Jason Volk 065c0bd426 ircd:Ⓜ️:media: Start a weak central interface; move core utils into namespace. 2019-08-22 01:53:28 -07:00
Jason Volk 3a36d847eb ircd::rfc3986: Use a namespace rather than struct here. 2019-08-22 01:25:43 -07:00
Jason Volk 15dc7d17ef modules/m_event: Add pretty_stateline() for state event detail. 2019-08-21 00:40:20 -07:00
Jason Volk 063bd39b09 ircd:Ⓜ️:room::auth: Remove noexcept on interface for IO termination propagation. 2019-08-20 22:26:52 -07:00
Jason Volk 5e87a2e941 ircd:Ⓜ️:room::auth: Improve error hierarchy. 2019-08-20 22:26:52 -07:00
Jason Volk 7e8d8666ff ircd:Ⓜ️:room::state: Add additional event::idx based tools. 2019-08-20 21:36:36 -07:00
Jason Volk 87a35a5a41 ircd: Add ago() convenience to timedate suite. 2019-08-20 21:23:18 -07:00