From ac55100b82ab4db281e7dc0808d0dc9c33272f8a Mon Sep 17 00:00:00 2001 From: cronicc Date: Mon, 28 Mar 2022 09:28:17 +0000 Subject: [PATCH 1/2] Update to zen v3.1.0, version 1.0.6, add bump version script --- .travis.yml | 2 +- README.md | 2 +- docs/Release_1.0.6.md | 85 ++++++++++++++++++++ installer/pom.xml | 2 +- installer/src/main/izpack/install.xml | 4 +- pom.xml | 2 +- scripts/bump_version_devtool.sh | 23 ++++++ src/build/build.xml | 2 +- src/resources/messages/zencash_en.properties | 2 +- src/resources/messages/zencash_it.properties | 2 +- zencash-wallet-swing/pom.xml | 2 +- zencash-wallet-swing/src/deb/control/control | 2 +- 12 files changed, 119 insertions(+), 11 deletions(-) create mode 100644 docs/Release_1.0.6.md create mode 100755 scripts/bump_version_devtool.sh diff --git a/.travis.yml b/.travis.yml index ac91dd59..8edcd0f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ os: linux language: shell env: - - ZEND_VERSION=3.0.3 JDK=16 + - ZEND_VERSION=3.1.0 JDK=16 install: - source ./scripts/install.sh diff --git a/README.md b/README.md index 43058903..87402e31 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ presents the information in a user-friendly manner. #### New/Experimental: [Horizen Desktop GUI Wallet packages for Debian/Ubuntu Linux](https://github.com/HorizenOfficial/zencash-swing-wallet-ui/blob/master/docs/ReleaseUbuntuRepository.md) are available -#### New/Experimental: [Horizen Desktop GUI Wallet for Windows/macOS](https://github.com/HorizenOfficial/zencash-swing-wallet-ui/blob/master/docs/Release_1.0.5.md) is available +#### New/Experimental: [Horizen Desktop GUI Wallet for Windows/macOS](https://github.com/HorizenOfficial/zencash-swing-wallet-ui/blob/master/docs/Release_1.0.6.md) is available #### Information on diagnosing some common problems may be found in this [troubleshooting guide](docs/TroubleshootingGuide.md). diff --git a/docs/Release_1.0.6.md b/docs/Release_1.0.6.md new file mode 100644 index 00000000..d37d62a6 --- /dev/null +++ b/docs/Release_1.0.6.md @@ -0,0 +1,85 @@ +## [Horizen](https://horizen.io/) Desktop GUI Wallet binary release 1.0.6 + +It includes [Horizen 3.1.0 binaries](https://github.com/HorizenOfficial/zen/releases/tag/v3.1.0). + +**This wallet is targeted at advanced users who understand the implications of running a full Zen node on** +**the local machine, maintaining a full local copy of the blockchain, maintaining and backing up the** +**Zen nodes's `wallet.dat` file etc! The wallet is not suitable for novice crypto-currency users!** + +**SECURITY WARNING: Encryption of the wallet.dat file is not yet supported for Horizen. Using the wallet** +**on a system infected with malware may result in wallet data/funds being stolen. The** +**wallet.dat needs to be backed up regularly (not just once - e.g. after every 30-40** +**outgoing transactions) and it must also be backed up after creating a new Z address.** + +**STABILITY WARNING: The GUI wallet is as yet considered experimental! It is known to exhibit occasional stability problems related to running a full Zen node.** +**Specifically if the locally running `zend` cannot start properly due to issues with the local blockchain, the GUI cannot start either!** +**Users need to be prepared to fix such problems manually as described in the [troubleshooting guide](https://github.com/HorizenOfficial/zencash-swing-wallet-ui/blob/master/docs/TroubleshootingGuide.md).** +**Doing so requires command line skills.** + +**AUTO-DEPRECATION WARNING: Wallet binary releases for Mac/Windows contain ZEN full node binaries. These have an auto-deprecation feature:** +**they are considered outdated after 16 weeks and stop working. So they need to be updated to a newer version before this term expires.** +**Users need to ensure they use an up-to-date version of the wallet (e.g. update the wallet every two months or so).** + +### Installing the Horizen Desktop GUI Wallet on Windows + +It requires a 64-bit Windows 7 or later version to run. + +1. Download the Wallet EXE file +[HorizenDesktopGUIWallet-1.0.6.exe](https://github.com/HorizenOfficial/zencash-swing-wallet-ui/releases/download/1.0.6/HorizenDesktopGUIWallet-1.0.6.exe). + +2. Security check: You may decide to run a virus scan on it, before proceeding... In addition using a tool +such as [http://quickhash-gui.org/](http://quickhash-gui.org/) you may calculate the its SHA256 checksum. The +result should be: +``` +TODO HorizenDesktopGUIWallet-1.0.6.exe +``` +**If the resulting checksum is not `TODO` then** +**something is wrong and you should discard the downloaded wallet!** + +3. Run the `HorizenDesktopGUIWallet-1.0.6.exe` installer and choose an installation folder. + +### Running the Horizen Desktop GUI Wallet on Windows + +Double click on `HorizenDesktopGUIWallet.exe` in the installation folder or run `HorizenDesktopGUIWallet` from the start menu. +On first run (only) the wallet will download the cryptographic keys (1.6GB or so). +In case of problems logs are written in `%LOCALAPPDATA%\ZENCashSwingWalletUI\` for diagnostics. + +### Installing the Horizen Desktop GUI Wallet on Mac OS + +It requires Mac OS Sierra/High Sierra/Mojave. + +1. Download the Wallet image file +[HorizenDesktopGUIWallet-1.0.6.dmg](https://github.com/HorizenOfficial/zencash-swing-wallet-ui/releases/download/1.0.6/HorizenDesktopGUIWallet-1.0.6.dmg). + +2. Security check: You may decide to run a virus scan on it before proceeding... In addition using a tool +such as [http://quickhash-gui.org/](http://quickhash-gui.org/) you may calculate the its SHA256 checksum. The +result should be: +``` +TODO HorizenDesktopGUIWallet-1.0.6.dmg +``` +**If the resulting checksum is not `TODO` then** +**something is wrong and you should discard the downloaded wallet!** + +3. Install the wallet like any other downloaded Mac OS application: Open the disk image `HorizenWallet-1.0.6.dmg` +and copy the HorizenWallet application to the Applications folder. You can then discard the disk image. + +### Running the Horizen Desktop GUI Wallet on Mac OS + +Simply click on HorizenWallet in the Mac OS application launchpad. + +### Disclaimer + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +### Some known issues and limitations +1. If a system has a high resolution monitor with DPI scaling enabled, not all GUI elements scale alike. +As a result the Wallet UI may feel inconvenient to use at scaling above 1.5x or even unusable at scaling above 3x. +This problem will be fixed in future versions. +1. Limitation: The list of transactions does not show all outgoing ones (specifically outgoing Z address +transactions). diff --git a/installer/pom.xml b/installer/pom.xml index 4b22bf6f..c2532289 100644 --- a/installer/pom.xml +++ b/installer/pom.xml @@ -5,7 +5,7 @@ com.zencash HorizenSwingWalletUI - 1.0.5-SNAPSHOT + 1.0.6-SNAPSHOT installer diff --git a/installer/src/main/izpack/install.xml b/installer/src/main/izpack/install.xml index acc2aef4..507faee9 100644 --- a/installer/src/main/izpack/install.xml +++ b/installer/src/main/izpack/install.xml @@ -2,7 +2,7 @@ HorizenSwingWalletUI - 1.0.5 + 1.0.6 https://horizen.io @@ -47,7 +47,7 @@ - + diff --git a/pom.xml b/pom.xml index 7bfdd171..6e837376 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.zencash HorizenSwingWalletUI - 1.0.5-SNAPSHOT + 1.0.6-SNAPSHOT pom Horizen Swing Wallet UI diff --git a/scripts/bump_version_devtool.sh b/scripts/bump_version_devtool.sh new file mode 100755 index 00000000..4aec861e --- /dev/null +++ b/scripts/bump_version_devtool.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +set -euo pipefail + +zend_version_old="3.0.3" +zend_version_new="3.1.0" + +swing_version_old="1.0.6" +swing_version_new="1.0.6" + +# bump zend version +sed -i "s/${zend_version_old//./\\.}/${zend_version_new//./\\.}/g" .travis.yml + +# bump swing version +grep -lr --exclude-dir=.git --exclude-dir=docs "${swing_version_old//./\\.}" | xargs sed -i "s/${swing_version_old//./\\.}/${swing_version_new//./\\.}/g" + +# create release notes +new_notes="docs/Release_${swing_version_new}.md" +cp "docs/Release_${swing_version_old}.md" "${new_notes}" +sed -i "s/${zend_version_old//./\\.}/${zend_version_new//./\\.}/g" "${new_notes}" +sed -i "s/${swing_version_old//./\\.}/${swing_version_new//./\\.}/g" "${new_notes}" +sed -i 's/is\ not\ `.*`/is\ not\ `TODO`/g' "${new_notes}" +sed -i 's/^.*\ \ HorizenDesktopGUIWallet/TODO\ \ HorizenDesktopGUIWallet/g' "${new_notes}" diff --git a/src/build/build.xml b/src/build/build.xml index 97b3ffc5..9dbaa60c 100644 --- a/src/build/build.xml +++ b/src/build/build.xml @@ -103,7 +103,7 @@ - diff --git a/src/resources/messages/zencash_en.properties b/src/resources/messages/zencash_en.properties index 2fbe8e0d..c77ba065 100644 --- a/src/resources/messages/zencash_en.properties +++ b/src/resources/messages/zencash_en.properties @@ -1,4 +1,4 @@ -main.frame.title=Horizen Desktop GUI Wallet 1.0.5 +main.frame.title=Horizen Desktop GUI Wallet 1.0.6 main.frame.progressbar=Starting GUI wallet... main.frame.title.testnet=\u0020[using TESTNET] main.frame.tab.overview.title=Overview\u0020 diff --git a/src/resources/messages/zencash_it.properties b/src/resources/messages/zencash_it.properties index 05f0474a..1aa00600 100644 --- a/src/resources/messages/zencash_it.properties +++ b/src/resources/messages/zencash_it.properties @@ -1,4 +1,4 @@ -main.frame.title=Horizen Desktop GUI Wallet 1.0.5 +main.frame.title=Horizen Desktop GUI Wallet 1.0.6 main.frame.progressbar=Avviando la GUI... main.frame.title.testnet=\u0020[usando TESTNET] main.frame.tab.overview.title=Anteprima\u0020 diff --git a/zencash-wallet-swing/pom.xml b/zencash-wallet-swing/pom.xml index 5cbc5b20..114b1dfa 100644 --- a/zencash-wallet-swing/pom.xml +++ b/zencash-wallet-swing/pom.xml @@ -7,7 +7,7 @@ com.zencash HorizenSwingWalletUI - 1.0.5-SNAPSHOT + 1.0.6-SNAPSHOT zencash-wallet-swing diff --git a/zencash-wallet-swing/src/deb/control/control b/zencash-wallet-swing/src/deb/control/control index ba826da8..e4db9ef0 100644 --- a/zencash-wallet-swing/src/deb/control/control +++ b/zencash-wallet-swing/src/deb/control/control @@ -1,5 +1,5 @@ Package: zencash-desktop-gui-wallet -Version: 1.0.5 +Version: 1.0.6 Section: misc Priority: low Architecture: all From 41e9be43fda7bf1377394897574aa27ee2327950 Mon Sep 17 00:00:00 2001 From: cronicc Date: Mon, 28 Mar 2022 10:02:37 +0000 Subject: [PATCH 2/2] Exclude bump_version_devtool.sh from recursive replace --- scripts/bump_version_devtool.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bump_version_devtool.sh b/scripts/bump_version_devtool.sh index 4aec861e..903c789b 100755 --- a/scripts/bump_version_devtool.sh +++ b/scripts/bump_version_devtool.sh @@ -5,14 +5,14 @@ set -euo pipefail zend_version_old="3.0.3" zend_version_new="3.1.0" -swing_version_old="1.0.6" +swing_version_old="1.0.5" swing_version_new="1.0.6" # bump zend version sed -i "s/${zend_version_old//./\\.}/${zend_version_new//./\\.}/g" .travis.yml # bump swing version -grep -lr --exclude-dir=.git --exclude-dir=docs "${swing_version_old//./\\.}" | xargs sed -i "s/${swing_version_old//./\\.}/${swing_version_new//./\\.}/g" +grep -lr --exclude-dir=.git --exclude-dir=docs --exclude-dir=scripts "${swing_version_old//./\\.}" | xargs sed -i "s/${swing_version_old//./\\.}/${swing_version_new//./\\.}/g" # create release notes new_notes="docs/Release_${swing_version_new}.md"