<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/Makefile, branch v1.0</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v1.0</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v1.0'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2011-09-26T18:04:50Z</updated>
<entry>
<title>Add the version to the Makefile</title>
<updated>2011-09-26T18:04:50Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-09-26T18:04:50Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=5c3bdd9fc85e1003a0537d286d968cdd008b1b95'/>
<id>urn:sha1:5c3bdd9fc85e1003a0537d286d968cdd008b1b95</id>
<content type='text'>
Not quite the same format as for the kernel, but I want to do the normal
"edit the makefile before making a release" model that I'm used to.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Add cheesy "install" target</title>
<updated>2011-09-23T03:59:10Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-09-23T03:59:10Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=1e42dc10e5df52822fff698573cae97b2efb3220'/>
<id>urn:sha1:1e42dc10e5df52822fff698573cae97b2efb3220</id>
<content type='text'>
It just puts the subsurface binary in $(HOME)/bin.

.. and then the binary won't find the icon file, so this is really not
enough of an install to get it really working, but whatever.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Clean up library handling</title>
<updated>2011-09-22T19:21:20Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-09-22T19:21:20Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b2f0912ee5728d3d8705f0d84f5699c182ef8916'/>
<id>urn:sha1:b2f0912ee5728d3d8705f0d84f5699c182ef8916</id>
<content type='text'>
.. and pick up libusb-1.0 automatically if it's installed.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Separate out the UI from the program logic</title>
<updated>2011-09-20T19:48:56Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2011-09-20T19:40:34Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=682135838ff313594c7f67fabd9be8f88a33883b'/>
<id>urn:sha1:682135838ff313594c7f67fabd9be8f88a33883b</id>
<content type='text'>
The following are UI toolkit specific:
gtk-gui.c   - overall layout, main window of the UI
divelist.c  - list of dives subsurface maintains
equipment.c - equipment / tank information for each dive
info.c      - detailed dive info
print.c     - printing

The rest is independent of the UI:
main.c i    - program frame
dive.c i    - creates and maintaines the internal dive list structure
libdivecomputer.c
uemis.c
parse-xml.c
save-xml.c  - interface with dive computers and the XML files
profile.c   - creates the data for the profile and draws it using cairo

This commit should contain NO functional changes, just moving code around
and a couple of minor abstractions.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Added a comment about libusb dependency in Makefile.</title>
<updated>2011-09-20T10:22:45Z</updated>
<author>
<name>Riccardo Albertini</name>
<email>ssirowain@gmail.com</email>
</author>
<published>2011-09-20T10:22:45Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=5b2f1c7914f5632362813a304659a3971e595d50'/>
<id>urn:sha1:5b2f1c7914f5632362813a304659a3971e595d50</id>
<content type='text'>
Due to libdivecomputer's dependency, can be necessary to add libusb to pkg-config in order to compile,
so I exported the pkg-config line in the subsurface target to LIBS variable, and added a comment about libusb.

Signed-off-by: Riccardo Albertini &lt;ssirowain@gmail.com&gt;
</content>
</entry>
<entry>
<title>Do libdivecomputer imports in a separate thread</title>
<updated>2011-09-16T05:58:02Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-09-16T05:58:02Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8c18add46b2cc0cdfc8c1095916bce81fbde1f1f'/>
<id>urn:sha1:8c18add46b2cc0cdfc8c1095916bce81fbde1f1f</id>
<content type='text'>
This is the hackiest thing ever, unless you count the previous code that
was even hackier (and just called the gtk main routine at random
places).

The libdivecomputer library is not really set up to be part of the gtk
main loop, and cannot afford (for example) to have lots of mainloop
events while it's parsing.  Some dive computers are very timing
sensitive for the communication.

So just start a thread for doing the libdivecomputer stuff, and just
continually call the gtk main loop while that thread is running.  I'm
sure we could actually use some gtk signalling thing to make the thread
exit do the right thing, but instead we just poll the status every
100ms.

I did say it was hacky.  It does seem to work, though.  No more
temporary graying out of the windows when they don't react in a timely
manner because libdivecomputer does some blocking operation.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Rename the project 'subsurface'</title>
<updated>2011-09-15T16:43:14Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-09-15T16:43:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=3a6652634b2152352f6f5a2b9ee3d549140ae337'/>
<id>urn:sha1:3a6652634b2152352f6f5a2b9ee3d549140ae337</id>
<content type='text'>
I never really liked 'diveclog' as a name - it's not like the C part is
all that important.  And while I could try to just make up another slang
word for despicable person (in the tradition of naming all my projects
after myself), I just can't see it.

So let's just call it "subsurface".

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>First pass to parse uemis Zurich '.SDA' files</title>
<updated>2011-09-15T15:52:55Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2011-09-15T04:00:49Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=518ec33ba3bf9c5e9966ef108c1673223337b0fa'/>
<id>urn:sha1:518ec33ba3bf9c5e9966ef108c1673223337b0fa</id>
<content type='text'>
This is missing a ton of the information in the .SDA files It only
parses the divelog.SDA file, not the dive.SDA file It ignores the
information on the gas(es) used and all the data on the tanks.

It still draws some strange artefacts at the end of the dive

But it correctly hooks into the import dialogue, it gives you a file
select box (somewhere, I'm sure, a gtk developer cries quietly) and then
parses enough of this file to serve as a proof of concept.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Add the capability to print a dive profile</title>
<updated>2011-09-13T23:02:42Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-09-13T23:02:42Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ce86289eed0651c846a609743d77e26cacbcfde6'/>
<id>urn:sha1:ce86289eed0651c846a609743d77e26cacbcfde6</id>
<content type='text'>
Ok, this is the ugliest f*&amp;$ing printout I have ever seen in my life,
but think of it as a "the concept of printing works" commit, and you'll
be able to hold your lunch down and not gouge out your eyeballs with a
spoon.  Maybe.

I'm just doing the cairo display as-is for the printout, which is a
seriously bad idea.  I need to not try to do colors etc, and instead of
having white lines on a black background I just need to make thelines be
black on white paper.

But that would involve actually changing the current "plot()" routine,
which is against the point of the exercise right now.  This really is
just a demonstration of how to add printing capabilities.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Start some very initial libdivecomputer integration</title>
<updated>2011-09-12T16:27:01Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-09-12T16:19:21Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=9cb60c910681b0fb3c04d22c77bcf9c2754bfa7f'/>
<id>urn:sha1:9cb60c910681b0fb3c04d22c77bcf9c2754bfa7f</id>
<content type='text'>
Ok, so this is quite broken right now: it doesn't actually really *do*
anything, and it now requires that you have libdivecomputer all set up
and installed.

That is fairly easy:

	mkdir ../src
	cd ../src
	git clone git://libdivecomputer.git.sourceforge.net/gitroot/libdivecomputer/libdivecomputer
	cd libdivecomputer
	autoreconf --install
	./configure
	make
	sudo make install

but you may feel that this is not exactly useful considering that
nothing actually *works* yet.

Some day.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
