This is the official upstream of the Subsurface divelog program
Find a file
Linus Torvalds da4edbcce8 xml parsing: start traversing properties too
This requires us to change the way we match things up, because now we
can have things like

   dives.dive.sample.event.time

and

   dives.dive.sample.time

and they are different things (that "sample.event.time" is a 'time'
property of the 'event').

Now, this is always going to be ambiguous, since our linearized name of
the xml doesn't really care whether it's a xml node "child" or a
"property", but quite frankly, I don't care. XML just isn't worth the pain.

In fact, maybe this ambiguity can end up being a good thing.  We will
parse these two different lines of XML the same way:

  <dive><sample><time>50</time><depth>10.8</depth></sample></dive>

  <dive><sample time="50" depth="10.8"></sample></dive>

and the attribute approach seems to be the nicer one.  Maybe I'll use
that for the output format.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-09-01 11:22:05 -07:00
dives Make the multi-dive files valid XML 2011-08-28 17:24:53 -07:00
.gitignore Add .gitignore file for current state 2011-08-30 18:42:57 -07:00
display.h Make the main display saner 2011-08-31 18:30:42 -07:00
dive.h Start cleaning up dive accessors 2011-08-31 16:33:20 -07:00
divelist.c Use a gtk table instead of hbox 2011-08-31 11:52:16 -07:00
info.c Add some extended dive info fields 2011-08-31 20:36:51 -07:00
main.c Add some extended dive info fields 2011-08-31 20:36:51 -07:00
Makefile Rename some files to be more appropriate 2011-09-01 10:09:53 -07:00
parse-xml.c xml parsing: start traversing properties too 2011-09-01 11:22:05 -07:00
profile.c Do something half-way sane (no SIGSEGV) when there are no dives 2011-08-31 16:40:22 -07:00
README Rename some files to be more appropriate 2011-09-01 10:09:53 -07:00
scripts Start archiving the stupid XML files 2011-08-28 16:18:53 -07:00

Half-arsed divelog software in C.

I'm tired of java programs that don't work etc. 

License: GPLv2