0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-19 19:33:45 +02:00
Commit graph

47 commits

Author SHA1 Message Date
Jason Volk 2c3dab1abc ircd::conf: Add reference to conf::item in setter callbacks. 2023-02-27 15:29:16 -08:00
Jason Volk 600563d272 ircd::conf: Add template lex_cast convenience; limited to bool specialization. 2023-01-19 19:58:23 -08:00
Jason Volk 829e641a48 ircd::conf: Add nothrow overloads to get() suite. 2023-01-19 19:58:23 -08:00
Jason Volk 6ce5ab5b1d ircd::conf: Add environ() to interface; minor cleanup/reorg. 2022-07-11 12:53:25 -07:00
Jason Volk b677eeb4b7 Allow various unsigned conversions.
construct: Fix comparison signedness warning.
2022-06-29 14:21:36 -07:00
Jason Volk ef32565d66 ircd: Simplify w/ ::snprintf for mostly static init callpaths. 2022-06-17 21:11:53 -07:00
Jason Volk a8e7a4890f ircd::conf: Add __APPEND/__PREPEND features for non-overwriting from env var. 2022-06-17 21:11:53 -07:00
Jason Volk c74cfd8088 ircd::conf: Use stringops replace; minor reorg/rename. 2022-06-17 21:11:53 -07:00
Jason Volk 7a87f2eda9 ircd::conf: Fix interface argument inconsistency. 2020-06-08 17:16:07 -07:00
Jason Volk 11f2eff4d9 Add -defaults program option to restore from broken configurations. 2020-04-24 21:58:57 -07:00
Jason Volk 8b9822e4fb Fix various instances of throwing into noexcept. 2019-08-05 16:20:55 -07:00
Jason Volk d806ef48db ircd::conf: Improve item maximum related constants. 2019-07-27 18:49:26 -07:00
Jason Volk 5bf62fc33f ircd: Degrade enum addressing for clang. 2019-06-23 07:37:23 -06:00
Jason Volk d474eed948 ircd::conf: Add more elaborate double-fault handling. 2019-03-11 12:53:22 -07:00
Jason Volk 499d9c7c6e ircd::conf: Revert conf item if setter or set callback fails. 2019-03-11 11:27:57 -07:00
Jason Volk 1fa5ebc415 ircd::conf: Add allocated string get() overloads. 2019-03-11 11:27:57 -07:00
Jason Volk 8353d0a7e9 ircd::conf: Add a size virtual member function to get value size as string. 2019-03-11 11:27:57 -07:00
Jason Volk 45bf911952 ircd::conf: Add feature to toggle whether conf item is persisted in a db. 2018-12-08 16:27:32 -08:00
Jason Volk d0bfe4fd8f ircd::conf: Use lex_cast for item<bool> setter. 2018-09-15 06:41:34 -07:00
Jason Volk 9bc4f4ef58 ircd::conf: Support environmental variables overriding conf item values. 2018-09-15 06:41:34 -07:00
Jason Volk 71d772a80c ircd::conf: Enforce a max length on name strings. 2018-09-15 02:20:48 -07:00
Jason Volk 1711df33a9 ircd::conf: Use util::callbacks here. 2018-09-15 00:38:45 -07:00
Jason Volk be84bf83de ircd::conf: Add item init callback. 2018-09-03 04:41:14 -07:00
Jason Volk 08a35bdc6a ircd::conf: Add reset() suite to rexecute item callbacks. 2018-09-02 21:16:49 -07:00
Jason Volk ea172a3378 ircd::conf: Add set callback notification. 2018-08-22 14:02:09 -07:00
Jason Volk 63aa8e310e ircd::conf: Restructure virtuals to direct all entry through parent. 2018-08-22 13:57:03 -07:00
Jason Volk c00d27d7ea ircd::conf: Simplify conf related; add \brief blerb. 2018-08-13 14:51:06 -07:00
Jason Volk 8fb580aaf5 configure/ircd: Overhaul install system directory related. 2018-08-12 16:30:51 -07:00
Jason Volk 422206794f ircd::conf: Add conf::exists(key); minor cleanup. 2018-05-25 20:45:30 -07:00
Jason Volk 32549bc9ae ircd::conf: Deinline some specialized definitions. 2018-05-20 18:39:33 -07:00
Jason Volk 62861f2540 ircd::conf: No longer care about conf whitespace... 2018-03-23 22:52:36 -07:00
Jason Volk 439e212b90 ircd::conf: Remove old comment; implicit object brackets around conf file data. 2018-03-23 22:17:10 -07:00
Jason Volk f8e356eb0e ircd::conf: Develop conf get/set by string; use mapping by item name. 2018-03-02 08:02:20 -08:00
Jason Volk 97e593a77e ircd: Mein conf. 2018-03-02 08:02:20 -08:00
Jason Volk c9e947e66f ircd: Remove aborted cruft. 2017-08-23 15:27:41 -06:00
Jason Volk c1ef99c0cd ircd::conf: Doomed conf related. 2017-08-23 15:12:16 -06:00
Jason Volk 21db4baab3 ircd: Various cleanup. 2017-03-30 16:04:18 -07:00
Jason Volk b592b69b86 What is the Matrix? Control. 2017-03-10 17:51:18 -08:00
Jason Volk a4f55b4627 ircd::mods: Reorganize and distill interface. 2016-11-25 19:23:49 -08:00
Jason Volk be48466ef3 fixup! [temp] Checkpoint test. 2016-11-13 16:32:38 -08:00
Jason Volk 26a3cd8441 Preliminary new client. Reorg/renames for ircd::client struct symbol. 2016-09-21 16:29:29 -07:00
Jason Volk 556ceba8a0 ircd: new client; start over. 2016-09-21 16:29:28 -07:00
Jason Volk f71a7a5fb9 ircd::rfc1459: Reorganize grammar for better reuse. Add tape parser. 2016-09-21 16:28:52 -07:00
Jason Volk aca6eefcd9 ircd: Improve exception reporting on newconf parsing. 2016-09-21 16:28:51 -07:00
Jason Volk 2742547826 Introduce modular configuration system. 2016-09-21 16:28:51 -07:00
Jason Volk 2c854124af ircd::conf: Add newconf to oldconf translation. 2016-09-09 16:17:02 -07:00
Jason Volk 670990a215 Upgrade newconf parser to boost::spirit. 2016-09-09 16:17:02 -07:00