<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/mobile-widgets, branch v4.7.6</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.7.6</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.7.6'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2017-12-26T23:57:45Z</updated>
<entry>
<title>Cleanup: avoid out of bounds access</title>
<updated>2017-12-26T23:57:45Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2017-12-26T23:42:32Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b4b8a9db4e77aa015d5a90e505c1febf00ab3621'/>
<id>urn:sha1:b4b8a9db4e77aa015d5a90e505c1febf00ab3621</id>
<content type='text'>
sizeof() is clearly the wrong way to get to the size of that array...

Coverity CID 208297

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Cleanup: check we have dive before dereferencing</title>
<updated>2017-12-26T21:41:58Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2017-12-26T21:37:40Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2c8614e43ed6f543f2e644661004a88414a0404e'/>
<id>urn:sha1:2c8614e43ed6f543f2e644661004a88414a0404e</id>
<content type='text'>
Coverity CID: 208341

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>mobile: close GPS menu drawer when selected</title>
<updated>2017-12-26T21:08:37Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2017-12-26T10:36:43Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ff3b107a9de188fd58e010d6b86f30a786293ada'/>
<id>urn:sha1:ff3b107a9de188fd58e010d6b86f30a786293ada</id>
<content type='text'>
This is mainly a cosmetic improvement. The GPS menu stayed
visible, when selecting most of the options. This looks weird,
as the close of the menu is also an indication of the selected
action carried out. So, just close it

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>CHANGELOG.md</title>
<updated>2017-12-18T14:23:23Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2017-12-18T13:48:15Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=5e116db1a19f344a6edbb70a535273e9381f8aea'/>
<id>urn:sha1:5e116db1a19f344a6edbb70a535273e9381f8aea</id>
<content type='text'>
Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>mobile: exit edit mode when navigating away from edit page</title>
<updated>2017-12-18T14:23:23Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2017-12-18T13:37:02Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=825afb4db4b69b507473f91234575bc9dc44a02e'/>
<id>urn:sha1:825afb4db4b69b507473f91234575bc9dc44a02e</id>
<content type='text'>
Navigating using the breadcrumb in the header did leave the
dive detail edit (and add) mode in such a way that (for example)
navigation in the dive list was suspended. Obviously, it is
debatable what should be done. Saving the edits/add, or
cancelling them. For now, this commit cancels them
silently. This is the exact same thing that is happening when
the user selects the dive list from the drawer menu.

Fixes: #932

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>Cleanup: fix potential uninitialized use of uuid</title>
<updated>2017-12-17T17:12:44Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2017-12-17T16:44:43Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=648fec7a3d0b65afdc95c71a638d0f792b93adf2'/>
<id>urn:sha1:648fec7a3d0b65afdc95c71a638d0f792b93adf2</id>
<content type='text'>
And make sure we don't create a dive site for an empty location string.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>mobile: use short date format in edit mode</title>
<updated>2017-12-17T17:04:16Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2017-12-17T08:02:48Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b59778abd8717ada5b592e8afc08dace0b7538a1'/>
<id>urn:sha1:b59778abd8717ada5b592e8afc08dace0b7538a1</id>
<content type='text'>
See issue #949. In the dive list, dates are shown in short format, and
when we start to edit an existing dive, the date field on the edit
page is shown in sort format. However, when adding a new dive, the
initial date shows up in long (normal) format. This in not only
inconsistent, but also introduces the parsing problem, as described
in the mentioned issue.

This can be fixed by using short formatted dates in all cases in
the mobile app. As the screen real estate is precious on mobile,
this seems the most logical choice.

Fixed: #949

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>mobile: manual add dive and cancel fails when repeated</title>
<updated>2017-12-17T03:04:57Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2017-12-15T20:51:24Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b1d94b247067a5cb07d6bdf8a9c2519e5309c326'/>
<id>urn:sha1:b1d94b247067a5cb07d6bdf8a9c2519e5309c326</id>
<content type='text'>
This commit fixes a very subtle bug. Probably there for ages,
but never noticed. When manually adding a dive, and canceling
the add right away, the divetable was extended by 1 dive (using
the core function add_single_dive), but canceling never removed
that dive (using delete_single_dive). This is corrected here.

Notice that commit ef543da5aff296e claims to fix issue #950.
With this commit, however, that issue can be seen sometimes
again.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>mobile: clear internal data when edit/add dive is finished</title>
<updated>2017-12-15T17:03:24Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2017-12-15T16:13:15Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ef543da5aff296e4e4996a87e22165cf43ef2e87'/>
<id>urn:sha1:ef543da5aff296e4e4996a87e22165cf43ef2e87</id>
<content type='text'>
When editing (or adding) a dive, the internal data containing the
attributes on the edit page was not cleared when editing was
finished (in any way, by saving the edit or by cancelling it).
As long as the user only edits existing dives, all this poses
no problem, as at the start of a dive edit, the data is filled
from the dive to be edited. However, when adding a dive, data
coming from previous edits shows up. This not clearing data
also causes the strange effect as written in issue #950: adding
a dive, deleting it, and adding a dive again, added the first
added dive data, without the edit screen being shown.

All this can be solved by clearing the data from the edit when
editing is done.

Fixes: #950

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>mobile: show message when going offline</title>
<updated>2017-12-14T16:01:51Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2017-12-13T21:07:21Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=62ef78b5e8db4fb95a915c15e3fe117f99df7f65'/>
<id>urn:sha1:62ef78b5e8db4fb95a915c15e3fe117f99df7f65</id>
<content type='text'>
Trivial fix. Show the message "Turning off automatic
sync to cloud ..." when turning automatic sync to offline. Just
a more logical moment to show this message. Also rephrase the
message "Enable auto sync" to "Auto sync enabled". It shows
a status, and not an action.

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