Him188
fd67ba9204
Configure shadow relocation and add checks for multiplatform publishing
2022-07-20 00:30:16 +08:00
AdoptOSS
dc747ea438
fix: platform socket on Windows ( #2121 )
...
* fix: platform socket on Windows
* fix(workflow): use win platform ssl provider instead of openssl for cURL
openssl can't use system's native CA store by default
2022-07-20 00:30:16 +08:00
Him188
2022074007
Minor docs update for NetworkHandler
2022-07-20 00:30:16 +08:00
AdoptOSS
7325c1f7e2
native: 优化 build script 及 actions,修复 ECDH 相关资源释放问题 ( #2110 )
...
* build: fix build on Windows
* test: fix ContentEqualsTest on native
* build: allow disabling targets with property
* fix: free ECDH-related resources properly on native
avoid memory leaking (usually on *nix) or crash (usually on Windows)
Signed-off-by: AdoptOSS <adoptoss@outlook.com>
* build(workflow): remove invalid options
* fix(styling): `mirai.target` property
* build(workflow): try to limit memory usage during mirai-console:tools:gradle-plugin:integTest
* enhance(test): use buildList
* build(workflow): retry
Co-authored-by: ArcticLampyrid <arcticlampyrid@outlook.com>
2022-07-20 00:30:16 +08:00
Him188
afedbdad7b
Fix services
2022-07-20 00:30:16 +08:00
Him188
f962618bee
Fix compiler warnings
2022-07-20 00:30:16 +08:00
Him188
21c4a5ba04
Use kotlinx-coroutines-test
2022-07-20 00:30:16 +08:00
Him188
ede060004b
Add docs for implementing new message
2022-07-20 00:30:16 +08:00
Him188
e1123e9a96
Move AudioTest to message/data
2022-07-20 00:30:16 +08:00
Him188
0f26dbff5c
Add test for test Audio extraData
2022-07-20 00:30:16 +08:00
Him188
dcc418a557
Add docs for building core
2022-07-20 00:30:16 +08:00
Him188
cca40b8aa3
Add dummy jvmBase target for IDE
2022-07-20 00:30:16 +08:00
Him188
7dbb1a5ad7
Add RunConfigurations
2022-07-20 00:30:16 +08:00
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