Commit Graph

101 Commits

Author SHA1 Message Date
sawinglogz
2a9af3de0a Fix memory leak in PRS1 unit test. Test runs now produce reproducible output.
This fix also seems like it cleans up some of the weird session IDs. It appears
that session IDs were sticking around after each machine, adding those
IDs or sessions to subsequent machines in that run of the test. Since the
test was being run piecemeal while under development, this produced
different behavior when being run with different segments of the data.
2019-05-05 16:59:53 -04:00
sawinglogz
e4082fff22 Add compiler flags and debug messages in search of memory access errors. 2019-05-05 15:50:38 -04:00
sawinglogz
9da60239c8 Fix memory access error in certain summary files.
This currently doesn't make the parsing more complete, it just bails rather than running off the end of memory.
2019-05-05 15:45:50 -04:00
sawinglogz
a603f9e189 First PRS1 loader regression test: walk through a directory of SD cards and generate YAML for each session.
This has already exposed many limitations, and possibly some memory trampling. Before this will work as
a true regression test, we'll need to address both of those, so that this produces reliable, reproducible
output.
2019-05-04 21:53:02 -04:00
sawinglogz
d4b65d8e73 Make Event and Loader/PRS1Loader protected and private members public during unit testing. 2019-05-04 21:50:45 -04:00
sawinglogz
af375af090 Disable GUI widgets in Loader and PRS1Loader when unit testing. 2019-05-04 21:49:50 -04:00
sawinglogz
7c0c13486c More refactoring of PRS1Loader::OpenMachine(). 2019-05-03 16:59:26 -04:00
sawinglogz
02ffeb6c39 Allow a test profile to be created at an arbitrary path.
Currently there is a very messy tangle of dependencies between
loaders, machines, sessions, and profiles. Right now the
simplest way to create a test loader instance is to create
a test profile, under which the machine and session instances
will exist.
2019-05-03 16:36:53 -04:00
sawinglogz
7937b57b5f Split out PRS1Loader::ScanFiles() from PRS1Loader::OpenMachine(). 2019-05-03 15:07:15 -04:00
sawinglogz
4599dd781f Refactor PRS1Import::run() so that parsing can be called separately from saving to the database. 2019-05-03 14:45:21 -04:00
sawinglogz
52338d3e17 Add initial plumbing for unit testing. 2019-05-02 21:51:56 -04:00
Seeker4
463dcee181 Add a space between number and cmH2O in two tooltip messages. 2019-05-01 09:06:10 -07:00
Seeker4
7e9b59bbf6 Change measurement units from metric/arhiac to Metric/English 2019-05-01 09:05:01 -07:00
Seeker4
7f336ea9d4 Offer migration when destination directory is empty as well as when it does not exist 2019-05-01 08:58:20 -07:00
Phil Olynyk
a102a85dbd Update release version, build number, and release notes 2019-04-24 15:18:33 -04:00
Phil Olynyk
bcad3ac9da Disable multitasking to avoid crashes 2019-04-24 15:12:07 -04:00
Phil Olynyk
a58cbe3205 Use large logo scaled down for sharpness 2019-04-21 21:18:43 -04:00
Phil Olynyk
4f234a5a9f Change status to r and reset build number to 1 2019-04-21 16:13:01 -04:00
Phil Olynyk
9d1d0a88ce Updated release notes and Htmldocs, and set build number to 9 2019-04-16 15:10:28 -04:00
Phil Olynyk
c0246470f5 Replace old man Oscar logo with new big O logo 2019-04-16 13:12:26 -04:00
Phil Olynyk
329e59e8ea Fetched all updated ts files 2019-04-16 13:06:58 -04:00
Phil Olynyk
c67cd82bb3 Hide the Lifesaver button in the right panel if no Help 2019-04-10 15:52:47 -04:00
Phil Olynyk
4223bd7d4f Set up oscar-team.org as the DeveloperDomain all the places 2019-04-08 10:26:59 -04:00
Phil Olynyk
7fd7d50d8a Zeo and Somnopose file dialogs fixed 2019-04-07 23:28:54 -04:00
Phil Olynyk
069a2f405a Remove the Help ? from title bars 2019-04-07 21:54:04 -04:00
Phil Olynyk
2afe0459e9 Added deletion of I:E ratio from Daily window to release notes 2019-04-07 12:55:59 -04:00
Phil Olynyk
415f8cdc06 Removed CPAP_IE from Daily graphs and statistics display 2019-04-07 12:51:08 -04:00
Phil Olynyk
78269d25e5 Comment out a sleep(3) that delays opening daily window 2019-04-07 12:07:25 -04:00
Phil Olynyk
bf43724ce8 comment out a sleep(3) that slows down empty display 2019-04-07 12:02:41 -04:00
Phil Olynyk
a589981266 Update build number and release notes for build 8 2019-04-06 22:03:26 -04:00
Phil Olynyk
3eca5d992f Commented out the deployment target - use whatever is default for Qt version 2019-04-06 20:57:27 -04:00
Phil Olynyk
e4ae6fa3ec Added QMAKE_TARGET_BUNDLE_PREFIX to oscar.pro 2019-04-06 20:49:44 -04:00
Phil Olynyk
08fb95e432 Fixed typo in filename creation and added fallback to en_US version. 2019-04-06 07:17:35 -04:00
Phil Olynyk
267ee0de1e Comment out currently unused protocol version command 2019-04-05 14:02:40 -04:00
Phil Olynyk
581086783e Start on debugging I:E ratio output 2019-04-05 14:00:37 -04:00
Phil Olynyk
57c3e4c33c Remove the Help Browser for everybody 2019-04-05 12:22:02 -04:00
Phil Olynyk
3bdd1b713f Update build number and release notes for build 7 2019-04-05 10:10:32 -04:00
Phil Olynyk
931d04cc3f Add code to use qt language files for buttons and such 2019-04-05 10:00:25 -04:00
Phil Olynyk
e9005ac965 Missed a call to translate a string 2019-04-04 06:08:56 -04:00
Phil Olynyk
723de9c912 Use Maximize (with frame & menu) instead of full screen 2019-04-03 18:32:33 -04:00
Phil Olynyk
6cf17f2699 Change Mac target platform to 10.12 - Sierra 2019-04-03 18:30:55 -04:00
Phil Olynyk
b7deef365b Update build number and release notes for #6 2019-04-02 10:11:01 -04:00
Phil Olynyk
98811bca15 Added progress bar to migration routine 2019-04-02 10:04:44 -04:00
Phil Olynyk
abd2389772 Update release notes and build number to 5 2019-03-31 10:12:21 -04:00
Phil Olynyk
6f2aeb98e0 Clarified messages about folder selection and data migrtion 2019-03-31 09:43:41 -04:00
Phil Olynyk
d571653c1e Use qDebug to verify AppData folder 2019-03-30 13:43:37 -04:00
Phil Olynyk
605e573c2f Get rid of an extra / in file path 2019-03-30 13:00:03 -04:00
Phil Olynyk
87cc4eae34 Prepend StandardDirs::Documents (~/Documents) to get AppData path 2019-03-30 12:45:16 -04:00
Phil Olynyk
83fd3cb070 Fix typo : Use --datadir foldername to change data folder 2019-03-30 11:41:38 -04:00
Phil Olynyk
c77e860004 Move Help index to a writable folder - Thanks to GuyScharf 2019-03-30 11:24:24 -04:00