Commit Graph

127 Commits

Author SHA1 Message Date
Him188
5c6b4aa8cc Rename JarPluginLoader to JvmPluginLoader. Rename JvmPluginLoader.Companion to JvmPluginLoader.BuiltIn 2020-09-12 19:43:51 +08:00
Karlatemp
11688b1dec
Correct class naming following Kotlin formal style 2020-09-12 19:40:34 +08:00
Karlatemp
9a1a6dddfd
Merge remote-tracking branch 'origin/master' into no-console
# Conflicts:
#	frontend/mirai-console-pure/src/main/kotlin/net/mamoe/mirai/console/pure/ConsoleThread.kt
#	frontend/mirai-console-pure/src/main/kotlin/net/mamoe/mirai/console/pure/MiraiConsoleImplementationPure.kt
#	frontend/mirai-console-pure/src/main/kotlin/net/mamoe/mirai/console/pure/MiraiConsolePureLoader.kt
2020-09-12 19:37:56 +08:00
Him188
8f1cc48c6b Fix buildscript 2020-09-12 16:11:53 +08:00
Him188
956e193d02 Correct class naming following Kotlin formal style 2020-09-12 13:31:34 +08:00
Him188
2223451b70 Ignore blank inputs 2020-09-11 23:08:15 +08:00
Karlatemp
081b679134
Rename printlnHelpMessage to printHelpMessage 2020-09-11 21:08:12 +08:00
Karlatemp
a666dc5448
Unified code style 2020-09-11 20:52:50 +08:00
Karlatemp
a72fe42aaa
Add option --reading-replacement 2020-09-11 20:42:00 +08:00
Karlatemp
9e9c848596
Rename --drop-ansi to --no-ansi 2020-09-11 20:35:36 +08:00
Karlatemp
afed2e1de3
Review: Using list to save help for better editing. 2020-09-11 20:21:41 +08:00
Karlatemp
284f6a28e1
Rename NoNonBlockingReader to NoConsoleNonBlockingReader 2020-09-11 20:07:35 +08:00
Karlatemp
f677516a70
Review: Incoming stream should only \n coming. 2020-09-11 20:07:33 +08:00
Karlatemp
6f38654f87
Drop ansi 2020-09-11 19:45:26 +08:00
Karlatemp
12b942a27b
Fix Copyright 2020-09-11 19:28:12 +08:00
Karlatemp
f1015915ba
Working without Terminal 2020-09-11 19:22:55 +08:00
Him188
cea884c3d7 Use Permission for Permission.parent 2020-09-10 19:53:27 +08:00
Him188
7123f1e227 Ignore CancellationException in MiraiConsole.coroutineContext[CoroutineExceptionHandler] 2020-09-10 09:05:08 +08:00
Him188
335299275b Add CoroutineName for input thread 2020-09-10 09:04:31 +08:00
Him188
3c64b99553 Improve messages 2020-09-10 08:56:13 +08:00
Him188
d403d5d79c Remove mirai-console-terminal 2020-09-10 08:49:03 +08:00
Him188
7638a7e759 No more kapt 2020-09-08 15:51:45 +08:00
Him188
bffecea0a1 Fix generic types 2020-09-04 20:49:02 +08:00
dependabot[bot]
8525c8f708
Bump Mirai-Android from 9784f7c to 710128 2020-09-04 00:17:49 +08:00
Him188
decf1920b4 Expose CoroutineScopeUtils to public 2020-09-02 20:20:26 +08:00
Him188
e8bb0f0bb4 Update Plugin load mechanism for compatibility with Android 2020-08-31 19:23:56 +08:00
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
Him188
4521cfbc9e Rearrange frontend modules, extract mirai-console-pure to a frontend module. 2020-05-14 08:18:03 +08:00