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

3599 commits

Author SHA1 Message Date
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
Jason Volk
fd953d4b10 ircd:Ⓜ️:events::type: Add has()/has_prefix() to interface. 2019-08-20 21:23:18 -07:00
Jason Volk
204989802d ircd:Ⓜ️:events: Split and reorganize API sections into specific namespaces. 2019-08-20 21:23:18 -07:00
Jason Volk
0e956dbaca ircd:Ⓜ️:dbs: Start a directory README; add some comments. 2019-08-20 21:23:18 -07:00
Jason Volk
ac03c9a13b ircd: Use bool return values through prefetching stack. 2019-08-19 21:18:26 -07:00
Jason Volk
e58434705e ircd:Ⓜ️:dbs: Augment event_sender with a second key domain. 2019-08-19 18:40:12 -07:00
Jason Volk
0c317bdf9d ircd:Ⓜ️:room::state::space: Add nullary count() to interface. 2019-08-18 08:33:00 -07:00
Jason Volk
e38371d50c ircd:Ⓜ️:room: Add basic count() suite. 2019-08-18 08:20:11 -07:00
Jason Volk
abca51deea ircd:Ⓜ️:room::power: Add cheap composer for augmented default power_levels content. 2019-08-18 06:38:10 -07:00
Jason Volk
52657ca410 ircd:Ⓜ️:room::auth::chain: Simplify interface. 2019-08-18 05:46:42 -07:00
Jason Volk
cb94558c4a ircd:Ⓜ️:fed: Remove opts inline constructor due to shared linkage issues. 2019-08-18 04:13:12 -07:00
Jason Volk
8454ae0275 ircd:Ⓜ️:room::head: Simplify interface; move to module. 2019-08-18 03:09:34 -07:00
Jason Volk
59618c6a44 ircd:Ⓜ️ Move event::auth to room::auth; move to module. 2019-08-18 03:09:34 -07:00
Jason Volk
7fa5948fd3 modules/vm: Check auth during eval. 2019-08-17 08:34:46 -07:00
Jason Volk
1541b2d52e ircd:Ⓜ️:user: Move rooms::origins to user::servers interface. 2019-08-17 02:59:13 -07:00
Jason Volk
34e87c08c3 ircd:Ⓜ️:user::mitsein: Simplify interface. 2019-08-17 02:59:13 -07:00
Jason Volk
16f1ba2b11 ircd:Ⓜ️:vm: Fix dependence on room_id without bypass mechanism in injector. 2019-08-17 02:59:13 -07:00
Jason Volk
c760eb0a12 ircd:Ⓜ️:vm: Use bitmask of properties to generate in vm::copts. 2019-08-17 00:44:14 -07:00
Jason Volk
1c0f947211 ircd::json: Add name-based operations to tuple::keys::selection. 2019-08-17 00:39:12 -07:00
Jason Volk
3a0bfc8db9 ircd:Ⓜ️:user::room: Add a one-liner is(user_room) test. 2019-08-16 23:54:04 -07:00
Jason Volk
100f5c646a ircd:Ⓜ️:sync: Fix phased polylog invocation conditions; eliminate initial flag. (#105) 2019-08-16 04:50:39 -07:00
Jason Volk
fc742ae2d0 ircd: Fix warning/error.
ircd: Minor cleanup.
2019-08-16 03:32:13 -07:00
Jason Volk
125ff95875 ircd:Ⓜ️:room::state: Simplify util interface arguments. 2019-08-16 02:25:50 -07:00
Jason Volk
d17286515b ircd:Ⓜ️:room::state: Simplify/consolidate iteration interface. 2019-08-16 02:19:49 -07:00
Jason Volk
2532f7f5e2 ircd::fs::aio: Add submit_coalesce conf item. 2019-08-16 02:19:49 -07:00
Jason Volk
cd347d53cb ircd:Ⓜ️:create: Add a central room_version default conf item. 2019-08-16 02:19:48 -07:00
Jason Volk
aaa015c6b8 ircd:Ⓜ️:name: Add room_version as a property name. 2019-08-16 02:19:48 -07:00
Jason Volk
a8b3e29cac ircd: Apply noexcept on various constexpr callstacks. 2019-08-15 00:05:48 -07:00
Jason Volk
7fb0958080 ircd::json::tuple: Split additional non-member templates into header; constexpr member get()/at(). 2019-08-15 00:05:48 -07:00
Jason Volk
7420bf1156 ircd::vector_view: Add assertion for bounds check here. 2019-08-14 22:33:41 -07:00
Jason Volk
0aacf44440 ircd::resource: Document/comment resource response classes. 2019-08-14 22:33:41 -07:00
Jason Volk
1c42206307 ircd:Ⓜ️:feds: Add an exclude_myself option. 2019-08-14 01:52:32 -07:00
Jason Volk
3d808022ed ircd:Ⓜ️:feds: Rename interface function. 2019-08-14 01:26:02 -07:00
Jason Volk
fca330e1c1 ircd:Ⓜ️:room: Reorg / slim the class member function interface.
ircd:Ⓜ️:room: Rename interface function.
2019-08-14 01:09:34 -07:00
Jason Volk
c95d1e56ee ircd:Ⓜ️:init: Add preliminary worker context loop for backfill unit. (#78) 2019-08-13 23:39:05 -07:00
Jason Volk
765ec46b91 ircd::ctx::promise: Inline trivial accessors; explicit bool operator. 2019-08-13 20:53:02 -07:00
Jason Volk
42b65fa271 ircd::ctx: Add noexcept specifications; tweak inlines. 2019-08-13 20:26:08 -07:00
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
Jason Volk
e0e9e09e67 ircd:Ⓜ️ Make append() return and propagate boolean. 2019-07-16 15:26:15 -07:00
Jason Volk
ef1f6f2642 ircd:Ⓜ️ Move event/append header. 2019-07-16 12:39:16 -07:00
Jason Volk
1c00399f66 ircd:Ⓜ️ Add interface to test if event is redacted. 2019-07-16 10:48:35 -07:00
Jason Volk
13830061a3 ircd:Ⓜ️:event::refs: Add overload to check if ref type exists. 2019-07-16 10:27:53 -07:00
Jason Volk
2bcfe14822 ircd::ios: Add a handler epoch counter. 2019-07-15 17:20:47 -07:00
Jason Volk
ebbc5a5be0 ircd::ios: Apply noexcept to handler border functions. 2019-07-15 17:20:47 -07:00
Jason Volk
598585a431 ircd::ctx: Simplify concurrent template.
modules/client/sync: Improve concurrent instantiation sites.
2019-07-15 13:09:33 -07:00
Jason Volk
4d8d2a4dd7 ircd::json: Improve and inline value comparison operators. 2019-07-15 11:06:01 -07:00
Jason Volk
0344a12b40 ircd::json: Inline value constructors. 2019-07-15 11:06:01 -07:00
Jason Volk
1c01b21720 ircd::util: Add unit and deinline various date/time util. 2019-07-15 09:47:34 -07:00
Jason Volk
2a8162b2b7 ircd::net::hostport: Remove unique symbol. 2019-07-14 19:35:28 -07:00
Jason Volk
5242432e0c ircd::ctx: Add concurrent_for_each. 2019-07-14 13:40:04 -07:00
Jason Volk
91af1a17fd ircd::server: Add timestamp of when link's socket was estab. 2019-07-14 12:19:31 -07:00
Jason Volk
ee341f193d ircd::stats: Converge on a single callpath to get val. 2019-07-14 11:17:53 -07:00
Jason Volk
c7a68a8cb3 ircd::ctx: Fix ctx::parallel argument allocation assumptions.
ircd::ctx: Rename tool.
2019-07-13 23:20:03 -07:00
Jason Volk
df8fd36fde ircd:Ⓜ️:user: Simplify user::room_tags impl w/ modern linkage.
ircd:Ⓜ️:user: Simplify user::room_account_data impl w/ modern linkage.

ircd:Ⓜ️:user: Modernize user::profile impl linkage.

ircd:Ⓜ️:user: Modernize user::account_data impl linkage.

ircd:Ⓜ️:user: Simplify user::ignores impl w/ modern linkage.
2019-07-13 18:15:27 -07:00
Jason Volk
6e97a72c50 ircd::ctx::ole: Minor interface reorg. 2019-07-13 18:15:27 -07:00
Jason Volk
1af930d541 Fix target inputs order in include/Makefile. 2019-07-13 15:51:55 -07:00
Jason Volk
2aafbaff5c configure: Fix includedir and install path related. 2019-07-12 19:29:51 -07:00
Jason Volk
d0cc5b020b ircd::fs: Minor reorg of fadvise related. 2019-07-12 19:29:51 -07:00
Jason Volk
212e4abb55 ircd:Ⓜ️:fed: Add /v2/invite request support. 2019-07-12 19:29:51 -07:00
Jason Volk
ce55859fb2 ircd:Ⓜ️ Rename v1 to fed. 2019-07-12 19:29:51 -07:00
Jason Volk
2d7a914eb2 ircd:Ⓜ️:event: Fix detection on hashing constructor. 2019-07-11 19:22:35 -07:00
Jason Volk
59467cf670 ircd::util: Add minmax(). 2019-07-11 18:58:17 -07:00
Jason Volk
4947ef10f5 ircd:Ⓜ️:room: Add missing linear event::idx get(). 2019-07-11 18:58:17 -07:00
Jason Volk
dcffd35c40 ircd: Use buffer::copy() here. 2019-07-11 18:58:17 -07:00
Jason Volk
c4e5d06d91 ircd:Ⓜ️:error: Improve construction stack. 2019-07-11 17:22:16 -07:00
Jason Volk
ae071552fb ircd::ctx::ole: Add options structure; minor cleanup. 2019-07-11 15:51:09 -07:00
Jason Volk
de94e95422 ircd: Split out overgrown components from stringops.h 2019-07-11 15:51:09 -07:00
Jason Volk
d53744b3f8 ircd: Rename gmatch/gequals. 2019-07-11 15:51:09 -07:00
Jason Volk
0f4d1e2869 ircd::net::socket: Convert totals counters to stats::items. 2019-07-11 15:51:09 -07:00
Jason Volk
7fdf87a21f ircd:Ⓜ️:user: Combine user.h and user/user.h like other directories. 2019-07-11 15:51:09 -07:00
Jason Volk
6032331bf2 ircd:Ⓜ️ Move breadcrumb_rooms interface down one out from m::user::. 2019-07-11 15:51:09 -07:00
Jason Volk
808148e326 ircd::buffer: Add buffer overlap util;
ircd::buffer: Assert on overlap.

ircd::buffer: Add operator+=.

irde::buffer: More aggressive inlining.
2019-07-11 15:51:08 -07:00
Jason Volk
c0402f08f4 ircd::util: Improve the test trigger prototype. 2019-07-10 21:39:47 -07:00
Jason Volk
c39aad4d3f ircd:Ⓜ️:vm: Factor room_version into eval. 2019-07-10 06:52:56 -07:00
Jason Volk
329972ed01 ircd:Ⓜ️:event: Update the make_id() suite. 2019-07-10 03:50:37 -07:00
Jason Volk
b7fc4710eb ircd:Ⓜ️:event::conforms: Add event_id hash check to static conformity checks. 2019-07-10 03:50:37 -07:00
Jason Volk
43d66420cd Update incompatible uses of event_id. 2019-07-10 03:50:37 -07:00
Jason Volk
639b132250 ircd:Ⓜ️ Add a check_id(event) suite. 2019-07-10 02:12:16 -07:00
Jason Volk
0a210544b3 ircd:Ⓜ️:event::conforms: Remove MISTMATCH_ORIGIN_EVENT_ID code. 2019-07-09 23:46:24 -07:00
Jason Volk
2755cfe71b ircd:Ⓜ️🆔 Improve the validation interface / stack. 2019-07-09 02:33:27 -07:00
Jason Volk
719a965d9f ircd:Ⓜ️:event: Remove prev_state from top level. 2019-07-09 02:33:27 -07:00
Jason Volk
fc8048dc74 ircd::event: Remove membership from top level. 2019-07-09 02:03:03 -07:00
Jason Volk
e0655229c5 ircd::room::auth: Improve make_refs and cleanup interface related. 2019-07-09 02:03:03 -07:00
Jason Volk
d37aaa8542 ircd::assert: Only #error for include-order in --enable-debug mode. 2019-07-08 16:49:43 -07:00
Jason Volk
d5c035693c ircd:Ⓜ️:user: Add interface to im.vector.riot.breadcrumb_rooms. 2019-07-08 06:03:20 -07:00
Jason Volk
93b82445d9 ircd:Ⓜ️:fetch: Fix initialization.
ircd:Ⓜ️:event::fetch: Fix member statekeeping.
2019-07-08 06:03:20 -07:00
Jason Volk
015cbe53b1 ircd::net::socket: Add static counters for totals. 2019-07-08 06:03:20 -07:00
Jason Volk
11dd47a8aa ircd:Ⓜ️:sync: Add pointer to struct args in struct data. 2019-07-08 06:03:20 -07:00
Jason Volk
3057e9a328 ircd:Ⓜ️ Move event/get.h down one level. 2019-07-07 22:06:11 -07:00
Jason Volk
439402c08c ircd:Ⓜ️ Add an m::query() template suite for DRY'ing common m::get() usage pattern. 2019-07-07 17:58:15 -07:00
Jason Volk
ec8bac81d1 ircd:Ⓜ️:filter: Add missing fields on room_event_filter. 2019-07-07 17:00:36 -07:00
Jason Volk
49264bd13b ircd:Ⓜ️:sync: Add sync item children counter. 2019-07-06 22:25:16 -07:00
Jason Volk
18f07b6378 ircd:Ⓜ️:sync: Move definitions to module.
ircd:Ⓜ️:sync: Give sync::data an instance_list.
2019-07-06 22:25:12 -07:00
Jason Volk
dc4d13bca6 ircd:Ⓜ️:event::fetch: Add internal buffer for event::id state. 2019-07-05 23:45:00 -07:00
Jason Volk
261151f539 ircd:Ⓜ️:fetch: Remove ambiguating event_id() util. 2019-07-05 23:45:00 -07:00
Jason Volk
4a289c065a ircd:Ⓜ️:event: Add event_id member; reorg ctors. 2019-07-05 23:45:00 -07:00
Jason Volk
31aea230b1 ircd::conf: Explicit bool operators for std::string item. 2019-07-05 18:07:49 -07:00
Jason Volk
7af8e5774c ircd::ios: Add no-op synchronous defer overload; use w/ this_ctx::yield(). 2019-07-05 17:37:04 -07:00
Jason Volk
b8dfa9ccee ircd::magick: Reorg and elaborate the job state tracking; add interface. 2019-07-05 16:05:36 -07:00
Jason Volk
612eeb3b7f ircd::allocator: Add ctrl get()/set() w/ console cmd. 2019-07-04 00:20:49 -07:00
Jason Volk
e7b66eac3b ircd:Ⓜ️:event::prev: Stronger json::object type for v1 tuple value at indice. 2019-07-03 18:57:48 -07:00
Jason Volk
5d570a8da4 ircd:Ⓜ️🆔 Move event fwddecl closer to use; add more comments on v3/v4 objects. 2019-07-03 18:57:48 -07:00
Jason Volk
6a6c51d359 ircd::allocator: Distill out GNU malloc featurette from allocator.cc unit. 2019-07-03 18:57:48 -07:00
Jason Volk
ea0a1df3a1 configure: Add options for third-party allocator selection/deselection and inclusion. 2019-07-03 18:02:54 -07:00
Jason Volk
f88cc51e37 ircd: Move definitions for various valgrind suites to vg.cc for header isolation. 2019-07-03 15:14:29 -07:00
Jason Volk
60fda46bdf ircd::http: Consolidate line terminator static strings. 2019-06-28 18:23:43 -07:00
Jason Volk
9ca019f03e ircd:Ⓜ️🆔:event: Add non-throwing static tests of v3/v4 id from string. 2019-06-28 03:42:07 -07:00
Jason Volk
6c62515a6d ircd:Ⓜ️🆔 Use proper reference hashing procedure for event::v3/event::v4 ctors. 2019-06-27 20:06:26 -07:00