0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-03 01:09:05 +02:00
Commit graph

3369 commits

Author SHA1 Message Date
Jason Volk e7609afb7b ircd::ios: Add accessor to epoch counter. 2019-08-13 19:37:30 -07:00
Jason Volk 1bea1d2265 ircd:Ⓜ️:room::origins: Add empty(). 2019-08-13 05:35:42 -07:00
Jason Volk 74cef5d74d ircd:Ⓜ️:rooms: Add room::lonly() related to interface. 2019-08-13 05:09:14 -07:00
Jason Volk 6333c94fe0 ircd::info: Attempt to grab mlock rlimit; reorg log facilities and info dump. 2019-08-13 05:05:26 -07:00
Jason Volk c7f9521a3f ircd:Ⓜ️:users: Rename for consistency. 2019-08-13 03:00:08 -07:00
Jason Volk ea4d74967b ircd:Ⓜ️:events: Improve header comments.
ircd:Ⓜ️:dbs: Fix typos.
2019-08-13 01:22:13 -07:00
Jason Volk 84e79a64e6 ircd:Ⓜ️:rooms: Refactor interface; split rooms::summary; split module. 2019-08-12 23:55:07 -07:00
Jason Volk 0efc56c9c7 ircd::ctx::future: Add non-std get() w/ durations to avoid separate wait(). 2019-08-12 20:43:39 -07:00
Jason Volk b4842da414 ircd::ctx::future: Restrict the future type cast operator; fix conflict. 2019-08-12 20:43:04 -07:00
Jason Volk 76889eab6e ircd:Ⓜ️:user::highlight: Add for_each() to interface; simplify stack (#87). 2019-08-12 04:10:28 -07:00
Jason Volk f74ddd0171 ircd:Ⓜ️ Add back the id::NODE sigil; add to room_id() translation. 2019-08-12 01:39:16 -07:00
Jason Volk f24bf54799 ircd:Ⓜ️ Eliminate the user::users room references. 2019-08-12 01:39:16 -07:00
Jason Volk 0c05241fec ircd:Ⓜ️:users: Refactor !users room out of the users:: interface. 2019-08-11 23:30:50 -07:00
Jason Volk dffb03a562 ircd: Cleanup / simplify assert related interface. 2019-08-11 23:30:50 -07:00
Jason Volk a2c05437d2 ircd::ctx: Export this_ctx down to ircd::. 2019-08-11 08:00:17 -07:00
Jason Volk 9a3f37c0af ircd:Ⓜ️:sync: Remove cruft. 2019-08-11 07:51:42 -07:00
Jason Volk 125f53872c ircd::fs: Preliminary io_uring infrastructure plumbing. 2019-08-11 01:39:30 -07:00
Jason Volk 8bce90fbf3 modules/client/keys/upload: Properly implement one_time_keys upload. (Fixes #9) 2019-08-09 23:34:20 -07:00
Jason Volk 060e46f8e4 ircd: Conditionally compile with gettimeofday().
ircd: Stronger embedding for time point samples.
2019-08-08 18:09:50 -07:00
Jason Volk ca99df8edb ircd::assert: Always inline the debugtrap. 2019-08-08 16:12:52 -07:00
Jason Volk 3fe4baba4f ircd:Ⓜ️:user::highlight: Improve highlight matching quality. (Fixes #122) 2019-08-07 18:42:20 -07:00
Jason Volk 32ec94e29b ircd: Add ifind() to stringops suite. 2019-08-07 16:32:12 -07:00
Jason Volk ac14be5a01 ircd:Ⓜ️:user::highlight: Match -at-room. (Closes #118) 2019-08-07 00:41:08 -07:00
Jason Volk e0fec1e81d modules/client/sync: Add device_id to sync data. 2019-08-06 19:18:03 -07:00
Jason Volk f3ada0ed9c ircd:Ⓜ️:device: Add access_token_to_id() lookup suite. 2019-08-06 18:33:42 -07:00
Jason Volk 14f16f2b0d ircd::fs: Support hole punching if available; add checks for allocate options. 2019-08-06 16:39:28 -07:00
Jason Volk 315276e3c4 ircd::info: Reorg/improve hardware information sampling. 2019-08-06 15:44:32 -07:00
Jason Volk eddc5b3b55 ircd:Ⓜ️:event::append: Add properties mask to opts; centralize. (Fixes #119) 2019-08-05 17:54:00 -07:00
Jason Volk a66db65a1d ircd: Tweak suggestion output; satisfy several suggestions. 2019-08-05 16:20:48 -07:00
Jason Volk 009d417273 ircd: Indicate noexcept on advised interfaces. 2019-08-05 16:19:20 -07:00
Jason Volk c64bb6850c ircd::net: Fix/improve the v6/v4 check.
ircd::net: Add an is_null(ipport/ipaddr).

ircd::net: Improve the v6/v4 check efficiency.

ircd::net: Swap defaulting from v6 to v4 for better null address output.
2019-08-04 18:05:58 -07:00
Jason Volk 8dd0a22351 ircd: Add additional formatted microdate(). 2019-08-03 20:02:18 -07:00
Jason Volk ac4e742010 ircd::log: Convert to hook architecture. 2019-08-03 18:36:42 -07:00
Jason Volk 2d83f2c201 ircd::util::callbacks: Add a callback convenience template. 2019-08-03 17:42:21 -07:00
Jason Volk d394cd4d18 ircd::util::callbacks: Typedef access to the template class for derived classes. 2019-08-03 16:50:52 -07:00
Jason Volk fa341c274e ircd::log: Add some minor comments / document. 2019-08-03 16:11:14 -07:00
Jason Volk 3dfb593dec modules/m_room_aliases: Consolidate state_key creation; case desensitize. 2019-08-02 22:01:00 -07:00
Jason Volk be4a33c136 ircd:Ⓜ️🆔 Increase the buf SIZE constant to the next pow2. 2019-08-02 22:00:58 -07:00
Jason Volk aa013ac526 ircd: Add string_view based tolower()/toupper(). 2019-08-02 21:02:40 -07:00
Jason Volk d8fcbf7325 ircd:Ⓜ️ Reinterface append(event) into event::append; move to module. (#109) 2019-08-02 17:34:31 -07:00
Jason Volk 7c5ef32008 ircd::util: Add a strong boolean typedef customization. 2019-08-02 17:34:31 -07:00
Jason Volk 7b32e8bbad ircd:Ⓜ️:room::aliases::cache: Improve interface and simplify implementation callstack. 2019-08-02 16:18:01 -07:00
Jason Volk efa586c424 ircd: Clarify clock types in comments; minor cleanup. 2019-08-02 15:30:06 -07:00
Jason Volk 8e5e599690 ircd:Ⓜ️ Relax exception propagation through event::refs. (Fixes #114) 2019-08-02 15:04:29 -07:00
Jason Volk af48bdfa6e ircd::json: Stub an unescape(). 2019-08-02 15:04:29 -07:00
Jason Volk fefaaca2c2 ircd::prof: Split header into directory.
ircd::prof: Split linux/perf_event specific to unit.
2019-07-31 19:43:09 -07:00
Jason Volk 7333be92ca ircd:Ⓜ️:typing: Simplify interface; fix linkages. 2019-07-30 14:21:26 -07:00
Jason Volk 3f5777897b ircd::util: Fix noexcept propagation through enum relaxation operators.
g++-9 warning
2019-07-30 13:46:22 -07:00
Jason Volk ed56ef680a ircd:Ⓜ️:fed::user::keys::claim: Separate content creation functions from ctor.
ircd:Ⓜ️:fed::user::keys::query: Separate content creation functions from ctor.
2019-07-30 12:30:27 -07:00
Jason Volk de986d2272 ircd::json::stack: Make completed() return a string_view instead of const_buffer. 2019-07-30 12:26:26 -07:00
Jason Volk d806ef48db ircd::conf: Improve item maximum related constants. 2019-07-27 18:49:26 -07:00
Jason Volk 63a9f33d7c ircd::net: Simplify socket check related. 2019-07-27 13:17:53 -07:00
Jason Volk 6c367c8abf ircd:Ⓜ️ Fix error code. 2019-07-26 19:09:28 -07:00
Jason Volk 7cb7052273 ircd:Ⓜ️:fetch: Add a room based fetch to interface. 2019-07-26 16:13:58 -07:00
Jason Volk ae1ccca038 ircd:Ⓜ️:event::prev: Remove ambiguous overload. 2019-07-26 15:58:58 -07:00
Jason Volk 5edd7a6117 ircd:Ⓜ️:fetch: Whittle down the current interface; remove libircd linkages. 2019-07-26 15:51:15 -07:00
Jason Volk 839951752e ircd::log: Improve critical trap message. 2019-07-26 15:15:58 -07:00
Jason Volk fea6bfb395 ircd:Ⓜ️🪝 Fix missing facility in log calls.
ircd:Ⓜ️🪝 Minor cleanup.
2019-07-26 15:15:58 -07:00
Jason Volk 939b402a7d Revert "ircd::event: Remove membership from top level."
This reverts commit fc8048dc74.
2019-07-26 00:08:51 -07:00
Jason Volk 3f418bf1ed ircd::server: Add a request log. 2019-07-25 23:12:18 -07:00
Jason Volk 9a5df1ae9c ircd:Ⓜ️ Add additional format selection for pretty_oneline(event). 2019-07-25 15:57:04 -07:00
Jason Volk b8adc69599 ircd:Ⓜ️ Move MEMBERSHIP_MAX_SIZE into room.
ircd:Ⓜ️:room: Add a room version max size constant.
2019-07-25 14:29:07 -07:00
Jason Volk ddcce0ef2b ircd:Ⓜ️:event: Document class member related. 2019-07-25 14:29:07 -07:00
Jason Volk f450028c77 ircd::ctx::future: Use our steady_clock now() here. 2019-07-24 17:07:16 -07:00
Jason Volk c45bfc4379 ircd:Ⓜ️🆔:buf: Remove misleading move semantic. 2019-07-24 16:46:29 -07:00
Jason Volk 58c83b01a7 ircd:Ⓜ️:feds: Add a closure_cached_errors option.
modules/m_command: Tweak ping options.
2019-07-23 22:46:48 -07:00
Jason Volk eb3b4d82fb ircd:Ⓜ️:room::members: Simplify and improve interface; callsites. 2019-07-23 19:50:13 -07:00
Jason Volk bde9e16e5c ircd::ctx: Inline cur_slice_cycles().
modules/media/magick: Use this_ctx::cycles_here().

ircd::ctx: Improve prof::cycles API related.
2019-07-23 16:40:29 -07:00
Jason Volk df11d9bec6 ircd:Ⓜ️:room: Reorient join bootstrap definitions.
ircd:Ⓜ️:room::bootstrap: Improve interface / various.
2019-07-23 16:40:29 -07:00
Jason Volk e883f2a42b ircd:Ⓜ️:keys: Add additional fetch to interface. 2019-07-22 20:35:41 -07:00
Jason Volk f1e3a9c53b ircd:Ⓜ️:keys: Add mass fetcher to interface. 2019-07-22 20:35:41 -07:00
Jason Volk eb38a9ce15 ircd:Ⓜ️:room::timeline: Improve iteration. 2019-07-22 19:10:19 -07:00
Jason Volk 4a37152c6d ircd:Ⓜ️:fetch: Add clear() to interface. 2019-07-22 14:20:21 -07:00
Jason Volk 53e7fe3fef ircd:Ⓜ️:fetch: Remove cruft. 2019-07-22 14:18:13 -07:00
Jason Volk b17b508c2a ircd:Ⓜ️:room::origins: Add interface to count room servers online/error. 2019-07-21 19:08:40 -07:00
Jason Volk 6c9dbdbef5 ircd::ctx: Add queued(ctx) state to interface. 2019-07-21 18:07:26 -07:00
Jason Volk 471c08a41e ircd::ctx: Split exception_handler w/ cxxabi header requirement. 2019-07-21 15:29:16 -07:00
Jason Volk bcec03ce1a ircd:Ⓜ️:vm::eval: Add find_pdu() to interface. 2019-07-20 18:42:15 -07:00
Jason Volk 3051e6da83 ircd: Isolate inclusion of sys/time.h. 2019-07-20 18:42:15 -07:00
Jason Volk e1356fb50d ircd:Ⓜ️:event::auth: Add hookdata::find() to improve initialization. 2019-07-20 18:42:15 -07:00
Jason Volk 9e2e20f3e8 ircd:Ⓜ️:event::auth: Preliminary auth hook. 2019-07-20 18:42:15 -07:00
Jason Volk 95001450c5 ircd::db: Move some internal headers out of the installed includedir. 2019-07-20 18:42:15 -07:00
Jason Volk 556d73d96e ircd::db::database::env::state: Restrict object semantics. 2019-07-20 18:42:15 -07:00
Jason Volk 2f2bc867fb ircd: Improve various context names for consistency. 2019-07-20 18:42:15 -07:00
Jason Volk f64f41775d ircd::ctx::future: Fix action. 2019-07-19 18:17:53 -07:00
Jason Volk 58b286e651 ircd::log: Make the level enumeration strictly unsigned.
modules/console: Fix sign v. unsign comparison.
2019-07-19 18:17:52 -07:00
Jason Volk 0704625401 ircd::log: Simplify log class member interface. 2019-07-19 17:15:47 -07:00
Jason Volk 064f0b712c ircd::log: Fixes for clang DCE. 2019-07-19 17:10:35 -07:00
Jason Volk fd504be82c ircd: De-inline the now()/time() samplers; minor cleanup. 2019-07-19 16:13:11 -07:00
Jason Volk 166236dfe8 ircd::ctx: Update README [skip ci] 2019-07-19 15:15:21 -07:00
Jason Volk 3301ed62f7 ircd::ctx: Fix future wait condition closing. 2019-07-19 14:46:57 -07:00
Jason Volk 51e3d7f081 ircd::ctx: Minor code-clarify/cleanup. 2019-07-19 14:42:46 -07:00
Jason Volk c9745570fc ircd:Ⓜ️ Add internal(room) to interface. 2019-07-19 14:27:57 -07:00
Jason Volk e57561e8c1 ircd:Ⓜ️ Add type(room) to interface. 2019-07-19 14:27:57 -07:00
Jason Volk bdc88e6c7e imrcd:Ⓜ️:room::members: Add empty() to interface. 2019-07-19 14:27:57 -07:00
Jason Volk ad1940d614 ircd::db::env: Add NowNanos() override. 2019-07-17 19:11:43 -07:00
Jason Volk 48468a32f0 ircd::ctx: Add critical_assertion for when_() templates. 2019-07-17 18:10:34 -07:00
Jason Volk 82ed7ad69b ircd::mods: Attempt to unconfuse backtraces. 2019-07-17 15:05:34 -07:00
Jason Volk 2b4c7a3646 ircd: Remove stale comment from stdinc. 2019-07-17 14:53:13 -07:00
Jason Volk ad834bfc5b ircd:Ⓜ️:vm: Reorganize eval/vm::inject for room version differences; add comment. 2019-07-17 14:53:13 -07:00