<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/desktop-widgets, branch v4.7.4</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.7.4</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.7.4'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2017-11-11T20:01:42Z</updated>
<entry>
<title>Fix memory leak in download-from-dive-computer widget</title>
<updated>2017-11-11T20:01:42Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2017-11-11T18:40:47Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=efabf0a55cfe8be542fc9c694721d32ecd86583c'/>
<id>urn:sha1:efabf0a55cfe8be542fc9c694721d32ecd86583c</id>
<content type='text'>
Instead of (re)allocating the vendor and product models, use the
setStringList method on sub objects.

Even though only a theoretical problem, the model objects are moved
in front of the ui object, so that the widgets referencing the models
are destroyed first.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Initialize Facebook page only when dialog is shown</title>
<updated>2017-11-10T18:04:28Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2017-11-10T09:30:26Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=d1d4b4edb11de05294ba2502f1b87506d24c23f1'/>
<id>urn:sha1:d1d4b4edb11de05294ba2502f1b87506d24c23f1</id>
<content type='text'>
Quick hack to avoid Facebook access on every program start. Move the initialization
of the login page from the FacebookConnectWidget constructor to the show event handler.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>preferences: support a pre-defined list of time formats</title>
<updated>2017-11-10T17:21:47Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2017-11-10T15:28:09Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=513f5a0230f5039ba5407562a7539a22cb20802a'/>
<id>urn:sha1:513f5a0230f5039ba5407562a7539a22cb20802a</id>
<content type='text'>
Add a combo-box that holds a list of pre-defined time formats
in the Language preferences.

The user is still allowed to enter a custom time format.

Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
</content>
</entry>
<entry>
<title>preferences: re-use a tr() string in _language.cpp</title>
<updated>2017-11-10T17:21:47Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2017-11-10T14:56:54Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=4fde26fb2c8478176bdd77be19e091695b744ae8'/>
<id>urn:sha1:4fde26fb2c8478176bdd77be19e091695b744ae8</id>
<content type='text'>
Also, tell "in date format" instead of "in time format"
for dates.

Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
</content>
</entry>
<entry>
<title>preferences: support a pre-defined list of date formats</title>
<updated>2017-11-10T17:21:47Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2017-11-10T14:52:12Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2c06cb027f20eee42769fb3a56e41c87b1a4d252'/>
<id>urn:sha1:2c06cb027f20eee42769fb3a56e41c87b1a4d252</id>
<content type='text'>
Add a combo-box in place of the single line text field and
support some pre-defined date formats, such as:
MM/dd/yyyy

Each long format has a corresponding short variant stored in the
QMap dateFormatShortMap and it's updated automatically once
the user selects a combo box item for the long format.

The regex for dates is slighly modified:
[^dMy/\\s:;\\.,\\-]

The user is still allowed to enter custom long / short date foramats.

Fixes #276

Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
</content>
</entry>
<entry>
<title>map-widget: allow real-time updates of edited markers</title>
<updated>2017-11-09T20:40:25Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2017-11-09T16:43:21Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=746874a78e2abb53655e422abe66aa4f61fe47d1'/>
<id>urn:sha1:746874a78e2abb53655e422abe66aa4f61fe47d1</id>
<content type='text'>
This patch allows updating the location of map markers
while editing a dive site and updating the text in the
LocationInformationWidget in real-time.

Currently it is only possible to see the marker changes by
clicking 'Apply'.

The modification required the following changes:
- add the MapWidget::updateCurrentDiveSiteCoordinatesToMap() slot
and call it each time the GPS text updates
- separate the updateCurrentDiveSiteCoordinates(FromMap/ToMap) logic
by having the FromMap/ToMap suffix to method names
- make MapWidgetHelper::updateCurrentDiveSiteCoordinatesToMap()
call a new MapLocationModel::updateMapLocationCoordinates()
method, which updates selected location coordinates and the model
- add MapLocation::setCoordinateNoEmit() that does not emit
a signal when updating a coordinate

Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
</content>
</entry>
<entry>
<title>BT device selection dialog: make Save the default button</title>
<updated>2017-11-06T22:05:26Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2017-11-05T17:16:46Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=77aaaa787bc201df79c47e23ed974c4a9e73cb64'/>
<id>urn:sha1:77aaaa787bc201df79c47e23ed974c4a9e73cb64</id>
<content type='text'>
When a user presses enter, they probably want their selection saved,
not discarded.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Remove unnecessary == NULL test.</title>
<updated>2017-11-06T22:05:26Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2017-11-04T18:18:43Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=20922e261a0f1ecb9b50a0717cbfef0a213c6d04'/>
<id>urn:sha1:20922e261a0f1ecb9b50a0717cbfef0a213c6d04</id>
<content type='text'>
Test not necessary, because the QString in question is not a pointer
and the string is tested for emptiness (which also flags null-strings).

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>map-widget: move the widget and its resources to 'map-widget'</title>
<updated>2017-11-05T22:48:56Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2017-11-04T19:23:37Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=956b45ddfda060fcd818659ee05618ed2e4bfcab'/>
<id>urn:sha1:956b45ddfda060fcd818659ee05618ed2e4bfcab</id>
<content type='text'>
Move all the map widget platform agnostic files to the
&lt;subsurface-root&gt;/map-widget folder.

This avoids the confusion about the desktop version of subsurface
using mobile components. The map widget is planned as a shared
component between the mobile and desktop versions.

desktop-widgets/mapwidget[.h/.cpp] still remain as those are specific
to the desktop version.

Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
</content>
</entry>
<entry>
<title>Replace itemClicked() by currentItemChanged() in Bt device selection</title>
<updated>2017-11-04T16:27:24Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2017-11-04T14:09:07Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=617c6d3564e562df580824280654d9edaf238084'/>
<id>urn:sha1:617c6d3564e562df580824280654d9edaf238084</id>
<content type='text'>
This fixes two problems:

1) Using the keybord or clicking below the list and moving the mouse
up while holding the mouse button did not properly update the status
message and the save button. For example, one could save with a non-
paired device selected.

2) The code assumed that a device is selected if the save button is
active, but the save button was not disabled on scan. Thus, one could
provoke a crash by selecting an item, scanning and then pressing save.
This problem is fixed indirectly, because the save button is now always
disabled if the selection is cleared.

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