<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git, branch v4.0.99</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.0.99</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.0.99'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2014-05-06T18:32:48Z</updated>
<entry>
<title>Last minute Beta 4</title>
<updated>2014-05-06T18:32:48Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2014-05-06T18:32:48Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=20595ac0d7c9cb9c588162075b1704c1a9648a32'/>
<id>urn:sha1:20595ac0d7c9cb9c588162075b1704c1a9648a32</id>
<content type='text'>
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Only change identical fields when editing multiple dives</title>
<updated>2014-05-06T18:13:24Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2014-05-06T17:19:43Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=bcf973190c07aecea2358af155a7190967faf054'/>
<id>urn:sha1:bcf973190c07aecea2358af155a7190967faf054</id>
<content type='text'>
This was broken when porting to Qt - we used to do this correctly in the
Gtk version.

When editing multiple dives we show the current dive to the user and allow
them to edit that and then apply those edits to all selected dives. The
way this is SUPPOSED to work is that we only change those selected dives
that had the same value for the edited field as the current_dive had for
that field.

Let's say you select ten dives. The current dive shows divemaster Joe. You
change that to divemaster Jim. Then only the selected dives that had
divemaster Joe should change to Jim. All other dives should stay
unchanged.

This seems to implement that logic.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Change EDIT_SELECTED_DIVES macro</title>
<updated>2014-05-06T16:58:27Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2014-05-06T16:58:27Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=217c82f6c4207a5afe086d15edb29db59e523575'/>
<id>urn:sha1:217c82f6c4207a5afe086d15edb29db59e523575</id>
<content type='text'>
The way this is implemented is broken in several ways.
This fixes the first issue.
For the invocations where we are in the 'WHAT' checking to see if the
value we are changing in the selected dive was previously the same as in
the current dive (which is the one shown to the user for editing), then we
need to make sure we change the current dive last, otherwise the
comparison will fail.

Of course, right now we only do this check for gps location, which is a
massive bug as far as I am concerned.

Fixes #515

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Change the profile redraw logic after preferences were changed</title>
<updated>2014-05-05T22:58:25Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2014-05-05T22:58:25Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=223d99f79f3b80bc45a6abc6d510f9250a181363'/>
<id>urn:sha1:223d99f79f3b80bc45a6abc6d510f9250a181363</id>
<content type='text'>
I we are showing a calculated ceiling, then we have to replot the profile
after a preferences change as the gradient factors could have changed
which might change a calculated ceiling.

Also use the rulergraph preference instead of checking the settings
directly.

Fixes #511

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Correctly parse boolean preferences</title>
<updated>2014-05-05T22:56:49Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2014-05-05T22:56:49Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=08689b2f89bc62ad55ab88562d4394d872511075'/>
<id>urn:sha1:08689b2f89bc62ad55ab88562d4394d872511075</id>
<content type='text'>
QVariant does the right thing, regardless of whether the value is stored
as int or as string - so let's just use that instead of manually checking
for integers (and failing if the values are stored as "true" and "false").

Fixes #511

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Fix odd indentation</title>
<updated>2014-05-05T22:56:11Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2014-05-05T22:56:11Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7809077b33dd990c80568ea116d23fee696cfaec'/>
<id>urn:sha1:7809077b33dd990c80568ea116d23fee696cfaec</id>
<content type='text'>
I need to fix this in the tool as well...

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Make rulergraph a pref as well</title>
<updated>2014-05-05T22:53:46Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2014-05-05T22:53:46Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7b0f737f600ff8e30ccb46963f964756a7b87b57'/>
<id>urn:sha1:7b0f737f600ff8e30ccb46963f964756a7b87b57</id>
<content type='text'>
I don't see a point in treating it differently from the other graphs.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Fix standard cylinder names</title>
<updated>2014-05-05T21:52:13Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2014-05-05T21:52:13Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6545855b6513ff39c6d0d7428a5e27508a821f0d'/>
<id>urn:sha1:6545855b6513ff39c6d0d7428a5e27508a821f0d</id>
<content type='text'>
We need to pass the size as an integer.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Uemis downloader: handle more corner cases</title>
<updated>2014-05-05T21:36:55Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2014-05-05T21:36:55Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=83f0aefa5c72814d2bdd9468ffc9c2cd2c957502'/>
<id>urn:sha1:83f0aefa5c72814d2bdd9468ffc9c2cd2c957502</id>
<content type='text'>
After receiving another report of the Uemis downloader failing I tried to
make it more robust when unexpected things happen. The data structures
returned by the SDA are rather convoluted and not all relationships are
fully understood.

This makes sure we don't try to parse invalid dive entries, we only read
dive entries if we actually got new divelog entries, we only read dive
sites if at least one was referenced and we use a much more patient (and
hopefully, much more robust) algorithm to figure out which dive entry
corresponds to the new divelog entries.

What a pain.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Fix bug in handling of fake SAMPLE_EVENT_PO2 events</title>
<updated>2014-05-05T16:32:13Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2014-05-05T16:28:58Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=3063991e4ed22932c3c66d3970d22f4f9a513bbf'/>
<id>urn:sha1:3063991e4ed22932c3c66d3970d22f4f9a513bbf</id>
<content type='text'>
In commit bcdd6192fe45 ("Show translated event names in tooltip") I was
too aggressive in replacing the checking for event names with checking for
event types. It turns out that we are abusing an existing event type in
the planner (and use a different event name to mark the difference). By
just checking for the type this now caused incorrect information to be
displayed in the info box (a simply "PO2 warning" on a Suunto D9 could
turn into a "Bailing out to OC" notice).

The correct fix is to get our own range of SAMPLE_EVENT_xxx numbers from
libdivecomputer. Once we have those, we can do this the right way. For now
we just fall back to also checking the event name (which is what I wanted
to get away from so translated names don't trip us up).

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