<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/qt-models, branch v4.4.96</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.4.96</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.4.96'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2015-09-01T01:43:09Z</updated>
<entry>
<title>UI code to merge dive sites</title>
<updated>2015-09-01T01:43:09Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tomaz.canabrava@intel.com</email>
</author>
<published>2015-09-01T00:35:17Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e36e4d1faa95439a1806935de6dcbd04d2283d20'/>
<id>urn:sha1:e36e4d1faa95439a1806935de6dcbd04d2283d20</id>
<content type='text'>
Get the Qt data structures and convert to something
that we can use in our C - core.

Signed-off-by: Tomaz Canabrava &lt;tomaz.canabrava@intel.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Display dive sites with same gps as the current</title>
<updated>2015-09-01T01:42:15Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tomaz.canabrava@intel.com</email>
</author>
<published>2015-08-31T23:59:13Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=a3d6098c8ce7bee6841872153a85b573d583430d'/>
<id>urn:sha1:a3d6098c8ce7bee6841872153a85b573d583430d</id>
<content type='text'>
So we can merge them later - currently we are showing
only the ID, ugly - fixing next.

Signed-off-by: Tomaz Canabrava &lt;tomaz.canabrava@intel.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Fix recursive stack-overflow</title>
<updated>2015-09-01T01:41:47Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tomaz.canabrava@intel.com</email>
</author>
<published>2015-08-31T23:58:31Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=dcda950202545f0ecbe6a1192ec5aaae4af19227'/>
<id>urn:sha1:dcda950202545f0ecbe6a1192ec5aaae4af19227</id>
<content type='text'>
Only call this when needed, if there's no function set
as callback, always return true.

Signed-off-by: Tomaz Canabrava &lt;tomaz.canabrava@intel.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Add function to filter same-gps dive sites</title>
<updated>2015-09-01T01:41:32Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tomaz.canabrava@intel.com</email>
</author>
<published>2015-08-31T23:37:49Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=71e366a6e4cd1529eb336f68f239736125466fcf'/>
<id>urn:sha1:71e366a6e4cd1529eb336f68f239736125466fcf</id>
<content type='text'>
This should be userfull to show dive sites that are
mergeable.

Signed-off-by: Tomaz Canabrava &lt;tomaz.canabrava@intel.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Add a new model: SsrfFilterProxyModel</title>
<updated>2015-09-01T01:41:14Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tomaz.canabrava@intel.com</email>
</author>
<published>2015-08-31T23:19:06Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ab32295f8906ae5b6334f7abc8d05032b68ae577'/>
<id>urn:sha1:ab32295f8906ae5b6334f7abc8d05032b68ae577</id>
<content type='text'>
Add a new Model, it's the QSortFilterProxyModel that accepts
functions to filter / sort. so instead of creating a new class
for each different sorting (overkill), now we can just create
a function and pass to this class.  I'll rework the filtering
system of subsurface to use this - in the meantime I've created
this to ease the creation of another filter: the dive sites
by gps coordinates.

Signed-off-by: Tomaz Canabrava &lt;tomaz.canabrava@intel.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>QML UI: Remove unneeded MobileDive class</title>
<updated>2015-08-31T22:47:48Z</updated>
<author>
<name>Grace Karanja</name>
<email>gracie.karanja89@gmail.com</email>
</author>
<published>2015-08-18T09:03:30Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=390c10bb088ddbe8a679de8ac3289eb7d10bf8a9'/>
<id>urn:sha1:390c10bb088ddbe8a679de8ac3289eb7d10bf8a9</id>
<content type='text'>
The MobileDive class in divelistmodel.h is a duplication of the
Dive class in templatelayout.h. This patch moves the Dive to
the qthelper file.

[Dirk Hohndel: merged with upstream master - let's hope I didn't
               mess anything up]

Signed-off-by: Grace Karanja &lt;gracie.karanja89@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>QML UI: Use AddDive instead of clear dive</title>
<updated>2015-08-31T22:24:15Z</updated>
<author>
<name>Grace Karanja</name>
<email>gracie.karanja89@gmail.com</email>
</author>
<published>2015-08-16T08:57:18Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=5a7dbf02258d1c5b12f9db01c275e4a0bbe97aff'/>
<id>urn:sha1:5a7dbf02258d1c5b12f9db01c275e4a0bbe97aff</id>
<content type='text'>
No need to clear the dives when adding a new one.

Signed-off-by: Grace Karanja &lt;gracie.karanja89@gmail.com&gt;
</content>
</entry>
<entry>
<title>QML UI: Clear divelist model before starting new dive</title>
<updated>2015-08-31T22:24:14Z</updated>
<author>
<name>Grace Karanja</name>
<email>gracie.karanja89@gmail.com</email>
</author>
<published>2015-08-12T12:01:39Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=a3bdf49b84d8a30a22e05bc965e98f5e7914f637'/>
<id>urn:sha1:a3bdf49b84d8a30a22e05bc965e98f5e7914f637</id>
<content type='text'>
When user clicks on AddDive, we should clear the model.

Signed-off-by: Grace Karanja &lt;gracie.karanja89@gmail.com&gt;
</content>
</entry>
<entry>
<title>Create a new dive site and edit it automatically</title>
<updated>2015-08-26T01:00:15Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tomaz.canabrava@intel.com</email>
</author>
<published>2015-08-26T00:03:20Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=fc6d819616b69f7c69dc8743bc25aa8ad51708a4'/>
<id>urn:sha1:fc6d819616b69f7c69dc8743bc25aa8ad51708a4</id>
<content type='text'>
If the user clicks on the first or second option of the drop
down list, subsurface will move him to the dive site edit panel
automatically, since it's a new dive site and there's no information
about it yet.

Signed-off-by: Tomaz Canabrava &lt;tomaz.canabrava@intel.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Make created dive site uuid deterministic</title>
<updated>2015-08-25T17:43:48Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-08-24T17:37:18Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e03b553e80a00b07757f51f7866bc666b807dce8'/>
<id>urn:sha1:e03b553e80a00b07757f51f7866bc666b807dce8</id>
<content type='text'>
Having random uuids seemed like a good idea, but there are several
situations where they really cause problems. One is merging dive file
imports from V2 logfiles. Another is testing such imports.

Instead of making the uuid random we now hash the name and add the
timestamp of the first dive associated with this dive site to the hash
(first in this context is "first encountered" with no guarantee that it is
the chronologically first). This way V2 imports create deterministic uuids
but uuid conflicts are still extremely unlikely, even if the user has
multiple dive sites with the same name.

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