Re: import oddity

2014-06-17 Thread Jef Driesen
On 2014-06-18 07:01, Linus Torvalds wrote: I get something similar when importing from my Vyper Air - every dive gives three (?) lines if warnings about O2 2550 and He of 0. I think it's the unused cylinders that are encoded as 255% o2. And on your dive computer they are encoded as 0% o2. We

Re: import oddity

2014-06-17 Thread Jef Driesen
On 2014-06-18 06:55, Miika Turkia wrote: Seems that importing dive logs on current master (818bd9903) gives an error that I cannot clear from Subsurface, well the close button is way below the bottom of my screen. In any case the error is annoying, and sounds like a bug to me. Screenshot attac

Re: import oddity

2014-06-17 Thread Linus Torvalds
I get something similar when importing from my Vyper Air - every dive gives three (?) lines if warnings about O2 2550 and He of 0. I think it's the unused cylinders that are encoded as 255% o2. And on your dive computer they are encoded as 0% o2. We used to just skip cylinders with invalid gases.

Re: Info and suggestions

2014-06-17 Thread Davide DB
Thanks Tomaz, Maybe some enhancement request are questionable and could be discussed. I subscribed to the list since few months so I don't know the main goals and principle design of this software. I see that most dive fields are left as tags while other logbooks have an endless number of drop box

Re: [PATCH] fix systeminfo on mac.

2014-06-17 Thread Joakim Bygdell
Oh well, as long as it gets fixed, as current master won’t build on Mac. On 17 Jun 2014, at 20:33, Thiago Macieira wrote: > Em ter 17 jun 2014, às 19:50:38, Joakim Bygdell escreveu: >> [PATCH] >> qt4 doesn't have QSysInfo::MV_IOS so lets use the MV_IOS we declared in >> subsurfacesysinfo.h inste

Re: [PATCH] fix systeminfo on mac.

2014-06-17 Thread Thiago Macieira
Em ter 17 jun 2014, às 19:50:38, Joakim Bygdell escreveu: > [PATCH] > qt4 doesn't have QSysInfo::MV_IOS so lets use the MV_IOS we declared in > subsurfacesysinfo.h instead. > > In subsurfacesysinfo.h we use Q_OS_MAC for all Mac related stuff, this patch > replaces Q_OS_OSX with Q_OS_MAC in subsurf

[CCR PATCH] read/write CCR variables to/from xml and git

2014-06-17 Thread Willem Ferguson
CCR patch: add functionality for xml/git import and export This patch adds the ability to read and write the additional CCR attibutes to file (xml or git). Changes: 1) In parse-xml.c: add code to parse O2setpoint, o2sensor[0] to o2sensor[2], diluentpressure, no_o2sensors, dctype. 2) In save-xm

Re: [PATCH] fix systeminfo on mac.

2014-06-17 Thread Joakim Bygdell
Forgot to attach the patch. 0001-qt4-doesn-t-have-QSysInfo-MV_IOS-so-lets-use-the-MV_.patch Description: Binary data On 17 Jun 2014, at 19:50, Joakim Bygdell wrote:[PATCH]qt4 doesn't have QSysInfo::MV_IOS so lets use the MV_IOS we declared in subsurfacesysinfo.h instead.In su

[PATCH] CNS doesn't increase when PO3 is below 0.5 atm

2014-06-17 Thread Anton Lundin
When chasing other bug in CNS code i found this. Signed-off-by: Anton Lundin --- divelist.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/divelist.c b/divelist.c index a075838..ff49339 100644 --- a/divelist.c +++ b/divelist.c @@ -248,6 +248,9 @@ static int calculate_cns(struct dive *div

[PATCH] Enable Info box in the planner again.

2014-06-17 Thread Anton Lundin
Its great to be able to see the planned "turn pressure", EADD at different points and so on. Signed-off-by: Anton Lundin --- qt-ui/profile/profilewidget2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp in

[PATCH] Fix building with NO_MARBLE again

2014-06-17 Thread Anton Lundin
Back in 708f19830e2a ("Planner: New plannerSettingsWidget") the Globe widget handling changed, and this updates the NO_MARBLE build option to work after that. Signed-off-by: Anton Lundin --- qt-ui/mainwindow.cpp | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/qt-ui/mai

[PATCH] fix systeminfo on mac.

2014-06-17 Thread Joakim Bygdell
[PATCH] qt4 doesn't have QSysInfo::MV_IOS so lets use the MV_IOS we declared in subsurfacesysinfo.h instead. In subsurfacesysinfo.h we use Q_OS_MAC for all Mac related stuff, this patch replaces Q_OS_OSX with Q_OS_MAC in subsurfacesysinfo.cpp. That way we acutally get the proper system versions

Re: Info and suggestions

2014-06-17 Thread Tomaz Canabrava
Em 17/06/2014 11:25, "Davide DB" escreveu: > > I create some tickets for the only bug I was able to replicate and > several enanchement requestes. > > Wrong date format on logbook table: http://trac.hohndel.org/ticket/555 > > Gas switch events of different colour: http://trac.hohndel.org/ticket/55

Re: Info and suggestions

2014-06-17 Thread Davide DB
I create some tickets for the only bug I was able to replicate and several enanchement requestes. Wrong date format on logbook table: http://trac.hohndel.org/ticket/555 Gas switch events of different colour: http://trac.hohndel.org/ticket/556 Lower graph with gas type used: http://trac.hohndel.o

Re: Deco artefacts with low GFlow, ticket #549

2014-06-17 Thread Henrik Brautaset Aronsen
On Tue, Jun 17, 2014 at 2:29 PM, Robert Helling wrote: > > So here is my version of the plot. There is also a second one illustrating > the “low GFlow value applied at shallow depth leads to inverted slope” > problem: > Nice! Now I understood the problem fully as well :) Henrik ___

Re: Aeris F10v2 issues

2014-06-17 Thread Jef Driesen
On 2014-06-17 12:08, Gabriel Rossetti wrote: On Jun 17, 2014 10:46 AM, "Jef Driesen" wrote: The logfile indicates a high number of failed packets. These should disappear if you upgrade to a development build of libdivecomputer (v0.5.0-devel). It will also make the download much faster. I don't

Re: Aeris F10v2 issues

2014-06-17 Thread Gabriel Rossetti
On Jun 17, 2014 10:46 AM, "Jef Driesen" wrote: > > On 2014-06-14 11:59, Gabriel Rossetti wrote: >> >> I tried downloading the data from my Aeris F10v2 last night and I have had >> issues. I hooked up the USB cable and it was successfully detected by udev, >> it created /dev/ttyUSB0 correctly. I at

Re: GSoC Progress - Configuring Dive Computers with Subsurface

2014-06-17 Thread Joshua Joseph
On Tue, Jun 17, 2014 at 11:52 AM, Jef Driesen wrote: > On 2014-06-16 07:17, Joshua Joseph wrote: > >> For this week, I will focus on adding support for the remaining settings >> of >> the OSTC 3, and then start working on firmware updates. >> > > Note that firmware updates are currently only supp

Re: GSoC Progress - Configuring Dive Computers with Subsurface

2014-06-17 Thread Dirk Hohndel
Joshua has an OSTC3. The idea was to enable this in libdivecomputer as well. The full specs should be available from H&W /D --- >From my phone Jef Driesen wrote: >On 2014-06-16 07:17, Joshua Joseph wrote: >> For this week, I will focus on adding support for the remaining >> settings of >> the

Re: GSoC Progress - Configuring Dive Computers with Subsurface

2014-06-17 Thread Jef Driesen
On 2014-06-16 07:17, Joshua Joseph wrote: For this week, I will focus on adding support for the remaining settings of the OSTC 3, and then start working on firmware updates. Note that firmware updates are currently only supported for the ostc, and not the ostc3. That's still on my todo list :

Re: Aeris F10v2 issues

2014-06-17 Thread Jef Driesen
On 2014-06-14 11:59, Gabriel Rossetti wrote: I tried downloading the data from my Aeris F10v2 last night and I have had issues. I hooked up the USB cable and it was successfully detected by udev, it created /dev/ttyUSB0 correctly. I attached the watch and it went into PC mode as it should. The