Commit Graph

7650 Commits

Author SHA1 Message Date
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
Him188
693e6af79a Inline all typeOf0 usages with stable stdlib API typeOf 2022-01-06 20:27:06 +00:00
Him188
dcacacefad Make CommandParameter sealed 2022-01-06 20:27:06 +00:00
Him188
7f0cb4581e Fix dokka configure 2022-01-06 20:26:52 +00:00
Him188
be2b1d3c66 Do not write file if contents are equal 2022-01-06 20:26:52 +00:00
Him188
194e9ced44 Use unified plugin version: org.jetbrains.kotlinx.binary-compatibility-validator 2022-01-06 20:26:52 +00:00
Him188
1ab48748ab Fix project structure for Dokka
Co-authored-by: 微莹·纤绫 <karlatemp@vip.qq.com>
2022-01-06 20:26:52 +00:00
Him188
25910dbe0c Rename Run Configurations 2022-01-06 20:26:52 +00:00
Him188
c7ba74277a Add Run Configuration for apiCheckAll 2022-01-06 20:26:52 +00:00
Him188
5a6d74e7bf Update CONTRIBUTING.md on updating API dumps 2022-01-06 20:26:52 +00:00
Him188
382b2f2d65 Add Run Configuration for :mirai-core-api:apiDumpAll 2022-01-06 20:26:52 +00:00
Him188
a482659d86 Configure binary-compatibility-validator for mirai-console 2022-01-06 20:26:52 +00:00
Him188
3d864362aa Generalize binary validator 2022-01-06 20:26:52 +00:00
Him188
3844630550 Cleanup code 2022-01-06 20:07:22 +00:00