<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/mobile-widgets, branch v4.8.0</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.8.0</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.8.0'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2018-06-28T13:52:14Z</updated>
<entry>
<title>Android: limit the amount of data copied to clipboard</title>
<updated>2018-06-28T13:52:14Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-06-28T13:42:13Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e79d177c7150166851e1e8152ecdd1908e1bcacf'/>
<id>urn:sha1:e79d177c7150166851e1e8152ecdd1908e1bcacf</id>
<content type='text'>
The clipboard fails if we attempt to copy more than 1MB of data. But the
data buffer used is shared between all transactions 'in flight' and we
cannot tell what else is currently using that buffer. Limiting ourselves
to 500k of text for the logfiles seems reasonable and hopefully makes it
more likely that the transaction will succeed (sadly, Qt doesn't tell us
if it failed).

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>iOS and Android: try more logfile locations</title>
<updated>2018-06-28T13:17:31Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-06-28T11:54:08Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=bcde65b152f2fdbf0e068c3a9dfabe138be2efca'/>
<id>urn:sha1:bcde65b152f2fdbf0e068c3a9dfabe138be2efca</id>
<content type='text'>
On some devices (e.g., a Sony Xperia phone) the GenericDataLocation is
not app writeable. Instead of just giving app, try a few other default
locations as well (and since all of these are actually string lists,
try all of the options that Qt gives us).

Reasonably, we should only set the libdivecomputer logfile name if we
found a writeable location.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>QML UI: provide information why logfile couldn't be written</title>
<updated>2018-06-28T12:39:10Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-06-28T11:44:50Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=1161782f3b8b6f0cebe62626e3c065f74b85bc07'/>
<id>urn:sha1:1161782f3b8b6f0cebe62626e3c065f74b85bc07</id>
<content type='text'>
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>QML UI: fix layout of Download page</title>
<updated>2018-06-27T23:28:01Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-06-27T23:27:59Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=478b5de9e706e2c74fc322c29c1c3861d637f408'/>
<id>urn:sha1:478b5de9e706e2c74fc322c29c1c3861d637f408</id>
<content type='text'>
The info text from the download process wasn't rendered correctly.
maximumWidth ended being a recursive reference and as a result the text
would render as very narrow and super-tall field.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>QML UI: remove unused property</title>
<updated>2018-06-27T23:05:36Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-06-27T23:05:36Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ef17c78e2387ac0e26a3334ecc287f16e82ab06e'/>
<id>urn:sha1:ef17c78e2387ac0e26a3334ecc287f16e82ab06e</id>
<content type='text'>
We always save the libdivecomputer log.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>QML UI: don't use anchors within Layouts</title>
<updated>2018-06-25T19:56:44Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-06-25T08:41:29Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f998b59900c0d66441fa9877930754daf084aea9'/>
<id>urn:sha1:f998b59900c0d66441fa9877930754daf084aea9</id>
<content type='text'>
Qt 5.11 adds useful warnings when code attempts to use anchors within
Layouts and even tells you how to fix things.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>mobile: remove MapWidget from mobile-resources.qrc</title>
<updated>2018-06-22T03:27:58Z</updated>
<author>
<name>jan Iversen</name>
<email>jani@apache.org</email>
</author>
<published>2018-06-20T13:53:59Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ff88e7ee99ca1e6ba8557c3b394e68c2e256c5dc'/>
<id>urn:sha1:ff88e7ee99ca1e6ba8557c3b394e68c2e256c5dc</id>
<content type='text'>
remove MapWidget entries from mobile-resources.qrc, and
reference map-widget.qrc in Subsurface-mobile.pro for iOS

Signed-off-by: Jan Iversen &lt;jani@apache.org&gt;
</content>
</entry>
<entry>
<title>mobile: iOS/Android: always delete libdivecomputer.log at start</title>
<updated>2018-06-21T08:17:35Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-06-21T08:09:45Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=74d1afc0d5cd2baa6a787864d41d742f7864029d'/>
<id>urn:sha1:74d1afc0d5cd2baa6a787864d41d742f7864029d</id>
<content type='text'>
This way the user doesn't inadvertantly end up with information from a previous
run of Subsurface-mobile when they copy the logs to the clipboard.

Not sure we should do the same when building for desktop, so right now it's
only when building for a device.

Reported-by: Thomas Fänge &lt;thomas.fange@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>QML UI: remove unused property</title>
<updated>2018-06-20T04:23:59Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-06-20T04:23:59Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b75eae95c194452499ba73e606c0bc0b41d3fb32'/>
<id>urn:sha1:b75eae95c194452499ba73e606c0bc0b41d3fb32</id>
<content type='text'>
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>QML UI: ensure we track vendor/product for download</title>
<updated>2018-06-20T03:07:11Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-06-20T03:07:08Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7f7e7cf51db13d9fbe0f3b67eb97a971dcf8cb29'/>
<id>urn:sha1:7f7e7cf51db13d9fbe0f3b67eb97a971dcf8cb29</id>
<content type='text'>
This is based on something that Anton Ludin sent to the mailing list.
Reading through the code it seemed that there were scenarios in which
DC_vendor and DC_product were not updated correctly. That's one of the
problems of the declarative approach in QML - it can be very hard to
figure out which code is run when in certain situations.

This may help address the issue with FTDI downloads no longer working on
Android.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
