<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/desktop-widgets/preferences, branch v4.8.0</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.8.0</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.8.0'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2018-06-20T00:30:58Z</updated>
<entry>
<title>equipment: sanitize 'tank_info' loop limits</title>
<updated>2018-06-20T00:30:58Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2018-06-19T00:19:56Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=769aca9e956cd4bb7cc97be813968348f5e7f3d2'/>
<id>urn:sha1:769aca9e956cd4bb7cc97be813968348f5e7f3d2</id>
<content type='text'>
In a number of places the global 'tank_info' array
is being iterated based on a 'tank_info[idx].name != NULL'
condition.

This is dangerous because if the user has added a lot of tanks,
such loops can reach 'tank_info[MAX_TANK_INFO]'. This is an
out of bounds read and if the 'name' pointer there happens to be
non-NULL, passing that address to a peace of code that tries
to read it (like strlen()) would either SIGSEGV or have undefined
behavior.

Clamp all loops that iterate 'tank_info' to MAX_TANK_INFO.

Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
</content>
</entry>
<entry>
<title>Cleanup: fold core/helpers.h into core/qthelper.h</title>
<updated>2018-06-04T15:50:10Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-06-03T20:15:19Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=36b9e5e31eca0354f9ad277fb668c3846714b81e'/>
<id>urn:sha1:36b9e5e31eca0354f9ad277fb668c3846714b81e</id>
<content type='text'>
helpers.h included qthelper.h and all functions declared in helpers.h
were defined in qthelper.h. Therefore fold the former into the latter,
since the split seems completely arbitrary.

While doing so, change the return-type of get_dc_nichname from
"const QString" to "QString".

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Dive pictures: automatically recalculate thumbnails</title>
<updated>2018-05-27T20:08:12Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-05-27T13:42:22Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=308e079ad6414152fe72ba0784582734d6801b75'/>
<id>urn:sha1:308e079ad6414152fe72ba0784582734d6801b75</id>
<content type='text'>
If a thumbnail and the original picture can be accessed and the
modification date of the thumbnail is before the modification date
of the picture, recalculate the thumbnail.

This causes more disk access and might give strange effects for
picture files with messed up file timestamps (i.e. lying in the
future) or messed up computer clocks (i.e. running in the past).
Therefore, add a preference option to disable the new behavior.
Default is set to enabled.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Core: remove dive.h from files that don't need it</title>
<updated>2018-05-14T17:13:39Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-05-13T23:51:26Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ea83b5ed371bbfb1e5ffb0b501c8bf652cae35bb'/>
<id>urn:sha1:ea83b5ed371bbfb1e5ffb0b501c8bf652cae35bb</id>
<content type='text'>
Of course, quite a few of them indirectly get it through other header
files.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Plot OC-pO2 graph for SCR dives</title>
<updated>2018-04-28T17:11:22Z</updated>
<author>
<name>Willem Ferguson</name>
<email>willemferguson@zoology.up.ac.za</email>
</author>
<published>2018-03-14T15:13:37Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=81a812539c95f2e709995d446065803c09e9136a'/>
<id>urn:sha1:81a812539c95f2e709995d446065803c09e9136a</id>
<content type='text'>
This commit allows plotting the OC-equivalent pO2 graph for PSCR
dives. This happens in both the cases where there is no external
O2-monitoring AND when there is external pO2 monitoring. The
calculations are only done for PSCR dives and is achieved as
follows:

1) Within plot-info create a pressure-t called OC_pO2 in
   profile.h and populate this variable with the open-circuit
   pO2 values in profile.c.
2) Create a new partialPressureGasItem ocpo2GasItem in
   profilewidget2.h and, in profilewidget2.cpp, initialise it
   to read the plot-info OC_pO2 values and enable its
   display by using the setVisible method. The
   diveplotdatamodel was also touched in order to achieve
   this.
3) Create a pref button that controls the display of OC-pO2 for SCR dives
4) Change the colour of the OC-pO2 grpah to orange
5) Change the connection of the crr_OC_pO2 signal to be appropriate
6) rename the OC_pO2 attribute to scr_OC-pO2

Signed-off-by: Willem Ferguson &lt;willemferguson@zoology.up.ac.za&gt;
</content>
</entry>
<entry>
<title>Move icd preference setting</title>
<updated>2018-02-26T17:05:26Z</updated>
<author>
<name>Willem Ferguson</name>
<email>willemferguson@zoology.up.ac.za</email>
</author>
<published>2018-02-26T16:30:08Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e2a6b96db8f7c73ad6fca71dc3d943deeda198da'/>
<id>urn:sha1:e2a6b96db8f7c73ad6fca71dc3d943deeda198da</id>
<content type='text'>
Move the icd preference setting to the preference group that deals
with gas pressures.

I also reorganised the existing items so that the items within the
pressure widget are logically arranged according to the grid layout.
The order of items was very haphazard. No change of code at all in
this reorganisation.

Signed-off-by: Willem Ferguson &lt;willemferguson@zoology.up.ac.za&gt;
</content>
</entry>
<entry>
<title>Add a preference to turn on ICD warnings</title>
<updated>2018-02-10T09:26:34Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2018-02-05T14:58:25Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=920aa613c9a422d3f232b355524db7f5a7f0342f'/>
<id>urn:sha1:920aa613c9a422d3f232b355524db7f5a7f0342f</id>
<content type='text'>
Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
</content>
</entry>
<entry>
<title>Whitespace only</title>
<updated>2018-01-18T08:44:08Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-01-16T13:15:31Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e592dfe17c5a1a6d2b714752f5b27e9d531de9bb'/>
<id>urn:sha1:e592dfe17c5a1a6d2b714752f5b27e9d531de9bb</id>
<content type='text'>
Now that we properly return when raising an error, do not
if () else if(). Useles.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>Fix preferences handling with invalid passwords</title>
<updated>2018-01-18T08:44:08Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-01-16T12:30:02Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=d28f48a793aef1e1c07a28758c97f399f8c0a93b'/>
<id>urn:sha1:d28f48a793aef1e1c07a28758c97f399f8c0a93b</id>
<content type='text'>
This fixes 2 problems related to entering passwords with
illegal characters in it:
1) Do not save an invalid password in the preferences, but keep the old
one.
2) On password change, check both old and new password for format
validity instead of pushing an invalid password to the server that
has to ignore it.

Fixes: #1048

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>Fix PreferencesNetwork::passwordUpdateSuccessful slot</title>
<updated>2018-01-18T07:56:27Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-01-16T20:58:27Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ff9bdfd0dfa22493d6721a072d0923bf7c175434'/>
<id>urn:sha1:ff9bdfd0dfa22493d6721a072d0923bf7c175434</id>
<content type='text'>
In preferences_network.cpp, the CloudStorageAuthenticate::passwordChangeSuccessful
signal was connected to the PreferencesNetwork::passwordUpdateSuccessful
slot. This never worked, because passwordUpdateSuccessful() was declared
as a normal member function, not a slot (hooray for Qt's weird runtime-checked
signal system).

While touching this code, change the weird SIGNAL/SLOT macros to
actual member function, to at least get *some* compile-time checks.

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