<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/mobile-widgets/qml, branch v4.9.1</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.9.1</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.9.1'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2019-05-11T18:40:07Z</updated>
<entry>
<title>Mobile: add checkbox to force downloading all dives</title>
<updated>2019-05-11T18:40:07Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2019-05-05T23:07:15Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=144de49ad45eb882ecfaf4257c20999e4efd1db1'/>
<id>urn:sha1:144de49ad45eb882ecfaf4257c20999e4efd1db1</id>
<content type='text'>
This has been a feature people have asked for quite frequently. It is
taking up some valuable screen real estate - so the question could
become if there should be a switch to enable / disable it.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Undo: make undo-system dive site-aware</title>
<updated>2019-04-12T15:19:07Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-03-03T14:12:22Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=82af1b2377cec03a989f86b8009d4ac226c6541e'/>
<id>urn:sha1:82af1b2377cec03a989f86b8009d4ac226c6541e</id>
<content type='text'>
As opposed to dive trips, dive sites were always directly added
to the global table, even on import. Instead, parse the divesites
into a distinct table and merge them on import.

Currently, this does not do any merging of dive sites, i.e. dive
sites are considered as either equal or different. Nevertheless,
merging of data should be rather easy to implement and simply
follow the code of the dive merging.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Mobile: only show dive computers in the Bluetooth connection list</title>
<updated>2019-02-14T17:05:58Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2019-02-14T06:48:50Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=9d582c5512c261bbea5d6257375c291a06721950'/>
<id>urn:sha1:9d582c5512c261bbea5d6257375c291a06721950</id>
<content type='text'>
And offer an option to show all devices in the settings. This is intentionally
not stored in the preferences as this should never be needed. We don't support
BT or BLE dive computers that we don't recognize. This is a last resort in case
a new firmware were to change the name or some other weird issue causes us not
to recognize a dive computer - and that should be fixed instead of worked
around.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Import: don't add to new trip while downloading</title>
<updated>2019-01-19T21:48:17Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-01-13T08:58:04Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ff9506b21bbb9910256841dcb577bcb2e19047e8'/>
<id>urn:sha1:ff9506b21bbb9910256841dcb577bcb2e19047e8</id>
<content type='text'>
Since process_imported_dives() can add dives to a newly generated
trip, this need not be done in the downloading code. This makes
data flow distinctly simpler, as no trip table and no add-new-trip
flag has to be passed down to the libdivecomputer glue code.

Moreover, since now the trip creation is done at the import step
rather than the download step, the latest status of the "add to
new trip" checkbox will be considered.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Import: add trip_table argument to DiveImportedModel::repopulate()</title>
<updated>2019-01-10T04:58:04Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-12-23T11:46:25Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f542dc4030dda5dac1da1cc928f7a40a50919c4d'/>
<id>urn:sha1:f542dc4030dda5dac1da1cc928f7a40a50919c4d</id>
<content type='text'>
In the future we want to download trips into a distinct trip-table
instead of the global trip-table to allow for undo of import.

Therefore add a trip_table argument to DiveImportedModel::repopulate()
and a trip_table member to DiveImportedModel. To correctly set these,
add a DownloadThread::trips() function, which currently simply returns
the global trip table.

Finally, make "struct trip_table *" a Q_METATYPE, so that the corresponding
arguments can be passed from QML.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>update year to 2019 in about screens</title>
<updated>2019-01-02T17:45:01Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2019-01-02T17:00:03Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0903bef9db8659313c4bb533c295505c0c3851bf'/>
<id>urn:sha1:0903bef9db8659313c4bb533c295505c0c3851bf</id>
<content type='text'>
Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
</content>
</entry>
<entry>
<title>Mobile: deal with BT name and address when tapping Download</title>
<updated>2018-12-21T22:53:45Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-12-21T22:53:43Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=c38215dfa77fb73f533cf6791461e871d579d0cd'/>
<id>urn:sha1:c38215dfa77fb73f533cf6791461e871d579d0cd</id>
<content type='text'>
Instead of trying to update this whenever the connection text changes,
instead deal with it right before it actually gets used.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Mobile: copy the dive data when configuring settings</title>
<updated>2018-12-21T07:13:37Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2018-11-18T05:55:34Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=53ba950c8f5f49cc4d56cea976c1180333367946'/>
<id>urn:sha1:53ba950c8f5f49cc4d56cea976c1180333367946</id>
<content type='text'>
Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
</content>
</entry>
<entry>
<title>Mobile: UI for selecting what to copy-paste</title>
<updated>2018-12-21T07:13:37Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2018-11-18T05:42:15Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8e7a9a4f4cdd4daba1fc1f45a38707b93dfb369d'/>
<id>urn:sha1:8e7a9a4f4cdd4daba1fc1f45a38707b93dfb369d</id>
<content type='text'>
Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
</content>
</entry>
<entry>
<title>Import: unglobalize downloadTable</title>
<updated>2018-12-17T15:37:32Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-12-10T13:49:32Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=bfe69239df6a8d2b2ae986b850246727a21e127b'/>
<id>urn:sha1:bfe69239df6a8d2b2ae986b850246727a21e127b</id>
<content type='text'>
To make data flow more clear, unglobalize the downloadTable object.
Make it a subobject of DownloadThread. The difficult part was making
this compatible with QML, because somehow the pointer to the
download-table has to be passed to the DiveImportedModel. Desktop would
simply pass it to the constructor. But with objects generated in QML
this is not possible. Instead, pass the table in the repopulate()
function. This seems to make sense, but for this to work, we have to
declare pointer-to-dive-table as a Q_METATYPE. And this only works
if we use a typedef, because MOC removes the "struct" from "struct
dive_table". This leads to compilation errors, because dive_table is
the symbol-name of the global dive table! Sigh.

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