Re: deviceid

2014-11-21 Thread Salvador Cuñat
El 20/11/2014 16:37, Dirk Hohndel d...@hohndel.org escribió: The problem is, of course, that with every firmware update (and those are becoming much more frequent, as you are seeing yourself), you get a new deviceid and we redownload all dives :-( Hi Dirk. I don't think this is absolutely

[PATCH] Correct bug in XML export

2014-11-21 Thread Willem Ferguson
Subject: [PATCH] Save-XML: Correct bug in cylinder gas parameters Correct a bug that I introduced previously. Signed-off-by: willem ferguson willemfergu...@zoology.up.ac.za From 45570d66ecf238aec8997f5d0c20c01dfe0aa4fa Mon Sep 17 00:00:00 2001 From: willem ferguson

[PATCH] calculate start/end cylinder pressures for oxygen

2014-11-21 Thread Willem Ferguson
Subject: [PATCH] Update fixup_pressure to calculate CCR oxygen cylinderpressures Fixup_pressure() needs to calculate the cylinder pressures at the start and at the end of the dive, also for CCR oxygen cylinders. Since, in the case of CCR, the default cylinder is the diluent, this is not

Three patches for the planner

2014-11-21 Thread Robert Helling
Hi,here are three patches addressing issues in the planner.0001 let’s the planner use CCR all the way to the surface, even when deco gases are defined.0002 Includes set-point information in the dive plan0003 corrects makes the gas change appear in the correct line in the dive plan (this was

Re: deviceid

2014-11-21 Thread Dirk Hohndel
On Fri, Nov 21, 2014 at 11:23:28AM +0100, Salvador Cuñat wrote: El 20/11/2014 16:37, Dirk Hohndel d...@hohndel.org escribió: The problem is, of course, that with every firmware update (and those are becoming much more frequent, as you are seeing yourself), you get a new deviceid and we

Thoughts on Bug 717

2014-11-21 Thread John Van Ostrand
To address the position of the temperature graph on the dive profile window how about allowing the user to move the graph out of the way? -- John Van Ostrand At large on sabbatical From 34050397276fe9d6a8885ee4f8a379cb458fd282 Mon Sep 17 00:00:00 2001 From: John Van Ostrand j...@vanostrand.com

Re: deviceid

2014-11-21 Thread Anton Lundin
On 21 November, 2014 - Dirk Hohndel wrote: On Fri, Nov 21, 2014 at 11:23:28AM +0100, Salvador Cuñat wrote: El 20/11/2014 16:37, Dirk Hohndel d...@hohndel.org escribió: The problem is, of course, that with every firmware update (and those are becoming much more frequent, as you are

Re: deviceid

2014-11-21 Thread boret
On Viernes, 21 de noviembre de 2014 16:30:04 Dirk Hohndel escribió: On Fri, Nov 21, 2014 at 11:23:28AM +0100, Salvador Cuñat wrote: El 20/11/2014 16:37, Dirk Hohndel d...@hohndel.org escribió: The problem is, of course, that with every firmware update (and those are becoming much more

[PATCH] Instructions for building Ubuntu packages

2014-11-21 Thread Miika Turkia
Signed-off-by: Miika Turkia miika.tur...@gmail.com --- Readme.ubuntu | 65 +++ 1 file changed, 65 insertions(+) create mode 100644 Readme.ubuntu diff --git a/Readme.ubuntu b/Readme.ubuntu new file mode 100644 index 000..c81f11c ---

Re: serial and firmware -- please help

2014-11-21 Thread Willem Ferguson
On 21/11/2014 01:41, Dirk Hohndel wrote: So I pushed a patch that will dump some data to stderr when you download dives from your dive computer. And I'd love for as many people as possible to run this against all the dive computers you can get your hands on and respond to this email with a)

Re: Thoughts on Bug 717

2014-11-21 Thread Joakim Bygdell
On 21 Nov 2014, at 16:38, John Van Ostrand j...@vanostrand.com wrote: To address the position of the temperature graph on the dive profile window how about allowing the user to move the graph out of the way? A totally different approach that the patch I sen on Nov 2 that simply moved the

Re: Thoughts on Bug 717

2014-11-21 Thread Tomaz Canabrava
On Fri, Nov 21, 2014 at 2:35 PM, Joakim Bygdell j.bygd...@gmail.com wrote: On 21 Nov 2014, at 16:38, John Van Ostrand j...@vanostrand.com wrote: To address the position of the temperature graph on the dive profile window how about allowing the user to move the graph out of the way? A

Re: Thoughts on Bug 717

2014-11-21 Thread Dirk Hohndel
On Fri, Nov 21, 2014 at 05:35:59PM +0100, Joakim Bygdell wrote: On 21 Nov 2014, at 16:38, John Van Ostrand j...@vanostrand.com wrote: To address the position of the temperature graph on the dive profile window how about allowing the user to move the graph out of the way? A totally

Re: Thoughts on Bug 717

2014-11-21 Thread Joakim Bygdell
On 21 Nov 2014, at 18:04, Dirk Hohndel d...@hohndel.org wrote: On Fri, Nov 21, 2014 at 05:35:59PM +0100, Joakim Bygdell wrote: On 21 Nov 2014, at 16:38, John Van Ostrand j...@vanostrand.com wrote: To address the position of the temperature graph on the dive profile window how about

post 4.3 - git dialogs

2014-11-21 Thread Dirk Hohndel
I've been looking into this and Tomaz asked me something about Dropbox and Google Drive and so I figured I might as well document this in email so people can comment. Once thing I want to add after 4.3 is a user friendly way to interact with storage that isn't just a local XML file. We already

[PATCH] Create a subsurface_access for Android too

2014-11-21 Thread Anton Lundin
Signed-off-by: Anton Lundin gla...@acc.umu.se --- android.cpp | 5 + 1 file changed, 5 insertions(+) diff --git a/android.cpp b/android.cpp index 1e99a5c..0bb7db0 100644 --- a/android.cpp +++ b/android.cpp @@ -69,6 +69,11 @@ void *subsurface_opendir(const char *path) return (void

Subsurface HiDPI patches and Android

2014-11-21 Thread Anton Lundin
I built a new Subsurface-android for my phone and noted that the HiDPI-patches did some wonders on the usability of Subsurface on Android. Now it's almost usable. There are still a bunch of problems, but some more HiDPI-fixes and its almost working =) //Anton -- Anton Lundin+46702-161604

Re: Subsurface HiDPI patches and Android

2014-11-21 Thread Dirk Hohndel
On Fri, Nov 21, 2014 at 08:55:46PM +0100, Anton Lundin wrote: I built a new Subsurface-android for my phone and noted that the HiDPI-patches did some wonders on the usability of Subsurface on Android. Now it's almost usable. Awesome! I keep wanting to find the time to play with that. But

Re: serial and firmware -- please help

2014-11-21 Thread Joakim Bygdell
On 21 Nov 2014, at 0:41, Dirk Hohndel d...@hohndel.org wrote: So I pushed a patch that will dump some data to stderr when you download dives from your dive computer. And I'd love for as many people as possible to run this against all the dive computers you can get your hands on and respond

Re: serial and firmware -- please help

2014-11-21 Thread Linus Torvalds
On Fri, Nov 21, 2014 at 12:47 PM, Joakim Bygdell j.bygd...@gmail.com wrote: From my OSTC3 Serial is correct, but the firmware should be 1.60. libdc devinfo firmware version converted to 03.16 So the firmware version is byte-based: decimal 316 = 0x013c = two bytes of 0x01 (1) and 0x3c (60).

Re: serial and firmware -- please help

2014-11-21 Thread Joakim Bygdell
On 21 Nov 2014, at 21:53, Linus Torvalds torva...@linux-foundation.org wrote: On Fri, Nov 21, 2014 at 12:47 PM, Joakim Bygdell j.bygd...@gmail.com wrote: From my OSTC3 Serial is correct, but the firmware should be 1.60. libdc devinfo firmware version converted to 03.16 So the

Re: serial and firmware -- please help

2014-11-21 Thread Dirk Hohndel
On Sat, Nov 22, 2014 at 07:15:13AM +1100, Rick Walsh wrote: On 21 November 2014 10:41, Dirk Hohndel d...@hohndel.org wrote: So I pushed a patch that will dump some data to stderr when you download dives from your dive computer. And I'd love for as many people as possible to run this against

Re: serial and firmware -- please help

2014-11-21 Thread Dirk Hohndel
On Fri, Nov 21, 2014 at 12:53:20PM -0800, Linus Torvalds wrote: On Fri, Nov 21, 2014 at 12:47 PM, Joakim Bygdell j.bygd...@gmail.com wrote: From my OSTC3 Serial is correct, Well, the format with the '-' is incorrect. The OSTC3 reports it just as a number with no leading zeroes, correct?

Re: serial and firmware -- please help

2014-11-21 Thread Henrik Brautaset Aronsen
Dirk Hohndel wrote: So I pushed a patch that will dump some data to stderr when you download dives from your dive computer. And I'd love for as many people as possible to run this against all the dive computers you can get your hands on and respond to this email with a) what Subsurface showed

Re: serial and firmware -- please help

2014-11-21 Thread Dirk Hohndel
On Fri, Nov 21, 2014 at 10:24:29PM +0100, Henrik Brautaset Aronsen wrote: Dirk Hohndel wrote: So I pushed a patch that will dump some data to stderr when you download dives from your dive computer. And I'd love for as many people as possible to run this against all the dive computers you can

Re: serial and firmware -- please help

2014-11-21 Thread Henrik Brautaset Aronsen
Dirk Hohndel wrote: So I pushed a patch that will dump some data to stderr when you download dives from your dive computer. And I'd love for as many people as possible to run this against all the dive computers you can get your hands on and respond to this email with a) what Subsurface showed

Re: serial and firmware -- please help

2014-11-21 Thread Dirk Hohndel
On Fri, Nov 21, 2014 at 10:53:20PM +0100, Henrik Brautaset Aronsen wrote: Dirk Hohndel wrote: So I pushed a patch that will dump some data to stderr when you download dives from your dive computer. And I'd love for as many people as possible to run this against all the dive computers you can

Re: serial and firmware -- please help

2014-11-21 Thread Henrik Brautaset Aronsen
Dirk Hohndel wrote: That's byte by byte encoding again 94 80 30 72 decimal 5E 50 1E 48 hex 0x5e501e48 = 1582308936 ditto for the firmware 65540 = 0x10004 - 01 00 04 - 1.0.4 Seems you've done that calculation earlier:

Re: serial and firmware -- please help

2014-11-21 Thread Dirk Hohndel
On November 21, 2014 2:02:40 PM Henrik Brautaset Aronsen subsurf...@henrik.synth.no wrote: Dirk Hohndel wrote: That's byte by byte encoding again 94 80 30 72 decimal 5E 50 1E 48 hex 0x5e501e48 = 1582308936 ditto for the firmware 65540 = 0x10004 - 01 00 04 - 1.0.4 Seems you've done

Re: serial and firmware -- please help

2014-11-21 Thread Dirk Hohndel
On Fri, Nov 21, 2014 at 11:57:43PM +0100, Anton Lundin wrote: There are some code in configuredivecomputerthreads.cpp that handles Suunto firmware and serial, and HW firmware and serial, that can be re-used / replaced. Btw. that code treats serial as a number due to how the DeviceDetails

Re: deviceid

2014-11-21 Thread Anton Lundin
On 21 November, 2014 - boret wrote: Hi Anton. On Viernes, 21 de noviembre de 2014 16:59:30 Anton Lundin escribió: My regular cycle is: * open subsurface * download from the ostc * see how it downloads duplicates of lots of dives, and thus screwing up the nice cleaned gas lists

Re: serial and firmware -- please help

2014-11-21 Thread Anton Lundin
On 21 November, 2014 - Dirk Hohndel wrote: On Fri, Nov 21, 2014 at 11:57:43PM +0100, Anton Lundin wrote: There are some code in configuredivecomputerthreads.cpp that handles Suunto firmware and serial, and HW firmware and serial, that can be re-used / replaced. Btw. that code

Re: [PATCH] Add libdivecomputer and libgit2 to Ubuntu building

2014-11-21 Thread Dirk Hohndel
On Sat, Nov 22, 2014 at 06:49:39AM +0200, Miika Turkia wrote: Some instructions how building libdivecomputer differs from Subsurface build. And mention to copy libigt2 over to other repository if needed. I have started to play with this and would like go a slightly different path (but I'd like