Commit Graph

138 Commits

Author SHA1 Message Date
Mark Watkins
5269abd3ef Fix ResMed spinlock on invalid no settings date 2018-05-30 18:51:43 +10:00
Mark Watkins
ac1d0be42b Fix ResMed import crash condition and break screenshots temporarily 2018-05-30 09:29:21 +10:00
Mark Watkins
aba8cc8052 Last commit accidentaly undid the one before with the ResMed fix 2018-05-30 06:45:49 +10:00
Mark Watkins
14964249e6 Update translations, Added Hebrew, updated UK & Afrikaans 2018-05-29 18:22:01 +10:00
Mark Watkins
8d8648fe20 Make sure to call SaveSummary() after ResMed import 2018-05-29 18:12:37 +10:00
Mark Watkins
e2aee8ddf7 Switch Records and Bookmars to QTextBrowser instead of Webkit 2018-05-08 05:32:16 +10:00
Mark Watkins
ea2e0cb147 qprogress global progress bar misuse cleanup for importers 2018-05-08 04:42:23 +10:00
Mark Watkins
0f639eecbc Add abort button to Import process 2018-05-07 11:57:58 +10:00
Mark Watkins
c4ac37d4ae Make ResMed & PRS1 importer check ignoreOlderSessions, make import progress dialog modal 2018-05-07 11:30:42 +10:00
Mark Watkins
adf6f1917d Improve progress dialogs and show stage messages in ResMed & PRS1 importer 2018-05-07 10:37:22 +10:00
Mark Watkins
80d9948ad5 pick up missing STR settings on ResMed reimport, add some profiling stuff and better nosettings handling 2018-05-07 02:59:50 +10:00
Mark Watkins
0583675641 EDFParser cleanup and .gz file handling fixes 2018-05-06 17:55:02 +10:00
Mark Watkins
4dcf1a75fb WIP on master: cc2a80e4 Start of PRS1 DFV3 Summary Parsing cleanup 2018-05-06 07:58:11 +10:00
Mark Watkins
b14b1abd4d Make sure to include EDF files in the S9 DATALOG folder itself 2018-05-04 20:22:55 +10:00
Mark Watkins
a369e2dac4 Fix ResMed importer backup & gz glitch, remove quazip dependency 2018-05-03 19:59:31 +10:00
Mark Watkins
0b8ada6d64 Unbreak git, and skip already imported resmed sessions 2018-05-03 15:44:19 +10:00
Mark Watkins
f64edd80ca Break GIT, import for ResMed import bug 2018-05-03 15:34:04 +10:00
Mark Watkins
acf0ddca3d More ResMed stuff, plus popout graph test 2018-05-03 15:08:45 +10:00
Mark Watkins
b1e81fc8b1 ResMed Loader Rework 2018-04-28 15:33:26 +10:00
Mark Watkins
53addb62e7 Pass strings as const references in MachineLoaders 2018-04-27 14:29:03 +10:00
Mark Watkins
36e952d2fd ResMed imported_files wasn't reading 2018-04-26 04:04:05 +10:00
Mark Watkins
916174ab71 Use ResMedEDF derived parser throughout ResMed importer 2018-04-26 03:00:09 +10:00
Mark Watkins
6f22172d51 Split EDF Parser from ResMed importer 2018-04-26 01:22:29 +10:00
Mark Watkins
b3c92aa9fe Replace sucky Q_ASSERTS with qWarnings/qCritical, enable FLG graph by default in overview 2018-04-25 20:34:23 +10:00
Mark Watkins
887273849f Make ResMed imports progress bar move a bit more during stages 2018-04-23 06:04:39 +10:00
Mark Watkins
777c3aa98a Reenable multithreading, and add LoadSummary multithreading 2018-04-23 04:12:36 +10:00
Mark Watkins
dc5ec0046f 1.1.0 2018-04-22 12:06:48 +00:00
Mark Watkins
8acbfe0e92 Clean up some more warnings, and update Copyright strings 2018-03-28 17:10:52 +10:00
Mark Watkins
4ed77fc64a Clean up a few unused variables and nullptr risks with clang static analyzer. Fix a bug in Journal day selection 2018-03-28 16:22:42 +10:00
Mark Watkins
2e2b7d269c Issue #0005 EPR on/off glitch 2016-04-04 01:00:36 +10:00
Mark Watkins
75e3f6eed7 Clean up some more channels.xml stuff 2016-03-17 09:28:18 +10:00
Mark Watkins
c2391056a6 Fix TempEnable glitch, update changelog, bump build number 2016-03-09 00:39:56 +10:00
Mark Watkins
09e07997ef Add in ResMed AirSense/Curve Machine Settings (Reimport to get them) 2016-03-08 23:55:29 +10:00
Mark Watkins
1a77446155 ResMed IPAP chart data not being imported correctly 2016-03-04 13:34:05 +10:00
Mark Watkins
a546a724fb AirCurve ASV Pacewave fixes 2016-03-04 10:17:19 +10:00
Mark Watkins
4e90213536 Wasn't showing AirCurve icon properly 2016-03-03 18:32:43 +10:00
Mark Watkins
db1559a545 Fix AirSense EPR on/off status 2016-03-03 18:28:45 +10:00
Mark Watkins
052e389b85 Alternative Unintentional Leak Calculation with Preferences 2016-03-03 14:48:21 +10:00
Mark Watkins
29581ebc88 AirCurve series detection (icon fix) and some cleanups 2016-03-02 12:09:32 +10:00
Mark Watkins
f69eda1101 Update source file header messages 2016-03-01 21:59:04 +10:00
Mark Watkins
2fd9137706 Add AirSense10 Image 2016-02-28 13:36:58 +10:00
Mark Watkins
20f8ceed71 Some AirCurve fixes 2015-09-21 11:30:23 +10:00
Mark Watkins
204d77e7b0 Constrain ResMed EDF Flow waveform data to within physical min/max values 2015-09-21 10:02:15 +10:00
reznet
59a0823d20 Update all calls to fromMSecsSinceEpoch to specify UTC
QT 5 changed the behavior of QDateTime::fromMSecsSinceEpoch to return the result in local time zone, whereas in QT 4, it returned UTC.  On systems that do not support time zones, the QT 5 version still returns UTC.  But for all other systems, the api change causes confusion in the SH UI because some date and time values are displayed in UTC instead of the local time zone.  This manifests itself when the user is in USA which has a negative UTC offset.  When selecting a date range to display in the overview screen, the displayed dates appear to be one day behind the selected date range.

For consistently, SH should always use UTC internally and only convert to the local time zone when displaying data to the user.  This will ensure that the time zone information is preserved correctly when the UTC offset of the user's machine changes due to DST changes or traveling.

There are a few calls to fromMSecsSinceEpoch which should be using local time, and those will be updated in future commits.
2015-08-11 15:01:24 -05:00
Mark Watkins
29f869737f Portuguese ResMed Leaks 2015-08-02 16:05:56 +10:00
Mark Watkins
0f2f8f85ba Fix French ResMed leak string, solve Q_FOREACH problem with Qt 5.4.2 2015-08-02 15:53:09 +10:00
Mark Watkins
fbea37dcb5 Stop ResMed importer crashing on zero record STR.edf files 2015-07-31 08:36:52 +10:00
Mark Watkins
7782b83d90 Clean some more warnings up 2014-10-09 02:51:09 +10:00
Mark Watkins
70b54982d8 Only CPAP & APAP ResMed machine modes have EPR 2014-10-01 02:24:55 +10:00
Mark Watkins
740e4cb2ba Fix Machine::m_availableChannels glitch breaking oximetry statistics 2014-09-30 21:02:35 +10:00