0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-10 03:51:14 +01:00
Commit graph

12650 commits

Author SHA1 Message Date
Jason Volk
728da15ad3 configure: Add function checks for mlock2(2); remove standard cruft. 2020-05-29 23:40:24 -07:00
Jason Volk
312493fa8e configure: Enable asm-blocks for clang. 2020-05-29 23:40:24 -07:00
Jason Volk
77b0fc9e1e ircd::db: Elaborate all extent hooks; move cache_arena to database::allocator. 2020-05-29 23:40:24 -07:00
Jason Volk
37c89aa3d5 modules/media/media: Fix exception type. 2020-05-29 23:40:24 -07:00
Jason Volk
67ddcf074a ircd::db: Add a global cache arena w/ lifetime of subsystem. 2020-05-29 23:40:24 -07:00
Jason Volk
085b1acfe9 ircd::db: Add jemalloc arena and flags support to allocators. 2020-05-29 23:40:24 -07:00
Jason Volk
ed5228610f ircd::allocator: Add void specialization to mallctl suite. 2020-05-29 23:40:24 -07:00
Jason Volk
e70284c03f ircd::allocator: Add more flexibility to mallctl template. 2020-05-29 23:40:24 -07:00
Jason Volk
2e5a4daf76 ircd::allocator::je: Ensure truncation of mallctl results. 2020-05-29 23:40:24 -07:00
Jason Volk
6eb54341ef ircd::spirit: Fix signedness and displacements in generator state; add assertions. 2020-05-29 23:40:24 -07:00
Jason Volk
bf91bf9bcd README: Fix doc links; fall prey to the github lockin. [ci skip] 2020-05-29 12:15:58 -07:00
Jason Volk
d9cf74ebd6 modules/client/publicrooms: Convey search term to any federation query. 2020-05-29 01:39:25 -07:00
Jason Volk
761ff66464 ircd:Ⓜ️:fed: Generate POST /publicRooms content by default; add console search param. 2020-05-29 01:34:19 -07:00
Jason Volk
9457b1d34b modules/federation/publicrooms: Implement Federation r0.4.0-15.2 (matrix-org/matrix-doc/#2197). 2020-05-29 01:02:50 -07:00
Jason Volk
0eb4401897 modules/federation/publicrooms: Replace use of nullary my_host(). 2020-05-29 00:30:40 -07:00
Jason Volk
b493b5e39c ircd:Ⓜ️:sync: Assume no to bypass should_ignore() query on rooms prefetch iteration. 2020-05-28 21:55:07 -07:00
Jason Volk
c10036d824 modules/client/sync/rooms/state: Implement prefetch on initial phased polylog. 2020-05-28 21:32:54 -07:00
Jason Volk
aead45402d ircd:Ⓜ️:sync: Introduce item prefetch feature for polylog mode. 2020-05-28 21:31:28 -07:00
Jason Volk
fbb17b0b48 modules/client/sync/rooms: Minor cleanup. 2020-05-28 21:29:28 -07:00
Jason Volk
4d32122fa8 ircd::spirit: Quench the generator's default position policy. 2020-05-28 20:09:14 -07:00
Jason Volk
6beb93b1c1 ircd::spirit: Improve pseudo-buffering; generator state and interface related. 2020-05-28 20:09:14 -07:00
Jason Volk
7064e4f349 ircd::util: Improve some comments; minor cleanup. 2020-05-28 15:20:32 -07:00
Jason Volk
d9f8e0d0ab ircd::json: Eliminate bool return for printer call. 2020-05-27 20:03:03 -07:00
Jason Volk
876f28f1df ircd::spirit: Specify inline storage for util templates. 2020-05-27 20:03:03 -07:00
Jason Volk
8b3760b57f ircd::spirit: Minor rename error buffer. 2020-05-27 20:03:02 -07:00
Jason Volk
d58921f756 ircd::spirit: Add exceptions; move epsilon into generate abstraction; minor cleanup. 2020-05-27 20:03:02 -07:00
Jason Volk
3b485d79f1 ircd::buffer: Return bytes consumed from consume(). 2020-05-27 10:50:56 -07:00
Jason Volk
112185c213 ircd::rfc3986: Use generator template for encode(). 2020-05-26 04:54:52 -07:00
Jason Volk
1aa83a22fb ircd::fmt: Use generate template for fmt grammars. 2020-05-26 04:54:52 -07:00
Jason Volk
8bfdd7884b ircd:Ⓜ️🆔 Use generate template; optimize printer. 2020-05-26 04:54:52 -07:00
Jason Volk
b698f80067 ircd::spirit: Abstract common generator call into template. 2020-05-26 04:54:52 -07:00
Jason Volk
93ee6a9f04 ircd::allocator: Add templated info get()/set() to suite. 2020-05-26 02:10:09 -07:00
Jason Volk
210dc94521 ircd::json: Add parenthesis around comparison. 2020-05-26 00:28:15 -07:00
Jason Volk
188e9b1c81 ircd::json: Rearrange branch blocks. 2020-05-26 00:04:09 -07:00
Jason Volk
f2f3e9a8a5 ircd::json: Workaround buffer_sink action. 2020-05-26 00:04:04 -07:00
Jason Volk
53b304cb7a ircd::json:🖨️ Make return an lvalue for leeward access. 2020-05-25 01:39:15 -07:00
Jason Volk
cd9faf8c20 construct::console: Allocate output buffer at class level. 2020-05-25 01:05:26 -07:00
Jason Volk
5d60e6b2d4 modules/console: Add option for short mem info only; use stack buffers. 2020-05-25 00:53:51 -07:00
Jason Volk
acd0b71ccc ircd::allocator: Implement profile counters in mock handlers. 2020-05-25 00:27:31 -07:00
Jason Volk
626df7a4df ircd::allocator: Update profiling operator delete w/ noexcept. 2020-05-25 00:26:40 -07:00
Jason Volk
4b7dcd48a6 ircd::json: Optimize sequential alternative for individual characters. 2020-05-24 22:06:18 -07:00
Jason Volk
ef022a215f ircd:Ⓜ️🪝 Use nothrow disable_interruption; propagate by default. 2020-05-24 21:06:17 -07:00
Jason Volk
d00392b90c ircd::ctx: Call any interruption handler even if interrupts disabled. 2020-05-24 20:34:44 -07:00
Jason Volk
56f3fa8f13 modules/m_vm_fetch: Condition hook entry for non-internal rooms. 2020-05-24 20:34:44 -07:00
Jason Volk
77d823e8ee ircd:Ⓜ️:dbs: Tweak compression; default bloom bits for _event_idx. 2020-05-24 19:51:57 -07:00
Jason Volk
e5517735c3 ircd::json: Replace phrase_parse in type suite.
ircd::json: Tweak whitespace rules in type suite grammar.
2020-05-24 19:33:32 -07:00
Jason Volk
f78e23149d ircd:Ⓜ️ Optimize various callsites for type queries. 2020-05-24 19:08:08 -07:00
Jason Volk
31dfedbcd7 ircd::json: Add suite for type optimized type query; refactor grammars. 2020-05-24 19:03:00 -07:00
Jason Volk
b137f59c5e ircd::json: Move type determination grammars out of primary input grammar. 2020-05-24 18:33:20 -07:00
Jason Volk
e938081404 ircd::ctx: Add watchdog log facility. 2020-05-24 17:42:32 -07:00