<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/qt-models, branch v4.5.4</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.5.4</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.5.4'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2016-03-16T05:38:35Z</updated>
<entry>
<title>Store Thumbnails with image hashes</title>
<updated>2016-03-16T05:38:35Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2015-11-09T15:48:12Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2368f3371bbdb587888d5f04095623c7b8b2ac2e'/>
<id>urn:sha1:2368f3371bbdb587888d5f04095623c7b8b2ac2e</id>
<content type='text'>
This drastically improves the time it takes to select a dive
with several pictures at the expense of longer startup and
bigger hash files.

Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Show only as many stats as there are DC types</title>
<updated>2016-02-26T08:21:51Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2016-01-22T20:27:56Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=9bd9850688cda49fdda8850060091ff4ed2a7a4b'/>
<id>urn:sha1:9bd9850688cda49fdda8850060091ff4ed2a7a4b</id>
<content type='text'>
After reserving only the required amount of data for stats_by_type, we
showed an extra DC type on the statistics (no more extra space filled
with 0 at the end of the buffer)

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>Don't blindly copy a pointer to the heap</title>
<updated>2016-02-26T08:18:25Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2016-01-19T18:27:38Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=a01e4fefb419ad0b4cfc64a7d1759a06f08f4a3b'/>
<id>urn:sha1:a01e4fefb419ad0b4cfc64a7d1759a06f08f4a3b</id>
<content type='text'>
Copying the entry pointer and assuming that it stays valid is of course totally
bogus. This is most likely the reason for the random crashes people have
observed.

See #992

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Add dive type to statistics window</title>
<updated>2016-02-26T08:16:55Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2016-01-17T19:18:36Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=403d6dcfb016a5886a9e6baab34c9868dad2aaf0'/>
<id>urn:sha1:403d6dcfb016a5886a9e6baab34c9868dad2aaf0</id>
<content type='text'>
This adds dive type based division to the "yearly statistics" window.
Thus people can see the stats from individually from OC, CCR, PSCR and
freedive.

See #949

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>Add missing tr() implementations</title>
<updated>2015-10-23T13:48:41Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2015-10-20T12:36:53Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=604971ca0c83e8d3993aed04261443692122109e'/>
<id>urn:sha1:604971ca0c83e8d3993aed04261443692122109e</id>
<content type='text'>
One specific string did not translate. First, Dirk and I (via IRC)
suspected a leading space was the issue (see commit eccac1321f512d8).
However, I found out that the problem was still there. A non translated
string "%1 shown", when applying a filter on the divelist, and looking at
a trip line. It shows always untranslated "%1 shown". Extracting
to-be-translated strings from the code, I found 2 errors: Class
&lt;classname&gt; lacks Q_OBJECT macro.

This patch adds a missing tr() definition and implementation to 2 structs.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Set a cylinder if the default cylinder is bogus</title>
<updated>2015-10-22T20:57:46Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2015-10-21T12:49:04Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2a977a0fcde76e6d321a4ae66706f7c874dc8fe3'/>
<id>urn:sha1:2a977a0fcde76e6d321a4ae66706f7c874dc8fe3</id>
<content type='text'>
Apparently, it can happen that the default cylinder is not set
even though same_string(prefs.default_cylinder, "") is false.
Then we fall back to the 11.1l air cylinder.

This should silence a warnign about "Too many gases".

Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Fixing annoying compiler warning</title>
<updated>2015-10-22T10:37:50Z</updated>
<author>
<name>Guido Lerch</name>
<email>guido.lerch@gmail.com</email>
</author>
<published>2015-10-21T22:17:05Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f1c682b55a52c11d7cb57da0fc66d6edb118ba77'/>
<id>urn:sha1:f1c682b55a52c11d7cb57da0fc66d6edb118ba77</id>
<content type='text'>
Adding { } to if clause to avoid dangling warning
/Users/guidolerch/src/subsurface/qt-models/cylindermodel.cpp:117:
warning: add explicit braces to avoid dangling else [-Wdangling-else]

[Dirk Hohndel: combined two of Guido's patches to one that is simpler]

Signed-off-by: Guido Lerch &lt;guido.lerch@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Always make sure the planner starts with at least one cylinder</title>
<updated>2015-10-20T08:11:04Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2015-10-20T07:56:01Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=27f706064fe287f5e8b941fae57f6dcf44122b34'/>
<id>urn:sha1:27f706064fe287f5e8b941fae57f6dcf44122b34</id>
<content type='text'>
void DivePlannerPointsModel::setupCylinders() in diveplannermodel.cpp
handles setting up cylinders for the planner. If there is a current
dive, cylinders form that dive are copied. Otherwise the default
cylinder is added and lacking that a standard size cylinder.

If the current dive does not have any cylinders, we could end up
without cylinders. This patch adds a test for this case and delegates
to the other two sources of a cylinder in that case.

Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Show correct icon when only one gasmix in the list</title>
<updated>2015-10-19T18:45:12Z</updated>
<author>
<name>Joakim Bygdell</name>
<email>j.bygdell@gmail.com</email>
</author>
<published>2015-10-19T18:05:24Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0c9d71234fd49e1924124e8898604d087b21792e'/>
<id>urn:sha1:0c9d71234fd49e1924124e8898604d087b21792e</id>
<content type='text'>
When there is only one gasmix in the list we should show the icon that tells the
user that they can't remove the last gasmix from the list.

Signed-off-by: Joakim Bygdell &lt;j.bygdell@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Display day number in trips longer than 1 day</title>
<updated>2015-10-19T00:37:49Z</updated>
<author>
<name>Giorgio Marzano</name>
<email>marzano.giorgio@gmail.com</email>
</author>
<published>2015-10-06T19:08:27Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=45b1d0d73db6e2116c6de7113feed381dcc5875f'/>
<id>urn:sha1:45b1d0d73db6e2116c6de7113feed381dcc5875f</id>
<content type='text'>
Signed-off-by: Giorgio Marzano &lt;marzano.giorgio@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
