Commit Graph

281 Commits

Author SHA1 Message Date
Mark Watkins
f03ab85da5 Fix FPIcon summary-only AHI overview display 2014-07-02 15:22:28 +10:00
Mark Watkins
123254757d Better forced purge messages, allow renamed profiles to open, and fix TidalVolume units 2014-07-02 13:22:09 +10:00
Mark Watkins
25ff06750d Improve handling of corrupted CMS50 record headers 2014-07-01 14:57:54 +10:00
Mark Watkins
3749ee3cf8 Use new multithreaded task que on second stage ResMed importer 2014-06-30 21:20:12 +10:00
Mark Watkins
fe184a1f4a Added support for importing .spo2 files from newer CMS50F oximeters, plus a little SleepyHead history 2014-06-30 20:41:50 +10:00
Mark Watkins
c82f847f51 Fix ResMed AutoSet min pressure reading 2014-06-27 00:18:45 +10:00
Mark Watkins
3429dedbc5 Fix Chinese ResMed S9 channel names 2014-06-27 00:06:13 +10:00
Mark Watkins
870f456b35 Fix m_cnt LoadSummary upgrade error 2014-06-26 04:54:17 +10:00
Mark Watkins
0d01550f95 Stop unsupported PRS1 summary only sessions from showing due to zero end time 2014-06-23 15:02:40 +10:00
Mark Watkins
c1d993b157 Suppress layout warning, force purge for windows test build 2014-06-23 01:40:52 +10:00
Mark Watkins
d6d6780cdc Windows build fix 2014-06-23 01:14:46 +10:00
Mark Watkins
41622b1ed9 PRS1 summary duration fix, don't show event breakdown witout data present 2014-06-21 02:19:17 +10:00
Mark Watkins
c59a377e89 CMS50 Serial import reliability fixes 2014-06-21 00:17:41 +10:00
Mark Watkins
56358c25c7 Prevent hang by moving logger to it's own threadpool 2014-06-20 16:17:27 +10:00
Mark Watkins
3d3e3fa5c8 ResMed EPR Fix, show summary only warning in daily panel 2014-06-20 12:53:12 +10:00
Mark Watkins
ffbc94bb41 Fix LoadSummary upgrade for m_cnt fix, and m_sum load error 2014-06-20 12:21:56 +10:00
Mark Watkins
9ee92ecf48 Session::m_cnt should have been a float, fixes some ResMed summary issues 2014-06-20 12:06:57 +10:00
Mark Watkins
126e78cddc Clean up a few warnings, fix case sensitivity issue 2014-06-02 21:22:45 +10:00
Mark Watkins
42d29ae75c Windows ANGLE compatability warnings 2014-06-02 16:40:00 +10:00
Mark Watkins
1053972f79 BrokenGL sleeepyhead.pro improvement, minor cleanups 2014-06-02 12:56:22 +10:00
Mark Watkins
a800aff28f Added back in corrupt PRS1 waveform handling 2014-06-01 08:22:50 +10:00
Mark Watkins
b1fa273539 PRS1 Loader multithreading Rewrite, plus some minor graph tinkering 2014-06-01 07:25:07 +10:00
Mark Watkins
f203cd5aa0 Added delete days oximetry sessions menu option 2014-05-29 03:45:42 +10:00
Mark Watkins
466119b7f1 ResMed CPAP Pressure display fix (purge and reimport) 2014-05-29 02:23:40 +10:00
Mark Watkins
a01395e267 More oximetry work, plus added MD300W1 oximeter importer 2014-05-28 19:35:21 +10:00
Mark Watkins
260e83e330 Added Oximetery save code, module is ready for testing 2014-05-28 03:43:28 +10:00
Mark Watkins
6061bfd519 Oximeter sync page UI stuff 2014-05-27 15:24:35 +10:00
Mark Watkins
d049c4f0fa Appearance tweaks to Statistics page 2014-05-27 05:29:01 +10:00
Mark Watkins
66ed64be35 Make Oximeter welcome page skippable and reaccessable. 2014-05-26 20:22:38 +10:00
Mark Watkins
ffca449ac2 Connected LCD components in Live Oximetery, added graph hide ability 2014-05-26 17:37:28 +10:00
Mark Watkins
66e8d249cf Graph height calculation tweaks 2014-05-26 13:48:22 +10:00
Mark Watkins
17a7ac924b Work on Live Oximetery mode 2014-05-26 02:20:33 +10:00
Mark Watkins
ce1e03e86a New OximeterImport Module 2014-05-25 17:07:08 +10:00
Mark Watkins
16672fcd4a Fix FPIcon Waveform regression 2014-05-21 10:17:31 +10:00
Mark Watkins
c88f46a6fd ResMed loader multithreading work, Fixed autoscaling issue 2014-05-20 21:51:47 +10:00
Mark Watkins
27a7a78a53 Added Ignore Older Sessions preference, plus some purge fixes 2014-05-19 17:30:10 +10:00
Mark Watkins
0e69dbd370 Merged purge functions 2014-05-19 13:46:02 +10:00
Mark Watkins
10db88005b F&P Move backup to end of import functions 2014-05-19 03:53:09 +10:00
Mark Watkins
23e23f8210 ResMed STR.edf summary parser, and Purge rework 2014-05-19 03:06:58 +10:00
Mark Watkins
483d92a74a Fixes build error. thanks Roy.. plus fixed Med string mixup 2014-05-17 18:34:16 +10:00
Mark Watkins
4305baa76b A couple more string fixes 2014-05-17 15:12:57 +10:00
Mark Watkins
a6348f74fa Translations strings cleanup and resync. Cleaned up Profile delete 2014-05-17 15:04:40 +10:00
Mark Watkins
e4329fc117 FPIcon automatic backup support 2014-05-16 10:03:50 +10:00
Mark Watkins
dd1cdd83fb Bug fix to previous commit 2014-05-16 08:48:51 +10:00
Mark Watkins
ad43791fc7 Added upper and lower threshold capabilities 2014-05-16 07:48:53 +10:00
Mark Watkins
6af9004caa Added time above & below threshold calculation capability 2014-05-16 06:48:05 +10:00
Mark Watkins
b4f24c3457 Added Leak Redline threshold display and preference settings 2014-05-16 05:45:46 +10:00
Mark Watkins
f0356ee99c Optimize waveform/leak/pressure processing calcs, FPIcon cleanup 2014-05-16 03:56:53 +10:00
Mark Watkins
ae3fe507b1 F&P import flags code rearange 2014-05-15 16:20:54 +10:00
Mark Watkins
a86449803f Roy Stones FPIcon Sensawake patch 2014-05-15 13:51:32 +10:00
Mark Watkins
becd48f352 Fix some untranslatable strings 2014-05-14 23:35:55 +10:00
Mark Watkins
5ebc7dc283 Fix QPainter::drawLines glitch in gLineChart 2014-05-14 15:58:47 +10:00
Mark Watkins
c369f0ef00 ResMed Session grouping rework 2014-05-14 15:15:06 +10:00
Mark Watkins
96429dee7a Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code 2014-05-14 07:44:13 +10:00
Mark Watkins
8ce69b7e27 Minor EventList cleanups 2014-05-14 07:44:00 +10:00
Mark Watkins
a0f43f1b3d Little endian test glitch screwing up ResMed MaskPressure graph 2014-05-14 07:30:06 +10:00
Mark Watkins
b98d90934d Merge branch 'qpainter', old opengl code is officially dead 2014-05-14 05:30:09 +10:00
Mark Watkins
59b6700a50 Fix dodgy code assignment in ResMed code, Fix for automatic re-import after purge 2014-05-13 12:56:51 +10:00
Mark Watkins
1f4bf4c510 Clean up CPAP datacard autodetection 2014-05-13 11:28:41 +10:00
Mark Watkins
924a988769 Offer to reimport automatically after purge if backup folder available 2014-05-12 04:31:48 +10:00
Mark Watkins
2089de7120 F&P Icon timestamp patch (thanks Roy Stone) 2014-05-11 15:19:25 +10:00
Mark Watkins
f98291c62b Added line plot thickness preference, fixed barchart gradients 2014-05-10 12:53:50 +10:00
Mark Watkins
04b37d0f7c AntiAliasing stuff 2014-05-08 21:17:45 +10:00
Mark Watkins
38a8c7b1d0 More MSVC fixes plus cleanup warnings a bit 2014-05-08 14:46:23 +10:00
Mark Watkins
97c1375837 MSVC++ build fixes 2014-05-08 14:09:05 +10:00
Mark Watkins
bae7f333d6 Translation strings update 2014-05-07 10:43:42 +10:00
Mark Watkins
fcbfc8cc92 Added empty session skip back in for ResMed importer 2014-05-07 10:12:42 +10:00
Mark Watkins
3f86358507 Fix Day::hours() calculation glitch with empty sessions 2014-05-07 10:10:13 +10:00
Mark Watkins
8aa0c2b8b4 Remove c++11 auto iterators :( 2014-05-07 04:03:13 +10:00
Mark Watkins
feec1ca758 Undo initializer lists for the greater good, restoring Qt4.8 support 2014-05-07 03:39:05 +10:00
Mark Watkins
54452ab79a Added a new monthly statistics mode, and a switch to toggle 2014-05-06 21:54:41 +10:00
Mark Watkins
6ea8de1515 Smarten up Statistics page a bit, and make it more flexible
This is in preperation for making it editable by users.
Also added compliance calculations to profile
2014-05-06 19:11:34 +10:00
Mark Watkins
039294f989 Fix Max and 99% flag being swapped in Daily view Summary panel
Also some minor cleanups having a look over update module
2014-05-06 12:19:36 +10:00
Mark Watkins
e8b07b4eac More Resmed import cleanups, and fixes glitch with empty sessions 2014-05-05 16:14:29 +10:00
Mark Watkins
66e7b48abd Disable CombineSessions, IgnoreShortSessions and force day split time to noon when ResMed data present
This has been done because it's the only way access to Summary data is possible
This is in preperation for a little rework of the STR.edf parser
2014-05-05 04:24:29 +10:00
Mark Watkins
b530f27ca0 ResMed loader cleanup, fix missing snore graph, versioning change.
Versioning system just got changed to standard 3 segments
Major, Minor and Patch level. Bumped to version 0.9.5
2014-05-05 04:02:41 +10:00
Mark Watkins
1db5a74125 Change unstable references to testing 2014-05-04 16:21:26 +10:00
Mark Watkins
799694dddb PRS1 Family 5 Version 4 Has extra graph data field 2014-05-04 01:23:15 +10:00
Mark Watkins
a6dbdf3d15 Stop using inconsistent PRS1 Summary duration field, added PRS1 Large Leak span 2014-05-03 18:28:05 +10:00
Mark Watkins
c9a5b712f3 Minor PRS1 cleaning 2014-05-02 14:34:34 +10:00
Mark Watkins
027a81d915 Show progressbar in a dialog during import instead of in the status bar
Also added a warning message for non data capable PRS1 machines
2014-05-01 14:59:40 +10:00
Mark Watkins
22a9736598 Intellipap & FP Icon autoscanner Detect() functions 2014-04-29 05:24:39 +10:00
Sean Stangl
a155efa878 Simplify ResmedLoader::Detect() by avoiding manual string manipulation.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-29 04:59:55 +10:00
Mark Watkins
4790025697 Implemented ResmedLoader autoscanner Detect() code 2014-04-28 14:01:55 +10:00
Mark Watkins
2b62343e61 Removed ImportLocations and implemented datacard Autoscanner 2014-04-28 13:27:33 +10:00
Mark Watkins
38d7aeb3fb Some C++11 cleanups to importers, preparing for autoscanner/import wizard 2014-04-26 19:54:08 +10:00
Mark Watkins
e8fe6c7af0 Only open active profile after selection, rather than parsing all at startup.
Also cleaned up the last references to summary when statistics was meant.
2014-04-25 15:52:47 +10:00
Mark Watkins
cfb3eb7c26 Fixes to last commit 2014-04-24 19:44:15 +10:00
Sean Stangl
3a7ce34b1c Use C++11 nullptr.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-24 08:17:53 +10:00
Mark Watkins
87fd9c37db Cleanup Day iterator code using C++11 2014-04-23 16:00:09 +10:00
Sean Stangl
8ac829a3d1 Explicitly include <limits> to fix Qt4 build.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-23 15:03:38 +10:00
Sean Stangl
868a61c27b Express some profiles.h functions in terms of helper functions.
Gets rid of nasty string duplication and pointer logic.

Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-22 17:16:48 +10:00
Mark Watkins
0421a5c4e2 Clean up & optimise Session and Profile iterators a little bit 2014-04-22 17:16:24 +10:00
Mark Watkins
f718973c88 Clean up and optimise Day classes session iterators 2014-04-22 15:28:58 +10:00
Mark Watkins
780368c2e8 Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code 2014-04-18 16:10:32 +10:00
Sean Stangl
eb3019b0fe Express one EventList::AddEvent() in terms of the other.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-18 11:04:04 +10:00
Mark Watkins
24c3087326 Fix a minor tooltip font glitch in preferences 2014-04-18 10:49:22 +10:00
Sean Stangl
be71894ad0 Clean up and express GetGoodDay() in terms of GetDay().
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-18 10:46:05 +10:00
Sean Stangl
c29313ab88 Auto-convert the SleepLib/ subdirectory with astyle.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-17 16:18:49 +10:00
Mark Watkins
7ce407f6e9 Cleanup some unused variable, Qt4 build fix 2014-04-17 14:56:04 +10:00
Mark Watkins
a9b2fe7db2 Added Position tracking foundation, and Somnopose CSV importer 2014-04-15 23:59:24 +10:00
Alec Clews
36b9cc8e16 Make the Channel ID consistantly of Type Channel ID
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-10 14:07:00 +10:00
Mark Watkins
0e03e4deef ResMed importer Swedish language encoding fix in Qt5.2 (Thanks manderss99) 2014-04-10 14:01:03 +10:00
Sean Stangl
9dbe702a40 Standardize project modelines and include license and copyright.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-10 13:29:53 +10:00
Sean Stangl
d86ffb3a50 Store EDFSignal memory in a linear vector.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-10 13:08:56 +10:00
Sean Stangl
50c51c9a91 Fix buffer overrun in EDFParser.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-10 12:58:39 +10:00
Mark Watkins
6d65611caf Fix startup crash and correct SleepyHead spelling inconsistencies (Thanks Sean) 2014-04-09 15:00:34 +10:00
Mark Watkins
ce44c644b3 Manderss99's Swedish ResMed S9 importer fixes 2013-12-10 15:34:27 +10:00
Mark Watkins
53f893fb99 Summary page cleanup for VPAP/ASV 2013-11-19 23:06:17 +10:00
Mark Watkins
ce48401f08 Overview linechart preference, ResMed pressure fixes (Needs Reimport) 2013-11-19 14:42:10 +10:00
Mark Watkins
b2f0fa802b Added preference for touchpad dampening, removed overview 'points' 2013-11-09 13:13:15 +10:00
Mark Watkins
36f2dec1d8 Added ToolTip & yAxisScaling preferences 2013-10-26 23:59:37 +10:00
Mark Watkins
f5264d657b Started deprecating channels.xml and replacing with translatable channels 2013-10-26 15:06:56 +10:00
Mark Watkins
8de36b5c35 Fixed Resmed loader bug affecting TidalVolume & FLG 2013-10-26 09:30:35 +10:00
Mark Watkins
b3538bfaa2 Implemented first two yAxis zoom modes (double click on yAxis labels) 2013-10-26 01:25:13 +10:00
Mark Watkins
142feb9ace Mouse Handling cleanup, Graph YAxis prep work, profile screen improvements 2013-10-25 20:39:30 +10:00
Mark Watkins
0a67a16baa ResMed Backup cleanup and Purge CPAP Day fix 2013-10-22 21:42:57 +10:00
Mark Watkins
5f42c6f05f Fix a whole heap of translation strings 2013-10-20 22:13:06 +10:00
Mark Watkins
fc601fc7ef Fixed profile selection always in random order 2013-10-20 21:00:55 +10:00
Mark Watkins
1ce3423f8c Better ResMed SDCard backup, keep monthly STR.edf copy 2013-10-20 20:20:54 +10:00
Mark Watkins
65540d1b51 Drag some ASV notes of of git stash 2013-10-19 22:51:25 +10:00
Mark Watkins
3c2ae16976 Preparing for adding an unstable GIT branch 2013-10-18 14:56:44 +10:00
Mark Watkins
ad84266a16 BiLevel IPAP/EPAP fixes for S9 VPAP 2013-10-16 19:36:05 +10:00
Mark Watkins
51873bef91 Fix Min/Max APAP pressures reversed in ICON loader 2013-10-16 16:13:53 +10:00
Mark Watkins
37107f93f8 F&P Mask Pressure fix (not really Mask Pressure, but verifies FLW import works 2013-10-16 15:18:29 +10:00
Mark Watkins
969feab9c5 F&P Icon Flow waveform 2013-10-16 14:37:03 +10:00
Mark Watkins
1f706ed42b Some unfinished work on F&P Icon loader and ResMed S9 importer 2013-10-16 12:52:25 +10:00
Mark Watkins
f1f798f5de Warning - Incremented ResMed importer version. 2013-10-14 02:48:50 +10:00
Mark Watkins
2e49a51b17 Cleaned up Daily pages html formatting, schema needed to initialize before Machine loader registrations 2013-10-14 02:35:53 +10:00
Mark Watkins
61cb9adc12 Minor profiling & day loading performance improvements 2013-10-13 20:13:14 +10:00
Mark Watkins
3eeef5060d Renamed src directory to sleepyhead 2013-10-10 02:47:28 +10:00