Him188
aaab3ae109
Merge branch 'dev' into android_target
...
# Conflicts:
# build.gradle.kts
2021-02-25 10:39:51 +08:00
Him188
cdf2235b7a
Fix typo
2021-02-25 09:43:10 +08:00
Him188
f010b1150c
Fix platform declarations in mirai-core-utils
2021-02-25 09:41:05 +08:00
Him188
2c14f0016f
Disable atomicFU compiler plugin
2021-02-25 09:35:51 +08:00
Him188
6cf3d6b190
Fix tests package name
2021-02-25 09:31:30 +08:00
Him188
4d3f8ad56b
Remove mistakenly added kotlin-test dependencies in main source sets
2021-02-25 09:26:57 +08:00
Him188
abf9baefc1
Remove @file:JvmName on PlatformLogger actual declarations, fix potential compiling issue
2021-02-25 07:54:36 +08:00
Karlatemp
7a7c88b783
Android api level check
2021-02-25 00:12:58 +08:00
Him188
dd7aed885d
Implement multiplatform EventChannel for android specially
2021-02-24 15:57:54 +08:00
Him188
7b80ac5a0c
Replace usage of java.util.List.removeIf to Kotlin's MutableList.removeAll
2021-02-24 15:15:47 +08:00
Him188
ba61194fa4
Move StandardCharImageLoginSolver from common to jvm
2021-02-24 15:15:43 +08:00
Him188
d3583162a5
Replace usage of List.replaceAll with Kotlin's
2021-02-24 15:15:31 +08:00
Him188
95688e37af
Update to Kotlin 1.4.30 and bump other dependencies versions ( #1049 )
...
- kotlin-stdlib and compiler 1.4.30
- kotlinx-serialization 1.1.0-RC
- kotlinx-coroutines 1.4.2
- ktor 1.5.1
- atomicfu 0.15.1
- yamlkt 0.9.0
- kotlin-jvm-blocking-bridge 1.10.0
- intellij 2020.3.2
- kotlin-intellij 203-1.4.30-release-IJ7148.5
- Gradle 6.8.2
2021-02-24 12:15:19 +08:00
Him188
0529d7679b
Enable android target always
2021-02-24 12:14:02 +08:00
Him188
9c3a175b02
Configure binary compatibility validator for android target
2021-02-24 11:36:03 +08:00
Him188
d450c4a65c
Update docs: remove jcenter and updater mirai versions
2021-02-24 10:52:18 +08:00
Him188
aa289e932f
Multiplatform LoginSolver:
...
- On JVM: Same behaviour as before
- On Android: LoginSolver.Default returns `null` always
2021-02-24 10:18:04 +08:00
Him188
1ce26c393c
Implement SingleFileLogger separately for different platforms, ensure binary compatibility
2021-02-24 09:55:33 +08:00
Him188
0b971b2117
Merge branch 'dev' into android_target
...
# Conflicts:
# build.gradle.kts
# buildSrc/src/main/kotlin/Versions.kt
2021-02-24 09:20:47 +08:00
Him188
333103eca7
Merge remote-tracking branch 'mirai/dev' into dev
2021-02-24 09:17:24 +08:00
Him188
6a6ce4a401
Temporarily remove Dokka to fix build
2021-02-24 09:16:49 +08:00
Karlatemp
9bb3ae20ef
MiraiCode of MusicShare ( #1044 )
...
* Improve MiraiCode parsing
* MiraiCode of MusicShare
2021-02-23 23:00:32 +08:00
Him188
69cceaf695
Update Bots.md
2021-02-22 13:25:58 +08:00
Karlatemp
a5c28758e9
Improve RspSystemMsgNew filtering
2021-02-21 14:28:51 +08:00
Karlatemp
f12f78a55f
Query self profile when missing nickname; Fix #1023
2021-02-20 20:50:44 +08:00
Karlatemp
ce06ce85f0
Improve RspSystemMsgNew handling; #1033 , #996 , #959 , #610
2021-02-19 23:09:26 +08:00
Karlatemp
2eaa13a7c2
Release 2.5.0-dev-2
2021-02-18 01:15:48 +08:00
Karlatemp
3ba2510f10
Update permission flags; close #1013
2021-02-16 21:07:43 +08:00
Karlatemp
2bfc20048e
[MessageSubscribersBuilder] Ignore null
execution result. close #1011
2021-02-16 20:56:26 +08:00
Karlatemp
addee38c70
Don't add new friend when reject new friend request
2021-02-15 13:43:03 +08:00
Karlatemp
e7e8d8ca6a
Fix MessageChain.cleanupRubbishMessageElements()
2021-02-15 11:38:42 +08:00
Karlatemp
6e2ae6b3af
Update caller-finder version
2021-02-15 10:42:37 +08:00
Noire
4555962049
Fix document of BotConfiguration.botLoggerSupplier ( #1021 )
2021-02-14 21:41:57 +08:00
Him188
9d20d28148
Merge remote-tracking branch 'mirai/dev' into dev
2021-02-13 17:45:52 +08:00
Him188
16e7af43ba
Release v2.5.0-dev-1
2021-02-13 17:44:31 +08:00
sandtechnology
9699218601
Fix wrong decoding on ConfigPushSvc and update default server list ( #1015 )
...
* Fix wrong decoding on ConfigPushSvc and update default server list
* Fix a bug which won't update server list
* Improve wording
* Fix an encoding error
* Fix wording
* Naming consistently
* Improve ServerListPush message
Co-authored-by: Him188 <Him188@mamoe.net>
Co-authored-by: Him188 <Him188@mamoe.net>
2021-02-13 11:34:48 +08:00
Him188
4ac7d3fa9a
Support Dice ( #1018 )
...
* Add Dice public API #1012 , close #1017
* Extract MarketFaceImpl to separate file
* Dice protocol impl #1012
* Dice refinement
* Add serialization support for Dice
* Add mirai code support for Dice
* Update docs/Messages.md
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
* Update mirai-core-api/src/commonMain/kotlin/message/data/Dice.kt
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
* Add dice mirai code test
Co-authored-by: sandtechnology <a1294790523@hotmail.com>
Co-authored-by: lc6a <1952511149@qq.com>
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2021-02-13 11:34:23 +08:00
Karlatemp
d09d810b6f
Fix bot nick not initialized; Fix #1019
2021-02-12 17:22:14 +08:00
Him188
d0cbe087b1
Add jetbrains-annotations dependency to mirai-core-api
2021-02-12 14:38:22 +08:00
Him188
c82efff696
Release v2.4-RC
2021-02-11 19:18:11 +08:00
Him188
9922aa48ba
Run 'Release Publish' on tagging '*-release'
2021-02-11 19:09:08 +08:00
Bo Zhang
ba06ce6db3
Simplify release.yml task 'check keys'
...
from https://github.com/mamoe/mirai/pull/981#discussion_r574175859
2021-02-11 17:02:54 +08:00
Him188
c51eea6268
- Simplify ContactListCache configuration
...
- Add kotlin.Duration support
- Disable contact list cache by default for stability
2021-02-11 16:58:43 +08:00
Him188
e219fb3a95
Fix typo in doc
2021-02-11 16:42:02 +08:00
Karlatemp
0d58e6e3ab
Convert CRLF(\r\n)
, CR(\r)
to LF(\n)
; fix #1010
2021-02-11 08:48:01 +08:00
Karlatemp
791e43819c
Fix logic of BdhSessionSyncer.hasSession
2021-02-11 07:47:14 +08:00
Karlatemp
3e3be23397
Fix build
2021-02-10 22:25:22 +08:00
Him188
ce22a0c3ab
Fix kotlin.UninitializedPropertyAccessException on ConfigPushSvc.PushReq.handle, fix #1003
2021-02-10 15:31:19 +08:00
Him188
915e096cc2
Switch server when neither new bdh session nor cached one found, fix #1001
2021-02-10 15:27:50 +08:00
Him188
cda6aaa79b
Simplify cache configuration.
...
Improve cache saving:
- Use ProtoBuf to serialize BdhSession
- More readable servers.json
2021-02-10 15:20:39 +08:00