Commit Graph

8090 Commits

Author SHA1 Message Date
Him188
5358b3e4d0
[core] slightly improve performance of toUHexString 2022-08-25 13:20:09 +08:00
Eritque arcus
b4066ac6d1
NextEventAndIntercept and NextMessageAndIntercept (#2177)
* rewrote pr, no tested

* test and change param position

* enable ci

* finish test

* modified as required

* typo
2022-08-23 18:07:03 +08:00
Him188
3ae6c2802e
[console] Change Aliyun public repository to central respiratory. Fix #2184 2022-08-20 16:19:40 +08:00
Him188
648681a2ee
[core] Avoid deserialization error on sending group announcement, helps #2069.
Note this can not actually solve the problem that announcement had failed to send.
2022-08-20 16:15:33 +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
Him188
a843729f53
[docs] Add changelog for 2.12.2 2022-08-16 11:41:00 +08:00
Him188
fa9fa2cb89
[docs] Fix minor typo. Fix #2119 2022-08-16 11:39:15 +08:00
Him188
7ff61becee
[core] fix up 2e4cab43: Rename MiraiInternalMessageFlag to SkipEventBroadcast; Do not broadcast pre- and post-message events for FileMessages that sent internally. #2195
full rev: 2e4cab4365
2022-08-16 11:33:56 +08:00
Him188
9dc25bb1f3
[core] fix up previous 2e4cab43: fix omitted change. #2195 2022-08-16 11:33:00 +08:00
Him188
2e4cab4365
[core] Fix sending FileMessage on uploadNewFile (regression in 2.12.0), fix #2195 2022-08-16 10:54:55 +08:00
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