<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/desktop-widgets/tab-widgets, branch v4.9.2</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.9.2</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.9.2'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2019-08-08T23:26:30Z</updated>
<entry>
<title>Cleanup: move error reporting function declarations to errorhelper.h</title>
<updated>2019-08-08T23:26:30Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-08-05T17:41:15Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=5da09a21bba0b3d8979d6b8e70baf52b0316242f'/>
<id>urn:sha1:5da09a21bba0b3d8979d6b8e70baf52b0316242f</id>
<content type='text'>
Move the declarations of the "report_error()" and "set_error_cb()"
functions and the "verbose" variable to errorhelper.h.
Thus, error-reporting translation units don't have to import the
big dive.h header file.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Move the Suit text box from the Notes tab to the Equipment tab</title>
<updated>2019-08-08T16:12:09Z</updated>
<author>
<name>willemferguson</name>
<email>willemferguson@zoology.up.ac.za</email>
</author>
<published>2019-07-20T18:53:06Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=78f425de68cdb1504e477519577d22efd694fec0'/>
<id>urn:sha1:78f425de68cdb1504e477519577d22efd694fec0</id>
<content type='text'>
Sqash latest commit with previous one.

Signed-off-by: willemferguson &lt;willemferguson@zoology.up.ac.za&gt;
</content>
</entry>
<entry>
<title>Desktop: display trip time on main-tab</title>
<updated>2019-08-08T16:03:33Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-08-07T19:53:50Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=344c85f4993176148e4fff718278d9692bcf39b7'/>
<id>urn:sha1:344c85f4993176148e4fff718278d9692bcf39b7</id>
<content type='text'>
On the main tab, the trip time was not shown when switching to
a trip. Implement showing of the trip date in a function, as the
undo-code will also have to update the trip date in certain
circumstances.

Fixes #2207

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Desktop: fix index in weightsystems_equal()</title>
<updated>2019-07-27T18:51:34Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-07-27T14:44:24Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=999a63a5bba58d39a23da34b0eddc37324298699'/>
<id>urn:sha1:999a63a5bba58d39a23da34b0eddc37324298699</id>
<content type='text'>
The weightsystem_equal() function compares weightsystems of two dives
to decide whether the "commit changes" message should be shown and
to decide which dives are edited when changing multiple dives.

Due to an index mixup the function returned wrong results for
more than two weightsystems. Fix it.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<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: Remove unused function calls in main tab</title>
<updated>2019-07-18T12:47:27Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-07-15T19:55:23Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e3577ffd7efd1fdb0cfbe8877a7bebff6016054c'/>
<id>urn:sha1:e3577ffd7efd1fdb0cfbe8877a7bebff6016054c</id>
<content type='text'>
per_cylinder_mean_depth() and selected_dives_gas_parts() are used
in the dive-information and statistics tab, respectively. Nevertheless,
these functions are called on the main tab as well and the result is
trashed. Therefore remove the calls. Must have been an artifact.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: remove includes from qthelper.h</title>
<updated>2019-07-18T12:42:55Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-07-15T21:44:39Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8f119dcf72db445530b39e0722c3afad7c130efb'/>
<id>urn:sha1:8f119dcf72db445530b39e0722c3afad7c130efb</id>
<content type='text'>
To reduce interdependencies, remove the dive.h and divelist.h
includes in qthelper.h

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Desktop: clear notes on empty dive</title>
<updated>2019-07-11T13:58:30Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-07-10T21:13:54Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=5886550434e2c2e3c77880a4ee08f9d192d6984a'/>
<id>urn:sha1:5886550434e2c2e3c77880a4ee08f9d192d6984a</id>
<content type='text'>
If no dive is set, all fields except the note field were cleared.
Also clear notes.

Fixes #2172

Reported-by: Anton Lundin &lt;glance@acc.umu.se&gt;
Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Desktop: enable clearing of dive site</title>
<updated>2019-07-04T01:41:09Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-06-30T21:08:02Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=02e94de062dc2c776ee37e8f642f0ec0ae8ad9e7'/>
<id>urn:sha1:02e94de062dc2c776ee37e8f642f0ec0ae8ad9e7</id>
<content type='text'>
Clearing dive site did not work for two reasons:
1) We didn't get a signal when editing was finished.
2) When clearing the dive site, the "add new dive site" site was set.

Thus, connect to the editingFinished signal and in
DiveLocationLineEdit::currDiveSite() return a null pointer if
the string is empty.

This means that it is not possible to have a dive site with an
empty string, but that shouldn't be a problem, right?

Fixes #2148

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Desktop: fix time editing</title>
<updated>2019-06-24T08:32:41Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2019-06-24T04:04:50Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ca496c63aed2ff8c372baefee6a8b7a48402d081'/>
<id>urn:sha1:ca496c63aed2ff8c372baefee6a8b7a48402d081</id>
<content type='text'>
We were shifting in the wrong direction. Which caused the field to be marked as
'edited' again, which meant we shifted the wrong way and twice the distance.
This seems to fix the problem for both date and time editing.

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