From 8eccbc661a8dc555a0c8111bf25670df7cc03489 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Thu, 6 Jun 2024 22:59:20 +0200 Subject: [PATCH] [project] moving `PtyBasedProcess` to a more appropriate module GitOrigin-RevId: e5d5a085c413543fbf821a7f5b7a696759522e5c --- platform/platform-util-io/api-dump-reviewed.txt | 5 ++++- platform/platform-util-io/api-dump-unreviewed.txt | 3 +++ .../src/com/intellij}/execution/process/PtyBasedProcess.java | 3 +-- platform/remote-core/api-dump-unreviewed.txt | 3 --- 4 files changed, 8 insertions(+), 6 deletions(-) rename platform/{remote-core/src => platform-util-io/src/com/intellij}/execution/process/PtyBasedProcess.java (50%) diff --git a/platform/platform-util-io/api-dump-reviewed.txt b/platform/platform-util-io/api-dump-reviewed.txt index a0fdb3e6f2a1..84bee9ef60f0 100644 --- a/platform/platform-util-io/api-dump-reviewed.txt +++ b/platform/platform-util-io/api-dump-reviewed.txt @@ -324,4 +324,7 @@ c:com.intellij.execution.process.OSProcessHandler c:com.intellij.execution.process.OSProcessHandler$Silent - com.intellij.execution.process.OSProcessHandler - (com.intellij.execution.configurations.GeneralCommandLine):V -- p:readerOptions():com.intellij.util.io.BaseOutputReader$Options \ No newline at end of file +- p:readerOptions():com.intellij.util.io.BaseOutputReader$Options +com.intellij.execution.process.PtyBasedProcess +- a:hasPty():Z +- a:setWindowSize(I,I):V diff --git a/platform/platform-util-io/api-dump-unreviewed.txt b/platform/platform-util-io/api-dump-unreviewed.txt index bc4a6f2bde8c..901365b703a6 100644 --- a/platform/platform-util-io/api-dump-unreviewed.txt +++ b/platform/platform-util-io/api-dump-unreviewed.txt @@ -405,6 +405,9 @@ c:com.intellij.execution.process.ProcessWrapper - getOriginalProcess():java.lang.Process - getOutputStream():java.io.OutputStream - waitFor():I +com.intellij.execution.process.PtyBasedProcess +- a:hasPty():Z +- a:setWindowSize(I,I):V f:com.intellij.execution.process.ScriptRunnerUtil - sf:STDERR_OUTPUT_KEY_FILTER:com.intellij.openapi.util.Condition - sf:STDOUT_OR_STDERR_OUTPUT_KEY_FILTER:com.intellij.openapi.util.Condition diff --git a/platform/remote-core/src/execution/process/PtyBasedProcess.java b/platform/platform-util-io/src/com/intellij/execution/process/PtyBasedProcess.java similarity index 50% rename from platform/remote-core/src/execution/process/PtyBasedProcess.java rename to platform/platform-util-io/src/com/intellij/execution/process/PtyBasedProcess.java index b51cd7a20b77..fbc4f1046612 100644 --- a/platform/remote-core/src/execution/process/PtyBasedProcess.java +++ b/platform/platform-util-io/src/com/intellij/execution/process/PtyBasedProcess.java @@ -1,8 +1,7 @@ -// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.execution.process; public interface PtyBasedProcess { - boolean hasPty(); void setWindowSize(int columns, int rows); diff --git a/platform/remote-core/api-dump-unreviewed.txt b/platform/remote-core/api-dump-unreviewed.txt index 218facd3ac0e..3ee4c8dccf7d 100644 --- a/platform/remote-core/api-dump-unreviewed.txt +++ b/platform/remote-core/api-dump-unreviewed.txt @@ -77,9 +77,6 @@ e:com.intellij.credentialStore.ProviderType - s:getEntries():kotlin.enums.EnumEntries - s:valueOf(java.lang.String):com.intellij.credentialStore.ProviderType - s:values():com.intellij.credentialStore.ProviderType[] -com.intellij.execution.process.PtyBasedProcess -- a:hasPty():Z -- a:setWindowSize(I,I):V a:com.intellij.ide.passwordSafe.PasswordSafe - com.intellij.credentialStore.CredentialStore - com.intellij.ide.passwordSafe.PasswordStorage