<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/desktop-widgets, branch v4.8.1</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.8.1</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.8.1'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2018-07-13T18:26:28Z</updated>
<entry>
<title>Code cleanup in diveplanner.cpp</title>
<updated>2018-07-13T18:26:28Z</updated>
<author>
<name>Stefan Fuchs</name>
<email>sfuchs@gmx.de</email>
</author>
<published>2018-07-13T16:45:58Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=daab13eba9924acc69eec3dc23eeb4ef0bfce268'/>
<id>urn:sha1:daab13eba9924acc69eec3dc23eeb4ef0bfce268</id>
<content type='text'>
Move a variable declaration and added some initialization.
Added missing spaces.

Signed-off-by: Stefan Fuchs &lt;sfuchs@gmx.de&gt;
</content>
</entry>
<entry>
<title>Fix configure bluetooth ostc's</title>
<updated>2018-07-13T16:44:33Z</updated>
<author>
<name>Anton Lundin</name>
<email>glance@acc.umu.se</email>
</author>
<published>2018-07-13T14:45:02Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=4c2e1529c02bd72ec9662a04f856d9099f3f327d'/>
<id>urn:sha1:4c2e1529c02bd72ec9662a04f856d9099f3f327d</id>
<content type='text'>
When we introduced the whole check for supported transports code, no one
noticed that it broke configuring all ostc's over bluetooth.

The configure code just used a placeholder model of OSTC 3 to get the
right backend code. With the new supported transports model it errored
out if you where trying to connect to a bluetooth enabled device, just
because the original OSTC 3's wasn't bluetooth enabled.

This switches the placeholder model over to a OSTC Plus which is both
bluetooth, serial and ble capable, so the code works again.

Signed-off-by: Anton Lundin &lt;glance@acc.umu.se&gt;
</content>
</entry>
<entry>
<title>desktop-widget: move qmlRegister from mapwidget to shared helper</title>
<updated>2018-07-12T15:08:00Z</updated>
<author>
<name>jan Iversen</name>
<email>jani@apache.org</email>
</author>
<published>2018-07-11T10:09:36Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ab05fe3cf83526ea63764a6c6587735e8b959527'/>
<id>urn:sha1:ab05fe3cf83526ea63764a6c6587735e8b959527</id>
<content type='text'>
Remove qmlRegister in desktop-widgets/mapwidget in order to have a shared
registration in subsurface-helper.cpp

Signed-off-by: Jan Iversen &lt;jani@apache.org&gt;
</content>
</entry>
<entry>
<title>core: make qPref::cloud_status the only version of the enum</title>
<updated>2018-07-10T17:30:50Z</updated>
<author>
<name>jan Iversen</name>
<email>jani@apache.org</email>
</author>
<published>2018-07-05T18:37:53Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8d66633fe798f6c45978ea1b0d47aa04625d4ac5'/>
<id>urn:sha1:8d66633fe798f6c45978ea1b0d47aa04625d4ac5</id>
<content type='text'>
add enum to qPref and remove elsewhere
update source core to reference qPref.

the enum cannot be in pref.h because it is to be used in qml and Q_ENUM
need the enum to be defined as part of the class

Signed-off-by: Jan Iversen &lt;jani@apache.org&gt;
</content>
</entry>
<entry>
<title>Translations: unify gettextFromC::tr() and QObject::tr()</title>
<updated>2018-07-03T21:33:31Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-07-03T14:52:20Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=57c01f7a66ccd04fc2e83b67a840519db4661798'/>
<id>urn:sha1:57c01f7a66ccd04fc2e83b67a840519db4661798</id>
<content type='text'>
There were two catch-all classes for translations outside of class
context. gettextFromC was used exclusively from C, but C++ used
both, gettextFromC and QObject. Some of the string were even present
in both. Therefore, unify to gettextFromC throughout the code base.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>core: remove double definition of enum cloud_storage_status</title>
<updated>2018-07-03T21:32:30Z</updated>
<author>
<name>jan Iversen</name>
<email>jani@apache.org</email>
</author>
<published>2018-06-16T08:08:34Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2f951413303e10a80e540cacd0c6c282f8ce82cc'/>
<id>urn:sha1:2f951413303e10a80e540cacd0c6c282f8ce82cc</id>
<content type='text'>
Remove cloud_storage_status from qmlprefs.h.
usage to qPref::

enum cloud_storage_status is not used from C, but only from C++, and
having the same structure defined multiple times is a maintenance
challenge.

Signed-off-by: Jan Iversen &lt;jani@apache.org&gt;
</content>
</entry>
<entry>
<title>Dive pictures: implement FindMovedImagesDialog</title>
<updated>2018-07-03T18:27:36Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-06-10T14:40:23Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=09fd5c40d1ad8a33efcfc829cf445ed1de9e4ff0'/>
<id>urn:sha1:09fd5c40d1ad8a33efcfc829cf445ed1de9e4ff0</id>
<content type='text'>
Move the find-moved-images functions into a new translation unit
and present the user with the identified matches before applying
them.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Dive pictures: remove hashes</title>
<updated>2018-07-03T18:27:36Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-06-10T14:39:47Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f3ef38ca0d6db6f7e022a0e565f7460ed22f431e'/>
<id>urn:sha1:f3ef38ca0d6db6f7e022a0e565f7460ed22f431e</id>
<content type='text'>
In the last commits, the canonical-to-local filename map was made
independent from the image hashes and the location of moved images
was based on filename not hashes. The hashes are now in principle
unused (except for conversion of old-style local filename lookups).

Therefore, remove the hashes in this commit. This makes addition
of images distinctly faster.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Dive pictures: find moved pictures based on filename</title>
<updated>2018-07-03T18:27:36Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-06-03T15:26:44Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0646b41275a3f38926c75d2746b3208805da3a23'/>
<id>urn:sha1:0646b41275a3f38926c75d2746b3208805da3a23</id>
<content type='text'>
Users might have edited their pictures. Therefore, instead of identifying
pictures by the hash of the file-content, use the file path. The match
between original and new filename is graded by a score. Currently, this
is the number of path components that match, starting from the filename.
Camparison is case-insensitive.

After having identified the matching images, write the caches so that they
are saved even if the user doesn't cleanly quit the application.

Since the new code uses significantly less resources, it can be run in a
single background thread. Thus, the multi-threading can be simplified.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Dive pictures: index local file name by canonical filname</title>
<updated>2018-07-03T18:27:36Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-06-02T16:03:03Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=08962cb38dbd7e07d98397826c5192f0a4156143'/>
<id>urn:sha1:08962cb38dbd7e07d98397826c5192f0a4156143</id>
<content type='text'>
The connection canonical filename to local filename was done via
two maps:
  1) canonical filename -&gt; hash
  2) hash -&gt; local filename
But the local filename was always queried from the canonical filename.
Therefore, directly index the former with the latter.

On startup, convert the old map to the new one.

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