aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-09-19 23:42:11 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-09-19 23:49:56 -0400
commitc804c4e02e0530889697fab524cba294a55ffeeb (patch)
tree6a6afb7d8a82a890cb4390cdeeda0658d3034d3a /README
parentbf83aa21046e7dfe63cb3bd13ea608067400967e (diff)
downloadsubsurface-c804c4e02e0530889697fab524cba294a55ffeeb.tar.gz
Partial rewrite of the dive trip code
This introduces a new data structure for dive trips - reuseing the struct dive just got way too messy. The dive_trip_t datastructure now allows the code to remember if the trip was auto generated or if its time stamp changed when dives where added to the trip during auto generation. The algorithm also distinguishes between dives that were intentionally added to a trip (either in an XML file or by adding them to trip in the UI) and dives that were added to trips via autogen. Saving dives that were added to trips via autogen makes that assignment "intentional". With this partial rewrite several of the oddities of the old code should be resolved - especially turning autogen on and off again should get the divelist back to the previous stage. Also, when dives are merged during file open or import we now try to pick the correct tripflag (instead of just ignoring the tripflag completely and resetting it to TF_NONE by mistake). Finally, the dive trip debugging code got more verbose and is trying harder to detect issues at the earliest time possible. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions