another RFC for trip handling

Dirk Hohndel dirk at hohndel.org
Sun Aug 26 22:43:00 PDT 2012


Next RFC / pull request...

Linus Torvalds <torvalds at linux-foundation.org> writes:
>
> So just a
>
>   <trip date='2012-08-23' location='San Diego, CA, USA' \>
>
> sounds like the right data format (code we can easily change later,
> data formats should be something we strive to get right from the
> start. Sure, we can fix them up later too, but it's just better to do
> it early rather than late)

I totally agree with you on getting the right data format... that's why
I'm doing all these RFCs :-)

Ignoring the glaring bug that I mentioned a few minutes ago, here's some
code that implements the format suggested above.

/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 f4c0e871cda9dac3c051ed3d692f0bf2e350f9c5:

  First cut of explicit trip tracking (2012-08-26 22:39:28 -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 |  26 ++++++++++++++-
 save-xml.c  |  33 +++++++++++++++++--
 6 files changed, 204 insertions(+), 77 deletions(-)


More information about the subsurface mailing list