Commit Graph

3848 Commits

Author SHA1 Message Date
Him188
d8ef80ea97 Adjust visibility 2020-05-11 09:48:53 +08:00
Him188
2295e832bb Pass @ExperimentalCoroutinesApi to the caller of Message.plus(Flow<Message>) 2020-05-10 19:46:25 +08:00
Him188
719c4b402d Clear group members after Bot completion 2020-05-10 17:55:01 +08:00
Him188
b0888a272e Use Message.plus extensions instead of member functions 2020-05-10 16:09:10 +08:00
Him188
4e187cc95b Fix Message.repeat 2020-05-10 15:47:37 +08:00
Him188
06205cb69b Improve Bot life cycle management, close #317 2020-05-10 15:41:08 +08:00
Him188
aa2805b81f Let ContactList<C> implement Collection<C> 2020-05-10 15:34:06 +08:00
Him188
a99a83be48 Fold supported protocol list 2020-05-10 14:46:00 +08:00
Him188
4159a00636 Add copyright 2020-05-10 14:45:49 +08:00
Him188
0b4f53ee12 Optimize Face constructor 2020-05-10 02:55:12 +08:00
Him188
3238223a3f Add doc 2020-05-10 02:54:31 +08:00
Him188
90c0c5c549 Optimize experimental API usages 2020-05-10 02:22:16 +08:00
Him188
904513667c Fix reference 2020-05-10 01:50:35 +08:00
Him188
2a270d8498
Update build.gradle.kts 2020-05-10 01:11:57 +08:00
Him188
54794a6e49 Fix references 2020-05-10 00:59:12 +08:00
Him188
4bbdd588d5 Add typealias 2020-05-10 00:54:48 +08:00
Him188
7525dc7c33 Add JvmMethodListeners.kt 2020-05-10 00:41:18 +08:00
Him188
cbdc8bb098 Support Kotlin functional references in event subscribing 2020-05-09 22:23:19 +08:00
Him188
346aecd68b Enable progressiveMode 2020-05-09 22:23:02 +08:00
Him188
613ab883bb Add type projection for subscribe.eventClass 2020-05-09 21:10:59 +08:00
Him188
0475cbb841 Rename listener to handler 2020-05-09 21:04:54 +08:00
Him188
8a2027a0e4 Use volatile than atomic 2020-05-09 20:42:55 +08:00
Him188
8117382f74 Add docs for event intercepting 2020-05-09 20:16:13 +08:00
Him188
288c4cf5fa Fix doc 2020-05-09 20:12:38 +08:00
Him188
0f0ca8e2cc Deprecate Bot.subscribe* for better Coroutine life cycle management; Add docs 2020-05-09 20:11:25 +08:00
Him188
5db9d1d0db Fix doc 2020-05-09 18:27:17 +08:00
Him188
157bd3740c Fix #298 2020-05-09 18:26:24 +08:00
Him188
e6dec8a498 Add nextEventOrNull 2020-05-09 18:18:50 +08:00
Him188
bba66f3952 Fix 288 2020-05-09 18:05:08 +08:00
Him188
c299ed8986 Fix compilation, ignore VIP join notice 2020-05-09 17:19:40 +08:00
Him188
d16a699810 Fix BotFaceChangedEvent, Add FriendFaceChangedEvent 2020-05-09 17:19:02 +08:00
Him188
6db2c23a17 Improve exception message 2020-05-09 17:16:24 +08:00
Him188
51ced7b677 Ignore empty lines 2020-05-09 17:14:34 +08:00
Him188
40dd786f99 Ignore empty string and arrays and 0s in _miraiContentToString 2020-05-09 16:54:28 +08:00
Him188
28f48e5c78 Make random device info more random 2020-05-09 16:20:57 +08:00
Him188
786c9f3b23 Ignore 732 2020-05-09 16:18:56 +08:00
Him188
f795eeb782 Fix commandName 2020-05-09 16:14:23 +08:00
Him188
1e885dbf7a Rearrange MessageSvc and OnlinePush 2020-05-09 16:11:29 +08:00
Him188
1c1a37a103 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/data/MessageSource.kt
2020-05-09 15:38:20 +08:00
Him188
d607568970
Merge pull request #313 from mamoe/binary-compatibility
Add binary-validator
2020-05-09 15:37:33 +08:00
Him188
e75888a6e9 Add binary-validator 2020-05-09 15:37:02 +08:00
Him188
238e94dae7 Cleanup 2020-05-09 15:09:01 +08:00
Him188
f765804ff7 Make MessageMetadata.contentToString final 2020-05-09 15:07:29 +08:00
Him188
b0089d58d6 Deprecate ambiguous extensions on QuoteReply, like QuoteReply.id 2020-05-09 15:03:49 +08:00
Him188
b64b1da666 Make MessageChain implement List<SingleMessage>;
Hide relevant APIs on `Iterable`;
Deprecate `__forEachForJava__` in favor of Java 8 API;
Add `fun messageChainOf(vararg messages: Message): MessageChain`;
Add `fun Array<out Message>.asMessageChain(): MessageChain`;
Add `fun Array<out SingleMessage>.asMessageChain(): MessageChain`;
Add `fun Array<out Message>.flatten(): Sequence<SingleMessage>`;
Add `fun Array<out SingleMessage>.flatten(): Sequence<SingleMessage>`;
Close #312
2020-05-09 14:54:48 +08:00
Him188
9733490266 Add docs 2020-05-09 13:45:29 +08:00
Him188
f87093c10c
Merge pull request #311 from Karlatemp/patch-5
Update duration display
2020-05-09 12:19:34 +08:00
Karlatemp
0716438242
Update duration display 2020-05-09 11:06:00 +08:00
Him188
781af6d837
Update bug---.md 2020-05-08 12:03:23 +08:00
Him188
8859f96b4f
Update bug---.md 2020-05-08 12:02:32 +08:00