Commit Graph

281 Commits

Author SHA1 Message Date
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