Commit Graph

8370 Commits

Author SHA1 Message Date
cssxsh
5618333a9d
[console/plugin] Fix multi-dependency-repositories not working (#2358) 2022-11-23 10:39:21 +00:00
Karlatemp
2682b1665c
[skip ci] Update bug.yml 2022-11-23 17:56:26 +08:00
Karlatemp
841f6e5326
[console] Fix gradle user home detecting; Fix #2357 2022-11-22 13:02:29 +08:00
Karlatemp
0ddf1e85fc
[core/mock] Introduce AvatarGenerator 2022-11-22 13:02:28 +08:00
赵怡然
0e4d5efd38
[console] 修复 JvmPluginInternal 在 Android java.lang.NoSuchMethodError (#2354)
* fix java.lang.NoSuchMethodError

fix java.lang.NoSuchMethodError: No virtual method getDeclaredAnnotation(Ljava/lang/Class;)L

* fix formatting

Co-authored-by: Him188 <Him188@mamoe.net>
2022-11-18 23:26:52 +00:00
Karlatemp
372c25024c
[core] Fix temporary buffer acquiring; Fix #2309 2022-11-18 20:41:53 +08:00
Karlatemp
b38687a3ea
[core] Temporary disable Reconnect without slider request; Reduce device banning caused by loginsolver error 2022-11-15 18:20:33 +08:00
Karlatemp
90f2fee243
[core] Don't reconnect if error in onSolveSliderCaptcha 2022-11-15 18:18:57 +08:00
Karlatemp
85bf607b60
[core] Include login solver information in UnsupportedSliderCaptchaException 2022-11-15 18:15:36 +08:00
Karlatemp
bbf3c09ae4
[core/debug] Fix build 2022-11-14 06:02:46 +08:00
Karlatemp
fe70187881
[core/debug] Add utils for debug running; Update docs for launch debug run 2022-11-14 00:33:07 +08:00
基于人工的bug生成器
7d441393ac
[docs] Add a click link for "Contacts 章节" (#2344) 2022-11-11 16:40:11 +00:00
Karlatemp
28030dfb05
[core] [logging] Change message color of WARNING & ERROR; fix #2336 2022-11-09 22:57:10 +08:00
Karlatemp
4061abff52
[build] Bump asm to 9.4 2022-11-08 17:49:57 +08:00
Karlatemp
dd143890cd
[core] Fix bad atomic 2022-11-08 12:41:02 +08:00
cssxsh
1c79da0f38
[core] feat: Announcement confirmed member api (#2255)
* feat: Announcement confirmed

* add: native

* add: todo

* fix: dump
2022-11-03 10:42:21 +00:00
Him188
a77c4e2adf
[build] Add notes for relocation 2022-11-02 19:29:02 +00:00
Him188
f24ca9628f
[core] Optimize array expansions 2022-11-02 19:29:02 +00:00
Karlatemp
7cbff5a8c2
[console] Fix another concurrently logic 2022-11-02 18:02:24 +08:00
Karlatemp
9e7fd79225
[console] Let JLineInputDaemon use lock terminalExecuteLock; Try to fix \ #2322 2022-11-02 00:24:06 +08:00
Karlatemp
07000456cf
[console] Fix locking; Try to fix \ #2322 2022-11-02 00:10:43 +08:00
微莹·纤绫
4abb3e3703
[core] Introduce Flow<T>.toStream() for simply implement Streamable (#2259)
* [core] Introduce `Flow<T>.toStream()` for simply implement `Streamable`

* Drop `unintercepted` support

* fix ci

* update test
2022-10-31 13:09:58 +00:00
Him188
e47b205e0d
[core] Fix docs of examples on ExternalResource 2022-10-31 10:53:10 +00:00
Him188
9613c9b7e5
[core] Add more information on LIMITED_MESSAGING 2022-10-31 10:44:13 +00:00
Him188
573f08955c
[core] Show specific reason for error 46 while sending message. Close #2127 2022-10-31 10:41:06 +00:00
Him188
4abcb7fb4e
[docs] Add release note for 2.13.0 2022-10-31 10:28:49 +00:00
Him188
c59de206cb
[core] Add default implementation of deprecated LoginSolver.onSolveUnsafeDeviceLoginVerify 2022-10-31 09:58:28 +00:00
Karlatemp
d47221fa35
[console] Add LegacyCompatibilityLayerClassLoader; Load ktor 1.6.8 as fallback; fix #2297 2022-10-29 23:27:17 +08:00
Karlatemp
a47a8e1c2a
[console] [internal] No longer fast resolve netty to core 2022-10-29 23:27:16 +08:00
Karlatemp
d648e56867
[console] Add https://repo1.maven.org/maven2/ to default servers 2022-10-29 22:57:03 +08:00
Him188
440122d4f9
[console] Enable atomicfu compiler 2022-10-29 13:14:35 +01:00
Him188
7e84330262
[core] Use netty-handler instead of netty-all to reduce size 2022-10-29 13:11:30 +01:00
Him188
564a7ce8f8
[core] Review atomic calls and enable atomicfu compiler. Close #2315 2022-10-29 13:04:37 +01:00
Him188
ab8e53fc76
[core] Suppress NOTHING_TO_INLINE warnings for AtomicIntSeq 2022-10-29 11:57:01 +01:00
Him188
2baba6a1f3
[core] Fix up previous commit 81a09549e7 2022-10-29 11:56:08 +01:00
Him188
d0f825b0b0
[core] Replace AtomicIntSeq with value class implementations to optimize space. Close #2287 2022-10-29 11:49:30 +01:00
Him188
81a09549e7
[core] Fix potential memory leak with buildPacket 2022-10-29 11:36:41 +01:00
cssxsh
9818c08054
[core] Add sign event (#2217)
* add: SignEvent

* add: SignEvent

* add: hasRank

* add: api dump

* add: toString

* add: toString

* fix: sign for review
2022-10-29 11:11:20 +01:00
Nekoer
17361c745a
Try to permit PR running 2022-10-29 18:08:15 +08:00
cssxsh
c9d1d386b1
fix: ANDROID_PHONE and ANDROID_WATCH (#2312)
* fix: ANDROID_PHONE and ANDROID_WATCH

* fix: ANDROID_PHONE
2022-10-28 22:49:09 +01:00
Him188
9c3514dc89
[core] Remove necessary inlining in MessageSvcPbSendMsg to improve debugging experience 2022-10-28 14:46:24 +01:00
Him188
36cd688382
[core] Improve documentation for Group files 2022-10-28 14:42:28 +01:00
Him188
a8995d63a6
[build] Set version to 2.14.0 2022-10-28 14:40:00 +01:00
cssxsh
03fc3a3445
[console] Unwrap InvocationTargetException when executing commands (#2258) 2022-10-28 14:07:40 +01:00
cssxsh
5bf9fdf5b6
[console] feat: load SPI Service in jvm plugin (#2247)
* feat: load SPI Service in jvm plugin

* add: api dump

* fix: docs
2022-10-28 14:06:41 +01:00
cssxsh
1b5f45cd70
feat: more login info (#2304) 2022-10-26 18:46:43 +01:00
Karlatemp
48143d7b3c
[console] Process signals later if console not yet initialized; Ignore window resized signal 2022-10-23 12:55:25 +08:00
Him188
1f8524fb04
Fix all compiler warnings throughout the project 2022-10-21 17:00:37 +01:00
Him188
c1f7149aa7
[mock] Add OtherClient parameter to broadcastMsgSyncEvent 2022-10-21 16:26:58 +01:00
Him188
25e66d19c7
[core] Filter out relocated ktor dependencies in runtime except for mirai-core-utils and mirai-core-all. Fix #2291 2022-10-21 16:09:27 +01:00