<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/qt-ui/profile, branch v4.1.91</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.1.91</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.1.91'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2014-07-18T17:14:27Z</updated>
<entry>
<title>Save / Restore the QPainter before operations.</title>
<updated>2014-07-18T17:14:27Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tomaz.canabrava@intel.com</email>
</author>
<published>2014-07-17T23:18:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=d3c0a723b82337fcf2bd0e129d3a6855c90e4825'/>
<id>urn:sha1:d3c0a723b82337fcf2bd0e129d3a6855c90e4825</id>
<content type='text'>
I don't know if this fixes anything, but it is asked of us to
do that by the Qt docs.

Signed-off-by: Tomaz Canabrava &lt;tomaz.canabrava@intel.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Correct usage of current_dive to displayed_dive</title>
<updated>2014-07-18T17:09:42Z</updated>
<author>
<name>Anton Lundin</name>
<email>glance@acc.umu.se</email>
</author>
<published>2014-07-17T17:58:55Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8e5eb71e0b344a68fc6fcfae1ace6fef6605a3d5'/>
<id>urn:sha1:8e5eb71e0b344a68fc6fcfae1ace6fef6605a3d5</id>
<content type='text'>
current_dive is the selected dive, and displayed_dive is the one we are
currently drawing. They are quite often the same one, but not in the
case of adding a dive for example.

This fixes potential null pointer dereferences in the case of a blank
divelist, and makes sure we use the correct data in the case of adding
and planning dives.

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>Hide gachange events in the first 30 seconds</title>
<updated>2014-07-17T07:04:44Z</updated>
<author>
<name>Anton Lundin</name>
<email>glance@acc.umu.se</email>
</author>
<published>2014-07-17T06:55:03Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=3b99b03133c06bfa74cf1ceec31ad33293615010'/>
<id>urn:sha1:3b99b03133c06bfa74cf1ceec31ad33293615010</id>
<content type='text'>
Back in 4.0 we hide all gaschange events during the first 30 seconds,
not just gaschange events on second 0. Eg, the OSTC3 emits its gaschange
event on the first sample, which can be 2, 10 or 30 seconds into the
dive.

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 get_cylinder_index instead of get_gasidx</title>
<updated>2014-07-17T07:04:32Z</updated>
<author>
<name>Anton Lundin</name>
<email>glance@acc.umu.se</email>
</author>
<published>2014-07-17T06:55:02Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6f8dc22e08cfbbed5670cff6b7b68ec651611d04'/>
<id>urn:sha1:6f8dc22e08cfbbed5670cff6b7b68ec651611d04</id>
<content type='text'>
Replace get_gasmix_from_event and get_gasidx with get_cylinder_index.

get_cylinder_index actually knows about both types of gaschange events
and the difference between them.

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 missing struct keyword in DivePlotDataModel</title>
<updated>2014-07-17T07:04:24Z</updated>
<author>
<name>Anton Lundin</name>
<email>glance@acc.umu.se</email>
</author>
<published>2014-07-17T06:36:36Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b4679c819fde45e0597873b87cc0ccb1650b70de'/>
<id>urn:sha1:b4679c819fde45e0597873b87cc0ccb1650b70de</id>
<content type='text'>
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 plot_data cylinderindex instead of event data</title>
<updated>2014-07-17T07:01:42Z</updated>
<author>
<name>Anton Lundin</name>
<email>glance@acc.umu.se</email>
</author>
<published>2014-07-16T22:26:46Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6d7a9b946634542dfa6b8649850ed87ba20c5db6'/>
<id>urn:sha1:6d7a9b946634542dfa6b8649850ed87ba20c5db6</id>
<content type='text'>
For the info box, we can't use the event data, because its not 1:1
mapped to whats in the cylinder and what we actually switched to. Use
the plot_data here we already calculated what we are switching to.

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>Do not create a backup for Q_FOREACH container</title>
<updated>2014-07-15T23:55:10Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tomaz.canabrava@intel.com</email>
</author>
<published>2014-07-15T17:43:20Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=d993684fec07ccf6c3135e16286cd87e045f142c'/>
<id>urn:sha1:d993684fec07ccf6c3135e16286cd87e045f142c</id>
<content type='text'>
Q_FOREACH will expand and already creates a copy of the
contained container, so this is just a waste of cpu cycles
and also increases a tiny bit the memory consumption.

Signed-off-by: Tomaz Canabrava &lt;tomaz.canabrava@intel.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Shrink YAxis when heart rate is on display</title>
<updated>2014-07-15T04:38:34Z</updated>
<author>
<name>Lakshman Anumolu</name>
<email>acrlakshman@gmail.com</email>
</author>
<published>2014-07-15T04:26:30Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=74bfa1b170846597e9ac302798e44da05b9ed4ae'/>
<id>urn:sha1:74bfa1b170846597e9ac302798e44da05b9ed4ae</id>
<content type='text'>
This patch makes sure that YAxis is not expanded to cover heart rate
when it is displayed on profile panel.

Signed-off-by: Lakshman Anumolu &lt;acrlakshman@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>profile2: remove unused varable diveComputer</title>
<updated>2014-07-15T01:33:57Z</updated>
<author>
<name>Anton Lundin</name>
<email>glance@acc.umu.se</email>
</author>
<published>2014-07-14T19:49:59Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0fbfccd31a2ed319f36f9121ab195fb6f14868fd'/>
<id>urn:sha1:0fbfccd31a2ed319f36f9121ab195fb6f14868fd</id>
<content type='text'>
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>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>
</feed>
