Commit Graph

7979 Commits

Author SHA1 Message Date
Him188
4230a6e84c Remove MiraiLogger.subLogger in mirai-core-api to overcome declaration clash on native 2022-07-20 00:30:16 +08:00
Him188
fe0a4de368 Produce shared libraries and static libraries 2022-07-20 00:30:16 +08:00
Him188
dab703869f core: Close and join all jobs after each 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
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