0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-20 09:28:35 +02:00
Commit graph

2782 commits

Author SHA1 Message Date
Jason Volk 4199d5026c ircd: Factor out the ircd::BUFSIZE; remove stale ircd::config extern. 2018-08-17 12:51:48 -07:00
Jason Volk 3ed2a32555 ircd::util: Add README blerb to directory. 2018-08-17 12:51:48 -07:00
Jason Volk 8603ccf16b ircd:Ⓜ️ Extend import check-and-reload to reference operator related. 2018-08-15 23:13:25 -07:00
Jason Volk fd36e553d5 ircd::util: Add suite to util::params for fetch-by-name. 2018-08-15 23:00:42 -07:00
Jason Volk 69e1c3478f ircd::util: Add index() util. 2018-08-15 23:00:42 -07:00
Jason Volk 83cbfea75d ircd::ctx: Minor cleanup. 2018-08-15 08:21:03 -07:00
Jason Volk c442954e12 ircd:Ⓜ️ Various init reorg related. 2018-08-14 16:47:42 -07:00
Jason Volk 19b4e58944 ircd:Ⓜ️ Rename modules map to imports. 2018-08-14 15:51:57 -07:00
Jason Volk c00d27d7ea ircd::conf: Simplify conf related; add \brief blerb. 2018-08-13 14:51:06 -07:00
Jason Volk d1944c6006 construct/ircd: Use hostname-based init from command line params. 2018-08-13 14:36:50 -07:00
Jason Volk 951cd4ad63 ircd::fs: Update/fix syspaths related. 2018-08-12 16:46:52 -07:00
Jason Volk 8fb580aaf5 configure/ircd: Overhaul install system directory related. 2018-08-12 16:30:51 -07:00
Jason Volk e388d28585 configure: Add exemplary app-specific withval for maximum length of mxid. 2018-08-12 10:16:00 -07:00
Jason Volk de2de7a5bf ircd::magic: Minor cleanup. 2018-08-11 00:42:08 -07:00
Jason Volk 1d11659c43 ircd::js: Remove xdr. 2018-08-11 00:42:08 -07:00
Jason Volk 9aedac4461 ircd: Move preliminary cbor into directory. 2018-08-11 00:42:08 -07:00
Jason Volk e5834065ed ircd::net: Unionize datagram for bidirections. 2018-07-07 22:10:29 -07:00
Jason Volk fe0bd19763 ircd::net: Add udp listener. 2018-07-07 21:33:23 -07:00
Jason Volk 8abfe6adf5 ircd::net: Inherit from closer net::error for listener::error. 2018-07-07 19:44:45 -07:00
Jason Volk ed0e25406c ircd::server: Clarify comment. 2018-07-06 19:29:49 -07:00
Jason Volk 02fcdc8635 ircd::net::listener: Add callback-action for proper abstraction. 2018-07-06 18:38:08 -07:00
Jason Volk a98bd357df construct/ircd: Add -pitrecdb option to allow point-in-time recovery. 2018-07-06 17:09:33 -07:00
Jason Volk 668d12bf72 ircd::ctx: Fix future_state test grate. 2018-07-06 16:33:53 -07:00
Jason Volk e2edd13a33 ircd: Remove ircd::strand related. 2018-07-06 00:44:24 -07:00
Jason Volk da5d767431 ircd::ctx: Fix pointer punning in promise / shared_state. 2018-07-06 00:26:34 -07:00
Jason Volk 8fcd6379a4 construct/ircd: Add -nojs option to not init js engine. 2018-07-05 16:57:47 -07:00
Jason Volk 96da6a3486 ircd::buffer: Export begin()/end() ADL's down to ircd::. 2018-07-04 21:48:15 -07:00
Jason Volk b80468d6c8 ircd::js: Checkpoint corrections to XDR layout. 2018-07-04 21:44:45 -07:00
Jason Volk da04032cc4 ircd::js: Checkpoint corrections to XDR; esr52. 2018-07-03 18:50:05 -07:00
Jason Volk 9a579c8dcb ircd::js: Support JS::SetBuildIdOp context callback. 2018-07-03 16:49:08 -07:00
Jason Volk ae5678269c ircd::js: Fixes for js bitrot / maintenance cleanup. 2018-07-03 15:44:44 -07:00
Jason Volk b6f7a64c4c ircd::cbor: checkpoint; item header size and value counter gauge. 2018-07-02 01:31:59 -07:00
Jason Volk 5e8c1ad52d ircd::buffer: Add const_buffer::insert() for boost::spirit compliance (noop). 2018-07-01 19:51:37 -07:00
Jason Volk ac4ed03142 ircd::buffer: Add buffer_base::empty() for boost::spirit conceptual compliance. 2018-07-01 19:20:00 -07:00
Jason Volk a96f2ae030 ircd::spirit: Import locals into namespace; minor cleanup. 2018-07-01 19:11:13 -07:00
Jason Volk 7624e36c7c ircd::spirit: Import binary parsers into spirit convenience namespace. 2018-07-01 18:42:56 -07:00
Jason Volk d1c1fb931f ircd::util: Add specific endian bswaps e.g arpa/inet.h; minor cleanup. 2018-07-01 16:39:43 -07:00
Jason Volk 67bcbf628c ircd::mods: Replace allocated string metadata with string_view based on common usage. 2018-07-01 14:42:28 -07:00
Jason Volk a3db6f2a95 ircd: Replace iostream include with iosfwd to elide inits in every unit. 2018-07-01 14:29:52 -07:00
Jason Volk 01d9ce038c ircd: Preliminary CBOR namespace and unit. 2018-07-01 02:09:35 -07:00
Jason Volk 08d45dc838 ircd:Ⓜ️ Generalize room::lonly into more efficient room::origins::only(origin). 2018-06-30 21:57:09 -07:00
Jason Volk 85d1c924a5 ircd:Ⓜ️ Add function to query if room only has our origin joined. 2018-06-30 18:49:03 -07:00
Jason Volk 7d4eb46a1a ircd:Ⓜ️ Interface/linkage to generate room account_data type string. 2018-06-19 21:47:26 -06:00
Jason Volk f8763af509 ircd:Ⓜ️ Add user interface w/ linkage for room account data. 2018-06-19 21:33:03 -06:00
Jason Volk 4b5545f844 ircd: Make some fundamental string_view ADL's constexpr. 2018-06-19 21:30:29 -06:00
Jason Volk c136e82a57 ircd:Ⓜ️ Temporary fixes for stale static initializations. 2018-06-16 23:00:47 -06:00
Jason Volk 13bee93ddc ircd: Split standard includes back into an stdinc.h. 2018-06-15 16:19:29 -06:00
Jason Volk 9601dac9cc ircd: Consolidate stdinc.h and ircd.h and fix precompiled headers. 2018-06-15 16:13:18 -06:00
Jason Volk 0d688b386b ircd::json: Perform unquote() in json::string ctor as described... 2018-06-12 01:00:15 -07:00
Jason Volk 912562f469 ircd:Ⓜ️:vm: Checkpoint phase-as-class skeleton. 2018-06-12 01:00:14 -07:00
Jason Volk 0da4dec13c ircd:Ⓜ️:event: Add topological before; improve prev iteration closure; reorg some util. 2018-06-09 14:37:31 -07:00
Jason Volk 3da5afdb85 ircd::allocator: Additional doc comment on profiler. 2018-06-09 14:37:31 -07:00
Jason Volk acddfa77f8 ircd::allocator: Add mallinfo to string support w/ console command. 2018-06-09 14:37:31 -07:00
Jason Volk feb1aa5d2f ircd::info: Add glibc related to info. 2018-06-09 13:42:35 -07:00
Jason Volk 960553f279 ircd::db: Checkpoint skeleton state structure for env. 2018-06-09 13:40:21 -07:00
Jason Volk a077766812 ircd:Ⓜ️ Update README. 2018-06-09 13:37:04 -07:00
Jason Volk 55a8391e48 ircd::allocator: Add trim() if available. 2018-06-09 13:34:01 -07:00
Jason Volk 5146ddf67e ircd::json: Reduce iov interface; make conditional nodes evaluate conditionally. 2018-06-05 11:16:52 -07:00
Jason Volk f1443752c5 ircd::iov: Make node emplacement conditional. 2018-06-05 10:34:30 -07:00
Jason Volk 1a12b7331d ircd::json: Add conditioned-closure iov::add_if. 2018-06-04 23:17:29 -07:00
Jason Volk f2acc304c5 ircd:Ⓜ️:room: Add power levels convenience interface (query side). 2018-06-04 14:23:39 -07:00
Jason Volk 2d7b011bba ircd:Ⓜ️:v1: Add frontfill request. 2018-06-03 19:17:03 -07:00
Jason Volk eec696524a ircd:Ⓜ️:vm: Reduce the default db::txn reserve overhead value. 2018-06-03 15:20:59 -07:00
Jason Volk 9ec73c3dfb ircd::mods: Add non-const function call templates. 2018-06-03 10:20:54 -07:00
Jason Volk c58e60c122 modules/vm: Move vm::log out of module back to libircd. 2018-06-03 09:58:45 -07:00
Jason Volk 57bfe311c6 ircd::fs: Add experimental stdin::tty support. 2018-06-03 09:49:00 -07:00
Jason Volk 79b2bdfb42 ircd::fs: Add prefetch(). 2018-06-02 11:44:53 -07:00
Jason Volk 76c716f0e9 ircd:📅 Use the standard snprintf() here. 2018-06-01 14:24:45 -07:00
Jason Volk 7e25d99cc6 ircd::db: Convert rocksdb::port from pthread to ircd::ctx. 2018-06-01 12:36:46 -07:00
Jason Volk b8aba99ed4 ircd::ctx: Assert release sequence is happening on ctx. 2018-06-01 12:36:46 -07:00
Jason Volk f61d0a30ec ircd::ctx: Add condition_variable for interface compat. 2018-06-01 12:36:46 -07:00
Jason Volk 2404e1adad ircd::ctx: Add mutex::locked() to query if locked. 2018-06-01 07:48:23 -07:00
Jason Volk abe921c3ad ircd::net: Add conf item for default close opts. 2018-06-01 04:08:20 -07:00
Jason Volk 8c5b47950f ircd::net: Add conf items for default open_opts. 2018-06-01 04:05:19 -07:00
Jason Volk 7461de8b3d ircd::db: Condition to check database from ircd::checkdb via -checkdb command line option. 2018-05-31 12:47:37 -07:00
Jason Volk cfa06c7d71 fixup! ircd:Ⓜ️ Rework visibility interface for empty mxid's as part of a public test. 2018-05-31 05:45:08 -07:00
Jason Volk 6671122997 ircd:Ⓜ️ Rework visibility interface for empty mxid's as part of a public test. 2018-05-31 04:25:04 -07:00
Jason Volk c8695b5b83 ircd::parse: Add deprecation notice to this subsystem. 2018-05-30 09:09:48 -07:00
Jason Volk 7825114281 ircd::fmt: Internalize specifier related; various cleanup. 2018-05-30 09:05:15 -07:00
Jason Volk f8e4f4675f ircd::fs: Doc comments for fd::opts. 2018-05-30 04:59:05 -07:00
Jason Volk 45155d5e4d ircd::fs: Add fd::opts nocreate open() option. 2018-05-30 04:59:05 -07:00
Jason Volk 8395a7844c ircd::fs: Add fd::opts direct and cloexec flags; reorg fd ctor related. 2018-05-30 04:59:05 -07:00
Jason Volk f8ea91cdee ircd::fs: Add append(fd) with explicit lseek(SEEK_END). 2018-05-30 04:59:04 -07:00
Jason Volk ead2a567ad ircd::fs: Refactor fs::write stack for fs::fd. 2018-05-30 04:59:04 -07:00
Jason Volk 501e82e8aa ircd::fs: Refactor fs::read stack for fs::fd. 2018-05-30 04:59:04 -07:00
Jason Volk a9e73d898c ircd::fs: Add size(fd) from sys stat(). 2018-05-30 04:59:04 -07:00
Jason Volk 955d8921b9 ircd::fs: Add basic fd wrapper object. 2018-05-30 04:59:04 -07:00
Jason Volk 73fc596cb6 ircd::db: Add experimental port linktime override suite. 2018-05-30 04:59:04 -07:00
Jason Volk b13193611d ircd::server: Rename peer::interrupt() to peer::cancel(). 2018-05-29 11:53:37 -07:00
Jason Volk 702c290d10 ircd::buffer: Minor cleanup/simplify. 2018-05-29 09:33:07 -07:00
Jason Volk de8e7b5908 ircd:Ⓜ️:vm: Move eval entry related into modules/vm; convert phase to struct. 2018-05-29 04:05:50 -07:00
Jason Volk 46aec8bc8f ircd::allocator: Minor remove unused declaration. 2018-05-29 02:52:47 -07:00
Jason Volk 9714d1ee15 ircd:Ⓜ️ Reorg event visibility interface; update linkages. 2018-05-28 00:33:21 -07:00
Jason Volk 88d3026cc7 ircd:Ⓜ️:vm: More granular notification broadcast options. 2018-05-27 19:56:04 -07:00
Jason Volk 3ec0a1c7c8 ircd:Ⓜ️ Further overload the event::hashes stack; use proper return types. 2018-05-27 08:39:49 -07:00
Jason Volk 0d833cda4f ircd:Ⓜ️ Add templated payload for hook. 2018-05-26 22:12:11 -07:00
Jason Volk 5b52ac3103 ircd::ctx: Remove argument from continuation ctor. 2018-05-25 23:50:20 -07:00
Jason Volk a1e1272d9c ircd::mods: Fix sym_ptr boolean test. 2018-05-25 23:47:59 -07:00
Jason Volk 422206794f ircd::conf: Add conf::exists(key); minor cleanup. 2018-05-25 20:45:30 -07:00
Jason Volk b69848b620 ircd::json: Add non-const iov::at(); minor cleanup. 2018-05-25 17:45:49 -07:00
Jason Volk 2564b28743 ircd::db: Properly maintain db::gopts as iterator state. 2018-05-25 03:07:30 -07:00
Jason Volk a45365ee98 ircd::allocator: Add global allocator profiling suite. 2018-05-25 03:07:30 -07:00
Jason Volk c6bd9d63e8 ircd::allocator: Deinline non-template assets. 2018-05-25 00:15:49 -07:00
Jason Volk ff21175036 ircd::db: Integrate checkpointing with database name and path schema. 2018-05-24 20:52:49 -07:00
Jason Volk 4cb6845ac1 ircd::fs: Use vector_view for make_path related. 2018-05-24 19:11:05 -07:00
Jason Volk 184684264b ircd:Ⓜ️🪝 Additional internal distillation of class components. 2018-05-24 18:31:47 -07:00
Jason Volk 4ce29f1d22 ircd::db: Add cache clear interface w/ console cmd. 2018-05-24 01:18:58 -07:00
Jason Volk 7bfe9e94a1 ircd::db: Default to no checksums on all reads; add conf item; adjust opts. 2018-05-23 18:45:27 -07:00
Jason Volk 92b91fc307 ircd: Make timestr()'s buffer default a template param; reorg; add comments. 2018-05-23 18:14:42 -07:00
Jason Volk 31dfee9bf3 ircd: Add template ostream convenience for std::chrono::durations. 2018-05-23 17:58:11 -07:00
Jason Volk 5708d9c36b ircd::db: Consolidate various stats interfaces into header. 2018-05-23 17:04:02 -07:00
Jason Volk 77755a2ab4 ircd::db: Add interface to rocksdb iostats w/ console cmd. 2018-05-23 16:57:49 -07:00
Jason Volk 9da798145b ircd:Ⓜ️ Allow room opts passed through user::room ctor. 2018-05-23 16:44:16 -07:00
Jason Volk 1c20df652b ircd::db: Elaborate interface to the rocksdb perf_context. 2018-05-23 16:27:44 -07:00
Jason Volk 8b15512849 ircd::db: Add database's unique id string interface. 2018-05-22 17:01:01 -07:00
Jason Volk 9d5afc8e87 ircd::db: Add separate check(database); Add log notice when checking on open. 2018-05-22 16:52:34 -07:00
Jason Volk 7e8ec1ca63 ircd::ctx: Support interrupt suppression; suite. 2018-05-22 00:22:56 -07:00
Jason Volk 1afba986b3 ircd::db: Support additional rdb comparator features. 2018-05-21 19:52:18 -07:00
Jason Volk 6be37c7aa6 ircd:Ⓜ️ Add event::fetch::opts overrider to room::messages; simplify overrider on room::state. 2018-05-21 17:36:16 -07:00
Jason Volk a2b80db1ad configure.ac/ircd: Add granular configure-time log level control. 2018-05-21 16:59:28 -07:00
Jason Volk fcb1df34da ircd::log: Re-number log levels. 2018-05-21 16:14:59 -07:00
Jason Volk 0d489d6ffb ircd::http: Add 504 Gateway Timeout status. 2018-05-21 15:56:13 -07:00
Jason Volk 0808058ccd ircd: Add various missing top-level \briefs. 2018-05-21 03:01:50 -07:00
Jason Volk 67b7a58f42 ircd:Ⓜ️ Additional event/room visibility linkage and preliminary hook. 2018-05-20 20:15:50 -07:00
Jason Volk a66928572b ircd:Ⓜ️ Elaborate room::state ctor for easier custom fopts. 2018-05-20 20:14:44 -07:00
Jason Volk 6e7d5aec3b ircd:Ⓜ️ Rename room opts to copts for consistency. 2018-05-20 20:14:12 -07:00
Jason Volk 32549bc9ae ircd::conf: Deinline some specialized definitions. 2018-05-20 18:39:33 -07:00
Jason Volk f4acce9c91 ircd::conf: Add bool conf item template specialization. 2018-05-20 18:39:33 -07:00
Jason Volk c88ce8168b Revert "ircd:Ⓜ️ Convert hook to template."
This reverts commit 915076296f.
2018-05-20 18:39:32 -07:00
Jason Volk 5da82c7e93 ircd::http: Minor cleanup: move the code enum. 2018-05-20 17:37:50 -07:00
Jason Volk 67744cf73e ircd:Ⓜ️ Remove the room::state::opts. 2018-05-20 05:11:30 -07:00
Jason Volk 7e5b9b69ed ircd:Ⓜ️ Integrate fetch::opts with room queries. 2018-05-20 04:35:17 -07:00
Jason Volk 79371780f3 ircd:Ⓜ️ Add fetch::opts with keys and db::gopts. 2018-05-20 04:34:31 -07:00
Jason Volk 163106bb72 ircd:Ⓜ️ Simplify the event::fetch ctor stack w/ default selection. 2018-05-20 01:48:47 -07:00
Jason Volk 1efe069a56 ircd::db: Remove the row tuple template constructor. 2018-05-20 01:48:47 -07:00
Jason Volk fb1c7236ac ircd::json: Default selection to all keys. 2018-05-20 01:48:47 -07:00
Jason Volk 2f48b69102 ircd:Ⓜ️ Add event::fetch seekless ctor w/ selection. 2018-05-19 22:55:03 -07:00
Jason Volk 208a0198c0 ircd::json: Add specific extern undefined number. 2018-05-19 22:55:03 -07:00
Jason Volk df348bccaf ircd::db: Condition to not assign cell with null column pointer. 2018-05-19 22:55:03 -07:00
Jason Volk 6150637537 ircd:Ⓜ️ event::fetch keys selection. 2018-05-19 22:55:03 -07:00
Jason Volk fdadd57f6f ircd::db: Fix row from tuple template. 2018-05-19 22:55:02 -07:00
Jason Volk d30aa971e5 ircd::json: Additional initializer list convenience constructors for keys. 2018-05-19 22:55:02 -07:00
Jason Volk 16c86f9a76 ircd::fmt: Fix copying / nulling / assertions. 2018-05-19 20:53:40 -07:00
Jason Volk 2991144b38 ircd::json: Use vector_view for keys selectors. 2018-05-19 19:17:07 -07:00
Jason Volk 64170b6fef ircd::json: Add tuple keys vector_view convenience conversion. 2018-05-19 18:52:50 -07:00
Jason Volk 5a058be4ba ircd::net: Use specific canon service/port variables. 2018-05-19 18:49:08 -07:00
Jason Volk 52de335c8f ircd::json: Split tuple key() suite. 2018-05-19 18:49:08 -07:00
Jason Volk 9d2a796f17 ircd::json: Elaborate on keys interface; cleanup; add comments. 2018-05-19 18:49:08 -07:00
Jason Volk 39e403c1d2 ircd::json: Add template to get tuple key string with runtime index. 2018-05-19 18:49:07 -07:00
Jason Volk 65f7adc8c6 ircd::server: Internalize more references to the peer instance; various cleanup. 2018-05-19 18:49:07 -07:00