1 Half-arsed divelog software in C.
3 I'm tired of java programs that don't work etc.
7 You need libxml2-devel, gtk2-devel and GConf2-devel to build this.
9 You also need to have libdivecomputer installed, which goes something like this:
11 git clone git://libdivecomputer.git.sourceforge.net/gitroot/libdivecomputer/libdivecomputer
23 to see my dives (with no notes or commentary).
25 Or, if you have a dive computer supported by libdivecomputer (and
26 connected to /dev/ttyUSB0), you can just do
31 and select "Import" from the File menu, tell it what dive computer you
34 There's a lot of duplicates in the XML files that come as an example,
35 and divelog will de-duplicate the ones that are exactly the same (just
36 because they were imported multiple times). But at least two of the
37 dives have duplicates that were edited by Dirk in the Suunto Dive
38 Manager, so they don't trigger the "exact duplicates" match.
40 WARNING! I wasn't kidding when I said that I've done this by reading
41 gtk2 tutorials as I've gone along. If somebody is more comfortable with
42 gtk, feel free to send me (signed-off) patches.
44 Just as an example of the extreme hackiness of the code, I don't even
45 bother connecting a signal for the "somebody edited the dive info"
46 cases. I just save/restore the dive info every single time you switch
47 dives. Christ! That's truly lame.
49 Also, I don't actually integrate directly with libdivecomputer, I just
50 read the XML files it can spit out. But I included my own raw dive
51 profile xml files for anybody who isn't a diver, but decides that they
52 want to educate me in gtk.
54 NOTE! Some of the dives are pretty pitiful. All the last dives are from
55 my divemaster course, so they are from following open water students
56 along (many of them the confined*water dives). There a lot of the
57 action is at the surface, so some of the "dives" are 4ft deep and 2min
62 Please either send me signed-off patches or a pull request with
63 signed-off commits. If you don't sign off on them, I will not accept
64 them. This means adding a line that says "Signed-off-by: Name <email>"
65 at the end of each commit, indicating that you wrote the code and have
66 the right to pass it on as an open source patch.
68 See: http://gerrit.googlecode.com/svn/documentation/2.0/user-signedoffby.html
70 Also, please write good git commit messages. A good commit message
73 header line: explaining the commit in one line
75 Body of commit message is a few lines of text, explaining things
76 in more detail, possibly giving some background about the issue
79 The body of the commit message can be several paragrahps, and
80 please do proper word-wrap and keep columns shorter than about
81 74 characters or so. That way "git log" will show things
82 nicely even when it's indented.
84 Reported-by: whoever-reported-it
85 Signed-off-by: Your Name <youremail@yourhost.com>
87 where that header line really should be meaningful, and really should be
88 just one line. That header line is what is shown by tools like gitk and
89 shortlog, and should summarize the change in one readable line of text,
90 independently of the longer explanation.