sawinglogz
0737ad9b10
Performance improvements for PRS1 regression tests.
...
Most of the gains were from replacing endl with '\n', which avoids
unnecessary flushing. But there were a few hot functions whose
inefficiency ended up having a significan impact.
2021-05-23 21:26:17 -04:00
Phil Olynyk
caec63576d
The i in Sızıntı has no dot !
2021-05-23 18:00:19 -04:00
sawinglogz
7a852953be
Move raw data signal tests into a separate class.
...
Otherwise QTest treats the signal handlers as separate tests.
2021-05-23 15:48:20 -04:00
sawinglogz
b2ca5f708e
Improve debug and user-visible messages for unsupported PRS1 machines.
2021-05-23 15:36:09 -04:00
sawinglogz
793a621b4d
Fix some crashes that result from an invalid PR properties file.
2021-05-23 15:02:01 -04:00
sawinglogz
f1e31282bb
Add wrapper around DreamStation 2 files to read their header and provide an interface to their data.
2021-05-23 12:43:31 -04:00
sawinglogz
818eafcc7c
Add RawDataDevice wrapper around QIODevice to allow for filtering of incoming data before loading.
...
Eventually this will also provide endian-aware integer reading functions,
so that individual loaders don't have to reinvent the wheel as often.
2021-05-23 12:25:35 -04:00
Phil Olynyk
f32d1da51a
Add Turkish PLD, SAD signal names
2021-05-22 15:15:52 -04:00
Phil Olynyk
4a43aaabd4
Add Turkish STR signal names
2021-05-22 14:54:52 -04:00
kappa44
dbaafed73d
Journal should always ignore 'do not import sessions' date
2021-05-21 10:42:38 +10:00
kappa44
fc5cfc2a9b
Merge branch 'master' into import-date-fix
2021-05-18 20:45:27 +10:00
kappa44
a836871914
Ignore old sessions should not impact existing data
2021-05-18 20:45:04 +10:00
harre
5126c215f4
Remove not needed ignored warning as code got fixed already #25
2021-05-18 01:39:00 +02:00
harre
6c03da966a
GCC 11 build fix on arch #34
2021-05-18 01:19:12 +02:00
kappa44
497cf8e5c4
Fix compile errors on Centos 7
2021-05-16 13:57:44 +10:00
sawinglogz
505264a200
Detect DreamStation 2 cards and alert the user.
2021-05-13 16:46:44 -04:00
sawinglogz
66e06af211
Add 700X130 to the list of tested machines.
2021-05-13 10:15:57 -04:00
kappa44
aec02b14aa
Fix bookmark behavior with clock drift
2021-05-11 14:48:14 +10:00
Phil Olynyk
6b5443e6b8
Fix conflict by allowing comment
2021-05-02 08:16:32 -04:00
Phil Olynyk
edf3d95225
Comment out all the debugging stuff, and add a terminating event when
...
a PLD.edf signal value is out of range.
2021-05-02 08:05:49 -04:00
Phil Olynyk
6d4836c18a
Use channel lables instead of hex ID
2021-04-26 20:51:48 -04:00
sawinglogz
9cbd0d7b24
Fix multiple regressions that broke compilation with clang.
...
e633a82
: overloaded virtual method errors
0022510
: inconsistent missing override error
e358d31
: unused private fields
3591f11
: unused private fields
2021-04-26 20:10:37 -04:00
kappa44
89edb3f077
Correct Total Time and AHI in CSV Export when non-CPAP devices are used
2021-04-26 10:02:30 +10:00
Phil Olynyk
e20518e84c
Don't skip the first 40 seconds of ResMed low-rate pressure data.
2021-04-24 16:52:25 -04:00
kappa44
e633a82de4
Consistent multi-file import for non-CPAP loaders (Viatom, Somnopose, Zeo, Dreem)
2021-04-24 17:44:27 +10:00
LoudSnorer
3591f112a9
MinutesAtPressure (timeAtPressure) has been refactored.
...
TimeAtPressure Graph now has the same look and feel as the Pressure Graph.
Configuration chamges to the Pressure Graph now also impact the TimeAtPressureGraph.
Changes are identified in MinauteatPressure.cpp (first 100 lines)
2021-04-17 21:54:56 -04:00
LoudSnorer
940b247cb9
Adding "snapshot" menu item to Overview Range widget after "custom".
...
This item copies the current displayed Overview Range to the Custom Range and its calendar (start and end).
the then selects the "Custom" range.
This is a shortcut mechanism to modifing the start and end calendar widgets.
Note: The label "snapshot" is my best quess on the name of this item.
note: The label will need to be translated,
2021-04-17 14:09:40 -04:00
LoudSnorer
94e5cf2332
Merge branch 'master' into saveCustomRangeOverReload
2021-04-16 18:38:27 -04:00
Guy Scharf
5a64262ff6
Minor fix to #ifdefs in DV6 loader
2021-04-13 17:48:39 -06:00
Guy Scharf
037b13c73c
Adjust labels on Daily and Overview pages to show 99.5% instead of Max when max is not used
...
Note that "Max" on the Statistics page really is the "max" and not 99.5%
2021-04-13 17:47:15 -06:00
Guy Scharf
4234cb34a4
Fix problem with truncated per-minute data in graphs.
2021-04-09 14:05:54 +10:00
Guy Scharf
889bc8842c
Logger.cpp: Add #define to allow all debug messages to be seen
...
I have DEFINES+=HARDLOG set up in my QT Debug configurations so I can always see messages in the event of a crash.
2021-04-09 14:03:37 +10:00
kappa44
a02981f6d1
Extend purge current day to allow per-machine type purge
2021-04-05 12:23:43 +10:00
kappa44
94faff5297
Allow purge current day for all machine types
2021-04-05 12:05:05 +10:00
Guy Scharf
3114cf517d
Improve file identification in Icon loader
...
Will no longer attempt to process SleepStyle data with Icon loader
A new loader for SleepStyle machines is forthcoming.
2021-04-04 04:56:39 -07:00
Guy Scharf
e699ea182d
Update version checking to allow QT 6
2021-04-02 17:17:50 -07:00
Phil Olynyk
a92646faae
working on missing graph
2021-04-02 19:01:24 -04:00
Guy Scharf
e358d31f26
Add logic to read rolling files created by DeVilbiss BLUE CPAPs
2021-04-01 21:39:06 -07:00
kappa44
85b4013b2d
Fix stage & position session toggle
2021-04-01 11:32:58 +11:00
kappa44
00225103fd
Save notes immediately when focus leaves notes widget.
2021-03-28 14:22:57 +11:00
kappa44
a0b9488aa9
Save notes immediately when focus leaves notes widget. Fix saving of weight changes when using up/down arrows
2021-03-28 14:22:31 +11:00
kappa44
2331bbba26
Don't ResetBounds when setDay is called to avoid changing overview graphs to full date range on BMI/Weight change
2021-03-28 14:20:19 +11:00
kappa44
37483de62a
Display Weight/BMI/Zombie graphs
2021-03-28 14:15:10 +11:00
kappa44
00ad97ff70
Update loader version change comment
2021-03-23 09:43:14 +11:00
kappa44
2d502f6a68
Revert viatom data version to avoid purge
2021-03-23 09:42:47 +11:00
LoudSnorer
9777ecd2ab
This allows the Overview Custon range to be saved and resurvive a reloaded of OSCAR.
...
a New feature has been been added but can not be activated until a UI file is changed - another submission.
This new feature will utilize the current displayed range as the custom range.
Other wise the Overview custom range uses the values from the calendar.
This changes does not require and data or translations.
2021-03-21 16:21:48 -04:00
LoudSnorer
562cd9cc37
fix display issues for short span events
2021-03-21 14:15:47 -04:00
sawinglogz
be1d3d878b
Add 1130X200 to the list of tested machines.
...
Also update warnings based on new test data and correctly
label the rise time lock setting on some 1030X sessions.
2021-03-04 17:34:05 -05:00
Phil Olynyk
c4d7ac7f05
Roll back PlaceholderText added to ui file
2021-02-22 17:26:33 -05:00
sgearhart
31bd10590f
modified: oscar/SleepLib/loader_plugins/viatom_loader.cpp
...
modified: oscar/SleepLib/loader_plugins/viatom_loader.h
modified: oscar/mainwindow.ui
2021-02-22 15:30:04 -05:00
Guy Scharf
eb4981d3be
On Daily page, show right statistics column as 99.5% or Max, as appropriate.
2021-02-22 08:59:44 -07:00
Phil Olynyk
1b727eff76
Use 2010-1-1 as invalid date, and fix the test for it
2021-02-21 20:42:13 -05:00
kappa44
6b10cb665d
Make somnopose csv more flexible - data fields are optional and include movement. Make data persistent
2021-02-22 09:33:43 +11:00
kappa44
a1e011da4d
Support multi-file imports for Somnopose
2021-02-22 09:30:24 +11:00
kappa44
56cf4a452c
Include rates in oximetry summary. Use correct machine type hours for non-CPAP event rates
2021-02-22 09:29:12 +11:00
kappa44
c13951b675
Consider CPAP drift when displaying current value
2021-02-22 09:20:34 +11:00
Guy Scharf
fbfc830015
Compensate for error message from linux compilers in DeVilbiss loader.
2021-01-26 12:37:27 -07:00
Guy Scharf
24e7d34aee
DeVilbiss DV6x loader
...
Mostly complete
Backup facility is incomplete
2021-01-25 19:56:59 -07:00
Phil Olynyk
d16c4f4aed
Add Auto as option for Ramp-Enable
2021-01-22 11:36:17 -05:00
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