Commit Graph

8280 Commits

Author SHA1 Message Date
Him188
a51f55124c
Mark ExternalResource.isAutoClose, ExternalResource.useAutoClose and ExternalResource.runAutoClose stable 2022-08-16 10:26:45 +08:00
Him188
39074f1764
[build] Update to Kotlin 1.7.10:
Kotlin 1.7.10
kotlinx-serialization 1.3.3
kotlinx-coroutines 1.6.4
kotlinx-atomicfu 0.17.3
Ktor 2.1.0
2022-08-15 18:36:40 +08:00
Him188
e6bef9ce1e
[core/common] Process packet body in launched coroutines, instead of suspending the processing queue. part of #2160. 2022-08-15 16:41:17 +08:00
Him188
9dd57de844
[core] Fix cache dir on native. part of #2160. 2022-08-15 16:18:50 +08:00
Him188
74dfa9b71a
[docs] use relative link for release note for 2.13.0-M1 2022-08-15 16:11:24 +08:00
Him188
476a9fa3d7
editorconfig: add config for Markdown wrap text 2022-08-15 16:10:25 +08:00
Him188
1f69b09644
[docs] Add release notes for 2.13.0-M1 2022-08-15 16:10:25 +08:00
微莹·纤绫
a3cb15f13a
[core] Fix forward message seq-id; Fix ordering on iOS (#2191) 2022-08-15 00:44:47 +08:00
Eritque arcus
6b8c054948
[core] Support change friend remark (#2112)
* feat: support ChangeFriendName

* fix: register factory

[skip ci]

* rebase dev

* kdoc?

* api dump

* kdoc

* rebase dev

* remove unnecessary modification

* info::remark -> info.remark

* rebase dev

* api dump

* try to fix CI

* Add `@since` for `Friend.remark` setter

Co-authored-by: Him188 <Him188@mamoe.net>
2022-08-14 10:15:42 +08:00
Eritque arcus
13c473fa4e
[build] use github.event.pusher replace github.event.push (#2173) 2022-08-12 19:31:28 +08:00
Him188
f96c156d82
[core] Implement ConstrainSingle for Audio (fix #2093) 2022-08-12 09:14:16 +08:00
Karlatemp
ff74129974
[core] Fix cache directory resolving 2022-08-09 21:51:54 +08:00
Karlatemp
c685a77c68
[core] Fix highway uploading 2022-08-09 21:44:50 +08:00
Him188
2df0fc2e4d
[core] change server list logging priority from info to verbose 2022-08-05 01:30:07 +08:00
ccr
bbbaa92b59
docs: 订正一些配置文件的名字 (#2182)
[skip ci]
2022-08-04 22:50:20 +08:00
Him188
0fe0e7afb8
[core] Fix TestFactory checks 2022-08-03 11:48:51 +08:00
Him188
bbd89417ea Add addOtherClient for GroupExtensions for tests, add other clients before running tests for MessageSyncEvent 2022-08-03 11:27:39 +08:00
cssxsh
9db5d2c4b5 Add client properties to MessageSyncEvents, add OtherClientCommandSenderOnMessageSync and MessageSyncEvent.toCommandSender 2022-08-03 11:27:39 +08:00
Him188
7dee5fe6c8
[core/test] Fix AbstractTest.checkTestFactories 2022-07-31 19:39:58 +08:00
Him188
112d4e7927
[docs] Update docs for contributing 2022-07-31 19:31:56 +08:00
cssxsh
6bb2bf23aa
支持 vararg 和原生类型数组命令参数 (#1760)
* fix: vararg

* marge

* add: other array test

* api dump
2022-07-31 15:56:14 +08:00
Him188
eeb10cc89a
[core] Update docs for implementations 2022-07-31 15:44:48 +08:00
Him188
c383d3bf9c
Add changelog for 2.12.1 2022-07-31 15:01:18 +08:00
Him188
2a711fc815
Archive history changelogs 2022-07-31 15:01:18 +08:00
Karlatemp
034e256f2f
update docs [skip ci] 2022-07-30 14:59:57 +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
Karlatemp
42334c42c5
[Terminal] Force shutdown after double Ctrl+C 2022-07-22 19:30:38 +08:00
cssxsh
c38740ce2f
在 Image 序列化时支持全部属性 (#2036)
* fix: Image Serializer Delegate

* use: api dump

* add: test Image serialization

* fix: type (SerialName) and deserialize

* fix: native test
2022-07-22 03:05:08 +08:00
Him188
cd60519b60
Update docs for contributing 2022-07-21 00:34:55 +08:00
Him188
f5ff4be3a2
idea: Support 221-222. fix #2124 2022-07-20 18:51:25 +08:00
微莹·纤绫
f256926821
Fix CommandSender extensions (#2105) 2022-07-20 15:09:48 +08:00
Him188
e5cad1d0ba
Rewrite MessageSerializers for new project structure (#2159) 2022-07-20 15:09:09 +08:00
Him188
699718f958 Add multiplatform DynamicTest 2022-07-20 00:30:16 +08:00
Him188
3bcdf9b640 Optimize gradle properties 2022-07-20 00:30:16 +08:00
Him188
60f477b794 Configure publishing for HMPP 2022-07-20 00:30:16 +08:00
Him188
793fdc05b4 Disable JVM tests for Windows 2022-07-20 00:30:16 +08:00
Him188
bdf412cd62 Enable all targets when IDEA active 2022-07-20 00:30:16 +08:00
Him188
b82517e513 actions publishing 2022-07-20 00:30:16 +08:00
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