<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git, branch v2.9</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v2.9</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v2.9'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2013-02-01T06:48:55Z</updated>
<entry>
<title>Bump version number to 2.9</title>
<updated>2013-02-01T06:48:55Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2013-02-01T06:48:55Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=5d9ed3f1b403105e92a96c8d7ebdac46cff4f309'/>
<id>urn:sha1:5d9ed3f1b403105e92a96c8d7ebdac46cff4f309</id>
<content type='text'>
This is intended as a visual sign that we are getting closer to 3.0.

We should consider this a "soft" code freeze / string freeze - I'm still
looking for a bunch of fixes, small additions and of course documentation,
but no new major features.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Move flag icon to include file</title>
<updated>2013-02-01T06:25:41Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2013-02-01T06:25:41Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=cf3c0266c2bf0f6fbbd532ef4e0c9bdd0a7b37a7'/>
<id>urn:sha1:cf3c0266c2bf0f6fbbd532ef4e0c9bdd0a7b37a7</id>
<content type='text'>
Just like with the satellite icon we are creating a pixdata structure for
the flag.

The Makefile cleanup in commit df6a9ddd8a21 ("Auto-generate C file
dependencies, and make the build more quiet") removed the rules for
generating the .h file by mistake (I hope).

This adds a more generic rule back in and also makes sure that the data
structures get more useful names.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>print: Use logical text extents to layout text in weight system box</title>
<updated>2013-02-01T05:13:05Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2013-02-01T03:58:44Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=393c88f087d40578558b104dd42ff2076e198188'/>
<id>urn:sha1:393c88f087d40578558b104dd42ff2076e198188</id>
<content type='text'>
The old code was computing locations based on relative portions of the
available height. The correct thing to do, (and done here in the
patch), is to advance by the logical height of rendered text each
time.

What's stll missing is anything to guarantee that the text drawn will
fit in the box. The correct answer here is along one of two lines:

  1. Use the logical text extents to decide what size to draw the box.

  2. Use a pre-computed box size and choose a font size that will fit

Either approach will involve a fairly substantial reworking of the
rendering code in print.c.

Signed-off-by: Carl Worth &lt;cworth@cworth.org&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>print: Use cairo_save/cairo_restore to manage temporary cairo changes</title>
<updated>2013-02-01T05:11:47Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2013-02-01T03:58:43Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=a6fd4076267be5aabe8adc7da56105e520371476'/>
<id>urn:sha1:a6fd4076267be5aabe8adc7da56105e520371476</id>
<content type='text'>
The print_weight_data function was making several cairo_translate
calls and then doing some final cairo_translate calls with the goal of
manually undoing any changes to cairo's state. Obviously, this is
fragile.

Cairo provides save/restore calls which solve this problem in a robust
way. Switch to using these instead.

Signed-off-by: Carl Worth &lt;cworth@cworth.org&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>When switching sort order, scroll the dive list to the current dive</title>
<updated>2013-01-31T23:51:45Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2013-01-31T22:40:54Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7e7cbb0dce33f8527cb348e020f4800b0482f39e'/>
<id>urn:sha1:7e7cbb0dce33f8527cb348e020f4800b0482f39e</id>
<content type='text'>
Now that we actually seem to understand the whole notion of setting the
active dive, let's take that code a bit further, and always scroll to it
when we're introducing a new sort ordering.

Sure, there may be other selected dives, but we have one primary
(current) dive that we show the profile and dive data for, and when we
switch sort order we probably want to see that dive in the dive list.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Recognize O2 percentage from MacDive import</title>
<updated>2013-01-31T22:19:38Z</updated>
<author>
<name>Henrik Brautaset Aronsen</name>
<email>subsurface@henrik.synth.no</email>
</author>
<published>2013-01-31T21:54:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b03ae632d5bb801aae806e09adfc63a440028edd'/>
<id>urn:sha1:b03ae632d5bb801aae806e09adfc63a440028edd</id>
<content type='text'>
MacDive use "o2percent" in its XML export

Signed-off-by: Henrik Brautaset Aronsen &lt;subsurface@henrik.synth.no&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Clear yearly statistics when closing data file</title>
<updated>2013-01-31T13:19:03Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2013-01-31T13:19:03Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b709dff23d94b93ffa484a7bfe46441ece79520f'/>
<id>urn:sha1:b709dff23d94b93ffa484a7bfe46441ece79520f</id>
<content type='text'>
Another oversight of what needed to be done when cleaning up the UI after
closing the data file.

Reported-by: Sergey Starosek &lt;sergey.starosek@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Clear the list of events when closing data file</title>
<updated>2013-01-31T13:07:04Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2013-01-31T13:07:04Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0f2fac265fb876de971a2849bec69c51161d7a74'/>
<id>urn:sha1:0f2fac265fb876de971a2849bec69c51161d7a74</id>
<content type='text'>
When the data file is closed we should reset the events that we offer for
filtering.

Reported-by: Sergey Starosek &lt;sergey.starosek@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Turn off tooltips if no dives are selected</title>
<updated>2013-01-31T13:00:29Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2013-01-31T13:00:29Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6f66781b1fe99d0157abc0a7f2220e4adaf2e431'/>
<id>urn:sha1:6f66781b1fe99d0157abc0a7f2220e4adaf2e431</id>
<content type='text'>
We already clear the widgets but forgot to turn off the tooltips as well.

Reported-by: Sergey Starosek &lt;sergey.starosek@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Don't allow to plan dives out of order</title>
<updated>2013-01-31T12:50:35Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2013-01-31T12:47:26Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=aa55bda94433ba22df2f4a4bff1c3f78f6fd8406'/>
<id>urn:sha1:aa55bda94433ba22df2f4a4bff1c3f78f6fd8406</id>
<content type='text'>
The planned dive always has to be the last dive in the dive list. To make
sure of that we interpret the relative start time to be relative to either
the current time or the end of the last dive, whichever is later.

This fixes a bug where we would delete the wrong dive and get our data
structures confused by planning multiple dives out of order.

Reported-by: Sergey Starosek &lt;sergey.starosek@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
