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
Mark Watkins
f2facb9da9
Add AirSense 10 CSR flags. Fixed summary load order messing up day splitting.
2014-09-22 14:32:15 +10:00
Mark Watkins
a8eee32891
pixmaps to machineloader, fix xaxis scaling glitch
2014-09-18 03:20:01 +10:00
Mark Watkins
3558b69065
Fix event loading glitch, and 0.0 smiley resmed glitch
2014-09-17 16:12:38 +10:00
Mark Watkins
4c0b4908bc
Mega update: Summary demand loading, Overview summarychart rework, rxchanges caching
2014-09-12 00:23:08 +10:00
Mark Watkins
5601be1b91
Profile sort order, PRS1 brick stuff
2014-09-01 21:39:38 +10:00
Mark Watkins
504aa231f1
Better ResMed Session sorting, Parse EVE's differently
2014-09-01 14:49:05 +10:00
Mark Watkins
514d88c68a
Fix ResMed series strings for S10
2014-08-26 18:59:35 +10:00
Mark Watkins
77fde4e7a4
ResMed Session sorting, plus read correct VPAP 36037 PS Min/Max STR.edf fields
2014-08-26 17:55:01 +10:00
Mark Watkins
35778aa1df
Basic S10 import capability
2014-08-24 15:00:51 +10:00
Mark Watkins
09ccf1984c
Preliminary S10 channels, CMS50f/i clock set option
2014-08-24 12:26:53 +10:00
Mark Watkins
433bd5a4f8
Give each graph individual flag overlays
2014-08-23 16:21:50 +10:00
Mark Watkins
f935f3dd61
Fix line cursor values not showing when multiple machines present
2014-08-22 23:59:27 +10:00
Mark Watkins
0b31d0ea3f
Fix duplicate ResMed Ti/Te signals from importing
2014-08-22 21:54:24 +10:00
Mark Watkins
9c9408a4f2
CMS50i PI test2
2014-08-22 02:13:22 +10:00
Mark Watkins
ef8958ce12
More CMS50F stuff, and a resmed fix
2014-08-20 13:03:01 +10:00
Mark Watkins
b45e7efed5
New Graph QMenu magic and new icons
2014-08-17 22:56:13 +10:00
Mark Watkins
0579d2cd2a
Reduce the edf EVENT duration time during file sorting as it was masking some legitimate EDF sessions
2014-08-11 01:13:25 -05:00
Mark Watkins
b83582744d
Channel editor in preferences, and flag persistence
2014-08-07 00:06:44 +10:00
Mark Watkins
754b79b096
ResMed pressure storage fixes, Added Purge Machine feature back
2014-08-05 05:57:48 +10:00
Mark Watkins
5e5bcd9e4a
Initial Weinmann Support, Pressure Relief Fixes, Pressure String Fixes
2014-08-03 23:00:13 +10:00
Mark Watkins
d3fe79a97d
ResMed model name tweak
2014-07-31 06:49:44 +10:00
Mark Watkins
8617b1634c
Resmed Session splitting improvements and preference
2014-07-31 06:25:06 +10:00
Mark Watkins
c724c083fa
Fix CPAP import regression
2014-07-30 00:38:59 +10:00
Mark Watkins
a5cb32f4cf
Major cleanup. Added MachineInfo structure. Intellipap BiLevel support plus backup
2014-07-28 23:56:29 +10:00
Mark Watkins
4c213bd529
New EDF duration peeking ResMed session grouping algorithm
2014-07-28 02:35:49 +10:00
Mark Watkins
936a21cefd
Renamed Purge menu to Rebuild, automatically reimport from backups if present, fixed vertical scroll bug
2014-07-26 22:46:11 +10:00
Mark Watkins
a068b2a57c
New welcome page, and some unfinished work on a crash
2014-07-25 17:53:48 +10:00
Mark Watkins
eb42baf9de
Dump some line cursor data as a debug test
2014-07-22 02:14:07 +10:00
Mark Watkins
462bd70b5e
Add Large Leak overlay to Daily View leak graph
2014-07-15 17:01:47 +10:00
Mark Watkins
3024b8247f
Remember last used CPAP import path
2014-07-13 20:03:00 +10:00
Mark Watkins
d0bb6414b6
ResMed VPAP-S Pressure display fix
2014-07-12 21:15:18 +10:00
Mark Watkins
083a667527
Standardize on a global profile object
2014-07-11 07:09:38 -05:00
Mark Watkins
4c9f265b45
Fix the broken fix to the DST bug
2014-07-11 01:51:34 +10:00
Mark Watkins
a38a9c548e
ResMed STR.edf DST issue fix
2014-07-11 00:54:05 +10:00
Mark Watkins
7e7d87f143
Added ReleaseMode Incremental Build Number to versioning
2014-07-09 13:49:20 +10:00
Mark Watkins
04dff07933
VC2013 build fix in resmed_loader
2014-07-06 22:44:59 +10:00
Mark Watkins
ffbeb5795c
Temporarily show raw ResMed EPR values
2014-07-06 10:22:50 +10:00
Mark Watkins
c549a90bf5
ResMed EPR setting fix, SummaryOnly calculation fixes
2014-07-02 23:45:53 +10:00
Mark Watkins
686588663a
Change SummaryOnly from a setting to a session variable
2014-07-02 21:58:36 +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
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
d6d6780cdc
Windows build fix
2014-06-23 01:14:46 +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
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
b1fa273539
PRS1 Loader multithreading Rewrite, plus some minor graph tinkering
2014-06-01 07:25:07 +10:00
Mark Watkins
466119b7f1
ResMed CPAP Pressure display fix (purge and reimport)
2014-05-29 02:23:40 +10:00
Mark Watkins
ce1e03e86a
New OximeterImport Module
2014-05-25 17:07:08 +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
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
a6348f74fa
Translations strings cleanup and resync. Cleaned up Profile delete
2014-05-17 15:04:40 +10:00
Mark Watkins
c369f0ef00
ResMed Session grouping rework
2014-05-14 15:15:06 +10:00
Mark Watkins
a0f43f1b3d
Little endian test glitch screwing up ResMed MaskPressure graph
2014-05-14 07:30:06 +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
38a8c7b1d0
More MSVC fixes plus cleanup warnings a bit
2014-05-08 14:46:23 +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
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
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
38d7aeb3fb
Some C++11 cleanups to importers, preparing for autoscanner/import wizard
2014-04-26 19:54:08 +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
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
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
ce44c644b3
Manderss99's Swedish ResMed S9 importer fixes
2013-12-10 15:34:27 +10:00
Mark Watkins
ce48401f08
Overview linechart preference, ResMed pressure fixes (Needs Reimport)
2013-11-19 14:42:10 +10:00
Mark Watkins
8de36b5c35
Fixed Resmed loader bug affecting TidalVolume & FLG
2013-10-26 09:30:35 +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
1ce3423f8c
Better ResMed SDCard backup, keep monthly STR.edf copy
2013-10-20 20:20:54 +10:00
Mark Watkins
ad84266a16
BiLevel IPAP/EPAP fixes for S9 VPAP
2013-10-16 19:36:05 +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
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
3eeef5060d
Renamed src directory to sleepyhead
2013-10-10 02:47:28 +10:00