Commit Graph

201 Commits

Author SHA1 Message Date
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
Him188
c962bd2641 Revert "Adapt new kotlinx.serialization"
This reverts commit 0a6b39e6
2020-03-04 14:11:36 +08:00
Him188
60b6eab73e Revert "Update to Kotlin 1.3.70"
This reverts commit 2e57e358
2020-03-04 13:58:01 +08:00
Him188
0a6b39e62c Adapt new kotlinx.serialization 2020-03-04 10:50:54 +08:00
Him188
2e57e358c3 Update to Kotlin 1.3.70 2020-03-04 08:54:56 +08:00
Him188
e6cb229b18 Unified packet sending 2020-03-03 20:51:55 +08:00
Him188
bd1a968db9 misc 2020-03-01 16:55:33 +08:00
Him188
9faea0a396 Add MessageRecallEvent.FriendRecall 2020-03-01 00:32:33 +08:00
Him188
024bd23084 Rename OperableEvent to GroupOperableEvent 2020-02-29 23:48:19 +08:00
Him188
e86256fb39 Rename OperableEvent to GroupOperableEvent 2020-02-29 23:46:34 +08:00
Him188
f98d57fb5e Add MessageRecallEvent 2020-02-29 23:46:13 +08:00
Him188
6a85769e0d Use io.ktor.utils.io than kotlinx.io 2020-02-29 23:19:53 +08:00
Him188
0cbc0f0e29 Add containsAny and containsAll 2020-02-29 13:47:47 +08:00
Him188
58e4c156e8 Fix isByBot 2020-02-28 21:38:23 +08:00
Him188
ccec3e95ab Add OperableEvent, close #95 2020-02-28 20:28:04 +08:00
Him188
932a3ef1f2 Review: misc improvements 2020-02-28 19:16:22 +08:00
Him188
753f3261e0 Review: misc improvements 2020-02-26 10:36:14 +08:00
Him188
c62fbc062a Add ListenerFilter.quoteReply 2020-02-25 09:02:02 +08:00
Him188
ec0d7f4434 Add ListenerFilter.reply 2020-02-25 09:00:19 +08:00
Him188
3859ce6daf Concurrent event processing 2020-02-23 00:21:49 +08:00
Him188
fb25baa78d Update docs 2020-02-21 22:41:22 +08:00