Small fixes [stage]

This commit is contained in:
crschnick 2024-08-10 11:36:49 +00:00
parent de03207d90
commit fbd1f1c5ce
4 changed files with 20 additions and 5 deletions

View file

@ -37,15 +37,16 @@ public class ConnectionFileSystem implements FileSystem {
public FileSystem open() throws Exception { public FileSystem open() throws Exception {
shellControl.start(); shellControl.start();
if (!shellControl.getTtyState().isPreservesOutput() || !shellControl.getTtyState().isSupportsInput()) {
throw new UnsupportedOperationException("Shell has a PTY allocated and does not support file system operations");
}
var d = shellControl.getShellDialect().getDumbMode(); var d = shellControl.getShellDialect().getDumbMode();
if (!d.supportsAnyPossibleInteraction()) { if (!d.supportsAnyPossibleInteraction()) {
shellControl.close(); shellControl.close();
d.throwIfUnsupported(); d.throwIfUnsupported();
} }
if (!shellControl.getTtyState().isPreservesOutput() || !shellControl.getTtyState().isSupportsInput()) {
throw new UnsupportedOperationException("Shell has a PTY allocated and does not support file system operations");
}
return this; return this;
} }

View file

@ -31,11 +31,14 @@ When multiple files are selected, a script is now called only once with all the
## Other ## Other
- Rework state information display for proxmox VMs - Rework state information display for proxmox VMs
- Fix git sync freezing when using key with passphrase on modern ssh clients
- Fix git sync restarting daemon after exit when using key with passphrase
- Fix terminal exit not working properly in fish - Fix terminal exit not working properly in fish
- Fix renaming a connection clearing all state information - Fix renaming a connection clearing all state information
- Fix script enabled status being wrong after editing an enabled script - Fix script enabled status being wrong after editing an enabled script
- Fix download move operation failing when moving a directory that already existed in the downloads folder - Fix download move operation failing when moving a directory that already existed in the downloads folder
- Fix some scrollbars are necessarily showing - Fix some scrollbars are necessarily showing
- Automatically fill identity file for ssh config wildcard keys as well
- Improve error messages when system interaction was disabled for a system - Improve error messages when system interaction was disabled for a system
- Don't show git all compatibility warnings on minor version updates - Don't show git all compatibility warnings on minor version updates
- Enable ZGC on Linux and macOS - Enable ZGC on Linux and macOS

View file

@ -1,3 +1,11 @@
## TTYs and PTYs
Up until now, if you added a connection that always allocated pty, XPipe would complain about a missing stderr.
In XPipe 11, there has been a ground up rework of the shell initialization code which will in theory allow for better handling of these cases.
They are not fully supported yet and have some issues, but should work better.
The main concern here is to verify that the existing normal shell implementation still works as before and there were no bugs introduced by this rework.
## Profiles ## Profiles
You can now create multiple user profiles in the settings menu. You can now create multiple user profiles in the settings menu.
@ -23,11 +31,14 @@ When multiple files are selected, a script is now called only once with all the
## Other ## Other
- Rework state information display for proxmox VMs - Rework state information display for proxmox VMs
- Fix git sync freezing when using key with passphrase on modern ssh clients
- Fix git sync restarting daemon after exit when using key with passphrase
- Fix terminal exit not working properly in fish - Fix terminal exit not working properly in fish
- Fix renaming a connection clearing all state information - Fix renaming a connection clearing all state information
- Fix script enabled status being wrong after editing an enabled script - Fix script enabled status being wrong after editing an enabled script
- Fix download move operation failing when moving a directory that already existed in the downloads folder - Fix download move operation failing when moving a directory that already existed in the downloads folder
- Fix some scrollbars are necessarily showing - Fix some scrollbars are necessarily showing
- Automatically fill identity file for ssh config wildcard keys as well
- Improve error messages when system interaction was disabled for a system - Improve error messages when system interaction was disabled for a system
- Don't show git all compatibility warnings on minor version updates - Don't show git all compatibility warnings on minor version updates
- Enable ZGC on Linux and macOS - Enable ZGC on Linux and macOS

View file

@ -1 +1 @@
11.0-2 11.0-3