Commit Graph

221 Commits

Author SHA1 Message Date
Him188
3dafb8ea90 Add subscribers for TempMessage 2020-04-09 08:46:10 +08:00
Him188
fc8714de5f Fix build 2020-04-08 14:57:42 +08:00
Him188
df9a5f7c0a Fix incorrect new contact handling 2020-04-08 14:37:33 +08:00
Him188
6480e78b24 Handle ContactList syncing on new friend or member event. 2020-04-08 14:33:13 +08:00
Him188
4633803c55 Add java-friendly APIs 2020-04-08 10:50:13 +08:00
ryoii
eec820c1a7 Support for approving requests of adding friend and joining group, close #91 2020-04-07 21:14:34 +08:00
Him188
9aa32c49b1 Compact MessageSubscribersBuilder 2020-04-07 08:43:49 +08:00
Him188
165de9a85d Fix references 2020-04-06 19:14:12 +08:00
Him188
b8b749bf65 Completed CombinedMessage redesigning and constraining on concatenation 2020-04-06 18:04:41 +08:00
Him188
eb0696be14 Adapt for new Message.contentToString 2020-04-05 23:51:34 +08:00
Him188
00522f4113 Add filterContext to whileSelectMessages 2020-04-04 23:57:01 +08:00
Him188
039b3d7517 Cleanup 2020-04-04 22:17:35 +08:00
Him188
2b49a7586f Reconstruct MessageSource, fix #197, #133 2020-04-04 22:08:53 +08:00
Him188
6590d8ade7 Fix message select 2020-04-03 10:32:39 +08:00
Him188
32553fad2b Introduce ContactMessage to replace MessagePacket<*, *> 2020-04-02 20:27:16 +08:00
Him188
3773548983 Replace use of Bot.uin with Bot.id 2020-04-02 19:27:40 +08:00
Him188
997261fa3b Make all event implementations internal 2020-04-02 13:20:16 +08:00
Him188
97522bdf2a Rearrange internal APIs 2020-04-02 09:43:50 +08:00
Him188
5c6ee12b68 Fix reply function prohibition in MessageSelectBuilder 2020-03-30 20:52:04 +08:00
Him188
3ba1ae4a5c Adjust visibilities 2020-03-24 16:10:39 +08:00
Him188
ed46780983 Clear all deprecated functions which are for binary compatibility 2020-03-24 15:24:06 +08:00
Him188
568435803b Fix compilation error 2020-03-24 14:58:18 +08:00
Him188
936ed3fff9 Fix compilation error 2020-03-24 14:44:07 +08:00
Him188
70dd71cb61 Migrate to Kotlin 1.4 2020-03-24 13:42:33 +08:00
Him188
a6196d8580 Enhanced message selection 2020-03-23 21:49:42 +08:00
Him188
a30fafa8f1 Fix binary compatibility 2020-03-22 22:43:12 +08:00
Him188
d8e262c558 Binary compatibility, fix #155 2020-03-22 21:55:17 +08:00
Him188
f87a820688 Update docs 2020-03-22 16:27:58 +08:00
Him188
6bb8231d8e Prohibit unsafe usage 2020-03-22 16:24:58 +08:00
Him188
7fff235aa9 Ensure sequential listener invoking, ensure contextual equals 2020-03-21 11:55:36 +08:00
Him188
df1fbbe236 Remove listener when job is completed 2020-03-21 11:46:39 +08:00
Him188
eda578ec87 Add docs 2020-03-21 02:18:29 +08:00
Him188
aac7dbf6ae Adjust constructor visibility 2020-03-21 01:11:45 +08:00
Him188
98cd768233 Introduce experimental whileSelectMessages and selectMessages 2020-03-21 00:51:31 +08:00
Him188
73f38a11d3 Enhance MessageSubscribersBuilder 2020-03-21 00:51:06 +08:00
Him188
5e823871c8 Introduce experimental infix -> 2020-03-21 00:50:50 +08:00
Him188
ee45bcb3f0 Revise subscribingGet, remove coroutineContext params 2020-03-21 00:36:56 +08:00
Him188
cfd5946cd1 Add coroutineContext params 2020-03-20 21:01:37 +08:00
Him188
1c2d8cea36 Rename filter to mapper 2020-03-20 20:12:28 +08:00
Him188
81f2388c44 Add concurrency control to message listeners, close #152 2020-03-20 18:41:54 +08:00
Him188
55ed5f9d70 Add concurrency control to event listeners 2020-03-20 18:27:04 +08:00
Him188
e39fe5a46f Merge branch 'master' into kotlin-1.3.70
# Conflicts:
#	mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/QQAndroidClient.kt
#	mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/highway/HighwayHelper.kt
#	mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/highway/highway.kt
#	mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/login/WtLogin.kt
#	mirai-core/build.gradle.kts
#	mirai-core/src/androidMain/kotlin/net/mamoe/mirai/utils/addSuppressed.kt
#	mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/ExternalImage.kt
#	mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/channels.kt
#	mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/io/chunked.kt
#	mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/io/input.kt
#	mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/utils/addSuppressed.kt
2020-03-08 00:29:51 +08:00
Him188
b3c4f24e33 Revert "Use io.ktor.utils.io than kotlinx.io"
This reverts commit 6a85769e
2020-03-07 18:48:07 +08:00
Him188
060098a5de No inlining because of Kotlin's stacktrace issue 2020-03-06 10:34:11 +08:00
Him188
db28915b8e Fix referneces 2020-03-06 10:28:37 +08:00
Him188
eaeb242800 Specify receiver to avoid being confusing 2020-03-06 10:21:01 +08:00
Him188
b17c30853c Cancel event listener when channel is closed 2020-03-06 10:19:37 +08:00
Him188
baa3c2109e Use Channel.UNLIMITED as a default capacity for CoroutineScope.incoming 2020-03-06 10:17:36 +08:00
Him188
8777d583b0 Merge remote-tracking branch 'origin/kotlin-1.3.70' into kotlin-1.3.70
# Conflicts:
#	mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/highway/HighwayHelper.kt
#	mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/io/chunked.kt
2020-03-05 09:45:12 +08:00
Him188
9bff0f77ec Kotlin 1.3.70 2020-03-05 09:44:50 +08:00