Commit Graph

835 Commits

Author SHA1 Message Date
Mark Watkins
57ac57b110 PRS1/DS Large Leak flags should be twice as long 2016-02-29 11:43:29 +10:00
Mark Watkins
63145d0783 Looks like 1060P AVAPS has Unintentional Leaks too 2016-02-29 02:37:07 +10:00
Mark Watkins
f14b5e77eb AVAPS Pressure and Mode settings 2016-02-29 01:44:59 +10:00
Mark Watkins
433035252f Initial PRS1 1060P AVAPS Support :) 2016-02-29 01:11:53 +10:00
Mark Watkins
63c3bc5ff0 Overview charts first and last day set to UTC time fix 2016-02-29 00:04:26 +10:00
Mark Watkins
f859a3ee7e Fix overview charts blanking from scrolling past beginning 2016-02-28 23:58:28 +10:00
Mark Watkins
71ae0e8a72 Invoke git differently in QMake to get at revision number 2016-02-28 19:21:38 +10:00
Mark Watkins
ffa5dcb9cb Show PB in overview by default 2016-02-28 19:06:55 +10:00
Mark Watkins
68439a5615 New Profile logo was scaled wrong 2016-02-28 13:49:13 +10:00
Mark Watkins
2fd9137706 Add AirSense10 Image 2016-02-28 13:36:58 +10:00
Matt Wolin
56b9bbf336 Dreamstation icon... 2016-02-27 21:11:02 -06:00
Matt Wolin
2881eef51f Adding DreamStation icon 2016-02-27 20:55:58 -06:00
Mark Watkins
69faf5cf97 Philips PB/CSR flag length on older machines don't look like they double 2016-02-28 11:59:41 +10:00
Mark Watkins
74be17d5d3 Fix Philips PB/CSR sync 2016-02-28 11:51:31 +10:00
Mark Watkins
3bc9ce4b07 Add code to parse family 3 event file header so it chunks properly 2016-02-28 11:27:43 +10:00
Mark Watkins
4dd142ed60 Getting things ready for DreamStation image 2016-02-28 10:16:49 +10:00
Mark Watkins
c0006879ce DreamStation PRS1 second hypopnea code 0x15 Not being Parsed (bug-284) 2016-02-28 08:03:11 +10:00
Mark Watkins
529686d691 Interpret DreamStation Auto Trial mode as APAP 2016-02-27 21:48:36 +10:00
Mark Watkins
4914084449 PR Pressure Pulse not lining up right 2016-02-27 16:25:00 +10:00
Mark Watkins
0a0743ee23 DreamStation sync fixes, update release notes a little bit (no, that's not a signal) 2016-02-27 15:39:01 +10:00
Mark Watkins
c9b774a47a Dreamstation 0x14 flag is missing hypopnea, change CSR to PB on P.R. machines 2016-02-27 13:37:56 +10:00
Mark Watkins
db594af8e6 Show revision in mainwindow titlebar, remove accidental conditional PRS1 F3 check 2016-01-24 07:18:32 +10:00
Mark Watkins
c322e1f21c F0 Event Parser fixes for DreamStation 2016-01-22 21:58:09 +10:00
Mark Watkins
8b5fed95a4 Update release notes and revision number.. (No, not ready for release yet) 2016-01-22 11:51:47 +10:00
Mark Watkins
1fff6f38cf DreamStation BiPAP Pro assumption that probably won't work 2016-01-22 10:35:35 +10:00
Mark Watkins
d1ba395f17 DreamStation model number/series detection 2016-01-22 10:07:10 +10:00
Mark Watkins
32b677e5d7 DreamStation's have two extra bytes before the final block checksum 2016-01-22 09:30:53 +10:00
Mark Watkins
ba9002354a Auto Bilevel tests, disable second h2 parsing 2016-01-21 17:24:39 +10:00
Bob Kenny
3d871c223c minor changes after merge 2016-01-21 02:00:08 -05:00
Mark Watkins
254490f050 Merge JediBob's Summary code 2016-01-21 15:19:42 +10:00
Bob Kenny
fa0a84ef12 Finished first Dreamstation parsing .001 attempt 2016-01-20 19:55:15 -05:00
Mark Watkins
140b4d6bd0 DreamStation waveform and event parsing.. still needs .001 summary parsing completed 2016-01-20 22:32:26 +10:00
Bob Kenny
578411d875 Beginning parsing of Dreamstation headers 2016-01-20 01:15:15 -05:00
Mark Watkins
50d4ee8697 Prep work: Making PRS1 ParseFile to parse DreamStation .001 headers 2016-01-19 14:26:28 +10:00
Mark Watkins
63345a108e patches for Haiku OS, thanks to mmu_man 2016-01-05 16:06:32 +10:00
Mark Watkins
1e20707edf Merge commit '1484a5e9334b9ef5ac6eca69a78ca926ddbd88c8' 2016-01-05 16:00:30 +10:00
Mark Watkins
b4ddf457d6 Preliminary stuff for getting ready for DreamStation work 2016-01-05 15:59:07 +10:00
Bob Kenny
9f0544bab2 Fixed gLineChart:CloneInto() 2016-01-04 23:18:14 -05:00
Bob Kenny
edd7ef95dd Corrected logic in on_aboutToQuit().
processEvents() should occur before msleep(), so that the Notify gets
displayed properly.  msleep() before process events did not cause the
Notify to occur in opensuse Linux.  Instead, an empty Notify appeared.
2016-01-04 01:48:40 -05:00
Bob Kenny
1a7473d328 Corrected try/catch to be references 2016-01-04 01:32:37 -05:00
Mark Watkins
cd7806be59 A couple of import hang fixes, (FPIcon wrong path selected, and double import) 2015-12-22 07:33:33 +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
Mark Watkins
7a7873bab2 Mac deployment adjustment for xcode 7 build warnings 2015-09-18 19:05:06 +10:00
Mark Watkins
c56ae98139 GCC build fix GetTextExtent inline needed to be defined in header 2015-09-06 12:36:44 +10:00
Mark Watkins
6d112708ba Pinch to zoom :) 2015-08-27 19:46:05 +10:00
Mark Watkins
dc0eda83a0 Remove a debug line, tested out and merged reznet's UTC patches 2015-08-27 14:18:52 +10:00
Mark Watkins
235141e575 Merge commit 'c853c8d9880dfdac532c06a1a686ed18d77a58bb' 2015-08-27 14:12:37 +10:00
Mark Watkins
b6cf8195f1 Windows build fix 2015-08-27 14:00:58 +10:00
Mark Watkins
866b6fff5d Qt 5.4+ QOpenGLWidget and graphing optimsations 2015-08-27 11:37:10 +10:00
reznet
c46f1404db Generate bookmark text with local time zone
Use the local time zone to generate the strings displayed for new bookmarks.  These are displayed to the user and are not saved to disk.
2015-08-11 15:52:19 -05:00
reznet
f2218f14e5 Explain why no TZ conversion is needed for some graph methods
The graph cursor and range text strings are computed from the graph's data which do not need to be converted to local time.  i.e. 5pm == 5pm.
2015-08-11 15:38:09 -05:00
reznet
81c0b06f06 Use local time for snapshot name
A snapshot name contains the date the snapshot starts in.  Since this is for the user, use the local time to get the date string.
2015-08-11 15:22:25 -05:00
reznet
d58c2c96a3 Display session slice tooltips in local time
The Sessions graph on the overview page displays the start time of each session slice in a tooltip when the mouse is over the slice.  Since this is displayed to the user, it should appear in the local time zone.
2015-08-11 15:16:03 -05:00
reznet
646af88261 Display daily line cursor in local time
The daily screen displays day and time of the graph cursor as the mouse moves around the graphs.  Since this time is displayed to the user, it should appear in the local time zone.
2015-08-11 15:04:30 -05: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
reznet
b0bc8af718 Use UTC when converting to QDateTime for graph axis
QDateTime::fromMSecsSinceEpoch returns a QDateTime in the local time zone, but the ms input was created in UTC.  This causes the day part to sometimes display off by a day on the graph x axis.  This appears to be caused by a breaking change in QT 5.  Previously, fromMSecsSinceEpoch returned a QDateTime in UTC, but in QT 5, it returns the date time in the local time zone.
2015-08-11 13:34:45 -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
5cc8929f4e Fix Event Flags tooltip durations not displaying properly 2014-10-15 21:25:05 +10:00
Mark Watkins
015e8df431 Fix spelling mistake in statistics 2014-10-13 14:03:18 +10:00
Mark Watkins
285fa6746e Fix session search function to make sure invalidates properly 2014-10-11 22:27:10 +10:00
Mark Watkins
5e8047f528 Invalidate hour cache when enabling/disabling sessions 2014-10-11 13:07:29 +10:00
Mark Watkins
dac961d981 Fix change folder restart crash, added tooltip on session switches 2014-10-11 10:44:30 +10:00
Mark Watkins
e038d291e2 MacOSX build fix 2014-10-09 02:59:24 +10:00
Mark Watkins
7782b83d90 Clean some more warnings up 2014-10-09 02:51:09 +10:00
Mark Watkins
64a1781779 Typo in the last commit 2014-10-09 02:08:46 +10:00
Mark Watkins
3ac96500d2 Minor cruft.. shut annoying g++ variable warnings up 2014-10-09 02:06:08 +10:00
Mark Watkins
b69c0236c8 Fix Purge Current CPAP Day not removing files correctly 2014-10-07 13:06:00 +10:00
Mark Watkins
a26490b99f Fix Report pressure strings 2014-10-05 13:28:59 +10:00
Mark Watkins
9849f65578 Fix some errors detected by a little valgrind checking 2014-10-03 17:09:35 +10:00
Mark Watkins
d3075f049d Clean up OpenGL/BrokenGL startup messages a bit, remove unused Angle related stuff 2014-10-03 12:58:44 +10:00
Mark Watkins
1094159657 Rename mainwindow qsplitters, suppress some warnings 2014-10-03 12:31:51 +10:00
Mark Watkins
45559ac721 Reset channel strings on language change 2014-10-03 03:46:08 +10:00
Mark Watkins
8bcb69093f Set Splitter scaling factor for right sidebar 2014-10-02 22:57:31 +10:00
Mark Watkins
2450e262ee Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code 2014-10-02 22:54:48 +10:00
Mark Watkins
251491674a Better UA definition 2014-10-02 22:54:32 +10:00
Mark Watkins
bc09382916 Make Daily sidepanel and right side bar size changes persistent 2014-10-02 21:22:30 +10:00
Mark Watkins
1ade0e7b04 Window 32bit build fixes, variable cleanups 2014-10-02 20:02:33 +10:00
Mark Watkins
ffeb0149c0 Windows build fixes, bump build number 2014-10-02 17:56:57 +10:00
Mark Watkins
62b4b421f6 Put CSV Export back, step overview barchar segment brightness a bit more 2014-10-02 13:39:37 +10:00
Mark Watkins
51145caa22 Do not save over machines.xml if profiles.xml has a machine section 2014-10-01 14:16:00 +10:00
Mark Watkins
e375f49268 Fix Profile delete not removing row properly 2014-10-01 02:42:11 +10:00
Mark Watkins
7601bdbc98 Show model number instead of machineloader in RX changes list 2014-10-01 02:28:14 +10:00
Mark Watkins
70b54982d8 Only CPAP & APAP ResMed machine modes have EPR 2014-10-01 02:24:55 +10:00
Mark Watkins
a8b5d847f9 Fix for PRS1 model numbers that don't end in P 2014-10-01 02:13:05 +10:00
Mark Watkins
8bde451b89 Misnamed Remstar Pro models. 2014-10-01 01:52:02 +10:00
Mark Watkins
740e4cb2ba Fix Machine::m_availableChannels glitch breaking oximetry statistics 2014-09-30 21:02:35 +10:00
Mark Watkins
358d1969e0 By Pressure pixmap caching cleanup 2014-09-30 20:16:33 +10:00
Mark Watkins
cb051e28f2 Make CreateMachine searchf for lost machine folders 2014-09-30 19:05:29 +10:00
Mark Watkins
b6f13ae0d6 Added Records box back 2014-09-30 18:40:12 +10:00
Mark Watkins
de695e153d PRS1 Oximetery attachment fixes 2014-09-30 15:25:11 +10:00
Mark Watkins
be6e66bdd7 Start on last CPAP/Oximetery day, instead of journal day 2014-09-30 01:43:00 +10:00
Mark Watkins
429fcb64a1 Some machine pixmap stuff, use gzip compatible Summaries.xml, preliminary PRS1 .006 oximetery parser 2014-09-30 00:41:40 +10:00
Mark Watkins
b3f49f1edb Changed QPrinter headers, CMS50H fix, minor overview graph optimisations 2014-09-24 11:42:14 +10:00
Mark Watkins
fc78ebfc16 Show progress bar works when preloading sessions 2014-09-22 18:20:44 +10:00
Mark Watkins
a09308db2c Show better span durations in event flags, reset orders on channel reset 2014-09-22 15:44:55 +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
55390d9831 Get CMS50IW model string properly 2014-09-19 13:19:11 +10:00
Mark Watkins
c250ec40aa Scan for rfcomm device for cms50iw take 2 2014-09-19 13:03:34 +10:00
Mark Watkins
d6ee4eada7 Scan for rfcomm device for cms50iw 2014-09-19 12:52:20 +10:00
Mark Watkins
bc582f1746 Only debug dump other serial ports once 2014-09-19 12:18:19 +10:00
Mark Watkins
15de13f107 Dump some serialport scanning information to help get the CMS50xW ports detected 2014-09-19 12:07:28 +10:00
Mark Watkins
6fd823104d Total Time in Apnea overview chart 2014-09-19 03:58:00 +10:00
Mark Watkins
964d6b8862 Fix item delegates in Event/Waveform preferences 2014-09-19 01:33:50 +10:00
Mark Watkins
e636094e1f Clean up oximeter wizard select page layout a bit 2014-09-19 01:05:46 +10:00
Mark Watkins
a179f290a4 PRS1 compliance duration stuff, cms50i deviceid fix2 2014-09-19 00:32:09 +10:00
Mark Watkins
fd50d81798 PRS1 compliance duration stuff, cms50i deviceid fix 2014-09-19 00:31:31 +10:00
Mark Watkins
1fb3dabff0 Move oximeter select combo to Oximetery wizard, add a panel with some CMS50I/F device related stuff 2014-09-18 20:53:59 +10:00
Mark Watkins
79035a7d3b Show model name instead of loadername for cms50i empty sessions 2014-09-18 13:34:14 +10:00
Mark Watkins
1ea167268d Don't try and import when no valid cms50i sessions 2014-09-18 13:16:14 +10:00
Mark Watkins
f63905be52 Fix CMS50i single session crash 2014-09-18 11:36:17 +10:00
Mark Watkins
54a46c6aca Increase xaxis seconds mode autoscaling range a little 2014-09-18 03:48:16 +10:00
Mark Watkins
a8eee32891 pixmaps to machineloader, fix xaxis scaling glitch 2014-09-18 03:20:01 +10:00
Mark Watkins
a5b28c1fdc More on that last commit 2014-09-17 22:03:06 +10:00
Mark Watkins
959e5e5d13 Remove machine from day's machinelist when last session gone, fixing rxchanges bug 2014-09-17 16:59:58 +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
239c3096d7 Unbreak git.. 2014-09-17 12:34:50 +10:00
Mark Watkins
54b159c880 Breaking git deliberately.. don't try to build until I sort some issues out 2014-09-16 15:01:31 +10:00
Mark Watkins
289c19d8c9 fix gSessionTimesChart segfault 2014-09-16 12:48:52 +10:00
Mark Watkins
83a6038a70 minor barchart gradient optimisation 2014-09-16 12:15:19 +10:00
Mark Watkins
d1341787ba Removed machine section out of profile.xml to machine.xml, created profiles.xml list, set some default overview graphs 2014-09-15 01:29:07 +10:00
Mark Watkins
b3510d788b Preferences cleanup, overview overhead calculation works 2014-09-13 21:34:18 +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
04b06a9f6d Oximetry crash fix #1 2014-09-06 02:20:48 +10:00
Mark Watkins
41f719fce2 Use a summaries index file instead 2014-09-06 00:46:42 +10:00
Mark Watkins
ea96303cc1 Merge Summary Files 2014-09-05 00:59:54 +10:00
Mark Watkins
faba312edb Update temporarily slighty broken in overview message 2014-09-04 12:23:09 +10:00
Mark Watkins
23ce39efad Session times replacement chart (work in progress) 2014-09-04 12:17:59 +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
defb171f4b Make Overview Range persistent 2014-08-29 22:08:06 +10:00
Mark Watkins
7ee1c64b97 Update Graph on/off switches when adding Clones 2014-08-29 21:34:21 +10:00
Mark Watkins
483c887b90 Modify Clone graphs titles 2014-08-29 20:38:46 +10:00
Mark Watkins
26b2e4179a MSVC Build fixes 2014-08-29 16:08:36 +10:00
Mark Watkins
e3f2e0c886 Add in missing semi-colon that broke mac build 2014-08-29 15:56:01 +10:00
Mark Watkins
b98cdffad0 Fix graph legends on low dpi screens 2014-08-29 15:54:03 +10:00
Mark Watkins
a91a11a7b9 More Xaxis/yaxis layout consistency stuff 2014-08-29 15:32:49 +10:00
Mark Watkins
51e58b8ae5 Fix some windows layout bugs 2014-08-29 14:02:16 +10:00
Mark Watkins
f0097e38ae Disable linecursor during printing, move date indicators down bottom in overview 2014-08-29 01:45:46 +10:00
Mark Watkins
48df9c2f46 Stop print daily report screwing up selections 2014-08-29 01:11:34 +10:00
Mark Watkins
8b652541e9 Update release notes, control scroll wheel fixes for pinned graphs 2014-08-29 00:37:49 +10:00
Mark Watkins
d17523c91b Graph clone cleanups, make horizontal mouse panning graph context aware 2014-08-28 23:01:16 +10:00
Mark Watkins
cbaf7abc7f Bye bye Graph Snapshots, hello Clone Graphs 2014-08-28 18:01:25 +10:00
Mark Watkins
4f53a7312f Remove old Graph Tab in Preferences 2014-08-28 14:02:22 +10:00
Mark Watkins
76d8ce1052 Use system QtSerialPort 2014-08-28 04:12:14 +10:00
Mark Watkins
32bc6a97d0 Higher resolution graph snapshots in antialias mode 2014-08-28 03:30:53 +10:00
Mark Watkins
fb9e26aee3 Make Pie chart prettier 2014-08-28 01:00:55 +10:00
Mark Watkins
37e20bf504 Try making snapshot graphs scale when resized 2014-08-28 00:41:16 +10:00