forked from qt-creator/qt-creator
VCS: Show message box on timeouts/Add SSH prompt.
- Use message boxes on timeouts. - Add a configuration for a graphical SSH password prompt binary with defaults - Launch commands that require authentification with no terminal on UNIX and environment variable SSH_ASKPASS set accordingly. - First attempt at introduce a common function to synchronously run VCS commands in base plugin with flags. - Use standard execution log entries in all VCS plugins (outputwindow).
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#include <QtCore/QObject>
|
||||
#include <QtCore/QStringList>
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtCore/QProcessEnvironment>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QProcess;
|
||||
@@ -55,7 +56,7 @@ public:
|
||||
|
||||
explicit GitCommand(const QStringList &binary,
|
||||
const QString &workingDirectory,
|
||||
const QStringList &environment,
|
||||
const QProcessEnvironment &environment,
|
||||
const QVariant &cookie = QVariant());
|
||||
|
||||
|
||||
@@ -70,6 +71,10 @@ public:
|
||||
TerminationReportMode reportTerminationMode() const;
|
||||
void setTerminationReportMode(TerminationReportMode m);
|
||||
|
||||
// Disable Terminal on UNIX (see VCS SSH handling).
|
||||
bool unixTerminalDisabled() const;
|
||||
void setUnixTerminalDisabled(bool);
|
||||
|
||||
static QString msgTimeout(int seconds);
|
||||
|
||||
void setCookie(const QVariant &cookie);
|
||||
@@ -95,8 +100,9 @@ private:
|
||||
const QString m_binaryPath;
|
||||
QStringList m_basicArguments;
|
||||
const QString m_workingDirectory;
|
||||
const QStringList m_environment;
|
||||
const QProcessEnvironment m_environment;
|
||||
QVariant m_cookie;
|
||||
bool m_unixTerminalDisabled;
|
||||
|
||||
QList<Job> m_jobs;
|
||||
TerminationReportMode m_reportTerminationMode;
|
||||
|
||||
Reference in New Issue
Block a user