<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/desktop-widgets, branch v4.7.8</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.7.8</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.7.8'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2018-04-04T11:10:45Z</updated>
<entry>
<title>Add "Tags" column in Desktop app's dive list view</title>
<updated>2018-04-04T11:10:45Z</updated>
<author>
<name>Jeremie Guichard</name>
<email>djebrest@gmail.com</email>
</author>
<published>2018-04-04T06:18:29Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=12dc1889c704c6af9125d3ef3f0d2a1c1fe603f7'/>
<id>urn:sha1:12dc1889c704c6af9125d3ef3f0d2a1c1fe603f7</id>
<content type='text'>
Add DiveItem::displayTags helper method to return Tags as a QString
New Tags column is
 by default inserted before "Photos" column
 by default disabled

Signed-off-by: Jeremie Guichard &lt;djebrest@gmail.com&gt;
</content>
</entry>
<entry>
<title>Revert "GPS: use applyGpsLocation::applyLocations from core"</title>
<updated>2018-04-03T18:52:46Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-04-03T18:52:46Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7e73b30e974064235a9a52f543a3620eca0f20a7'/>
<id>urn:sha1:7e73b30e974064235a9a52f543a3620eca0f20a7</id>
<content type='text'>
This reverts commit 70e0e80de5470216df939f994ffda0222560def0.

This caused the GPS workflow to break for Linus. Let's revert
for 4.7.8 and figure out how to do this cleanup correctly, later.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Revert "cleanup: localize global variable"</title>
<updated>2018-04-03T18:52:19Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-04-03T18:51:26Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ceaf26d198f9795fde5da43be6a904bc3c133a98'/>
<id>urn:sha1:ceaf26d198f9795fde5da43be6a904bc3c133a98</id>
<content type='text'>
This reverts commit fc7729eb78e7dae803546b3cc0011260e779a2e8.

This caused the GPS workflow to break for Linus. Let's revert
for 4.7.8 and figure out how to do this cleanup correctly, later.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Dive pictures: Move metadata functions into own translation unit</title>
<updated>2018-04-01T13:04:48Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-03-15T19:21:40Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=9b2482aca9bed6dc512f52131b54b4db915f549c'/>
<id>urn:sha1:9b2482aca9bed6dc512f52131b54b4db915f549c</id>
<content type='text'>
Move all metadata function into new core/metadata.cpp file.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Profile heatmap/heartrate: Only enable max one of these at same time</title>
<updated>2018-03-19T22:44:02Z</updated>
<author>
<name>Stefan Fuchs</name>
<email>sfuchs@gmx.de</email>
</author>
<published>2018-03-17T09:48:45Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=cfd4c42829025abefc8f8c4f9b77a18c52722b39'/>
<id>urn:sha1:cfd4c42829025abefc8f8c4f9b77a18c52722b39</id>
<content type='text'>
Only allow to enable maximum one of both items tissue heatmap or
heartrate in profile.
This is done by always switching off the other one at the moment you
turn on one of the two items (heatmap or heartrate).

Signed-off-by: Stefan Fuchs &lt;sfuchs@gmx.de&gt;
</content>
</entry>
<entry>
<title>Cleanup: Initialize variable MainTab::lastSelectedDive</title>
<updated>2018-03-19T15:54:31Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-03-15T21:41:59Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8180e494270e3b09f7c52790251a860bb1da66e4'/>
<id>urn:sha1:8180e494270e3b09f7c52790251a860bb1da66e4</id>
<content type='text'>
This variable was read before being set.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: consistently use toUtf8() instead of toLocal8Bit()</title>
<updated>2018-03-14T11:55:36Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-03-02T19:29:50Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2105d3c7d00adef2ddce679a43a7a77f95168c7a'/>
<id>urn:sha1:2105d3c7d00adef2ddce679a43a7a77f95168c7a</id>
<content type='text'>
These do the same, since the text-codex is set to UTF-8 on startup.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: introduce copy_qstring() function</title>
<updated>2018-03-14T11:55:36Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-02-28T22:37:09Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=d1572a8d9574e80955796b8667317c8dbd376081'/>
<id>urn:sha1:d1572a8d9574e80955796b8667317c8dbd376081</id>
<content type='text'>
strdup(qPrintable(s)) and copy_string(qPrintable(s)) were such common
occurrences that they seem worthy of a short helper-function.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: consistently use qPrintable()</title>
<updated>2018-03-14T11:55:36Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-02-25T12:51:41Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b72cc1f31784346884c8552c22f1e4c3c6d5ed1d'/>
<id>urn:sha1:b72cc1f31784346884c8552c22f1e4c3c6d5ed1d</id>
<content type='text'>
Replace constructs of the kind
  s.toUtf8().data(),
  s.toUtf8().constData(),
  s.toLocal8Bit().data(),
  s.toLocal8Bit.constData() or
  qUtf8Printable(s)
by
  qPrintable(s).

This is concise, consistent and - in principle - more performant than
the .data() versions.

Sadly, owing to a suboptimal implementation, qPrintable(s) currently
is a pessimization compared to s.toUtf8().data(). A fix is scheduled for
new Qt versions: https://codereview.qt-project.org/#/c/221331/

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: Fold add_hash() call into learnHash() function</title>
<updated>2018-03-05T16:04:57Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-02-18T13:57:42Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f5eafe2a713998b345027373a26ad73af9e060b5'/>
<id>urn:sha1:f5eafe2a713998b345027373a26ad73af9e060b5</id>
<content type='text'>
learnHash() was always called in conjunction with add_hash(). The
pattern was that a local filename and a hash were connected in
the hash-to-filename and the filename-to-hash maps. Then, the
original picture-filename or url were registered in the filename-to-hash
map.

This commit changes learnHash() to take three parameters (original-filename,
local-filename and hash) and do all of the above. The new code is
simpler because no dummy picture struct has to be generated in
DiveListView::loadImageFromURL().

The tests were extended to check for all hash&lt;-&gt;filename associations.

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