<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/mobile-widgets, branch v4.9.4</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.9.4</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.9.4'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2020-04-21T14:50:38Z</updated>
<entry>
<title>cleanup: replace constructs of the type &amp;vector[0] by vector.data()</title>
<updated>2020-04-21T14:50:38Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-04-21T07:34:40Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=9b8eed7821c7e55c5e2eccd252184a6d2123e3cd'/>
<id>urn:sha1:9b8eed7821c7e55c5e2eccd252184a6d2123e3cd</id>
<content type='text'>
It appears that some misguided compiler / library combinations crash
on &amp;vector[0] for empty vectors. Even though very unfriendly, they are
technically correct, so let's remove these constructs.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>mobile UI: indicate status of verbose flag</title>
<updated>2020-04-18T16:00:21Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-04-17T19:24:59Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=47506028ca81be864b4cf2f6b87b8e81d18052bc'/>
<id>urn:sha1:47506028ca81be864b4cf2f6b87b8e81d18052bc</id>
<content type='text'>
This way the user can verify that they have set the log to verbose
mode in the developer menu.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>mobile: don't call main loop for notifications once initialized</title>
<updated>2020-04-13T15:33:47Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-04-13T09:21:25Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=3d4412ad1a346d80959cd78395703636d9127699'/>
<id>urn:sha1:3d4412ad1a346d80959cd78395703636d9127699</id>
<content type='text'>
Calling qApp-&gt;processEvents() in QMLManager::setNotificationText()
caused crashes, because it could lead to the context-menu that
initialized the call being deleted. Something that QML apparently
doesn't like.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>mobile: remove overwriting of line special case in ui-notification</title>
<updated>2020-04-13T15:30:51Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-04-13T08:49:33Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=24eac8df872747f6283d21d36f09fe0cbb683210'/>
<id>urn:sha1:24eac8df872747f6283d21d36f09fe0cbb683210</id>
<content type='text'>
On startup, we showed progress of the population of the fulltext
and listmodels for every 100th dive. This worked by overwriting
the last line if the new line started with '\r'. Since we don't
do that anymore, we can remove this special case.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>mobile/startup: fix potential crash when switching back and forth</title>
<updated>2020-04-04T23:12:52Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-04-04T21:40:53Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=c7c5dac6211f42aff0414692645ab338c15118ec'/>
<id>urn:sha1:c7c5dac6211f42aff0414692645ab338c15118ec</id>
<content type='text'>
If the user switches away from Subsurface-mobile and back while we are
in our initialization phase, that code might run more than once leading
to undesirable results.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>mobile/cleanup: create helper function to hide verbose casts</title>
<updated>2020-04-04T23:10:50Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-04-04T21:23:39Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8414f8392690861b98ea59e9f412ca18e2b25f67'/>
<id>urn:sha1:8414f8392690861b98ea59e9f412ca18e2b25f67</id>
<content type='text'>
The strange enum casts (that apparently we needed in order to have strongly typed
enums in QML) are really ugly and confusing in the code. Since we had this three
times it seemed worth to create a little helper that hides this nonsense.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>mobile/cloud-storage: correctly transition from no-cloud to cloud</title>
<updated>2020-04-04T23:10:50Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-04-04T21:15:29Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6aaa9a40b6ca57b018f1c9172049dbe34b8632f8'/>
<id>urn:sha1:6aaa9a40b6ca57b018f1c9172049dbe34b8632f8</id>
<content type='text'>
We know that we have valid credentials, so calling openLocalThenRemote()
makes no sense, worse, it doesn't respect the special case of
transitioning between accounts. That's the whole point of having a
separate loadDivesWithValidCredentials() call.

Once we have transitioned state, we need to record the now current state
as the old state so that future transitions will work.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>mobile/cloud-storage: fix test for no cloud to cloud transition</title>
<updated>2020-04-04T23:10:50Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-04-04T21:13:12Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7757ce878b3b9351bbc0fcf2f98e211b62203d4a'/>
<id>urn:sha1:7757ce878b3b9351bbc0fcf2f98e211b62203d4a</id>
<content type='text'>
The noCloud variable contains our desired state, we need to test for the
previous state for this to make sense.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>mobile/cleanup: remove outdated comment and fix whitespace</title>
<updated>2020-04-04T23:10:50Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-04-04T21:10:19Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=46032af320bb4bf405f9c94a151da73fd49504a2'/>
<id>urn:sha1:46032af320bb4bf405f9c94a151da73fd49504a2</id>
<content type='text'>
We haven't supported the GPS web service for a long time.

Also, add another message for the log to be able to more easily trace
one error case.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>mobile/undo: set undo stack as clean after save</title>
<updated>2020-04-04T23:09:57Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-04-04T21:51:28Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=1de56d468fda51b03c0bc3361822a7ae3b42dbb5'/>
<id>urn:sha1:1de56d468fda51b03c0bc3361822a7ae3b42dbb5</id>
<content type='text'>
If we're using the undo stack for determining the whether there are
unsaved changes, we have to mark the undo stack as clean after save.

This duplicates code from desktop. It is planned to unify this in
the near future.

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