<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/qt-ui, branch v4.1.90</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.1.90</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.1.90'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2014-07-12T19:56:03Z</updated>
<entry>
<title>Rename event: correctly replace event with new one</title>
<updated>2014-07-12T19:56:03Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2014-07-12T19:48:27Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=74616cdddfd0f46822be8708f7bad0038fdca526'/>
<id>urn:sha1:74616cdddfd0f46822be8708f7bad0038fdca526</id>
<content type='text'>
I don't like that the event structure includes the variable length array.
That really makes it a pain to change the name of an event (on the flip
side, freeing events is easier I guess).

Anyway, to correctly rename an event we need to actually remove the event
from the correct dc and then add a new event with the new name. The
previous code was insane (it only worked if the new name was of smaller or
equal length, otherwise it had a beautiful buffer overflow).

And of course we need to do this both for the current_dive and the
displayed_dive.

Fixes #616

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Fix inserting gaschange events</title>
<updated>2014-07-12T15:04:42Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2014-07-12T10:12:23Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=79015e17f890eee41fb4f8894468e17478ae3657'/>
<id>urn:sha1:79015e17f890eee41fb4f8894468e17478ae3657</id>
<content type='text'>
Use a macro that works to get the current DC.

Fixes #613

Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Lower CCR setpoint min value in planner to 0</title>
<updated>2014-07-12T15:03:46Z</updated>
<author>
<name>Anton Lundin</name>
<email>glance@acc.umu.se</email>
</author>
<published>2014-07-12T12:24:26Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b55218c2f400d61ad4b8dbb115909b3b8169617b'/>
<id>urn:sha1:b55218c2f400d61ad4b8dbb115909b3b8169617b</id>
<content type='text'>
We signal a bailout to OC via setting the setpoint to zero. A setpoint
between 0.2 and 0 would be really wierd, but i couldn't figure out any
better way to keep the bailout deco planning.

Note:
The gas consumption of CCR dives are plain wrong, but this atleast lets
you plan your deco for a CCR bailout plan.

Signed-off-by: Anton Lundin &lt;glance@acc.umu.se&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Add step size in our SpinBox delegates</title>
<updated>2014-07-12T15:03:34Z</updated>
<author>
<name>Anton Lundin</name>
<email>glance@acc.umu.se</email>
</author>
<published>2014-07-12T12:24:25Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=c4981f28a6ada0571276bcdf75c6171e1638678d'/>
<id>urn:sha1:c4981f28a6ada0571276bcdf75c6171e1638678d</id>
<content type='text'>
For the Set point spinbox, it was kinda hard just stepping by the
default 1.0, so setting it to step by 0.1 makes much more sense.

The int SpinBox got a step size parameter for consistency.

Signed-off-by: Anton Lundin &lt;glance@acc.umu.se&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Use doubles in DoubleSpinBoxDelegate</title>
<updated>2014-07-12T15:03:16Z</updated>
<author>
<name>Anton Lundin</name>
<email>glance@acc.umu.se</email>
</author>
<published>2014-07-12T12:24:24Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6008d08557e8c883ff533d1d4205a66aba49ea95'/>
<id>urn:sha1:6008d08557e8c883ff533d1d4205a66aba49ea95</id>
<content type='text'>
The previous code used qreals, but it feels clearer to use doubles when
the name of the class contains the word double. The performance loss of
using doubles instead of floats on arm is non-existent in this case.

Signed-off-by: Anton Lundin &lt;glance@acc.umu.se&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Don't round range for DoubleSpinBoxDelegate to int</title>
<updated>2014-07-12T15:02:58Z</updated>
<author>
<name>Anton Lundin</name>
<email>glance@acc.umu.se</email>
</author>
<published>2014-07-12T12:24:23Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=dcb580ed4647524dd91390bff95bc7c4793af1c6'/>
<id>urn:sha1:dcb580ed4647524dd91390bff95bc7c4793af1c6</id>
<content type='text'>
This fixes simple copy-paste error that the DoubleSpinBoxDelegate range
was stored as int, thus rounding min value from 0.2 to 0.

Signed-off-by: Anton Lundin &lt;glance@acc.umu.se&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Mark divelist changed when adding bookmark</title>
<updated>2014-07-12T05:50:09Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2014-07-12T05:37:05Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7ce9eb28ee04d877a08357b2bae2c063b0afea9a'/>
<id>urn:sha1:7ce9eb28ee04d877a08357b2bae2c063b0afea9a</id>
<content type='text'>
Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Printing: print depth unit in table</title>
<updated>2014-07-12T04:59:21Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2014-07-12T04:59:21Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e1ae7ebab2d39cb726d4afcff71b5586a0d6fc65'/>
<id>urn:sha1:e1ae7ebab2d39cb726d4afcff71b5586a0d6fc65</id>
<content type='text'>
When adding the method that includes the depth unit to the DiveItem class
I realized that this was yet another implementation of our depth unit
conversion. We should just call the existing helper instead.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Printing: make table more useful</title>
<updated>2014-07-12T04:51:44Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2014-07-12T04:51:44Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=236ff5c89da90e840acc0becf8efae41fc5b6282'/>
<id>urn:sha1:236ff5c89da90e840acc0becf8efae41fc5b6282</id>
<content type='text'>
Tweak font size and column widths.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Printing: change the header to show depth / duration</title>
<updated>2014-07-12T04:40:22Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2014-07-12T04:40:22Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0d9a1946fa04c3c806d249f0c1466a4163547dbc'/>
<id>urn:sha1:0d9a1946fa04c3c806d249f0c1466a4163547dbc</id>
<content type='text'>
At least for my dives there wasn't enough space for depth and duration in
the header, most likely because I made the last two columns smaller to
create more space for tags and suit.

With this commit the depth and doration in the header now spans two
columns and easily fits.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
