From d34e38cd73286bab0a0cfc684b2e3aa1dbd48a9c Mon Sep 17 00:00:00 2001 From: adityapk00 Date: Sat, 2 Feb 2019 19:04:43 -0800 Subject: [PATCH 1/5] #93 - Allow memo field to be selectable + copied --- src/mainwindow.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 165f91a..4e71390 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1026,12 +1026,15 @@ void MainWindow::setupTransactionsTab() { QString memo = txModel->getMemo(index.row()); if (!memo.isEmpty()) { - QMessageBox::information(this, tr("Memo"), memo, QMessageBox::Ok); + QMessageBox mb(QMessageBox::Information, tr("Memo"), memo, QMessageBox::Ok, this); + mb.setTextInteractionFlags(Qt::TextSelectableByMouse | Qt::TextSelectableByKeyboard); + mb.exec(); } }); // Set up context menu on transactions tab ui->transactionsTable->setContextMenuPolicy(Qt::CustomContextMenu); + // Table right click QObject::connect(ui->transactionsTable, &QTableView::customContextMenuRequested, [=] (QPoint pos) { QModelIndex index = ui->transactionsTable->indexAt(pos); @@ -1069,7 +1072,9 @@ void MainWindow::setupTransactionsTab() { if (!memo.isEmpty()) { menu.addAction(tr("View Memo"), [=] () { - QMessageBox::information(this, tr("Memo"), memo, QMessageBox::Ok); + QMessageBox mb(QMessageBox::Information, tr("Memo"), memo, QMessageBox::Ok, this); + mb.setTextInteractionFlags(Qt::TextSelectableByMouse | Qt::TextSelectableByKeyboard); + mb.exec(); }); } From 41edf32c717c12a3879a50613d6fcfd7c7dc8616 Mon Sep 17 00:00:00 2001 From: adityapk00 Date: Sat, 2 Feb 2019 19:16:59 -0800 Subject: [PATCH 2/5] #92 - Check process is alive before shuting it down --- src/rpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc.cpp b/src/rpc.cpp index edb096e..d5e069c 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -1056,7 +1056,7 @@ void RPC::refreshZECPrice() { void RPC::shutdownZcashd() { // Shutdown embedded zcashd if it was started - if (ezcashd == nullptr || conn == nullptr) { + if (ezcashd == nullptr || ezcashd->processId() == 0 || conn == nullptr) { // No zcashd running internally, just return return; } From f8f5ad0f186e653ed88dcbc4197aff8f8acd864f Mon Sep 17 00:00:00 2001 From: Gareth Davies Date: Sun, 3 Feb 2019 16:47:07 -0800 Subject: [PATCH 3/5] Fixing typo (#96) Closes #95 --- res/zec_qt_wallet_de.ts | 2 +- res/zec_qt_wallet_es.ts | 2 +- res/zec_qt_wallet_pt.ts | 2 +- src/createzcashconfdialog.ui | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/res/zec_qt_wallet_de.ts b/res/zec_qt_wallet_de.ts index ebc625b..6e63045 100644 --- a/res/zec_qt_wallet_de.ts +++ b/res/zec_qt_wallet_de.ts @@ -1304,7 +1304,7 @@ You either have unconfirmed funds or the balance is too low for an automatic mig - Please chose a directory to store your wallet.dat and blockchain + Please choose a directory to store your wallet.dat and blockchain diff --git a/res/zec_qt_wallet_es.ts b/res/zec_qt_wallet_es.ts index cea8d94..1619b34 100644 --- a/res/zec_qt_wallet_es.ts +++ b/res/zec_qt_wallet_es.ts @@ -1320,7 +1320,7 @@ El saldo es insuficiente para una migración automática. - Please chose a directory to store your wallet.dat and blockchain + Please choose a directory to store your wallet.dat and blockchain diff --git a/res/zec_qt_wallet_pt.ts b/res/zec_qt_wallet_pt.ts index 4027b62..aca240e 100644 --- a/res/zec_qt_wallet_pt.ts +++ b/res/zec_qt_wallet_pt.ts @@ -1319,7 +1319,7 @@ Você possui fundos não confirmados ou o saldo é muito baixo para uma migraç - Please chose a directory to store your wallet.dat and blockchain + Please choose a directory to store your wallet.dat and blockchain diff --git a/src/createzcashconfdialog.ui b/src/createzcashconfdialog.ui index 4da75b2..a8c5d50 100644 --- a/src/createzcashconfdialog.ui +++ b/src/createzcashconfdialog.ui @@ -106,7 +106,7 @@ - Please chose a directory to store your wallet.dat and blockchain + Please choose a directory to store your wallet.dat and blockchain From c401bcb828fa7f0519ef15570f994fb507375806 Mon Sep 17 00:00:00 2001 From: Aditya Kulkarni Date: Mon, 4 Feb 2019 09:52:11 -0800 Subject: [PATCH 4/5] v0.5.9 --- README.md | 6 +++--- src/version.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f1e6479..7697c85 100644 --- a/README.md +++ b/README.md @@ -10,14 +10,14 @@ Head over to the releases page and grab the latest installers or binary. https:/ If you are on Debian/Ubuntu, please download the `.deb` package and install it. ``` -sudo dpkg -i linux-deb-zec-qt-wallet-v0.5.8.deb +sudo dpkg -i linux-deb-zec-qt-wallet-v0.5.9.deb sudo apt install -f ``` Or you can download and run the binaries directly. ``` -tar -xvf zec-qt-wallet-v0.5.8.tar.gz -./zec-qt-wallet-v0.5.8/zec-qt-wallet +tar -xvf zec-qt-wallet-v0.5.9.tar.gz +./zec-qt-wallet-v0.5.9/zec-qt-wallet ``` ### Windows diff --git a/src/version.h b/src/version.h index 473af92..e6d4b6a 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -#define APP_VERSION "0.5.8" +#define APP_VERSION "0.5.9" From 189e12c0fb0082dfd13073eacca3872ed91bcb78 Mon Sep 17 00:00:00 2001 From: Aditya Kulkarni Date: Mon, 4 Feb 2019 13:41:38 -0800 Subject: [PATCH 5/5] static compile libssl --- .gitignore | 1 + src/scripts/control | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 40c5a53..494e85c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ release/ x64/ artifacts/ .vscode/ +res/libsodium.a res/libsodium/libsodium* src/ui_*.h *.autosave diff --git a/src/scripts/control b/src/scripts/control index c2147d4..d8b025b 100644 --- a/src/scripts/control +++ b/src/scripts/control @@ -3,7 +3,6 @@ Version: RELEASE_VERSION Section: base Priority: optional Architecture: amd64 -Depends: openssl (>= 1.0.0) Maintainer: Aditya Kulkarni Description: zec-qt-wallet is a full node and UI wallet for Zcash. zec-qt-wallet is a full node and UI wallet for Zcash. It comes with