Him188
6293208c26
Configure apiBuild dependsOn jar tasks only
2022-07-20 00:30:16 +08:00
Him188
7836b2a4b3
Broadcast BotOfflineEvent.Active after state OK -> CLOSED
2022-07-20 00:30:16 +08:00
Him188
c260abb6f3
Cancel TestEventDispatcher jobs after test
2022-07-20 00:30:16 +08:00
Him188
a964f7ee87
Improve core network stability:
...
Close network and do logout only if networkInitialized
core, network: Guard changing state
core, network: Protect state overriding when setting a state
Always close NetworkHandlerSupport even if CommonNetworkHandler is in CLOSED state
2022-07-20 00:30:16 +08:00
Him188
2f537f90b4
Use different types for TestState
2022-07-20 00:30:16 +08:00
Him188
daf9c4a208
Configure GitHub Actions for native
2022-07-20 00:30:16 +08:00
Him188
21d883b630
Introduce higher performance compression/decompression methods for different purposes for common
2022-07-20 00:30:16 +08:00
Him188
4f61417af6
Use Zlib for compression/decompression on native
2022-07-20 00:30:16 +08:00
Him188
89fa379f8f
Add native test entrance
2022-07-20 00:30:16 +08:00
Him188
d27228c8c8
Rewrite MessageSerializers, register serializers in each MessageProtocol, implement for native targets
2022-07-20 00:30:16 +08:00
Him188
13dadd5a95
Implement mirai-core for native
2022-07-20 00:30:16 +08:00
Him188
92222cf1e0
Migrate -Xopt-in
to -opt-in
2022-07-20 00:30:16 +08:00
Him188
732e61e37d
Ensure for all MessageChain subclasses, equals
, hashCode
give consistent results.
2022-07-20 00:30:16 +08:00
Him188
7088835402
HMPP
2022-07-20 00:30:16 +08:00
Him188
92942c1037
Improve setState stability
2022-07-20 00:30:16 +08:00
Him188
ff2a8acb0c
Implement multiplatform modules
2022-07-20 00:30:16 +08:00
Him188
ce87400998
Use ktor-io to replace kotlinx-io
2022-07-20 00:30:16 +08:00
Him188
0571be1a55
Commonize projects: mirai-core series, and mirai-console-compiler-annotations
2022-07-20 00:30:16 +08:00
Him188
d96641dedb
Configure HMPP project structure
2022-07-20 00:30:16 +08:00
Karlatemp
0e1585e898
Fix senderName render of ForwardMessage; fix #2143
2022-07-09 10:59:41 +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
Him188
0f64513db5
Clearify docs on concatenating messages
2022-07-06 00:09:33 +08:00
Stone
a068578081
Add sdk AliceBot ( #2130 )
2022-07-03 21:27:20 +08:00
sandtechnology
057708e637
Fix broken image and gif issue ( #2114 )
...
* Try to fix broken image issue #1699
* Re-add deleted comma at tail
2022-07-01 09:00:27 +08:00
Him188
8ef909a306
优化指令文档细节
2022-07-01 00:12:18 +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
3c3657969f
skip publication setup for mirai-console-gradle
2022-06-22 17:02:23 +08:00
Karlatemp
f48940a897
Prefer SystemCommandSender; fix SystemCommandSender error message rendering
2022-06-18 23:49:54 +08:00
Him188
9d33c05aad
Set version in dev to 2.13.0
2022-06-18 14:46:38 +01:00
Him188
16bbfdd36a
Override vulnerable Log4J version in mirai-console-gradle
2022-06-18 13:02:38 +01:00
Him188
f7906b4aef
Use "com.gradle.plugin-publish" 1.0.0-rc-3
2022-06-18 13:02:38 +01:00
Him188
36159c39f4
Remove bintray in mirai-console-gradle
2022-06-18 13:02:38 +01:00
Him188
f527aa9b40
Update docs for commands
2022-06-17 15:00:20 +01:00
Him188
90bc48177a
Allow overriding CommandArgumentContext in JCompositeCommand and JSimpleCommand
2022-06-17 15:00:20 +01:00
Him188
eeb361358a
Add CommandContext and support retrieving original message chain from command, close #1835
2022-06-17 15:00:20 +01:00
Karlatemp
586c61bbab
Fix navbar of new page ConsoleTerminal
2022-06-15 18:24:40 +08:00
Him188
3e8a8dda50
Update UserManual for command arguments, close #1952
2022-06-15 11:12:25 +01:00
Him188
371673678e
Update hints for builtin ValueArgumentParsers
2022-06-15 11:10:12 +01:00
Karlatemp
90fe69b6f2
Update docs
2022-06-15 12:50:13 +08:00
Him188
2dcff0cf45
Reduce unnecessary logs from packetLogger
2022-06-14 11:22:04 +01:00
Him188
a4e7fda416
Raise deprecation level for 2.12
2022-06-14 11:19:44 +01:00
Him188
9df7c4bda4
Update RunNoticeRecorder
2022-06-14 10:49:48 +01:00
Him188
f97feb32c4
Add docs for mirai-console Logging and update UserManual
2022-06-14 10:38:54 +01:00
Him188
98e05f3bf4
Improve comments in LoggerConfig
2022-06-14 10:24:38 +01:00
Him188
091c86b007
Fix RunTerminal configuration
2022-06-14 10:23:21 +01:00
Hugo
7bf2994706
fix broken link to MCL CLI usage doc ( #2095 )
2022-06-14 09:00:50 +01:00
Him188
70c8255b6b
相反于加载顺序卸载插件, close #1994
2022-06-13 19:48:09 +01:00
Eritque arcus
4408750847
mark plugin disabled when it throw exception during enable process ( #2022 )
...
* 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>
2022-06-13 19:45:39 +01:00
cssxsh
2d41a617fe
在 MultiFilePluginDataStorage.load 失败时,备份数据文件 ( #2089 )
...
* feat: load data failure, backup data file
* feat: load data failure, backup data file
* feat: currentTimeMillis
2022-06-13 19:45:22 +01:00