<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/subsurface-core/subsurface-qt, branch v4.8.2</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.8.2</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.8.2'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2016-04-05T05:33:58Z</updated>
<entry>
<title>Move subsurface-core to core and qt-mobile to mobile-widgets</title>
<updated>2016-04-05T05:33:58Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2016-04-05T05:02:03Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7be962bfc2879a72c32ff67518731347dcdff6de'/>
<id>urn:sha1:7be962bfc2879a72c32ff67518731347dcdff6de</id>
<content type='text'>
Having subsurface-core as a directory name really messes with
autocomplete and is obviously redundant. Simmilarly, qt-mobile caused an
autocomplete conflict and also was inconsistent with the desktop-widget
name for the directory containing the "other" UI.

And while cleaning up the resulting change in the path name for include
files, I decided to clean up those even more to make them consistent
overall.

This could have been handled in more commits, but since this requires a
make clean before the build, it seemed more sensible to do it all in one.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Silence warnings in SettingsObjectWrapper.cpp</title>
<updated>2016-03-08T00:45:16Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tomaz.canabrava@gmail.com</email>
</author>
<published>2016-03-07T19:55:29Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=9d4429c212c4be0c8932e9656a0429519a4b67da'/>
<id>urn:sha1:9d4429c212c4be0c8932e9656a0429519a4b67da</id>
<content type='text'>
Signed-off-by: Tomaz Canabrava &lt;tomaz.canabrava@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Avoid dangling else warnings</title>
<updated>2016-03-03T22:29:19Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2016-03-03T21:16:12Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=bf798390fa994106795717301e568edb6af71e09'/>
<id>urn:sha1:bf798390fa994106795717301e568edb6af71e09</id>
<content type='text'>
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>DiveHelperObject: add the weightList and cylinderList properties</title>
<updated>2016-02-29T15:33:31Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2016-02-29T14:42:07Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=1d06c383a207b19dadd58f7975cd574df7a1c5ac'/>
<id>urn:sha1:1d06c383a207b19dadd58f7975cd574df7a1c5ac</id>
<content type='text'>
"weights" and "cylinders" are QStringList Q_PROPERTIES, and Grantlee
should be able to render them, but it doesn't.

To be able to print the whole list of weights and cylinders we
introduce two new QString properties "weightList" and "cylinderList".

The variable replacement in the previous patch deals with the
conversation of the user side HTML, e.g.:

USER                  -&gt;   INTERNAL
"{{ dive.weights }}   -&gt;   {{ dive.weightList }}"
"{{ dive.cylinders }} -&gt;   {{ dive.cylinderList }}"

Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Don't use "get_volume_string()" for cylinder size string</title>
<updated>2016-02-24T23:58:09Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2016-02-24T22:42:56Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=288aff9dbb58b6e18cf12f4d04502d60f18e74a9'/>
<id>urn:sha1:288aff9dbb58b6e18cf12f4d04502d60f18e74a9</id>
<content type='text'>
We had two totally different usage cases for "get_volume_string()": one
that did the obvious "show this volume as a string", and one that tried
to show a cylinder size.

The function used a magic third argument (the working pressure of the
cylinder) to distinguish between the two cases, but it still got it
wrong.

A metric cylinder doesn't necessarily have a working pressure at all,
and the size is a wet size in liters.  We'd pass in zero as the working
pressure, and if the volume units were set to cubic feet, the logic in
"get_volume_string()" would happily convert the metric wet size into the
wet size in cubic feet.

But that's completely wrong.  An imperial cylinder size simply isn't a
wet size.  If you don't have a working pressure, you cannot convert the
cylinder size to cubic feet.  End of story.

So instead of having "get_volume_string()" have magical behavior
depending on working pressure, and getting it wrong anyway, just make
get_volume_string do a pure volume conversion, and create a whole new
function for showing the size of a cylinder.

Now, if the cylinder doesn't have a working pressure, we just show the
metric size, even if the user had asked for cubic feet.

[Dirk Hohndel: added call to translation functions for the units]

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>Add dive property to easily test if there isn't an actual dive</title>
<updated>2016-02-15T00:26:37Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2016-02-15T00:26:37Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=06ad45c48f942738c0647ccc4f01d79e6a287e2e'/>
<id>urn:sha1:06ad45c48f942738c0647ccc4f01d79e6a287e2e</id>
<content type='text'>
Right now this just tests for zero duration, but maybe this should also
return true for positive duration and max depth of 0.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Grab pressures from samples if required</title>
<updated>2016-02-14T20:37:37Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2016-02-14T15:33:18Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8e4b4c788a12b428f22f346254ceebfba5f36c8c'/>
<id>urn:sha1:8e4b4c788a12b428f22f346254ceebfba5f36c8c</id>
<content type='text'>
If cylinder does not have start and end pressures assigned, attempt to
grab them from the samples instead.

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>Test cylinder usage properly</title>
<updated>2016-02-14T20:37:30Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2016-02-14T15:14:09Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8c38dbf3b7334983c0810a967b98cd35c1a0cfb0'/>
<id>urn:sha1:8c38dbf3b7334983c0810a967b98cd35c1a0cfb0</id>
<content type='text'>
It is better to use the proper function to test if cylinder is in use
than just checking the description.

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 helper function to retrieve first gas</title>
<updated>2016-02-13T18:03:56Z</updated>
<author>
<name>Joakim Bygdell</name>
<email>j.bygdell@gmail.com</email>
</author>
<published>2016-02-13T17:34:29Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=a01bcd82aa1c789ff87f58f5e117f9fadb7f8e32'/>
<id>urn:sha1:a01bcd82aa1c789ff87f58f5e117f9fadb7f8e32</id>
<content type='text'>
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>QML UI: add function to get cylinder pressures</title>
<updated>2016-02-09T20:10:50Z</updated>
<author>
<name>Joakim Bygdell</name>
<email>j.bygdell@gmail.com</email>
</author>
<published>2016-02-09T16:19:06Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f3b35d175a381a57447b2ff33a8cd6d0db69b924'/>
<id>urn:sha1:f3b35d175a381a57447b2ff33a8cd6d0db69b924</id>
<content type='text'>
Since we only show the first cylinder we can also only edit the first cylinder.

Signed-off-by: Joakim Bygdell &lt;j.bygdell@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
