changeset 849:4a7c62938a13 2.4beta2 sv_v2.4beta2

Pull across beta bits from prior beta branch
author Chris Cannam
date Wed, 10 Sep 2014 09:54:49 +0100
parents 9f82fa990cbd (current diff) fdc445e736a0 (diff)
children 7b3aaa237e66 78531e6556d3
files deploy/osx/copy-qt.sh deploy/win32/sonic-visualiser.wxs main/MainWindow.cpp version.h
diffstat 5 files changed, 26 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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">
     
--- 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("<p>This is a test release of %1 (v%2 / v%3).</p>"
+            "<p>See the <a href=\"http://code.soundsoftware.ac.uk/projects/sonic-visualiser/repository/entry/CHANGELOG\">changelog</a> for details of what has changed since the last release.</p>"
+            "<p>Please let us know if you have any problems with this test release, and especially if it crashes. Use the <a href=\"http://sourceforge.net/p/sv1/bugs/\">bug tracker</a> or <a href=\"mailto:cannam+sv@all-day-breakfast.com\">email</a> to report bugs.</p><p>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.</p>")
+         .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()
--- 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
--- 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"