Commit Graph

51 Commits

Author SHA1 Message Date
Him188
ae4d5074a5 Redesign CommandSender;
Optimize frontend implementation APIs
2020-08-30 17:31:52 +08:00
Him188
316a40e4bc Support PluginLoader with ServiceLoader 2020-08-28 20:07:02 +08:00
Him188
dad62058db Support staring console-pure as a daemon 2020-08-27 22:10:05 +08:00
Him188
bbf2ead3f0 Fix unmanaged coroutine job, add names to all CoroutineScopes 2020-08-27 21:33:55 +08:00
Him188
a6aa160a97 Fix delegation in Values;
Rename IllegalMiraiConsoleImplementationError to MalformedMiraiConsoleImplementationError;
Support Managers command
Misc improvements
2020-08-26 21:27:28 +08:00
Him188
e2e922905b Fix ConsoleInput, cleanup frontend 2020-08-26 09:03:09 +08:00
Him188
1e2ef14639 Use consoleLogger instead of stdout 2020-08-26 08:14:24 +08:00
Him188
ed2ef37304 Introduce PluginData and PluginConfig 2020-08-25 22:43:31 +08:00
Him188
d2b7421df7 Stop input on CancellationException 2020-08-23 19:52:24 +08:00
Him188
82e47a1bf3 Update license 2020-08-23 17:46:51 +08:00
Him188
cd60a60d97 CommandExecuteResult for executeCommand 2020-08-23 00:34:34 +08:00
Him188
98224cfe5e Fix build tasks for buildDate, cleanup 2020-08-22 20:13:05 +08:00
Him188
218fb2bdcc Public API stabilization:
- Redesign MiraiConsoleFrontEndDescription
- Redesign MiraiConsoleImplementation
- Rework path-relevant properties
- Add docs
2020-08-22 19:43:07 +08:00
Him188
0016a04d5e Rename Setting to PluginData for compatiblity issue 2020-08-22 01:36:22 +08:00
Him188
c13076eea0 Fix Settings 2020-08-20 23:46:51 +08:00
Him188
b00b3d97f0 Adjust loggers 2020-08-20 20:49:27 +08:00
Him188
3b540a102d Set -Xjvm-default=enable 2020-08-20 20:24:08 +08:00
PeratX
8f39f42e56 Fix ConsoleInternalApi in ConsoleThread 2020-08-20 12:21:54 +08:00
Karlatemp
c1090c1074
Thread safe. (#114)
* Thread safe.

* Fix OOM in Java x32
2020-08-20 12:17:31 +08:00
Him188
30608aedf6 Update licenses 2020-08-16 23:36:24 +08:00
Him188
0f5d46d017 Public API stabilization 2020-08-16 23:21:11 +08:00
Him188
7dfd2fd5c9 Merge remote-tracking branch 'origin/master' 2020-08-01 21:22:48 +08:00
Him188
74925ff6e8 Public api stabilization:
Separate PluginManager and its implementations;
Add Setting extensions;
Documentation updates
2020-07-31 16:35:41 +08:00
Him188
4d7826f3d9 API stabilization: rearrange implementations 2020-07-24 20:11:10 +08:00
Him188
9539218150 Use Kotlin compiler 1.4.0 but with stdlib 1.3.72 2020-07-19 13:18:27 +08:00
Him188
b636ea9b31 Support builtin settings; cleanup 2020-07-11 20:04:18 +08:00
Karlatemp
c9f8bef00d Optimize Pure output 2020-07-11 12:07:52 +08:00
Him188
56a01c23fe Fix builtin commands and frontend-pure command processing 2020-06-29 22:52:15 +08:00
Him188
58eac01cad Fix frontend 2020-06-29 22:10:52 +08:00
Him188
6fc9adeb43 Multiply terminal selection 2020-06-29 16:17:50 +08:00
Him188
6b23d5ba27 Publishing 2020-06-28 11:45:21 +08:00
Him188
01fd1b3b6e Implement MiraiConsole bootstrap and plugin loading 2020-06-28 10:44:10 +08:00
Him188
e25a818942 Rework CompositeCommand, SimpleCommand, RawCommand;
Add ConsoleExperimentalAPI annotation;
Add CommandParserContextAware;
2020-06-28 07:43:58 +08:00
Him188
32e77ca420 Add command test, fix various command bugs 2020-06-28 02:08:44 +08:00
Karlatemp
d25ff4b6e3
Link MiraiAndroid 2020-06-24 16:38:34 +08:00
Karlatemp
3408502f99
Exclude everything that pure does not need 2020-06-23 22:18:49 +08:00
Him188
49d7d35a50 Add specified log when permission denied 2020-06-23 18:19:32 +08:00
Him188
a26b607f35 Opt in MiraiExperimentalAPI for mirai-console-pure 2020-06-23 17:49:30 +08:00
Him188
a117e73186 Introduce executeCommandDetailed;
Enhance CommandExecuteResult, add type-safe classification with contracts;
Introduce CommandExecutionException providing information about the command on execution failure.
2020-06-23 17:49:09 +08:00
Karlatemp
64d13f0a19
Update command execute result 2020-06-22 12:49:02 +08:00
Karlatemp
2620d323e6
Change logger loading method 2020-06-22 12:32:33 +08:00
Him188
7ac1d94db9 Add build constant auto-fill 2020-06-21 14:24:17 +08:00
Him188
514183e793 Fix warnings 2020-06-21 00:47:52 +08:00
Him188
9fb167ee60 Fix build 2020-06-21 00:44:02 +08:00
Him188
f9132124e7 Merge remote-tracking branch 'origin/reborn' into reborn
# Conflicts:
#	frontend/mirai-console-pure/build.gradle.kts
2020-06-20 22:57:37 +08:00
Him188
f5d9f4a67e Rearrange build scripts 2020-06-20 22:55:07 +08:00
Karlatemp
b37f7bbb5f
Mirai Console Front End Pure 2020-06-20 20:47:59 +08:00
Karlatemp
5e95348bae
Update build.gradle.kts 2020-06-20 20:46:20 +08:00
Him188
ee8be9799f Command registering, matching, executing 2020-05-14 15:33:10 +08:00
Him188
41112affa8 Rework logger structure, extract pure frontend from miraio-console 2020-05-14 09:02:02 +08:00