<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/desktop-widgets, branch v5.0.3</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v5.0.3</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v5.0.3'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2021-08-18T20:22:02Z</updated>
<entry>
<title>Remove the divecomputer naming tab</title>
<updated>2021-08-18T20:22:02Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2021-08-17T04:15:54Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ba6f7361da873609d72ab4ba3b1d55edd8f5569d'/>
<id>urn:sha1:ba6f7361da873609d72ab4ba3b1d55edd8f5569d</id>
<content type='text'>
The TabDiveComputer model won't work in the new world order, where you
can't even insert a new device entry without a nickname to be edited.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>desktop: fix crash when right-clicking of trip headers</title>
<updated>2021-08-12T18:57:26Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-08-12T06:26:08Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=67769235e78e7963a093bcf84e3b27ad1a0b8d6c'/>
<id>urn:sha1:67769235e78e7963a093bcf84e3b27ad1a0b8d6c</id>
<content type='text'>
Commit e42fc1a1e9a13c77d3474dbcb26b68b8772b8c6d introduced a
crash condition. Apparently the code attempts to test whether
the clicked-on item is a top-level dive. The "Collapse others"
menu item should not be shown in that case. It does this by
testing "d-&gt;divetrip". However, "d" might quite logically be
null if clicking on an unexpanded trip header.

Therefore, check explicitly for the trip header case (which
should show the menu item) and for good measure prevent
the nullpointer access (that should be caught by testing
for trip, but who knows).

Fixes #3301.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>cleanup: replace membuffer by membufferpp in C-code</title>
<updated>2021-07-23T18:22:43Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-07-20T05:45:31Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=16b31985c3245d5cb3be26f3cc0aa06bc6acb139'/>
<id>urn:sha1:16b31985c3245d5cb3be26f3cc0aa06bc6acb139</id>
<content type='text'>
Thus, the membuffer data is automatically freed when going
out of scope - one thing less to worry about.

This fixes one use-after-free bug in uploadDiveLogsDE.cpp
and one extremely questionable practice in divetooltipitem.cpp:
The membuffer was a shared instance across all instances
of the DiveToolTipItem.

Remves unnecessary #include directives in files that didn't
even use membuffer.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>desktop: explicitly enable shortcuts</title>
<updated>2021-07-23T17:20:50Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-07-22T19:18:45Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8ac0519a9954b58f43bc42dd70c5643169543999'/>
<id>urn:sha1:8ac0519a9954b58f43bc42dd70c5643169543999</id>
<content type='text'>
The changes in commit 4daf687876 ("profile: remove [disable|enable]Shortcuts()
signals") resulted in us no longer enabling the shortcuts on the desktop (at
least on macOS where I debugged this). This placement of the call feels like a
bit of overkill, but at least it shouldn't be wrong.

Fixes #3293

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>cleanup: remove Printer::dpi member variable</title>
<updated>2021-07-07T14:57:11Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-07-07T08:21:40Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=cfc87e9da3f5fb14c81032acd4c229cd97b97f87'/>
<id>urn:sha1:cfc87e9da3f5fb14c81032acd4c229cd97b97f87</id>
<content type='text'>
This variable is not used outside a single function, where it
is reset every time the function runs. This can be realized by
a function-local variable just as well.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Handle dives with no samples</title>
<updated>2021-07-03T21:38:19Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2021-07-03T12:41:55Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6b2e56e5131aa707216c4b0da5805199fcc0034d'/>
<id>urn:sha1:6b2e56e5131aa707216c4b0da5805199fcc0034d</id>
<content type='text'>
This occurs upon importing dives for example via CSV.

Make sure the profile display is cleared when selecting
such a dive rather than showing a different dive.

Allow editing the profile for such a dive.

Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
</content>
</entry>
<entry>
<title>profile: rename ADD state to EDIT state</title>
<updated>2021-07-03T21:30:46Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-06-30T05:49:56Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=4a7cf0e97020ff26d0f93c664183f8af262bf7d5'/>
<id>urn:sha1:4a7cf0e97020ff26d0f93c664183f8af262bf7d5</id>
<content type='text'>
The ADD state is not used for adding dives since adding dives
was made undoable. Therefore, rename it to EDIT state, since
that is what it is used for.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>cleanup: update copyrights</title>
<updated>2021-07-03T21:28:37Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-07-03T21:25:43Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=329fcf7fdca40b73ec502d0835278f8ab3a70ff1'/>
<id>urn:sha1:329fcf7fdca40b73ec502d0835278f8ab3a70ff1</id>
<content type='text'>
That should have been done six months ago.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>cleanup: remove long obsolete code</title>
<updated>2021-07-03T21:28:37Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-07-03T21:25:15Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=50ef42d5809184a645fc8b892b9cc69e908a5cc2'/>
<id>urn:sha1:50ef42d5809184a645fc8b892b9cc69e908a5cc2</id>
<content type='text'>
We have stopped playing with beta versions many many years ago.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>desktop: add numerus translation for dive context menu</title>
<updated>2021-06-04T16:35:16Z</updated>
<author>
<name>Mark Stiebel</name>
<email>mark@aretha.stiebel.me</email>
</author>
<published>2021-05-30T01:21:20Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e42fc1a1e9a13c77d3474dbcb26b68b8772b8c6d'/>
<id>urn:sha1:e42fc1a1e9a13c77d3474dbcb26b68b8772b8c6d</id>
<content type='text'>
Add numerus translation lookup for the right-click context menu in the dive
list to show proper singular/plural text.

Fixes #3256

Signed-off-by: Mark Stiebel &lt;mark@aretha.stiebel.me&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
