* [console] Fixed classLoaders of JvmPlugin cannot getResource(classes of global dependencies), fix#2535
* [core/utils/jvm] new fun: addAll(Enumeration)
* [console] modify DynLibClassLoader.tryFastOrStrictResolveResource to tryFastOrStrictResolveResources
* [console] remove allClassesAsResources field
* [console] add var to control whether class files of mirai dependencies could be load as resources
* [console/integration-test] modify loader test
* [console] dump new apis
* [console] rename JvmPluginClasspath.openMiraiDependenciesClassResource and standardize its KDoc
* [console] modify the KDoc of JvmPluginClasspath.shouldResolveConsoleSystemResource
* [console/integration-test] improve resources loading test cases
* [console/integration-test] modify assert to assertTrue
* Fix bootstrap when no env specified
* add PluginWithExceptionTest
* Add exceptedExceptionMessage in MCIT(Throwable or Exception may not work?)
* Using red color show disabled plugins in /status command
* Catch exception during enable process
* Count plugins without disabled plugins
* Revert "Fix bootstrap when no env specified"
This reverts commit ff9bb180fd6687c5da27b8a38da2658a1b26ad93.
* format
* format
* halt plugin enable process when mirai failed to enable it dependencies.
* Update mirai-console/backend/mirai-console/src/internal/plugin/PluginManagerImpl.kt hint
Co-authored-by: Him188 <Him188@mamoe.net>
* rename tmp to dependsOn
* Revert changes of PluginManagerImpl
* Plugin callback executions assertions
* Improve & Fix Logic
* Fix PluginDependOnErrorPlugin
* Update err msg
* move dependencies check from JvmPluginInternal.kt to BuiltInJvmPluginLoaderImpl.kt
* typo
* don't throw err caused by dependencies fail
Co-authored-by: Him188 <Him188@mamoe.net>
Co-authored-by: Karlatemp <kar@kasukusakura.com>
- Drop `io.ktor` in consoleRuntimeClasspath included by `core-api: api(io.ktor)`; Fix#2051
- Fix IT.plugin-resolve-self-dependencies-over-console-ones
- Fix IT.plugin-use-console-deps-fallback
- Fix plugin dependencies linked to AppClassLoader if any external dependencies used
* Save journals to file
* Use kotlin coroutines
* Fix StackOverflowError
* Auto split log files && test units
* Implement ConsoleTerminalSettings.noLogging
* Improve logging
* High-Speed logging test