sawinglogz
cd29593280
Add XML serialization/deserialization to SerialPortInfo.
2020-07-10 11:51:51 -04:00
Guy Scharf
a89c24a194
Fix maximum zoom in when clicking on graph with popup menu visible
2020-07-07 11:07:44 -07:00
Guy Scharf
47c8ece333
Exclude Journal in calculating last day of Overview graph
...
This deals with notes that may be entered for future dates
and which should not affect the Overview graphs.
2020-07-06 11:51:09 -07:00
Guy Scharf
ed1871215e
Change language about "guessed settings" to clarify that they are missing and yesterday's shown.
2020-07-06 10:46:08 -07:00
Guy Scharf
07aa2ad883
Merge branch 'master' into guess
2020-07-05 17:59:27 -07:00
Guy Scharf
aad1535979
WIP: Guessed settings. Code is test only.
2020-07-05 11:19:19 -07:00
Guy Scharf
7e751a80f7
Fix problems with changing auto check interval
2020-07-05 10:58:25 -07:00
Guy Scharf
70262fa425
Fix reference to old include file in auto check updates
2020-07-05 00:39:55 -07:00
Guy Scharf
155bd0b530
Auto Check Updates for testing versions.xml settings
...
If you are running a test version of OSCAR, it will first try to read versions.xml from your OSCAR_Data directory.
If that fails, it will go to www.sleepfiles.com/OSCAR/versions/versions.xml
The purpose of this approach is to allow you to test different settings in versions.xml
This debug feature will probably be removed, or changed, when a release version is built
2020-07-04 20:18:15 -07:00
Guy Scharf
44b7261edd
Merge branch 'master' into updater
2020-07-04 18:21:33 -07:00
Guy Scharf
619ce66b9e
Auto check for updates
...
Checks for updates to OSCAR at startup and profile close.
Also allows user to check with Help/Check for updates.
Updates controlled by versions.xml in www.sleepfiles.com/oscar/versions
2020-07-04 18:17:25 -07:00
Phil Olynyk
f81f500215
Revert "Changed VERSION from alpha to ChrmBk for testing"
...
This reverts commit f57110dd87
.
2020-06-29 11:54:25 -04:00
Phil Olynyk
f57110dd87
Changed VERSION from alpha to ChrmBk for testing
2020-06-29 11:31:42 -04:00
Phil Olynyk
4324000787
Merge the storageInfo branch just merged into master
2020-06-27 09:52:02 -04:00
Phil Olynyk
bbb2f5a5a5
Delete the OS-specif scanning code
2020-06-26 23:17:27 -04:00
Phil Olynyk
c69e2bacee
Merge branch 'master' into storageInfo
2020-06-26 22:58:24 -04:00
Phil Olynyk
cd40fc9a9e
Test if lastpath exists before adding it to path scan
2020-06-26 22:57:08 -04:00
Phil Olynyk
463836f696
Merge branch 'master' into modify-card-scan
2020-06-26 21:22:59 -04:00
sawinglogz
11dfa09c7b
Add preliminary support for rare time-adjustment event observed on PRS1 550P.
...
Also add 900X150 to the list of tested machines, and update other warnings
based on new test data.
2020-06-26 12:53:52 -04:00
Phil Olynyk
8812f3c6ed
Remove bypass of card Detect for Linux - not sure why it was there
2020-06-20 21:57:03 -04:00
Phil Olynyk
0b8112219f
Merge branch 'master' into modify-card-scan
2020-06-20 20:03:37 -04:00
Guy Scharf
059437b40c
Fix margins problem when printing statistics page on MacOS
...
Despite havine a 3.3 mm margin on Windows, Linux and MacOS use a 12 mm bottom margin for an HP printer
Set margins to 10,10,10,12 unless printer reports a larger margin; then use larger margin
Reduce debug messages
Fix regression that trimmed last character from user information lines
Continue use of Helvetica font for printing Statistics
Adjust column sizes for Standard vs Monthly reports
2020-06-11 11:01:28 -07:00
Guy Scharf
b7223560bd
Remove excess diagnostics from statistics.cpp
2020-06-10 14:46:55 -07:00
Guy Scharf
88289deec4
Clean up Statistics page HTML
...
Now passes HTML 4.01 Transitional validator with no errors
Also fix table alignment regression introduced in last commit
Adjust column widths differently for Monthly vs Standard tables
2020-06-10 14:34:18 -07:00
Phil Olynyk
475bfee924
Make debug output conditional
2020-06-10 16:56:06 -04:00
Phil Olynyk
795a3a5456
add missing close paren to #elif defined(...
2020-06-10 15:47:25 -04:00
Phil Olynyk
c2c61c6629
Correct Mac define value and drop tmpfs from qDebug output
2020-06-09 22:11:34 -04:00
Phil Olynyk
80a5642ee3
Use QStorageInfo to simplify getDriveList()
2020-06-09 17:10:25 -04:00
Guy Scharf
488425df80
Improve Statistics printing
...
Adjust font sizing and scaling algorithm to printe more uniform reports on different platforms
2020-06-09 12:07:55 -07:00
Guy Scharf
e635bd9a0f
Tweak statistics page formatting and printer font sizing
2020-06-09 10:27:11 -07:00
Guy Scharf
010d3ca9e1
Fix possible startup problem with View/Show Personal Data
2020-06-06 12:34:34 -07:00
Guy Scharf
d02d01f3f2
Fix use case where View/Show Personal Data might not work
2020-06-05 09:25:42 -07:00
Guy Scharf
6e1727eb2c
New privacy tool View/Show Personal Data shows and hides personal identification from statistics window and reports
...
This option applies to the application and not just the current profile.
2020-06-04 21:25:23 -07:00
sawinglogz
7a85f9784c
Add initial device connection classes to eventually support recording/playback.
...
This initial commit is designed to change as little existing code as possible.
Once regression tests are in place that can play back previously recorded
data, we can move on to more significant changes.
2020-06-04 14:32:03 -04:00
sawinglogz
160b6124a3
Fix typo.
2020-06-04 10:01:40 -04:00
sawinglogz
cdec75b94b
Update 500G warnings based on new test data.
2020-06-04 10:01:26 -04:00
Guy Scharf
5c88770bfe
Improve language in error message windows
2020-06-03 10:02:20 -07:00
Guy Scharf
db952c9738
Change VERSION to 1.1.2-alpha-0
2020-06-03 10:01:47 -07:00
Guy Scharf
8579b1d63d
Change "yesterday" to "1 day ago" in Welcome message
...
and fix date plural in oximetry Welcome message
2020-06-03 09:36:52 -07:00
Phil Olynyk
2d69049c77
Update VERSION to v1.1.1
2020-06-02 16:41:10 -04:00
sawinglogz
d01c183ae3
Add 400X130 to the list of tested machines.
2020-05-29 12:38:39 -04:00
sawinglogz
4507f8d7a8
Fix crash when trying to import Weinmann SOMNObalance e.
...
This patch only addresses the crash, it doesn't add support for the machine.
2020-05-28 22:11:28 -04:00
Guy Scharf
11cefbd799
Rename Turkish language and add native language name to list of names.
2020-05-28 12:41:32 -07:00
Phil Olynyk
87369f6cf7
Update version to rc-4, and fix a typo
2020-05-28 13:25:09 -04:00
Guy Scharf
7a6284e72b
Fix regression in e921e7de
2020-05-26 12:34:22 -07:00
Guy Scharf
d666feb362
Merge branch 'master' into duration
2020-05-26 10:15:00 -07:00
Guy Scharf
66523e15f4
Don't display event duration when zero on flow graph
2020-05-26 10:07:59 -07:00
Phil Olynyk
e921e7dee5
Add QT version check at journal.cpp:262
2020-05-26 11:48:34 -04:00
sawinglogz
4fa353a263
Fix regression in da60a5a
and underlying bug.
...
Note that operator[] on a non-const QHash inserts a default-constructed
item in the hash if the key doesn't already exist.
2020-05-23 21:51:43 -04:00
sawinglogz
47ea2bbf91
Tweak copy constructors to fix build errors in CentOS.
...
Thanks to johanfh.
Fixes #19 .
2020-05-23 11:22:59 -04:00
Guy Scharf
da60a5aa99
Correct determination of CPAP Mode
2020-05-23 05:20:33 -07:00
Guy Scharf
1659b3e6bf
New Backup Journal code using QXmlStreamWriter class
2020-05-21 20:33:43 -07:00
sawinglogz
1976795cb9
Export only CPAP sessions in the sessions CSV export.
...
This fixes the mystery sessions that were appearing in CSV exports.
2020-05-20 13:40:20 -04:00
Phil Olynyk
6dcc0310fa
Update VERSION to v1.1.1-rc-3
2020-05-19 15:06:37 -04:00
Phil Olynyk
26eb76b5ff
Merge branch 'master' into save-backupSTR
...
Pick up changed VERSION file
2020-05-19 15:01:14 -04:00
Phil Olynyk
2ad6a5c980
Fix debug output text
2020-05-19 14:47:54 -04:00
Phil Olynyk
ee3a79af7e
Copy new STR.edf to Backup after Backup_STR scan
2020-05-18 17:42:37 -04:00
Phil Olynyk
2d4598d5e7
Fix type in procedure name
2020-05-18 13:59:10 -04:00
Phil Olynyk
b9cccdc746
Clean up, and copy Backup/STR.edf to Backup?STR_Backup/STR_yyyymmdd.edf
...
before copying import/STR.edf to Backup/STR.edf.
2020-05-17 19:24:31 -04:00
Phil Olynyk
e2efbe673c
Update VERSION to v1.1.1-rc-2
2020-05-17 11:39:20 -04:00
Phil Olynyk
cf32639b06
Clean up comments and trim file paths
2020-05-16 17:31:18 -04:00
Phil Olynyk
53d0c0fbe4
Merge branch 'master' into error-message-cleanup
2020-05-16 16:18:27 -04:00
Phil Olynyk
16cd85ab02
More tidying up
2020-05-16 16:16:10 -04:00
sawinglogz
922515b3c9
Update PRS1 900X and 500G warnings based on new test data.
2020-05-16 10:09:00 -04:00
Phil Olynyk
209998fe34
Re-arrange code to backup STR.edf before other files
2020-05-15 21:27:08 -04:00
Phil Olynyk
ebd518a9f5
Make sure STR.edf is copied to Backup folder during import
2020-05-15 19:58:11 -04:00
Phil Olynyk
5b87ad6640
Comment out extra debug statements
2020-05-15 12:44:29 -04:00
Phil Olynyk
71e156dfed
Change setMin/Max to updateMin/Max in LoadEDF procedures
2020-05-14 21:10:03 -04:00
Phil Olynyk
6fcd82a296
Update release notes and VERSION for v.1.1.1-rc-1
2020-05-13 16:20:22 -04:00
sawinglogz
759ae84f65
Update PRS1 900X and oximetry warnings based on new test data.
2020-05-13 13:40:54 -04:00
sawinglogz
2a92569393
Add 461CA and 700X120 to the list of tested machines, and refine
...
unexpected data warnings.
2020-05-12 14:08:24 -04:00
sawinglogz
5270fcd09b
Update PRS1 400X-700X warnings based on new test data.
2020-05-12 13:26:45 -04:00
sawinglogz
346208140e
Revise VS2 index to match official reports.
...
The VS2 channel is unique in that it only appears (as a flag)
when there are nonzero snores during a 2-minute period. However, the
VS index isn't the number of events (nonzero intervals) per hour,
but rather the number of snores per hour.
2020-05-07 17:36:31 -04:00
Phil Olynyk
c43479672a
Pick up some PRS changes
2020-05-07 16:45:17 -04:00
Phil Olynyk
2da3a9cd86
Track down zero time that led to future sessions
2020-05-07 16:43:52 -04:00
sawinglogz
f2fd29bc52
Update PRS1 900X warnings based on new test data.
2020-05-07 14:49:07 -04:00
sawinglogz
d9386a993b
Partial fix for database upgrade loop.
...
Resmed loader still needs to return -1 on error.
Also fixed a crasher in MainWindow::finishCPAPImport.
2020-05-06 13:40:59 -04:00
sawinglogz
ad15655ffb
Improve Viatom file selection on Windows.
...
Also remove a warning about unexpected data.
2020-05-06 11:42:03 -04:00
Phil Olynyk
1b453e2fa5
Always creaste Backup/DATALOG folder before ScanFiles
2020-05-04 19:59:59 -04:00
sawinglogz
cfe69ea7a0
Update PRS1 200X-700X warnings based on new test data.
2020-05-04 14:21:17 -04:00
Phil Olynyk
23d177b31c
Add error checks to edf header values
2020-04-30 15:27:37 -04:00
Phil Olynyk
0e1cabbad5
Merge branch 'master' into check-channel-ptr
2020-04-30 12:47:08 -04:00
Phil Olynyk
823266f627
Check result of EDFInfo::Parse()
2020-04-30 12:42:05 -04:00
Guy Scharf
dcd2fa9566
Correct syntax and logic error in selecting SleepyHead folder for migration
2020-04-30 08:35:59 -07:00
Phil Olynyk
c1f986921d
Clean up memory leak I created
2020-04-29 19:51:32 -04:00
Phil Olynyk
cf316e83e9
Revert "Clean up memory leak I created"
...
This reverts commit 832d905d04
.
2020-04-29 19:49:27 -04:00
Phil Olynyk
832d905d04
Clean up memory leak I created
2020-04-29 19:42:26 -04:00
Phil Olynyk
5b64566c59
Increment resmed data version to force rebuilds
2020-04-29 14:11:39 -04:00
Phil Olynyk
4323577412
Merge branch 'master' into add-backup-STR-file
2020-04-29 13:58:35 -04:00
Phil Olynyk
33e5561ad3
Rename STR files to use 8 digit date
2020-04-29 13:57:10 -04:00
sawinglogz
01c7f7cdc0
Exclude additional invalid samples in PRS1 oximetry.
...
Also clean up some function names and remove unnecessary code.
2020-04-29 10:41:08 -04:00
sawinglogz
5f0960aa4d
Add support for PRS1 sessions with oximetry data split between files.
2020-04-29 10:22:12 -04:00
sawinglogz
6261752022
Fix zero AHI in CSV session export when there are multiple slices.
...
This only affected PRS1, and it seems like the other places where
the broken Session::hours() result was used were:
- GT_SESSIONS, which seems to be unused
- settings_wavg, where it had no effect
The other uses of Settings::hours() were where there was only
a single slice, in which case it returned the right result:
- gSessionTimesChar::paint (the one still in use)
- Icon loader
- Resmed loader
2020-04-28 13:00:58 -04:00
sawinglogz
7b65a85c14
Add PRS1 pressure-set channels to CSV export.
2020-04-28 12:11:41 -04:00
sawinglogz
0680424759
Refactor CSV export slightly to make it easier to add new channels.
...
No functional change.
2020-04-28 12:06:45 -04:00
sawinglogz
a8cd0a72b4
Add support for AVAPS in overview pressure chart.
2020-04-27 20:18:05 -04:00
sawinglogz
4a5322c350
Fix overview pressure chart for PRS1 pressure setting channels.
2020-04-27 17:35:50 -04:00
sawinglogz
670693dd5f
Move gPressureChart value calculation into addSlice.
2020-04-27 16:55:56 -04:00
sawinglogz
33eacab53f
Refactor gPressureChart::populate().
2020-04-27 16:46:25 -04:00
sawinglogz
c5768a64fe
Simplify gPressureChart upper label formatting.
2020-04-27 16:07:15 -04:00
sawinglogz
d13109bbed
Replace gPressureChart array indices with channel-based references.
2020-04-27 15:50:55 -04:00
sawinglogz
0ebf4e70a3
Clean up gPressureChart constructor, with minor refactoring.
2020-04-27 14:46:49 -04:00
sawinglogz
cfca378160
Move pressure chart class into its own files.
2020-04-27 14:12:16 -04:00
Phil Olynyk
16c2784915
Always read STR.edf file from BACKUP folder.
...
Use real date for STR files in STR_Backup folder, and
only keep the longest file if the dates are the same.
2020-04-26 20:59:23 -04:00
sawinglogz
75bfdf2142
Fix Viatom loader glitch that prevented saving older sessions in a folder.
2020-04-26 14:06:48 -04:00
sawinglogz
17e2ef0a12
Detect OpenGL crashes on Windows and automatically downgrade to the software engine.
2020-04-25 16:30:35 -04:00
sawinglogz
2ac43a4a79
Fix zipping on Windows.
2020-04-24 16:58:44 -04:00
sawinglogz
2b6cdccb16
Update unexpected data alerts for PRS1 500X110 based on new sample data.
2020-04-24 16:58:44 -04:00
sawinglogz
5f921a0fd1
Fix inverted logic on untested data message.
2020-04-24 16:58:44 -04:00
sawinglogz
0fa066db47
Fix (mask) pressure waveform scaling for PRS1 960T.
2020-04-22 17:14:59 -04:00
sawinglogz
40553fcf5e
Add PRS1-specific "peak flow" channel used by pre-DreamStation ventilators.
2020-04-22 17:14:59 -04:00
sawinglogz
d41622443d
Remove ramp time and pressure when PRS1 ramp is off for pre-DreamStation machines.
2020-04-22 17:14:59 -04:00
sawinglogz
59e4a3af68
Add icon for older C-Series PRS1 ventilators.
2020-04-22 17:14:58 -04:00
sawinglogz
f189b2f0e2
Clean up consistency checks during import of F3V0 and F3V3.
...
Import was working, but the consistency checks made a few assumptions
that turned out not to be universally applicable, so they were
making a lot of unnecessary noise.
2020-04-22 17:14:58 -04:00
sawinglogz
141988b6bf
Add support for PRS1 F3V0.
...
Parsing is complete, import still needs review.
The only other functional change is parsing the Bi-Flex lock
setting that also applies F3V3.
2020-04-22 17:14:58 -04:00
sawinglogz
63c58ab3af
Update unexpected data alerts for PRS1 F0V2 based on new sample 550P data.
2020-04-22 17:14:58 -04:00
sawinglogz
d09005352a
Add support for rise time on DreamStation BiPAP machines (600X-700X).
...
Also add 600X150 and 700X150 to the list of tested machines, and
refine unexpected data warnings.
2020-04-22 17:14:58 -04:00
sawinglogz
191e0f89a8
Update Resmed regression tests to follow symlinks.
2020-04-19 14:25:32 -04:00
sawinglogz
0c0d616280
Bump VERSION to 1.1.1-alpha-0 after release of 1.1.0.
2020-04-19 14:25:14 -04:00
Phil Olynyk
c58509d655
Update VERSION to 1.1.0 for release
2020-04-17 10:07:08 -04:00
Phil Olynyk
ce053767f5
Update release-notes and some language names
2020-04-16 08:20:51 -04:00
sawinglogz
ea3da552aa
Fix untranslated string in mainwindow.
2020-04-11 15:59:45 -04:00
sawinglogz
41fdcd0bd3
Fix pressure relief display in statistics page.
...
Also revert 691aafd
as that change is no longer necessary with this fix.
2020-04-11 15:52:32 -04:00
Phil Olynyk
0d25d31049
Add ifdef around -Adding STR.edf information...-
2020-04-11 11:26:03 -04:00
Phil Olynyk
691aafda25
Change EPRLevel text back to xcmH2O so they show in Stats page
2020-04-11 11:01:24 -04:00
sawinglogz
3306c00b26
Fix minutes-at-pressure graph for PRS1 CPAP/BiPAP devices.
...
Also fix a drawing bug when there were spurious 0 pressures reported.
2020-04-10 16:49:23 -04:00
sawinglogz
5e2b51c6b9
Add support for PRS1 humidifier passover and error modes based on new data.
...
Also mark 500X180 as tested.
2020-04-10 16:48:28 -04:00
sawinglogz
7ffa345ae3
Bump version to rc-1.1 since we've already released rc-1.
...
Update this again when it's time to release rc-2 or final.
2020-04-10 16:47:30 -04:00
Phil Olynyk
040cfd2883
Version update to Release candidate
2020-04-09 10:04:42 -04:00
ArieKlerk
d90f7f4c94
Merge branch 'master' into translations
2020-04-07 19:49:58 +02:00
ArieKlerk
c824943f11
Here is the final set of release notes.
...
I will work on the credits and about now.
2020-04-07 19:44:14 +02:00
sawinglogz
3e2c1db19e
Update PRS1 900X warnings based on new test data.
2020-04-05 17:19:15 -04:00
sawinglogz
f5bb5655e0
Enable the Daily tab/button after importing data from the Data menu.
...
Previously only oximetry data imported via the wizard would update
the button. (As would quitting/relaunching, or switching profiles.)
2020-04-04 17:37:19 -04:00
sawinglogz
244f18f2af
Add support for newly discovered event in PRS1 F0V6, fixing total session time.
...
Also added 500X120 to list of tested machines.
2020-04-04 17:33:34 -04:00
Phil Olynyk
4cac0d1019
Update oscar.pro and Resources.qrc so build completes
2020-04-04 16:05:52 -04:00
ArieKlerk
0b664b8bda
Here is my status quo for the moment. I did not pull before merge...
2020-04-04 21:54:22 +02:00
Phil Olynyk
a7c6ef18a4
make aboutdialog.cpp use Htmldocs, and clean up the html files
2020-04-04 14:41:45 -04:00
sawinglogz
3d908bf545
Update release notes with rc-1 designation for upcoming release.
2020-04-02 21:16:50 -04:00
sawinglogz
1591feb207
Reapply Arie's many grammatical fixes to the release notes.
2020-04-02 21:15:13 -04:00
sawinglogz
903482f5ac
Revert the HTML Tidy mangling of release_notes.html that broke OSCAR rendering.
2020-04-02 20:56:30 -04:00
ArieKlerk
d4ae91e8fb
These are the last changes *for now* The rest will be done when RC1 is out.
2020-04-02 21:13:07 +02:00
ArieKlerk
a7f6f9cc37
Merge branch 'master' into translations
2020-04-01 13:07:54 +02:00
Phil Olynyk
512a65c772
Change labels to use new LOOKUP behaviour
2020-03-30 20:38:22 -04:00
Phil Olynyk
13ba9aba48
Bad: lastpath is undef for not-Linux
2020-03-30 16:37:43 -04:00
sawinglogz
952b2e2fde
Add latest fixes to release notes.
2020-03-30 12:08:05 -04:00
sawinglogz
5f2d4c206e
More fixes to the welcome screen pressures.
...
PRS1 now seems correct across all modes.
2020-03-30 12:07:18 -04:00
ArieKlerk
f2e53d059a
Merge branch 'master' into translations
2020-03-30 09:02:48 +02:00
sawinglogz
f2f9019d5c
Fix pressure display on welcome page for PRS1 non-ventilators.
2020-03-29 21:50:19 -04:00
sawinglogz
217c71d1de
Fix bar height on AHI and Usage charts in Overview when oximetry usage is longer than CPAP.
...
Thanks to spacewrench for identifying the issue and then tracking down the
offending code!
2020-03-29 19:21:34 -04:00
sawinglogz
7239923dbd
Add improvements to beta-2 missing from the release notes.
2020-03-29 12:55:20 -04:00