<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/dives, branch v4.0</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.0</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.0'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2013-12-13T00:29:06Z</updated>
<entry>
<title>Correctly parse multiple tags in the divelog</title>
<updated>2013-12-13T00:29:06Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2013-12-13T00:12:04Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=89a58e23e095c50dc844cbbed577c989cf801e32'/>
<id>urn:sha1:89a58e23e095c50dc844cbbed577c989cf801e32</id>
<content type='text'>
The old parsing code overwrote the first comma with a '\0' and then
checked the index against the length of the buffer - which was changed by
replacing the ',' with the '\0'.

This means that since commit 78acf20848c0 ("Don't crash on loading tags
longer than 127 chars") Subsurface has potentially damaged / lost data in
dive files!

Added a test dive that shows the issue if opened by a Subsurface version
after the commit mentioned above but before this commit.

Reported-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Different Icon for a Bookmark Event.</title>
<updated>2013-12-05T03:41:29Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tcanabrava@kde.org</email>
</author>
<published>2013-12-05T01:53:53Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=441838def098267aa2c7c81f22eba7c16b58d2ca'/>
<id>urn:sha1:441838def098267aa2c7c81f22eba7c16b58d2ca</id>
<content type='text'>
This patch adds a different icon for a Bookmark Event, and it
also cleaned a lot of code. :)

See #300

[Dirk Hohndel: made the two icons slightly bigger]

Signed-off-by: Tomaz Canabrava &lt;tcanabrava@kde.org&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Allow comma separated CSV files</title>
<updated>2013-12-04T23:27:09Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2013-12-04T23:19:28Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b5d3476b0ba881699c604a3d97c5801b8bb99a08'/>
<id>urn:sha1:b5d3476b0ba881699c604a3d97c5801b8bb99a08</id>
<content type='text'>
The separator selector in the CSV import dialog was unused. This passes
the value into the xslt and adds ',' as possible value.

I'm sure this could be done much better (pass the actual character instead
of the index), but I couldn't get that to work and this does seem to do
the trick.

Also added a test dive to test this feature.

Fixes #321

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Change gas in second cylinder in sac-test-dives</title>
<updated>2013-12-02T20:33:47Z</updated>
<author>
<name>Anton Lundin</name>
<email>glance@acc.umu.se</email>
</author>
<published>2013-12-02T20:17:07Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=81d91f2ce0d8ae9a3a15c76410f053a902b5bccc'/>
<id>urn:sha1:81d91f2ce0d8ae9a3a15c76410f053a902b5bccc</id>
<content type='text'>
Due to that we can't handle gaschanges to the same gas in another
cylinder, this changes the second gas to EAN22 to workaround that.

Signed-off-by: Anton Lundin &lt;glance@acc.umu.se&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Add test dive with tank pressure sensor information</title>
<updated>2013-10-15T11:12:16Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2013-10-15T11:12:16Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e93f96a8ebfb38696c964f9a0af28eadccf8d1a2'/>
<id>urn:sha1:e93f96a8ebfb38696c964f9a0af28eadccf8d1a2</id>
<content type='text'>
This is a real data from a Uemis Zurich divecomputer.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Sample dive from APDLogViewer</title>
<updated>2013-10-03T16:39:37Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-10-03T14:57:32Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=30f315fc55002fa2b17f8fb0f1b7acef0ba9f91d'/>
<id>urn:sha1:30f315fc55002fa2b17f8fb0f1b7acef0ba9f91d</id>
<content type='text'>
Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Test dive for CSV import</title>
<updated>2013-10-02T17:18:16Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-10-02T17:14:54Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=60234189e306d314a8ffce5cee7c9ee796e2f7c7'/>
<id>urn:sha1:60234189e306d314a8ffce5cee7c9ee796e2f7c7</id>
<content type='text'>
This test dive follows the format of APD Log Viewer but contains only
the currently used data (time, depth, and temperature).

Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Adjust test dives to comply with the current trip syntax</title>
<updated>2013-05-16T04:36:34Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2013-05-16T01:41:58Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=19750ed15ae7d6a8176c266a132e269989e91fed'/>
<id>urn:sha1:19750ed15ae7d6a8176c266a132e269989e91fed</id>
<content type='text'>
Otherwise the tests fail - we no longer support the old format.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Suunto DM4 sample dive</title>
<updated>2013-03-05T19:08:08Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-03-05T18:24:18Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=08f438a2c9eb35f00c341730463cf6fac0b72bcd'/>
<id>urn:sha1:08f438a2c9eb35f00c341730463cf6fac0b72bcd</id>
<content type='text'>
Both in .db and exported XMK format.

Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Test dives</title>
<updated>2013-02-26T16:50:05Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-02-26T16:31:22Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=826d27711e01670f1d3302df229ec1ae5d820c5a'/>
<id>urn:sha1:826d27711e01670f1d3302df229ec1ae5d820c5a</id>
<content type='text'>
On Tue, Feb 26, 2013 at 6:19 PM, Dirk Hohndel &lt;dirk@hohndel.org&gt; wrote:
&gt; Miika Turkia &lt;miika.turkia@gmail.com&gt; writes:
&gt;
&gt;&gt; On Tue, Feb 26, 2013 at 5:54 PM, Dirk Hohndel &lt;dirk@hohndel.org&gt; wrote:
&gt;&gt;&gt; Miika Turkia &lt;miika.turkia@gmail.com&gt; writes:
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; On Tue, Feb 26, 2013 at 6:45 AM, Dirk Hohndel &lt;dirk@hohndel.org&gt; wrote:
&gt;&gt;&gt;&gt;&gt; I added a few test dives exported from other software (Dm3, DiveLog 5.08,
&gt;&gt;&gt;&gt;&gt; JDiveLog 10.2 from Mac - last one doesn't parse because of encoding... Also
&gt;&gt;&gt;&gt;&gt; a composed XML zip file from DiveLog isn't supported, yet)
&gt;&gt;&gt;&gt;&gt; Find them under dives
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Now this gets interesting. Is there ANY logic in the units in the
&gt;&gt;&gt;&gt; dives/TestDiveDiveLog5.08.xml? It seems that some of the temperatures
&gt;&gt;&gt;&gt; are in C (Airtemp and Watertemp) and some in F (samples). Otherwise I
&gt;&gt;&gt;&gt; would guess we are talking metric here, but I do not see any specs
&gt;&gt;&gt;&gt; (another log I have seen from DivingLog had all the units in metric,
&gt;&gt;&gt;&gt; as far as I could guess). BTW is the Weight in kg or lb?
&gt;&gt;&gt;
&gt;&gt;&gt; I have purchased DivingLog and should be able to create any combination
&gt;&gt;&gt; of data for the test file that we could possibly want. I'll do a set in
&gt;&gt;&gt; a moment that describe what SHOULD be there in their notes, maybe that
&gt;&gt;&gt; will clear things up.
&gt;&gt;&gt;
&gt;&gt;&gt; That said, I really want to release 3.0.1 in the next couple of hours,
&gt;&gt;&gt; so this may have to wait for 3.0.2 (if we end up needing that) or 3.1.
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; The divelogs.de UDCF format looks like it shouldn't take long to write
&gt;&gt;&gt;&gt; support for. I'll look into it this evening.
&gt;&gt;&gt;
&gt;&gt;&gt; It is evening for you, right? No pressure, just making sure I understand
&gt;&gt;&gt; what may be coming in in patches in the next hour or two
&gt;&gt;
&gt;&gt; I currently have one version of the DivingLog XSLT. So a bit of
&gt;&gt; verification and that could possibly be used as is. However, this
&gt;&gt; could use a bit more testing than a new support to make sure things
&gt;&gt; are not going to be any worse than they currently are.
&gt;&gt;
&gt;&gt; I have not started with the UDCF yet, but that could be reasonably
&gt;&gt; fast to implement. However, no guarantees. (And yes, it is evening for
&gt;&gt; me)
&gt;
&gt; I can hold off 3.0.1 a couple hours longer if that is a realistic thing
&gt; to do. I don't see the UDCF as that important since we have a different
&gt; format from them that we support. So I think the best possible DivingLog
&gt; support would be my preference.
&gt;
&gt; I'll add a few more exported dives from DivingLog next (and fix the
&gt; naming of the existing ones).

In that case, here is the DivingLog XSLT if anyone can give it a test.

miika

From 4a62058f4f6fd4780f04bce6e1fe45e20abcf33f Mon Sep 17 00:00:00 2001
From: Miika Turkia &lt;miika.turkia@gmail.com&gt;
Date: Tue, 26 Feb 2013 17:46:53 +0200
Subject: [PATCH] XSLT for DivingLog

Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
