Commit Graph

72 Commits

Author SHA1 Message Date
LoudSnorer
f2fd17f68f Fix Crash during change of high resolution checkbox 2024-07-10 13:00:21 -04:00
LoudSnorer
e828e7dc6d FIX main.cpp 'make exist option --profile work properly' 2024-03-31 20:28:18 -04:00
LoudSnorer
e9ae1198d6 removed URLs to sleepyhead or it's author 2024-01-31 19:14:19 -05:00
LoudSnorer
d5d77647d3 Copyright date updated on OSCAR's *.h and *.cpp files 2024-01-13 15:27:48 -05:00
LoudSnorer
ab52d51fe0 added comments 2023-09-25 03:56:04 -04:00
LoudSnorer
e7a7b596eb Fix Change Langauge 2023-09-24 20:32:20 -04:00
LoudSnorer
c42aef73ff Add ability to enable/disable QT's high resolution mode. Default is disabled 2023-09-12 21:14:54 -04:00
LoudSnorer
62718d278e invalid command line parameters - exit with error message and help menu 2023-09-12 19:30:59 -04:00
LoudSnorer
229a5b2a71 fix high resolution display issues: enabled QT EnableHighDpiScaling 2023-06-22 08:05:21 -04:00
Alejandro Rivero Perez
70f513e963 Support for loading Hoffrichter Point 3 machine sdcard data
The data of this machine can be read by iMatrix software from Resvent iBreeze serie. Probably this code also support Resvent iBreeze serie. But was only tested with data from the machine in the title.

Events loaded: CPAP_Obstructive, CPAP_Apnea, CPAP_Hypopnea, CPAP_FlowLimit, CPAP_RERA, CPAP_PB, CPAP_Snore
Waveforms loaded: CPAP_MaskPressure, CPAP_FlowRate
Other Events loaded: CPAP_Pressure, CPAP_IPAP, CPAP_EPAP, CPAP_Leak, CPAP_TidalVolume, CPAP_MinuteVent, CPAP_RespRate, CPAP_Ti, CPAP_IE
2023-05-07 08:41:34 +02:00
axt
f2b811e442 Add initial version of Lövenstein Prisma loader 2022-09-13 21:15:31 +02:00
sawinglogz
d44b51f245 Work around a Qt bug on Fedora 35 that caused hangs when selecting files.
This disables the shift-key check at launch on Linux, but Linux users
can use --legacy if the functionality turns out to be relevant for Linux.
2022-01-14 11:45:54 -05:00
Guy Scharf
6e1ffaebde Add diagnostics for --datadir on Linux and Mac 2021-11-06 16:58:42 -07:00
Guy Scharf
9acd685f73 --datadir option now allows fully qualified paths on Mac, Linux.
Before, fully qualified paths were supported only for Windows.
2021-11-04 21:01:18 -07:00
Guy Scharf
e53b66882e Update copyright notices in code -- no other changes 2021-10-23 20:19:53 -07:00
Guy Scharf
3a12ae5c71 Some SleepStyle machines were incorrectly identified as Icon machines. 2021-10-21 10:40:58 -07:00
Guy Scharf
41ea0389f6 Add SleepStyle loader
This is the first test version of the F&P SleepStyle loader
Additional refinements are yet to be made. Events and timestamps
need to be confirmed, but overall the loader appears to be working.
2021-07-08 10:43:02 -07:00
Guy Scharf
a06d37e10e Correct error dialog when data cannot be written to OSCAR_Data
Also minor update to Release Notes
2021-01-18 21:47:59 -07:00
Phil Olynyk
f05320e725 Add font debugging, add setApplicationFont to Daily::Load(date) 2021-01-15 20:20:36 -05:00
Guy Scharf
abf0747b50 Add data directory path to error message when unable to write test file.
- This is intended to make the error message and log entries more descriptive.
2020-09-12 22:07:40 +00:00
Guy Scharf
de0069171a Support migration of OSCAR as well as SleepyHead data. Update Release Notes. 2020-09-10 01:12:45 +00:00
Guy Scharf
b338d7aa3d Check for ability to write to data directory at startup
Show critical error message and exit OSCAR if unable to write to data directory
    Improve qWarning message in logger.cpp
    Present warning dialog if logger cannot write to disk
2020-08-16 12:46:36 -07:00
Guy Scharf
7c350068e0 Minor improvements to some file open and copy error messages 2020-08-12 17:25:15 -07:00
sawinglogz
20dfb666b0 Write the debug log to a file within the OSCAR data folder.
Also immediately emit debug messages to console even before the UI is
initialized.

And present a useful error if the OSCAR data folder can't be created.
2020-07-21 13:25:17 -04:00
sawinglogz
6a658b3be0 Enable serial device recording in the main application.
This is transparent to the user and is recorded into a log directory within
the OSCAR_Data directory.

Also add log rotation so that these logs don't grow forever.
2020-07-21 13:25:16 -04: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
Guy Scharf
dcd2fa9566 Correct syntax and logic error in selecting SleepyHead folder for migration 2020-04-30 08:35:59 -07:00
sawinglogz
17e2ef0a12 Detect OpenGL crashes on Windows and automatically downgrade to the software engine. 2020-04-25 16:30:35 -04:00
Phil Olynyk
61c40a6702 Add /usr/local/share to resource pathlist 2020-03-15 16:27:36 -04:00
Phil Olynyk
a688f48f5d Allow linux standard paths for helper folders 2020-03-14 13:43:24 -04:00
sawinglogz
7fddb47dbc Fix regression in e698879 that prevented detection of shift key on launch. 2020-02-17 17:26:00 -05:00
sawinglogz
e698879e17 Move graphic engine configuration before creation of QApplication.
Qt was emitting console warnings about attempts to change
Qt::AA_UseDesktopOpenGL after creating the QApplication.
2020-02-17 10:59:26 -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
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
1f4bb2d435 Clean up build information and version interface.
This removes git dependencies from everything except for version.cpp,
and removes the associated interfaces in version.h.

Since the full version string contains the branch and revision
number where applicable, the build information no longer needs
to report branch and revision separately. It also now queries
version.cpp for a more consistent and reliable build time.

Debug output of build information is also now more consistent with
less redundant code.
2020-01-16 13:58:18 -05:00
sawinglogz
2e92107cce Update version display throughout to use the new information and be consistent.
The full version now includes the build/git information embedded within
it as build metadata according to the Semantic Versioning 2.0.0 spec,
for example: "1.1.0-beta-1+branch-name-a1b2c3d".

Now the full version string, with all detail is always displayed
EXCEPT for release versions, in which case just the simple version
number ("1.1.0") is displayed in the primary UI.

- Main window title: simple version for release versions, full version
    string otherwise
- Notifications: same as main window title
- System tray: same as main window title
- About window title: same as main window title
- About window release notes: always include full version string
- Reports: always include full version string
- Under the logo (about dialog, profile selector, new profile
    window): removed, as it is largely redundant and can
    interfere with the window geometry.
- Database upgrade alert: same as main window title
- Database newer alert: same as main window title

The full version string is also included within the preference and
profile .xml files, but because build metadata is ignored in version
comparisons, differences in builds will not cause any spurious
alerts. However, changes in prerelease versions will continue to
be significant, as they should be.
2020-01-16 13:05:55 -05:00
sawinglogz
80489a4b29 Add error handling in case a developer accidentally defines an invalid version. 2020-01-16 11:54:41 -05:00
sawinglogz
88957aeb7f Replace VersionString with getVersion() everywhere. 2020-01-15 19:45:46 -05:00
sawinglogz
93b9007f67 Remove old version comparison code. 2020-01-15 17:15:24 -05:00
sawinglogz
d898581ca4 Remove version.h dependency from appsettings.h to reduce unnecessary recompiling. 2020-01-15 16:34:28 -05:00
sawinglogz
6f194507a8 Move version-related code into version.cpp. 2020-01-13 18:41:24 -05:00
Seeker4
af2fc6f9c3 Automatically convert IS language code to HE on startup (new code for Hebrew) 2019-08-19 12:32:26 -07:00
Seeker4
75c0a9950a Format dates per national settings. 2019-08-06 10:51:14 -07:00
Seeker4
f6941843e8 Merge branch 'master' into defaults 2019-07-14 20:28:06 -07:00
Seeker4
11f2fb5d3f Change GraphSnapshots to ShowPieChart in code, UI, and preferences. Convert any existing GraphSnapshots preferences to ShowPieChart. 2019-07-14 20:25:49 -07:00
Phil Olynyk
b497b3ccbb QT 5.7 doesn't like comparison of naked chars - construct a QLatin1Char instead 2019-07-12 15:26:05 -04:00
Seeker4
087b18545f Centralize all font validation and setting into new functions in common.cpp. Add registry key to System Info (call it App Key for cross-platform compatibility). 2019-07-04 18:14:41 -07:00
Seeker4
43462f39d3 Correct typo in comment 2019-06-24 10:12:43 -07:00
Seeker4
775eefee71 Allow a Windows path with drive letter to be used as an argument for --datadir 2019-06-24 10:05:58 -07:00
Seeker4
bee6364c5e Write date and time OSCAR started to debug log 2019-06-21 22:08:44 -07:00