<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/desktop-widgets, branch v4.8.3</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom/desktop-widgets?h=v4.8.3</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom/desktop-widgets?h=v4.8.3'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2018-09-28T22:06:00Z</updated>
<entry>
<title>Parser: parse text-based files into arbitrary table</title>
<updated>2018-09-28T22:06:00Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-09-28T11:59:01Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=32a4ce61694bfe8364227440ea5716df7cc61fd1'/>
<id>urn:sha1:32a4ce61694bfe8364227440ea5716df7cc61fd1</id>
<content type='text'>
In d815e0c9476ef62e6b84fb28ce48ab7cddefe77e a dive_table pointer
was added to the parsing functions to allow parsing into tables
other than the global dive table. This will be necessary for undo of
import and implementation a cleaner interface. A few cases, notably
CSV and proprietary formats were forgotten.

Implement parsing into arbitrary tables also for these cases.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: remove redundant prototypes from dive.h</title>
<updated>2018-09-28T14:47:39Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-09-28T10:09:18Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=3137fbe973301248530c0aa85c69bf49ad32664a'/>
<id>urn:sha1:3137fbe973301248530c0aa85c69bf49ad32664a</id>
<content type='text'>
A few of these prototypes were already in import-csv.h.
Put them in an 'extern "C" { ... }' block.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Desktop/remember DCs: insert the remember connection into dropdown</title>
<updated>2018-09-24T16:51:21Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-09-24T14:04:21Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ebb3fc8a0cc68036afa6cfc09bbc7edeb3e36356'/>
<id>urn:sha1:ebb3fc8a0cc68036afa6cfc09bbc7edeb3e36356</id>
<content type='text'>
This still doesn't do the right thing for BT/BLE connections on a Mac, but it
should work on Linux and possibly Mac.

We definitely need to figure out how to get the Mac to successfully connect back
to a BT/BLE device.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Core: split process_dives() in post-import and post-load versions</title>
<updated>2018-09-23T18:50:53Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-09-23T10:53:35Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=35b8a4f404de3297cb8d126654e0ec37245a7537'/>
<id>urn:sha1:35b8a4f404de3297cb8d126654e0ec37245a7537</id>
<content type='text'>
process_dives() is used to post-process the dive table after loading
or importing. The first parameter states whether this was after
load or import.

Especially in the light of undo, load and import are fundamentally
different things. Notably, that latter should be undo-able, whereas
the former is not. Therefore, as a first step to make import undo-able,
split the function in two versions and remove the first parameter.

It turns out the the load-version is very light. It only sets the
DC nicknames and sorts the dive-table. There seems to be no reason
to merge dives.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Desktop/settings: hook up button to clear remembered DCs</title>
<updated>2018-09-23T18:49:30Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-09-22T17:24:38Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f5411b7d68b7f847e1d5c1eb0a75993eeb1b9fff'/>
<id>urn:sha1:f5411b7d68b7f847e1d5c1eb0a75993eeb1b9fff</id>
<content type='text'>
And at least admit that the reset settings button isn't hooked up at all.
OOOOPS.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Desktop/settings: add button to forget remembered dive computers</title>
<updated>2018-09-23T18:49:30Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-09-22T17:02:33Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b5fe44bb8716b68eddb5baf84bfd776dcb41fcdb'/>
<id>urn:sha1:b5fe44bb8716b68eddb5baf84bfd776dcb41fcdb</id>
<content type='text'>
This isn't hooked up, yet.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Desktop/remember DCs: avoid highlighted button</title>
<updated>2018-09-23T18:49:30Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-09-21T23:09:16Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0d7c1e99185427ffac1c81e9bfc440ed291cfc6b'/>
<id>urn:sha1:0d7c1e99185427ffac1c81e9bfc440ed291cfc6b</id>
<content type='text'>
On macOS the first of the four DC buttons was highlighted for some reason.
Explicitly setting autoDefault to no solved that problem.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Desktop/remember DCs: move non-UI-specific code into the core layer</title>
<updated>2018-09-23T18:49:30Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-09-21T22:41:28Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=413b05ab89fe51a26c0194f41d3f887c1c428b3f'/>
<id>urn:sha1:413b05ab89fe51a26c0194f41d3f887c1c428b3f</id>
<content type='text'>
This way we can use the same functionality from the mobile UI as well.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Desktop/remember DCs: hook up the shortcut buttons</title>
<updated>2018-09-23T18:49:30Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-09-21T19:16:42Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=4eb8ed1b29685a10b56f213c4fc6aca440c00601'/>
<id>urn:sha1:4eb8ed1b29685a10b56f213c4fc6aca440c00601</id>
<content type='text'>
The straight forward code to update the currentIndex of the combobox doesn't
appear to work on macOS (but works fine on Linux). Calling the event loop and
then calling update afterwards seems very unintuitive, but it appears to fix
the issue in my testing.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Desktop/remember DCs: remember dive computers that were used</title>
<updated>2018-09-23T18:49:30Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-09-21T19:17:24Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=99261775ceede62e19422f6c909439a619d65ee0'/>
<id>urn:sha1:99261775ceede62e19422f6c909439a619d65ee0</id>
<content type='text'>
The algorithm tries to keep the order of the buttons the same. So if a dive
computer was used that's already remembered, don't reorder the buttons. But if
a new dive computer is used, add it as the first one and move the others back,
potentially dropping the oldest one.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
