diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-09-30 12:36:18 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-09-30 12:36:18 -0700 |
commit | 3244a828f3df9b0403db7de742de399edcb395bb (patch) | |
tree | 2d87c17db616796fc030b4dac14c10922ea0a638 /equipment.c | |
parent | 946d9c7166f0690689f7a1078952a1ca0844fefb (diff) | |
download | subsurface-3244a828f3df9b0403db7de742de399edcb395bb.tar.gz |
New XML format for saving dives
This patch makes the trips nest, and it also fixes the fact that you never
saved the trip notes (you could edit it, but saving would throw it away).
I did *not* change the indentation of the dives, so the trip stuff shows
up the the beginning of the line, at the same level as the <dive> and
<dives> thing. I think it's fairly readable xml, though, and we haven't
really had proper "indentation shows nesting" anyway, since the top-level
"<dives>" thing also didn't indent stuff inside of it.
Anyway, the way I wrote it, it still parses your old "INTRIP" stuff etc,
so as far as I know, it should happily read the old-style XML too. At
least it seemed to work with your xml file that already had the old-style
one (I haven't committed my divetrips, exactly because I didn't like the
new format).
It always saves in the new style, though.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'equipment.c')
0 files changed, 0 insertions, 0 deletions