<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/desktop-widgets/preferences, branch v4.8.1</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.8.1</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.8.1'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2018-07-10T17:30:50Z</updated>
<entry>
<title>core: make qPref::cloud_status the only version of the enum</title>
<updated>2018-07-10T17:30:50Z</updated>
<author>
<name>jan Iversen</name>
<email>jani@apache.org</email>
</author>
<published>2018-07-05T18:37:53Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8d66633fe798f6c45978ea1b0d47aa04625d4ac5'/>
<id>urn:sha1:8d66633fe798f6c45978ea1b0d47aa04625d4ac5</id>
<content type='text'>
add enum to qPref and remove elsewhere
update source core to reference qPref.

the enum cannot be in pref.h because it is to be used in qml and Q_ENUM
need the enum to be defined as part of the class

Signed-off-by: Jan Iversen &lt;jani@apache.org&gt;
</content>
</entry>
<entry>
<title>core: remove double definition of enum cloud_storage_status</title>
<updated>2018-07-03T21:32:30Z</updated>
<author>
<name>jan Iversen</name>
<email>jani@apache.org</email>
</author>
<published>2018-06-16T08:08:34Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2f951413303e10a80e540cacd0c6c282f8ce82cc'/>
<id>urn:sha1:2f951413303e10a80e540cacd0c6c282f8ce82cc</id>
<content type='text'>
Remove cloud_storage_status from qmlprefs.h.
usage to qPref::

enum cloud_storage_status is not used from C, but only from C++, and
having the same structure defined multiple times is a maintenance
challenge.

Signed-off-by: Jan Iversen &lt;jani@apache.org&gt;
</content>
</entry>
<entry>
<title>core: remove prefs-macros.h where unused</title>
<updated>2018-07-01T20:06:28Z</updated>
<author>
<name>jan Iversen</name>
<email>jani@apache.org</email>
</author>
<published>2018-06-29T06:57:27Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f86dd889bffb791e94fb68d4069ebe0c220505e1'/>
<id>urn:sha1:f86dd889bffb791e94fb68d4069ebe0c220505e1</id>
<content type='text'>
move #include prefs-macros from SettingsObjectWrapper.h to SettingsObjectWrapper.cpp
include dive.h directly (only part of prefs-macros.h used) in preference classes

Signed-off-by: Jan Iversen &lt;jani@apache.org&gt;
</content>
</entry>
<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>
</feed>
