Version bump, clean up release notes, still more to do on windows

This commit is contained in:
Mark Watkins 2016-04-16 03:15:54 +10:00
parent 89f87b2d90
commit 0e9fd1a2f4
4 changed files with 32 additions and 13 deletions

View File

@ -1 +1 @@
const int build_number = 1;
const int build_number = 2;

View File

@ -1,4 +1,20 @@
<!DOCTYPE ChangeLog>
<b>Changes and fixes in v1.0.0-beta-2</b>
<version number="1.0.0-beta-2">
<list>
<li>[PR S1/Dreamstation Importer] Periodic Breathing/CSR was not Doubling on F0V4 560 machines</li>
<li>[Core Program] Fix program crash on changing language or profile</li>
<li>[PR S1/Dreamstation Importer] Added PRS1 BiPAP AutoSV 960T F5V2 support</li>
<li>[ResMed Importer] EPR erroneously shown as OFF instead of 3</li>
<li>Redesign autoupdater so it parses Qt Installer Frameworks XML structures</li>
<li>Reset Channel names on language change</li>
<li>Improve Tooltip timeouts in preferences</li>
<li>Fix some untranslateable strings and spelling mistakes</li>
<li>Fix a couple of minor Time at Pressure chart/tooltip glitches</li>
</list>
</version>
<br/>
<b>Changes and fixes in v1.0.0-beta-1</b>
<version number="1.0.0-beta-1">
<list>
@ -7,6 +23,7 @@
<li>Redid Unintentional Leaks calcluations using a simple Mask Profile in Preferences</li>
<li>Make Release Notes welcome message translate-able (should the changelog be too?)</li>
</list>
</version>
<br/>
<b>Changes and fixes in v1.0.0-beta-0</b>

View File

@ -85,25 +85,27 @@ void release_notes()
QVBoxLayout * layout = new QVBoxLayout(&relnotes);
QWebView * web = new QWebView(&relnotes);
QString welcomeMessage = "<font size=+1>"
"<p>"+QObject::tr("After four years in the making, this build brings SleepyHead into the final beta phase.")+"</p>"
"<p>"+QObject::tr("Things are not perfect yet, but the focus from now is putting on the finishing touches. ")+
QObject::tr("This version brings support for the new Philips Respironics DreamStation, and older PRS1 1060P models.")+
"</p></font>";
// QString welcomeMessage = "<font size=+1>"
// "<p>"+QObject::tr("After four years in the making, this build brings SleepyHead into the final beta phase.")+"</p>"
// "<p>"+QObject::tr("Things are not perfect yet, but the focus from now is putting on the finishing touches. ")+
// QObject::tr("This version brings support for the new Philips Respironics DreamStation, and older PRS1 1060P models.")+
// "</p></font>";
;
QFile clfile(":/docs/release_notes.html");
QString changeLog = QObject::tr("Sorry, could not locate changelog.");
if (clfile.open(QIODevice::ReadOnly)) {
QTextStream ts(&clfile);
//Todo, write XML parser and only show the latest..
changeLog = ts.readAll();
}
QString html = "<html>"
"<head><meta charset=\"UTF-8\"></head>"
"<body>"
"<h2><p>"+QObject::tr("Greetings!")+"</p></h2>";
"<body>";
//"<h2><p>"+QObject::tr("Greetings!")+"</p></h2>";
html += welcomeMessage;
// html += welcomeMessage;
if (ReleaseStatus != "r") {
@ -111,8 +113,8 @@ void release_notes()
"<font size=+1><i>"+QObject::tr("As this is a pre-release version, it is recommended that you back up your data folder manually before proceding, because attempting to roll back later may break things.")+"</i></font></p>";
}
html += "<p><b>"+QObject::tr("Sleep Well, and good luck!")+"</b></p>"
"<p><b><i>"+"JediMark"+"</i></b></p><br/><b><i>"+QObject::tr("Change log")+"</i></b><hr/><br/><br/>";
// html += "<p><b>"+QObject::tr("Sleep Well, and good luck!")+"</b></p>"
// "<p><b><i>"+"JediMark"+"</i></b></p><br/><b><i>"+QObject::tr("Change log")+"</i></b><hr/><br/><br/>";
html += changeLog;
html += "</body></html>";

View File

@ -1 +1 @@
1
2