0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-05 13:28:54 +01:00
Commit graph

2272 commits

Author SHA1 Message Date
Jason Volk
55a8391e48 ircd::allocator: Add trim() if available. 2018-06-09 13:34:01 -07:00
Jason Volk
de07d32afd ircd/modules: Update various conditional json::iov nodes. 2018-06-05 11:19:40 -07:00
Jason Volk
5146ddf67e ircd::json: Reduce iov interface; make conditional nodes evaluate conditionally. 2018-06-05 11:16:52 -07:00
Jason Volk
1a12b7331d ircd::json: Add conditioned-closure iov::add_if. 2018-06-04 23:17:29 -07:00
Jason Volk
7c841e6bdb configure/Makefile: Add formal support for libsnappy. 2018-06-04 14:48:04 -07:00
Jason Volk
6d0161d791 ircd/Makefile: Add missing LZ4 related from configure. 2018-06-04 14:43:20 -07:00
Jason Volk
f2acc304c5 ircd:Ⓜ️:room: Add power levels convenience interface (query side). 2018-06-04 14:23:39 -07:00
Jason Volk
2d7b011bba ircd:Ⓜ️:v1: Add frontfill request. 2018-06-03 19:17:03 -07:00
Jason Volk
50835ce7bd ircd:Ⓜ️:room::messages: Adhere to room.event_id in ctor if given. 2018-06-03 14:50:42 -07:00
Jason Volk
c58e60c122 modules/vm: Move vm::log out of module back to libircd. 2018-06-03 09:58:45 -07:00
Jason Volk
57bfe311c6 ircd::fs: Add experimental stdin::tty support. 2018-06-03 09:49:00 -07:00
Jason Volk
2b654d13c5 configure: Reorg various third-party sections; add lz4 support. 2018-06-03 08:35:44 -07:00
Jason Volk
a24d0e387e ircd:Ⓜ️:room::messages: Ret false rather than throw for seek(event_id) not_found. 2018-06-03 07:44:37 -07:00
Jason Volk
7743198601 ircd:Ⓜ️:room: Optimize the room::membership query fix. 2018-06-02 22:18:45 -07:00
Jason Volk
49ef5af3e5 ircd:Ⓜ️:room: Fix the membership query for missing memberships. 2018-06-02 18:24:39 -07:00
Jason Volk
79b2bdfb42 ircd::fs: Add prefetch(). 2018-06-02 11:44:53 -07:00
Jason Volk
4ce6b69f69 ircd::db: Additional env debug messages. 2018-06-02 09:18:01 -07:00
Jason Volk
0abda3e175 ircd::rfc1035: Fix typo. 2018-06-01 14:16:07 -07:00
Jason Volk
fd41a3b9c1 ircd::db: Add db env debug log msg to WaitForJoin. 2018-06-01 12:36:46 -07:00
Jason Volk
7e25d99cc6 ircd::db: Convert rocksdb::port from pthread to ircd::ctx. 2018-06-01 12:36:46 -07:00
Jason Volk
d56c856573 ircd::db: Reorg to group all thread related env callbacks together. 2018-06-01 06:23:39 -07:00
Jason Volk
abe921c3ad ircd::net: Add conf item for default close opts. 2018-06-01 04:08:20 -07:00
Jason Volk
8c5b47950f ircd::net: Add conf items for default open_opts. 2018-06-01 04:05:19 -07:00
Jason Volk
f41c50af5b Makefile: ld.gold arguments package. 2018-05-31 16:32:55 -07:00
Jason Volk
7461de8b3d ircd::db: Condition to check database from ircd::checkdb via -checkdb command line option. 2018-05-31 12:47:37 -07:00
Jason Volk
ae3eede730 ircd::fmt: Support width-aligned signed and unsigned integers. 2018-05-31 10:23:29 -07:00
Jason Volk
1ab3489977 ircd::fmt: Add width-aligned string format specifiers. 2018-05-31 10:18:37 -07:00
Jason Volk
467441e83c ircd:Ⓜ️:room: Optimize the membership convenience query. 2018-05-31 06:39:36 -07:00
Jason Volk
0d642aae31 ircd::aio: More appropriate cast here. 2018-05-31 06:14:39 -07:00
Jason Volk
4ef10e9f9e ircd::resource: Optimize access_token -> user_id query on auth. 2018-05-31 04:49:21 -07:00
Jason Volk
1f0225ecdc ircd::resource: Reorg token / x-matrix checks; always try to resolve token if supplied. 2018-05-31 04:49:21 -07:00
Jason Volk
6671122997 ircd:Ⓜ️ Rework visibility interface for empty mxid's as part of a public test. 2018-05-31 04:25:04 -07:00
Jason Volk
7825114281 ircd::fmt: Internalize specifier related; various cleanup. 2018-05-30 09:05:15 -07:00
Jason Volk
b5104d6504 ircd::fmt: Remove cruft. 2018-05-30 08:45:11 -07:00
Jason Volk
45155d5e4d ircd::fs: Add fd::opts nocreate open() option. 2018-05-30 04:59:05 -07:00
Jason Volk
8395a7844c ircd::fs: Add fd::opts direct and cloexec flags; reorg fd ctor related. 2018-05-30 04:59:05 -07:00
Jason Volk
0f4270e91a ircd::client: Condition to suppress log warning; minor cleanup. 2018-05-30 04:59:04 -07:00
Jason Volk
f8ea91cdee ircd::fs: Add append(fd) with explicit lseek(SEEK_END). 2018-05-30 04:59:04 -07:00
Jason Volk
ead2a567ad ircd::fs: Refactor fs::write stack for fs::fd. 2018-05-30 04:59:04 -07:00
Jason Volk
501e82e8aa ircd::fs: Refactor fs::read stack for fs::fd. 2018-05-30 04:59:04 -07:00
Jason Volk
a9e73d898c ircd::fs: Add size(fd) from sys stat(). 2018-05-30 04:59:04 -07:00
Jason Volk
955d8921b9 ircd::fs: Add basic fd wrapper object. 2018-05-30 04:59:04 -07:00
Jason Volk
73fc596cb6 ircd::db: Add experimental port linktime override suite. 2018-05-30 04:59:04 -07:00
Jason Volk
c93166f9e4 ircd::allocator: Add returns_nonnull attribute to the profiler's operator new. 2018-05-29 23:05:19 -07:00
Jason Volk
355c1845e3 ircd/Makefile: Add gold linker option --dynamic-list-data. 2018-05-29 23:03:39 -07:00
Jason Volk
1cafbef10e ircd::allocator: Add comment for RB_PROF_ALLOC. 2018-05-29 23:03:19 -07:00
Jason Volk
879c531ae9 ircd::info: Tighten the boost include required for this tru. 2018-05-29 22:46:05 -07:00
Jason Volk
b13193611d ircd::server: Rename peer::interrupt() to peer::cancel(). 2018-05-29 11:53:37 -07:00
Jason Volk
de8e7b5908 ircd:Ⓜ️:vm: Move eval entry related into modules/vm; convert phase to struct. 2018-05-29 04:05:50 -07:00
Jason Volk
0766000b20 ircd::lexical: Eliminate allocation on lex_cast(string) conversions. 2018-05-29 02:52:47 -07:00
Jason Volk
b32a5b6a61 ircd/Makefile: Move allocator unit up in the order. 2018-05-29 02:52:47 -07:00
Jason Volk
3e6fdbd93d ircd::db: Use #defines rather than comments for excessive log calls. 2018-05-29 02:52:47 -07:00
Jason Volk
4dd0b6c7b2 ircd::db: Minor syntax cleanups. 2018-05-29 01:42:04 -07:00
Jason Volk
c8902654a0 ircd::ctx: Detach context in dtor on main/async stacks. 2018-05-28 07:04:06 -07:00
Jason Volk
a2c98d3be5 ircd::client: Join request pool after client list empty. 2018-05-28 01:36:40 -07:00
Jason Volk
2ba495eb8b modules/m_presence: Move some externs from client/presence; update linkages. 2018-05-28 01:31:45 -07:00
Jason Volk
54f08c0351 ircd::resource: Involve a request context interrupt on timeout. 2018-05-28 00:33:21 -07:00
Jason Volk
9714d1ee15 ircd:Ⓜ️ Reorg event visibility interface; update linkages. 2018-05-28 00:33:21 -07:00
Jason Volk
377276432b ircd:Ⓜ️ Add back non-essential fields after essential stripping here. 2018-05-27 08:39:49 -07:00
Jason Volk
3ec0a1c7c8 ircd:Ⓜ️ Further overload the event::hashes stack; use proper return types. 2018-05-27 08:39:49 -07:00
Jason Volk
0d833cda4f ircd:Ⓜ️ Add templated payload for hook. 2018-05-26 22:12:11 -07:00
Jason Volk
5b52ac3103 ircd::ctx: Remove argument from continuation ctor. 2018-05-25 23:50:20 -07:00
Jason Volk
37f8868afc ircd:Ⓜ️:init: Run a conf update after all modules have loaded [disabled] 2018-05-25 23:48:07 -07:00
Jason Volk
e11973fb40 ircd:Ⓜ️:init: Provide some partial load ordering based on module prefix. 2018-05-25 21:07:29 -07:00
Jason Volk
422206794f ircd::conf: Add conf::exists(key); minor cleanup. 2018-05-25 20:45:30 -07:00
Jason Volk
3746c25f20 ircd::ctx::ole: Add crude pooling. 2018-05-25 20:21:36 -07:00
Jason Volk
1309565506 ircd:Ⓜ️ Add essential key pruning for m.room.redaction sign and verify. 2018-05-25 18:35:40 -07:00
Jason Volk
b69848b620 ircd::json: Add non-const iov::at(); minor cleanup. 2018-05-25 17:45:49 -07:00
Jason Volk
d4c2ec6b22 ircd::db: Fix iterator invalidation from a cache-missing seek. 2018-05-25 06:21:03 -07:00
Jason Volk
2564b28743 ircd::db: Properly maintain db::gopts as iterator state. 2018-05-25 03:07:30 -07:00
Jason Volk
a45365ee98 ircd::allocator: Add global allocator profiling suite. 2018-05-25 03:07:30 -07:00
Jason Volk
c6bd9d63e8 ircd::allocator: Deinline non-template assets. 2018-05-25 00:15:49 -07:00
Jason Volk
ee0ff2b1ad ircd:Ⓜ️ Basic internal db::gopts for events iteration. 2018-05-24 21:31:33 -07:00
Jason Volk
ff21175036 ircd::db: Integrate checkpointing with database name and path schema. 2018-05-24 20:52:49 -07:00
Jason Volk
4cb6845ac1 ircd::fs: Use vector_view for make_path related. 2018-05-24 19:11:05 -07:00
Jason Volk
184684264b ircd:Ⓜ️🪝 Additional internal distillation of class components. 2018-05-24 18:31:47 -07:00
Jason Volk
4ce29f1d22 ircd::db: Add cache clear interface w/ console cmd. 2018-05-24 01:18:58 -07:00
Jason Volk
7bfe9e94a1 ircd::db: Default to no checksums on all reads; add conf item; adjust opts. 2018-05-23 18:45:27 -07:00
Jason Volk
5708d9c36b ircd::db: Consolidate various stats interfaces into header. 2018-05-23 17:04:02 -07:00
Jason Volk
77755a2ab4 ircd::db: Add interface to rocksdb iostats w/ console cmd. 2018-05-23 16:57:49 -07:00
Jason Volk
9da798145b ircd:Ⓜ️ Allow room opts passed through user::room ctor. 2018-05-23 16:44:16 -07:00
Jason Volk
1c20df652b ircd::db: Elaborate interface to the rocksdb perf_context. 2018-05-23 16:27:44 -07:00
Jason Volk
f641076072 ircd::json: Antipodal undefined number; add assert that it's not zero. 2018-05-23 00:32:37 -07:00
Jason Volk
956c67beca ircd::ctx: Use dock for better adjoindre semantics. 2018-05-22 18:06:18 -07:00
Jason Volk
f68f3bbb9c ircd::ctx: Organize stack and profile related into specific structures. 2018-05-22 18:03:18 -07:00
Jason Volk
8b15512849 ircd::db: Add database's unique id string interface. 2018-05-22 17:01:01 -07:00
Jason Volk
9d5afc8e87 ircd::db: Add separate check(database); Add log notice when checking on open. 2018-05-22 16:52:34 -07:00
Jason Volk
eda5822700 Move boost coroutine deprecation suppression define to configure.ac from Makefile.am. 2018-05-22 16:31:30 -07:00
Jason Volk
0e169fe4a4 ircd::ctx: Stop interrupt propagation at pool function base. 2018-05-22 05:49:38 -07:00
Jason Volk
d901257745 ircd::ctx: Use NOINTERRUPT flag for termination suppression as well. 2018-05-22 00:24:48 -07:00
Jason Volk
f17f9685ec ircd::ctx::ole: Use interrupt suppression scope while offloaded. 2018-05-22 00:22:57 -07:00
Jason Volk
7e8ec1ca63 ircd::ctx: Support interrupt suppression; suite. 2018-05-22 00:22:56 -07:00
Jason Volk
fd13e71684 ircd:Ⓜ️:dbs: Add equality comparator to optimize events__room_events. 2018-05-21 19:52:47 -07:00
Jason Volk
1afba986b3 ircd::db: Support additional rdb comparator features. 2018-05-21 19:52:18 -07:00
Jason Volk
6be37c7aa6 ircd:Ⓜ️ Add event::fetch::opts overrider to room::messages; simplify overrider on room::state. 2018-05-21 17:36:16 -07:00
Jason Volk
0d489d6ffb ircd::http: Add 504 Gateway Timeout status. 2018-05-21 15:56:13 -07:00
Jason Volk
bc26a8f9b3 ircd:Ⓜ️ Optimize user::rooms iteration event query. 2018-05-21 00:19:27 -07:00
Jason Volk
2755d779c9 ircd:Ⓜ️ Simplify user::rooms iteration callstack. 2018-05-21 00:19:08 -07:00
Jason Volk
559c2f008c ircd:Ⓜ️ Optimize room::members::count w/ event::fetch::opts keys select. 2018-05-20 20:30:25 -07:00
Jason Volk
65b516e4c0 ircd:Ⓜ️ Use proper m::membership(event) test and deoptimize accordingly. 2018-05-20 20:26:12 -07:00