<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/xslt, branch v3.1</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v3.1</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v3.1'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2013-05-17T13:50:50Z</updated>
<entry>
<title>Do not add unnecessary / at end of location on divelogs import</title>
<updated>2013-05-17T13:50:50Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-05-17T03:48:38Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e07072f10a130a5e3a3aca8d1d7cf01d917044ed'/>
<id>urn:sha1:e07072f10a130a5e3a3aca8d1d7cf01d917044ed</id>
<content type='text'>
The check if both location and site exist was flawed causing an extra
slash on location name when the SITE was empty. Thus resulting in
multiple location candidates when exporting to divelogs.de and
re-importing to Subsurface.

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>XSLT for importing individual DM4 dives</title>
<updated>2013-04-22T16:07:00Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-04-22T04:02:47Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=cfa36448a110e81c42a332987c413a2ddf847ad7'/>
<id>urn:sha1:cfa36448a110e81c42a332987c413a2ddf847ad7</id>
<content type='text'>
This XSLT can be used when exporting single dives from DM4 and importing
them to Subsurface.

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>Switch to UTF-8 on .DLD export</title>
<updated>2013-04-09T13:25:36Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-04-09T02:25:04Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=68545465ba971952e4c66606e44786d9337f97ad'/>
<id>urn:sha1:68545465ba971952e4c66606e44786d9337f97ad</id>
<content type='text'>
Let's use the shiny new UTF-8 encoding on divelogs.de export.

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>Fix end pressure on DLD export</title>
<updated>2013-03-26T19:52:39Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-03-26T08:25:51Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=5533cd749fb081df9897aae1d9787fbadcb416ff'/>
<id>urn:sha1:5533cd749fb081df9897aae1d9787fbadcb416ff</id>
<content type='text'>
While working on UDDF export I noticed that the grabbing of last
sample pressure was not working properly. This will fix it for DLD
export.

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>Fix pressures on UDDF export</title>
<updated>2013-03-26T19:52:30Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-03-26T08:25:50Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ac5881c3fe852ba0fbadadf09d7fe0cbb6255a1b'/>
<id>urn:sha1:ac5881c3fe852ba0fbadadf09d7fe0cbb6255a1b</id>
<content type='text'>
Examples on UDDF specification indicate that pressures are reported in
Pascal. Also prefer the sample data from first dive computer for start
and end tank pressures.

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>Gases and events support for UDDF export</title>
<updated>2013-03-26T19:51:19Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-03-26T08:25:49Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b18f9fa057a5f4bea447eb03a49926d19acfb4c9'/>
<id>urn:sha1:b18f9fa057a5f4bea447eb03a49926d19acfb4c9</id>
<content type='text'>
This patch generates a gases section on UDDF export. The section
consists of all the unique gas mixes sawn on the dive log.

The latter part includes events to the export. Gas change and heading
events are properly translated to respective UDDF naming. Other events
are copied over as is. Some of the events are the same (ascent, deco,
rbt, surface) in UDDF some are not available.

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>Export dives to UDDF file</title>
<updated>2013-03-24T13:37:56Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-03-24T08:00:25Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=12d5ab4ce31756999fc34a56c50f54dc585d8bbb'/>
<id>urn:sha1:12d5ab4ce31756999fc34a56c50f54dc585d8bbb</id>
<content type='text'>
This patch implements exporting dives from Subsurface to UDDF format.
Events and cylinder info are the most remarkable things still missing
from the export.

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>Added support for UDDf version 3.1</title>
<updated>2013-03-19T20:49:21Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-03-19T20:41:49Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6a98588ed02320c4d33c1d848c38a424c90448f3'/>
<id>urn:sha1:6a98588ed02320c4d33c1d848c38a424c90448f3</id>
<content type='text'>
This adds support for UDDF version 3.1 as produced by at least
DiversDiary. Basically we have to include the different name space into
our selections.

This patch also checks if the temperature is zero on all samples and
skips temperature readings if it looks like the dive computer does not
record them.

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>Only print separator when really needed on import</title>
<updated>2013-03-16T22:16:41Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-03-16T07:42:13Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=38d224a335cb9935d186b8b7ad0dc39c768e364f'/>
<id>urn:sha1:38d224a335cb9935d186b8b7ad0dc39c768e364f</id>
<content type='text'>
The separator was printed if SITE had data, even if LOCATION was empty.
Now print the separator only if both of these contain data.

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>Support divelogs.de exports that include Cyrillic characters</title>
<updated>2013-03-15T23:29:37Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-03-15T17:02:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=757791335f212a189790452cb2d467c31a2ae672'/>
<id>urn:sha1:757791335f212a189790452cb2d467c31a2ae672</id>
<content type='text'>
divelogs.de sends us XML files that explicitly state that they are in
ISO-8859-1 encoding (which is true). These files contain the HTML encoded
Cyrillic characters. Once we decode those characters the resulting file is
actually UTF-8 encoded (which is a superset of ISO-8859-1). That seriously
confuses libxml when it tries to parse things.

So instead recognize divelogs.de files and skip the encoding declaration
for them before decoding the HTML encoded non-ISO-8859-1 characters.

This does show, however, that divelogs.de incorrectly truncates the
encoded strings (at least in some sample data that I created the parsing
throws errors because of that).

Reported-by: Sergey Starosek &lt;sergey.starosek@gmail.com&gt;
Based-on-code-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
