<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/commands, branch master</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=master</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2021-09-13T18:21:34Z</updated>
<entry>
<title>mobile: remove GpsLocation</title>
<updated>2021-09-13T18:21:34Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-09-11T21:45:35Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6f813b9f8e58a7b6529e3be728e0ae37e8401400'/>
<id>urn:sha1:6f813b9f8e58a7b6529e3be728e0ae37e8401400</id>
<content type='text'>
Only used in context of acquiring GPS locations with the mobile app, which
we no longer do.

Keep the DiveAndLocation structure around as that's needed by the
ApplyGpsFixes command.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>undo: renumber cylinders when deleting a cylinder</title>
<updated>2021-09-03T20:35:28Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-09-02T17:16:05Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=64faa23448f1a18423b306f2b274580568853ccf'/>
<id>urn:sha1:64faa23448f1a18423b306f2b274580568853ccf</id>
<content type='text'>
Removal of a cylinder requires a renumbering of
cylinders in the core data structures (samples, etc.).

The renumbering was performed in the undo-action of
cylinder removal, but not during actual cylinder removal.
What a mess!

Add the missing call.

Attention: this makes the deletion of sensor-readings
on cylinder-deletion non-undoable!

Undo will have to be fixed in upcoming commits.

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