Commit Graph

7663 Commits

Author SHA1 Message Date
Him188
1cc299431d Rename OutgoingPacketAndroid.kt in commonMain to OutgoingPacket.kt to eliminate ambiguity 2022-02-12 13:03:18 +00:00
cssxsh
cadb529588
为生成的 IMEI 增加校验位 (#1855)
* feat: luhn

* fix: China Country Code 86

* fix: China Country Code 86

* fix: China Country Code 86
2022-02-12 12:47:19 +00:00
cssxsh
d2505a397d
fix: PluginDescription.checkSatisfies (#1859) 2022-02-12 12:47:09 +00:00
Him188
963d5f68b9 Support Kotlin 1.6.20-M1 for mirai-console-intellij 2022-02-12 12:45:38 +00:00
AdoptOSS
4586203c80 improve(logger/log4j): use reusable message for better performance 2022-02-12 12:36:41 +00:00
Karlatemp
1d2c219b9d
Fix MessagePreSendEvent name; fix #1851 2022-02-09 22:21:09 +08:00
Him188
4795839bfa build: Remove unused experimentalAnnotations 2022-02-07 16:23:50 +00:00
Him188
95a82c4949 Use new versioning strategy for idea plugin 2022-02-07 16:23:34 +00:00
Him188
1d97a20b78 idea: Correctly sort versions, fix compatibility issues with some intellij versions. 2022-02-07 16:20:55 +00:00
lz1998
e856a017a1 typo 2022-02-07 11:53:59 +00:00
Him188
1012c6fbf6 Add createAutoCloseable back, close #1856 (caused by #1742 (PR #1774)) 2022-01-31 15:15:14 +00:00
Tarrailt
d02348ed36 Update README.md
Change Cesloi to Edoves
2022-01-29 09:46:29 +00:00
Him188
bd71c486bd Fix botAsMemberInitialized, fix #1848 2022-01-22 15:04:00 +00:00
Him188
52e8ecd29e
Update README.md 2022-01-21 00:28:43 +00:00
Him188
f390ff6ef9
Create README.md 2022-01-21 00:25:54 +00:00
Him188
4a89da55fb Enable mirai-console-gradle publishing only when MIRAI_IS_SNAPSHOTS_PUBLISHING 2022-01-21 00:19:39 +00:00
Him188
701039ee48
弃用无 receiver 的事件扩展函数, 增加其 EventChannel receiver 版本替换 (#1754)
* Deprecate no-receiver functions `nextEvent*`, `syncFromEvent*`, `asyncFromEvent*`. Add their `EventChannel`-receiver counterparts. #1827

* Fix migration

* Migrate `nextMessage` to new API
2022-01-20 10:15:10 +00:00
Karlatemp
6f24035154
Update mirai-console.integration-test 2022-01-15 19:17:04 +08:00
Him188
747bc05591 Update apiDump for previous commit 2d26f94769 (Move AbstractImage, FriendImage, GroupImage from mirai-core-api to mirai-core) 2022-01-14 19:34:04 +00:00
Him188
2d26f94769 Move AbstractImage, FriendImage, GroupImage from mirai-core-api to mirai-core, close #1670 2022-01-14 19:02:38 +00:00
Him188
978a877e56 Set version in dev branch to 2.11.0-RC 2022-01-14 18:57:02 +00:00
Him188
4a32f03797 Add logging for uninitialized botAsMember on creating new GroupImpl instance. helps #1776 2022-01-14 18:45:25 +00:00
Him188
7d3971259d
Review deprecation for 2.10. close #1742 (#1774) 2022-01-14 18:26:44 +00:00
Him188
12999356e2 Prohibit sending FileMessage manually, except those from FileMessage.upload. close #1715 2022-01-14 18:21:50 +00:00
Him188
cd020415d1 Update DebuggingNetwork.md with mirai.message.allow.sending.file.message 2022-01-14 18:10:34 +00:00
Him188
b52783d815 Fix BotOfflineEvent.Active not broadcast on bot.close, fix #1717 2022-01-14 17:57:22 +00:00
Him188
85b00f583b TestEventDispatcherImpl: ensure event is broadcast 2022-01-14 17:57:22 +00:00
Him188
920886434c Fix SafeStateObserver: add missing override beforeStateChanged 2022-01-14 17:57:22 +00:00
cssxsh
a3d29b847e
add: TemporalArgumentParser (#1748)
* add: TemporalArgumentParser

* fix: no reflect

* fix: delete @Suppress("UNCHECKED_CAST")

* fix: Temporal -> TemporalAccessor

* add: test temporal argument

* add: isInstance

* docs: since 2.10

* docs: since 2.10
2022-01-14 17:14:12 +00:00
Karlatemp
033a10daaf
Fix binary-compatibility-validator 2022-01-14 21:19:59 +08:00
Karlatemp
335dff170d
Add console launch options 2022-01-14 21:12:14 +08:00
Him188
f60ad8f45e Update project copyright configuration
Relevant: #1791
2022-01-12 08:58:14 +00:00
Him188
b62b6c3958 Appropriately execute IO tasks for JConsoleInput 2022-01-10 23:27:23 +00:00
Him188
b58bcfe4ac apiDump 2022-01-10 23:27:23 +00:00
Him188
f8674d6875 Change CommandManager from singleton to instance object 2022-01-10 23:27:23 +00:00
Him188
6db81a50ac Rewrite console testFramework 2022-01-10 23:27:23 +00:00
Him188
d0c2304e1a Rename test package framework to testFramework 2022-01-10 23:27:23 +00:00
Him188
1cde9029b7 Rename BuiltInExtensionSelector to SingletonExtensionSelectorImpl 2022-01-10 23:27:23 +00:00
Him188
1b0f30c4bf Convert all built-in permission services from singleton to instances 2022-01-10 23:27:23 +00:00
Him188
9930fc7ed1 Extend AbstractSingletonExtensionPoint and AbstractInstanceExtensionPoint, support lazy instance computation 2022-01-10 23:27:23 +00:00
Him188
8435131499 Change JvmPluginLoader and ConsoleDataScope from singleton to instances. 2022-01-10 23:27:23 +00:00
Him188
05187f5162 Mark PluginManager with @NotStableForInheritance and update docs 2022-01-10 23:27:23 +00:00
Him188
26b84485fe Mark MiraiConsole with @NotStableForInheritance and update docs 2022-01-10 23:27:23 +00:00
Him188
b43e6c1957 Rename all 'fillBuildConstants' tasks to 'generateBuildConstants' and ensure generated files are not versioned. Update docs and CI build config 2022-01-10 23:27:23 +00:00
Him188
41b424c555 Remove MiraiConsoleBuildConstants from git and generate it everytime on build 2022-01-10 23:27:23 +00:00
Him188
d904cd9992 Use dynamic delegation to replace manual delegates for MiraiConsoleImplementationBridge 2022-01-10 23:27:23 +00:00
Him188
0dcba7c30c Change ConsoleDataScope from singleton to instances 2022-01-10 23:27:23 +00:00
Him188
ea0bf38203 Make PluginManager not static object 2022-01-10 23:27:23 +00:00
Him188
662fbf8d1e Deprecate experimental CoroutineScopeUtils 2022-01-10 23:27:23 +00:00
Him188
06d17274a2 Use kotlin-dynamic-delegation 2022-01-10 23:27:23 +00:00