pull-request: trip handling

Dirk Hohndel dirk at hohndel.org
Mon Sep 3 20:55:51 PDT 2012

The list is getting longer, the set of commits is getting more stable.
I think we are getting there.

This fixes yet one more crash that Henrik reported and adds the ability
to merge with the trip below as well (as suggested by Miika)

Feedback welcome, as always.


The following changes since commit 6a210e573d947d61172da0363cbd7832e5459323:

  Add support for printing only the selected dives (2012-08-30 09:30:59 -0700)

are available in the git repository at:

  git://git.hohndel.org/subsurface.git trip3

for you to fetch changes up to b9d74580d0ef68393934d5d651318254f006b786:

  Add ability to merge trip with trip below (2012-09-03 20:51:09 -0700)

Dirk Hohndel (12):
      Store time_t as long value
      Clean up macros and auxiliary functions
      Allow modification and edits of trips
      Use truth values with gboolean
      Fix a crash when changing sort column
      Add autogen menu command
      Fix copy_tree_node to no longer overwrite dive duration
      Correctly initialize the toggle state of the autogroup menu entry
      Fix crash when removing the first dive of a trip
      Correct the trip related test dives
      Use the infrastructure for moving dives in more places
      Add ability to merge trip with trip below

 dive.h           |  42 ++++++++----
 divelist.c       | 585 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------
 divelist.h       |   1 +
 dives/test21.xml |   2 +-
 dives/test22.xml |   2 +-
 dives/test23.xml |   9 ++-
 gtk-gui.c        |  18 ++++-
 info.c           |  62 ++++++++++++++++-
 parse-xml.c      |   8 +--
 save-xml.c       |   4 +-
 10 files changed, 642 insertions(+), 91 deletions(-)

More information about the subsurface mailing list