Jason Volk
e38371d50c
ircd: Ⓜ️ :room: Add basic count() suite.
2019-08-18 08:20:11 -07:00
Jason Volk
abca51deea
ircd: Ⓜ️ :room::power: Add cheap composer for augmented default power_levels content.
2019-08-18 06:38:10 -07:00
Jason Volk
52657ca410
ircd: Ⓜ️ :room::auth::chain: Simplify interface.
2019-08-18 05:46:42 -07:00
Jason Volk
cb94558c4a
ircd: Ⓜ️ :fed: Remove opts inline constructor due to shared linkage issues.
2019-08-18 04:13:12 -07:00
Jason Volk
8454ae0275
ircd: Ⓜ️ :room::head: Simplify interface; move to module.
2019-08-18 03:09:34 -07:00
Jason Volk
59618c6a44
ircd: Ⓜ️ Move event::auth to room::auth; move to module.
2019-08-18 03:09:34 -07:00
Jason Volk
7fa5948fd3
modules/vm: Check auth during eval.
2019-08-17 08:34:46 -07:00
Jason Volk
1541b2d52e
ircd: Ⓜ️ :user: Move rooms::origins to user::servers interface.
2019-08-17 02:59:13 -07:00
Jason Volk
34e87c08c3
ircd: Ⓜ️ :user::mitsein: Simplify interface.
2019-08-17 02:59:13 -07:00
Jason Volk
16f1ba2b11
ircd: Ⓜ️ :vm: Fix dependence on room_id without bypass mechanism in injector.
2019-08-17 02:59:13 -07:00
Jason Volk
c760eb0a12
ircd: Ⓜ️ :vm: Use bitmask of properties to generate in vm::copts.
2019-08-17 00:44:14 -07:00
Jason Volk
1c0f947211
ircd::json: Add name-based operations to tuple::keys::selection.
2019-08-17 00:39:12 -07:00
Jason Volk
3a0bfc8db9
ircd: Ⓜ️ :user::room: Add a one-liner is(user_room) test.
2019-08-16 23:54:04 -07:00
Jason Volk
100f5c646a
ircd: Ⓜ️ :sync: Fix phased polylog invocation conditions; eliminate initial flag. ( #105 )
2019-08-16 04:50:39 -07:00
Jason Volk
fc742ae2d0
ircd: Fix warning/error.
...
ircd: Minor cleanup.
2019-08-16 03:32:13 -07:00
Jason Volk
125ff95875
ircd: Ⓜ️ :room::state: Simplify util interface arguments.
2019-08-16 02:25:50 -07:00
Jason Volk
d17286515b
ircd: Ⓜ️ :room::state: Simplify/consolidate iteration interface.
2019-08-16 02:19:49 -07:00
Jason Volk
2532f7f5e2
ircd::fs::aio: Add submit_coalesce conf item.
2019-08-16 02:19:49 -07:00
Jason Volk
cd347d53cb
ircd: Ⓜ️ :create: Add a central room_version default conf item.
2019-08-16 02:19:48 -07:00
Jason Volk
aaa015c6b8
ircd: Ⓜ️ :name: Add room_version as a property name.
2019-08-16 02:19:48 -07:00
Jason Volk
a8b3e29cac
ircd: Apply noexcept on various constexpr callstacks.
2019-08-15 00:05:48 -07:00
Jason Volk
7fb0958080
ircd::json::tuple: Split additional non-member templates into header; constexpr member get()/at().
2019-08-15 00:05:48 -07:00
Jason Volk
7420bf1156
ircd::vector_view: Add assertion for bounds check here.
2019-08-14 22:33:41 -07:00
Jason Volk
0aacf44440
ircd::resource: Document/comment resource response classes.
2019-08-14 22:33:41 -07:00
Jason Volk
1c42206307
ircd: Ⓜ️ :feds: Add an exclude_myself option.
2019-08-14 01:52:32 -07:00
Jason Volk
3d808022ed
ircd: Ⓜ️ :feds: Rename interface function.
2019-08-14 01:26:02 -07:00
Jason Volk
fca330e1c1
ircd: Ⓜ️ :room: Reorg / slim the class member function interface.
...
ircd:Ⓜ️ :room: Rename interface function.
2019-08-14 01:09:34 -07:00
Jason Volk
c95d1e56ee
ircd: Ⓜ️ :init: Add preliminary worker context loop for backfill unit. ( #78 )
2019-08-13 23:39:05 -07:00
Jason Volk
765ec46b91
ircd::ctx::promise: Inline trivial accessors; explicit bool operator.
2019-08-13 20:53:02 -07:00
Jason Volk
42b65fa271
ircd::ctx: Add noexcept specifications; tweak inlines.
2019-08-13 20:26:08 -07:00
Jason Volk
e7609afb7b
ircd::ios: Add accessor to epoch counter.
2019-08-13 19:37:30 -07:00
Jason Volk
1bea1d2265
ircd: Ⓜ️ :room::origins: Add empty().
2019-08-13 05:35:42 -07:00
Jason Volk
74cef5d74d
ircd: Ⓜ️ :rooms: Add room::lonly() related to interface.
2019-08-13 05:09:14 -07:00
Jason Volk
6333c94fe0
ircd::info: Attempt to grab mlock rlimit; reorg log facilities and info dump.
2019-08-13 05:05:26 -07:00
Jason Volk
c7f9521a3f
ircd: Ⓜ️ :users: Rename for consistency.
2019-08-13 03:00:08 -07:00
Jason Volk
ea4d74967b
ircd: Ⓜ️ :events: Improve header comments.
...
ircd:Ⓜ️ :dbs: Fix typos.
2019-08-13 01:22:13 -07:00
Jason Volk
84e79a64e6
ircd: Ⓜ️ :rooms: Refactor interface; split rooms::summary; split module.
2019-08-12 23:55:07 -07:00
Jason Volk
0efc56c9c7
ircd::ctx::future: Add non-std get() w/ durations to avoid separate wait().
2019-08-12 20:43:39 -07:00
Jason Volk
b4842da414
ircd::ctx::future: Restrict the future type cast operator; fix conflict.
2019-08-12 20:43:04 -07:00
Jason Volk
76889eab6e
ircd: Ⓜ️ :user::highlight: Add for_each() to interface; simplify stack ( #87 ).
2019-08-12 04:10:28 -07:00
Jason Volk
f74ddd0171
ircd: Ⓜ️ Add back the id::NODE sigil; add to room_id() translation.
2019-08-12 01:39:16 -07:00
Jason Volk
f24bf54799
ircd: Ⓜ️ Eliminate the user::users room references.
2019-08-12 01:39:16 -07:00
Jason Volk
0c05241fec
ircd: Ⓜ️ :users: Refactor !users room out of the users:: interface.
2019-08-11 23:30:50 -07:00
Jason Volk
dffb03a562
ircd: Cleanup / simplify assert related interface.
2019-08-11 23:30:50 -07:00
Jason Volk
a2c05437d2
ircd::ctx: Export this_ctx down to ircd::.
2019-08-11 08:00:17 -07:00
Jason Volk
9a3f37c0af
ircd: Ⓜ️ :sync: Remove cruft.
2019-08-11 07:51:42 -07:00
Jason Volk
125f53872c
ircd::fs: Preliminary io_uring infrastructure plumbing.
2019-08-11 01:39:30 -07:00
Jason Volk
8bce90fbf3
modules/client/keys/upload: Properly implement one_time_keys upload. ( Fixes #9 )
2019-08-09 23:34:20 -07:00
Jason Volk
060e46f8e4
ircd: Conditionally compile with gettimeofday().
...
ircd: Stronger embedding for time point samples.
2019-08-08 18:09:50 -07:00
Jason Volk
ca99df8edb
ircd::assert: Always inline the debugtrap.
2019-08-08 16:12:52 -07:00
Jason Volk
3fe4baba4f
ircd: Ⓜ️ :user::highlight: Improve highlight matching quality. ( Fixes #122 )
2019-08-07 18:42:20 -07:00
Jason Volk
32ec94e29b
ircd: Add ifind() to stringops suite.
2019-08-07 16:32:12 -07:00
Jason Volk
ac14be5a01
ircd: Ⓜ️ :user::highlight: Match -at-room. ( Closes #118 )
2019-08-07 00:41:08 -07:00
Jason Volk
e0fec1e81d
modules/client/sync: Add device_id to sync data.
2019-08-06 19:18:03 -07:00
Jason Volk
f3ada0ed9c
ircd: Ⓜ️ :device: Add access_token_to_id() lookup suite.
2019-08-06 18:33:42 -07:00
Jason Volk
14f16f2b0d
ircd::fs: Support hole punching if available; add checks for allocate options.
2019-08-06 16:39:28 -07:00
Jason Volk
315276e3c4
ircd::info: Reorg/improve hardware information sampling.
2019-08-06 15:44:32 -07:00
Jason Volk
eddc5b3b55
ircd: Ⓜ️ :event::append: Add properties mask to opts; centralize. ( Fixes #119 )
2019-08-05 17:54:00 -07:00
Jason Volk
a66db65a1d
ircd: Tweak suggestion output; satisfy several suggestions.
2019-08-05 16:20:48 -07:00
Jason Volk
009d417273
ircd: Indicate noexcept on advised interfaces.
2019-08-05 16:19:20 -07:00
Jason Volk
c64bb6850c
ircd::net: Fix/improve the v6/v4 check.
...
ircd::net: Add an is_null(ipport/ipaddr).
ircd::net: Improve the v6/v4 check efficiency.
ircd::net: Swap defaulting from v6 to v4 for better null address output.
2019-08-04 18:05:58 -07:00
Jason Volk
8dd0a22351
ircd: Add additional formatted microdate().
2019-08-03 20:02:18 -07:00
Jason Volk
ac4e742010
ircd::log: Convert to hook architecture.
2019-08-03 18:36:42 -07:00
Jason Volk
2d83f2c201
ircd::util::callbacks: Add a callback convenience template.
2019-08-03 17:42:21 -07:00
Jason Volk
d394cd4d18
ircd::util::callbacks: Typedef access to the template class for derived classes.
2019-08-03 16:50:52 -07:00
Jason Volk
fa341c274e
ircd::log: Add some minor comments / document.
2019-08-03 16:11:14 -07:00
Jason Volk
3dfb593dec
modules/m_room_aliases: Consolidate state_key creation; case desensitize.
2019-08-02 22:01:00 -07:00
Jason Volk
be4a33c136
ircd: Ⓜ️ 🆔 Increase the buf SIZE constant to the next pow2.
2019-08-02 22:00:58 -07:00
Jason Volk
aa013ac526
ircd: Add string_view based tolower()/toupper().
2019-08-02 21:02:40 -07:00
Jason Volk
d8fcbf7325
ircd: Ⓜ️ Reinterface append(event) into event::append; move to module. ( #109 )
2019-08-02 17:34:31 -07:00
Jason Volk
7c5ef32008
ircd::util: Add a strong boolean typedef customization.
2019-08-02 17:34:31 -07:00
Jason Volk
7b32e8bbad
ircd: Ⓜ️ :room::aliases::cache: Improve interface and simplify implementation callstack.
2019-08-02 16:18:01 -07:00
Jason Volk
efa586c424
ircd: Clarify clock types in comments; minor cleanup.
2019-08-02 15:30:06 -07:00
Jason Volk
8e5e599690
ircd: Ⓜ️ Relax exception propagation through event::refs. ( Fixes #114 )
2019-08-02 15:04:29 -07:00
Jason Volk
af48bdfa6e
ircd::json: Stub an unescape().
2019-08-02 15:04:29 -07:00
Jason Volk
fefaaca2c2
ircd::prof: Split header into directory.
...
ircd::prof: Split linux/perf_event specific to unit.
2019-07-31 19:43:09 -07:00
Jason Volk
7333be92ca
ircd: Ⓜ️ :typing: Simplify interface; fix linkages.
2019-07-30 14:21:26 -07:00
Jason Volk
3f5777897b
ircd::util: Fix noexcept propagation through enum relaxation operators.
...
g++-9 warning
2019-07-30 13:46:22 -07:00
Jason Volk
ed56ef680a
ircd: Ⓜ️ :fed::user::keys::claim: Separate content creation functions from ctor.
...
ircd:Ⓜ️ :fed::user::keys::query: Separate content creation functions from ctor.
2019-07-30 12:30:27 -07:00
Jason Volk
de986d2272
ircd::json::stack: Make completed() return a string_view instead of const_buffer.
2019-07-30 12:26:26 -07:00
Jason Volk
d806ef48db
ircd::conf: Improve item maximum related constants.
2019-07-27 18:49:26 -07:00
Jason Volk
63a9f33d7c
ircd::net: Simplify socket check related.
2019-07-27 13:17:53 -07:00
Jason Volk
6c367c8abf
ircd: Ⓜ️ Fix error code.
2019-07-26 19:09:28 -07:00
Jason Volk
7cb7052273
ircd: Ⓜ️ :fetch: Add a room based fetch to interface.
2019-07-26 16:13:58 -07:00
Jason Volk
ae1ccca038
ircd: Ⓜ️ :event::prev: Remove ambiguous overload.
2019-07-26 15:58:58 -07:00
Jason Volk
5edd7a6117
ircd: Ⓜ️ :fetch: Whittle down the current interface; remove libircd linkages.
2019-07-26 15:51:15 -07:00
Jason Volk
839951752e
ircd::log: Improve critical trap message.
2019-07-26 15:15:58 -07:00
Jason Volk
fea6bfb395
ircd: Ⓜ️ 🪝 Fix missing facility in log calls.
...
ircd:Ⓜ️ 🪝 Minor cleanup.
2019-07-26 15:15:58 -07:00
Jason Volk
939b402a7d
Revert "ircd::event: Remove membership from top level."
...
This reverts commit fc8048dc74
.
2019-07-26 00:08:51 -07:00
Jason Volk
3f418bf1ed
ircd::server: Add a request log.
2019-07-25 23:12:18 -07:00
Jason Volk
9a5df1ae9c
ircd: Ⓜ️ Add additional format selection for pretty_oneline(event).
2019-07-25 15:57:04 -07:00
Jason Volk
b8adc69599
ircd: Ⓜ️ Move MEMBERSHIP_MAX_SIZE into room.
...
ircd:Ⓜ️ :room: Add a room version max size constant.
2019-07-25 14:29:07 -07:00
Jason Volk
ddcce0ef2b
ircd: Ⓜ️ :event: Document class member related.
2019-07-25 14:29:07 -07:00
Jason Volk
f450028c77
ircd::ctx::future: Use our steady_clock now() here.
2019-07-24 17:07:16 -07:00
Jason Volk
c45bfc4379
ircd: Ⓜ️ 🆔 :buf: Remove misleading move semantic.
2019-07-24 16:46:29 -07:00
Jason Volk
58c83b01a7
ircd: Ⓜ️ :feds: Add a closure_cached_errors option.
...
modules/m_command: Tweak ping options.
2019-07-23 22:46:48 -07:00
Jason Volk
eb3b4d82fb
ircd: Ⓜ️ :room::members: Simplify and improve interface; callsites.
2019-07-23 19:50:13 -07:00
Jason Volk
bde9e16e5c
ircd::ctx: Inline cur_slice_cycles().
...
modules/media/magick: Use this_ctx::cycles_here().
ircd::ctx: Improve prof::cycles API related.
2019-07-23 16:40:29 -07:00
Jason Volk
df11d9bec6
ircd: Ⓜ️ :room: Reorient join bootstrap definitions.
...
ircd:Ⓜ️ :room::bootstrap: Improve interface / various.
2019-07-23 16:40:29 -07:00
Jason Volk
e883f2a42b
ircd: Ⓜ️ :keys: Add additional fetch to interface.
2019-07-22 20:35:41 -07:00
Jason Volk
f1e3a9c53b
ircd: Ⓜ️ :keys: Add mass fetcher to interface.
2019-07-22 20:35:41 -07:00
Jason Volk
eb38a9ce15
ircd: Ⓜ️ :room::timeline: Improve iteration.
2019-07-22 19:10:19 -07:00
Jason Volk
4a37152c6d
ircd: Ⓜ️ :fetch: Add clear() to interface.
2019-07-22 14:20:21 -07:00
Jason Volk
53e7fe3fef
ircd: Ⓜ️ :fetch: Remove cruft.
2019-07-22 14:18:13 -07:00
Jason Volk
b17b508c2a
ircd: Ⓜ️ :room::origins: Add interface to count room servers online/error.
2019-07-21 19:08:40 -07:00
Jason Volk
6c9dbdbef5
ircd::ctx: Add queued(ctx) state to interface.
2019-07-21 18:07:26 -07:00
Jason Volk
471c08a41e
ircd::ctx: Split exception_handler w/ cxxabi header requirement.
2019-07-21 15:29:16 -07:00
Jason Volk
bcec03ce1a
ircd: Ⓜ️ :vm::eval: Add find_pdu() to interface.
2019-07-20 18:42:15 -07:00
Jason Volk
3051e6da83
ircd: Isolate inclusion of sys/time.h.
2019-07-20 18:42:15 -07:00
Jason Volk
e1356fb50d
ircd: Ⓜ️ :event::auth: Add hookdata::find() to improve initialization.
2019-07-20 18:42:15 -07:00
Jason Volk
9e2e20f3e8
ircd: Ⓜ️ :event::auth: Preliminary auth hook.
2019-07-20 18:42:15 -07:00
Jason Volk
95001450c5
ircd::db: Move some internal headers out of the installed includedir.
2019-07-20 18:42:15 -07:00
Jason Volk
556d73d96e
ircd::db::database::env::state: Restrict object semantics.
2019-07-20 18:42:15 -07:00
Jason Volk
2f2bc867fb
ircd: Improve various context names for consistency.
2019-07-20 18:42:15 -07:00
Jason Volk
f64f41775d
ircd::ctx::future: Fix action.
2019-07-19 18:17:53 -07:00
Jason Volk
58b286e651
ircd::log: Make the level enumeration strictly unsigned.
...
modules/console: Fix sign v. unsign comparison.
2019-07-19 18:17:52 -07:00
Jason Volk
0704625401
ircd::log: Simplify log class member interface.
2019-07-19 17:15:47 -07:00
Jason Volk
064f0b712c
ircd::log: Fixes for clang DCE.
2019-07-19 17:10:35 -07:00
Jason Volk
fd504be82c
ircd: De-inline the now()/time() samplers; minor cleanup.
2019-07-19 16:13:11 -07:00
Jason Volk
166236dfe8
ircd::ctx: Update README [skip ci]
2019-07-19 15:15:21 -07:00
Jason Volk
3301ed62f7
ircd::ctx: Fix future wait condition closing.
2019-07-19 14:46:57 -07:00
Jason Volk
51e3d7f081
ircd::ctx: Minor code-clarify/cleanup.
2019-07-19 14:42:46 -07:00
Jason Volk
c9745570fc
ircd: Ⓜ️ Add internal(room) to interface.
2019-07-19 14:27:57 -07:00
Jason Volk
e57561e8c1
ircd: Ⓜ️ Add type(room) to interface.
2019-07-19 14:27:57 -07:00
Jason Volk
bdc88e6c7e
imrcd: Ⓜ️ :room::members: Add empty() to interface.
2019-07-19 14:27:57 -07:00
Jason Volk
ad1940d614
ircd::db::env: Add NowNanos() override.
2019-07-17 19:11:43 -07:00
Jason Volk
48468a32f0
ircd::ctx: Add critical_assertion for when_() templates.
2019-07-17 18:10:34 -07:00
Jason Volk
82ed7ad69b
ircd::mods: Attempt to unconfuse backtraces.
2019-07-17 15:05:34 -07:00
Jason Volk
2b4c7a3646
ircd: Remove stale comment from stdinc.
2019-07-17 14:53:13 -07:00
Jason Volk
ad834bfc5b
ircd: Ⓜ️ :vm: Reorganize eval/vm::inject for room version differences; add comment.
2019-07-17 14:53:13 -07:00
Jason Volk
e0e9e09e67
ircd: Ⓜ️ Make append() return and propagate boolean.
2019-07-16 15:26:15 -07:00
Jason Volk
ef1f6f2642
ircd: Ⓜ️ Move event/append header.
2019-07-16 12:39:16 -07:00
Jason Volk
1c00399f66
ircd: Ⓜ️ Add interface to test if event is redacted.
2019-07-16 10:48:35 -07:00
Jason Volk
13830061a3
ircd: Ⓜ️ :event::refs: Add overload to check if ref type exists.
2019-07-16 10:27:53 -07:00
Jason Volk
2bcfe14822
ircd::ios: Add a handler epoch counter.
2019-07-15 17:20:47 -07:00
Jason Volk
ebbc5a5be0
ircd::ios: Apply noexcept to handler border functions.
2019-07-15 17:20:47 -07:00
Jason Volk
598585a431
ircd::ctx: Simplify concurrent template.
...
modules/client/sync: Improve concurrent instantiation sites.
2019-07-15 13:09:33 -07:00
Jason Volk
4d8d2a4dd7
ircd::json: Improve and inline value comparison operators.
2019-07-15 11:06:01 -07:00
Jason Volk
0344a12b40
ircd::json: Inline value constructors.
2019-07-15 11:06:01 -07:00
Jason Volk
1c01b21720
ircd::util: Add unit and deinline various date/time util.
2019-07-15 09:47:34 -07:00
Jason Volk
2a8162b2b7
ircd::net::hostport: Remove unique symbol.
2019-07-14 19:35:28 -07:00
Jason Volk
5242432e0c
ircd::ctx: Add concurrent_for_each.
2019-07-14 13:40:04 -07:00
Jason Volk
91af1a17fd
ircd::server: Add timestamp of when link's socket was estab.
2019-07-14 12:19:31 -07:00
Jason Volk
ee341f193d
ircd::stats: Converge on a single callpath to get val.
2019-07-14 11:17:53 -07:00
Jason Volk
c7a68a8cb3
ircd::ctx: Fix ctx::parallel argument allocation assumptions.
...
ircd::ctx: Rename tool.
2019-07-13 23:20:03 -07:00
Jason Volk
df8fd36fde
ircd: Ⓜ️ :user: Simplify user::room_tags impl w/ modern linkage.
...
ircd:Ⓜ️ :user: Simplify user::room_account_data impl w/ modern linkage.
ircd:Ⓜ️ :user: Modernize user::profile impl linkage.
ircd:Ⓜ️ :user: Modernize user::account_data impl linkage.
ircd:Ⓜ️ :user: Simplify user::ignores impl w/ modern linkage.
2019-07-13 18:15:27 -07:00
Jason Volk
6e97a72c50
ircd::ctx::ole: Minor interface reorg.
2019-07-13 18:15:27 -07:00
Jason Volk
1af930d541
Fix target inputs order in include/Makefile.
2019-07-13 15:51:55 -07:00
Jason Volk
2aafbaff5c
configure: Fix includedir and install path related.
2019-07-12 19:29:51 -07:00
Jason Volk
d0cc5b020b
ircd::fs: Minor reorg of fadvise related.
2019-07-12 19:29:51 -07:00