Commit Graph

7641 Commits

Author SHA1 Message Date
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
Him188
2a036d7bb3 Simplify buildscript: remove redundant comments 2022-01-06 04:46:58 +00:00
LaoLittle
0c964f3144
允许使用 IPAD 协议发送戳一戳 (#1711)
* 修改注释

* IPAD协议发送戳一戳时不抛出UnsupportedOperationException

* 修改注释

“安卓协议”的描述并不准确,ANDROID_PAD 也是安卓协议,但是完全不支持戳一戳
修改进行明确

* Apply suggestions from code review

* Update Nudge.kt

Co-authored-by: Initial-heart <63091661+Initial-heart-1@users.noreply.github.com>
Co-authored-by: Him188 <Him188@mamoe.net>
2022-01-06 01:16:42 +00:00
Karlatemp
d14261d5b0
Update issue template
[no ci]
2022-01-05 17:46:57 +08:00
Karlatemp
bb3df26817
Fix intellij-plugin 2022-01-05 00:32:56 +08:00
Karlatemp
4fcd19742b
Fix gradle-plugin 2022-01-05 00:24:46 +08:00
Karlatemp
6b571e163d
Fix jvmTarget; fix #1795; fix #1765 2022-01-04 23:59:13 +08:00
Karlatemp
6d16d77dad Secrets Protection 2022-01-03 17:38:34 +00:00
微莹·纤绫
f7e295e20c
Update ConfiguringProjects.md
[no ci]
2022-01-03 23:52:38 +08:00
Him188
bc52924602
Update copyright date 2022-01-01 01:32:20 +00:00