<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/core/subsurface-qt, branch v4.7.5</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.7.5</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.7.5'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2017-11-25T16:19:47Z</updated>
<entry>
<title>Fix crash when dives have no dive site</title>
<updated>2017-11-25T16:19:47Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2017-11-25T16:19:47Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e20e1aad0e88fab376ab5423bf03e721f2a76940'/>
<id>urn:sha1:e20e1aad0e88fab376ab5423bf03e721f2a76940</id>
<content type='text'>
get_dive_site_by_uuid() returns a NULL pointer in that case.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>mobile: autocomplete location names</title>
<updated>2017-11-25T16:13:42Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2017-11-22T15:19:44Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=64704d6e5a0865c5acb6ce40cc32ba929f41ba00'/>
<id>urn:sha1:64704d6e5a0865c5acb6ce40cc32ba929f41ba00</id>
<content type='text'>
Add the capability to select the location name from a list, constructed
from the known dive sites in the logbook.

Fixes: #546

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>Change prefs.show_units_table to bool</title>
<updated>2017-11-24T15:56:10Z</updated>
<author>
<name>Stefan Fuchs</name>
<email>sfuchs@gmx.de</email>
</author>
<published>2017-11-21T14:52:01Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=bd8830672269297f7030670e10f2191ac824093f'/>
<id>urn:sha1:bd8830672269297f7030670e10f2191ac824093f</id>
<content type='text'>
Bool is the correct choice for this option.
int was used before because it was not clear to me how and if I can use
bool in this C file.

Signed-off-by: Stefan Fuchs &lt;sfuchs@gmx.de&gt;
</content>
</entry>
<entry>
<title>Make handling of booleans consistent on the C++-side of preferences</title>
<updated>2017-11-20T19:56:13Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2017-11-18T15:06:41Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=dd8e4fae2aa31f1fac2a8a6f086db0db0a3209c6'/>
<id>urn:sha1:dd8e4fae2aa31f1fac2a8a6f086db0db0a3209c6</id>
<content type='text'>
In general, the C++-side of the preferences code consistently uses
the bool data type for boolean settings. There are five exceptions,
which use short instead:
  showPo2
  showPn2
  showPhe
  saveUserIdLocal
  displayInvalidDives
This patch attempts to make the code more consistent by turning
these into bools as well.

Tests showed that writing as short and reading as bool is handled
gracefully by the Qt variant code. Therefore, an upgrade should not
cause user-visible changes to their settings.

As a bonus, two extern declarations of the set_save_userid_local()
function, which is not defined anywhere, were removed.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Constify strings in pref.h</title>
<updated>2017-11-18T20:57:33Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2017-11-18T18:57:50Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6ae16b87d0560ac06e882da122f43b0e9b913b34'/>
<id>urn:sha1:6ae16b87d0560ac06e882da122f43b0e9b913b34</id>
<content type='text'>
Make all char * pointers in pref.h const to make it clear that these
strings are not mutable. This meant adding a number of (void *) casts
in calls to free(). Apart from being the right thing to do, this commit
makes the code more consistent, as many of the strings in pref.h were
already const.

While touching core/qthelper.cpp turn three instances of (void*) into
(void *).

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Fix memory leaks in SettingsObjectWrapper.cpp</title>
<updated>2017-11-17T14:32:38Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2017-11-16T21:40:50Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=5ad6e168c60c0ae184f73c0f7a4c8a3ebd66315d'/>
<id>urn:sha1:5ad6e168c60c0ae184f73c0f7a4c8a3ebd66315d</id>
<content type='text'>
Free a bunch of C-style strings before assigning newly copied strings.
One case was particularly buggy:
  prefs.locale.use_system_language = copy_string(qPrintable(value));
Note that prefs.locale.use_system_language is a bool, which of course
always evaluates to true! Probably nobody noticed because a restart
is required when changing locale.

Moreover remove a few double-semicolons.
</content>
</entry>
<entry>
<title>Fix typo: LENGHT -&gt; LENGTH</title>
<updated>2017-11-17T14:29:42Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2017-11-16T21:00:26Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=9ec7aa7fd730da140639052e8831ff5c910fc6cb'/>
<id>urn:sha1:9ec7aa7fd730da140639052e8831ff5c910fc6cb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make Bluetooth naming consistent</title>
<updated>2017-11-14T04:48:17Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2017-11-12T11:33:20Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=de81effb258c9c55af299ef48e79df4de941b391'/>
<id>urn:sha1:de81effb258c9c55af299ef48e79df4de941b391</id>
<content type='text'>
Currently, on Linux, after selecting a Bluetooth device the name of the
device is shown. On reopening the download dialog, on the other hand,
the address is shown. In the device selection dialog both are shown.

This patch changes the download dialog such that both, name and address,
are shown. The bulk of the patch introduces the name of the device in
the preferences and DCDeviceData. It has to be noted that DCDeviceData
is an encapsulation of the libdivecomputer device_data_t. Nevertheless,
the new Bluetooth-name field is, at the moment, not passed through to
libdivecomputer.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Typo: modp02 -&gt; modpO2</title>
<updated>2017-11-12T14:11:30Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2017-11-12T13:26:34Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b32251a5a8ec6dc431b6c5a71e5cd9d3d95f0930'/>
<id>urn:sha1:b32251a5a8ec6dc431b6c5a71e5cd9d3d95f0930</id>
<content type='text'>
Fixes two function names, where O2 was written as 02.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Save font_size in correct group</title>
<updated>2017-11-07T17:36:28Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2017-11-07T12:54:33Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=828f608b2b1e5f7754c39bf60dccdabca78c3fb6'/>
<id>urn:sha1:828f608b2b1e5f7754c39bf60dccdabca78c3fb6</id>
<content type='text'>
A change of the font_size in preferences ended up in the wrong
preferences group (the GeneralSettings group), appearing to the
user as a non-saved preference. Fix is simple. Just set the
the correct group before saving a change in font_size.

Fixes: #780

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
</feed>
