sawinglogz
5122524df7
Leave a breadcrumb for future work on Purge Oximetry, which only half works.
2020-01-27 12:37:10 -05:00
sawinglogz
277b2a5422
Infer the serial number from Viatom directory if possible.
2020-01-27 12:26:35 -05:00
sawinglogz
780a703f18
Tweak the unexpected data warning for Viatom now that we can import more than just single files.
2020-01-27 09:15:15 -05:00
sawinglogz
e11bdf2633
Update Viatom tests to process folders of test data.
2020-01-26 20:05:14 -05:00
sawinglogz
4ebc7d3681
Rename POS_Motion channel to POS_Movement to match Viatom report terminology.
...
Also move database updates to Open() rather than at each file imported.
2020-01-26 19:50:18 -05:00
sawinglogz
3548b083fe
Move Viatom unexpected data warning to Open() instead of each file.
2020-01-26 18:28:10 -05:00
sawinglogz
8951068895
Add support for importing a whole folder of Viatom files.
2020-01-26 18:13:09 -05:00
sawinglogz
b6f7ebac6f
Move Viatom filename pattern matching into loader.
2020-01-26 17:51:56 -05:00
sawinglogz
c06057ef14
Skip previously imported Viatom sessions.
2020-01-26 17:20:58 -05:00
sawinglogz
5e07187860
Fix the Viatom loader's mysteriously missing sessions.
...
It looks like SaveSummaryCache() would occasionally get called elsewhere
under certain circumstances, which would cause sessions to occasionally
save, but unpredictably. Now the summary cache gets saved consistently.
2020-01-25 17:35:58 -05:00
sawinglogz
c727e78d45
Add support for discontinuous Viatom data.
...
This now correctly shows gaps in the oximetry data when there are
invalid samples, rather than holding the previous values.
2020-01-25 16:55:32 -05:00
sawinglogz
2f7b39f808
Deduplicate Viatom 2s files to their true 4s resolution.
2020-01-25 14:50:45 -05:00
sawinglogz
61333aff07
Rewrite the Viatom header parsing to read all data and warn about unexpected data.
...
It turns out the 2s-resolution files are actually 4s resolution with
each sample reported twice! Fixing that is next.
2020-01-24 20:16:57 -05:00
sawinglogz
21e7ae8b61
Set event list rate based on step, fix Viatom header size.
2020-01-24 15:25:36 -05:00
sawinglogz
70de112192
Split Viatom parsing from importing, no functional change.
2020-01-24 15:20:00 -05:00
sawinglogz
ae8ce0e9d6
Remove tabs in Viatom loader and normalize whitespace to OSCAR convensions.
...
Also change from using sprintf/QDateTime::fromString to using Qt native objects.
No change in output.
2020-01-23 19:25:06 -05:00
sawinglogz
9cb7de950b
Add regression tests for Viatom loader.
...
Also enable the native file dialog box for importing Viatom files.
2020-01-23 19:11:05 -05:00
sawinglogz
3fbc1777c5
Make Viatom loader MT_OXIMETER and remove MT_MULTI.
...
There's way too much logic throughout the code that makes assumptions
based on MT_OXIMETER.
2020-01-23 19:10:25 -05:00
sawinglogz
66f13f3143
Initial commit of contributed Viatom SpO2 loader.
...
Diff applied from the following commit by dave madden <dhm@mersenne.com>,
replacing tabs with spaces:
fa38850503
2020-01-23 12:57:44 -05:00
sawinglogz
94e39c2733
Use Qt standard shortcuts for printing, bold, italic, and underline.
...
In theory these will automatically get localized, since they're using
Qt's official enums.
2020-01-22 20:10:43 -05:00
sawinglogz
c4d16b7169
Add support for 1030X CPAP mode.
2020-01-22 19:52:49 -05:00
sawinglogz
640c110acd
Make DreamStation settings size checks less picky.
...
They'll no longer refuse to load the session, and instead they'll flag
any small settings slices as unexpected data.
2020-01-22 19:34:42 -05:00
sawinglogz
65a48a6384
Merge branch 'master' into add-zip-archiving
2020-01-22 17:35:26 -05:00
sawinglogz
78d3155ecd
Add zip creation of OSCAR data folder.
...
Also fix the zip progress bar when compressing more than 2GB data,
and prevent the zip file from ever trying to include itself.
2020-01-22 17:33:15 -05:00
Phil Olynyk
80edf9d4f9
Always use pre5.8 mSec to/from epoch calls
2020-01-22 14:23:37 -05:00
sawinglogz
5dfbc1fbe4
Add progress bar to zip creation.
2020-01-22 12:59:58 -05:00
sawinglogz
c4619dad35
Clean up zip API.
2020-01-22 11:25:20 -05:00
sawinglogz
607002ffa1
Separate directory walking from zip creation.
...
This is necessary for presenting a progress bar during zip creation.
2020-01-22 10:56:08 -05:00
sawinglogz
1c4c7871da
Add zip creation of SD card data.
...
This uses the miniz library, which is self-contained in a single
.c/.h pair and has an MIT license.
Swapping out the zip library should be fairly straightforward
if ever necessary.
2020-01-21 17:37:37 -05:00
Phil Olynyk
04c085f924
Add code to use old calls with old Qt versions
2020-01-21 15:53:08 -05:00
Phil Olynyk
0dba31e58b
Changes for old QT and compiler versions
2020-01-21 13:49:02 -05:00
sawinglogz
46e061d12b
Add CPAP data card selection to archive creation workflow.
...
Also slightly refine some verbiage in the import process to make it simpler.
Zip creation still to come.
2020-01-21 12:56:08 -05:00
sawinglogz
36d3467a64
Refactor on_action_Import_Data_triggered into multiple functions.
...
No change in behavior.
2020-01-21 11:56:22 -05:00
sawinglogz
99badd40c3
Add menu entries for creating zip archives of SD cards and OSCAR data.
...
Also hide a few "not yet implemented" items.
Actual zipping comes later.
2020-01-21 11:22:49 -05:00
Guy Scharf
703fe2a613
Update awk and inno setup scripts for new versioning changes in Windows build tools
...
Version number in Windows oscar.exe has first three numbers same as string and fourth as 0
Version number in Windows installer has first three numbers same as string and fourth indicates build type:
0 = release, 100=alpha, 200=beta, 300=gamma, 400=rc
2020-01-19 18:18:21 -07:00
Guy Scharf
0a55e12d5b
Merge branch 'master' into version
2020-01-18 19:58:13 -07:00
Guy Scharf
8a0dc47279
New update_gitinfo.bat and changes to oscar.pro to support new versioning on Windows
2020-01-18 19:56:25 -07:00
sawinglogz
aba58d9085
Second pass at fixing display of Preferences menu shortcut on macOS.
...
The previous fix didn't work 100% of the time either.
2020-01-18 20:34:10 -05:00
sawinglogz
d8cc142501
Add "ignore older than" support to PRS1 importer.
...
Now it actually works.
2020-01-18 20:16:31 -05:00
sawinglogz
91dbd3a204
Fix the display of Preferences menu shortcut on macOS.
...
It was appearing only on first launch, when OSCAR was asking where
to store its data. Now it appears consistently.
2020-01-18 17:01:35 -05:00
sawinglogz
127a3e1964
Fix logger thread so that it doesn't lose messages at startup.
...
This was particularly noticeable when running for the first time and
selecting OSCAR's data location.
2020-01-18 11:41:09 -05:00
sawinglogz
407827e5f9
Update the create_dmg script to run macdeployqt every time.
...
We need it to strip the binary before creating the dmg.
2020-01-17 17:35:56 -05:00
sawinglogz
b5d5be6475
Work around qmake limitations in Info.plist generation.
2020-01-17 16:41:02 -05:00
sawinglogz
62b5ba3a60
Fix annoying precompiler limitation/bug in version sandbox logic.
2020-01-17 16:27:52 -05:00
sawinglogz
79ec192051
Fix update_gitinfo to detect detached head state properly.
2020-01-17 16:19:13 -05:00
sawinglogz
796f4659ab
Update preference sandbox logic.
...
Release/RC version: no sandbox
Testing releases (tagged prerelease version): -test
Development builds: -branchname (if at the head of a branch)
-(commitid) (if in a headless state)
And in the unlikely event someone tries to build a non-release version
from a tarball instead of git, its sandbox will be "-unreleased".
2020-01-17 15:59:29 -05:00
sawinglogz
f7502d6369
Update mkDebian9.sh to pull version information from source code.
...
This may require a tweak to look in the right directory for the
source code, but it will automatically format the version number
appropriately for Debian packaging.
The iteration number is now the only optional argument, defaulting
to 1.
2020-01-17 15:33:33 -05:00
sawinglogz
740ff460e7
Add version information to macOS application bundle and dmg.
2020-01-17 13:06:33 -05:00
sawinglogz
8417e7d43f
Move macOS create_dmg script to its proper place.
2020-01-16 19:48:30 -05:00
sawinglogz
8742eb3559
Update Windows deploy scripts for new version information.
...
These changes should work. At least the awk script has been tested.
2020-01-16 19:44:11 -05:00