Commit Graph

2051 Commits

Author SHA1 Message Date
François Revol
3f0507decd Add the python scripts I used to RE the CMS50F protocol for posterity 2016-02-28 10:12:16 +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
ak1948
ff4a29cb26 updated all translations 2015-08-28 21:15:17 +02:00
ak1948
7f412dcba1 suomi.fi.ts 2015-08-28 10:05:38 +02: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
4eeefba2c5 Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code 2015-08-27 11:47:40 +10:00
Mark Watkins
866b6fff5d Qt 5.4+ QOpenGLWidget and graphing optimsations 2015-08-27 11:37:10 +10:00
ak1948
811dda2f88 Added Finnish language (thanks to Ilpo Kantonen). Pls check whether
everything is complete.
2015-08-23 17:21:07 +02: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
reznet
b5e92c9c49 Adds .gitignore for QT
Adding a .gitignore file for QT projects tells git to ignore the .user file generated by QT Creator.  This .gitignore file was taken from https://github.com/github/gitignore/blob/master/Qt.gitignore
2015-08-11 13:34:12 -05:00
ak1948
62f90beb4f Latest l;anguage files of 2015-8-3 2015-08-03 14:46:11 +02: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