Merged new Htmldocs files

This commit is contained in:
Phil Olynyk 2020-04-04 20:30:48 -04:00
commit 3eb0b71edc
6 changed files with 36 additions and 23 deletions

View File

@ -10,17 +10,24 @@
<p> <p>
<b>Changes and fixes in OSCAR v1.1.0-rc-1</b> <b>Changes and fixes in OSCAR v1.1.0-rc-1</b>
<ul> <ul>
<li>Portions of OSCAR are &copy; 2019-2020 by The OSCAR Team</li> <li>Portions of OSCAR are &copy; 2019-2020 by The OSCAR Team</li>
<li>[fix] AHI and Usage bars in overview graphs now show the correct height when oximetry usage is significantly longer than CPAP usage. <li>[fix] AHI and Usage bars in overview graphs now show the correct height when oximetry usage is significantly longer than CPAP usage.</li>
<li>[fix] Improved import of Philips Respironics settings. In particular: <li>[fix] Improved import of Philips Respironics settings. In particular:
<ul> <ul>
<li>The settings for PC, S, and S/T modes are now displayed correctly.</li> <li>The settings for PC, S, and S/T modes are now displayed correctly.</li>
<li>AVAPS settings are now displayed correctly, including target tidal volume.</li> <li>AVAPS settings are now displayed correctly, including target tidal volume.</li>
<li>Backup breath settings are now imported and displayed.</li> <li>Backup breath settings are now imported and displayed.</li>
<li>The settings for CPAP-Check and Auto-Trial modes are now displayed correctly.</li> <li>The settings for CPAP-Check and Auto-Trial modes are now displayed correctly.</li>
</ul> </ul>
<li>[fix] Fix regression in Welcome page pressure display </li>
<li>[fix] Several crashes have been fixed. <li>[fix] Fix the reported duration for extremely long sessions on DreamStation CPAP and BiPAP devices</li>
<li>[new] Additional Philips Respironics devices tested and fully supported:
<ul>
<li>DreamStation Auto CPAP (500X120)</li>
</ul>
</li>
<li>[fix] Fix regression in Welcome page pressure display</li>
<li>[fix] Several crashes have been fixed.</li>
</ul> </ul>
</p> </p>

View File

@ -6,9 +6,6 @@
<file>docs/tooltips.css</file> <file>docs/tooltips.css</file>
<file>docs/countries.txt</file> <file>docs/countries.txt</file>
<file>docs/tz.txt</file> <file>docs/tz.txt</file>
<file>docs/release_notes.html</file>
<file>docs/about.html</file>
<file>docs/credits.html</file>
<file>docs/schema.xml</file> <file>docs/schema.xml</file>
<file>docs/channels.xml</file> <file>docs/channels.xml</file>
<file>fonts/FreeSans.ttf</file> <file>fonts/FreeSans.ttf</file>

View File

@ -272,6 +272,7 @@ static const PRS1TestedModel s_PRS1TestedModels[] = {
{ "400X110", 0, 6, "DreamStation CPAP Pro" }, { "400X110", 0, 6, "DreamStation CPAP Pro" },
{ "400X150", 0, 6, "DreamStation CPAP Pro" }, { "400X150", 0, 6, "DreamStation CPAP Pro" },
{ "500X110", 0, 6, "DreamStation Auto CPAP" }, { "500X110", 0, 6, "DreamStation Auto CPAP" },
{ "500X120", 0, 6, "DreamStation Auto CPAP" },
{ "500X130", 0, 6, "DreamStation Auto CPAP" }, { "500X130", 0, 6, "DreamStation Auto CPAP" },
{ "500X150", 0, 6, "DreamStation Auto CPAP" }, { "500X150", 0, 6, "DreamStation Auto CPAP" },
{ "501X120", 0, 6, "DreamStation Auto CPAP with P-Flex" }, { "501X120", 0, 6, "DreamStation Auto CPAP with P-Flex" },
@ -4973,7 +4974,7 @@ bool PRS1DataChunk::ParseSummaryF0V4(void)
// That's represented by a mask-off event 19129 seconds after the mask-on, then a time-elapsed // That's represented by a mask-off event 19129 seconds after the mask-on, then a time-elapsed
// event after 65535 seconds, then an equipment off event after another 616 seconds. // event after 65535 seconds, then an equipment off event after another 616 seconds.
tt += data[pos] | (data[pos+1] << 8); tt += data[pos] | (data[pos+1] << 8);
// TODO: see if this event exists in other versions // TODO: see if this event exists in earlier versions
break; break;
case 5: // Clock adjustment? case 5: // Clock adjustment?
CHECK_VALUE(pos, 1); // Always first CHECK_VALUE(pos, 1); // Always first
@ -6113,10 +6114,10 @@ bool PRS1DataChunk::ParseSummaryF5V012(void)
CHECK_VALUE(chunk_size, 1); // and the only record in the session. CHECK_VALUE(chunk_size, 1); // and the only record in the session.
if (this->sessionid == 1) UNEXPECTED_VALUE(this->sessionid, ">1"); if (this->sessionid == 1) UNEXPECTED_VALUE(this->sessionid, ">1");
break; break;
case 7: // ??? case 7: // Time Elapsed?
tt += data[pos] | (data[pos+1] << 8); // This adds to the total duration (otherwise it won't match report) tt += data[pos] | (data[pos+1] << 8); // This adds to the total duration (otherwise it won't match report)
break; break;
case 8: // ??? case 8: // Time Elapsed? How is this different from 7?
tt += data[pos] | (data[pos+1] << 8); // This also adds to the total duration (otherwise it won't match report) tt += data[pos] | (data[pos+1] << 8); // This also adds to the total duration (otherwise it won't match report)
break; break;
case 9: // Humidifier setting change case 9: // Humidifier setting change
@ -7075,6 +7076,9 @@ bool PRS1DataChunk::ParseSummaryF0V6(void)
//CHECK_VALUE(data[pos+3], 0); //CHECK_VALUE(data[pos+3], 0);
} }
break; break;
case 0x09: // Time Elapsed (event 4 in F0V4)
tt += data[pos] | (data[pos+1] << 8);
break;
case 0x0a: // Humidifier setting change case 0x0a: // Humidifier setting change
tt += data[pos] | (data[pos+1] << 8); // This adds to the total duration (otherwise it won't match report) tt += data[pos] | (data[pos+1] << 8); // This adds to the total duration (otherwise it won't match report)
this->ParseHumidifierSettingV3(data[pos+2], data[pos+3]); this->ParseHumidifierSettingV3(data[pos+2], data[pos+3]);

View File

@ -64,13 +64,13 @@ QString AboutDialog::getFilename(QString name)
{ {
QString filename; QString filename;
QString language = AppSetting->language(); QString language = AppSetting->language();
QString docRoot = appResourcePath() + "/Html/";
if (language == "en_US") { if (language == "en_US") {
filename = ":docs/"+name+".html"; filename = docRoot+name+".html";
} else { } else {
QString docRoot = appResourcePath() + "/Html/";
filename = docRoot + name + "-" + language + ".html"; filename = docRoot + name + "-" + language + ".html";
if ( ! QFile::exists(filename) ) if ( ! QFile::exists(filename) )
filename = ":docs/"+name+".html"; filename = docRoot+name+".html";
} }
qDebug() << "Looking for " + filename; qDebug() << "Looking for " + filename;
return filename; return filename;

View File

@ -2328,6 +2328,8 @@ void MainWindow::on_actionImport_ZEO_Data_triggered()
Notify(tr("Imported %1 ZEO session(s) from\n\n%2").arg(c).arg(filename), tr("Import Success")); Notify(tr("Imported %1 ZEO session(s) from\n\n%2").arg(c).arg(filename), tr("Import Success"));
qDebug() << "Imported" << c << "ZEO sessions"; qDebug() << "Imported" << c << "ZEO sessions";
PopulatePurgeMenu(); PopulatePurgeMenu();
if (overview) overview->ReloadGraphs();
if (welcome) welcome->refreshPage();
} else if (c == 0) { } else if (c == 0) {
Notify(tr("Already up to date with ZEO data at\n\n%1").arg(filename), tr("Up to date")); Notify(tr("Already up to date with ZEO data at\n\n%1").arg(filename), tr("Up to date"));
} else { } else {
@ -2357,6 +2359,8 @@ void MainWindow::on_actionImport_Dreem_Data_triggered()
Notify(tr("Imported %1 Dreem session(s) from\n\n%2").arg(c).arg(filename), tr("Import Success")); Notify(tr("Imported %1 Dreem session(s) from\n\n%2").arg(c).arg(filename), tr("Import Success"));
qDebug() << "Imported" << c << "Dreem sessions"; qDebug() << "Imported" << c << "Dreem sessions";
PopulatePurgeMenu(); PopulatePurgeMenu();
if (overview) overview->ReloadGraphs();
if (welcome) welcome->refreshPage();
} else if (c == 0) { } else if (c == 0) {
Notify(tr("Already up to date with Dreem data at\n\n%1").arg(filename), tr("Up to date")); Notify(tr("Already up to date with Dreem data at\n\n%1").arg(filename), tr("Up to date"));
} else { } else {
@ -2451,6 +2455,8 @@ void MainWindow::on_actionImport_Somnopose_Data_triggered()
Notify(tr("Somnopause Data Import complete")); Notify(tr("Somnopause Data Import complete"));
PopulatePurgeMenu(); PopulatePurgeMenu();
if (overview) overview->ReloadGraphs();
if (welcome) welcome->refreshPage();
daily->LoadDate(daily->getDate()); daily->LoadDate(daily->getDate());
} }
@ -2477,6 +2483,8 @@ void MainWindow::on_actionImport_Viatom_Data_triggered()
if (c > 0) { if (c > 0) {
Notify(tr("Imported %1 oximetry session(s) from\n\n%2").arg(c).arg(filename), tr("Import Success")); Notify(tr("Imported %1 oximetry session(s) from\n\n%2").arg(c).arg(filename), tr("Import Success"));
PopulatePurgeMenu(); PopulatePurgeMenu();
if (overview) overview->ReloadGraphs();
if (welcome) welcome->refreshPage();
} else if (c == 0) { } else if (c == 0) {
Notify(tr("Already up to date with oximetry data at\n\n%1").arg(filename), tr("Up to date")); Notify(tr("Already up to date with oximetry data at\n\n%1").arg(filename), tr("Up to date"));
} else { } else {

View File

@ -432,9 +432,6 @@ OTHER_FILES += \
docs/schema.xml \ docs/schema.xml \
docs/graphs.xml \ docs/graphs.xml \
docs/channels.xml \ docs/channels.xml \
docs/release_notes.html \
docs/about.html \
docs/credits.html \
docs/startup_tips.txt \ docs/startup_tips.txt \
docs/countries.txt \ docs/countries.txt \
docs/tz.txt \ docs/tz.txt \