Commit Graph

30 Commits

Author SHA1 Message Date
Him188
7908edb57b
[core+console] Raise deprecation level for 2.14, API including:
- EventChannel.asChannel
- (internal) syncFromEventImpl
- EmptyMessageChain
- GroupEntranceAnnouncementChangeEvent
- MiraiConsole.createLogger
- SingletonExtensionPoint
2022-12-27 15:53:12 +00:00
Karlatemp
889a78e572
[publish] Delete GpgSigner 2022-11-29 15:27:37 +08:00
Him188
4b794feecb
[terminal] Use the more concise way to add and shadow dependencies 2022-11-27 19:58:28 +00:00
Karlatemp
7cbff5a8c2
[console] Fix another concurrently logic 2022-11-02 18:02:24 +08:00
Karlatemp
9e7fd79225
[console] Let JLineInputDaemon use lock terminalExecuteLock; Try to fix \ #2322 2022-11-02 00:24:06 +08:00
Karlatemp
07000456cf
[console] Fix locking; Try to fix \ #2322 2022-11-02 00:10:43 +08:00
Karlatemp
48143d7b3c
[console] Process signals later if console not yet initialized; Ignore window resized signal 2022-10-23 12:55:25 +08:00
Him188
1f8524fb04
Fix all compiler warnings throughout the project 2022-10-21 17:00:37 +01:00
Karlatemp
3949c9c08c
Fix terminal resolving; Fix terminal logic error 2022-09-06 18:21:41 +08:00
Karlatemp
d24a5912d3
Redesign terminal 2022-09-06 18:21:39 +08:00
Karlatemp
7952f0c15d
Update terminal dependencies
- org.jline:jline:3.21.0
- org.fusesource.jansi:jansi:2.4.0
2022-09-06 18:21:38 +08:00
Karlatemp
5ac74a336f
Create module mirai-console-frontend-base 2022-09-06 18:21:37 +08:00
Karlatemp
969c77f146
[console] Change convention of createLoggerFactory() 2022-08-28 22:52:48 +08:00
Him188
f0651c81c6
[core+console] Improve logging hierarchy: (#2196)
- always use factory API from mirai-core
- Terminal is still overriding standard outputs
- plugins are forbidden to override logging framework (this was allowed but not working before)
2022-08-27 18:46:16 +08:00
微莹·纤绫
85d81efc4a
[console] Console artifacts downloading progress (#2140)
* Console artifacts downloading progress

* Add missing code

* Update kdoc & naming

* make `terminalDisplay` internal

* improve performance

* Update DownloadingProgress.kt

[skip ci]

* Rename DownloadingProgress to ProcessProgress

* make ProcessProgress stable
2022-08-20 15:58:03 +08:00
Karlatemp
42334c42c5
[Terminal] Force shutdown after double Ctrl+C 2022-07-22 19:30:38 +08:00
Karlatemp
f48940a897
Prefer SystemCommandSender; fix SystemCommandSender error message rendering 2022-06-18 23:49:54 +08:00
Him188
091c86b007
Fix RunTerminal configuration 2022-06-14 10:23:21 +01:00
微莹·纤绫
d0c1848c94
Improve console shutdown (#2016)
* Try to improve console shutdown

* Resetting & Better java calling

* Dump crash report when timed out to shutdown

* Ensure `CoroutineScope.cancel()` working; rename to `shutdown`

* Signal handlers

* Force halt system to avoid some magic errors
2022-06-07 00:10:51 +08:00
Him188
8993de9a13 Review deprecation for 2.11, close #1837 2022-04-13 12:47:21 +01:00
Karlatemp
d3c230ad12
Initialize jline first; #1936 2022-03-16 17:54:14 +08:00
Karlatemp
9bdbe30522
console-terminal option: --no-logging 2022-03-08 13:16:50 +08:00
微莹·纤绫
4f6481955c
Save journals to file (#1874)
* Save journals to file

* Use kotlin coroutines

* Fix StackOverflowError

* Auto split log files && test units

* Implement ConsoleTerminalSettings.noLogging

* Improve logging

* High-Speed logging test
2022-02-21 12:18:05 +00:00
Him188
7d3971259d
Review deprecation for 2.10. close #1742 (#1774) 2022-01-14 18:26:44 +00:00
Karlatemp
335dff170d
Add console launch options 2022-01-14 21:12:14 +08:00
Him188
f8674d6875 Change CommandManager from singleton to instance object 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
662fbf8d1e Deprecate experimental CoroutineScopeUtils 2022-01-10 23:27:23 +00:00
Him188
1783c22e30 Unify dependency configuration 2021-12-06 14:58:30 +00:00
Him188
8fe02ba90d Move all files into mirai-console subfolder 2021-12-06 14:51:44 +00:00