<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/qt-ui, branch v4.4.98</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.4.98</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.4.98'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2015-10-03T11:19:55Z</updated>
<entry>
<title>Use copy_string() to avoid potential crash</title>
<updated>2015-10-03T11:19:55Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-10-03T11:19:55Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f8e9c975b78c78d1faacfbf65a1ab768bf9d136f'/>
<id>urn:sha1:f8e9c975b78c78d1faacfbf65a1ab768bf9d136f</id>
<content type='text'>
If the trip has no location or notes calling strdup on NULL is just a bad
idea.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Remove unused member</title>
<updated>2015-10-02T21:30:21Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-10-02T21:30:21Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6b9aea1b96dce089aeff5570527f65a83ea2a190'/>
<id>urn:sha1:6b9aea1b96dce089aeff5570527f65a83ea2a190</id>
<content type='text'>
This isn't the bug that Coverity showed, but it was found by looking at
CID 1307969

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Avoid potential uninitialized access</title>
<updated>2015-10-02T19:42:43Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-10-02T19:42:43Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6b0d9adb61472866d584a11b71ac1a71753c5ca6'/>
<id>urn:sha1:6b0d9adb61472866d584a11b71ac1a71753c5ca6</id>
<content type='text'>
I don't think this could ever happen but hey, let's be sure.

Coverity CID 1307985

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Avoid potentially uninitialized member</title>
<updated>2015-10-02T19:22:55Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-10-02T19:22:55Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=dde82a6ba416af03749bdb23b178d8a1d57bf200'/>
<id>urn:sha1:dde82a6ba416af03749bdb23b178d8a1d57bf200</id>
<content type='text'>
Coverity CID 1325281

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Undo/redo of dive deletion needs to handle trips as well</title>
<updated>2015-10-02T18:50:12Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-10-02T18:50:12Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=a94c84d5982a10cd9adfd421aed41cf159dd3303'/>
<id>urn:sha1:a94c84d5982a10cd9adfd421aed41cf159dd3303</id>
<content type='text'>
If we delete dives that were part of a trip, that trip may get deleted as
well. So if we undo that operation we need to bring back the trip, too.

This also deals with a bug in the original code that did the delete both
in calling code (in divelistview.cpp) and in the redo function. Because of
the nature of the delete this didn't really matter but it is of course
wrong and with the new code it would in fact cause an issue.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Add support to "split" a dive with surface time in the middle</title>
<updated>2015-10-02T02:29:43Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2015-10-02T01:17:37Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7c427dcc020064e0ea867c77ee86db6e1f4755bb'/>
<id>urn:sha1:7c427dcc020064e0ea867c77ee86db6e1f4755bb</id>
<content type='text'>
Right now this requires that

 (a) the dive have only one divecomputer associated with it.

     Trying to split a dive with multiple dive computers would be *much*
     harder to do, since you'd have to try to line up the surface
     interval between computers etc.  So just don't do it after
     downloading multiple dive computers for the same dive.

 (b) there must be at least one minute between the sample that came up
     to the surface and the sample that goes down again.

     If you just peeked your head above the surface, don't try to split
     things into two dives.  Maybe we can relax this for freediving or
     something.

also note that the split dive will only get new numbering if the dive
that was split was the very last dive in the divelist.

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>Avoid having uninitialized member</title>
<updated>2015-10-02T02:02:53Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-10-02T02:02:26Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b80079c37f7bad67cf91d96ef7c79e87ac0801cb'/>
<id>urn:sha1:b80079c37f7bad67cf91d96ef7c79e87ac0801cb</id>
<content type='text'>
Coverity CID 1325283

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Avoid NULL dereference</title>
<updated>2015-10-02T01:24:04Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-10-02T01:24:04Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=a51903fbb66a32b996e37e38b5634d74358a3330'/>
<id>urn:sha1:a51903fbb66a32b996e37e38b5634d74358a3330</id>
<content type='text'>
Coverity CID 1325297

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Avoid memory leaks</title>
<updated>2015-10-02T01:12:14Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-10-02T01:00:38Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7d8a36820d9db03956191cfe8f10087d93bf17b5'/>
<id>urn:sha1:7d8a36820d9db03956191cfe8f10087d93bf17b5</id>
<content type='text'>
Coverity CID 1308003

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Make dive trip location edit work again.</title>
<updated>2015-10-01T22:01:34Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tomaz.canabrava@intel.com</email>
</author>
<published>2015-10-01T21:11:03Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6979ebfdae328799a5c3f8dabc82c15299d56943'/>
<id>urn:sha1:6979ebfdae328799a5c3f8dabc82c15299d56943</id>
<content type='text'>
:D

Signed-off-by: Tomaz Canabrava &lt;tomaz.canabrava@intel.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
