<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/commands, 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>undo/device: adjust device management infrastructure</title>
<updated>2021-08-18T20:22:02Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-08-17T18:14:42Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e7a5ec46f5577656acd1ce44b34e761193ab015b'/>
<id>urn:sha1:e7a5ec46f5577656acd1ce44b34e761193ab015b</id>
<content type='text'>
We no longer need the remove infrastructure, and the edit nickname function
becomes much more intuitive to use by passing in the dive computer for
which we want to create a nickname instead of the internal index into
the array of devices.

This also removes / simplifies the device list update signals in the
DiveListNotifier.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>desktop: Add the capability to copy / paste dive number and date / time.</title>
<updated>2021-05-19T22:15:34Z</updated>
<author>
<name>mikeller</name>
<email>github@ike.ch</email>
</author>
<published>2021-05-16T03:39:47Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2d734c529b5eb389ca9526575c9520b444d21a30'/>
<id>urn:sha1:2d734c529b5eb389ca9526575c9520b444d21a30</id>
<content type='text'>
This is adding the capability to select 'Dive number' and 'Date / Time'
in the 'Copy dive components' dialog, and then copy them into the
clipboard.
When using 'Paste dive components, these values will then be pasted into
the selected dive(s).
This is intended to help with workflows that import dive information
from two different sources, like general information from another
logging program, and CCR ppO2 sensor readings from a unit log, and then
stitch them together into one cohesive entry with all data per dive.
Copied data is also output into formatted text when pasting the
clipboard outside of the application:

```
Dive number: 401
Date / time: Sun 2 May 2021 12:00 AM
```

No translations have been added as of now - I could not find any
information on how strings are translated for this project.

Signed-off-by: Michael Keller &lt;github@ike.ch&gt;
</content>
</entry>
<entry>
<title>undo: set dive mode to CCR in undo command, not profile code</title>
<updated>2021-01-11T17:31:36Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-01-11T15:52:02Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=1a0f6f53ede1a945c9964fc9de73780a94cd8217'/>
<id>urn:sha1:1a0f6f53ede1a945c9964fc9de73780a94cd8217</id>
<content type='text'>
When setting a CCR setpoint, the profile code(!) would turn
the dive into a CCR dive. Not only should the display layer
not alter dives, this also means that the action is not
undoable.

Move that to the appropriate undo command, where it makes
more sense, but obviously also makes things more complicated.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>undo: add missing invalidate_dive_cache() calls</title>
<updated>2021-01-11T16:42:17Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-01-11T10:14:41Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=5692f0d68aa1224cce7f2f25e66b8dd8663f2d66'/>
<id>urn:sha1:5692f0d68aa1224cce7f2f25e66b8dd8663f2d66</id>
<content type='text'>
The AddWeight, RemoveWeight, EditWeight and ReplanDive
commands were missing invalidate_dive_cache() calls.
Add them to ensure that the dives are written to git
logs on save.

Fixes #3150

Reported-by: Peter Zaal &lt;peter.zaal@gmail.com&gt;
Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Make sure to sanitize the gasmix after editing it</title>
<updated>2021-01-10T21:44:43Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2021-01-10T20:17:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=1808804babb7d7f00e798236df16bbef58114a38'/>
<id>urn:sha1:1808804babb7d7f00e798236df16bbef58114a38</id>
<content type='text'>
Otherwise we end up showing the gasmix in a different form after editing
for the usual air percentages, because we haven't normalized the gasmix
values and store them back in the dive in the non-normalized format.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>filter: internalize shown_dives in DiveFilter class</title>
<updated>2020-12-29T16:34:09Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-10-30T21:10:31Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=c53bab8965a2d5332df55a442a999714b5f700dc'/>
<id>urn:sha1:c53bab8965a2d5332df55a442a999714b5f700dc</id>
<content type='text'>
one piece of global state removed!

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>filter: keep track on shown_dive on dive removal in DiveFilter</title>
<updated>2020-12-29T16:34:09Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-10-30T20:46:01Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=9e84fd935bd68ef667426d92f3c27b3aab58649a'/>
<id>urn:sha1:9e84fd935bd68ef667426d92f3c27b3aab58649a</id>
<content type='text'>
When removing dives, the UndoCommands would keep track of the
shown dives. When adding, they were calling into the filter
instead. Let's remove this asymmetry.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>undo: fix annoying warning message when deleting pictures</title>
<updated>2020-12-19T19:19:51Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-12-19T10:59:32Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=3c786e35c3ca614ab16141b3f0ad4a03a0bcba2b'/>
<id>urn:sha1:3c786e35c3ca614ab16141b3f0ad4a03a0bcba2b</id>
<content type='text'>
The RemovePictures command filters the pictures provided by the
UI: only actually existing pictures are removed. The code was
buggy: the original list was copied and then the filtered list
was added. Thus, every picture was listed twice leading to
annoying warning messages. Remove the copy.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>undo: add \n to console warning error messages</title>
<updated>2020-12-19T19:19:51Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-12-19T10:47:41Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=77566fe285fe0fb4ec1ac5a831d1cb27bf159945'/>
<id>urn:sha1:77566fe285fe0fb4ec1ac5a831d1cb27bf159945</id>
<content type='text'>
To make the output more readable.

Moreover, fix a comment-typo.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>core: keep tank infos in a dynamic table</title>
<updated>2020-12-13T19:49:59Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-12-11T21:34:35Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=50b11024d685129e78c36313b892dbc0e55c654c'/>
<id>urn:sha1:50b11024d685129e78c36313b892dbc0e55c654c</id>
<content type='text'>
The list of known tank types were kept in a fixed size table.
Instead, use a dynamic table with our horrendous table macros.
This is more flexible and sensible.

While doing this, clean up the TankInfoModel, which was leaking
memory.

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