<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/tests, branch v4.9.4</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.9.4</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.9.4'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2020-05-01T16:42:31Z</updated>
<entry>
<title>cleanup: move dive_table from dive.h to divelist.h</title>
<updated>2020-05-01T16:42:31Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-05-01T11:43:52Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=95284c026e763482ef581c8b6298012d2c1fd941'/>
<id>urn:sha1:95284c026e763482ef581c8b6298012d2c1fd941</id>
<content type='text'>
This allows us to decouple dive.h and divelist.h, a small step in
include disentangling.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>move GitHub url to the Subsurface org</title>
<updated>2020-04-26T23:36:30Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-04-26T23:36:27Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=da953fa18a954379cc52fec85b2f30fa368aa940'/>
<id>urn:sha1:da953fa18a954379cc52fec85b2f30fa368aa940</id>
<content type='text'>
Instead of using the Subsurface-divelog user on GitHub, we now use an org that
was generously donated to us.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>cleanup: move clearing of device nodes to clear_dive_file_data()</title>
<updated>2020-04-24T17:40:12Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-04-23T21:32:42Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=17526ded58703064dedebdf53669e12f0ab4f43e'/>
<id>urn:sha1:17526ded58703064dedebdf53669e12f0ab4f43e</id>
<content type='text'>
It makes no sense to keep the device nodes if all the other data
is cleared. Let's do this automatically and not explicitly.
This ensures that the function is also called on mobile.
Currently it was only called on desktop.

Weirdly, the parser-tests were expecting that the device nodes
were not reset by clear_dive_file_data() and therefore divecomputers
were accumulating in the test results. Thus, the additional
computers had to be removed from the expected test results.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>desktop: remove user survey</title>
<updated>2020-04-19T21:27:54Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-04-19T19:39:59Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ad66297cfd843199f39e3a231cb8311652ea183c'/>
<id>urn:sha1:ad66297cfd843199f39e3a231cb8311652ea183c</id>
<content type='text'>
We have never made good use of the results. Let's just remove it.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>testing: re-enable TestGitStorage</title>
<updated>2020-04-15T14:58:10Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-04-11T19:06:31Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=af753a52e3f08057f90b047524a806e64f835f00'/>
<id>urn:sha1:af753a52e3f08057f90b047524a806e64f835f00</id>
<content type='text'>
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>testing/git-storage: alternative random number generation for Qt 5.9</title>
<updated>2020-04-15T14:58:10Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-04-15T00:15:21Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=935b28c119b9019a0e0f94b7bf1c1a8d5322973c'/>
<id>urn:sha1:935b28c119b9019a0e0f94b7bf1c1a8d5322973c</id>
<content type='text'>
We still need to support Qt 5.9 for Ubuntu 18.04 / Bionic. This uses
deprecated calls to qrand() - but then qrand() wasn't deprecated in 5.9.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>testing/git-storage: fairly fundamental rewrite of the storage test</title>
<updated>2020-04-15T14:58:10Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-04-11T19:26:55Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=20f0a82b4e5c746cd9c43a6eb21e7c293084aaf3'/>
<id>urn:sha1:20f0a82b4e5c746cd9c43a6eb21e7c293084aaf3</id>
<content type='text'>
The old test was broken in many ways and kept failing for a number of
reasons. Some of them were addressed in the previous commits (the
missing HEAD ref being the main one), the other one was that the tests
kept stepping on top of each other - as were potentially random users or
reviewers using the 'universal' test account.

This uses a random one of ten dedicated test accounts, and on top of
that uses a random branch name (instead of the fixed email address
associated with the account).

This also rewrites several of the tests dealing with offline changes to
correctly model going offline (but keeps one that directly writes to the
local cache).

Finally this change also tries to do a much better job cleaning up after
itself and not leaving data behind the the next run could stumble over.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>media: move picture function from dive.c to picture.c</title>
<updated>2020-04-10T17:53:03Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-04-10T07:42:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=3f3869ff650229e99262ee07b14e1d14ca973d10'/>
<id>urn:sha1:3f3869ff650229e99262ee07b14e1d14ca973d10</id>
<content type='text'>
Currently, move only those functions that do not access dive
structures.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>cleanup: don't compile subsurface-helper.cpp for tests</title>
<updated>2020-03-31T15:49:12Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-03-31T12:55:11Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6dbc9ca4b01a1e776f90a2f6337d19418ca0c365'/>
<id>urn:sha1:6dbc9ca4b01a1e776f90a2f6337d19418ca0c365</id>
<content type='text'>
It is unclear why the subsurface-helper.cpp file was linked with the
tests. In any case, it led to comlicated ifdef-ery, so let's remove
that for now and readd later if the need arises.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Grammar: replaces 'indexes' by 'indices'</title>
<updated>2020-03-11T15:26:30Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2020-03-11T10:30:51Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=285fa8acbceebf5dc87c5c3befe42a2917a3b844'/>
<id>urn:sha1:285fa8acbceebf5dc87c5c3befe42a2917a3b844</id>
<content type='text'>
Grammar-nazi ran

git grep -l 'indexes' | xargs sed -i '' -e 's/indexes/indices/g'

to prevent future wincing when reading the source code.

Unfortunatly, Qt itself is infected as in
QModelIndexList QItemSelection::indexes() const

Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
</content>
</entry>
</feed>
