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

1912 commits

Author SHA1 Message Date
Jason Volk
4b5545f844 ircd: Make some fundamental string_view ADL's constexpr. 2018-06-19 21:30:29 -06:00
Jason Volk
c136e82a57 ircd:Ⓜ️ Temporary fixes for stale static initializations. 2018-06-16 23:00:47 -06:00
Jason Volk
13bee93ddc ircd: Split standard includes back into an stdinc.h. 2018-06-15 16:19:29 -06:00
Jason Volk
9601dac9cc ircd: Consolidate stdinc.h and ircd.h and fix precompiled headers. 2018-06-15 16:13:18 -06:00
Jason Volk
0d688b386b ircd::json: Perform unquote() in json::string ctor as described... 2018-06-12 01:00:15 -07:00
Jason Volk
912562f469 ircd:Ⓜ️:vm: Checkpoint phase-as-class skeleton. 2018-06-12 01:00:14 -07:00
Jason Volk
0da4dec13c ircd:Ⓜ️:event: Add topological before; improve prev iteration closure; reorg some util. 2018-06-09 14:37:31 -07:00
Jason Volk
3da5afdb85 ircd::allocator: Additional doc comment on profiler. 2018-06-09 14:37:31 -07:00
Jason Volk
acddfa77f8 ircd::allocator: Add mallinfo to string support w/ console command. 2018-06-09 14:37:31 -07:00
Jason Volk
feb1aa5d2f ircd::info: Add glibc related to info. 2018-06-09 13:42:35 -07:00
Jason Volk
960553f279 ircd::db: Checkpoint skeleton state structure for env. 2018-06-09 13:40:21 -07:00
Jason Volk
a077766812 ircd:Ⓜ️ Update README. 2018-06-09 13:37:04 -07:00
Jason Volk
55a8391e48 ircd::allocator: Add trim() if available. 2018-06-09 13:34:01 -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
f1443752c5 ircd::iov: Make node emplacement conditional. 2018-06-05 10:34:30 -07:00
Jason Volk
1a12b7331d ircd::json: Add conditioned-closure iov::add_if. 2018-06-04 23:17:29 -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
eec696524a ircd:Ⓜ️:vm: Reduce the default db::txn reserve overhead value. 2018-06-03 15:20:59 -07:00
Jason Volk
9ec73c3dfb ircd::mods: Add non-const function call templates. 2018-06-03 10:20:54 -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
79b2bdfb42 ircd::fs: Add prefetch(). 2018-06-02 11:44:53 -07:00
Jason Volk
76c716f0e9 ircd:📅 Use the standard snprintf() here. 2018-06-01 14:24:45 -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
b8aba99ed4 ircd::ctx: Assert release sequence is happening on ctx. 2018-06-01 12:36:46 -07:00
Jason Volk
f61d0a30ec ircd::ctx: Add condition_variable for interface compat. 2018-06-01 12:36:46 -07:00
Jason Volk
2404e1adad ircd::ctx: Add mutex::locked() to query if locked. 2018-06-01 07:48:23 -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
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
cfa06c7d71 fixup! ircd:Ⓜ️ Rework visibility interface for empty mxid's as part of a public test. 2018-05-31 05:45:08 -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
c8695b5b83 ircd::parse: Add deprecation notice to this subsystem. 2018-05-30 09:09:48 -07:00
Jason Volk
7825114281 ircd::fmt: Internalize specifier related; various cleanup. 2018-05-30 09:05:15 -07:00
Jason Volk
f8e4f4675f ircd::fs: Doc comments for fd::opts. 2018-05-30 04:59:05 -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
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
b13193611d ircd::server: Rename peer::interrupt() to peer::cancel(). 2018-05-29 11:53:37 -07:00
Jason Volk
702c290d10 ircd::buffer: Minor cleanup/simplify. 2018-05-29 09:33:07 -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
46aec8bc8f ircd::allocator: Minor remove unused declaration. 2018-05-29 02:52:47 -07:00
Jason Volk
9714d1ee15 ircd:Ⓜ️ Reorg event visibility interface; update linkages. 2018-05-28 00:33:21 -07:00
Jason Volk
88d3026cc7 ircd:Ⓜ️:vm: More granular notification broadcast options. 2018-05-27 19:56:04 -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
a1e1272d9c ircd::mods: Fix sym_ptr boolean test. 2018-05-25 23:47:59 -07:00
Jason Volk
422206794f ircd::conf: Add conf::exists(key); minor cleanup. 2018-05-25 20:45:30 -07:00
Jason Volk
b69848b620 ircd::json: Add non-const iov::at(); minor cleanup. 2018-05-25 17:45:49 -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
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
92b91fc307 ircd: Make timestr()'s buffer default a template param; reorg; add comments. 2018-05-23 18:14:42 -07:00
Jason Volk
31dfee9bf3 ircd: Add template ostream convenience for std::chrono::durations. 2018-05-23 17:58:11 -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
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
7e8ec1ca63 ircd::ctx: Support interrupt suppression; suite. 2018-05-22 00:22:56 -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
a2b80db1ad configure.ac/ircd: Add granular configure-time log level control. 2018-05-21 16:59:28 -07:00
Jason Volk
fcb1df34da ircd::log: Re-number log levels. 2018-05-21 16:14:59 -07:00
Jason Volk
0d489d6ffb ircd::http: Add 504 Gateway Timeout status. 2018-05-21 15:56:13 -07:00
Jason Volk
0808058ccd ircd: Add various missing top-level \briefs. 2018-05-21 03:01:50 -07:00
Jason Volk
67b7a58f42 ircd:Ⓜ️ Additional event/room visibility linkage and preliminary hook. 2018-05-20 20:15:50 -07:00
Jason Volk
a66928572b ircd:Ⓜ️ Elaborate room::state ctor for easier custom fopts. 2018-05-20 20:14:44 -07:00
Jason Volk
6e7d5aec3b ircd:Ⓜ️ Rename room opts to copts for consistency. 2018-05-20 20:14:12 -07:00
Jason Volk
32549bc9ae ircd::conf: Deinline some specialized definitions. 2018-05-20 18:39:33 -07:00
Jason Volk
f4acce9c91 ircd::conf: Add bool conf item template specialization. 2018-05-20 18:39:33 -07:00
Jason Volk
c88ce8168b Revert "ircd:Ⓜ️ Convert hook to template."
This reverts commit 915076296f.
2018-05-20 18:39:32 -07:00
Jason Volk
5da82c7e93 ircd::http: Minor cleanup: move the code enum. 2018-05-20 17:37:50 -07:00
Jason Volk
67744cf73e ircd:Ⓜ️ Remove the room::state::opts. 2018-05-20 05:11:30 -07:00
Jason Volk
7e5b9b69ed ircd:Ⓜ️ Integrate fetch::opts with room queries. 2018-05-20 04:35:17 -07:00
Jason Volk
79371780f3 ircd:Ⓜ️ Add fetch::opts with keys and db::gopts. 2018-05-20 04:34:31 -07:00
Jason Volk
163106bb72 ircd:Ⓜ️ Simplify the event::fetch ctor stack w/ default selection. 2018-05-20 01:48:47 -07:00
Jason Volk
1efe069a56 ircd::db: Remove the row tuple template constructor. 2018-05-20 01:48:47 -07:00
Jason Volk
fb1c7236ac ircd::json: Default selection to all keys. 2018-05-20 01:48:47 -07:00
Jason Volk
2f48b69102 ircd:Ⓜ️ Add event::fetch seekless ctor w/ selection. 2018-05-19 22:55:03 -07:00
Jason Volk
208a0198c0 ircd::json: Add specific extern undefined number. 2018-05-19 22:55:03 -07:00
Jason Volk
df348bccaf ircd::db: Condition to not assign cell with null column pointer. 2018-05-19 22:55:03 -07:00
Jason Volk
6150637537 ircd:Ⓜ️ event::fetch keys selection. 2018-05-19 22:55:03 -07:00
Jason Volk
fdadd57f6f ircd::db: Fix row from tuple template. 2018-05-19 22:55:02 -07:00
Jason Volk
d30aa971e5 ircd::json: Additional initializer list convenience constructors for keys. 2018-05-19 22:55:02 -07:00
Jason Volk
16c86f9a76 ircd::fmt: Fix copying / nulling / assertions. 2018-05-19 20:53:40 -07:00
Jason Volk
2991144b38 ircd::json: Use vector_view for keys selectors. 2018-05-19 19:17:07 -07:00