Commit Graph

238 Commits

Author SHA1 Message Date
Him188
a6079f3eaf Support long message in general sendMessage 2020-03-29 13:56:11 +08:00
Him188
e6c55e0955 Add temp for MessageChain.toString 2020-03-29 13:40:12 +08:00
Him188
b6c24e008d Plan for redesigning of MessageSource 2020-03-29 13:34:54 +08:00
Him188
aa553ebb75 Add MessageChain.size 2020-03-29 02:33:49 +08:00
Him188
a7e9b151e4 Support long messages 2020-03-29 02:26:59 +08:00
Him188
3f523e6f77 Long message 2020-03-27 13:27:34 +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
ac263579f6 Fix ambiguous CombinedMessage 2020-03-23 20:04:39 +08:00
Him188
7443e2aedd Add companion Keys to GroupImage, FriendImage, OnlineImage, OfflineImage 2020-03-23 20:03:01 +08:00
Him188
917aaf685b Reduce stack waste 2020-03-23 19:46:48 +08:00
Him188
bb9d2fb322 Make SingleMessage implement CharSequence and Iterable<String> 2020-03-23 19:39:40 +08:00
Him188
83064d0c37 Fix typos 2020-03-23 19:34:05 +08:00
Him188
0bf290c2ff Rearrange RichMessage 2020-03-23 19:31:22 +08:00
Him188
1d34f3e8a0 Adjust jvm method visibility 2020-03-22 14:32:29 +08:00
Him188
53fdcd41f7 Change sendMessage(MessageChain) to sendMessage(Message) 2020-03-22 14:16:31 +08:00
Him188
074236ceda Check bot for isContextIdenticalWith 2020-03-21 02:18:44 +08:00
Him188
eda578ec87 Add docs 2020-03-21 02:18:29 +08:00
Him188
ecda34deee Add async shortcuts for nextMessage 2020-03-19 10:25:57 +08:00
ryoii
b89c3f889b More face 2020-03-15 22:51:03 +08:00
PeratX
292388a1e8 Add XmlMessageHelper 2020-03-11 11:13:23 +08:00
Him188
4a0333524b Update docs and OptIn annotations 2020-03-08 22:21:10 +08:00
Him188
a64c061377 Support LightApp message 2020-03-08 22:14:59 +08:00
Him188
584b5e9822 xml and Json messages support 2020-03-08 22:05:08 +08:00
Him188
592d5fdef5 Add PlainText.of(CharSequence) 2020-03-08 20:14:22 +08:00
Him188
54a37afa59 Make PlainText.of inline 2020-03-08 19:51:13 +08:00
Him188
3cda7aa805 Add PlainText.of 2020-03-08 19:50:43 +08:00
Him188
86389306ee Fix ambiguous NullMessageChain.equals 2020-03-08 19:48:29 +08:00
Him188
dad9c0b7b8 Fix docs 2020-03-08 19:33:58 +08:00
Him188
e3576fe5d0 Add Message.repeat, make Message.times inline 2020-03-08 19:26:15 +08:00
Him188
1998b53451 Add Message.times 2020-03-08 19:23:39 +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
e60a6bcf68 Revert "Use ktor.io than kotlinx.io" 2020-03-07 22:04:31 +08:00
Him188
03f873276a Enhance flatten and asMessageChain 2020-03-07 00:24:22 +08:00
Him188
9bff0f77ec Kotlin 1.3.70 2020-03-05 09:44:50 +08:00
Him188
60b6eab73e Revert "Update to Kotlin 1.3.70"
This reverts commit 2e57e358
2020-03-04 13:58:01 +08:00
Him188
8cefb73033 Make cache private 2020-03-04 12:20:41 +08:00
Him188
99ca0dec1f Introduce cache for MessageChainBuilder 2020-03-04 12:17:05 +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
12ebfa1db5 Unified Image types: Online/Offline Image, Group/Friend Image 2020-03-03 13:45:33 +08:00
Him188
3c25c3df65 Simplify calls 2020-03-03 10:26:50 +08:00
Him188
9047fd0d4c Bump version to 8.2.7 2020-03-03 09:47:33 +08:00
Him188
8042249f51 Rename toChain to asMessageChain, add more java-friendly apis 2020-03-03 09:31:01 +08:00
Him188
9a482d1926 Add Java-friendly APIs for MessageReceipt 2020-03-01 20:27:30 +08:00
Him188
ca0d0969b9 Add fast-paths 2020-03-01 15:46:04 +08:00
Him188
b18cb2d30c Fix build 2020-03-01 15:34:38 +08:00
Him188
83faf81fb2 Better API visibility 2020-03-01 15:26:46 +08:00
Him188
f2843df162 Add delegation extensions, rearrange code, add docs 2020-03-01 14:41:19 +08:00
Him188
bbf991103d Add MessageSource.originalMessage 2020-03-01 14:40:51 +08:00