0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-05 10:08:36 +02:00
Commit graph

76 commits

Author SHA1 Message Date
Jason Volk 542f8f421a ircd::mods: Add preconditions around dlsym hook inclusion. 2019-05-03 15:58:39 -07:00
Jason Volk c6585f5114 Global deepbind module strategy. 2019-05-03 15:58:20 -07:00
Jason Volk a464523c00 ircd::mapi: Cleanup macros for potential deepbind strategy. 2019-05-02 21:42:34 -07:00
Jason Volk 154eee0ca6 ircd: Make unresolved symbols weak symbols; lazy binding in modules. 2019-05-02 16:45:27 -07:00
Jason Volk 1352ddf56c ircd::mods: Fix error format string specifier case. 2019-05-02 15:35:26 -07:00
Jason Volk 069d3b6f74 ircd::mods: Improve various format strings re log msgs and errors. 2019-05-01 15:40:17 -07:00
Jason Volk c427223340 ircd::mapi: Force the header inline so the module contains the constants. 2019-04-18 17:36:33 -07:00
Jason Volk 1312784518 ircd::mapi: Add a serial number to deal with removed modules which are still installed. 2019-04-18 17:36:33 -07:00
Jason Volk 61e136f577 ircd::mods: Actually check the MAPI header version on load. 2019-04-18 16:53:47 -07:00
Jason Volk 06e7b16ed5 ircd::mods: Stub internal dlsym() hooker. 2019-04-09 21:27:45 -07:00
Jason Volk 5a26cbb65c ircd::mods: Fix error code case for module load errors; split demangler function. 2019-04-03 21:05:39 -07:00
Jason Volk 59b0b633cb ircd::mods: Support code and data demangled export sections. 2019-03-24 14:06:47 -07:00
Jason Volk 1ce9ec3f8e ircd::fs::error: Remove fs::error from the ircd::exception hierarchy. 2019-03-16 18:12:38 -07:00
Jason Volk 474464f1bb ircd::mods: Fix termination loop for static exceptions in dlopen(). 2019-03-14 16:20:40 -07:00
Jason Volk 19cc9ccc79 ircd::mods: Use eventual overload directly. 2019-02-28 17:58:35 -08:00
Jason Volk c90d05a878 ircd::mods: Paranoid checks after load. 2019-02-28 17:12:04 -08:00
Jason Volk 2b4e63f6f0 ircd::mods: Rename and expose exports map; add/update console cmds. 2019-02-09 18:43:05 -08:00
Jason Volk 0bd8571612 ircd::mods: Improve path translation for symbols() suite; add comments. 2019-02-09 18:43:05 -08:00
Jason Volk 7b12718e66 ircd::mods: Improve target symbol name generation. 2019-02-09 18:43:04 -08:00
Jason Volk c5d993f7c5 ircd::mods: Demangled imports. 2019-02-09 03:08:12 -08:00
Jason Volk 3fcb701b47 ircd::mods: Consolidate codepaths to binding. 2019-02-08 23:50:00 -08:00
Jason Volk e15045ea3f ircd::mods: Use std map for mangles. 2019-02-08 23:18:46 -08:00
Jason Volk b4f09d06ec ircd::mods: Simplify is_module() stack. 2019-02-08 20:40:08 -08:00
Jason Volk 1b48dd7c68 ircd::mods: Improve section search in symbol tools. 2019-02-08 20:39:30 -08:00
Jason Volk e666f72b74 ircd::mods: Toward eliminating boost::filesystem exposure to this unit. 2019-02-07 22:16:19 -08:00
Jason Volk b203def78b ircd::mods: Deinline the mapi header ctor. 2019-01-25 14:53:13 -08:00
Jason Volk 2886924bf0 ircd::fs: Reorg path interface related. 2019-01-25 10:39:37 -08:00
Jason Volk 482112b369 ircd::mods: Improve exception translation. 2019-01-13 16:55:52 -08:00
Jason Volk 005e4217ed ircd::mods: Various cleanup. 2019-01-05 17:18:08 -08:00
Jason Volk 3466597981 ircd::fs: Various reorg; cleanup. 2018-12-29 19:43:17 -08:00
Jason Volk d902269165 ircd::mods: Throw fs::error rather than boost's filesystem_error. 2018-12-21 15:33:18 -08:00
Jason Volk d7891d91e8 ircd::mods: Improve dlopen()/handle construction accoutrements. 2018-12-15 20:29:53 -08:00
Jason Volk 5d7f971b89 ircd::mods: Disable interruption during dlopen() / static init. 2018-12-15 20:29:53 -08: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 1ba22a21ba ircd: Disperse accumulated global options as conf items in namespaces. 2018-12-08 15:36:34 -08:00
Jason Volk 36bb0d3175 ircd: Integrate all boost::system::system_error with stdlib. 2018-11-08 23:05:11 -08:00
Jason Volk d19edbda98 ircd::mods: Improve MAPI header layout; various cleanup. 2018-10-25 13:03:07 -07:00
Jason Volk 59adeb839c ircd::mods: Minor reorg: move internal section to top; cleanup terminate handler. 2018-10-24 12:16:08 -07:00
Jason Volk bfa76efbc1 ircd::mods: Reorg primary interface / addl utils. 2018-10-23 11:15:21 -07:00
Jason Volk 15b300657f ircd::mods: Add unloading state; add public interface for loading()/unloading() query. 2018-10-23 11:03:57 -07:00
Jason Volk 5fa42b5afd ircd::mods: Use forward_list for mod::loading state. 2018-10-23 10:54:56 -07:00
Jason Volk 11948e47ac ircd: Move m::import to mods::import where it is more appropriate. 2018-09-13 18:19:27 -07:00
Jason Volk 81d7ba8c39 ircd: Various string_view conversion fixes. 2018-09-13 06:47:52 -07:00
Jason Volk 32a67c82c9 ircd::mods: Minor cleanup. 2018-08-30 21:55:19 -07:00
Jason Volk 8fb580aaf5 configure/ircd: Overhaul install system directory related. 2018-08-12 16:30:51 -07:00
Jason Volk db21df0c31 ircd: Move mapi.h into mods/. 2018-04-24 01:21:16 -07:00
Jason Volk 34abaea046 ircd::mods: Move the call to the init function after the mod ctor. 2018-03-25 16:10:52 -07:00
Jason Volk 291b6dc286 ircd::mods: Add shared_from mod& sym_ptr ctor; adjust conversions. 2018-03-25 16:10:52 -07:00
Jason Volk f36af09789 ircd::mods: Interface modernization; various cleanup; reorg. 2018-03-25 14:32:24 -07:00
Jason Volk d745e65ee1 ircd::mods: Split up; clean up; reorg. 2018-03-23 22:52:36 -07:00