Commit Graph

1161 Commits

Author SHA1 Message Date
Him188
5b4e99c52d Override close explicitly 2020-02-14 20:13:40 +08:00
Him188
afb74ec652 Annotate subscribeInternal with @MiraiInternalAPI 2020-02-14 19:21:43 +08:00
Him188
f37434c663 Remove @MiraiInternalAPI from NetworkHandler 2020-02-14 19:12:50 +08:00
Him188
1993047221 Redesign reconnecting logic 2020-02-14 18:41:24 +08:00
Him188
c03fb41fd0 Add LoginFailedException 2020-02-14 18:40:04 +08:00
Him188
ba946eb249 Add ForceOfflineException for clearer close reason 2020-02-14 18:37:20 +08:00
Him188
2bbc324245 Make @MessageDsl public 2020-02-14 18:33:35 +08:00
Him188
98b0073f81 Add BotOfflineEvent.Dropped and BotReloginEvent 2020-02-14 18:20:31 +08:00
Him188
8bf302d386 Annotate readTlvMap with @MiraiInternalIp 2020-02-14 13:45:46 +08:00
Him188
1058377663 Support AtAll in message.first() 2020-02-14 10:21:33 +08:00
Him188
8f03d44df1 Add shortcut 2020-02-13 16:09:10 +08:00
Him188
a3945924a4 Add docs 2020-02-13 13:42:32 +08:00
Him188
184e595896 Fix gradle dependency 2020-02-13 13:18:51 +08:00
Him188
e2136b5c40 Make easier 2020-02-13 09:53:32 +08:00
Him188
8e05595bac Add return values to MessageDsl subscribers 2020-02-13 09:47:45 +08:00
Him188
631ca4f639 Fix duplicated function name 2020-02-13 09:41:32 +08:00
Him188
d365ec5b4e New feature: AtAll 2020-02-13 09:36:47 +08:00
Him188
46fc012fa3 Add AtAll 2020-02-13 09:36:17 +08:00
Him188
fe8ed44ef2 Fix At.followedBy 2020-02-13 09:36:02 +08:00
Him188
397861500f Message DSL: add String.reply(Message) 2020-02-13 09:35:43 +08:00
Him188
21c2fb5766 Set defaultLogger initially disabled 2020-02-13 09:21:25 +08:00
Him188
0221767aa8 Remove unused configurations 2020-02-13 09:11:19 +08:00
Him188
fbe973f3a1 Fix false positive mute state 2020-02-13 09:06:39 +08:00
Him188
9a8a992977 Add note 2020-02-13 01:11:03 +08:00
Him188
3be82bb53d Fix doc 2020-02-13 01:07:50 +08:00
Him188
7ff9783daa Add docs 2020-02-13 01:06:54 +08:00
Him188
7cd65f92af Fix build 2020-02-13 00:27:07 +08:00
jiahua.liu
aca459f60d Merge remote-tracking branch 'origin/master' 2020-02-13 00:11:31 +08:00
jiahua.liu
55e70bd3c3 smart config 2020-02-13 00:10:59 +08:00
Him188
cc42069196 Add BotUnmuteEvent 2020-02-12 23:54:27 +08:00
Him188
9694991592 Make EventLogger public so as to be able to enable 2020-02-12 23:47:26 +08:00
Him188
da32f5190f Add event log 2020-02-12 23:30:58 +08:00
Him188
d36727718b Remove get() 2020-02-12 23:30:52 +08:00
Him188
3ab0e67516 Introduce logger supplier, close #43 2020-02-12 23:24:37 +08:00
Him188
defaf83a07 Make var EventDisabled visible 2020-02-12 23:24:14 +08:00
Him188
fec3702ba9 Improve performance 2020-02-12 23:09:34 +08:00
Him188
348d13a4c1 Handle event of new member joining 2020-02-12 23:09:23 +08:00
Him188
3b0ee9ad99 Fix #42 2020-02-12 22:24:57 +08:00
Him188
35c7e7947f Remove redundant nullable signal 2020-02-12 20:59:14 +08:00
Him188
426784324f Rename addLastAll to addAll 2020-02-12 20:54:08 +08:00
Him188
fda644d248 Ensure info accessibility 2020-02-12 20:48:06 +08:00
Him188
999ce68cec Fix addLastAll 2020-02-12 20:47:30 +08:00
Him188
51ee123a1e Introduce information descriptors for contacts 2020-02-12 20:03:19 +08:00
Him188
b0d274dd1a Adjust param type: accept null in UnsafeWeakRef<T>.getValue 2020-02-12 20:02:30 +08:00
Him188
e3241654dc Implement BroadcastControllable, so duplicated events are ignored 2020-02-12 20:01:36 +08:00
Him188
ec115e83b1 Add Iterable<E>.toLockFreeLinkedList() and Sequence<E>.toLockFreeLinkedList() 2020-02-12 20:00:52 +08:00
Him188
fbe5f14a9c Merge remote-tracking branch 'origin/master' 2020-02-12 19:09:29 +08:00
jiahua.liu
e072c5b10e Get Kicker 2020-02-12 17:10:32 +08:00
Him188
f91a44ba55 Add quick reference to DSL 2020-02-12 16:14:27 +08:00
Him188
905d4ede9a Fix build 2020-02-12 13:52:07 +08:00
Him188
e33fea8a3f Remove override 2020-02-12 09:07:40 +08:00
Him188
80a3a9a65e Add shortcuts 2020-02-12 09:04:25 +08:00
Him188
5bd96876d9 Add event broadcast 2020-02-11 22:06:03 +08:00
Him188
dfa3af5643 Fix build 2020-02-11 21:33:03 +08:00
Him188
bc71475f35 Add event broadcasting 2020-02-11 21:29:28 +08:00
Him188
96db7a6062 Remove BroadcastControllable from GroupMessage 2020-02-11 21:29:03 +08:00
Him188
049cf30659 New event design 2020-02-11 20:40:35 +08:00
Him188
63b5785b2d Add MemberCardChangeEvent 2020-02-11 19:55:03 +08:00
Him188
4d77951ae4 Redesign event structure 2020-02-11 13:14:40 +08:00
Him188
a322ce735b Make CancellableEvent an interface, introduce AbstractCancellableEvent 2020-02-11 12:30:49 +08:00
Him188
001ad975b9 Make CancellableEvent an interface, introduce AbstractCancellableEvent 2020-02-11 12:02:19 +08:00
Him188
7891ffc136 Make interface Event the base type of a event, remove interface Subscribable 2020-02-11 11:56:42 +08:00
Him188
474c5686e6 Merge remote-tracking branch 'origin/master' 2020-02-11 09:16:58 +08:00
Him188
bfc516f350 senderId, sourceMessage, groupId are now accessible from MessageSource 2020-02-11 09:16:43 +08:00
jiahua.liu
79bf367013 S0me events 2020-02-10 22:45:53 +08:00
Him188
8180098a02 Add interface NoLog 2020-02-10 16:52:54 +08:00
Him188
6504283d4d Remove unused annotations 2020-02-10 16:44:41 +08:00
Him188
fda2040de9 Update docs 2020-02-10 16:01:59 +08:00
Him188
ec82232aa3 Cleanup 2020-02-10 13:54:21 +08:00
Him188
644842e191 Remove useless LoginResult 2020-02-10 13:54:01 +08:00
Him188
b265533b4d Fix warnings 2020-02-10 13:18:05 +08:00
Him188
0094307ad3 Add MiraiLoggerWithSwitch.isEnabled 2020-02-10 13:13:48 +08:00
Him188
b479a213bc Add heartbeat 2020-02-10 13:12:59 +08:00
Him188
7d5543eb85 Suppress false positive warnings 2020-02-10 13:12:39 +08:00
Him188
3c83883c66 Add space automatically if necessary 2020-02-09 23:35:11 +08:00
Him188
b991c6ef0c Add permissions 2020-02-09 23:34:55 +08:00
Him188
e116224180 Move DeviceInfo 2020-02-09 23:20:29 +08:00
Him188
23adcf6d4a Quote reply support 2020-02-09 23:20:12 +08:00
Him188
33867d0444 Compatibility improvement 2020-02-09 12:52:00 +08:00
Him188
cf7e325259 Add copyright 2020-02-09 01:01:36 +08:00
jiahua.liu
571b4c4162 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/chat/receive/OnlinePush.kt
2020-02-08 21:44:24 +08:00
jiahua.liu
6e6c1d813d OnlinePushPack JCEs 2020-02-08 20:57:31 +08:00
Him188
24d7d49a24 Fix endsWith 2020-02-08 16:57:48 +08:00
Him188
5c5670c66f Add QuoteReply 2020-02-08 16:03:20 +08:00
Him188
6d2a360780 Add heartbeat 2020-02-08 00:36:58 +08:00
jiahua.liu
8de1fe9150 Merge remote-tracking branch 'origin/master' 2020-02-07 20:32:09 +08:00
jiahua.liu
c92e385839 Kick Member.kt 2020-02-07 20:31:50 +08:00
Him188
b8d6e4203b Merge remote-tracking branch 'origin/master' 2020-02-07 18:44:12 +08:00
Him188
13b72b312c Friend image upload 2020-02-07 18:43:24 +08:00
Him188
4b162c546c Small fixes 2020-02-07 16:57:00 +08:00
ryoii
929501c132 fix: imageId parse error 2020-02-07 16:01:16 +08:00
jiahua.liu
ba352a9869 fix launch issue 2020-02-07 13:51:55 +08:00
Him188
c50c4365ac Override equals, hashcode and toString 2020-02-07 13:13:05 +08:00
Him188
98881fe3fc Common constructor for Image 2020-02-07 12:46:14 +08:00
Him188
b7d8396f78 Add default value =0 for fieldId 2020-02-07 12:33:01 +08:00
Him188
8ad087c406 Add fast-fail size check 2020-02-07 12:32:41 +08:00
Him188
a7857f147d Remove inline modifier 2020-02-07 12:30:26 +08:00
Him188
4d2510d0e7 Replace "\r" with "" 2020-02-07 10:18:33 +08:00
Him188
5f4c3882cf Group image support 2020-02-07 10:11:39 +08:00
Him188
dc36d07217 Fix exception handling 2020-02-07 08:43:43 +08:00