<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/commands, branch v4.9.10</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.9.10</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.9.10'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2020-11-14T18:01:50Z</updated>
<entry>
<title>undo: add a general dives-imported signal</title>
<updated>2020-11-14T18:01:50Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-11-14T15:59:35Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=52d5125926f430a86dc14a60911b04b8072c712a'/>
<id>urn:sha1:52d5125926f430a86dc14a60911b04b8072c712a</id>
<content type='text'>
Add a general dives-imported signal for those cases where we
want to fully rebuild models, notably, the completion models.
The divesAdded signals are too fine, because they are sent
per trip and we don't want to reload these models multiple
times per import.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>desktop: fix translation implementation</title>
<updated>2020-11-08T22:39:26Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-11-08T22:38:59Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8e3f7f956507fc139f4a7be95540d4077eab6e77'/>
<id>urn:sha1:8e3f7f956507fc139f4a7be95540d4077eab6e77</id>
<content type='text'>
We need to always call the tr() function of the base class. This will have
consequences for our translations.

See: #3068

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>cleanup: fix deprecated QVector constructor</title>
<updated>2020-10-27T02:27:03Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-10-25T21:42:40Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f193c2ef08d0edb1f40b6011a205eb8603c6019b'/>
<id>urn:sha1:f193c2ef08d0edb1f40b6011a205eb8603c6019b</id>
<content type='text'>
Annoyingly, the replacement has only been available since Qt 5.14.
To make the code less messy, implement our own stdToQt conversion helper.

Suggested-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>cleanup: remove pref.h include in dive.h</title>
<updated>2020-10-25T20:59:52Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-10-25T18:13:42Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b984839836e0ee38fb8e09680d69f34593b9300f'/>
<id>urn:sha1:b984839836e0ee38fb8e09680d69f34593b9300f</id>
<content type='text'>
If source files want to access preferences functions, they should
include pref.h themselves.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>cleanup: break out event-related code into event.[c|h]</title>
<updated>2020-10-25T20:59:52Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-10-25T08:14:16Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8212acc9925b28ecd546b01047c6a8fc574326ef'/>
<id>urn:sha1:8212acc9925b28ecd546b01047c6a8fc574326ef</id>
<content type='text'>
In an effort to reduce the size of dive.h and dive.c, break out
the event related functions. Moreover event-names were handled
by the profile-code, collect that also in the new source files.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>undo: add device related undo commands</title>
<updated>2020-10-25T20:59:04Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-10-25T06:53:40Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=faebb539091ca5550bb6b60280d692c50d547bc0'/>
<id>urn:sha1:faebb539091ca5550bb6b60280d692c50d547bc0</id>
<content type='text'>
Add commands for deleting devices and editing device nicknames
to include the device-handling in the undo system.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>devices: add devices in Command::importTable()</title>
<updated>2020-10-24T16:51:37Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-10-17T14:07:39Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=39a4090c0a6e1d8fe12516be06ee7b31dd4bc96d'/>
<id>urn:sha1:39a4090c0a6e1d8fe12516be06ee7b31dd4bc96d</id>
<content type='text'>
Add a device_table parameters to Command::importTable() and
add_imported_dives(). The content of this table will be added
to the global device list (respectively removed on undo).

This is currently a no-op, as the parser doesn't yet fill
out the device table, but adds devices directly to the global
device table.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>filter: remove filter_preset_table_t</title>
<updated>2020-10-17T16:04:20Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-10-17T07:58:23Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=a7bbb6c1cc5c5b9ed3dc48cdb4da910214d51e96'/>
<id>urn:sha1:a7bbb6c1cc5c5b9ed3dc48cdb4da910214d51e96</id>
<content type='text'>
We used a typedef "filter_preset_table_t" for the filter preset table,
because it is a "std::vector&lt;filter_preset&gt;". However, that is in
contrast to all the other global tables (dives, trips, sites) that we
have.

Therefore, turn this into a standard struct, which simply inherits
from "std::vector&lt;filter_preset&gt;". Note that while inheriting from
std::vector&lt;&gt; is generally not recommended, it is not a problem
here, because we don't modify it in any shape or form.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>filter: implement importing of filter presets</title>
<updated>2020-09-29T23:13:03Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-06-28T13:24:19Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f9721fce4b12faee87398d23fd2f8b4d1b9a0309'/>
<id>urn:sha1:f9721fce4b12faee87398d23fd2f8b4d1b9a0309</id>
<content type='text'>
When importing a divelog, import filter presets. If there are
equal names, import only if the presets differ. In that case,
disambiguate the name. This made things a bit more complicated,
as comparison of filter presets had to be implemented.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>filter: add filter preset undo commands</title>
<updated>2020-09-29T23:13:03Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-05-27T07:31:26Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2f5223035a9d43b933b0baf64823dab84b5d8cea'/>
<id>urn:sha1:2f5223035a9d43b933b0baf64823dab84b5d8cea</id>
<content type='text'>
Add undo commands to add / edit / delete filter presets.
These are styled after the other undo commands: On changes,
the UI is informed by DiveListNotifier signals. Editing is
a simple std::swap of values.

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