Commit Graph

53 Commits

Author SHA1 Message Date
LoudSnorer
a21fb20716 Re=Enabled biometrics Zombie,Weight,BMI like 1.4.0. except zombie. zombie renamed to Feelings with range 1-10 2023-09-19 22:45:09 -04:00
Phil Olynyk
539b276e21 Merge master, fix IE conflicts 2023-06-11 17:54:11 -04:00
Tolnai Zoltan
ffac5e482b Better handling of PrismaLine bilevel modes and reading of BiSoft settings. 2023-05-03 18:15:20 +00:00
LoudSnorer
172c5893e3 Add Compiler version to systemInformation 2023-04-12 21:14:23 -04:00
Phil Olynyk
c8c0fe4530 Minor fixes to settings display 2022-12-17 11:40:59 -05:00
axt
2157ae0506 Add channel EEPAP 2022-09-21 03:11:51 +02:00
Shay Martin
f96ef0f15e Mantis#0000339 - calculate ounces in a gram to be used when calculating kg to lbs and ounces when printing daily report to account for loss of precision/rounding occurring when kilograms value being saved in journal object 2022-08-21 07:26:21 -05:00
ArieKlerk
1c45e852c9 The second series of updates, everything in SleepLib, but not yet the loader_plugins. They will come next time. 2022-02-27 17:01:46 +01:00
ArieKlerk
6bbb656c02 Here are the promised translation-cleaned program files plus updated language files 2022-01-10 16:49:23 +01:00
Guy Scharf
a8a56dff02 Replace BRICK! with better message. Improve appearance of "no data" messages. 2021-11-27 13:20:48 -07:00
Jeff Norman
59e1b2817b Updated copyright year to 2022 for OSCAR files 2021-11-02 16:34:12 -04:00
Phil Olynyk
2326ed4fc8 Update VERSION and resmed data version; other miscellaneous fixes 2021-08-22 15:21:12 -04:00
Guy Scharf
9f5373ed91 Refactor functions that act on all AHI-contributing channels.
Add new AllAhiChannels ChannelID to refer to all channels that contribute to AHI.
List of AHI-contributing channels is in "ahiChannels" QVector.
2021-07-24 21:12:15 -07:00
Guy Scharf
f0c7cfc991 Add option to copypath() to overwrite existing files
copypath() only copies files that do not exist in the destination directory.
Added an optional parameter that forces copypath() to overwrite existing files.
This is needed for SleepStyle and DV6 loaders.
PRS loader should not be affected (it is the only other loader using copypath)
2021-07-08 10:32:50 -07:00
Phil Olynyk
f05320e725 Add font debugging, add setApplicationFont to Daily::Load(date) 2021-01-15 20:20:36 -05:00
Guy Scharf
142220c16c More diagnostics for font setting failure on startup on RPi
Dump entire font table if desired font is not found
2021-01-15 11:30:34 -07:00
Guy Scharf
b8415117c3 Improve font setting diagnostic message 2021-01-14 15:20:53 -07:00
Guy Scharf
b00434f1d9 Add diagnostics when setting application font
To help resolve font setting problem on RPi4
2021-01-14 20:43:38 +00:00
Phil Olynyk
d5778bafb6 Check Crostini mount points, and force name to OSCAR-test if not OSCAR 2020-08-25 21:09:53 -04:00
Guy Scharf
7c350068e0 Minor improvements to some file open and copy error messages 2020-08-12 17:25:15 -07:00
Guy Scharf
1aba6e4e51 File error checking Phase I: check all file.open() operations are successful.
file.open() checked everywhere except in loaders.
    qWarning() message written to debug log, with error number and text.
    We may want to exit OSCAR with a message in many situations, but that is not implemented yet.
    Set number of debug logs to be kept for Release version to 4.
2020-08-09 10:33:04 -07: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
Phil Olynyk
3617d2af09 Fix typo in CSR string 2020-03-09 21:15:02 -04:00
sawinglogz
910be1f6af Move PRS1Loader::Open to use the new scanner.
Also update Detect to retain its original behavior of letting the user
select the P-Series folder instead of the root.

Also fix what looked like a hang when backing up PRS1 files. The
progress bar still doesn't update during backup, but at least it
now says that it's backing up and the UI remains responsive.
2020-03-09 12:47:54 -04: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
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
88957aeb7f Replace VersionString with getVersion() everywhere. 2020-01-15 19:45:46 -05:00
sawinglogz
fb32e16c96 Clean up version.h interface and reduce duplcate code.
Only minor cosmetic changes in how the version is displayed in
certain places.
2020-01-15 13:18:00 -05:00
sawinglogz
6f194507a8 Move version-related code into version.cpp. 2020-01-13 18:41:24 -05:00
Seeker4
e315baf6df Test builds use settings key of oscar-test, branch builds oscar-branch, and release builds just oscar. Default data directory named similarly. 2019-08-12 16:02:53 -07:00
Seeker4
75c0a9950a Format dates per national settings. 2019-08-06 10:51:14 -07:00
Seeker4
376d04803a Show commit id in title bar for all except Release versions. 2019-07-24 01:47:15 -07:00
Seeker4
5bf71e2a55 Fix problem with null font name. Forced default font for Mac will be Helvetica. 2019-07-10 21:35:14 -07:00
Seeker4
be9ce5085b Do not allow private font to be used for other than Application on MacOS 2019-07-10 15:13:27 -07: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
c684eebca7 Change method of identifying the graphics engine currently in use. 2019-06-07 05:14:07 -07:00
Seeker4
f4f1a4a002 Clearly separate build data from run-time data. 2019-06-02 10:24:17 -07:00
Seeker4
59270e00c6 Add Help/System Information to display full build information, active graphics engine, and data directory. 2019-06-01 19:51:18 -07:00
Seeker4
9561e56ad9 Make xxxBuildInfo functions to create and return build information. 2019-06-01 15:12:38 -07:00
Seeker4
86d0c11ddd Remove GIT revision and graphics engine from titlebar (info remains in debug log). Retain [Branch] and [LegacyGFX] for a BrokenGL build. 2019-06-01 07:57:28 -07:00
Seeker4
98df2c9a46 Force use of Software graphics engine (aka LegacyGFX) if shift key held down during program start or --legacy command line parameter present. 2019-05-31 15:50:16 -07:00
sawinglogz
f8e4ff754b Add OSCAR version number to PRS1 unit test logs. 2019-05-18 19:46:24 -04:00
Seeker4
b87e700119 Initial code to show ResMed EPR with a space between number and cmH2O 2019-05-10 17:53:09 -07:00
sawinglogz
e67aae78cf Make warnings fail regression tests, fix warnings. 2019-05-08 17:06:17 -04:00
Seeker4
124ac57166 Fix typo in qDebug() statement 2019-05-06 18:29:54 -07:00
Seeker4
90b6db3b3f Make titlebar show active graphics engine (Open GL, ANGLE, or LegacyGFX). 2019-05-05 23:18:08 +00:00
Seeker4
7e9b59bbf6 Change measurement units from metric/arhiac to Metric/English 2019-05-01 09:05:01 -07:00
Phil Olynyk
4223bd7d4f Set up oscar-team.org as the DeveloperDomain all the places 2019-04-08 10:26:59 -04:00