From 94a7ba9097a5a7ad750273adc6762a99b90c79db Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Wed, 24 Jan 2024 00:41:07 +1300 Subject: [PATCH] Desktop: Fix the Generation of Elements in the UDDF Export. Fix the generation of elements in the UDDF export. Also change the ids of gasmixes to include the helium fraction, and fractions of a percent, in order to make UDDF export suitable for technical diving. Signed-off-by: Michael Keller --- CHANGELOG.md | 1 + xslt/uddf-export.xslt | 126 +++++++++++++++++++++++++++++++----------- 2 files changed, 96 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a76e2779..407d557ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +desktop: fix gas switches in UDDF exports core: allow of up to 6 O2 sensors (and corresponding voting logic) desktop: add divemode as a possible dive list column profile-widget: Now zomed in profiles can be panned with horizontal scroll. diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt index 8037d7d0e..4c6e15d4f 100644 --- a/xslt/uddf-export.xslt +++ b/xslt/uddf-export.xslt @@ -5,7 +5,7 @@ - + @@ -134,15 +134,15 @@ - + - + - + @@ -150,10 +150,10 @@ - + - + @@ -163,9 +163,25 @@ just use the same references used internally on Subsurface. --> - + - + + + + + + + + + + + + + + + + + @@ -334,19 +350,31 @@ + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + @@ -501,11 +529,29 @@ - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -555,12 +601,30 @@ - - - - - - + + + + + + + + + + + + + + + + + + + + + + + +