AdoptOSS
|
7325c1f7e2
|
native: 优化 build script 及 actions,修复 ECDH 相关资源释放问题 (#2110)
* build: fix build on Windows
* test: fix ContentEqualsTest on native
* build: allow disabling targets with property
* fix: free ECDH-related resources properly on native
avoid memory leaking (usually on *nix) or crash (usually on Windows)
Signed-off-by: AdoptOSS <adoptoss@outlook.com>
* build(workflow): remove invalid options
* fix(styling): `mirai.target` property
* build(workflow): try to limit memory usage during mirai-console:tools:gradle-plugin:integTest
* enhance(test): use buildList
* build(workflow): retry
Co-authored-by: ArcticLampyrid <arcticlampyrid@outlook.com>
|
2022-07-20 00:30:16 +08:00 |
|
Him188
|
21c4a5ba04
|
Use kotlinx-coroutines-test
|
2022-07-20 00:30:16 +08:00 |
|
Him188
|
cca40b8aa3
|
Add dummy jvmBase target for IDE
|
2022-07-20 00:30:16 +08:00 |
|
Him188
|
7dbb1a5ad7
|
Add RunConfigurations
|
2022-07-20 00:30:16 +08:00 |
|
Him188
|
4230a6e84c
|
Remove MiraiLogger.subLogger in mirai-core-api to overcome declaration clash on native
|
2022-07-20 00:30:16 +08:00 |
|
Him188
|
fe0a4de368
|
Produce shared libraries and static libraries
|
2022-07-20 00:30:16 +08:00 |
|
Him188
|
4c6b879873
|
Upgrade to Ktor 2.0.2, use CIO engine for linux targets; Remove ktor-client-okhttp from mirai-core-api jvmBaseMain
Use Input.readAllText instead of Input.readText, because readText only reads one buffer.
#2084
|
2022-07-20 00:30:16 +08:00 |
|
Him188
|
d27228c8c8
|
Rewrite MessageSerializers, register serializers in each MessageProtocol, implement for native targets
|
2022-07-20 00:30:16 +08:00 |
|
Him188
|
13dadd5a95
|
Implement mirai-core for native
|
2022-07-20 00:30:16 +08:00 |
|
Him188
|
732e61e37d
|
Ensure for all MessageChain subclasses, equals , hashCode give consistent results.
|
2022-07-20 00:30:16 +08:00 |
|
Him188
|
7088835402
|
HMPP
|
2022-07-20 00:30:16 +08:00 |
|
Him188
|
ff2a8acb0c
|
Implement multiplatform modules
|
2022-07-20 00:30:16 +08:00 |
|
Him188
|
ce87400998
|
Use ktor-io to replace kotlinx-io
|
2022-07-20 00:30:16 +08:00 |
|
Him188
|
0571be1a55
|
Commonize projects: mirai-core series, and mirai-console-compiler-annotations
|
2022-07-20 00:30:16 +08:00 |
|
Him188
|
d96641dedb
|
Configure HMPP project structure
|
2022-07-20 00:30:16 +08:00 |
|
Him188
|
a4e7fda416
|
Raise deprecation level for 2.12
|
2022-06-14 11:19:44 +01:00 |
|
Him188
|
1a2241b8b2
|
Add Java-friendly EventChannel.exceptionHandler API, close #1953
|
2022-06-08 21:42:20 +01:00 |
|
Him188
|
bcaf9b5060
|
Fix warningSince for deprecation of GroupEntranceAnnouncementChangeEvent
|
2022-06-08 21:40:42 +01:00 |
|
Him188
|
67984bfbad
|
Deprecate GroupEntranceAnnouncementChangeEvent, as per #1873
|
2022-06-08 21:31:50 +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
|
3b7eb40529
|
Add implementation notes for MessageSource.originalMessage
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
54b3bf405f
|
Add notes for Dice.name
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
08d1fc1f38
|
Add more MessageProtocolTest
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
a8c231485c
|
SilentLogger: return false for all isEnabled checks
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
0bb86a3b11
|
Rearrange functions in MessageVisitor to correspond their hierarchy
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
0cef98dec0
|
Fix OfflineAudioFactory configuration
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
d6a56f1052
|
Remove generic type on MessageVisitorUnit
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
287769799a
|
Enable kotlin-dynamic-delegation in mirai-core and mirai-core-api
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
0c708c8197
|
Redesign MessageChain hierarchy: Add LinearMessageChainImpl and CombinedMessage
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
b40b681f81
|
Deprecate EmptyMessageChain in favor of emptyMessageChain()
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
3955546868
|
Add MessageVisitor , MessageVisitorEx , Message.accept and Message.acceptChildren as internal API
|
2022-05-25 22:39:53 +01:00 |
|
cssxsh
|
a1a517c03f
|
fix: FileMessage.Delegate SerialName (#2041)
|
2022-05-18 09:07:31 +01:00 |
|
Him188
|
d8ceb7ae5b
|
Fix @since
|
2022-05-16 19:14:14 +01:00 |
|
Him188
|
4495e36e7c
|
Fix event broadcast directly without checks. Add notes for broadcasting an event.
|
2022-05-16 19:14:14 +01:00 |
|
Him188
|
2f40d3f432
|
Deprecate EventDisabled for ERROR
|
2022-05-16 19:14:14 +01:00 |
|
Him188
|
0c809f4e4c
|
Remove internal EventBroadcast , code cleanup
|
2022-05-16 19:14:14 +01:00 |
|
Him188
|
497d9ff810
|
Update docs for Event, EventChannel, and Listener
|
2022-05-16 19:14:14 +01:00 |
|
Him188
|
c391d3f886
|
Refine nextEvent and syncFromEvent: handle exceptions correctly
|
2022-05-16 19:14:14 +01:00 |
|
Him188
|
30dbd1b1c2
|
Pass exceptions caught in subscriber context to subscriber only
|
2022-05-16 19:14:14 +01:00 |
|
Him188
|
c192047361
|
Move event implementations to EventDispatcher and add EventChannel.asFlow .
|
2022-05-16 19:14:14 +01:00 |
|
cssxsh
|
c6b47a3231
|
Fix MarketFace contentToString, return '[商城表情]' if original name is empty (#2030)
|
2022-05-14 11:14:36 +01:00 |
|
Karlatemp
|
cb3bba986c
|
Fix IMirai initialize; Fix #1861; Fix some error caused by d757764308
|
2022-05-06 17:47:22 +08:00 |
|
Him188
|
4fa853065c
|
Add BotConfiguration.disableAccountSecretes
|
2022-05-02 14:01:53 +01:00 |
|
Him188
|
54eb4387e4
|
Make log4j.Logger.asMiraiLogger and useLog4j2 stable
|
2022-05-02 11:13:55 +01:00 |
|
Karlatemp
|
c37576fda7
|
Log exception when failed to initialize java.desktop for better user debugging; Use CLI if in headless mode
|
2022-04-30 12:49:28 +08:00 |
|
Him188
|
bb8cd86daa
|
Update dependencies:
Kotlin 1.6.21
Dokka 1.6.20
coroutines 1.6.1
atomifFU 0.17.2
serialization 1.3.2
ktor 1.6.7
blocking-bridge 2.0.0-162.1
dynamic-delegation 0.3.0-162.2
|
2022-04-26 11:12:35 +01:00 |
|
Him188
|
acb048c267
|
Add errorSince information for deprecation for BotConfiguration.json
|
2022-04-25 15:50:46 +01:00 |
|