<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/core, branch v4.8.4</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.8.4</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.8.4'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2018-11-13T04:55:41Z</updated>
<entry>
<title>Coding style: remove stray ';'</title>
<updated>2018-11-13T04:55:41Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-11-07T22:30:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=bef756073a68ba0bcd94dd1e70d7b2a6c714c8f5'/>
<id>urn:sha1:bef756073a68ba0bcd94dd1e70d7b2a6c714c8f5</id>
<content type='text'>
There was a stray semi-colon on the beginning of a line in
DiveObjectHelper.cpp. Remove it.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: remove unsused flags in struct dive_trip</title>
<updated>2018-11-13T04:55:41Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-11-07T22:28:21Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=282e6a9f48e06f39e58073f188e6e8020af9145b'/>
<id>urn:sha1:282e6a9f48e06f39e58073f188e6e8020af9145b</id>
<content type='text'>
Usage of the flags expanded, selected and fixup was removed some
time ago. Remove the flags too.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Core: use British translations in South Africa</title>
<updated>2018-11-01T16:30:14Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-11-01T16:30:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=cdc96662814082c9163ce6814d223fa3483a9a80'/>
<id>urn:sha1:cdc96662814082c9163ce6814d223fa3483a9a80</id>
<content type='text'>
For unrecognized locales we use en_US by default. It makes much more sense for
South Africa to use en_GB.

Reported-by: Willem Ferguson &lt;willemferguson@zoology.up.ac.za&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Core: Do not crash on save dives with no dive site (git storage)</title>
<updated>2018-10-31T14:51:31Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-10-31T10:22:52Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=26f6d95305acdb86c99e11c017987497d0238321'/>
<id>urn:sha1:26f6d95305acdb86c99e11c017987497d0238321</id>
<content type='text'>
And fix a crash very similar to the previous commit. When trying to
save (to git) with an empty dive site, ssrf crashes.

Again, add a simple guard to prevent this.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>Fix gasmix for OTU calculation</title>
<updated>2018-10-30T14:33:43Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2018-10-30T11:19:00Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=62c57be1da37ca9a95e424896025b875e30e4697'/>
<id>urn:sha1:62c57be1da37ca9a95e424896025b875e30e4697</id>
<content type='text'>
With the fixed sematics of get_gasmix to return the new gasmix for
the time of a gas switch (added comments to make this clear), in the
OTU calculation we need the previous gasmix for the interval up to the
current time.

Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
</content>
</entry>
<entry>
<title>Fixed get_gas_at_time for equal times</title>
<updated>2018-10-30T14:33:43Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2018-10-29T22:55:38Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=d9f2b537afcefb57e224a6d1527537a54bb60688'/>
<id>urn:sha1:d9f2b537afcefb57e224a6d1527537a54bb60688</id>
<content type='text'>
This fixes a subtle bug introduced in 5c4569247a31c which
unified two functions finding the gasmix at a given time
during the dive. There was a slight difference, though:
Does a gaschange exactly at that time count or not? For
the planner to work, the answer has to be in the affirmative.

Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
</content>
</entry>
<entry>
<title>Dive list: don't pass dive_site via uintptr_t through QML</title>
<updated>2018-10-29T00:09:31Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-10-28T21:19:17Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=a0cc02dfe8a82e12dc1eb902eeb906b2f9edc80b'/>
<id>urn:sha1:a0cc02dfe8a82e12dc1eb902eeb906b2f9edc80b</id>
<content type='text'>
Now that struct dive_site * is a proper Q_METATYPE it is not
necessary anymore to pass dive-sites as opaque uintptr_t types.
Simply pass a QVariants or directly via dive_site *.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Dive site: pass pointer-to-dive_site via QVariant</title>
<updated>2018-10-29T00:09:31Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-10-28T20:16:42Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=920eb7576ff3c5fab19c12b7b291042817422ac5'/>
<id>urn:sha1:920eb7576ff3c5fab19c12b7b291042817422ac5</id>
<content type='text'>
There was this ugly pattern of passing pointers-to-dive_site via
a QVariant of void * type. This is of course inherently unsafe.

Pass these pointers using their proper types instead. This makes
it necessary to register them in Qt's meta-type system. Doing so,
fixes a bug: QML couldn't call into updateDiveSiteCoordinates()
because it didn't know the type and thus the coordinates of
the moved flag were not reflected in the divesite-dialog.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Dive site: replace dive-&gt;dive_site_uuid by dive_site</title>
<updated>2018-10-29T00:09:31Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-10-26T15:03:54Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=724055f0af4fb7cdb9f1570967fe4b34797f3419'/>
<id>urn:sha1:724055f0af4fb7cdb9f1570967fe4b34797f3419</id>
<content type='text'>
Replace the UUID reference of struct dive by a pointer to dive_site.
This commit is rather large in lines, but nevertheless quite simple
since most of the UUID-&gt;pointer work was done in previous commits.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Dive site: use an array of pointers in reloadMapLocations()</title>
<updated>2018-10-29T00:09:31Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-10-25T18:58:54Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f41bb32428f1e6377b7b293215e8c2f71fa06c9a'/>
<id>urn:sha1:f41bb32428f1e6377b7b293215e8c2f71fa06c9a</id>
<content type='text'>
MapWidgetHelper::reloadMapLocations() used an array of uuids to
add dive sites to the map only once. Replace this by an array
of pointers. This is a small piece of a larger effort to remove
dive site UUIDs.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
</feed>
