aboutsummaryrefslogtreecommitdiff
path: root/src/modulemanager.cpp
Commit message (Expand)AuthorAgeFilesLines
* Rename DLL_EXTENSION to INSPIRCD_MODULE_EXT.•••This will be in config.h when we switch to CMake so I'm renaming it now to reduce the diff size of the CMake commit. Gravatar Sadie Powell2026-04-071-1/+1
* Merge branch 'insp4' into master.Gravatar Sadie Powell2026-03-311-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2026-03-311-1/+1
* | Move service types to their own namespace.•••- ServiceProvider is now Service::Provider - DataProvider is now Service::SimpleProvider (the old name does not really make sense now we don't have SERVICE_DATA and the only difference is automatic registration. - Some members of ModuleManager have been elevated to the Service namespace in case other code wants to use them. Gravatar Sadie Powell2026-03-291-2/+2
* | Switch modules from reference<> to shared_ptr<> and weak_ptr<>.Gravatar Sadie Powell2026-03-291-1/+1
|/
* Add the VF_DEPRECATED flag and warn on load about deprecation.Gravatar Sadie Powell2026-03-091-0/+6
* Allow contrib modules to specify their own module version.Gravatar Sadie Powell2024-07-221-5/+1
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-2/+1
* Rename some of the Module member variables.Gravatar Sadie Powell2024-03-041-2/+2
* Rename the error log level to critical.•••"ERROR" is apparently defined by more than just Windows. Let's pick a different name which is less likely to cause collisions. Gravatar Sadie Powell2023-08-111-4/+4
* Simplify the codes that InspIRCd can exit with.•••The custom codes that InspIRCd exits with are not very useful and can confuse init systems like systemd which assume that certain exit codes mean certain things. INSPIRCD_BINARY_EXIT was a workaround for this in v3 but considering thatsers have to check the logs anyway so we may as well just use EXIT_SUCCESS and EXIT_FAILURE. Gravatar Sadie Powell2023-07-131-3/+2
* Remove rang and use fmtlib for printing coloured messages.•••This supports more platforms (e.g. Haiku) and is actually still maintained unlike the former. All of this code should really be cleaned up for release (maybe by adding something like Anope's LOG_CONSOLE) but for now I've just replaced it with the fmtlib equivalent. Gravatar Sadie Powell2023-07-121-7/+10
* Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-241-3/+2
* Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-1/+1
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-1/+0
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+0
| * Deduplicate retrieving error messages on Windows.Gravatar Sadie Powell2022-12-131-5/+2
| * Show the system error message when loading modules fails.Gravatar Sadie Powell2022-12-131-1/+9
| * Fix unnecessarily using c_str in parameters that take a std::string.Gravatar Sadie Powell2022-09-041-1/+1
* | Rework the levels things are logged at to make more sense.Gravatar Sadie Powell2022-12-181-5/+4
* | More const correctness.Gravatar Sadie Powell2022-10-231-1/+1
* | Use auto in places where it is really obvious what the type is.Gravatar Sadie Powell2022-09-041-1/+1
* | Fix some warnings noticed by the readability-* clang-tidy checkers.Gravatar Sadie Powell2022-09-031-1/+1
* | Clean up the Windows build process and remove some legacy code.Gravatar Sadie Powell2022-09-031-3/+2
* | Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-3/+3
* | Make dynamic a non-default header.Gravatar Sadie Powell2022-06-261-0/+1
* | Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-011-6/+6
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-291-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-04-281-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-03-271-1/+1
|\|
| * Fix allowing modules to have a path on Windows.Gravatar Sadie Powell2022-03-241-1/+1
* | Replace consolecolors with a vendored library.•••This library supports much more than consolecolors including the Windows 8 console API. Gravatar Sadie Powell2022-01-261-2/+4
* | Slim the included headers down more.Gravatar Sadie Powell2022-01-261-2/+4
* | Replace uses of the FileSystem class with std::filesystem.Gravatar Sadie Powell2022-01-151-1/+2
* | Fix undefined behaviour with converting a path to a string.Gravatar Sadie Powell2021-06-101-2/+5
* | Fix MSVC compatibility issues.Gravatar Sadie Powell2021-06-071-1/+1
* | Constify variables within loops.Gravatar Sadie Powell2021-04-011-1/+1
* | Initial support for platform-specific module file extensions.Gravatar Sadie Powell2020-11-041-1/+1
* | Move the property string from cmd_modules to Module & show on load.Gravatar Sadie Powell2020-07-241-14/+12
* | Replace FileSystem::GetFileList with std::filesystem.Gravatar Sadie Powell2020-05-191-16/+20
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
* | Rename Module::flags to Module::properties.•••This name is more descriptive and should create less warnings about shadowing in existing modules. Gravatar Sadie Powell2020-04-111-1/+1
* | Improve storage of module description, flags, and link data.Gravatar Sadie Powell2020-04-111-2/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-02-041-5/+5
|\|
| * Make loading modules considerably more robust and user friendly.Gravatar Sadie Powell2020-02-021-5/+5
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-0/+6
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-0/+6
* | Move ISupport logic out of the core and into core_info.Gravatar Sadie Powell2020-01-051-1/+0
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-161-23/+19
|\|