mirai/mirai-core-utils/src/commonMain/kotlin
Karlatemp 217907c58a
Support sending MusicShare to friends. (#1615)
* Support sending `MusicShare` to friends.

- Also fix a potential data out-of-bounds issues

* `TypeSafeMap.get` with default values

* Fix tests
2021-10-28 13:44:18 +01:00
..
Annotations.kt Migrate to Kotlin 1.5.30 and review dependencies: 2021-09-01 18:52:36 +08:00
Arrays.kt Multiple MessageSource.id and MessageSource.internalId for split sources now, and split messages in the future. Close #618 2020-12-02 10:46:06 +08:00
ByteArrayPool.kt Update copyright 2021-07-02 00:39:10 +08:00
Bytes.kt Add util Array<Byte>.toUHexString 2021-09-01 13:55:39 +08:00
CheckableResult.kt Improve CheckableResponse 2021-09-04 19:36:16 +08:00
Clock.kt Adapt for server time difference, let MessageSource.time refer to server time. Fixes 1519 2021-09-04 21:31:10 +08:00
CollectionDiff.kt Add util CollectionDiff 2021-09-01 13:55:39 +08:00
ComputeOnNullMutableProperty.kt Add ComputeOnNullMutableProperty 2021-08-05 21:48:20 +08:00
Conversions.kt Remove unused expressions 2021-07-23 12:58:09 +08:00
CoroutineUtils.kt Raise deprecation levels: 2021-09-12 20:57:04 +08:00
Either.kt Add Either.left and Either.right 2021-09-02 16:03:32 +08:00
ExceptionCollector.kt Redesign connection maintenance mechanism: 2021-06-16 16:58:20 +08:00
Files.kt Add height, width, size and imageType attribute to Image class (#1548) 2021-09-16 04:38:59 +08:00
HtmlEntity.kt Add HtmlEntity for decode html entity 2021-07-16 14:52:09 +08:00
IO.kt Use String constructor from Kotlin stdlib 2021-09-01 14:37:47 +08:00
JsonStruct.kt Add JsonStruct to simplify deserialization 2021-07-06 19:12:45 +08:00
LateinitMutableProperty.kt Fix LateinitMutableProperty: ensure visibility 2021-07-31 17:50:40 +08:00
MiraiPlatformUtils.kt Migrate to Kotlin 1.5.30 and review dependencies: 2021-09-01 18:52:36 +08:00
Numbers.kt Fix ImageDecoder of JPEG format; fix #1610 2021-10-17 17:11:34 +08:00
package.kt Introduce new module mirai-core-utils 2020-12-02 09:25:25 +08:00
RandomUtils.kt Rework seq system (#1230) 2021-05-02 13:50:24 +08:00
Resources.kt Add util readResource 2021-09-01 13:55:39 +08:00
ResultExtensions.kt Extract utils into multiple files 2021-09-01 13:55:39 +08:00
Serialization.kt Move KSerializer.map to mirai-core-utils 2021-07-04 17:56:23 +08:00
Services.kt Fix loadService with fallback implementation 2021-08-11 15:24:32 +08:00
StandardUtils.kt Add trySafely 2021-09-01 20:05:05 +08:00
Streams.kt Redesign Announcement API 2021-07-06 19:12:45 +08:00
Symbol.kt Add AtomicLazy 2021-05-09 00:54:48 +08:00
systemProp.kt Extract utils into multiple files 2021-09-01 13:55:39 +08:00
TimeUtils.kt Remove kotlin.time.Duration usages (#1215) 2021-04-27 11:49:30 +08:00
TypeSafeMap.kt Support sending MusicShare to friends. (#1615) 2021-10-28 13:44:18 +01:00
WeakRef.kt Simplify cache configuration. 2021-02-10 15:20:39 +08:00