another RFC for trip handling

Dirk Hohndel dirk at hohndel.org
Sun Aug 26 15:28:05 PDT 2012


Linus,

here's my latest attempt to get the trip handling moved forward.
This is OFF by default. You need to enable it in preferences and then
restart the program (yeah, I know - stupid... I'll fix that later).

It then creates time based groups and stores them in the XML file as
something like

<trip number='12' date='2012-08-23' time='09:25:31'>
  <location>San Diego, CA, USA</location>
</trip>

The logic handles the ability to decare dives as not part of trips - but
no UI exists to make that happen (yet).

/D

The following changes since commit 5726a50d89d1f76b6bc2cfb96568d41d27f2b63e:

  Improve group selection semantics (2012-08-20 06:45:56 -0700)

are available in the git repository at:

  git://git.hohndel.org/subsurface.git trips

for you to fetch changes up to ea847dafb20bc3e91677ed28c9655c6e79ccaf28:

  First cut of explicit trip tracking (2012-08-26 15:23:48 -0700)

----------------------------------------------------------------
Dirk Hohndel (1):
      First cut of explicit trip tracking

 dive.c      |   5 +++
 dive.h      |  23 ++++++++++++++
 divelist.c  | 174 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------
 gtk-gui.c   |  20 +++++++++++-
 parse-xml.c |  13 +++++++-
 save-xml.c  |  38 ++++++++++++++++++----
 6 files changed, 191 insertions(+), 82 deletions(-)


More information about the subsurface mailing list