Jason Volk
a276009516
ircd::buffer: Export move to ircd::.
2020-08-28 05:18:57 -07:00
Jason Volk
a7b6001d49
ircd: Ⓜ️ :db: Additional debug for txn contents.
2020-08-28 05:18:57 -07:00
Jason Volk
f6475a2906
ircd::fs: Add interface to mmap fd.
2020-08-28 05:18:57 -07:00
Jason Volk
c863e09f08
ircd::buffer: Additional alignment related tools.
2020-08-28 05:18:57 -07:00
Jason Volk
a0f219a91b
ircd: Ⓜ️ :homeserver: Split bootstrap related into unit.
2020-08-28 05:18:57 -07:00
Jason Volk
f5dd9debb6
ircd: Move magick support to core lib. ( #109 )
2020-08-24 03:04:05 -07:00
Jason Volk
f16eb0b558
ircd::db: Use caller provided string buffer for debug.
2020-08-23 03:49:20 -07:00
Jason Volk
77f858d27d
ircd::simd: Use explicit instantiations w/ optimal conversions for lzcnt/tzcnt generation.
2020-08-23 02:32:54 -07:00
Jason Volk
d2a2b7aed1
ircd::simd: Improve x-platform generation of lzcnt/tzcnt.
2020-08-23 02:32:54 -07:00
Jason Volk
146a08dabd
ircd::simd: Fix static emission of traits and related templates.
2020-08-23 02:32:54 -07:00
Jason Volk
669c8d0d0f
ircd::ctx: Remove leaf attribute; use hot section attribute in unit.
2020-08-23 02:32:54 -07:00
Jason Volk
8e7c1c3eb2
ircd: Ⓜ️ Rename breadcrumb_rooms to breadcrumbs; related.
2020-08-23 02:32:54 -07:00
Jason Volk
af0fa4b2e8
ircd::prof::arm: Port rdtsc for aarch64. #132
2020-08-23 01:56:37 -07:00
Jason Volk
07830f1413
ircd::ctx: Integrate slice cycle counters with ios.
2020-08-21 10:43:04 -07:00
Jason Volk
385ade0154
ircd::b64: Fixes for size computing constexprs.
2020-08-21 06:21:49 -07:00
Jason Volk
eb43826d99
ircd::rfc3986: Consolidate visibility attributions; additional comments.
2020-08-21 06:20:26 -07:00
Jason Volk
6c7467f07d
ircd::vector_view: Apply noexcept specifier.
2020-08-21 06:20:26 -07:00
Jason Volk
c8deea2e8b
ircd::b64: Use standard alignas().
2020-08-12 02:55:35 -07:00
Jason Volk
b5ced28b88
ircd: Fix encoding dictionary template parameter for gcc.
2020-08-12 02:31:01 -07:00
Jason Volk
6bca16c277
ircd::b64: Add decoding error condition logic.
2020-08-11 19:38:16 -07:00
Jason Volk
0a542e6424
ircd::b64: Improve loop control and range constraints.
2020-08-11 16:15:53 -07:00
Jason Volk
c941e13ed0
ircd::b64: Adjust for types most amenable to vectorizing lookup phase.
2020-08-11 15:50:52 -07:00
Jason Volk
3cf8b949bf
ircd::b64: Use typedef for static dictionaries.
2020-08-11 15:50:52 -07:00
Jason Volk
f3f441ac19
ircd::b64: Add parallel SIMD base64 decoder.
2020-08-11 15:50:52 -07:00
Jason Volk
44bd60ea08
ircd::b64: Add encoding diction parameter; remove converters; reorg interface.
2020-08-10 06:19:48 -07:00
Jason Volk
486d9c1133
ircd: Replace inefficient std::replace().
2020-08-10 04:56:28 -07:00
Jason Volk
985d21ad7c
ircd: Add assertion in replace() stringop; minor cleanup.
2020-08-10 04:56:28 -07:00
Jason Volk
7ff89fbd17
ircd: Split base64 and base58 into separate namespaces.
2020-08-10 04:56:28 -07:00
Jason Volk
61287cdbe2
ircd::simd: Split unaligned type related to separate header.
2020-08-10 03:41:06 -07:00
Jason Volk
8443dcf3bb
ircd::simd: Macro and diagnostic adjustments for GCC.
2020-08-09 07:44:56 -07:00
Jason Volk
f89f15eebd
ircd::simd: Minor typedef cleanup. [ci skip]
2020-08-09 07:03:19 -07:00
Jason Volk
abc41ca666
ircd::base: Indicate noexcept on apropos out-of-line declarations.
2020-08-09 04:36:47 -07:00
Jason Volk
1baa590d9c
ircd::fpe: Add scope_round tool.
...
ircd::fpe: Inline exception flag setter.
ircd::fpe: Add fesetround() wrapper.
2020-08-09 02:39:31 -07:00
Jason Volk
4a2adc4123
ircd::base: Remove allocated string convenience overloads; simplify interface.
2020-08-09 02:39:31 -07:00
Jason Volk
52bc00673e
ircd::simd: Redress unaligned typedefs for proper instruction generation.
2020-08-07 02:14:27 -07:00
Jason Volk
97deec5c68
ircd::simd: Additional vector sizes and scaling template for shift suite.
2020-08-06 23:34:37 -07:00
Jason Volk
65296be413
ircd::db::database::sst: Add checksum data to info collection.
2020-08-05 22:33:33 -07:00
Jason Volk
5f96613c27
ircd: Tweak exception stack linkages for optimal code generation.
2020-08-05 19:52:48 -07:00
Jason Volk
1023d0eab2
ircd: Delete unspecialized template for lex_castable.
2020-08-05 19:16:04 -07:00
Jason Volk
32baa1a6bc
ircd: Indicate noexcept for lex_castable template suite.
2020-08-05 19:12:22 -07:00
Jason Volk
1482972e87
ircd: Ⓜ️ :error: Use inline linkage for main constructor template.
2020-08-05 18:48:32 -07:00
Jason Volk
1604ecd038
ircd::json::tuple: Use inline linkage for key() suite related.
2020-08-05 18:42:24 -07:00
Jason Volk
9f09eb6581
ircd::json::value: Inline trivial indirections.
2020-08-05 17:27:54 -07:00
Jason Volk
f87eefbe04
ircd::json: Inline strung template ctor.
2020-08-05 02:18:56 -07:00
Jason Volk
df619e6010
ircd::db::column: Indicate noexcept for various out-of-lines.
2020-08-04 23:30:19 -07:00
Jason Volk
153354c63f
ircd::json::tuple: Indicate various closures are noexcept.
2020-08-04 18:53:18 -07:00
Jason Volk
23bfdb070d
ircd::json::tuple: Use inline linkage; prevent non-constexpr outlining; use literal argument type.
2020-08-04 18:50:55 -07:00
Jason Volk
ae65ffdcbe
ircd::json::tuple: Use constexpr conditional in indexof() template.
2020-08-04 18:50:55 -07:00
Jason Volk
541997ab9d
ircd: Add template for constexpr literal overloads.
2020-08-04 18:50:55 -07:00
Jason Volk
7b335a8285
ircd::util: Move _constexpr_equal() out of util for now.
2020-08-04 16:50:56 -07:00
Jason Volk
4e14c9c835
ircd::json::tuple: Inline constructors.
2020-08-04 15:50:04 -07:00
Jason Volk
20d7a8ee62
ircd::json::tuple: Use structure bound range iteration rather than library.
2020-08-04 15:49:55 -07:00
Jason Volk
9eed4dfa5f
ircd: Ⓜ️ :event::fetch: Use hidden section for non-plt/internal linkage.
2020-08-02 09:43:39 -07:00
Jason Volk
45f43dd46a
ircd::json: Use inline linkage; prevent PLT entries.
2020-08-02 09:13:08 -07:00
Jason Volk
117e1c0f94
ircd::json::tuple: Move exception construction out of the hotline.
2020-08-02 07:32:22 -07:00
Jason Volk
59197ee2d5
ircd::ios: Add epoch history in circular buffer for profiling w/ console cmd.
2020-08-02 05:45:35 -07:00
Jason Volk
a4e21ae111
ircd: Check and include standard execution policies header.
2020-07-31 22:12:14 -07:00
Jason Volk
b3c4583dd0
ircd::cbor: Remove cruft; collapse directory for now.
2020-07-31 21:34:45 -07:00
Jason Volk
2e35ec3d77
Revert _SC_CLK_TCK removal for convenience and exotic systems.
...
This reverts commit 1c1ceeacba
.
2020-07-31 19:17:06 -07:00
Jason Volk
1877972828
ircd: Ⓜ️ :groups: Start namespace, central lib; preliminary client resource module.
2020-07-30 10:24:10 -07:00
Jason Volk
2f6f2af06f
Reserve EXTRA_* flag sets for user.
...
configure: Move unit configuration section above application settings.
configure: -fasm-blocks not yet useful without GCC parity.
2020-07-30 06:38:51 -07:00
Jason Volk
4b7ebb3cf0
ircd::db: Elide std::function wrapping for equal comparator (related 6c2736f592
).
2020-07-28 01:24:27 -07:00
Jason Volk
2e1fc0c234
ircd::db: Inline some trivial default comparators.
2020-07-28 01:22:02 -07:00
Jason Volk
6c2736f592
ircd::db::comparator: Elide std::function wrapper for less function.
2020-07-28 00:38:46 -07:00
Jason Volk
41db97fec0
ircd::db: Make default comparators noexcept.
2020-07-28 00:38:46 -07:00
Jason Volk
554090adcc
ircd::db::comparator: Use typedefs for prototype formulations.
2020-07-28 00:38:46 -07:00
Jason Volk
1a756f637f
ircd::spirit: Isolate aggressive inlining; remove unit-level setting.
2020-07-24 23:47:08 -07:00
Jason Volk
582860f789
ircd: Use strip(n=1) for unquote() tool.
2020-07-23 13:08:30 -07:00
Jason Volk
238a473b08
ircd: Add strip(n) proxy overloads to interface.
2020-07-23 13:08:30 -07:00
Jason Volk
1c1ceeacba
ircd::info: Remove cruft.
2020-07-22 02:00:05 -07:00
Jason Volk
d3007544e9
ircd::json: Remove flatten; stricter visibility.
2020-07-19 21:03:27 -07:00
Jason Volk
e3fe10d853
ircd::spirit: Add custom_parser stub.
2020-07-18 23:55:12 -07:00
Jason Volk
3a70943b94
ircd::simd: Split bit manipulations suites to headers; renames.
2020-07-17 16:46:43 -07:00
Jason Volk
291038a014
ircd::simd: Portabilities for clz on various x86.
2020-07-17 07:17:17 -07:00
Jason Volk
0e37275773
ircd::simd: Add broad_cast template.
2020-07-15 17:43:17 -07:00
Jason Volk
566029bdb0
ircd::utf16: Remove cruft.
2020-07-14 18:20:08 -07:00
Jason Volk
63f43ba60a
ircd::simd: Attribute target lzcnt feature.
2020-07-12 15:21:00 -07:00
Jason Volk
4184309ff2
ircd::info: Add avx512f indicator; remove cruft; tweak info dump string.
2020-07-12 11:17:41 -07:00
Jason Volk
52013c1ee0
ircd::ctx::list: Reduce out-of-line accessor surface.
2020-07-11 18:51:19 -07:00
Jason Volk
6ec9b2a783
ircd: Specify explicit noexcept for gcc-10 issue.
2020-07-11 17:57:33 -07:00
Jason Volk
5ef1a67c99
include/ircd/Makefile: Fix order of flag groups to compile PCH.
2020-07-11 17:57:33 -07:00
Jason Volk
47290aab67
ircd::prof: Remove unnecessary attribute for gcc.
2020-07-11 15:53:58 -07:00
Jason Volk
cd95b7cd8d
ircd::ctx: Specify inline linkage for various templates to prevent any dynsyms.
2020-07-11 15:41:57 -07:00
Jason Volk
8ffa5c55a5
ircd::ctx::latch: Replace closure w/ simple bind statement.
2020-07-11 14:07:08 -07:00
Jason Volk
ef778b07bf
ircd::info: Detect sse4a; guest.
2020-07-11 13:49:08 -07:00
Jason Volk
2b0c3addfe
ircd: Fix inlining attributes for clang-10.
2020-07-10 20:04:39 -07:00
Jason Volk
04e87b0095
ircd::simd: Fix constexpr-if failure in gcc-8.
2020-07-10 02:41:02 -07:00
Jason Volk
b1a60451b7
ircd::simd: Simplify traits constexprs.
2020-07-09 20:18:35 -07:00
Jason Volk
60d2f04c14
ircd::buffer: Add pointer alignment check tool to suite.
2020-07-09 20:18:35 -07:00
Jason Volk
2f9aa15fc0
ircd::utf: Eliminate recasting for shift.
2020-07-09 19:45:42 -07:00
Jason Volk
e730c1a0bb
ircd::buffer: Add ifdef for clang; mark todo for gcc.
2020-07-08 17:22:19 -07:00
Jason Volk
ce551e6bd4
ircd::buffer: Minor simplify.
2020-07-08 17:20:47 -07:00
Jason Volk
026cce95b7
ircd::buffer: Add alignment related constexpr convenience utils.
2020-07-08 16:27:27 -07:00
Jason Volk
8777add24e
ircd::buffer: Added padded() alignment query util.
2020-07-08 16:27:27 -07:00
Jason Volk
f1c8eb3c1c
ircd::buffer: Add experimental non-temporal copy device.
2020-07-08 16:27:27 -07:00
Jason Volk
2235acae61
ircd::buffer: Split copy() and move() suites to files.
2020-07-08 16:27:20 -07:00
Jason Volk
91d57ea989
ircd: Ⓜ️ :vm: Add content requirement and redaction hint opts for non-conforming mask.
2020-07-06 17:31:04 -07:00
Jason Volk
6195be54a5
ircd::simd: Split and improve byte shifter interface.
2020-07-06 17:31:04 -07:00
Jason Volk
0e6a6ea0b1
ircd::json: Replace char generator w/ new vectorized string streaming. ( fixes #158 ) ( fixes #159 )
2020-07-03 16:35:28 -07:00
Jason Volk
76a16469fb
ircd::utf: Internal template for utf8::encode() w/ additional lane choices for interface.
2020-07-03 14:17:36 -07:00
Jason Volk
d6d4c0b80a
ircd::utf16: Add aligned escaped hex surrogate decoder.
2020-07-03 13:19:57 -07:00
Jason Volk
c9c61124e7
ircd::utf8: Add multiple lane overloads for length(); internal template; minor comments.
2020-07-02 16:38:59 -07:00
Jason Volk
35bee76625
ircd::simd: Add clz/ctz convenience template suite for now; minor reorg.
2020-07-01 16:28:21 -07:00
Jason Volk
aec21af0e4
ircd::simd: Add population mask convenience template.
2020-07-01 07:03:11 -07:00
Jason Volk
e3e6bb8dbf
ircd::utf16: Additional surrogate scan tools; minor reorg interface.
2020-07-01 07:03:11 -07:00
Jason Volk
75ac474e05
ircd::utf16: Add escaped surrogate scan tool.
...
ircd::utf16: Add surrogate mask routine; minor interface rename.
2020-06-28 19:14:44 -07:00
Jason Volk
abea8ad5b8
ircd::simd: Use value arguments for optimal calling convention.
2020-06-28 18:22:18 -07:00
Jason Volk
86aa96fa91
ircd::simd: Split lane_cast into header.
2020-06-28 16:37:00 -07:00
Jason Volk
bbaeb09c2d
ircd::utf: Add unpacked decode; de-template for linkage; minor reorg.
2020-06-27 20:03:59 -07:00
Jason Volk
b94c5d370f
ircd::utf: Move definitions out-of-line for now.
2020-06-27 18:10:36 -07:00
Jason Volk
cdc6c03ec6
ircd::simd: Improve lane_cast related template.
2020-06-27 16:31:57 -07:00
Jason Volk
d26fed6a20
ircd::simd: Add basic traits constexprs.
2020-06-27 16:31:57 -07:00
Jason Volk
73ee602542
ircd::utf: Start an inline utf toolset.
2020-06-27 16:31:57 -07:00
Jason Volk
ac21ebdc90
ircd::simd: Expose SIMD utils to standard include group; split header into dir.
2020-06-27 16:31:57 -07:00
Jason Volk
0182f18b15
ircd: Add ircd.h to matrix.h target deps list.
2020-06-27 14:24:50 -07:00
Jason Volk
d31edde88b
ircd: Cleanup/reorg of stdinc contents; remove experimental.
2020-06-27 14:24:34 -07:00
Jason Volk
ad8f3bd878
ircd::icu: Add encoding transform to suite; minor rename.
2020-06-25 18:36:18 -07:00
Jason Volk
4aae2c4963
ircd: Add <cuchar> to standard include group.
2020-06-25 17:19:01 -07:00
Jason Volk
6a33be4494
ircd::simd: Add ymmx shifter specializations.
2020-06-25 12:55:22 -07:00
Jason Volk
1ad2a1546a
ircd::simd: Simplify string/debug interface.
2020-06-25 12:54:38 -07:00
Jason Volk
99f203a4b7
ircd::simd: Add xmmx shifter workaround tools; reorg header.
2020-06-25 12:54:38 -07:00
Jason Volk
001bd12287
ircd::simd: Add lane number constant tables.
2020-06-24 15:16:47 -07:00
Jason Volk
526271e8cd
ircd::simd: Add preliminary debug print utils.
2020-06-24 11:00:11 -07:00
Jason Volk
d456a42cdd
ircd::json: Add stats items counting calls and cycles on input and output.
2020-06-24 11:00:11 -07:00
Jason Volk
013ba40eec
ircd::spirit: Import alias for boost::fusion namespace; minor reorg.
2020-06-24 08:51:09 -07:00
Jason Volk
3d10423328
ircd::prof: Add template options to constexpr-condition fence instructions.
2020-06-24 08:50:31 -07:00
Jason Volk
b22d4e2eb1
ircd::prof: Make scope_cycles add to result rather than overwriting it.
2020-06-24 08:41:48 -07:00
Jason Volk
9dd9875611
ircd::spirit: Assertions for output buffer state in generate template.
2020-06-23 00:53:56 -07:00
Jason Volk
4823375701
ircd::spirit: Remove artificial attribute.
2020-06-23 00:53:34 -07:00
Jason Volk
29a051dd0e
ircd: Fix Makefile condition rot related to --disable-pch.
2020-06-20 21:13:53 -07:00
Jason Volk
114eb3a567
ircd::spirit: Add simd.h to spirit pch.
2020-06-20 07:05:08 -07:00
Jason Volk
da1f3e0d1c
ircd: Remove legacy locale header / unit.
2020-06-20 05:41:14 -07:00
Jason Volk
71eba6bf45
ircd::icu: Use better namespace name; export to ircd.
2020-06-20 05:41:14 -07:00
Jason Volk
bc1e54aa12
ircd: Ⓜ️ :event: Minor rename; additional diagnostic arguments.
2020-06-19 22:53:01 -07:00
Jason Volk
28e3e6b3fd
ircd::icu: Add u8/16 util suite; add char32_t name information interface.
...
ircd::icu: Add name to character inversion.
ircd::icu: Add category and block queries.
ircd::icu: Add property reflections.
ircd::icu: Add tolower()/toupper().
ircd::icu: Add u8 transform w/ diagnostic.
2020-06-19 08:29:31 -07:00
Jason Volk
daa49dde51
ircd: Add icu support if available.
2020-06-19 03:04:55 -07:00
Jason Volk
46e0625daf
ircd: Ⓜ️ :event::conforms: Add hashes related codes and conditions.
2020-06-18 22:51:33 -07:00
Jason Volk
acad1fcaba
ircd: Ⓜ️ :event: Split out hash reimage generator.
2020-06-18 22:41:32 -07:00
Jason Volk
aa655cb745
ircd: Ⓜ️ :event: Minor interface reorg.
2020-06-18 22:10:24 -07:00
Jason Volk
ba4c98d7e8
ircd::db: Minor remove cruft. (related 942e8330e6
)
...
ircd::ios: Minor cleanup.
2020-06-18 20:07:40 -07:00
Jason Volk
22f4fd5046
ircd::db: Add fwd decl and accoutrements for rocksdb::PinnableSlice.
2020-06-18 20:07:40 -07:00
Jason Volk
505fe310a8
ircd::ctx: Inline various codepaths leading to flags(ctx).
...
ircd::ctx: Inline cheap prof::get() wrappings.
2020-06-18 03:56:09 -07:00
Jason Volk
b08e161e27
ircd::fpe: Inline errors_handle; minor include reorder.
2020-06-18 01:23:01 -07:00
Jason Volk
4371d803a4
ircd: Move fpe out of util.
2020-06-17 23:01:23 -07:00
Jason Volk
f4b3b6f1e0
ircd::spirit: Fix error format string.
2020-06-17 22:39:03 -07:00
Jason Volk
4b20747e06
ircd::stats: Add buffer-based stringifier to interface; simplify.
2020-06-17 20:28:05 -07:00
Jason Volk
1580004edc
ircd::stats: Add bang operator to vtable for zero query.
2020-06-17 19:24:04 -07:00
Jason Volk
c0d2fe20bb
ircd::stats: Refactor subsystem template hierarchy and approach. ( #31 )
2020-06-17 18:12:19 -07:00
Jason Volk
e2654ddaed
ircd::db: Add feature define for direct-io multiget; various cleanup.
2020-06-16 07:27:50 -07:00
Jason Volk
4ef7754ed5
ircd: Ⓜ️ :room::members: Eliminate unnecessary query to the room state.
2020-06-14 22:05:15 -07:00
Jason Volk
f0d0705dfd
ircd::util: Remove legacy syscall templates. (related eb00134100
)
2020-06-14 03:04:59 -07:00
Jason Volk
6f508f92a4
ircd: Ⓜ️ :acquire: Add a head reset option for now.
...
ircd:Ⓜ️ :init::backfill: Use head reset option for room acquire.
2020-06-12 20:53:16 -07:00
Jason Volk
cfba2b52c9
ircd::run: Add additional UNLOAD runlevel on shutdown after QUIT.
2020-06-12 18:41:30 -07:00
Jason Volk
09fe270c54
ircd::http: Add status category enum; move static grammars out of function; minor reorg enums.
2020-06-12 17:01:09 -07:00
Jason Volk
c2562d7dfa
ircd::info: Query for various clock characteristics of the runtime.
2020-06-11 17:09:56 -07:00
Jason Volk
eb00134100
ircd::util: Move syscall() templates out of util; minor reorg includes.
...
ircd::sys: Add abstract sysfs tool and template from fs::dev.
2020-06-11 09:49:33 -07:00
Jason Volk
35d4ee811b
ircd::db: Add preliminary support for secondary-mode if available.
2020-06-11 03:51:49 -07:00
Jason Volk
b59337eb78
ircd::spirit: Consolidate entry to spirit through wrapper templates.
...
ircd::spirit: More aggressive inlining of interface templates; symbol visibility
2020-06-11 03:51:49 -07:00
Jason Volk
b70877eee2
ircd: Ⓜ️ :event::prev: Add optimal queries for any one reference existing.
2020-06-10 22:36:28 -07:00
Jason Volk
d42126693b
ircd::fs::dev: Fix device size calculation; cleanup constants; improve cmd output.
2020-06-10 22:36:28 -07:00
Jason Volk
7a53afc4c8
ircd::db: Add delta encoding indicator to SST info; add to console cmd output.
2020-06-10 22:36:28 -07:00
Jason Volk
b68b4d113a
ircd::db: Add conf item to disable automatic compactions.
...
construct: Add -nocompact program option.
2020-06-10 22:36:27 -07:00
Jason Volk
37734e1260
ircd::portable: Remove fenced assert for GCC due to error when used in constexprs.
2020-06-09 05:14:43 -07:00
Jason Volk
496567b837
ircd: Ⓜ️ :event: Add parallel exists() to interface.
2020-06-09 04:38:07 -07:00
Jason Volk
c0c9c2c4f0
ircd::db: Add parallel has() to column interface.
2020-06-09 04:37:51 -07:00
Jason Volk
4a1f04823f
ircd::db: Improve request pool initialization and size determination.
2020-06-08 17:16:07 -07:00
Jason Volk
7a87f2eda9
ircd::conf: Fix interface argument inconsistency.
2020-06-08 17:16:07 -07:00
Jason Volk
84491464d6
ircd::resource: Split mime and content length nego branches into functions.
2020-06-08 16:13:00 -07:00
Jason Volk
ee4d64ff28
ircd::util: Start an all() convenience template w/ bool specialization.
2020-06-08 16:13:00 -07:00
Jason Volk
0cb9e74cc6
ircd::resource::method: Add conf items for option defaults.
2020-06-08 16:13:00 -07:00
Jason Volk
640e81ef4d
ircd: Ⓜ️ :fed: Split well_known into namespace into unit.
2020-06-08 16:13:00 -07:00
Jason Volk
bc3ad3f89c
ircd::fs::dev: Eliminate the static map; refactor interface; add console cmd.
2020-06-08 16:13:00 -07:00
Jason Volk
27d52c660b
ircd::fs::opts: Add an option to suppress internal error logging on some operations.
2020-06-08 14:10:13 -07:00
Jason Volk
64c82829d8
ircd::fs::dev: Use defaulting values rather than exceptions for sysfs() suite.
...
ircd::fs::dev: Stop exception propagation on per block device during discovery.
2020-06-07 14:30:50 -07:00
Jason Volk
2031966072
ircd::server: Add tag completed counters on link and peer w/ report.
2020-06-07 07:53:37 -07:00
Jason Volk
6968f24921
ircd::db: Add compaction period parameter to descriptor.
2020-06-07 05:46:24 -07:00
Jason Volk
b8521117c1
ircd::db::row: Add valid_all() to interface.
2020-06-07 03:26:31 -07:00
Jason Volk
7af4e85631
ircd: Ⓜ️ Throw better errcode for unverifiable sig; use 403 for failed verify.
2020-06-07 02:24:49 -07:00
Jason Volk
22eb9b514b
ircd::fs::dev: Add block device information system w/ sysfs.
2020-06-07 01:51:19 -07:00
Jason Volk
680c29601e
ircd::fs::dev: Cleanup returned string data from sysfs read.
2020-06-07 01:51:19 -07:00
Jason Volk
6e1d58c2e6
ircd::buffer: Improve the overlap tool.
2020-06-07 01:51:19 -07:00
Jason Volk
58d15e6852
ircd::spirit: Add template option for truncation behavior to generate.
...
ircd::fmt: Add internal generate template; enable truncation.
2020-06-05 12:15:11 -07:00
Jason Volk
268d4265ca
ircd::spirit: Improve generator overflow counting.
2020-06-05 09:15:15 -07:00
Jason Volk
be07ae05b2
ircd::portable: Optimize redefined macro if conditions are favorable.
2020-06-05 04:32:57 -07:00
Jason Volk
04020a91b7
ircd::buffer: lte range assertion on ctor; remove attr; minor reorg.
...
ircd::buffer::window_buffer: Assertion on consumption increments.
2020-06-05 04:32:57 -07:00
Jason Volk
1ef26f113f
ircd::strlcpy: Use character copy; remove branch.
2020-06-04 19:19:06 -07:00
Jason Volk
da43ac3d95
ircd: Ⓜ️ :sync: Add flag to trigger re-request forcing focused full_state.
2020-06-03 23:26:08 -07:00
Jason Volk
9e96863922
ircd: Ⓜ️ :sync: Add flags component to since token.
2020-06-03 22:36:58 -07:00
Jason Volk
d662bdaa3e
ircd: Ⓜ️ :sync: Add document comments for sync::data members.
2020-06-03 22:36:58 -07:00
Jason Volk
fcd488b409
ircd: Ⓜ️ :sync: Centralize all since token related into library suite.
2020-06-03 22:36:58 -07:00
Jason Volk
b8c4bf85e5
ircd: Ⓜ️ :sync: Split up sync.h header into directory; move sync::data definition.
2020-06-03 19:39:55 -07:00
Jason Volk
a70a6164be
ircd::net: Convey ALPN selection to socket instance.
2020-05-30 23:19:03 -07:00
Jason Volk
47d1ac40c3
ircd::net::acceptor: Carry pointer to our socket instance in ssl opaque.
2020-05-30 22:47:03 -07:00
Jason Volk
5fa1e524a4
ircd::openssl: Add interface wrapping get/set app_data.
2020-05-30 22:17:11 -07:00
Jason Volk
489cf7a560
ircd::allocator: Add a graceful getter/setter for RLIMIT_MEMLOCK.
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
6eb54341ef
ircd::spirit: Fix signedness and displacements in generator state; add assertions.
2020-05-29 23:40:24 -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
aead45402d
ircd: Ⓜ️ :sync: Introduce item prefetch feature for polylog mode.
2020-05-28 21:31: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
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
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
ef022a215f
ircd: Ⓜ️ 🪝 Use nothrow disable_interruption; propagate by default.
2020-05-24 21:06:17 -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
e938081404
ircd::ctx: Add watchdog log facility.
2020-05-24 17:42:32 -07:00
Jason Volk
ac42d4df13
ircd::ctx: Measure and report epoch span for slice_usage_warning.
2020-05-24 17:14:02 -07:00
Jason Volk
f070e3b706
ircd::ctx: Condition on RB_DEBUG rather than NDEBUG for slice_usage_warning tool.
2020-05-24 17:14:02 -07:00
Jason Volk
24d73428c8
ircd::json: Fix overzealous escape cases. ( fixes #152 ) ( fixes #17 )
2020-05-24 15:32:40 -07:00
Jason Volk
2f51b01008
ircd::fs: Integrate fd::opts extending fs::opts.
2020-05-24 15:32:40 -07:00
Jason Volk
c7b473485b
ircd::allocator: Add argument for options string to info() interface.
2020-05-22 16:37:05 -07:00
Jason Volk
54a72532b6
ircd::json: Eliminate output validation for release builds.
2020-05-22 16:37:05 -07:00
Jason Volk
c73636f950
ircd::json: Add output validation to base stringify() template.
2020-05-22 16:37:05 -07:00
Jason Volk
a57469fbd6
ircd::spirit: Add convenience templates for semantic context access.
2020-05-20 20:52:32 -07:00
Jason Volk
4d5c006003
ircd::fs: Simplify read suite overloads.
2020-05-20 20:40:48 -07:00
Jason Volk
a1de7e8e08
ircd::fs::fd: Replace open(2) with openat(2); additional constructor.
2020-05-20 20:40:48 -07:00
Jason Volk
82485b9aa9
ircd::fs: Minor cleanup.
2020-05-20 18:28:42 -07:00
Jason Volk
0c1e2be81a
ircd::spirit: Add substring_view; additional imports.
2020-05-20 17:16:23 -07:00
Jason Volk
f2bdcd7859
ircd::spirit: Expand boost::fusion header selection.
2020-05-19 16:54:10 -07:00
Jason Volk
9213d31f1d
ircd::ctx: Inline interruptible(ctx, ...) manipulators.
2020-05-19 15:55:18 -07:00
Jason Volk
3c96120e72
ircd::ctx: Add some noexcept; minor comment justification.
2020-05-18 19:57:54 -07:00
Jason Volk
00fe4baa2a
ircd::ctx: Add direct flags reference accessor to interface.
2020-05-18 19:57:54 -07:00
Jason Volk
215a0148b4
ircd: Ⓜ️ 🪝 :site: Add interrupt masking feature.
2020-05-18 19:02:49 -07:00
Jason Volk
ce3a57bfce
ircd::ctx::uninterruptible: Add defaulted runtime bool construction.
2020-05-18 18:43:17 -07:00
Jason Volk
648d6e42b4
ircd::json: Inline vector::const_iterator related.
2020-05-18 18:12:34 -07:00
Jason Volk
8b3cc178ae
ircd::spirit: Import qi::seek, qi::subrule; minor reorg.
2020-05-13 04:15:10 -07:00
Jason Volk
b91c768c57
ircd: Ⓜ️ :vm::eval: Remove sequence_shared state.
2020-05-12 22:27:53 -07:00
Jason Volk
987a3eeb6b
ircd: Ⓜ️ :vm::eval: Add pointer to parent eval; related utils.
...
ircd:Ⓜ️ :vm::eval: Add pointer to child evals; maintain stack.
2020-05-12 22:27:53 -07:00
Jason Volk
13003986bc
ircd: Ⓜ️ :vm::eval: Minor static interface reorg.
2020-05-12 22:27:53 -07:00
Jason Volk
3bd3173db0
ircd: Ⓜ️ :vm: Replace eval hook::site member with entered hook ptr; add id to console cmd.
2020-05-12 22:27:53 -07:00
Jason Volk
adde714df4
ircd: Ⓜ️ 🪝 Add callsite overloads which maintain pointer to current hfn.
2020-05-12 19:21:58 -07:00
Jason Volk
38a12ec0f7
ircd: Ⓜ️ 🪝 Add integer for easier ident; improve log msgs; console cmd.
2020-05-12 19:21:58 -07:00
Jason Volk
a247334744
ircd: Ⓜ️ 🪝 Minor interface reorg.
2020-05-12 19:21:58 -07:00
Jason Volk
23b7dc62d6
ircd: Ⓜ️ 🪝 Add documenting comments on namespace, some primary structures.
2020-05-12 19:21:58 -07:00
Jason Volk
46cea198a2
ircd: Ⓜ️ :vm: Remove explicit assignments in phase enumeration.
2020-05-12 19:21:58 -07:00
Jason Volk
b764e75692
ircd: Ⓜ️ :vm: Additional fetch phases; split fetch hook sites.
2020-05-11 21:14:25 -07:00
Jason Volk
0fd5570c14
ircd: Ⓜ️ :vm: Add enumeration for evaluation phases.
2020-05-11 21:14:25 -07:00
Jason Volk
a1708a687e
ircd: Ⓜ️ :vm: Rename eval.phase to eval.phase_hook.
2020-05-11 19:25:07 -07:00
Jason Volk
db4e0af8a9
ircd::tokens: Modernize all remaining interface delims to string_view.
2020-05-11 16:31:48 -07:00
Jason Volk
aae7f7e545
ircd::allocator::je: Add runtime query for linked library at initialization.
2020-05-10 18:53:45 -07:00
Jason Volk
b0776fd0f8
ircd: Ⓜ️ :homeserver: Preliminary bootstrap from event vector.
2020-05-10 03:52:28 -07:00
Jason Volk
554478da49
ircd: Ⓜ️ :homeserver: Consolidate/simplify ctor/dtor for now.
2020-05-10 03:02:20 -07:00
Jason Volk
0bd1d03bbc
ircd: Ⓜ️ :homeserver: Unload any loaded modules for ctor error.
2020-05-09 19:56:20 -07:00
Jason Volk
befe43f45a
ircd: Ⓜ️ :acquire: Add options to toggle operations.
2020-05-09 19:01:25 -07:00
Jason Volk
8c15247efc
ircd::fs: Add options to fadvise() on fd open().
2020-05-09 18:42:05 -07:00
Jason Volk
32192bf439
ircd::prof::psi: Additional state relative to last refresh.
2020-05-09 17:28:34 -07:00
Jason Volk
19f4917d9f
ircd::prof::psi: Add threshold triggering mechanism to interface.
2020-05-09 17:28:34 -07:00
Jason Volk
05e384d315
ircd::prof::psi: Add interface to poll for PSI linux>=5.2. ( #144 )
2020-05-09 17:28:34 -07:00
Jason Volk
a0476b8a9c
ircd::fs: Add a select()'ish multi-fd yielding device.
2020-05-09 17:28:34 -07:00
Jason Volk
47800ba094
ircd::allocator: Add interface to fetch some resource limits.
2020-05-08 00:44:13 -07:00
Jason Volk
52831893da
ircd::util: Add next_powerof2(u64) constexpr.
2020-05-07 21:31:02 -07:00
Jason Volk
aaa5e785aa
ircd::fs: Implement synchronous parallel-read interface.
2020-05-07 00:28:27 -07:00
Jason Volk
f34cc52043
ircd::util: Allow variable increment for scope_count.
2020-05-06 17:30:12 -07:00
Jason Volk
b448156da4
ircd::db: Interface to get the charge value of cache entry.
2020-05-05 19:58:37 -07:00
Jason Volk
36a0394184
ircd::db::database: Add custom allocator stub; apply per-cache allocators.
2020-05-05 19:58:37 -07:00
Jason Volk
63e0543175
ircd::http: Use unsigned 32bit type for chunk size.
2020-05-05 17:32:41 -07:00
Jason Volk
b3dbf0cd01
ircd::ctx: Start an interpositionable posix thread interface.
2020-05-04 16:09:39 -07:00
Jason Volk
18f215d3f0
ircd: Move main_thread assertion related to ctx; adjust condition.
2020-05-04 16:09:39 -07:00
Jason Volk
77dc612735
ircd::ctx: Various assertions for current context.
2020-05-04 13:15:45 -07:00
Jason Volk
a776565ce0
ircd::ctx: Fixes and assertions for shared_mutex upgrade lockable semantics.
2020-05-04 13:15:45 -07:00
Jason Volk
926795f01a
ircd::ctx: Use context pointer for mutex/shared_mutex acquisition state.
2020-05-04 13:15:45 -07:00
Jason Volk
d72124f7c6
ircd::ctx: Bring condition_variable up to parity with ctx::dock.
2020-05-04 13:15:45 -07:00
Jason Volk
51cb09c31a
ircd::mods::ldso: Add strtab lookup convenience.
2020-05-02 23:57:53 -07:00
Jason Volk
747bc99987
ircd::mods::ldso: Add util for base addr from link map.
2020-05-02 23:57:53 -07:00
Jason Volk
6f3e051563
ircd::mods::ldso: Add wrapper for dlinfo(3).
2020-05-02 23:57:53 -07:00
Jason Volk
52ad7a29ad
ircd::backtrace: Add array template construction overload.
2020-05-02 23:57:53 -07:00
Jason Volk
9962d80c6e
ircd::backtrace: Increase constness.
2020-05-02 23:57:53 -07:00
Jason Volk
f9015b8336
ircd::ctx::dock: Minor reorg.
2020-05-02 23:57:53 -07:00
Jason Volk
ff96eb803d
ircd: Ⓜ️ :user: Move is_active() to adl'ed active().
2020-05-02 23:57:53 -07:00
Jason Volk
4e9664ebce
ircd: Ⓜ️ :room::auth: Allow an incorrect fifth event; warning remains.
2020-05-01 10:10:17 -07:00
Jason Volk
84347857c6
ircd: Ⓜ️ :room::power: Use conf items to seed all default values.
2020-05-01 10:10:17 -07:00
Jason Volk
6bc0d48a38
ircd: Ⓜ️ :pretty: Move part of console event cmd into lib util.
2020-05-01 10:10:16 -07:00
Jason Volk
78ea123004
ircd: Ⓜ️ :room::power: Consistent integer level and string level conversions.
2020-04-30 18:52:43 -07:00
Jason Volk
cfb9362744
ircd: Ⓜ️ :user: Add is_oper() to interface; minor cleanup.
2020-04-30 01:06:01 -07:00
Jason Volk
5fae1f36cf
ircd::buffer: Use buffer::empty() rather than buffer::null() for bool operators.
2020-04-29 01:58:29 -07:00
Jason Volk
398fb026b0
ircd::info: Additional execution specific; reorg hardware/system related.
...
ircd::info: Sample hardware cache characteristics.
2020-04-28 20:18:48 -07:00
Jason Volk
c4149eba47
ircd: Ⓜ️ :sync: Inline apropos() suite.
2020-04-28 03:07:13 -07:00
Jason Volk
9c61677b0b
ircd: Ⓜ️ :room::auth: Split out event::idx fetch tools; minor reorg.
2020-04-27 22:37:36 -07:00
Jason Volk
cefee45147
ircd: Add portable __is_identifier(); add convenience typedef for long long.
2020-04-27 14:03:06 -07:00
Jason Volk
c027a567ce
ircd: Ⓜ️ :sync: Move args structure to central lib; eliminate local module header.
2020-04-27 00:16:58 -07:00
Jason Volk
9bbc5834af
ircd: Add missing globular_imatch.
2020-04-26 17:02:21 -07:00
Jason Volk
e87a26c142
ircd: Ⓜ️ :fed: Use single codepath for request target; use canonize rewrite.
2020-04-26 16:19:37 -07:00
Jason Volk
267e978247
ircd: Ⓜ️ :fed: Add indirection interface.
2020-04-25 21:13:57 -07:00
Jason Volk
4960912848
ircd::server: Additional convenience query for linked peers.
2020-04-25 19:30:21 -07:00
Jason Volk
f9df9bfbda
ircd: Ⓜ️ :typing: Move remaining assets into namespace; minor reorg.
2020-04-25 17:34:02 -07:00
Jason Volk
637b6ecede
ircd::net::dns::cache: Move cache waiter calling out of module.
2020-04-25 00:28:39 -07:00
Jason Volk
e08fc4b99f
ircd::buffer: non-call copy and move.
2020-04-25 00:28:39 -07:00
Jason Volk
11f2eff4d9
Add -defaults program option to restore from broken configurations.
2020-04-24 21:58:57 -07:00
Jason Volk
6bbc78116d
ircd: Add portable macro for __has_builtin().
2020-04-24 21:58:57 -07:00
Jason Volk
0b2152a136
ircd: Ⓜ️ Split init::backfill into acquire interface.
2020-04-24 15:24:37 -07:00
Jason Volk
32230ed2d4
ircd::ctx: Profile peak stack usage at slice leave event.
2020-04-23 12:41:39 -07:00
Jason Volk
5a27958fa0
ircd::ctx: Unify access to ctx::stack, expose structure; remove cruft.
2020-04-23 12:41:38 -07:00
Jason Volk
ba06958d69
ircd: Ⓜ️ Start a netburst interface; move cache_warm_origin; invoke from resource.
2020-04-23 05:16:48 -07:00
Jason Volk
32d624e3e9
ircd::util: Add overload for what() on std::exception value-type.
2020-04-23 04:19:53 -07:00
Jason Volk
87f873ad45
ircd: Ⓜ️ :init::backfill: Split gossip routine into separate interface.
2020-04-23 04:19:53 -07:00
Jason Volk
2e2c85902e
ircd: Ⓜ️ Add additional membership multi-test convenience tool.
2020-04-23 01:42:41 -07:00
Jason Volk
1882f7b507
ircd: Ⓜ️ :node: Start preliminary mitsein interface.
2020-04-23 01:21:55 -07:00
Jason Volk
c2ba27ace7
ircd::http: Add X-Forwarded-For support to request header.
2020-04-22 23:39:56 -07:00
Jason Volk
cbce88e34e
ircd::json::tuple: Fix type=NUMBER serial=true tuple assignment.
2020-04-22 05:34:12 -07:00
Jason Volk
0c1a54864c
ircd: Ⓜ️ :dbs::init: Copy string to save original dbpath.
2020-04-22 02:09:32 -07:00
Jason Volk
e57ae30791
ircd::logger: Remove noreturn attribute.
2020-04-22 01:51:55 -07:00
Jason Volk
5ecc9f99d8
ircd::server: Add avail() convenience to interface.
2020-04-21 23:05:28 -07:00
Jason Volk
83e1bcd17b
ircd::vector_view: Add constructor for reasonable implicit const conversion of value_type.
2020-04-21 23:05:28 -07:00
Jason Volk
acbbb08d3c
ircd::http: Add convenience query string array tool w/ decode.
2020-04-21 23:05:28 -07:00
Jason Volk
17d73eeae7
ircd: Ⓜ️ :node: Cleanup/reorg node interface related.
2020-04-21 19:22:07 -07:00
Jason Volk
ebeb60a84a
ircd: Ⓜ️ :keys: Consistent boolean return values from interface.
2020-04-21 19:22:06 -07:00
Jason Volk
538a2dab5c
ircd: Ⓜ️ :room::bootstrap: Adjust interface allowing for multiple remote server arguments.
2020-04-21 19:22:06 -07:00
Jason Volk
b979a20457
ircd: Ⓜ️ :room::bootstrap: Move util to bootstrap::required().
2020-04-21 00:12:04 -07:00
Jason Volk
69f4c2b224
ircd: Ⓜ️ :resource: Obtain version information for request if possible.
2020-04-19 20:20:43 -07:00
Jason Volk
f86a938a8a
ircd::magic: Add conf item for magic file path; default to $MAGIC from environment. #138
2020-04-19 18:29:08 -07:00
Jason Volk
a063b4a681
ircd::fs::base: Make all items have persist=false behavior.
2020-04-19 17:53:22 -07:00
Jason Volk
764a723704
ircd: Rename formerly conflicting header files.
2020-04-19 16:45:30 -07:00
Jason Volk
8fda624be2
ircd: Ⓜ️ :room::power: Add grant/revoke suite.
2020-04-19 06:13:23 -07:00
Jason Volk
2bf38286ba
ircd::fs: Callsite changes for fs::base reorg.
2020-04-19 06:13:23 -07:00
Jason Volk
2c7af26bdc
ircd: Ⓜ️ :room::power: Add collection iteration.
2020-04-19 06:13:23 -07:00
Jason Volk
0b41a1e78d
ircd: Ⓜ️ :room::power: Simplify iteration interface.
2020-04-19 06:13:23 -07:00
Jason Volk
a6cf4c3c91
ircd::fs: Refactor base paths into conf::items.
2020-04-19 06:13:23 -07:00
Jason Volk
2d14956c64
ircd::fs: Improve path_cstr() internal util related.
2020-04-18 19:06:13 -07:00
Jason Volk
d644df72be
ircd::fs: Rename path_view to path_views.
2020-04-18 19:06:13 -07:00
Jason Volk
2953ca0b55
ircd::fs: Split path related from fs unit.
2020-04-18 19:06:13 -07:00
Jason Volk
bdbad2ddb9
ircd::spirit: Import the expect parser directive.
2020-04-17 18:58:17 -07:00
Jason Volk
de8f32e86a
ircd: Ⓜ️ :vm::fetch: Add vm::opts and conf items for prev fetch wait backoff.
2020-04-17 18:00:58 -07:00
Jason Volk
3fc4bac384
Merge branch 'master' of https://github.com/yangm97/construct
2020-04-15 16:25:59 -07:00
Jason Volk
b51f49c925
ircd: Ⓜ️ :user::register: Fix comment. [ci skip]
2020-04-15 12:11:46 -07:00
Yan Minari
24cb228901
feat(bridge): relax register flow for AS puppet registration
...
Signed-off-by: Yan Minari <yangm97@gmail.com>
2020-04-15 16:07:02 -03:00
Jason Volk
79a4394626
ircd::json::stack: Simplify checkpoint interface controls.
2020-04-14 15:31:41 -07:00
Jason Volk
cb41660c94
ircd: Applications of loopless copy overload for single character.
2020-04-13 23:58:33 -07:00
Jason Volk
b2795c0338
ircd::buffer: Branchfree copy overload for single character.
2020-04-13 23:58:33 -07:00
Jason Volk
66be4ba6c3
ircd::buffer: Minor cleanup; named parameters.
2020-04-13 22:49:16 -07:00
Jason Volk
93e878e8ba
ircd: Ⓜ️ :resource: Add as_token support and puppetting user_id.
2020-04-12 17:10:20 -07:00
Jason Volk
3afae05a3e
ircd: Ⓜ️ :resource: Cleanup the json::tuple-based request template.
2020-04-12 17:09:56 -07:00
Jason Volk
0ff5ac43a6
ircd: Ⓜ️ :resource::request: Eliminate origin w/ node_id.
2020-04-12 17:09:14 -07:00
Jason Volk
db33bea8dc
ircd: Ⓜ️ :resource: Cleanup; simplify resource::request construction.
2020-04-12 15:19:17 -07:00
Jason Volk
3b985043d6
ircd: Ⓜ️ :request::x_matrix: Cleanup interface; simplify extra split; structured bindings.
2020-04-12 14:47:20 -07:00
Jason Volk
8058fbc6e9
ircd::util: Add template typedef convenience for std::pair.
2020-04-12 14:33:47 -07:00
Jason Volk
3c8a8d01aa
ircd: Ⓜ️ :bridge: Add timeout conf item; fix queries; add console cmd.
2020-04-11 20:13:15 -07:00
Jason Volk
8a0a31801b
ircd: Ⓜ️ :bridge: Fix type assumption for config elements.
2020-04-11 18:08:46 -07:00
Jason Volk
21d9f4792b
configure: Disable all __assert_fail() overrides unless explicit --with-assert option.
2020-04-11 15:11:43 -07:00
Jason Volk
8050d6d66b
ircd::util: Assert for tellp() result >= 0.
2020-04-11 13:25:12 -07:00
Jason Volk
433a3b3007
ircd: Ⓜ️ :app: Rename everything to bridge:: add basic query; simplify config interface.
2020-04-10 19:29:17 -07:00
Jason Volk
eeac3c1eaa
ircd::server: Add more efficient peer error boolean query.
2020-04-07 13:19:16 -07:00
Jason Volk
9a0a3dfbf1
ircd: Ⓜ️ :vm: Eliminate fault::INTERRUPT and handle ctx::interrupt directly in all cases.
2020-04-07 10:52:15 -07:00
Jason Volk
5fe4d8c4ad
ircd: Ⓜ️ :fed: Add rooms::complexity request w/ console cmd.
2020-04-05 19:00:09 -07:00
Jason Volk
c1692de5ed
ircd::json: Abstract the source json::object out of m::event for all tuples by default.
2020-04-05 16:15:23 -07:00
Jason Volk
562eb85b78
ircd: Ⓜ️ :event: Fix typo.
2020-04-05 14:32:21 -07:00
Jason Volk
3cf6f8c284
ircd::stringops: Minor cleanup; formatting/consistency.
2020-04-05 13:02:20 -07:00
Jason Volk
f941c52dee
ircd: Ⓜ️ Fix type of membership_positive/membership_negative convenience vectors.
2020-04-03 17:17:35 -07:00
Jason Volk
8c33f21f95
ircd::stringops: Add noexcept to indexof().
...
ircd::stringops: Minor simplifications.
ircd::stringops: Fix return value.
2020-04-03 14:37:14 -07:00
Jason Volk
89ed678ab0
ircd: Ⓜ️ :event: Replace with nodiscard attribute. (related f026110b15
)
2020-04-03 12:45:42 -07:00
Jason Volk
44dce34197
ircd::json::tuple: Avoids PLT entries for complex templates in modules.
2020-04-03 12:29:41 -07:00
Jason Volk
a7d9476a05
ircd::json: Split array::const_iterator from array header; inline comparison suite.
2020-04-03 11:02:49 -07:00
Jason Volk
c4d041d1ae
ircd::json: Inline object::const_iterator comparison suite.
...
ircd::json: Split object::const_iterator from object header.
ircd::json: Split object::member related from object header.
2020-04-03 11:02:49 -07:00
Jason Volk
17628cbc44
ircd::json: Prevent aggressive unroll into double-jump jam for keys counting.
2020-04-03 08:18:51 -07:00
Jason Volk
c4d0ffaec9
ircd: Ⓜ️ :event::fetch: Move std::nothrow to leading argument for consistency.
2020-04-02 20:01:14 -07:00
Jason Volk
b31b0eb691
ircd: Ⓜ️ :fed: Add convenience delegator for send.
2020-04-01 20:37:51 -07:00
Jason Volk
fe9635a70e
ircd: Ⓜ️ :device: Reclassify interface at m::user::devices.
2020-04-01 19:52:31 -07:00
Jason Volk
6c0e6d49fb
ircd: Ⓜ️ :device: Remove remaining access_token_to_id interface related.
2020-04-01 17:35:10 -07:00
Jason Volk
d052249573
ircd: Ⓜ️ Add user::tokens convenience interface; consolidate various direct room access.
2020-04-01 17:30:17 -07:00
Jason Volk
f026110b15
ircd: Ⓜ️ Warning for unused result of non-throwing overloads.
2020-04-01 16:20:11 -07:00
Jason Volk
d1812f0c44
ircd: Ⓜ️ Fix m::index() interface for consistent leading std::nothrow_t.
2020-04-01 16:20:11 -07:00
Jason Volk
93665cc587
ircd: Ⓜ️ Fix event_id() interface for consistent leading std::nothrow_t.
2020-04-01 16:03:25 -07:00
Jason Volk
116b0dfcb7
ircd: Ⓜ️ :device_list_update: Add preliminary broadcast; add update on deletion.
2020-04-01 14:11:35 -07:00
Jason Volk
27aea89183
ircd: Ⓜ️ :device: Add set overload for device_list_update structure.
2020-04-01 13:44:38 -07:00
Jason Volk
9bca61313e
ircd: Ⓜ️ :device: Add unconditional direct putter; setter to check for duplicate value.
2020-04-01 13:31:13 -07:00
Jason Volk
92ad6544b6
ircd: Ⓜ️ Add filter properties for matrix-org/matrix-doc#2326 .
2020-03-30 14:03:53 -07:00
Jason Volk
af9629324e
ircd::rfc3986: Refactor uri encoder/decoder related; reorg.
...
ircd::rfc3986::encoder: Proper unreserved character selection.
ircd::rfc3986::decoder: Split into safe and unsafe grammars and interface.
ircd::rfc3986::decoder: Use expectation_failure template exception.
2020-03-28 23:39:13 -07:00
Jason Volk
1a2334e6a8
ircd::spirit: Import _pass for phoenix semantic action; minor reorg.
2020-03-28 19:22:38 -07:00
Jason Volk
5665ae56cf
ircd: Ⓜ️ :user::notifications: Add sorting for any-room queries here.
2020-03-26 17:20:06 -07:00
Jason Volk
b8239d45cd
ircd: Ⓜ️ :dbs: Split dbs unit per column; naming simplifications; major reorg.
2020-03-25 16:08:17 -07:00
Jason Volk
ddbabedf84
ircd: Ⓜ️ :event::conforms: Add type and state_key length limitation conditions.
2020-03-25 14:41:16 -07:00
Jason Volk
3472f551eb
ircd: Ⓜ️ :user::notifications: Optimize with non-querying metadata closure overload.
2020-03-24 16:41:16 -07:00
Jason Volk
8f251dc266
ircd: Ⓜ️ :user::notifications: Add unmake_type() inverting tool.
2020-03-24 16:16:16 -07:00
Jason Volk
4c70d8ce08
ircd: Ⓜ️ :user::notifications: Add room_id to opts; prefix keying strategy.
...
modules/m_push: Add room_id to type generation.
2020-03-24 14:56:30 -07:00
Jason Volk
36b1fa6bde
ircd: Ⓜ️ :room::type: Add prefix matching option.
2020-03-24 14:50:41 -07:00
Jason Volk
7a6ba49c34
ircd: Ⓜ️ :room: Add type iteration interface.
2020-03-24 14:14:39 -07:00
Jason Volk
180963ca22
ircd::net: Add hostport construction from explicit rfc3986::uri.
2020-03-24 12:14:05 -07:00
Jason Volk
f092b4214b
ircd::net::hostport: Add missing default port argument for constructor.
2020-03-24 11:55:17 -07:00
Jason Volk
256e5ed960
ircd: Ⓜ️ :dbs: Add room_type column to schema.
2020-03-24 11:49:15 -07:00
Jason Volk
8d6dfa7cd5
ircd: Ⓜ️ Add room_id(event_idx) to convenience suite.
2020-03-23 20:31:21 -07:00
Jason Volk
93cd2ededc
ircd: Ⓜ️ :user::notifications: Add unit; develop interface; add type generation.
2020-03-23 18:28:39 -07:00
Jason Volk
ab4b31bc13
ircd: Ⓜ️ :user::pushrules: Add event_idx of rule as argument to closures.
...
ircd:Ⓜ️ :user::pushers: Add event_idx of rule as argument to closures.
2020-03-23 13:01:24 -07:00
Jason Volk
503db45a64
ircd: Ⓜ️ :push: Fix constness.
2020-03-23 13:01:24 -07:00
Jason Volk
98562fe488
ircd: Ⓜ️ :push: Add tool to determine if rule has highlight tweak set.
2020-03-22 20:04:16 -07:00
Jason Volk
c4c1c47351
ircd: Ⓜ️ :push: Add tool to query if an action is notifying or not.
2020-03-22 20:00:14 -07:00
Jason Volk
fc63e102fa
ircd: Ⓜ️ :push: Add non-spec condition kind 'state_key_user_mxid'.
2020-03-22 18:18:51 -07:00
Jason Volk
f58cfed6e9
ircd: Ⓜ️ :push: Add non-spec condition kind 'contains_user_mxid'.
2020-03-22 18:18:51 -07:00
Jason Volk
5bd8178c94
ircd::json: Add conditional constexpr assignment check during tuple iteration.
2020-03-22 18:18:50 -07:00
Jason Volk
329982f3f1
ircd: Ⓜ️ :push: Add iteration for all rules of all users.
2020-03-22 14:03:28 -07:00
Jason Volk
ed54618ca4
ircd: Ⓜ️ :user: Start a user::notifications interface.
2020-03-21 20:49:54 -07:00
Jason Volk
8445cbf83a
ircd: Ⓜ️ :push: Add log facility for this namespace.
2020-03-21 20:49:54 -07:00
Jason Volk
27556f2d9c
ircd: Ⓜ️ :vm::eval: Add member which caches the m::internal(room) result.
2020-03-21 20:49:54 -07:00
Jason Volk
43dc547200
ircd: Ⓜ️ :event: Increase the state_key constant.
2020-03-21 20:49:54 -07:00
Jason Volk
63be2183f9
ircd: Ⓜ️ :user: Add pushers interface.
2020-03-21 11:35:40 -07:00
Jason Volk
245195488c
ircd: Ⓜ️ :push: Add event type prefix string for pusher.
2020-03-21 11:35:40 -07:00
Jason Volk
435721c971
ircd: Ⓜ️ :push: Add match interface; condition table; exception propagation.
2020-03-20 22:25:14 -07:00
Jason Volk
f0c08d2a54
ircd::push: Minor reorg; invert interface.
2020-03-20 22:25:14 -07:00
Jason Volk
e71f925f2c
ircd::http: Add and adjust some HTTP codes from Cloudfackel.
...
ircd::http: Add 523 Origin Is Unreachable (Cloudfackel).
ircd::http: Add 521 Connection Timed Out (Cloudfackel).
2020-03-20 22:25:14 -07:00
Jason Volk
d1ff1aec74
ircd: Ⓜ️ :push: Implement r0.6.0-13.13.1.5.3 condition kind subroutine logics.
2020-03-20 22:25:14 -07:00
Jason Volk
8ca580362f
ircd: Ⓜ️ :room::bootstrap: Fix loss of room version information during bootstrap.
2020-03-20 12:04:19 -07:00
Jason Volk
8c8a4c8d09
ircd::fs: Add an RLIMIT_FSIZE sampler in support section.
2020-03-20 11:09:34 -07:00
Jason Volk
a867cfa51a
ircd::fs: Add gauge for rlimit_nofile in support section.
2020-03-20 10:56:55 -07:00
Jason Volk
472ce01b50
ircd::fs: Reorg support section and indicators.
2020-03-20 10:56:55 -07:00
Jason Volk
bc836d0fd8
ircd::info: Remove the fixed-rlimit sample section here.
2020-03-20 09:56:58 -07:00
Jason Volk
fa4160e9a6
ircd::db::dbs: Eliminate strict room::id from event_state tuple; simplify comparator.
2020-03-19 21:54:07 -07:00
Jason Volk
d87616e2fb
ircd::json::strung: Remove duplicate adl interface.
2020-03-19 16:25:45 -07:00
Jason Volk
537bdc5e19
ircd::json: Add tuple get()/at() non-constexpr accessor suite.
2020-03-19 16:01:32 -07:00
Jason Volk
f8b99ad26e
ircd: Ⓜ️ :user: Remove pre-pushrules highlight counter.
2020-03-19 16:01:32 -07:00
Jason Volk
abfb106125
ircd: Rename globular classes to indicate case insensitivity.
2020-03-19 16:01:32 -07:00
Jason Volk
71d6bd66c1
ircd: Use util::boolean for globular suite; apply noexcept; minor simplify.
2020-03-19 16:01:32 -07:00
Jason Volk
bab3f959ac
ircd: Ⓜ️ :push: Move default rules string under rules class; minor reorg.
2020-03-19 16:01:32 -07:00
Jason Volk
e6c9f757ce
ircd::json: Add a members replacement tool.
2020-03-18 19:47:18 -07:00
Jason Volk
476f1d6548
ircd::json: Minor cleanup; header convention.
2020-03-18 19:35:34 -07:00
Jason Volk
13bffdcf55
ircd::db: Increase the default target file size and multiplier; regression a68b96f5e3
2020-03-18 17:13:33 -07:00
Jason Volk
66c4ebfbb4
ircd::json: Add a member replacement tool.
2020-03-18 16:28:16 -07:00
Jason Volk
a3037b7cd4
ircd: Ⓜ️ :user: Add interface definitions for push rule events to user room.
2020-03-18 14:34:29 -07:00
Jason Volk
2aec995edd
ircd: Ⓜ️ :push: Move path tuple; add type string suite.
2020-03-18 14:34:29 -07:00
Jason Volk
5391ba7b76
ircd: Ⓜ️ :push: Add spec-default ruleset object.
2020-03-18 12:27:14 -07:00
Jason Volk
6c807f7e96
ircd: Ⓜ️ :push: Add push ruleset, rule, condition, and pushers structures.
2020-03-18 10:42:48 -07:00
Jason Volk
0bb52f57a3
ircd: Ⓜ️ :user: Add unit and preliminary interface stubs for pushrules.
2020-03-18 10:42:48 -07:00
Jason Volk
0b8b3ee988
ircd: Ⓜ️ :vm: Add an opts.unique bypass option for condition.
2020-03-17 11:48:22 -07:00
Jason Volk
ec5fd98f59
ircd: Ⓜ️ :homeserver: Use central imports map; reorder constructions.
2020-03-16 18:17:52 -07:00
Jason Volk
c3b709dbd7
ircd::run: Add a convenience barrier template tool.
2020-03-16 16:56:07 -07:00
Jason Volk
c815de3621
ircd::run: Rename level IDLE to LOAD; minor reorg.
2020-03-16 16:56:07 -07:00
Jason Volk
59ee170817
ircd::info: Add sysinfo; gather ram and swap totals on init.
2020-03-16 16:56:07 -07:00
Jason Volk
fe8a65953b
ircd::fs: Move init check/info out of fs::init for integration w/ info::dump().
2020-03-16 16:56:06 -07:00
Jason Volk
344510086b
ircd: Add vectorized multi-string match tool.
2020-03-14 17:29:32 -07:00
Jason Volk
0eb66b52d4
ircd::util: Apply noexcept to several participating overloads.
2020-03-14 17:15:53 -07:00
Jason Volk
77d3bd352d
ircd: Add additional vector convenience typedefs.
2020-03-14 15:21:58 -07:00
Jason Volk
7bbb91889d
ircd: Fix define name and conditions.
2020-03-14 15:21:58 -07:00
Jason Volk
a68b96f5e3
ircd::db: Fix claimed descriptor default.
2020-03-14 10:31:47 -07:00
Jason Volk
829516afde
ircd::db: Add compaction priority option to descriptor.
...
ircd:Ⓜ️ :dbs: Tune compaction priority algorithm.
2020-03-13 15:12:22 -07:00
Jason Volk
0fb19b85ca
ircd: Ⓜ️ :media::file: Adjust download overloads; fix use of empty remote string in messages.
2020-03-13 14:52:08 -07:00
Jason Volk
32459bd7f1
ircd: Add multi-string table index util, naive impl.
2020-03-13 11:28:27 -07:00
Jason Volk
2cefc5e248
ircd::http: Optimize head constructions; reduce branch paths.
2020-03-13 11:07:39 -07:00
Jason Volk
da92021818
ircd: Add intrinsic typedef header; update stringops unit.
2020-03-12 21:09:56 -07:00
Jason Volk
ffcbc87fdd
ircd: Rename try_lex_cast to lex_castable.
2020-03-12 21:09:56 -07:00
Jason Volk
8914af3e84
ircd::net::dns: Add complementary interface to getservbyport(3).
2020-03-12 21:09:56 -07:00
Jason Volk
164b881442
ircd::http: Add code 102 Processing (RFC 2518), 103 Early Hints (RFC 8297).
2020-03-11 18:18:53 -07:00
Jason Volk
6da0ae9c22
ircd::http: Parse response location header.
2020-03-11 16:37:02 -07:00
Jochen Friedrich
b84f3f03ae
fixed lookup of boost headers
2020-03-10 13:16:42 -04:00
Jason Volk
3b2342e001
ircd: Ⓜ️ :room::origins: Simplify callstack; remove unused iteration.
2020-03-09 14:41:36 -07:00
Jason Volk
a4f18fcd00
ircd::mods::ldso: Add loaded check using the dlfcn method.
2020-03-08 18:55:33 -07:00
Jason Volk
49dc7e77f2
ircd: Ⓜ️ :media: Use abstract federation request for media downloads.
2020-03-07 21:33:44 -08:00