0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-03 04:18:55 +01:00
Commit graph

2053 commits

Author SHA1 Message Date
Jason Volk
09a0b345c8 ircd:Ⓜ️:dbs: No need to unref columns anymore. 2018-05-04 14:32:18 -07:00
Jason Volk
f77b3aae7e ircd:Ⓜ️ Reorg event util related; break up pretty(event) around ostream argument. 2018-05-04 14:30:51 -07:00
Jason Volk
8d819cd3f5 ircd::log: Minor cleanup. 2018-05-03 20:08:24 -07:00
Jason Volk
a054ac6b2f ircd::resource: Clear peer error after peer contacts us. 2018-05-02 22:22:12 -07:00
Jason Volk
292e8c5a12 ircd::server: Remove deprecated assertion. 2018-05-02 22:22:12 -07:00
Jason Volk
770ed3a1ef ircd::client: Minor cleanup init/fini log calls. 2018-05-02 22:22:12 -07:00
Jason Volk
97da72e7d9 ircd::client: Increase default request timeout. 2018-05-02 12:44:12 -07:00
Jason Volk
1d0ae3855a ircd::server: Close link if the only commitment is a cancelled tag. 2018-05-02 12:33:08 -07:00
Jason Volk
695fb4c9b0 ircd::net: Ensure proper string() is resolved; minor cleanup. 2018-05-02 12:15:04 -07:00
Jason Volk
c84fe8d962 ircd::server: Fix preservation of nullity for in.content through cancellation. 2018-05-02 12:00:32 -07:00
Jason Volk
8f7a05c9ed ircd::server: Minor cleanup / assertions / comments. 2018-05-02 12:00:26 -07:00
Jason Volk
4c61eeba89 ircd::net::dns: Use explicit static empty record instances. 2018-05-02 11:28:34 -07:00
Jason Volk
fb53069c6f ircd::net::dns Include query in callback arguments to prevent any stale captures. 2018-05-01 18:56:22 -07:00
Jason Volk
9af649f739 ircd::db: Consolidate write(column) overloads. 2018-04-30 07:18:06 -07:00
Jason Volk
e80e34eddc ircd:Ⓜ️ Fix fmt argument type. 2018-04-28 22:16:34 -07:00
Jason Volk
2b7358aa60 ircd:Ⓜ️:dbs: Conditional indexer; pass db::op from opts for indexer. 2018-04-28 19:05:17 -07:00
Jason Volk
6d771191fc ircd::rfc1035: Fix any uninitialized gaps in the name buffer. 2018-04-28 18:47:17 -07:00
Jason Volk
3f2320c49e ircd::net::dns: Strip the cached-error SRV target of its prefix; minor fixes. 2018-04-28 17:47:59 -07:00
Jason Volk
405fcdef23 ircd::rfc1035: Remove unnecessary ilist. 2018-04-28 17:47:59 -07:00
Jason Volk
30d8c0b961 ircd::net::dns: Allocate separate reply buffer in resolver. 2018-04-28 17:47:59 -07:00
Jason Volk
a3bea15eef ircd::net::dns: Various send cleanup/asserts; fix hostport reference in eh. 2018-04-28 17:47:59 -07:00
Jason Volk
2b41672259 ircd::net::dns: Improve the SRV -> A callback chain. 2018-04-28 17:47:59 -07:00
Jason Volk
4e796c896a ircd::net::dns: Allow an exception to calling back with nxdomain as an exception. 2018-04-28 17:47:58 -07:00
Jason Volk
1d408173dc ircd::net: Return pointer to cached error record for put_error(). 2018-04-28 16:25:20 -07:00
Jason Volk
48abece29b ircd::net: Improve dns::resolver instance init/fini. 2018-04-28 15:31:07 -07:00
Jason Volk
0f161f98e8 ircd::ctx::list: Fix misleading reference. 2018-04-28 03:26:07 -07:00
Jason Volk
d3b1b0ff77 ircd:Ⓜ️🆔 Cleanup / fix error. 2018-04-27 21:48:14 -07:00
Jason Volk
46cf2ca559 ircd:Ⓜ️ Fix closure parameter rot. 2018-04-27 21:48:14 -07:00
Jason Volk
d8b14ade58 ircd:Ⓜ️ Fix narrowing conversion. 2018-04-27 21:48:14 -07:00
Jason Volk
dc5ac7c2ac ircd::ctx: #ifdef away linkages for ctx assertions in NDEBUG builds. 2018-04-27 19:16:56 -07:00
Jason Volk
09c282fd8e ircd::ctx: Add stack_usage_assertion; move stack_usage_here() into this_ctx::. 2018-04-27 19:09:26 -07:00
Jason Volk
70f962de4e ircd:Ⓜ️ Elaborate presence interface to fetch full event from user's room. 2018-04-27 15:26:17 -07:00
Jason Volk
9c5b10fb61 ircd::server: Preserve nullity of cancellation tag's in.content. 2018-04-26 21:35:55 -07:00
Jason Volk
75b67e11fc ircd:Ⓜ️ Add state_root() to room messages iterator. 2018-04-26 21:35:55 -07:00
Jason Volk
a734798100 ircd::db: Minor cleanup. 2018-04-26 17:52:24 -07:00
Jason Volk
8083a5d71c ircd::db: Add WAL fflush; move table flushes to "sort()"; adjust interfaces. 2018-04-26 17:19:29 -07:00
Jason Volk
93ca1448d1 ircd::db: Verify SST checksums on db open. 2018-04-26 16:48:35 -07:00
Jason Volk
94439a334e ircd::db: Cleanup/Simplify db open ptr construction. 2018-04-26 16:39:59 -07:00
Jason Volk
173093e45a ircd::db: Fix default description to include default column. 2018-04-26 16:22:16 -07:00
Jason Volk
94b03cfe71 ircd:Ⓜ️ Fix my_node id generation. 2018-04-26 15:45:06 -07:00
Jason Volk
523bf19f30 ircd:Ⓜ️🪝 Add a set to track all hooks for a site. 2018-04-26 15:17:28 -07:00
Jason Volk
78a5442230 ircd:Ⓜ️ Increase stream buffer sizes for pretty(event). 2018-04-25 23:34:39 -07:00
Jason Volk
6add3e9952 ircd::server: Limit recursion of chunk head parses. 2018-04-25 20:52:27 -07:00
Jason Volk
e2568457f4 ircd::server: Add dynamic chunk vectoring. 2018-04-25 20:52:26 -07:00
Jason Volk
7e32d3cbaa ircd::server: Checkpoint preliminary chunk vectoring; state, options. 2018-04-25 15:10:04 -07:00
Jason Volk
55632dee5e ircd:Ⓜ️:dbs: Fix default value for event::idx to respect domain order. 2018-04-25 01:42:41 -07:00
Jason Volk
ba61369027 ircd:Ⓜ️:dbs: Use buffer size constants for query key generations. 2018-04-24 19:32:32 -07:00
Jason Volk
12592cd22c ircd:Ⓜ️🆔 Improve size constants and range enforcements. 2018-04-24 19:22:07 -07:00
Jason Volk
bf445492db ircd::fs: Use const_buffer rather than string_view in various returns. 2018-04-24 18:34:46 -07:00
Jason Volk
a13c11c93c ircd::log: Fix showing the other name during duplicate snote check. 2018-04-24 18:00:12 -07:00
Jason Volk
f049bbf0d0 ircd: Split tokens.cc from lexical.cc 2018-04-24 17:01:11 -07:00
Jason Volk
db21df0c31 ircd: Move mapi.h into mods/. 2018-04-24 01:21:16 -07:00
Jason Volk
bff688bf64 ircd::openssl: Rename iteration until -> for_each. 2018-04-24 00:50:40 -07:00
Jason Volk
90348f4265 ircd:Ⓜ️ Add interface to get origin names of user's rooms. 2018-04-23 19:39:50 -07:00
Jason Volk
243b0b7918 ircd::resource: Fix resource false matching issue; cleanup. 2018-04-23 19:17:03 -07:00
Jason Volk
aa5681dab9 ircd:Ⓜ️:dbs: Throw exception for a null index here. 2018-04-23 18:14:30 -07:00
Jason Volk
7889d116f0 ircd::resource: Choose better log level based on HTTP response codes. 2018-04-23 17:47:10 -07:00
Jason Volk
2e3e8bc0d5 ircd::log: Add masking by name; various improvements. 2018-04-23 17:20:00 -07:00
Jason Volk
ca138a4338 ircd::log: Give log::log the instance list w/ construction checks. 2018-04-23 17:20:00 -07:00
Jason Volk
27ff5e9be1 ircd::log: Objectify mark / vlog related. 2018-04-23 17:20:00 -07:00
Jason Volk
e598a27d7a ircd::log: Use string_view for named log instance due to dominant use-case. 2018-04-23 17:20:00 -07:00
Jason Volk
523ef5f1db ircd:Ⓜ️ Show the hostname in the vm init/halt log message. 2018-04-22 16:26:54 -07:00
Jason Volk
f808a28664 ircd: Add m/m.h to stdinc.h 2018-04-22 16:22:02 -07:00
Jason Volk
87bd9bc429 ircd:Ⓜ️ Add conf init sequence for m::self related. 2018-04-22 15:18:05 -07:00
Jason Volk
f866c9a4de ircd::db: Flush here does not mean what one might think it means. 2018-04-22 15:08:26 -07:00
Jason Volk
2325208ecd ircd:Ⓜ️ Add more detailed content information in pretty(event). 2018-04-22 14:24:48 -07:00
Jason Volk
a3bcd2dbf3 ircd: Add b64 <-> b58 convenience conversion suite. 2018-04-22 14:24:37 -07:00
Jason Volk
2557834a96 ircd:Ⓜ️:dbs: Factor in the event_idx for a more stable messages sort. 2018-04-22 13:49:02 -07:00
Jason Volk
757f8f8209 ircd::client: Tweak timeout defaults; fix branch probability; additional assert. 2018-04-21 23:45:25 -07:00
Jason Volk
799f450b47 ircd:Ⓜ️ Fix content size sampling in pretty(event). 2018-04-20 23:48:39 -07:00
Jason Volk
6b32da764d ircd::client: Remove the asynchronous longpoll state. 2018-04-20 19:54:18 -07:00
Jason Volk
784293e01f ircd::client: Assertions for request context. 2018-04-20 19:53:36 -07:00
Jason Volk
ebea2e2385 ircd::db: Explicitly involve SST files in column compaction. 2018-04-20 17:03:20 -07:00
Jason Volk
6de7fb7b8c ircd::db: Adjust destruction sequence for rocksdb DB::Close() call. 2018-04-20 17:03:20 -07:00
Jason Volk
f3b0fa3b4e ircd::db: Additional option tweaks. 2018-04-20 17:03:20 -07:00
Jason Volk
e3b2bcf19d ircd::db: Maintain SST file manager instance. 2018-04-20 15:45:57 -07:00
Jason Volk
532f987bd6 ircd::db: Move column compact()/flush() to more consistent place. 2018-04-20 15:22:50 -07:00
Jason Volk
666e509c97 ircd::db: Expose setoptions interface. 2018-04-20 15:22:50 -07:00
Jason Volk
f805344604 ircd::db: Options package for file growth, count and compaction related. 2018-04-20 15:22:50 -07:00
Jason Volk
88f5937559 ircd::log: Update the log::mark() argument to use string_view. 2018-04-20 15:22:50 -07:00
Jason Volk
1cd3e41e44 ircd::info: Distill out the logdump from init. 2018-04-20 15:22:50 -07:00
Jason Volk
09ff713743 ircd::info: Query the RLIMIT_NOFILE; minor fixes. 2018-04-20 15:22:50 -07:00
Jason Volk
fcf17db132 ircd: Various fixes / cleanup. 2018-04-20 15:22:49 -07:00
Jason Volk
2a7cb42c98 ircd::ctx: Minor ctx object semantic elaboration. 2018-04-20 00:44:45 -07:00
Jason Volk
7d64e6323b ircd::client: Use conf::item's for client related. 2018-04-20 00:44:45 -07:00
Jason Volk
d2536c83a2 ircd::client: dwarning if client request pool exhausted. 2018-04-20 00:44:45 -07:00
Jason Volk
1dcfff91a5 ircd::ctx: Expose stack_max() to public interface. 2018-04-19 21:42:54 -07:00
Jason Volk
35a1c62b1f ircd::ctx: Add ctx::running()/waiting() for interface completeness. 2018-04-19 21:42:54 -07:00
Jason Volk
3b32d2170e ircd::ctx: Give ctx::ctx the instance_list. 2018-04-19 21:42:54 -07:00
Jason Volk
281a9e1cfd ircd::ctx: Place ctx::list node pointers into structure in ctx. 2018-04-19 21:42:54 -07:00
Jason Volk
793c24ce9e ircd::ctx: Simplify list iteration API. 2018-04-19 14:47:56 -07:00
Jason Volk
1d451ca3ff ircd:Ⓜ️ Add additional filter convenience constructors. 2018-04-19 14:23:47 -07:00
Jason Volk
1397091b7c ircd:Ⓜ️:events: Add a filtered iteration. 2018-04-19 14:23:47 -07:00
Jason Volk
e57b85cb36 ircd:Ⓜ️ Add developer convenience constructor to event_filter. 2018-04-19 13:47:51 -07:00
Jason Volk
328292ba0e ircd|:Ⓜ️ Optimize path for head_idx()/depth() to avoid head id lookup. 2018-04-18 15:13:17 -07:00
Jason Volk
fbc78c9c60 ircd:Ⓜ️ Add head_idx(room) convenience to get one head event idx. 2018-04-18 15:09:13 -07:00
Jason Volk
02bc9032e8 ircd:Ⓜ️ Add event::idx to top() tuple. 2018-04-18 15:04:46 -07:00
Jason Volk
7659ef3acc ircd:Ⓜ️ Reorder top() tuple; use strong type template std::get'ers. 2018-04-18 15:03:42 -07:00
Jason Volk
d64adf8916 ircd:Ⓜ️ Rename event id generator function. 2018-04-18 14:26:25 -07:00
Jason Volk
7f3919dd17 ircd:Ⓜ️ Split events iterations into namespace. 2018-04-18 01:25:54 -07:00