Re: Missing pO2 samples from CCR download [was: 4.7.8: a couple of questions]

2018-06-20 Thread Martin Long
I'll test them either way once a binary is available. This problem has affected me too. On Wed, 20 Jun 2018, 20:20 Dirk Hohndel, wrote: > Thanks, Anton. This looks reasonable. Assuming Linus sees no issue we can > add this today and if Davide is still interested he can test the new > binaries.

Re: Missing pO2 samples from CCR download [was: 4.7.8: a couple of questions]

2018-06-03 Thread Martin Long
Davide, I can confirm I also had this problem, and now I've got 6 months of dives with missing data. The fallback solution looks ideal to me. I hope we're able to get a build with these changes soon. Martin On Fri, 25 May 2018, 18:33 Anton Lundin, wrote: > On 25 May, 2018 - Jef Driesen wrote:

Re: ppO2 data has changed

2018-06-02 Thread Martin Long
Sorry, I only just noticed Davide's thread which already covers this issue. Martin On Sat, 2 Jun 2018, 18:49 Long, Martin, wrote: > Hi, > > I've noticed that the data downloaded from my Shearwater Petrel (JJ > Divecan) has changed recently. Older dives have the actual recorded ppO2, > whereas

Re: More Grantlee trouble - pagination

2017-01-23 Thread Martin Long
my suspicion is that your modified template is somehow breaking the pagination which happens in Qt / C++ - e.g. with CSS, HTML tag nesting. maybe we can help more if you share it with the mailing list. lubomir -- Thanks Lubomir, You're right, I'm not seeing this anymore with the built-in

More Grantlee trouble - pagination

2017-01-23 Thread Martin Long
I've seen this problem for a while, and wonder if it's me. However I have seen it in the supplied templates too. It also happens on both Linux and Windows. I'm in the UK so using A4 pages, though i don't think that should matter. At the bottom of each page I start to see the next page "bleeding"

Re: Grantlee frustrations

2017-01-23 Thread Martin Long
> > > a) to assign a dive object to some variable or pointer so that I could > reference it later when it wasn't the current subject of the for loop > iterating through the dives. > > or > > b) reference a dive directly by it's position in the collection of dives. > What Tim says is true. b) is

Re: Grantlee frustrations

2017-01-23 Thread Martin Long
> > > I think this could be a grantlee issue - > If you have a bit of time, can you write what you think it would be the > correct implementation on the template and send me so I can poke subsurface > internals or a new grantlee library to se if it works? > > Thanks. > > Tomaz > > Ok, I'll see if

Grantlee frustrations

2017-01-23 Thread Martin Long
Sorry... emailing here as a last resort. Grantlee seems to have a very limited implementation of Django. Such that it seems impossible to do what I'm trying to do. I want to essentially reorder the dives as follows... 0 2 4 6 3 1 7 5 and then continuing that sequence 8 + x , 16 + x etc. This

Re: Printing templates - caching?

2017-01-23 Thread Martin Long
> > > > we have them in the documentation. > > Thank you! ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: Printing templates - caching?

2017-01-23 Thread Martin Long
at 11:49 AM, Martin Long <mar...@longhome.co.uk> > wrote: > > I'm not really sure how this works. It looks like when I load subsurface > the print templates are processed and stored somewhere. Any subsequent > changes I make to the templates are then not recognised. Even if I de

Printing templates - caching?

2017-01-23 Thread Martin Long
I'm not really sure how this works. It looks like when I load subsurface the print templates are processed and stored somewhere. Any subsequent changes I make to the templates are then not recognised. Even if I delete a template. So, I'm finding, while I'm working on a template, that I'm

Re: Beta for Android

2017-01-08 Thread Martin Long
> > > > Where can I find documentation for building Android binaries? It's not on > https://subsurface-divelog.org/documentation/building/ > My mistake. I've found it in the INSTALL file. Thanks. ___ subsurface mailing list

Re: Beta for Android

2017-01-08 Thread Martin Long
> > > > I would build myself, but I can't even get the latest 4.6 branch to > build, and I believe there are some other requirements for building > Android, which don't seem to be documented anywhere. > > It should be fully documented. If there is anything that doesn't work, > please report it

Re: Problem building latest 4.6 branch

2017-01-08 Thread Martin Long
Thanks Robert, > This looks like you Seenot using the latest libdivecomputer. Use (at least > for the first time) the subsurface buildscript > > ./subsurface/scripts/build.sh > > > As I mentioned I am using the instructions from the website, which direct me to run that script. However, I did

Problem building latest 4.6 branch

2017-01-08 Thread Martin Long
I'm currently experiencing a problem building the current 4.6. If I start from a fresh clean src directory, and follow the instructions on the website (clean checkout from git). I'm building on Ubuntu wily. My packages are up-to-date. -- Creating build files for Subsurface 4.5.6 -- out of source

Beta for Android

2017-01-08 Thread Martin Long
I've noticed that there have been no builds in the "daily" folder for Android since September. Also the Beta version in Google Play hasn't been updated with any of the latest builds (I'm registered as a beta tester for subsurface in Google Play). Is there any prebuilt apk available for the beta

Re: [PATCH] QML UI: deal with multiple buddies correctly

2016-11-22 Thread Martin Long
Hi, Is there any changes of a new daily build with this patch? I've noticed that this has been trashing the data for a load of my dives. Thanks Martin On Mon, 12 Sep 2016 at 19:30 Joakim Bygdell wrote: > When editing adive in Subsurface-mobile we can only handle one

Missing package on build instructions.

2016-01-28 Thread Martin Long
Hi, It looks like the following package is missing from the build instructions (for Debian) here: https://subsurface-divelog.org/documentation/building/ qtpositioning5-dev It would also be good to add that the instructions are also suitable for Ubuntu. Cheers Martin

Re: GSoC 2015 - Introduction

2015-03-26 Thread Martin Long
Actually, the type/category stuff will be essential to make Subsurface aware when some specific field is required... eg. is it a camera? so, let's include a field to store the resolution (of course, it's just an example - I think that we should avoid having specific fields, since users could

[PATCH 3/7] Use generated Ids for site lookup in UDDF export.

2014-12-12 Thread Martin Long
As with buddies, sites could contain characters which are not valid in Ids. Also, it is very possible to have duplicate site names. This uses an XSL generated id to prevent any issues. Signed-off-by: Martin Long mar...@longhome.co.uk --- xslt/uddf-export.xslt | 12 ++-- 1 file changed

[PATCH 5/7] Various minor fixes to UDDF export

2014-12-12 Thread Martin Long
Removed underscore from buddy name elements Added 'mix' prefix to gas ids. Ids must not start with a number. Added mandatory profile data with empty tags. Signed-off-by: Martin Long mar...@longhome.co.uk --- xslt/uddf-export.xslt | 20 +++- 1 file changed, 11 insertions(+), 9

[PATCH 4/7] Fix divecomputer part of UDDF export

2014-12-12 Thread Martin Long
XPath was incorrect for parsing divecomputers into the equipment section, meaning they dont get inserted. Signed-off-by: Martin Long mar...@longhome.co.uk --- xslt/uddf-export.xslt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt

[PATCH 7/7] Fix bug in tankpressurebegin in UDDF export

2014-12-12 Thread Martin Long
There was a bug when the first sample doesn't contain pressure info. This fixes that by selecting the first with pressure info. Signed-off-by: Martin Long mar...@longhome.co.uk --- xslt/uddf-export.xslt | 29 + 1 file changed, 13 insertions(+), 16 deletions(-) diff

[PATCH 1/7] Update UDDF export generator header to include madatory tags.

2014-12-12 Thread Martin Long
Add name at generator level, and add additional homepage in contact tag. Signed-off-by: Martin Long mar...@longhome.co.uk --- xslt/uddf-export.xslt | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt index 2f7ba70..7cdb2b2

[PATCH 2/7] Use generated ids for buddies in UDDF export.

2014-12-12 Thread Martin Long
This is instead of using their names, which may contain illegal characters. Signed-off-by: Martin Long mar...@longhome.co.uk --- xslt/uddf-export.xslt | 45 - 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/xslt/uddf-export.xslt b/xslt

[PATCH 1/2] Support buddies with only a first name, no surname.

2014-12-10 Thread Martin Long
The previous patch would not fill the first name field if there was no second name. This rectifies that. Signed-Off-By: Martin Long mar...@longhome.co.uk --- xslt/uddf-export.xslt | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/xslt/uddf-export.xslt b

[PATCH 2/2] Aggregate multiple weights into UDDF export.

2014-12-10 Thread Martin Long
Sum together all of the weights recored on a dive to use in the leadquantity tag in UDDF export. Signed-off-by: Martin Long mar...@longhome.co.uk --- xslt/uddf-export.xslt | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt

[PATCH] Add 'trip' support to UDDF export

2014-12-10 Thread Martin Long
. This is a bidirectional link between the dives and the trips. This patch adds support for these trips. However, it leaves in the repetition groups. Repetition groups may need further consideration. Signed-off-by: Martin Long mar...@longhome.co.uk --- xslt/uddf-export.xslt | 30

[PATCH 7/7] Fixed airtemperature in UDDF export.

2014-12-09 Thread Martin Long
The XSLT didn't expect the temperature tag to be within the divecomputer element in the source, so the selection wasn't finding it. --- xslt/uddf-export.xslt | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt index

[PATCH 6/7] Added leadquantity to UDDF export, showing weight used.

2014-12-09 Thread Martin Long
--- xslt/uddf-export.xslt | 4 1 file changed, 4 insertions(+) diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt index e558ca5..b4c3cd9 100644 --- a/xslt/uddf-export.xslt +++ b/xslt/uddf-export.xslt @@ -237,6 +237,10 @@ /xsl:attribute /link /xsl:if

[PATCH 5/7] Split last_name and first_name for buddies in UDDF export

2014-12-09 Thread Martin Long
--- xslt/uddf-export.xslt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt index ff9f364..e558ca5 100644 --- a/xslt/uddf-export.xslt +++ b/xslt/uddf-export.xslt @@ -73,8 +73,11 @@ /xsl:attribute

[PATCH 3/7] Prevent UserID from being 'stuffed' into the start of UDDF export.

2014-12-09 Thread Martin Long
Due to there being no xsl template for the userID, it ended up getting inserted at the start of the output. This adds an empty template to map the settings element, preventing this erronious insertion. --- xslt/uddf-export.xslt | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 2/7] Update dive site structure in UDDF export to match UDDF 3.2.0 specification.

2014-12-09 Thread Martin Long
The dive site structure in the UDDF export was using an old structure where each site is simply listed as a dive_site. The new structure requires a single divesite containing at least one divebase - a base location where you are diving from, and at least one site. As subsurface only tracks