0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-16 06:51:08 +01:00
Commit graph

4744 commits

Author SHA1 Message Date
Jason Volk
830a5b9d2a ircd::mods::ldso: Improve interposition of exceptions for runtime behavior switching. 2022-06-22 11:04:18 -07:00
Jason Volk
f53764cd7f ircd: Add missing tuple; add concepts. (C++20) 2022-06-20 19:44:32 -07:00
Jason Volk
99f1740289 Fixes for gcc (gnu++20) (gcc-12). 2022-06-20 18:24:55 -07:00
Jason Volk
796058d8e9 ircd::db: Remove deprecated seqnum; related 58a346f18b. 2022-06-20 18:24:55 -07:00
Jason Volk
6784e87f5b ircd::magick: Fix evaluation of undefined macro on excluding builds. 2022-06-20 18:24:55 -07:00
Jason Volk
5a11c31d97 Revert "ircd: ISO C++ requires template on destructor names out-of-line." (gcc-11/12)
This reverts commit e3e3bd7b09.

Add -Wno-dtor-name to clang warning discovery section.
2022-06-20 17:26:39 -07:00
Jason Volk
9ffbd8be37 ircd:Ⓜ️:fed: Implement request-side for knock suite. 2022-06-19 20:27:13 -07:00
Jason Volk
da022616d9 ircd:Ⓜ️:fed: Implement request-side for MSC3030 w/ console cmd.
matrix-org/matrix-spec-proposals#3030
2022-06-19 20:27:13 -07:00
Jason Volk
3807a4d832 ircd:Ⓜ️:fed: Add hierarchy request w/ console cmd. 2022-06-19 20:27:13 -07:00
Jason Volk
e403c20cc6 ircd::fs::aio: Split max events query into init method. 2022-06-19 20:27:13 -07:00
Jason Volk
56bbc04527 ircd::fs::map: Add ergonomic trailing-opts ctor. 2022-06-19 20:27:13 -07:00
Jason Volk
b815ac8bec ircd::fs: Eliminate user-defined ctors on various opts for designated inits. 2022-06-19 20:27:13 -07:00
Jason Volk
288647598c ircd::json: Fix tuple template trait deprecated for C++20. 2022-06-19 20:14:23 -07:00
Jason Volk
211ea6ba55 ircd: Fixes for macro collision (gnu++20). 2022-06-19 20:14:23 -07:00
Jason Volk
78848925ee ircd::gpt: Various refactoring. 2022-06-19 20:14:22 -07:00
Jason Volk
31e078506a ircd::simt: Store divisor in mean state for now. 2022-06-19 20:14:22 -07:00
Jason Volk
7006391936 ircd::spirit: Enable qi::rule/karma::rule overrides for clang. 2022-06-19 20:14:22 -07:00
Jason Volk
ffa62d0f4c ircd::json: Remove redundant typedef; simplify.
ircd:Ⓜ️ Fix ambiguous (C++20).
2022-06-19 20:14:22 -07:00
Jason Volk
96587f2e6d modules/media: Eliminate blocks database; encode data into event content. (#139) 2022-06-19 20:14:22 -07:00
Jason Volk
ffd61f3a2f ircd:Ⓜ️ Add db::sopts passthru in dbs::write_opts. 2022-06-17 21:11:54 -07:00
Jason Volk
58a346f18b ircd::db: Deprecate gopts::seqnum/iter_start_seqnum per RocksDB 7.x. 2022-06-17 21:11:54 -07:00
Jason Volk
4a18caf245 ircd::vg: Add template convenience defined(); improve call interface. 2022-06-17 21:11:54 -07:00
Jason Volk
f40b77c307 ircd::rfc3986: Simplify typedef; simplify pragma/linkage. 2022-06-17 21:11:54 -07:00
Jason Volk
4ae50c97d1 ircd: Various symbol internalizing and PLT reductions. 2022-06-17 21:11:54 -07:00
Jason Volk
2288e0d6fa ircd::asio: Symbol and linkage reductions for boost/asio related. 2022-06-17 21:11:54 -07:00
Jason Volk
169eda8da4 ircd::client: Encapsulation related reorg; still needs more work. 2022-06-17 21:11:54 -07:00
Jason Volk
7cdd798958 ircd: Ensure initialized values in conditionals (pedantic; llvm). 2022-06-17 21:11:54 -07:00
Jason Volk
e3e3bd7b09 ircd: ISO C++ requires template on destructor names out-of-line. 2022-06-17 21:11:54 -07:00
Jason Volk
f4979e42f9 ircd::ctx: Fix extra semicolons on scope. 2022-06-17 21:11:54 -07:00
Jason Volk
fd54aa11e6 Fix missing virtual destructor override indications (pedantic). 2022-06-17 21:11:54 -07:00
Jason Volk
4e5002eb43 ircd::openssl: Fix argument narrowing from default constants. 2022-06-17 21:11:54 -07:00
Jason Volk
50017e2555 Fix unescaped document comments possibly interpreted as commands. [ci skip] 2022-06-17 21:11:54 -07:00
Jason Volk
c15272a5f3 ircd::util: Fix reinterpret cast of reference; add inline linkages; noexcept. 2022-06-17 21:11:54 -07:00
Jason Volk
c9ec0b3923 ircd::spirit: Split substring_view into header. 2022-06-17 21:11:54 -07:00
Jason Volk
597b4d4afb ircd::spirit: Add optimized interpositions for qi char_range / string_parse. 2022-06-17 21:11:54 -07:00
Jason Volk
ba06a52368 ircd::rfc3986: Add public rule abstracting uri_parse construction. 2022-06-17 21:11:54 -07:00
Jason Volk
08c35bac0f ircd::spirit: Optimize karma::rule toward eliminating indirect branching. 2022-06-17 21:11:54 -07:00
Jason Volk
9ef44f9295 ircd::spirit: Split custom_parser into header. 2022-06-17 21:11:54 -07:00
Jason Volk
401f61e564 ircd::json: Remove unit linkages for constant expression values. 2022-06-17 21:11:54 -07:00
Jason Volk
9a982c814b ircd::simd: Eliminate unnecessary relocs from inline local statics. 2022-06-17 21:11:54 -07:00
Jason Volk
e43b3f5fd6 include/ircd/Makefile: Use cp -u to elide unnecessary copy for faster make install. 2022-06-17 21:11:54 -07:00
Jason Volk
4d207e3edc ircd::buffer: Minor simplify conversion construction casts. 2022-06-17 21:11:54 -07:00
Jason Volk
48486c2e27 ircd::json::tuple: Add missing linkages; branch expect; constness. 2022-06-17 21:11:53 -07:00
Jason Volk
4821f6d2db ircd: Move any externally used interfaces out of init objects. 2022-06-17 21:11:53 -07:00
Jason Volk
e51b855f2b ircd: Various symbol surface reductions and sorting. 2022-06-17 21:11:53 -07:00
Jason Volk
04558290c0 ircd: Toward improving cold/unlikely section population. 2022-06-17 21:11:53 -07:00
Jason Volk
f5d3da8d3f ircd: Add hours/minutes to lex_cast specialization suite. 2022-06-17 21:11:53 -07:00
Jason Volk
29fda76769 ircd::spirit: Optimize functor, qi::rule toward eliminating indirect branching. 2022-06-17 21:11:53 -07:00
Jason Volk
d59d1a8060 ircd::spirit: Additional boost iterator ctors for substring_view. 2022-06-17 21:11:53 -07:00
Jason Volk
03c69de789 ircd::spirit: Add nothrow/noexcept overload to force no EH at callsite. 2022-06-17 21:11:53 -07:00
Jason Volk
b1f1e003d2 ircd::spirit: Fix missing include guard/pragma; minor cleanup/comments. 2022-06-17 21:11:53 -07:00
Jason Volk
19ede0f625 ircd::json: Remove unnecessary global object linkage. 2022-06-17 21:11:53 -07:00
Jason Volk
3d672ab9bc Rename common instance variables of window_buffer for clarity. 2022-06-17 21:11:53 -07:00
Jason Volk
a10bc71fbf ircd: Improve deps list for precompiled header related. 2022-06-17 21:11:53 -07:00
Jason Volk
19210277a2 ircd:🆑:data: Add master() method for associated memobject. 2022-06-17 21:11:53 -07:00
Jason Volk
63a5a6dfdd ircd::vector_view: Suppress deprecated-copy warning here for now. 2022-06-17 21:11:53 -07:00
Jason Volk
a600d59367 ircd::allocator: Reinterface for attributed function instrumentation. 2022-06-17 21:11:53 -07:00
Jason Volk
96b101cd6f ircd: Promote assume() to macro in portable.h.
Revert "ircd: Add assume() convenience wrapping for __builtin_assume()."

This reverts commit 597f60cf6b.
2022-06-17 21:11:53 -07:00
Jason Volk
0fbbf1853f ircd::tokens: Simplify interface argument passing. 2022-06-17 21:11:53 -07:00
Jason Volk
0433ea573a ircd::run::handler: Distill handler prototype for direct constructions. 2022-06-17 21:11:53 -07:00
Jason Volk
61c64ccb08 ircd::simd: Zero-init result to not burden caller w/ partial inits. 2022-06-17 21:11:53 -07:00
Jason Volk
41c6c35b4c ircd::simd: De-inline output sink portion of print template. 2022-06-17 21:11:53 -07:00
Jason Volk
628141c78d ircd::simd: Add template defaulting inference for ergonomic usage of print(). 2022-06-17 21:11:53 -07:00
Jason Volk
d2833cb3e2 ircd:🆑 Improve code object semantics; handle related. 2022-06-17 21:11:53 -07:00
Jason Volk
f5fb03b1b5 ircd:🆑:code: Add construction for IL. 2022-06-17 21:11:53 -07:00
Jason Volk
d9c087c037 ircd:🆑 Add bool operator to wrapper handle objects. 2022-06-17 21:11:53 -07:00
Jason Volk
6c443361bc ircd::buffer: Name some synthetic variables for debuggability. 2022-06-17 21:11:53 -07:00
Jason Volk
2106263dd4 ircd::buffer: Adorn out-of-line asio glue with noexcept. 2022-06-17 21:11:53 -07:00
Jason Volk
994fc377c7 ircd:Ⓜ️ Dissolve m::matrix instance object; burden user instead. 2022-06-17 21:11:53 -07:00
Jason Volk
fb771478ee ircd:Ⓜ️ Move module name list out of m::matrix object to internal. 2022-06-17 21:11:53 -07:00
Jason Volk
3e7875e314 ircd:🆑 Inline various move semantics; fix data::mapped move. 2022-06-17 21:11:53 -07:00
Jason Volk
b4e4c06890 ircd:🆑 Refactor interface for map-only/zero-copy approach. 2022-06-17 21:11:53 -07:00
Jason Volk
aba8b6813e ircd:🆑 Remove the host ptr conf item for now. 2022-06-17 21:11:53 -07:00
Jason Volk
9fb199ecf7 ircd:🆑 Add data maps/refs counts to interface wrapping. 2022-06-17 21:11:53 -07:00
Jason Volk
fd39de53f4 ircd:🆑 Split header into directory; minor reorg. 2022-06-17 21:11:53 -07:00
Jason Volk
b39d3396f9 ircd:🆑 Decrease kern::range dimension. 2022-06-17 21:11:53 -07:00
Jason Volk
729092d410 ircd:🆑 Cleanup / split library linkage to private memfun; bind now.
Bind now to prevent issues from lazy binding on different threads and
when overriding with custom builds of mesa/icd.
2022-06-17 21:11:53 -07:00
Jason Volk
d817536e23 ircd::simt: Use defined epsilon for normalization smoothing for now. 2022-06-17 21:11:53 -07:00
Jason Volk
95c4e0af52 ircd:🆑 Simplify data interface related for now. 2022-06-17 21:11:53 -07:00
Jason Volk
013117495c ircd::util: Add volatile overload for alignment checker. 2022-06-17 21:11:53 -07:00
Jason Volk
9c7ac98d9a ircd::util: Add involatile_cast() template convenience. 2022-06-17 21:11:53 -07:00
Jason Volk
c9796fa9e0 ircd:🆑 Allow optional map closures; add write invalidate flag from cl1.2. 2022-06-17 21:11:53 -07:00
Jason Volk
e68b93fa61 ircd::fpe: Add debug log info; cold sections. 2022-06-17 21:11:53 -07:00
Jason Volk
8e268023d1 ircd: Add cfloat to standard include. 2022-06-17 21:11:53 -07:00
Jason Volk
b7b1328352 ircd::gpt::pipe: Reuse logsm buffer for logexp intermediate values. 2022-06-17 21:11:53 -07:00
Jason Volk
2604f1370a ircd::buffer: Move abstract align/padding tools to ircd::util. 2022-06-17 21:11:53 -07:00
Jason Volk
c92481475f ircd::buffer: Add padding bool constexpr; minor cleanup. 2022-06-17 21:11:53 -07:00
Jason Volk
6843d7a98d ircd::fs: Support more exotic alignments for memory mapped files. 2022-06-17 21:11:53 -07:00
Jason Volk
b3dc9a9ac3 ircd::simt: Fixes for non-pow2 workgroup sizes. 2022-06-17 21:11:53 -07:00
Jason Volk
8bb8c19cda ircd::allocator: Add mlock2(2) interface wrapping. 2022-06-17 21:11:53 -07:00
Jason Volk
d029de6a7a ircd::tokens: Simplify overload resolution w/ closure bool return. 2022-06-17 21:11:53 -07:00
Jason Volk
9fcca617df ircd::util: Complete the closure_bool template tool. 2022-06-17 21:11:53 -07:00
Jason Volk
0b2b243c71 ircd::fs: Extend map interface with flush/sync. 2022-06-17 21:11:53 -07:00
Jason Volk
73cd22c7d0 ircd::allocator: Add msync(2) wrapping. 2022-06-17 21:11:53 -07:00
Jason Volk
13052f7090 ircd:🆑 Elaborate code compile/link build interface for cl1.2+. 2022-06-17 21:11:53 -07:00
Jason Volk
2b30d775b9 ircd::simt: Add intrinsic integer max. 2022-06-17 21:11:53 -07:00
Jason Volk
26ce330d6d ircd::gpt: Add layer count to model section of opts. 2022-06-17 21:11:53 -07:00
Jason Volk
d844ec895c ircd::gpt: Simplify aperature unions. 2022-06-17 21:11:53 -07:00
Jason Volk
a7560b5cfc ircd::gpt::pipe::code: Preliminary reorg for legacy NIR build cache. 2022-06-17 21:11:53 -07:00
Jason Volk
8d6496956d ircd::tokens: Allow signed argument for tokens_after() for zeroth token. 2022-06-17 21:11:53 -07:00