Karlatemp
62ae2ac03c
[console] Create PluginOnDisableCalledOnlyOnceTest test; Fix tests
2023-01-02 23:43:33 +08:00
Karlatemp
6b1aa9c80b
[console] Fix JvmPlugin disabling multiple times; Introduce JvmPlugin status
2023-01-02 23:43:33 +08:00
Karlatemp
2f759c199a
[console] Fix plugin disabling order control
2023-01-02 23:43:32 +08:00
Karlatemp
b59c7336d0
[console] Make JvmPluginLoader a child job of PluginManager
2023-01-02 23:43:32 +08:00
Him188
38737a473a
[mock] Remove MockConsoleImplementation.createLogger
because it had been removed in its super class
...
This commit fixes 7908edb57b
2022-12-27 17:50:41 +00:00
Him188
0a60535d46
[console] Ignore APIs marked with @ExperimentalCommandDescriptors
in ABI compatibility checks
2022-12-27 16:01:03 +00:00
Him188
7908edb57b
[core+console] Raise deprecation level for 2.14, API including:
...
- EventChannel.asChannel
- (internal) syncFromEventImpl
- EmptyMessageChain
- GroupEntranceAnnouncementChangeEvent
- MiraiConsole.createLogger
- SingletonExtensionPoint
2022-12-27 15:53:12 +00:00
Karlatemp
a3f9755e8e
[console] Disable network log in testing
2022-12-18 22:36:13 +08:00
Karlatemp
e5a48566df
[console/logging] Fix test naming
2022-12-17 20:33:33 +00:00
Karlatemp
46cd06d261
[console/logging] Fix typo fix nameing
2022-12-17 20:33:33 +00:00
Karlatemp
6c295723db
[console/logging] slf4j binding support
2022-12-17 20:33:33 +00:00
Karlatemp
7537e29b0e
[console/logging] Always load LoggerConfig
; Add LoggerConfig.Binding
settings
2022-12-17 20:33:33 +00:00
Karlatemp
8a07308a56
[console/logging] Introduce LoggerControlState
for optimize performance
2022-12-17 20:33:33 +00:00
Him188
65e49283a2
Revert "[console] Enable atomicfu compiler", due to incorrect behavior of atomicfu. See #2329
...
This reverts commit 440122d4f9
.
2022-11-27 20:07:32 +00:00
cssxsh
5618333a9d
[console/plugin] Fix multi-dependency-repositories not working ( #2358 )
2022-11-23 10:39:21 +00:00
Karlatemp
841f6e5326
[console] Fix gradle user home detecting; Fix #2357
2022-11-22 13:02:29 +08:00
赵怡然
0e4d5efd38
[console] 修复 JvmPluginInternal 在 Android java.lang.NoSuchMethodError ( #2354 )
...
* fix java.lang.NoSuchMethodError
fix java.lang.NoSuchMethodError: No virtual method getDeclaredAnnotation(Ljava/lang/Class;)L
* fix formatting
Co-authored-by: Him188 <Him188@mamoe.net>
2022-11-18 23:26:52 +00:00
Karlatemp
d47221fa35
[console] Add LegacyCompatibilityLayerClassLoader
; Load ktor 1.6.8 as fallback; fix #2297
2022-10-29 23:27:17 +08:00
Karlatemp
a47a8e1c2a
[console] [internal] No longer fast resolve netty to core
2022-10-29 23:27:16 +08:00
Karlatemp
d648e56867
[console] Add
https://repo1.maven.org/maven2/ to default servers
2022-10-29 22:57:03 +08:00
Him188
440122d4f9
[console] Enable atomicfu compiler
2022-10-29 13:14:35 +01:00
cssxsh
03fc3a3445
[console] Unwrap InvocationTargetException when executing commands ( #2258 )
2022-10-28 14:07:40 +01:00
cssxsh
5bf9fdf5b6
[console] feat: load SPI Service in jvm plugin ( #2247 )
...
* feat: load SPI Service in jvm plugin
* add: api dump
* fix: docs
2022-10-28 14:06:41 +01:00
cssxsh
1b5f45cd70
feat: more login info ( #2304 )
2022-10-26 18:46:43 +01:00
Him188
1f8524fb04
Fix all compiler warnings throughout the project
2022-10-21 17:00:37 +01:00
Karlatemp
bf362f9d75
[console] Add version bar before logo
2022-09-20 12:38:41 +08:00
Karlatemp
678fe6fd6b
[console] Print logo to help users distinguish between mirai-console and mirai-console-loader
2022-09-18 22:26:24 +08:00
Karlatemp
500ad3cc9e
Fix console integration test
2022-09-06 18:21:40 +08:00
Karlatemp
af2b38d476
Make MultiFilePluginDataStorageImpl.logger
lazy init
2022-09-06 18:21:36 +08:00
Karlatemp
a94c98d990
Add FrontendLoggingInitContext.invokeAfterInitialization
2022-09-06 18:21:25 +08:00
cssxsh
e00f592b84
[console] feat: login use auto login account configuration ( #2209 )
...
* feat: other account configuration
* add: test
2022-09-02 07:50:08 +08:00
Karlatemp
969c77f146
[console] Change convention of createLoggerFactory()
2022-08-28 22:52:48 +08:00
Him188
f0651c81c6
[core+console] Improve logging hierarchy: ( #2196 )
...
- always use factory API from mirai-core
- Terminal is still overriding standard outputs
- plugins are forbidden to override logging framework (this was allowed but not working before)
2022-08-27 18:46:16 +08:00
Him188
2d393ee0b0
[core+console] Raise deprecation level for 2.13: ( #2213 )
...
- warningSince 2.11 -> errorSince 2.13
- errorSince 2.12 -> hiddenSince 2.13
- some experimental APIs removed
2022-08-27 14:06:03 +08:00
Him188
3ae6c2802e
[console] Change Aliyun public repository to central respiratory. Fix #2184
2022-08-20 16:19:40 +08:00
微莹·纤绫
85d81efc4a
[console] Console artifacts downloading progress ( #2140 )
...
* Console artifacts downloading progress
* Add missing code
* Update kdoc & naming
* make `terminalDisplay` internal
* improve performance
* Update DownloadingProgress.kt
[skip ci]
* Rename DownloadingProgress to ProcessProgress
* make ProcessProgress stable
2022-08-20 15:58:03 +08:00
cssxsh
9db5d2c4b5
Add client properties to MessageSyncEvents, add OtherClientCommandSenderOnMessageSync and MessageSyncEvent.toCommandSender
2022-08-03 11:27:39 +08:00
cssxsh
6bb2bf23aa
支持 vararg 和原生类型数组命令参数 ( #1760 )
...
* fix: vararg
* marge
* add: other array test
* api dump
2022-07-31 15:56:14 +08:00
Karlatemp
9a8b696132
[Console] Track plugin file path into error stack; iTXTech/mirai-console-loader#128
2022-07-25 01:47:24 +08:00
微莹·纤绫
f256926821
Fix CommandSender extensions ( #2105 )
2022-07-20 15:09:48 +08:00
Him188
21c4a5ba04
Use kotlinx-coroutines-test
2022-07-20 00:30:16 +08:00
Him188
4c6b879873
Upgrade to Ktor 2.0.2, use CIO engine for linux targets; Remove ktor-client-okhttp from mirai-core-api jvmBaseMain
...
Use Input.readAllText instead of Input.readText, because readText only reads one buffer.
#2084
2022-07-20 00:30:16 +08:00
Him188
13dadd5a95
Implement mirai-core for native
2022-07-20 00:30:16 +08:00
Him188
ff2a8acb0c
Implement multiplatform modules
2022-07-20 00:30:16 +08:00
Him188
d96641dedb
Configure HMPP project structure
2022-07-20 00:30:16 +08:00
Karlatemp
1be39eeb0a
Hard linking jdk builtin modules; fix #2141 ; fix #2126
...
- Not allow override jdk modules
2022-07-08 13:08:34 +08:00
Karlatemp
1110a6f3fa
Fix private dependencies resolving; fix #2108
2022-06-22 17:43:09 +08:00
Karlatemp
f69fdb7ac1
improve console it project structs
2022-06-22 17:14:21 +08:00
Karlatemp
f48940a897
Prefer SystemCommandSender; fix SystemCommandSender error message rendering
2022-06-18 23:49:54 +08:00
Him188
f527aa9b40
Update docs for commands
2022-06-17 15:00:20 +01:00