<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/map-widget, branch v4.7.7</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.7.7</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.7.7'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2017-12-28T16:30:25Z</updated>
<entry>
<title>cleanup: Uninitialized pointer field</title>
<updated>2017-12-28T16:30:25Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2017-12-28T11:20:34Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=92a5e0644e1cb6c25c2c5e96b39d2368f0f1be5b'/>
<id>urn:sha1:92a5e0644e1cb6c25c2c5e96b39d2368f0f1be5b</id>
<content type='text'>
CID: 208335

Mainly to silence Coverity, as I do not believe this caused
any problem.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>mapwidget: QtQuick really to 2.5</title>
<updated>2017-12-24T19:33:46Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2017-12-24T19:06:43Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=36c8a7e4cadaeb86e71a220710936a2e1e4290dd'/>
<id>urn:sha1:36c8a7e4cadaeb86e71a220710936a2e1e4290dd</id>
<content type='text'>
It shall match the Qt version ... according to Dirk.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>mapwidget: revert QtQuick version to 2.0</title>
<updated>2017-12-24T18:56:00Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2017-12-24T17:55:26Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=4c4222d61119e437b4b79e36903a5b357756de21'/>
<id>urn:sha1:4c4222d61119e437b4b79e36903a5b357756de21</id>
<content type='text'>
In commit f3d978b8a5fb6 the QtQuick version was upgraded
to 2.6 (from 2.0 for the mapwidget). This is, apparently,
too agressive, as there are still mainstream distributions
that are still on Qt 5.5.1 for which 2.6 of QtQuick is too
new. And as a sidenote: Qt 5.5.1 was released in October
2015.

So partially revert commit f3d978b8a5fb6.

Fixes: #978

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>Use better aliases for icons.</title>
<updated>2017-12-01T07:14:46Z</updated>
<author>
<name>Martin Měřinský</name>
<email>mermar@centrum.cz</email>
</author>
<published>2017-11-29T09:57:08Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8ef87e618afd1ec943c0f42a852b3b393c1e2113'/>
<id>urn:sha1:8ef87e618afd1ec943c0f42a852b3b393c1e2113</id>
<content type='text'>
Icon aliases were complete mess.
Some icons had alias some didn't.
Named with underscores vs. hyphens vs. camelCase.
Lower vs. upper case.
"ICON" prefix vs. suffix vs. nothing.
With vs. without filename suffix.
Some didn't make sence. Eg. mapwidget-marker-gray
(I can see, it's grey, but what does it represent?)
Some were duplicated, eg warning vs. warning-icon.
Some were name after widget, which is wrong.

Do not reinvent wheel. Use widely used naming scheme
close to Freedesktop Icon Naming Specification. This
will enable usage of common icons from current set in
the future. Thus Subsurface will fit nicely to GUI.

This changes icon aliases to one, easy grep-able style.

Signed-off-by: Martin Měřinský &lt;mermar@centrum.cz&gt;
</content>
</entry>
<entry>
<title>Revert "Use consistent aliases for all icons."</title>
<updated>2017-11-29T22:05:07Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2017-11-29T22:04:52Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2747056889c6e003880201998353e28591faab62'/>
<id>urn:sha1:2747056889c6e003880201998353e28591faab62</id>
<content type='text'>
This reverts commit 92e9c6606f6ef3ad16d2e31f9f9a8f5fa14f2c1a.
</content>
</entry>
<entry>
<title>Use consistent aliases for all icons.</title>
<updated>2017-11-29T10:46:35Z</updated>
<author>
<name>Martin Měřinský</name>
<email>mermar@centrum.cz</email>
</author>
<published>2017-11-29T09:57:08Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=92e9c6606f6ef3ad16d2e31f9f9a8f5fa14f2c1a'/>
<id>urn:sha1:92e9c6606f6ef3ad16d2e31f9f9a8f5fa14f2c1a</id>
<content type='text'>
Icon aliases were inconsistent mess. Underscores vs. hyphens vs. camelCase.
With vs. without filename suffix. Lower vs. upper case. "icon" suffix vs.
prefix vs. nothing. Some were duplicated, eg warning vs. warning-icon. Some
icons didn't have alias at all.

This changes all icon aliases to one, easy grep-able style which complies
to Freedesktop Icon Naming Specification (Guidelines).

Signed-off-by: Martin Měřinský &lt;mermar@centrum.cz&gt;
</content>
</entry>
<entry>
<title>mapwidget.qml: return early instead of doing branching</title>
<updated>2017-11-27T21:59:22Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2017-11-27T15:13:57Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=837ed67d867991fd82773205970813426a806852'/>
<id>urn:sha1:837ed67d867991fd82773205970813426a806852</id>
<content type='text'>
The centerOn*() functions can just return early
for invalid input, instead of branching the conditions.

Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
</content>
</entry>
<entry>
<title>mapwidget.qml: more minor improvements</title>
<updated>2017-11-27T21:59:22Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2017-11-27T15:05:43Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=1d80b08a8fb1fe06fd5cf60eac43b9ae1dc1197c'/>
<id>urn:sha1:1d80b08a8fb1fe06fd5cf60eac43b9ae1dc1197c</id>
<content type='text'>
- Add the helper coordIsValid() and use it in centerOnCoordinate().
This checks for NaN coordinates and prevents an infinite while() loop.
- Use '-= 1.0' instead of '--' to be more clear that the decremented
variable is a float
- Store the current center with 'centerStored' in
centerOnCoordinate(). Fixes a possible zoom out glitch.
- use Math.floor() to convert 'zoomLevel' to integer when estimating
zoomOut in centerOn*()

Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
</content>
</entry>
<entry>
<title>mapwidget.qml: remove unused zoom-out function</title>
<updated>2017-11-27T21:59:22Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2017-11-27T14:13:48Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=449c92801b7fee8537fa23c3f03f927cbb4cba5f'/>
<id>urn:sha1:449c92801b7fee8537fa23c3f03f927cbb4cba5f</id>
<content type='text'>
The zoom out function is no longer used as we don't zoom
out when a dive doesn't have dive site coordinates.

Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
</content>
</entry>
<entry>
<title>mapwidget.qml: make pan and zoom-in have the same duration</title>
<updated>2017-11-27T21:59:22Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2017-11-27T14:09:49Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=1bc91bfb670c927fff3af53fa5b941824e27f3e8'/>
<id>urn:sha1:1bc91bfb670c927fff3af53fa5b941824e27f3e8</id>
<content type='text'>
There was a problem with the current different duration
for pan and zoom. Ideally the pan should before the zoom:
Map zooms out -&gt; pan to new center starts -&gt; zoom in

The problem with this is that if the map pans out too much it
loses it's center and the above scheme would not work.

To solve the problem, make the duration of pan and zoom
the same this is not idea, but prevents the case where
the map would not zoom-in at the correct center.

Also remove the easing function.

Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
</content>
</entry>
</feed>
