Commit Graph

1126 Commits

Author SHA1 Message Date
Guy Scharf
7bf8470d36 Mark exported journal backup file as UTF-8. 2021-01-18 21:55:14 -07:00
Guy Scharf
a06d37e10e Correct error dialog when data cannot be written to OSCAR_Data
Also minor update to Release Notes
2021-01-18 21:47:59 -07:00
Phil Olynyk
28ac40a6f9 Reset size of AHI banner in left panel 2021-01-15 21:05:04 -05:00
Phil Olynyk
f05320e725 Add font debugging, add setApplicationFont to Daily::Load(date) 2021-01-15 20:20:36 -05:00
Guy Scharf
142220c16c More diagnostics for font setting failure on startup on RPi
Dump entire font table if desired font is not found
2021-01-15 11:30:34 -07:00
Guy Scharf
b8415117c3 Improve font setting diagnostic message 2021-01-14 15:20:53 -07:00
Guy Scharf
b00434f1d9 Add diagnostics when setting application font
To help resolve font setting problem on RPi4
2021-01-14 20:43:38 +00:00
sawinglogz
09ba58669a Add support for Target Time humidifier setting on DreamStation Go. 2020-12-29 20:23:37 -05:00
sawinglogz
e336e85aac Add 500G120 and 500X140 to the list of tested machines.
Also update warnings based on new test data.
2020-12-29 17:38:00 -05:00
Guy Scharf
38d8b84266 Intellipap DV64 loader now imports the most recent day
Previous code had an off-by-one error and was not importing the last day in the file.
2020-12-14 00:20:29 +00:00
Guy Scharf
d357c37edd Update link to Contec drivers. 2020-12-05 17:59:45 -07:00
Phil Olynyk
1aa88fb19a Merge branch 'master' into local_SDcopy 2020-11-21 20:02:32 -05:00
Guy Scharf
77b64c87e8 Fix loss of notes and bookmarks when importing or purging data
OSCAR now calls Unload() for the current day when importing new data
or purging oximetry data.  This will cause any recently changes Notes
to be saved instead of silently discarded.

When purging the current day, OSCAR will now purge only session data
and not any other machine data it finds, which caused Bookmarks (and
probably Oximetry data) to be deleted as well.

Release Notes updated.
2020-11-21 11:45:43 -07:00
Guy Scharf
4276765bf2 ResMed loader no longer checks for maskoff dates beyond current time
Loader was checking that maskoff time was not greater than current time.  This
produced problems when CPAP machine was set to DST but computer was set to standard
time. This also could cause problems trying to import files created in a different
timezone.
Added a separate check for maskon and maskoff times were in legal range (0-24*60).
Updated release notes.
2020-11-19 13:51:01 -07:00
Phil Olynyk
a637bea0fe Check for existing lastpath file before Crostini warning 2020-11-15 23:38:12 -05:00
Guy Scharf
5fb837ccb9 Daily page enable/disable oximeter session now works correctly.
Prevoiusly, disabling an oximeter session could cause bookmarks to be
disabled and/or OSCAR to crash. OSCAR was looking up the session for
the oximeter session and not noticing it got a Journal session instead.
2020-11-04 21:12:05 -07:00
Guy Scharf
fac7803880 Improve error message when null pointer found in journal file 2020-11-04 10:23:14 -07:00
Guy Scharf
1af5d3ec40 Improve some qWarning messages.
resmed_loader: include all timestamps in "time in future" error messages
mainwindow: add qWarning message if first journal session is null pointer
2020-11-04 10:12:19 -07:00
Guy Scharf
5e75fe8836 Fix OSCAR crash when session not found in Journal file
While preparing bookmark HTML for right sidebar, OSCAR was trying to obtain
the first MT_JOURNAL session, but was finding a null pointer and then not checking
that the pointer was null. However, I don't know under what conditions this
situation could happen in the database.  At least now it won't crash OSCAR.
2020-11-03 14:50:04 -07:00
Guy Scharf
d4c2b74afb Allow non-ASCII (UTF-8) characters in user first and last name in user profile
We do this by forcing a UTF-8 byte order marker in the profile.xml file.
We also add processing instructions that specify UTF-8, although it seems the BOM is itself sufficient.
2020-10-31 18:06:38 -07:00
Guy Scharf
678e0f9241 Correct leak rate computations on Welcome page
Welcome page was calculating current and 7-day averages using the "normal average" method,
which averaged just the non-zero readings, giving excessively high numbers.
Now computes using "weighted average" resulting in more meaningful numbers.
2020-10-31 09:49:02 -07:00
Guy Scharf
055aec77d8 Name VERSION as 1.2.1-alpha.0
We don't know what the next release number will be but are setting it above 1.2.0
so that anyone who downloads the repository will know the HEAD is above 1.2.0.
2020-10-31 09:07:22 -07:00
Phil Olynyk
6d9f544af8 Update rc.2 to release status 2020-10-13 13:32:54 -04:00
Phil Olynyk
1faaf6251c Update to v1.2.0_rc.2 2020-10-06 20:09:17 -04:00
Guy Scharf
bf458fa1d5 Clairfy code for checking for str.edf or str.edf.gz depending on compression settings 2020-10-06 09:37:29 -07:00
Guy Scharf
6c8d9d6751 Fix two issues in ResMed loader:
1) If data compression option is set, loader will now try the str.edf.gz file first, with fallback to str.edf
2) Mixed Windows and Unix separators are now allowed in --datadir, which was previously causing data loss when rebuilding CPAP data.
2020-10-06 01:36:15 +00:00
Guy Scharf
34700fd9f9 Fix two issues in ResMed loader:
1) If data compression option is set, loader will now try the str.edf.gz file first, with fallback to str.edf
2) Mixed Windows and Unix separators are now allowed in --datadir, which was previously causing data loss when rebuilding CPAP data.
2020-10-06 01:36:15 +00:00
Phil Olynyk
e4b3b97c21 Change VERSION to v1.2.0-rc.1 - use dot as pre-release separator 2020-09-25 13:03:40 -04:00
Guy Scharf
9e899c1d15 Change apostrophes in Daily page statistics tooltips to HTML encoded apos; 2020-09-20 19:05:22 -07:00
Guy Scharf
dc5540d2a8 Don't show versions.xml read errors for automatic checks. 2020-09-18 10:40:05 -07:00
Guy Scharf
8d2578872a Add an error message to Check for Updates when unable to access the update on our server. 2020-09-16 13:05:45 -07:00
Phil Olynyk
956a405c80 change VERSION to v1.2.0-beta-3 2020-09-15 13:19:35 -04:00
sawinglogz
2563e5c4f0 Fix gcc compiler error introduced by d98a76a. 2020-09-14 14:58:11 -04:00
sawinglogz
d98a76aa22 Recognize low MV alarm on 1030X and update warnings based on test data. 2020-09-13 19:28:00 -04:00
sawinglogz
d1985c9dc2 Add support for all current Dorma 501V test data. 2020-09-13 19:27:59 -04:00
sawinglogz
c8b10e31a7 Add initial support for PRS1 Dorma 501V. 2020-09-13 19:27:59 -04:00
sawinglogz
53de4f0f49 Add older 450P to the list of tested machines.
Also update warnings based on test data.
2020-09-13 19:27:59 -04:00
harre
d54e8b2e11 Added default copy operators as implicit default is deprecated 2020-09-13 01:10:03 +02:00
Guy Scharf
036117d41d Correct reversion in beta-1 that lost date last imported. 2020-09-12 22:07:40 +00:00
Guy Scharf
ade32fa914 Change Profiles page and Daily Records box in right sidebar to show data for most recently used machine.
- Changed Profile::GetMachine() to find machine with latest lastImportDate when there were multiple machines in a profile.
- Previously, OSCAR would shown the "first" machine in its list, without clarity about how a machine was designated "first".
2020-09-12 22:07:40 +00:00
Guy Scharf
abf0747b50 Add data directory path to error message when unable to write test file.
- This is intended to make the error message and log entries more descriptive.
2020-09-12 22:07:40 +00:00
Guy Scharf
3ea13f736f Increase minimum width of Preferences dialog don't import before date field.
- Intent is to prevent clipping of year number for months with long names (September).
- This helps with default font size on my system but may not help on others.
2020-09-12 22:07:40 +00:00
Phil Olynyk
249144a4a4 Update version to v1.2.0-beta-2 2020-09-10 19:20:30 -04:00
Guy Scharf
e39adbd41e Avoid data loss when destroying a profile that's just an empty directory; Release notes for v1.2.0-beta-2
- If trying to delete a profile folder with no contents, now displays an error message and doesn't delete it.
- Folders with no contents are no longer listed on the Profiles page.
- Release Notes updated with the fixes for beta-2.
2020-09-09 22:03:32 -07:00
Guy Scharf
b49e483fa4 Remove SleepyHead modules ProfileSelect.h, .cpp, .ui. OSCAR uses ProfileSelector.* modules 2020-09-09 20:55:23 -07:00
Guy Scharf
f423ef4967 Fix reversion in fea497ac causing fatal 'variable not used' message 2020-09-09 18:27:58 -07:00
Guy Scharf
de0069171a Support migration of OSCAR as well as SleepyHead data. Update Release Notes. 2020-09-10 01:12:45 +00:00
Phil Olynyk
fea497aca6 Test for Crostini 9p filesystem before looking for /mnt/chromeos/removable 2020-09-09 20:55:42 -04:00
Guy Scharf
6406545c33 Correct percentile calculation for multiple days
- Previously, would stop and return 0 if any day in range was suumary only
- Now, just ignores summary-only days if there are days with data
- Re-indentation makes change look bigger than it is
2020-09-08 19:54:56 -07:00
Guy Scharf
555639e78b Language improvements for password prompt tooltip and debugging channels 2020-09-08 19:33:09 -07:00