Skip to content

Commit

Permalink
Add the batch of release v3.4.2-beta-20190411 commits
Browse files Browse the repository at this point in the history
  • Loading branch information
developer-at-bcn committed Apr 11, 2019
1 parent 89b0094 commit 11caadf
Show file tree
Hide file tree
Showing 11 changed files with 333 additions and 16 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Windows Installer/Debug/
Windows Installer/Release/
Windows Installer/.vs/

Windows Installer/*.msi
Windows Installer/*.wixobj
Windows Installer/*.wixpdb

build-bytecoin-gui*

*~
Expand Down
7 changes: 6 additions & 1 deletion ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## Release Notes

### v3.4.2-beta-20190411

- Fixed a bug in a dialog box.
- Update the Bytecoin daemons.

### v3.4.1

- Fixed creating Amethyst wallets.
Expand Down Expand Up @@ -77,7 +82,7 @@
- Updated the Bytecoin daemons and API bindings.
- Fix minor bugs found in the beta release.

### 3.2.0-beta-20180723
### v3.2.0-beta-20180723

- Removed logging wallet file names on Windows.
- Made minor UI improvements.
Expand Down
278 changes: 278 additions & 0 deletions Windows Installer/Installer.wxs
Original file line number Diff line number Diff line change
@@ -0,0 +1,278 @@
<?xml version='1.0' encoding='utf-8'?>

<!--
Build example:
candle -arch x64 -dVersion=3.4.2 -dProductVersion=19.3.8 -dDate='2019/03/07' Installer.wxs && light -ext WixUIExtension -out bytecoin-desktop-3.4.2-win64.msi Installer.wixobj
or
candle -arch x86 -dVersion=3.4.2 -dProductVersion=19.3.8 -dDate='2019/03/07' Installer.wxs && light -ext WixUIExtension -out bytecoin-desktop-3.4.2-win32.msi Installer.wixobj
-->

<!-- These values can be passed thru command line: -->
<!-- <?define Version='3.4.2' ?> -->
<!-- <?define ProductVersion = '19.3.8' ?> -->
<!-- <?define Date = '2019/03/07' ?> -->

<?if $(sys.BUILDARCH) = x64 ?>
<?define ProductName = 'Bytecoin' ?>
<?define PlatformProgramFilesFolder = 'ProgramFiles64Folder' ?>
<?else ?>
<?define ProductName = 'Bytecoin 32bit' ?>
<?define PlatformProgramFilesFolder = 'ProgramFilesFolder' ?>
<?endif ?>

<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>

<Product Name='$(var.ProductName) $(var.Version)' Manufacturer='Bytecoin Developers'
Id='*' UpgradeCode='DC5C7D60-BB08-4B97-B634-E87679CCEB3C'
Language='1033' Codepage='1252' Version='$(var.ProductVersion)'>

<Package Id='*' Keywords='Installer' Description='$(var.ProductName) $(var.Version) Installer'
Comments='Release version of bytecoin from $(var.Date)' Manufacturer='Bytecoin Developers'
InstallerVersion='300' Languages='1033' Compressed='yes' SummaryCodepage='1252' InstallScope='perMachine'/>

<MajorUpgrade DowngradeErrorMessage='A newer version of $(var.ProductName) is already installed.' />

<Media Id='1' Cabinet='Bytecoin.cab' EmbedCab='yes' />
<Property Id='DiskPrompt' Value='$(var.ProductName) $(var.Version) Installation [1]' />

<Directory Id='TARGETDIR' Name='SourceDir'>

<Directory Id='$(var.PlatformProgramFilesFolder)' Name='PFiles'>
<Directory Id='INSTALLDIR' Name='Bytecoin'>
<Directory Id='BearerDir' Name='bearer' />
<Directory Id='IconenginesDir' Name='iconengines' />
<Directory Id='ImageFormatsDir' Name='imageformats' />
<Directory Id='PlatformsDir' Name='platforms' />
<Directory Id='StylesDir' Name='styles' />
<Directory Id='TranslationsDir' Name='translations' />
</Directory>
</Directory>

<Directory Id='AppDataFolder' Name='AppData'>
<Directory Id='AppDataDir' Name='bytecoin' />
</Directory>

<Directory Id='ProgramMenuFolder' Name='Programs'>
<Directory Id='StartMenuDir' Name='Bytecoin' />
</Directory>

</Directory>

<Feature Id='MainApplication' Title='Main Application' Level='1' ConfigurableDirectory='INSTALLDIR'>
<ComponentGroupRef Id='BearerDirCompGr' />
<ComponentGroupRef Id='IconenginesDirCompGr' />
<ComponentGroupRef Id='ImageFormatsDirCompGr' />
<ComponentGroupRef Id='PlatformsDirCompGr' />
<ComponentGroupRef Id='StylesDirCompGr' />
<ComponentGroupRef Id='TranslationsDirCompGr' />
<ComponentGroupRef Id='MainExecutableCompGr' />

<ComponentRef Id='AppStartMenuShortcutComp' />
<ComponentRef Id='AppDataStartMenuShortcutComp' />
</Feature>

<Icon Id='bytecoin.ico' SourceFile='..\src\images\bytecoin.ico' />

<Property Id='ARPCONTACT' Value='Bytecoin Developers' />
<Property Id='ARPCOMMENTS' Value='Release version of $(var.ProductName) $(var.Version) from $(var.Date)' />
<Property Id='ARPPRODUCTICON' Value='bytecoin.ico' />
<Property Id='ARPURLINFOABOUT' Value='https://bytecoin.org' />

<UI Id='UserInterface'>
<Property Id='WIXUI_INSTALLDIR' Value='INSTALLDIR' />
<UIRef Id='WixUI_InstallDir' />
<UIRef Id='WixUI_ErrorProgressText' />
<Publish Dialog='WelcomeDlg' Control='Next' Event='NewDialog' Value='InstallDirDlg' Order='2'>1</Publish>
<Publish Dialog='InstallDirDlg' Control='Back' Event='NewDialog' Value='WelcomeDlg' Order='2'>1</Publish>
</UI>

</Product>

<Fragment>
<ComponentGroup Id='BearerDirCompGr' Directory='BearerDir'>
<Component Id='QgenericbearerDllComp' Guid='*'>
<File Id='QgenericbearerDll' Source='..\bin\bearer\qgenericbearer.dll' />
</Component>
</ComponentGroup>

<ComponentGroup Id='IconenginesDirCompGr' Directory='IconenginesDir'>
<Component Id='QsvgiconDllComp' Guid='*'>
<File Id='QsvgiconDll' Source='..\bin\iconengines\qsvgicon.dll' />
</Component>
</ComponentGroup>

<ComponentGroup Id='ImageFormatsDirCompGr' Directory='ImageFormatsDir'>
<Component Id='QgifDllComp' Guid='*'>
<File Id='QgifDll' Source='..\bin\imageformats\qgif.dll' KeyPath='yes' />
</Component>
<Component Id='QicnsDllComp' Guid='*'>
<File Id='QicnsDll' Source='..\bin\imageformats\qicns.dll' KeyPath='yes' />
</Component>
<Component Id='QicoDllComp' Guid='*'>
<File Id='QicoDll' Source='..\bin\imageformats\qico.dll' KeyPath='yes' />
</Component>
<Component Id='QjpegDllComp' Guid='*'>
<File Id='QjpegDll' Source='..\bin\imageformats\qjpeg.dll' KeyPath='yes' />
</Component>
<Component Id='QsvgDllComp' Guid='*'>
<File Id='QsvgDll' Source='..\bin\imageformats\qsvg.dll' KeyPath='yes' />
</Component>
<Component Id='QtgaDllComp' Guid='*'>
<File Id='QtgaDll' Source='..\bin\imageformats\qtga.dll' KeyPath='yes' />
</Component>
<Component Id='QtiffDllComp' Guid='*'>
<File Id='QtiffDll' Source='..\bin\imageformats\qtiff.dll' KeyPath='yes' />
</Component>
<Component Id='QwbmpDllComp' Guid='*'>
<File Id='QwbmpDll' Source='..\bin\imageformats\qwbmp.dll' KeyPath='yes' />
</Component>
<Component Id='QwebpDllComp' Guid='*'>
<File Id='QwebpDll' Source='..\bin\imageformats\qwebp.dll' KeyPath='yes' />
</Component>
</ComponentGroup>

<ComponentGroup Id='PlatformsDirCompGr' Directory='PlatformsDir'>
<Component Id='QwindowsDllComp' Guid='*'>
<File Id='QwindowsDll' Source='..\bin\platforms\qwindows.dll' KeyPath='yes' />
</Component>
</ComponentGroup>

<ComponentGroup Id='StylesDirCompGr' Directory='StylesDir'>
<Component Id='QwindowsvistastyleDllComp' Guid='*'>
<File Id='QwindowsvistastyleDll' Source='..\bin\styles\qwindowsvistastyle.dll' KeyPath='yes' />
</Component>
</ComponentGroup>

<ComponentGroup Id='TranslationsDirCompGr' Directory='TranslationsDir'>
<Component Id='QtBgQmComp' Guid='*'>
<File Id='TranslationQtBg' Source='..\bin\translations\qt_bg.qm' KeyPath='yes' />
</Component>
<Component Id='QtCaQmComp' Guid='*'>
<File Id='TranslationQtCa' Source='..\bin\translations\qt_ca.qm' KeyPath='yes' />
</Component>
<Component Id='QtCsQmComp' Guid='*'>
<File Id='TranslationQtCs' Source='..\bin\translations\qt_cs.qm' KeyPath='yes' />
</Component>
<Component Id='QtDaQmComp' Guid='*'>
<File Id='TranslationQtDa' Source='..\bin\translations\qt_da.qm' KeyPath='yes' />
</Component>
<Component Id='QtDeQmComp' Guid='*'>
<File Id='TranslationQtDe' Source='..\bin\translations\qt_de.qm' KeyPath='yes' />
</Component>
<Component Id='QtEnQmComp' Guid='*'>
<File Id='TranslationQtEn' Source='..\bin\translations\qt_en.qm' KeyPath='yes' />
</Component>
<Component Id='QtEsQmComp' Guid='*'>
<File Id='TranslationQtEs' Source='..\bin\translations\qt_es.qm' KeyPath='yes' />
</Component>
<Component Id='QtFiQmComp' Guid='*'>
<File Id='TranslationQtFi' Source='..\bin\translations\qt_fi.qm' KeyPath='yes' />
</Component>
<Component Id='QtFrQmComp' Guid='*'>
<File Id='TranslationQtFr' Source='..\bin\translations\qt_fr.qm' KeyPath='yes' />
</Component>
<Component Id='QtGdQmComp' Guid='*'>
<File Id='TranslationQtGd' Source='..\bin\translations\qt_gd.qm' KeyPath='yes' />
</Component>
<Component Id='QtHeQmComp' Guid='*'>
<File Id='TranslationQtHe' Source='..\bin\translations\qt_he.qm' KeyPath='yes' />
</Component>
<Component Id='QtHuQmComp' Guid='*'>
<File Id='TranslationQtHu' Source='..\bin\translations\qt_hu.qm' KeyPath='yes' />
</Component>
<Component Id='QtItQmComp' Guid='*'>
<File Id='TranslationQtIt' Source='..\bin\translations\qt_it.qm' KeyPath='yes' />
</Component>
<Component Id='QtJaQmComp' Guid='*'>
<File Id='TranslationQtJa' Source='..\bin\translations\qt_ja.qm' KeyPath='yes' />
</Component>
<Component Id='QtKoQmComp' Guid='*'>
<File Id='TranslationQtKo' Source='..\bin\translations\qt_ko.qm' KeyPath='yes' />
</Component>
<Component Id='QtLvQmComp' Guid='*'>
<File Id='TranslationQtLv' Source='..\bin\translations\qt_lv.qm' KeyPath='yes' />
</Component>
<Component Id='QtPlQmComp' Guid='*'>
<File Id='TranslationQtPl' Source='..\bin\translations\qt_pl.qm' KeyPath='yes' />
</Component>
<Component Id='QtRuQmComp' Guid='*'>
<File Id='TranslationQtRu' Source='..\bin\translations\qt_ru.qm' KeyPath='yes' />
</Component>
<Component Id='QtSkQmComp' Guid='*'>
<File Id='TranslationQtSk' Source='..\bin\translations\qt_sk.qm' KeyPath='yes' />
</Component>
<Component Id='QtUkQmComp' Guid='*'>
<File Id='TranslationQtUk' Source='..\bin\translations\qt_uk.qm' KeyPath='yes' />
</Component>
</ComponentGroup>

<ComponentGroup Id='MainExecutableCompGr' Directory='INSTALLDIR'>
<Component Id='BytecoinIcoComp' Guid='*'>
<File Id='BytecoinIco' Source='..\src\images\bytecoin.ico' KeyPath='yes' />
</Component>
<Component Id='BytecoindExeComp' Guid='*'>
<File Id='BytecoindExe' Source='..\bin\bytecoind.exe' KeyPath='yes' />
</Component>
<Component Id='BytecoindPdbComp' Guid='*'>
<File Id='BytecoindPdb' Source='..\bin\bytecoind.pdb' KeyPath='yes' />
</Component>
<Component Id='BytecoinGuiExeComp' Guid='*'>
<File Id='BytecoinGuiExe' Source='..\bin\bytecoin-gui.exe' KeyPath='yes' />
</Component>
<Component Id='D3Dcompiler47DllComp' Guid='*'>
<File Id='D3Dcompiler47Dll' Source='..\bin\D3Dcompiler_47.dll' KeyPath='yes' />
</Component>
<Component Id='LibEGLDllComp' Guid='*'>
<File Id='LibEGLDll' Source='..\bin\libEGL.dll' KeyPath='yes' />
</Component>
<Component Id='LibGLESV2DllComp' Guid='*'>
<File Id='LibGLESV2Dll' Source='..\bin\libGLESV2.dll' KeyPath='yes' />
</Component>
<Component Id='LibUsbDllComp' Guid='*'>
<File Id='LibUsbDll' Source='..\bin\libusb-1.0.dll' KeyPath='yes' />
</Component>
<Component Id='Opengl32swDllComp' Guid='*'>
<File Id='Opengl32swDll' Source='..\bin\opengl32sw.dll' KeyPath='yes' />
</Component>
<Component Id='Qt5CoreDllComp' Guid='*'>
<File Id='Qt5CoreDll' Source='..\bin\Qt5Core.dll' KeyPath='yes' />
</Component>
<Component Id='Qt5GuiDllComp' Guid='*'>
<File Id='Qt5GuiDll' Source='..\bin\Qt5Gui.dll' KeyPath='yes' />
</Component>
<Component Id='Qt5NetworkDllComp' Guid='*'>
<File Id='Qt5NetworkDll' Source='..\bin\Qt5Network.dll' KeyPath='yes' />
</Component>
<Component Id='Qt5SvgDllComp' Guid='*'>
<File Id='Qt5SvgDll' Source='..\bin\Qt5Svg.dll' KeyPath='yes' />
</Component>
<Component Id='Qt5WidgetsDllComp' Guid='*'>
<File Id='Qt5WidgetsDll' Source='..\bin\Qt5Widgets.dll' KeyPath='yes' />
</Component>
<Component Id='WalletdExeComp' Guid='*'>
<File Id='WalletdExe' Source='..\bin\walletd.exe' KeyPath='yes' />
</Component>
<Component Id='WalletdPdbComp' Guid='*'>
<File Id='WalletdPdb' Source='..\bin\walletd.pdb' KeyPath='yes' />
</Component>
</ComponentGroup>

<DirectoryRef Id='AppDataDir'>
<Component Id='AppDataStartMenuShortcutComp' Guid='*'>
<CreateFolder />
<Shortcut Id='AppDataStartMenuShortcut' Directory='StartMenuDir' Name='Data Folder' />
<RemoveFolder Id='RemoveAppDataDir' Directory='AppDataDir' On='uninstall' />
<RegistryValue Root='HKCU' Key='Software\[Manufacturer]\$(var.ProductName)' Name='AppDataShortcutInstalled' Type='integer' Value='1' KeyPath='yes' />
</Component>
</DirectoryRef>

<DirectoryRef Id='StartMenuDir'>
<Component Id='AppStartMenuShortcutComp' Guid='*'>
<Shortcut Id='AppStartMenuShortcut' Name='Wallet (GUI)' Target='[!BytecoinGuiExe]' WorkingDirectory='INSTALLDIR' />
<RemoveFolder Id='RemoveStartMenuDir' On='uninstall' />
<RegistryValue Root='HKCU' Key='Software\[Manufacturer]\$(var.ProductName)' Name='AppMenuShortcutInstalled' Type='integer' Value='1' KeyPath='yes' />
</Component>
</DirectoryRef>
</Fragment>

</Wix>
12 changes: 8 additions & 4 deletions src/bytecoin-gui.pro
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ TEMPLATE = app
macx: QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.11
macx: ICON = images/bytecoin.icns
win32: RC_ICONS = images/bytecoin.ico
win32: VERSION = 3.19.3.7
win32: VERSION = 3.19.4.11

#QMAKE_CXXFLAGS += -fno-omit-frame-pointer -fsanitize=address,undefined
#LIBS += -lasan -lubsan
Expand All @@ -30,18 +30,22 @@ WALLETD_BY_SRC_PATH = $$shell_path($$clean_path("$$PWD/../../bytecoin/bin/wallet
WALLETD2_BY_SRC_PATH = $$shell_path($$clean_path("$$PWD/../../bytecoin/bin/walletd.pdb"))
BYTECOIND_BY_SRC_PATH = $$shell_path($$clean_path("$$PWD/../../bytecoin/bin/bytecoind.exe"))
BYTECOIND2_BY_SRC_PATH = $$shell_path($$clean_path("$$PWD/../../bytecoin/bin/bytecoind.pdb"))
LIBUSB_BY_SRC_PATH = $$shell_path($$clean_path("$$PWD/../../bytecoin/bin/libusb-1.0.dll"))
Debug:BY_DST_PATH = $$shell_path($$clean_path("$$DESTDIR"))
Release:BY_DST_PATH = $$shell_path($$clean_path("$$DESTDIR"))
copywalletd.commands = $(COPY_FILE) $${WALLETD_BY_SRC_PATH} $${BY_DST_PATH}
copywalletd2.commands = $(COPY_FILE) $${WALLETD2_BY_SRC_PATH} $${BY_DST_PATH}
copybytecoind.commands = $(COPY_FILE) $${BYTECOIND_BY_SRC_PATH} $${BY_DST_PATH}
copybytecoind2.commands = $(COPY_FILE) $${BYTECOIND2_BY_SRC_PATH} $${BY_DST_PATH}
first.depends = $(first) copywalletd copywalletd2 copybytecoind copybytecoind2
QMAKE_EXTRA_TARGETS += first copywalletd copywalletd2 copybytecoind copybytecoind2
copylibusb.commands = $(COPY_FILE) $${LIBUSB_BY_SRC_PATH} $${BY_DST_PATH}
first.depends = $(first) copywalletd copywalletd2 copybytecoind copybytecoind2 copylibusb
QMAKE_EXTRA_TARGETS += first copywalletd copywalletd2 copybytecoind copybytecoind2 copylibusb
}else:macx {
copywalletd.commands += $(COPY_FILE) $$PWD/../../bytecoin/bin/walletd $$DESTDIR/bytecoin-gui.app/Contents/MacOS
copybytecoind.commands += $(COPY_FILE) $$PWD/../../bytecoin/bin/bytecoind $$DESTDIR/bytecoin-gui.app/Contents/MacOS
first.depends = $(first) copywalletd copybytecoind
first.depends = copywalletd copybytecoind
copywalletd.depends = $(TARGET)
copybytecoind.depends = $(TARGET)
QMAKE_EXTRA_TARGETS += first copywalletd copybytecoind
}else {
copywalletd.commands += $(COPY_FILE) $$PWD/../../bytecoin/bin/walletd $$DESTDIR
Expand Down
4 changes: 2 additions & 2 deletions src/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@
</sizepolicy>
</property>
<property name="text">
<string>(View Only)</string>
<string>(view-only)</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -861,7 +861,7 @@
</action>
<action name="m_exportViewOnlyKeysAction">
<property name="text">
<string>&amp;Export view only wallet file</string>
<string>&amp;Export view-only wallet file</string>
</property>
</action>
<action name="m_exportKeysAction">
Expand Down
6 changes: 3 additions & 3 deletions src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

namespace WalletGUI {

constexpr char VERSION[] = "3.4.1";
constexpr char VERSION[] = "3.4.2";
constexpr char CODENAME[] = "Amethyst";
constexpr char VERSION_SUFFIX[] = "stable";
constexpr char REVISION[] = "20190307";
constexpr char VERSION_SUFFIX[] = "beta";
constexpr char REVISION[] = "20190411";

// returns <0, if newVersion is worse than currentVersion, returns >0, if newVersion is better, and returns 0, if versions are equal
int compareVersion(const QString& newVersion, const QString& currentVersion);
Expand Down
Loading

0 comments on commit 11caadf

Please sign in to comment.