sawinglogz
451963de25
Move chunk parsing into PRS1DataChunk class.
...
The diff looks messy, but it's mostly chunk -> this search-and-replace.
2019-05-14 22:49:41 -04:00
sawinglogz
7103650023
Move PRS1Loader::ParseChunk variable declarations and V3 header unpacking to the appropriate scope.
2019-05-14 21:49:43 -04:00
sawinglogz
d7cd22c918
Separate checksum reading in PRS1Loader::ParseChunk instead of burying it with other data.
...
While slightly more verbose, this makes the code more clearly correct.
2019-05-14 20:47:00 -04:00
sawinglogz
d216e677e1
Simplify PRS1Loader::ParseChunk by using a chunk instead of local variables.
2019-05-14 19:57:01 -04:00
sawinglogz
74863e538a
Split PRS1Loader::ParseFile in to ParseFile/ParseChunk.
2019-05-14 18:57:04 -04:00
sawinglogz
76053b0469
Check for format change before coalescing PRS1 chunks, move data warnings out of parsing.
2019-05-14 16:20:32 -04:00
sawinglogz
9b3aaad4b0
Move PRS1 waveform chunk coalescing out of parsing and into importing.
2019-05-13 21:23:20 -04:00
sawinglogz
f19ad331c9
Add debugging output to all error handling in PRS1 loader.
2019-05-13 21:23:20 -04:00
sawinglogz
766f08420b
Comment out unused constant in CMS50 loader.
2019-05-13 12:15:06 -04:00
Phil Olynyk
d57116b1e4
Merge branch 'master' into Fix-oximeterimport
...
Pick up recent changes to master
2019-05-09 13:14:08 -04:00
Phil Olynyk
258b549967
Clean up oximeter import date/time handling
2019-05-09 13:05:53 -04:00
sawinglogz
e47660e15a
Disable broken "ignore" setting for PRS1. Fixes #73 .
2019-05-08 17:09:15 -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
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
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
108e0354d9
Change OSCR to OSCAR in cpp, h, ui, and html files
2019-02-23 19:58:25 -05:00
Phil Olynyk
17b53482bd
Change folder and file name from oscr to oscar
2019-02-22 19:23:39 -05:00