# HG changeset patch # User Chris Cannam # Date 1410339289 -3600 # Node ID 4a7c62938a13105180047608149e064618c358bd # Parent 9f82fa990cbd3ffd3895d8302154f893da332c2e# Parent fdc445e736a0a8ff59d85a7765978fc1ad84c47b Pull across beta bits from prior beta branch diff -r 9f82fa990cbd -r 4a7c62938a13 .hgtags --- a/.hgtags Wed Sep 10 09:52:25 2014 +0100 +++ b/.hgtags Wed Sep 10 09:54:49 2014 +0100 @@ -45,3 +45,4 @@ 0000000000000000000000000000000000000000 sv_v2.3-f 7f7fba33b7de2890ca96dbd15969219bb9fe04b9 sv_v2.3 bf06f4311ec0af43f93a15489a757955e07597cd sv_v2.3 +885e89a6c11dd67b53e0ba845a6b7cfeae9162b9 sv_v2.4beta1 diff -r 9f82fa990cbd -r 4a7c62938a13 deploy/win32/sonic-visualiser.wxs --- a/deploy/win32/sonic-visualiser.wxs Wed Sep 10 09:52:25 2014 +0100 +++ b/deploy/win32/sonic-visualiser.wxs Wed Sep 10 09:54:49 2014 +0100 @@ -5,7 +5,7 @@ Id="*" Language="1033" Codepage="1252" - Version="2.3.90" + Version="2.3.91" UpgradeCode="D476941E-65F3-4962-9E72-B40FAAE5DBD0" Manufacturer="Queen Mary, University of London"> diff -r 9f82fa990cbd -r 4a7c62938a13 main/MainWindow.cpp --- a/main/MainWindow.cpp Wed Sep 10 09:52:25 2014 +0100 +++ b/main/MainWindow.cpp Wed Sep 10 09:54:49 2014 +0100 @@ -162,7 +162,9 @@ m_layerTreeDialog(0), m_activityLog(new ActivityLog()), m_keyReference(new KeyReference()), - m_templateWatcher(0) + m_templateWatcher(0), + m_surveyer(0), + m_versionTester(0) { Profiler profiler("MainWindow::MainWindow"); @@ -301,6 +303,23 @@ connect(m_midiInput, SIGNAL(eventsAvailable()), this, SLOT(midiEventsAvailable())); +#ifdef BETA_RELEASE + QStringList bits = QString(SV_VERSION).split("."); + QString beta = SV_VERSION; + if (bits.length() == 3) { + beta = QString("%1.%2 beta").arg(bits[0]).arg(bits[1].toInt() + 1); + } + QMessageBox::information + (this, tr("Test release"), + tr("

This is a test release of %1 (v%2 / v%3).

" + "

See the changelog for details of what has changed since the last release.

" + "

Please let us know if you have any problems with this test release, and especially if it crashes. Use the bug tracker or email to report bugs.

Please do not use this software for real work, and do not distribute it to other people who have real work to do! Use it only if you are prepared to report any bugs you find.

") + .arg(QApplication::applicationName()) + .arg(SV_VERSION) + .arg(beta)); + + (void)withOSCSupport; // avoid warning +#else NetworkPermissionTester tester; bool networkPermission = tester.havePermission(); if (networkPermission) { @@ -314,10 +333,8 @@ ("sonicvisualiser.org", "latest-version.txt", SV_VERSION); connect(m_versionTester, SIGNAL(newerVersionAvailable(QString)), this, SLOT(newerVersionAvailable(QString))); - } else { - m_surveyer = 0; - m_versionTester = 0; } +#endif } MainWindow::~MainWindow() diff -r 9f82fa990cbd -r 4a7c62938a13 sv.pro --- a/sv.pro Wed Sep 10 09:52:25 2014 +0100 +++ b/sv.pro Wed Sep 10 09:54:49 2014 +0100 @@ -1,6 +1,8 @@ TEMPLATE = app +DEFINES += BETA_RELEASE + win32-g++ { INCLUDEPATH += sv-dependency-builds/win32-mingw/include LIBS += -Lsv-dependency-builds/win32-mingw/lib diff -r 9f82fa990cbd -r 4a7c62938a13 version.h --- a/version.h Wed Sep 10 09:52:25 2014 +0100 +++ b/version.h Wed Sep 10 09:54:49 2014 +0100 @@ -1,1 +1,1 @@ -#define SV_VERSION "2.4" +#define SV_VERSION "2.3.91"