Him188
11a2354de4
Use stdlib functions for currentTimeMillis
and measureTimeMillis
2022-06-04 16:59:24 +01:00
Him188
c1335f8941
MiraiFile
2022-06-04 16:59:24 +01:00
Him188
7e9e248f2c
HMPP for multiple native targets
2022-06-04 16:59:23 +01:00
Him188
6214ae1e61
fix linking
2022-06-04 16:59:22 +01:00
Him188
51e0ccd324
Implement concurrent collections, remove PriorityQueue and use sortedBy, use Kotlin 1.7.0-RC
2022-06-04 16:59:08 +01:00
Him188
18a29415a7
Services
2022-05-27 00:10:52 +01:00
Him188
a1832a4de7
Implement ByteArrayOp
2022-05-26 22:39:23 +01:00
Him188
17430857a8
Rename MutableTypeSafeMap to createMutableTypeSafeMap and so for TypeSafeMap, to avoid linking issue
2022-05-26 19:13:11 +01:00
Him188
9fa0b78d8c
Implement TimeUtils
2022-05-26 18:42:47 +01:00
Him188
716220b28c
Revert "Use Kotlin 1.7.0-RC"
...
This reverts commit e02e41db
2022-05-26 17:26:26 +01:00
Him188
dd37f9562a
Implement TimeUtils
2022-05-26 17:25:24 +01:00
Him188
3db5e7bf8c
Implement runBIO
2022-05-26 17:19:00 +01:00
Him188
eca484feb0
Implement Base64
2022-05-26 17:16:54 +01:00
Him188
e02e41dbad
Use Kotlin 1.7.0-RC
2022-05-26 17:06:43 +01:00
Him188
5714d31cd3
Configure Rust interop
2022-05-26 15:14:27 +01:00
Him188
70868b335a
Configure Rust interop
2022-05-26 15:14:13 +01:00
Him188
ee71263f41
Configure Rust interop
2022-05-26 02:45:32 +01:00
Him188
be8100fc9a
Improve HMPP
2022-05-26 01:29:49 +01:00
Him188
b9957bb5d4
Implement MiraiLogger for native
2022-05-26 01:29:44 +01:00
Him188
1083cd3a9e
Improve setState stability
2022-05-26 00:54:00 +01:00
Him188
c9d343db89
Fix jvmBase bugs caused by migration to common
2022-05-26 00:54:00 +01:00
Him188
72c108bc54
Add coroutine DebugProbes for commonMain
2022-05-25 22:58:20 +01:00
Him188
0f9e7e2742
Add Collection.asImmutable for commonMain
2022-05-25 22:58:20 +01:00
Him188
2396851b63
Change tests to multiplatform
2022-05-25 22:58:20 +01:00
Him188
20704b89b4
Introduce CommonNetworkHandler to share logic between different NetworkHandler implementations
2022-05-25 22:58:19 +01:00
Him188
dea435e24f
Make mirai-core and mirai-console relevant modules multiplatform
2022-05-25 22:57:20 +01:00
Him188
26cf9a9995
Use ktor-io to replace kotlinx-io
2022-05-25 22:56:50 +01:00
Him188
0b5f3c2516
Make mirai-console-compiler-annotations multiplatform
2022-05-25 22:42:19 +01:00
Him188
fb0f670986
Make mirai-core-api multiplatform
2022-05-25 22:42:17 +01:00
Him188
924b65ba00
Make mirai-core-utils multiplatform
2022-05-25 22:42:17 +01:00
Him188
da06a19881
Make MiraiLogger multiplatform
2022-05-25 22:42:16 +01:00
Him188
267ba3b58c
HMPP
2022-05-25 22:42:15 +01:00
Him188
297592b9f2
Do not throw exception when failed to locate desensitization rules, for tests on CI
2022-05-25 22:39:53 +01:00
Him188
c4a2f19db6
Use empty internalIds for all OnlineMessageSourceToGroupImpl to speed up tests.
2022-05-25 22:39:53 +01:00
Him188
ab3280f6b7
Add more MessageProtocolTest:
...
Add fragmented test
Fix MusicShareProtocol and implement sending tests for MusicShareProtocolTest
OutgoingMessagePipelineImpl: set stopWhenConsumed
Fix `currentMessageChain` not updated in `processAlso`, add strong message packets checks, add tests for converting messages failed to send at FIRST step to LongMessageInternal
Add notes for receiving ForwardMessage
Add facade parameters to `download ForwardMessage*`
Add ForwardMessageProtocolTest
Add QuoteReplyProtocolTest
Add CONTAINING_MSG for MessageDecoderContext.attributes, for information-use only
Fix MessageReceiptTest
Fix QuoteReplyProtocolTest
2022-05-25 22:39:53 +01:00
Him188
38465972ba
Add more details in QuoteReply.toString
2022-05-25 22:39:53 +01:00
Him188
c75d1f7074
Add MessageSource.isOriginalMessageInitialized
2022-05-25 22:39:53 +01:00
Him188
7687749030
Add more details in MessageSource.toString
2022-05-25 22:39:53 +01:00
Him188
3e38f359ba
Add ForwardMessage.BuilderNode.toString
2022-05-25 22:39:53 +01:00
Him188
c8fb354d13
Add LongMessageProtocolTest and various improvements:
...
Change attributes carrying helper objects to components
Make ClockHolder open
Use originalMessage for MessageReceipt
2022-05-25 22:39:53 +01:00
Him188
3b7eb40529
Add implementation notes for MessageSource.originalMessage
2022-05-25 22:39:53 +01:00
Him188
112ce644b4
Add preprocessAndSendOutgoingImpl for tests only
2022-05-25 22:39:53 +01:00
Him188
d5ef2aae64
Add MessageProtocolStrategy.sendPacket
2022-05-25 22:39:53 +01:00
Him188
c510a49adc
Generalize ImagePatcher
2022-05-25 22:39:53 +01:00
Him188
52968b172f
Rename buildChecks
to buildCodingChecks
2022-05-25 22:39:53 +01:00
Him188
3270192715
Remove SendMessageHandler
and introduce OutgoingMessagePipeline
.
2022-05-25 22:39:53 +01:00
Him188
e6b094031c
Re-categorize MessageProtocol packages
2022-05-25 22:39:53 +01:00
Him188
c1a7dd9843
Add some capability for delegation for TypeSafeMap
2022-05-25 22:39:53 +01:00
Him188
9d03260067
Add CustomMessageProtocolTest
2022-05-25 22:39:53 +01:00
Him188
4b79c197e7
Filter out customElem without MIRAI_CUSTOM_ELEM_TYPE
2022-05-25 22:39:53 +01:00