summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-05 14:36:55 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-05 14:36:55 -0700
commit83f0aefa5c72814d2bdd9468ffc9c2cd2c957502 (patch)
tree5ffe6268699703c699f08f7899ba11468821a7f7 /dive.h
parent3063991e4ed22932c3c66d3970d22f4f9a513bbf (diff)
downloadsubsurface-83f0aefa5c72814d2bdd9468ffc9c2cd2c957502.tar.gz
Uemis downloader: handle more corner cases
After receiving another report of the Uemis downloader failing I tried to make it more robust when unexpected things happen. The data structures returned by the SDA are rather convoluted and not all relationships are fully understood. This makes sure we don't try to parse invalid dive entries, we only read dive entries if we actually got new divelog entries, we only read dive sites if at least one was referenced and we use a much more patient (and hopefully, much more robust) algorithm to figure out which dive entry corresponds to the new divelog entries. What a pain. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
0 files changed, 0 insertions, 0 deletions