Him188
|
b9eb654a51
|
Reformat and cleanup code
|
2021-07-02 00:39:10 +08:00 |
|
Him188
|
6eff4bdf40
|
Add EVENT_LAUNCH_UNDISPATCHED to allow to launch coroutines for event listeners in a UNDISPATCHED start mode
|
2021-06-29 22:43:02 +08:00 |
|
Him188
|
6b442b251f
|
Introduce AbstractEventTest
|
2021-06-07 18:56:33 +08:00 |
|
Him188
|
fc96ba96dd
|
Add _EventBroadcast to allow tests to overrode implementation of Event.broadcast
|
2021-06-07 18:29:15 +08:00 |
|
Him188
|
bcdff1336b
|
Kotlin 1.5 and dependencies updates (#1246)
* Kotlin 1.5 and dependencies updates
* Update mirai-console ref
* Use Kotlin 1.5.10
* 2.7-M1-dev-3
* Update console ref
|
2021-05-27 14:39:13 +08:00 |
|
Him188
|
9597a70f58
|
Add test testAsChannel for EventChannel
|
2021-02-03 19:10:06 +08:00 |
|
Him188
|
b5d5f3c922
|
Add more tests for EventChannel:
- testFilterException
- testExceptionInSubscribe
|
2021-02-03 12:26:38 +08:00 |
|
Him188
|
0bbea5706f
|
Fix EventChannel.filter and .filterIsInstance when chained, fix #953
|
2021-02-03 11:41:05 +08:00 |
|
Him188
|
b30e098068
|
Add EventChannel.filter accepting non-suspend Predicates for Java users
|
2021-01-28 08:16:35 +08:00 |
|
Karlatemp
|
70ffca5138
|
Unregister listeners after test completed
|
2021-01-14 11:43:38 +08:00 |
|
Him188
|
619dafa1ae
|
[Review] Move Listener.ConcurrencyKind and Listener.EventPriority to top-level
|
2021-01-08 12:41:42 +08:00 |
|
Him188
|
faece77942
|
[Review] Rearrange utilities
|
2021-01-06 16:09:44 +08:00 |
|
Him188
|
1783a69be2
|
[Review] Remove LockFreeLinkedList
|
2021-01-06 15:16:47 +08:00 |
|
Him188
|
5b74f2a64e
|
[Review] Move JavaFriendlyApi to Annotations.kt
|
2021-01-06 15:02:49 +08:00 |
|
Him188
|
392d62142b
|
Fix tests
|
2020-12-27 20:36:11 +08:00 |
|
Karlatemp
|
471e70205e
|
Covert SimpleListenerHostTest to kotlin
|
2020-12-26 16:43:10 +08:00 |
|
Him188
|
c0d95ae958
|
Introduce EventChannel (#753)
* Introduce EventChannel, close #514
* Fix generics in EventChannel
* Don't require Job in CoroutineScope for EventChannel.parentScope
* Don't attach child job on EventChannel.parentJob
* Improve tests
* Fix tests
* Merge with dev
|
2020-12-25 18:49:34 +08:00 |
|
Him188
|
8d0d53a8b8
|
Suppress UNUSED_PARAMETER for JvmMethodEventsTestJava
|
2020-12-23 18:41:55 +08:00 |
|
Him188
|
55a7ca82f7
|
Wrap exceptions thrown in EventHandler with relevant event so as to allow obtaining event instance in SimpleListenerHost.handleException. Fix #533
|
2020-12-22 13:15:02 +08:00 |
|
Karlatemp
|
7994bcec0e
|
Fix EventListeners for Java
fix #738
|
2020-12-19 19:41:31 +08:00 |
|
Him188
|
1e7aaaec48
|
Rearrange protocol implementations
|
2020-11-01 15:07:32 +08:00 |
|
Him188
|
0d96ea53d0
|
Fix build
|
2020-10-03 13:44:19 +08:00 |
|
Him188
|
a9d4d14576
|
Rearrange module structure:
- Rename mirai-core to mirai-core-api
- Rename mirai-core-qqandroid to mirai-core
- Rename package net.mamoe.mirai.qqandroid to net.mamoe.mirai.internal
- Delete old android targets
- Configure default packages correctly
- Update licenses
|
2020-10-03 12:42:13 +08:00 |
|