<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/profile-widget, branch v5.0.0</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v5.0.0</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v5.0.0'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2021-03-05T07:30:23Z</updated>
<entry>
<title>profile: initialize DiveEventItem::dive to null</title>
<updated>2021-03-05T07:30:23Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-03-05T07:30:23Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=3fcac9022cca520209352c498320809bfb66e2c9'/>
<id>urn:sha1:3fcac9022cca520209352c498320809bfb66e2c9</id>
<content type='text'>
To simplify debugging, this should be initialized. Found by coverity.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>planner: pass in_planner argument to replot()</title>
<updated>2021-02-17T15:26:55Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-02-13T16:42:03Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=c6d78bc134870fa2d9361b3f928451b7ab915043'/>
<id>urn:sha1:c6d78bc134870fa2d9361b3f928451b7ab915043</id>
<content type='text'>
To remove reliance on global state, pass an "in_planner" argument
to AbstractProfilePolygonItem::replot(). Thus, calls to in_planner()
can be removed.

This is a bit sad, since the in_planner argument is now passed
to numerous replot() reimplementations of classes derived
from AbstractProfilePolygonItem. However, it is only needed
for one, viz. DiveGasPressureItem. Well, perhaps in the future
more features will depend on the planner mode...

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>cleanup: remove function declaration</title>
<updated>2021-02-17T15:26:55Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-02-13T13:58:49Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=65720d2fcef50ad66c741eba1c3c00bb01b74671'/>
<id>urn:sha1:65720d2fcef50ad66c741eba1c3c00bb01b74671</id>
<content type='text'>
AbstractProfilePolygonItem::shouldCalculateStuff()'s definition
has been removed some time ago. Therefore, remove its declaration.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>planner: pass in_planner argument to decoMode()</title>
<updated>2021-02-17T15:26:55Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-02-12T17:19:24Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=642d9c80b3597ab512fe937f05e08c10580c06dd'/>
<id>urn:sha1:642d9c80b3597ab512fe937f05e08c10580c06dd</id>
<content type='text'>
To remove reliance on global state, pass an "in_planner" argument
to decoMode(). Thus, calls to in_planner() can be removed.

This is a more-or-less automated change. Ultimately it would
probably be better to pass the current deco-mode to the affected
functions instead of calling decoMode() with an in_planner
parameter.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>cleanup: remove dead code from ToolTipItem::addToolTip()</title>
<updated>2021-02-12T19:27:01Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-02-12T17:32:40Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6ef4f377f0a6bc567f82fa34764c1d81cdab5a1a'/>
<id>urn:sha1:6ef4f377f0a6bc567f82fa34764c1d81cdab5a1a</id>
<content type='text'>
There was never an icon passed to this function. Therefore,
remove the parameter and the code that depends on it.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>cleanup: make ToolTipItem::addToolTip() private</title>
<updated>2021-02-12T19:27:01Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-02-12T17:28:35Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b9cd9e17d18a25094345d02e13bcc05fbde2143b'/>
<id>urn:sha1:b9cd9e17d18a25094345d02e13bcc05fbde2143b</id>
<content type='text'>
This was not called from anywhere else.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>cleanup: whitespace fixes in profile-widget/divetooltipitem.cpp</title>
<updated>2021-02-12T19:27:01Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-02-12T17:22:56Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=d66d1e2a3bdd17ff75d25458658b96e87896587b'/>
<id>urn:sha1:d66d1e2a3bdd17ff75d25458658b96e87896587b</id>
<content type='text'>
Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>profile: detect dive-mode change in profile</title>
<updated>2021-02-06T18:00:39Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-01-27T22:41:51Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0b0e6672d5622238c2fb583dad6b51813b9338b3'/>
<id>urn:sha1:0b0e6672d5622238c2fb583dad6b51813b9338b3</id>
<content type='text'>
The profile must be replotted when the dive mode changes.
Weirdly, this was routed via the dive-information tab
(making it inherently non-mobile compatible). Detect
such a change directly in the profile.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>cleanup: constify TankItem::setData()</title>
<updated>2021-01-20T18:01:50Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-01-11T17:54:48Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=98594c18d11e619de05fc05cbd7ca006a01d184f'/>
<id>urn:sha1:98594c18d11e619de05fc05cbd7ca006a01d184f</id>
<content type='text'>
The TankItem only displays the data. Pass pointers as const.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>cleanup: remove dive parameter from DivePlotDataModel::setDive()</title>
<updated>2021-01-20T18:01:50Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-01-11T15:17:34Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=5e1dcb0655fd6daa7914a78a83c5419bfbc93457'/>
<id>urn:sha1:5e1dcb0655fd6daa7914a78a83c5419bfbc93457</id>
<content type='text'>
This was not used, probably an artifact from days long gone.

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