<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/mobile-widgets/qml, branch v4.7.7</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.7.7</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.7.7'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2018-02-08T20:29:47Z</updated>
<entry>
<title>Mobile cleanup: remove unused actions</title>
<updated>2018-02-08T20:29:47Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-02-08T17:47:56Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=72f59d54cb61e250274b43f2a5831acf3f29d0fd'/>
<id>urn:sha1:72f59d54cb61e250274b43f2a5831acf3f29d0fd</id>
<content type='text'>
Trivial removal of 2 unused Kirigami actions. These were leftovers
from the time we had a very different style of cloud account
management.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>mobile cleanup: repair stupid mistake</title>
<updated>2018-02-02T12:13:46Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-02-02T12:05:42Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6a53ec69ae7ec101a6a239221c64255126b5883f'/>
<id>urn:sha1:6a53ec69ae7ec101a6a239221c64255126b5883f</id>
<content type='text'>
Commits fed2c5b6a1 and 572fc4707 erroneously deleted two
aliases. That is corrected here. Yes, QML with only runtime
errors can be a pain.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<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>mobile: fix crash on delete dive from divelist</title>
<updated>2018-01-10T19:34:16Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-01-07T15:08:25Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6193aef9ac7678a66748d6cd410e387024cc16cb'/>
<id>urn:sha1:6193aef9ac7678a66748d6cd410e387024cc16cb</id>
<content type='text'>
This is a somewhat hacky commit. For a very long time, the delete
from the divelist on mobile crashed. That is, not always for anyone,
but for me almost consistently. This commit tries to solve it.

I found that trying to save the delete immediately after removing
data from the underlying model seemed to cause the crash. Hacking
around, I found that a simple beginResetModel/endResetModel between
the delete of the underlying model data and actual save is
sufficient to solve the crash.

The big question is, why does this all work? I suspect some of race
condition between deleting model data, and giving the QML engine
the opportunity to do its thing.

This is also related to issue #311, but that is not implemented
here.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>mobile: silence warnings in the app log</title>
<updated>2018-01-03T13:04:08Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-01-03T12:10:06Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=47bf5cf5e002ada21b03892d5229882db109015f'/>
<id>urn:sha1:47bf5cf5e002ada21b03892d5229882db109015f</id>
<content type='text'>
The new SHA mysteriously caused more than 300 extra warnings in the
app log. It was caused by a code change in Kirigami. The way to
suppress it is, in hindsight, after some hours of searching, trivial.
A Kirigami.BasicListItem shall have an icon defined. And as we do
not care about any icon here, just define it empty.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>mobile: newer Kirigami SHA</title>
<updated>2018-01-03T13:04:08Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-01-02T16:02:19Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=a5b44362c62b303fa1cedaa633588243b264bfa0'/>
<id>urn:sha1:a5b44362c62b303fa1cedaa633588243b264bfa0</id>
<content type='text'>
This commit consists of the following 3 parts:
1. There are 2 source files added, adapt our build process
accordingly.
2. Due to a change in icon and kirigami QML prefixes, we need to
adapt for this as well. Changed mobile-resources.qrc for that.
When this would not be changed, the icons will not be found.
3. To further prepare for the future, abandon the iconName
property in favour of the new icon grouped property, which
can have more attributes than only the name. But currently
it is only a syntactic change.

Tested on Android device, and no visible changes.

Signedoff-by: Jan Mulder &lt;jlmulder@xs4all.nl
</content>
</entry>
<entry>
<title>Get ready for 2018</title>
<updated>2017-12-30T16:23:22Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2017-12-29T08:00:55Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=86860b941eb29758f9ead44137db9d0ac3b32504'/>
<id>urn:sha1:86860b941eb29758f9ead44137db9d0ac3b32504</id>
<content type='text'>
Copyright strings updated.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
</feed>
