<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/core/subsurface-qt, branch v4.7.7</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom/core/subsurface-qt?h=v4.7.7</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom/core/subsurface-qt?h=v4.7.7'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2018-01-31T13:48:14Z</updated>
<entry>
<title>mobile cleanup: restyle construction of locationlist</title>
<updated>2018-01-31T13:48:14Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-01-28T14:21:28Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=494ad2654082d85846cb902556921ab62a6dbb14'/>
<id>urn:sha1:494ad2654082d85846cb902556921ab62a6dbb14</id>
<content type='text'>
See also e6e1473e6. The construction of the locationlist
was not the same as the 3 previous lists, and it needs
the inclusion of a new model file (divelocationmodel.cpp)
in the mobile app. In addition, as the mobile app is mainly
interested in a simple stringList (model) to populate a HintsText
field (or maybe later a combobox), this stringlist is added
to the model, to easy interfacing with QML.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>mobile cleanup: unduplicate code and do not loop over dives (3)</title>
<updated>2018-01-31T13:48:14Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-01-28T10:28:01Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=83259008e763d3cc120c826f58f91a0ff62b6b92'/>
<id>urn:sha1:83259008e763d3cc120c826f58f91a0ff62b6b92</id>
<content type='text'>
See e6e1473e6. Exact same commit but here for the
list of divemaster. The careful reader will spot a
small addition to the clearDetailsEdit() QML function.
Two more field are cleared.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>mobile cleanup: unduplicate code and do not loop over dives (2)</title>
<updated>2018-01-31T13:48:14Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-01-28T09:26:45Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=572fc470718e4a11d5df60b37e7a2a91639285c7'/>
<id>urn:sha1:572fc470718e4a11d5df60b37e7a2a91639285c7</id>
<content type='text'>
See e6e1473e6. Exact same commit but here for the
list of buddies.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>mobile cleanup: unduplicate code and do not loop over dives (1)</title>
<updated>2018-01-31T13:48:14Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-01-28T08:52:51Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=fed2c5b6a1c71649bcb310c0bd118cb1abcf9ea0'/>
<id>urn:sha1:fed2c5b6a1c71649bcb310c0bd118cb1abcf9ea0</id>
<content type='text'>
This is the first of a set of commits that are (very) similar.
It appeared that a number of more or less static lists, which are
constructed by a loop over all dives in the logbook, were executed
when changing focus to a next dive. For example, the in this
commit addressed list of used dive suits.

What was wrong was that the suitList was linked to a dive. There
is only a need to construct the list of used suits when data is
changed (and obviously, once on startup of the app). Further, it
appeared that a lot of code was duplicated and that we can use
(in this case) the same code from the desktop completionmodels.cpp.

Basically, this commit involves the following changes:
- include completionmodels.cpp in mobile and desktop (so move
it from the desktop only category to the generic category).
- remove double code from DiveObjectHelper.cpp
- Do not differentiate in the init phase and the normal refresh
of the list
- the per dive logic is now only the getting of a previously
constructed list (in init or update of the divelist).

There are no visible changes in the UI, other than a better
performance when scrolling over dive details.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>Remove cloud_background_sync preferences option</title>
<updated>2018-01-06T18:46:07Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-01-03T17:03:28Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=59526e948aea42b977a3976293fbfdfe561dec97'/>
<id>urn:sha1:59526e948aea42b977a3976293fbfdfe561dec97</id>
<content type='text'>
The preferences flag cloud_background_sync used to be used heavily in
the mobile code, but is not used there anymore. Now, it is accessed
only in one place, but does not do what it actually says: If it is off,
the remote storage is not synced on save (but will be synced on next
load).

Syncing on save can also be prevented by unchecking the "Cloud online"
menu checkbox. Since the latter seems more logical and general
(support for non-cloud remote git repositories), remove the cloud_background_sync
option.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: avoid out of bounds access</title>
<updated>2017-12-27T00:06:05Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2017-12-27T00:05:26Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=04bca45552b59441e41dbf4e66cb8b7ce9baa021'/>
<id>urn:sha1:04bca45552b59441e41dbf4e66cb8b7ce9baa021</id>
<content type='text'>
sizeof() is clearly the wrong way to get to the size of that array...

Coverity CID 208290

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Remove obsolete declaration of void gfLowAtMaxDepthChanged</title>
<updated>2017-12-23T23:01:39Z</updated>
<author>
<name>Stefan Fuchs</name>
<email>sfuchs@gmx.de</email>
</author>
<published>2017-12-19T18:25:48Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=3ad398e3a7543de7cd3402ef2a18d8dcd6fe5311'/>
<id>urn:sha1:3ad398e3a7543de7cd3402ef2a18d8dcd6fe5311</id>
<content type='text'>
in ./core/subsurface-qt/SettingsObjectWrapper.h

Code for this was removed here: 5b080beddef3e08b86eb53448e737b4867a50c1a

Signed-off-by: Stefan Fuchs &lt;sfuchs@gmx.de&gt;
</content>
</entry>
<entry>
<title>Fix crash when dives have no dive site</title>
<updated>2017-11-25T16:19:47Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2017-11-25T16:19:47Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e20e1aad0e88fab376ab5423bf03e721f2a76940'/>
<id>urn:sha1:e20e1aad0e88fab376ab5423bf03e721f2a76940</id>
<content type='text'>
get_dive_site_by_uuid() returns a NULL pointer in that case.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>mobile: autocomplete location names</title>
<updated>2017-11-25T16:13:42Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2017-11-22T15:19:44Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=64704d6e5a0865c5acb6ce40cc32ba929f41ba00'/>
<id>urn:sha1:64704d6e5a0865c5acb6ce40cc32ba929f41ba00</id>
<content type='text'>
Add the capability to select the location name from a list, constructed
from the known dive sites in the logbook.

Fixes: #546

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>Change prefs.show_units_table to bool</title>
<updated>2017-11-24T15:56:10Z</updated>
<author>
<name>Stefan Fuchs</name>
<email>sfuchs@gmx.de</email>
</author>
<published>2017-11-21T14:52:01Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=bd8830672269297f7030670e10f2191ac824093f'/>
<id>urn:sha1:bd8830672269297f7030670e10f2191ac824093f</id>
<content type='text'>
Bool is the correct choice for this option.
int was used before because it was not clear to me how and if I can use
bool in this C file.

Signed-off-by: Stefan Fuchs &lt;sfuchs@gmx.de&gt;
</content>
</entry>
</feed>
