Him188
850fcd0afe
Fix build
2021-06-24 01:19:49 +08:00
Him188
45987030b9
Gradle 7.1
2021-06-24 01:11:25 +08:00
Him188
b02fa15b33
Broadcast BotReloginEvent stably
2021-06-24 01:04:39 +08:00
Noire
b8de3f77ff
GroupAnnoucement ( #1141 )
...
* Add more comment about GroupAnnouncement.kt
* Edit comment about GroupAnnouncement.kt
Provide experimental api
* Api Dump
* After review
* Change to interface and API dump
* More change
* More change
* More more change
* Some change
* api dump
* Fix name
* Redesign Announcement public api
* Edit comment about GroupAnnouncement.kt
Provide experimental api
* After review
* Change to interface and API dump
* More change
* Modify to extension fun
* Fix sendAnnouncement and change place
* Change Group.deleteAnnouncement to group companion
* fix publish
* Api dump
* Reformat code
* Add `@since 2.7`
* Fix build
Co-authored-by: Him188 <Him188@mamoe.net>
2021-06-24 00:59:53 +08:00
Him188
a8dbd761eb
Use start=UNDISPATCHED
in launchRecovery
2021-06-24 00:42:57 +08:00
Him188
47f1ae8134
Enable tests NettyHandlerEventTest
#1311
2021-06-23 15:44:52 +08:00
Him188
2e47740b1b
Move setState
from coroutine scope completion handler to network.close
, fix #1311
2021-06-23 15:44:52 +08:00
Him188
8d4eb45386
Rearrange functions in NettyNetworkHandler
2021-06-23 15:44:52 +08:00
sandtechnology
76e57d4aae
Update system face ( #1260 )
...
* Update system face
* Update api dump
* Update api dump for android
* Update system face which updated today
* Update api dump
* Add new system face
* Update apidump
2021-06-23 15:00:06 +08:00
sandtechnology
636584cdd1
ECDH: Replacing old curve, thanks to MiraiGo ( #1237 )
...
* ECDH: Replacing old curve, thanks to MiraiGo
* Move ecdhWithPublicKey to EcdhInitialPublicKeyUpdater
* Making ECDHInitialPublicKey internal
* Remove useless log
* Improve message
Co-authored-by: Him188 <Him188@mamoe.net>
Co-authored-by: Him188 <Him188@mamoe.net>
2021-06-23 14:59:12 +08:00
sandtechnology
ad7f95d0f0
Fix #1192 , request admin when loading groups ( #1257 )
...
* Fix #1192 , request admin when loading groups
* Improve message
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2021-06-23 14:58:56 +08:00
zhou2008
7ed9f280d7
Update ForwardMessage.kt ( #1275 )
2021-06-23 14:57:48 +08:00
Karlatemp
28c2309fbb
Add version info in META-INF/MANIFEST.MF
( #1355 )
2021-06-23 14:57:34 +08:00
Karlatemp
8a1154a0d7
2.7-M2-dev-1
2021-06-23 11:45:39 +08:00
Karlatemp
509be910c0
Avoid resource leak
2021-06-22 18:14:29 +08:00
Karlatemp
d1fdddf9e6
Break network when received LoginFailedException
; fix #1352
2021-06-22 13:37:54 +08:00
Karlatemp
7b0552558b
Update README.md
2021-06-21 22:31:38 +08:00
Karlatemp
39e312f71c
Add description of network log files; close #1343
2021-06-21 22:19:13 +08:00
Him188
10dbd4c5c0
apiDump. Note: THIS IS A BINARY-COMPATIBLE CHANGE:
...
Unit-coercion in blocking bridges are not supported with IR compiler, so Java code compiled against the legacy bridges will fail with `NoSuchMethodError`.
However, we've been providing the new bridges that are still supported by v2.7+ since v2.2, about half a year ago. So the actual group of affected users will be small.
Still, we are going to review feedback on the 2.7-M1 release to see if legacy bridges are still important.
2021-06-20 01:58:02 +08:00
Him188
415f133cbc
Fix Flow<Message>.toMessageChain
2021-06-20 01:36:32 +08:00
Him188
8840ba9e6f
Remove contract
in MiraiLogger
2021-06-20 00:21:49 +08:00
Him188
dd783f75f6
Revert "Add mirai-core-compileKotlinJvm.txt and mirai-core-compileKotlinAndroid.txt"
...
This reverts commit 31bdd82b
2021-06-19 23:59:02 +08:00
Him188
f2ca8e1eff
Revert "Fix kt compiler errors ( #1159 )"
...
This reverts commit b227f719
2021-06-19 23:58:27 +08:00
Him188
006b63e93e
Use Kotlin IR compiler
2021-06-19 18:35:53 +08:00
Him188
c37457cafb
Cleanup and move local serializable classes to top-level
2021-06-19 18:28:21 +08:00
Him188
813ef2b1e6
Remove redundant tests
2021-06-19 17:41:32 +08:00
Him188
b4b25be626
Simplify setState
2021-06-19 17:16:07 +08:00
Him188
f229757395
Redesign BotInitProcessor
to adjust force offline adjacently after login
2021-06-19 15:20:49 +08:00
Him188
3cc0973edd
Revert "Add PacketInterceptor
"
...
This reverts commit 04656d7a
2021-06-19 14:52:26 +08:00
Him188
d654e95f0f
Revert "Fix fast login"
...
This reverts commit 77e5e91f
2021-06-19 14:52:23 +08:00
Karlatemp
77e5e91fc4
Fix fast login
2021-06-19 02:30:06 +08:00
Karlatemp
04656d7a03
Add PacketInterceptor
2021-06-19 02:28:16 +08:00
Karlatemp
e816755414
Fix state switching when switching to CLOSED
2021-06-19 02:26:47 +08:00
Karlatemp
627e9baa6f
Fix NettyNetworkHandler
debug message
2021-06-19 02:25:38 +08:00
Karlatemp
8b5b76e32e
Run BaseStateImpl.setState
with lock
2021-06-19 02:24:59 +08:00
Him188
b767d9ad1b
2.7-M1-dev-6
2021-06-19 01:01:21 +08:00
Him188
c61b814009
Update mirai-console ref
2021-06-19 00:53:14 +08:00
Him188
b33d1edf03
Add SingleEntrantLock
2021-06-19 00:29:54 +08:00
Him188
833c9d2c97
Do not turn state into Connecting in handlePipelineException
2021-06-19 00:06:14 +08:00
Him188
faed38da9e
Do not set state to CLOSED multiple times on close
2021-06-19 00:06:14 +08:00
Him188
99d232efe8
Remove redundant synchronization in NetworkHandlerSupport.setState
2021-06-19 00:05:50 +08:00
Him188
eba6706b47
Allow to change whether LoggingStateObserver is enabled in runtime
2021-06-19 00:04:39 +08:00
Him188
997c3ea2cf
Remove SsoProcessor.createObserverChain
2021-06-19 00:04:32 +08:00
Him188
b8b8cb1fad
Make LoggingStateObserver
into use
2021-06-19 00:04:24 +08:00
Him188
44bfe3dbb6
Make NetworkHandlerFactory
fun interface
2021-06-19 00:04:22 +08:00
Him188
c6d9825cf6
Add name to StateObverse
2021-06-19 00:04:20 +08:00
Him188
fbf7142eaf
Improve performance of StateObserver.chainOfNotNull
2021-06-19 00:04:10 +08:00
Him188
f1d58c4953
Fix CombinedStateObserver.beforeStateChanged
2021-06-19 00:04:05 +08:00
Him188
951f3b2bc4
Reduce CombinedStateObserver hierarchy: use List
2021-06-19 00:03:45 +08:00
sandtechnology
48f9ca0d48
Fix #1334 , update pb and fix private image upload issue ( #1335 )
...
* Fix #1334 , update pb and fix private image upload issue
* Keeping consistent in annotation
* Restore old comment
* Let extendinfo default to null
2021-06-19 00:00:16 +08:00