<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/mobile-widgets, branch master</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=master</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2021-09-27T15:42:50Z</updated>
<entry>
<title>mobile: restore dev_info display</title>
<updated>2021-09-27T15:42:50Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-09-27T15:42:50Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=5e9ee9febb595ced1699e1f60a659e01266ec7e9'/>
<id>urn:sha1:5e9ee9febb595ced1699e1f60a659e01266ec7e9</id>
<content type='text'>
In commit 105b60389c ("mobile: remove GpsLocation reference from qmlmanager") I
was a bit careless with the code removal and unintentionally also removed the
initialization of the progress callback.  With this change the updates from the
download process are once again shown on screen in the mobile app.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Re-do the libdivecomputer fingerprint save/load code</title>
<updated>2021-09-19T23:51:46Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2021-09-19T01:52:50Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=85392343fa393054ddd3446aa38c3be941eb02c5'/>
<id>urn:sha1:85392343fa393054ddd3446aa38c3be941eb02c5</id>
<content type='text'>
This tries to make our fingerprinting code work better, by avoiding
using the "deviceid" field that has always been unreliable because we've
calculated it multiple different ways, and even for the same version of
subsurface, it ends up changing in the middle (ie we calculate one value
initially, then re-calculate it when we have a proper serial number
string).

So instead, the fingerprinting code will look up and save the
fingerprint file using purely "stable" information that is available
early during the download:

 - the device model name (which is a string with vendor and product name
   separated by a space)

 - the DC_EVENT_DEVINFO 32-bit 'serial' number (which is not necessarily
   a real serial number at all, but hopefully at least a unique number
   for the particular product)

but because the model name is not necessarily a good filename (think
slashes and other possibly invalid characters), we hash that model name
and use the resulting hex number in the fingerprint file name.

This way the fingerprint file is unambiguous at load and save time, and
depends purely on libdivecomputer data.

But because we also need to verify that we have the actual _dive_
associated with that fingerprint, we also need to save the final
deviceid and diveid when saving the fingerprint file, so that when we
load it again we can look up the dive and verify that we have it before
we use the fingerprint data.

To do that, the fingerprint file itself contains not just the
fingerprint data from libdivecomputer, but the last 8 bytes of the file
are the (subsurface) deviceid and the diveid of the dive that is
associated with the fingerprint.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>core: remove location service preferences</title>
<updated>2021-09-13T18:21:34Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-09-12T00:01:16Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2a0d14b10065540d7d709950c0005bed459f5e82'/>
<id>urn:sha1:2a0d14b10065540d7d709950c0005bed459f5e82</id>
<content type='text'>
Including the related tests.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>mobile: remove GpsLocation</title>
<updated>2021-09-13T18:21:34Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-09-11T21:45:35Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6f813b9f8e58a7b6529e3be728e0ae37e8401400'/>
<id>urn:sha1:6f813b9f8e58a7b6529e3be728e0ae37e8401400</id>
<content type='text'>
Only used in context of acquiring GPS locations with the mobile app, which
we no longer do.

Keep the DiveAndLocation structure around as that's needed by the
ApplyGpsFixes command.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>mobile: remove GpsLocation reference from qmlmanager</title>
<updated>2021-09-13T18:21:34Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-09-11T23:57:47Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=105b60389c1468870bb3d08a93ee93a829048f65'/>
<id>urn:sha1:105b60389c1468870bb3d08a93ee93a829048f65</id>
<content type='text'>
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>mobile: remove locationService interfaces</title>
<updated>2021-09-13T18:21:34Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-09-11T23:53:44Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=5bc99194da2db9f561a04751e7ed206a03dcc9c3'/>
<id>urn:sha1:5bc99194da2db9f561a04751e7ed206a03dcc9c3</id>
<content type='text'>
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>mobile: remove hasLocationSourceChanged interface</title>
<updated>2021-09-13T18:21:34Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-09-11T23:50:41Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7bf90fd2087d5082ab016587d1b980ddfef3d665'/>
<id>urn:sha1:7bf90fd2087d5082ab016587d1b980ddfef3d665</id>
<content type='text'>
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>mobile: remove logText property</title>
<updated>2021-09-13T18:21:34Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-09-11T23:48:07Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=085c65b0c42f7877c7b191c0bf3659e633df01c6'/>
<id>urn:sha1:085c65b0c42f7877c7b191c0bf3659e633df01c6</id>
<content type='text'>
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>mobile: remove deleteGpsFix interface</title>
<updated>2021-09-13T18:21:34Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-09-11T23:44:45Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f33c90ba6ba372656abe8f2b23047d6c183c2886'/>
<id>urn:sha1:f33c90ba6ba372656abe8f2b23047d6c183c2886</id>
<content type='text'>
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>mobile: remove applyGpsData interface</title>
<updated>2021-09-13T18:21:34Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-09-11T23:43:53Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=094a3b01c8d69a3fad902ac58792ad91a3b973c8'/>
<id>urn:sha1:094a3b01c8d69a3fad902ac58792ad91a3b973c8</id>
<content type='text'>
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
