Him188
b7b9149a06
Don't show stacktrace for IllegalArgument failure
2020-11-16 15:42:14 +08:00
Him188
58c91e80fb
User-friendly prompt for command execute failure
2020-11-16 15:31:04 +08:00
Him188
fbe5ce0970
Remove CommandExecuteResult.status
2020-11-16 14:47:45 +08:00
Him188
5e3ffafd5a
Merge remote-tracking branch 'origin/master'
2020-11-16 14:46:05 +08:00
Him188
72ec0aa6c9
Remove CommandExecuteResult.commandName and CommandExecuteResult.args
2020-11-16 14:45:45 +08:00
Karlatemp
4526f71cc7
Let the console know the full stacktrace for the IllegalArgument
2020-11-16 12:26:14 +08:00
Him188
64790d0114
Call parse with errors
2020-11-16 09:41:07 +08:00
Karlatemp
7dd4a9669b
Fix console stopping, fix #221
...
- Make StopCommand async
- Close terminal reader only
2020-11-12 12:38:49 +08:00
Karlatemp
7f35409b50
Typo
2020-10-30 18:25:55 +08:00
Karlatemp
f1113bbcce
Merge remote-tracking branch 'origin/master' into logger
2020-10-30 17:41:03 +08:00
Him188
ba76939b6f
Configure testing environment
2020-10-30 10:44:56 +08:00
Him188
03467a6f45
Simplify source root structure
2020-10-30 10:28:18 +08:00
Him188
2c5f9ebcf4
Update copyright
2020-10-28 13:35:15 +08:00
Karlatemp
97ca3d38f2
inline createLogger
2020-10-26 23:37:34 +08:00
Karlatemp
544e11747c
Redesign LoggerController
2020-10-26 23:20:10 +08:00
Karlatemp
0a76a4b71a
Review LoggerController
...
- Delete LoggerControllerPlatformBase
- Rename LoggerControllerForFrontend to LoggerControllerImpl
2020-10-26 12:35:29 +08:00
Karlatemp
b60ce7d856
Merge remote-tracking branch 'origin/master' into logger
2020-10-25 23:48:16 +08:00
Karlatemp
cef1326432
Rename MiraiConsoleLoggerController to LoggerController
2020-10-25 23:00:59 +08:00
Him188
b9580ffcbd
Review command
2020-10-24 21:19:50 +08:00
Karlatemp
d477b79e65
KDoc for MiraiConsoleLoggerController
2020-10-24 19:51:00 +08:00
Karlatemp
96017ae862
MiraiConsoleLoggerController
2020-10-24 19:34:16 +08:00
Him188
d10f2b4bea
Support vararg in command
2020-10-24 13:14:25 +08:00
Him188
fa43f2689c
Merge branch 'master' into command
...
# Conflicts:
# tools/gradle-plugin/src/main/kotlin/net/mamoe/mirai/console/gradle/VersionConstants.kt
2020-10-20 14:11:51 +08:00
Karlatemp
7a2b6e721c
Fix build
2020-09-27 13:16:45 +08:00
Karlatemp
0d21ee4c1b
Fix stdout encoding
2020-09-27 13:01:16 +08:00
Karlatemp
5ef8cec447
Fix Terminal version rendering.
2020-09-26 23:51:00 +08:00
Him188
2104cc2192
Merge branch 'master' into command
...
# Conflicts:
# backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/description/CommandArgumentContext.kt
2020-09-20 21:57:10 +08:00
Karlatemp
eb7cd3811d
Deploy SemVersion
2020-09-20 18:02:35 +08:00
Karlatemp
58d799581b
Add CommandExecuteResult.IllegalArgument
2020-09-20 09:40:51 +08:00
Him188
100bc10404
Fix shadow
2020-09-20 00:28:57 +08:00
Him188
7762ea2f65
Separate Command.names into Command.primaryName and Command.secondaryNames such that primaryName is compulsory while secondaryNames are optional.
2020-09-18 22:55:19 +08:00
Karlatemp
8fe2506e75
Terminal ( #179 )
...
* Rename ConsolePure to ConsoleTerminal
* Fix the way to close console with Ctrl+C
* Fix windows pipeline error. Fix EndOfFileException
* Add ConsoleExperimentalApi
* Collect imports
* Review
- Change old CLI main deprecation level to ERROR
- Update documents
- Update tasks from pure to terminal
* Fix error in closing console.
* Fix terminal closing and Ctrl+C closing.
* Add console shut-downing status
* Don't invokeOnCompletion when console shut-downing
* Fix Input interrupt
* Ensure active unless console is shut downing
* Change MiraiConsole.isShutDowning to `!job.isActive`
* Code Review
- Update Message on MiraiConsolePureLoader.kt
- Change MiraiConsole.isShutDowning to MiraiConsole.isActive
- Change MiraiConsole.shutdown to ConsoleInternalApi
* run catching
* Fix console input
* Update shutdown
* Fix module
* Revert 5199395
* Typo
2020-09-18 12:43:57 +08:00
Him188
77bc76be24
Merge pull request #163 from Karlatemp/no-console
...
Working without Terminal
2020-09-13 02:12:29 +08:00
Him188
6b9ec05c98
Review plugins:
...
Move PluginLoader into plugin.loader;
Improve docs;
Change extension PluginLoader.description to member function PluginLoader.getPluginDescription;
Change builtIn loader lists with Lazy items;
Add Regex for testing plugin names and ids.
2020-09-12 20:20:41 +08:00
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