<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/mobile-widgets, 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-07-18T13:01:07Z</updated>
<entry>
<title>Core: dynamically resize weight table</title>
<updated>2019-07-18T13:01:07Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-06-26T15:21:03Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=a5e7f4253ac98ad18354973fda7049e9daaea8eb'/>
<id>urn:sha1:a5e7f4253ac98ad18354973fda7049e9daaea8eb</id>
<content type='text'>
Replace the fixed-size weightsystem table by a dynamically
relocated table. Reuse the table-macros used in other parts
of the code.

The table stores weightsystem entries, not pointers to
weightsystems. Thus, ownership of the description string is
taken when adding a weightsystem. An extra function adds
a cloned weightsystem at the end of the table.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: move trip-related functions into own translation unit</title>
<updated>2019-06-19T20:11:10Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-05-31T14:09:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7f4d9db962e73aa5d5089c43c99b78b3690ffb87'/>
<id>urn:sha1:7f4d9db962e73aa5d5089c43c99b78b3690ffb87</id>
<content type='text'>
These functions were spread out over dive.c and divelist.c.
Move them into their own file to make all this a bit less monolithic.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<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>Update (and fix) device mobile ID's for Scubapro dive computers</title>
<updated>2019-04-25T11:22:21Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2019-04-24T16:15:41Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=263c87b1cc55e264e8c8ba5d2e976e2c78e16a2b'/>
<id>urn:sha1:263c87b1cc55e264e8c8ba5d2e976e2c78e16a2b</id>
<content type='text'>
I'm not sure this is actually relevant for anything any more, but this
adds the USB device ID's for the Scubapro G2 Console and HUD versions.
It also fixes things to use the proper vendor name (a bit too much
cut-and-paste, where the code said "Suunto" instead of "Scubapro").

The real device ID changes are in libdivecomputer, this is just the
Android xml list for recognized USB devices that likely nobody really
uses.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Dive site: introduce proxy model DiveSiteSortedModel</title>
<updated>2019-04-12T15:19:07Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-03-12T16:28:43Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e99c4c90592c9dba17d5cbb9a99d0bf458fb53d2'/>
<id>urn:sha1:e99c4c90592c9dba17d5cbb9a99d0bf458fb53d2</id>
<content type='text'>
The LocationInformationModel used to sort its entries and was completely
rebuilt after every change. This makes it rather complex to support
incremental changes.

Instead, keep LocationInformationModel sorted by UUID so that indexes
are consistent with indices in the core dive site table.

Implement sorting by other columns than name and enable sorting in the
dive site view.

Finally, don't cache the list of dive site names for the mobile app,
since that would also need some rather convoluted methods of keeping
the list up to date. Calculate it on the fly.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Dive site: add dive site ref-counting</title>
<updated>2019-04-12T15:19:07Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-03-05T21:58:47Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e2df38d868324f2a767d2109cdd8727acb866ca2'/>
<id>urn:sha1:e2df38d868324f2a767d2109cdd8727acb866ca2</id>
<content type='text'>
Instead of setting dive-&gt;dive_site directly, call the
add_dive_to_dive_site() and unregister_dive_from_dive_site()
functions. In the parser this turned out to be a bit tricky.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: move parse-function declarations out of "dive.h"</title>
<updated>2019-04-12T15:19:07Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-03-03T21:29:40Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f3e1187e65df8e3fdd989cbee19ee2b9472c6735'/>
<id>urn:sha1:f3e1187e65df8e3fdd989cbee19ee2b9472c6735</id>
<content type='text'>
Move the declaration of these functions to "file.h" and "parse.h"
according to the translation unit they are defined in. Thus, not
all users of "dive.h" have to suck in "sqlite3.h".

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Dive site: set UUID only on save or load</title>
<updated>2019-04-12T15:19:07Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-03-03T17:39:12Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=31291b1c56bf418732cf6ef52550aada492eff9b'/>
<id>urn:sha1:31291b1c56bf418732cf6ef52550aada492eff9b</id>
<content type='text'>
Since the UUID will be overwritten on save and is only used on save
and load, set it only on save or load. For other created dive sites,
leave the UUID field uninitialized.

This means that the UUID will change between saves. Let's see how
the git saver handles that.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&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>Parser: parse into custom dive site table</title>
<updated>2019-04-12T15:19:07Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-02-28T21:45:17Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=37146c5742503becf75468fb07aab56011cb9101'/>
<id>urn:sha1:37146c5742503becf75468fb07aab56011cb9101</id>
<content type='text'>
To extend the undo system to dive sites, the importers and downloaders
must not parse directly into the global dive site table. Instead,
pass a dive_site_table argument to parse into.

For now, always pass the global dive_site_table so that this commit
should not cause any functional change.

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