Commit Graph

226 Commits

Author SHA1 Message Date
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
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
1ab48748ab Fix project structure for Dokka
Co-authored-by: 微莹·纤绫 <karlatemp@vip.qq.com>
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
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
6d16d77dad Secrets Protection 2022-01-03 17:38:34 +00:00
Karlatemp
de64a59087
Remove duplicated shadowJar 2021-12-29 12:45:10 +08:00
Him188
9ae59ec979 Configure publishing for mirai-console-gradle, fix #1768 2021-12-28 03:25:43 +00:00
Him188
1cd354a7e3 Add @ResolveContext for usages of abstract message keys, implement relevant inspections, close #1363 2021-12-27 13:07:17 +00:00
Him188
63957b183b Make mirai-console-compiler-annotations multiplatform 2021-12-27 13:07:17 +00:00
Karlatemp
7099244414
Fix /login without passwd 2021-12-23 18:29:08 +08:00
Him188
7a32afc14c Fix build failure caused by different compiler API versions 2021-12-23 01:37:11 +00:00
Him188
ecc4425463 Move KClass.createInstance to mirai-core-utils and optimize TestPointPluginImpl.<init> 2021-12-23 01:37:11 +00:00
Him188
d6c2c379c3 Tentatively fix compilation issue 2021-12-23 01:37:11 +00:00
Him188
7faf630454 Update kotlin-jvm-blocking-bridge to 2.0.0-160.2 2021-12-23 01:37:11 +00:00
Him188
1f03374eb4 Disable gradle daemon in tests 2021-12-21 03:14:09 +00:00
Him188
37a54bd533 Set JVM Xmx for Gradle tests 2021-12-21 03:14:09 +00:00
Karlatemp
1d1a77ff1a
Test of rename folder 2021-12-19 00:46:46 +08:00
Karlatemp
84b66692e9
Modify the order of rename execution 2021-12-19 00:45:53 +08:00
Eritque arcus
7d5bd4564e
move nameFolder under config folder to idFolder, untested 2021-12-19 00:45:51 +08:00
Eritque arcus
f4a2effa01
fix new namefolder after moving 2021-12-19 00:45:51 +08:00
Karlatemp
dda61f5a5d
Fix exception catch 2021-12-19 00:45:13 +08:00
微莹·纤绫
8d6b4b4970
[CONSOLE] Integration Test (#1741)
* [CONSOLE] Realtime Test Unit

* Rename to IntegrationTest; IDEA Debugging support

* External Plugins support

* Simply redesign
2021-12-18 22:59:43 +08:00
Him188
92465c3213 Improve performance of IDEA plugin 2021-12-16 14:17:50 +00:00
Him188
5232dc6953 Temporarily disable 'PluginMovingTests' since test framework fails 2021-12-06 14:58:50 +00:00
Him188
ab26c309fc Remove mirai-console/.github 2021-12-06 14:58:48 +00:00
Him188
aa98a10d12 Migrate references in docs 2021-12-06 14:58:45 +00:00
Him188
14bb3752dd Add mirai-console/README.md back 2021-12-06 14:58:43 +00:00