-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squash merge branch 15-release into master
- Loading branch information
Showing
4,295 changed files
with
5,439 additions
and
64,654 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ dev.properties | |
extensions.txt | ||
dev_storage | ||
local/ | ||
local*/ | ||
local_*/ | ||
.vs | ||
.vscode | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
app/src/main/java/io/xpipe/app/beacon/impl/TerminalPrepareExchangeImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package io.xpipe.app.beacon.impl; | ||
|
||
import io.xpipe.app.prefs.AppPrefs; | ||
import io.xpipe.app.terminal.TerminalLauncherManager; | ||
import io.xpipe.app.terminal.TerminalView; | ||
import io.xpipe.beacon.BeaconClientException; | ||
import io.xpipe.beacon.api.TerminalPrepareExchange; | ||
|
||
import com.sun.net.httpserver.HttpExchange; | ||
|
||
public class TerminalPrepareExchangeImpl extends TerminalPrepareExchange { | ||
|
||
@Override | ||
public Object handle(HttpExchange exchange, Request msg) throws BeaconClientException { | ||
TerminalView.get().open(msg.getRequest(), msg.getPid()); | ||
TerminalLauncherManager.registerPid(msg.getRequest(), msg.getPid()); | ||
var term = AppPrefs.get().terminalType().getValue(); | ||
var unicode = term.supportsUnicode(); | ||
var escapes = term.supportsEscapes(); | ||
var finished = TerminalLauncherManager.isCompletedSuccessfully(msg.getRequest()); | ||
return Response.builder() | ||
.supportsUnicode(unicode) | ||
.supportsEscapeSequences(escapes) | ||
.alreadyFinished(finished) | ||
.build(); | ||
} | ||
|
||
@Override | ||
public boolean requiresEnabledApi() { | ||
return false; | ||
} | ||
} |
5 changes: 2 additions & 3 deletions
5
app/src/main/java/io/xpipe/app/beacon/impl/TerminalWaitExchangeImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.