Re: OpenSUSE packages

2015-01-01 Thread Guillaume Gardet
Le 31/12/2014 21:09, Dirk Hohndel a écrit : On Dec 31, 2014, at 11:45 AM, Dirk Hohndel d...@hohndel.org mailto:d...@hohndel.org wrote: Now I need to test how this looks and if it works when installed on openSUSE… That was outright bizarre. Guillaume, any chance you could look into this?

free diving vs scuba diving

2015-01-01 Thread Dirk Hohndel
So we have seen a request in the user forum for people to easily tell apart free dives and scuba dives (the requester apparently is an instructor for both). Some dive computers allow you to switch modes between the two disciplines and libdivecomputer gives us that data, but we are being silly and

[PATCH] Fix mean depth on info box

2015-01-01 Thread Miika Turkia
The running depth must be divided by current time to get the average depth. Signed-off-by: Miika Turkia miika.tur...@gmail.com --- profile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profile.c b/profile.c index efc6de4..5c06658 100644 --- a/profile.c +++ b/profile.c

Re: free diving vs scuba diving

2015-01-01 Thread Krzysztof Arentowicz
W dniu 01.01.2015 o 18:52, Dirk Hohndel pisze: I think I'll hack together some code that does that. But what else should we do? I think most freedivers (discalimer: I'm not a freediver) prefer to use seconds as denominator for ascent/descent speeds. Subsurface can use freediving tag to

Facebook integration

2015-01-01 Thread Salvador Cuñat
Happy New Year, everybody. Don't know if this is as it's supposed to be, but every time I try fb integration I get the annoying message: Aplicación no configurada: Los desarrolladores de esta aplicación no la han configurado correctamente para el inicio de sesión de Facebook. Which means that

Happy New Year

2015-01-01 Thread Dirk Hohndel
A very happy new year to all of you! Thanks for all the hard work and all the contributions to Subsurface in the past. I can’t wait to see all the wonderful things we’ll do this year. To close out 2014 I snuck in a last commit with new icons for the filter dialog. I can’t believe I released

[PATCH] Plot mean depth data

2015-01-01 Thread Krzysztof Arentowicz
As we already have running depth sum values for each sample why don't just plot running average depth graph. Signed-off-by: Krzysztof Arentowicz k.arentow...@gmail.com --- qt-ui/profile/diveprofileitem.cpp | 47 +++ qt-ui/profile/diveprofileitem.h | 12

Re: [PATCH] Get rid of mean depth line

2015-01-01 Thread Dirk Hohndel
I believe that Tomaz is working on a ti-state option to allow people to show nothing or one of those two graphs… And IFF we were to remove this, we’d get rid of the infrastructure behind it as well. So right now NAK from me. /D On Jan 1, 2015, at 3:29 PM, Krzysztof Arentowicz

[PATCH] Get rid of mean depth line

2015-01-01 Thread Krzysztof Arentowicz
Flat mean depth line (whole dive, not the instant one) is redundant as we now have a much more useful mean depth graph. Signed-off-by: Krzysztof Arentowicz k.arentow...@gmail.com --- qt-ui/profile/profilewidget2.cpp | 14 -- qt-ui/profile/profilewidget2.h | 1 - 2 files changed,

Re: only copy used cylinders to planned dive

2015-01-01 Thread Joakim Bygdell
Let's see if we can get som insight into this issue. In 4.2 and earlier when downloading from my DC all enabled gases are downloaded on each dive. But only the first gas are given cylinder size and pressure as seen below. cylinder size='24.0 l' workpressure='232.0 bar' description='D12 232 bar'

Re: free diving vs scuba diving

2015-01-01 Thread Dirk Hohndel
Oops - wrong mailing list :-) /D On Jan 1, 2015, at 10:08 AM, Dirk H dir...@gmail.com wrote: Peter, would it work for you if free dives were automatically tagged as such? That way you can use our filter function to filter for free dives... /D On Thu, Jan 1, 2015 at 9:52 AM, Dirk

Re: Win32 testing request

2015-01-01 Thread Thomas Maisl
A Happy New Year, first.. Am 02.01.2015 00:00:29 schrieb : On Wed, Dec 31, 2014 at 12:13:07AM -0800, Dirk Hohndel wrote: From my brief testing it appears to give an odd warning at start when running on a 32bit Windows (it basically appears to always think it's running on a 64bit Windows and

[PATCH] Avoid divide by 0 error

2015-01-01 Thread Krzysztof Arentowicz
Avoid crash when moving mouse to left side of the plot when showing mean depth Signed-off-by: Krzysztof Arentowicz k.arentow...@gmail.com --- qt-ui/profile/diveprofileitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt-ui/profile/diveprofileitem.cpp

Re: free diving vs scuba diving

2015-01-01 Thread Davide DB
Il 01/gen/2015 19:02 Krzysztof Arentowicz karent@gmail.com ha scritto: W dniu 01.01.2015 o 18:52, Dirk Hohndel pisze: I think I'll hack together some code that does that. But what else should we do? I think most freedivers (discalimer: I'm not a freediver) prefer to use seconds as

Re: [PATCH] Plot mean depth data

2015-01-01 Thread Tomaz Canabrava
Em 01/01/2015 22:18, Dirk Hohndel d...@hohndel.org escreveu: On Fri, Jan 02, 2015 at 12:28:38AM +0100, Krzysztof Arentowicz wrote: As we already have running depth sum values for each sample why don't just plot running average depth graph. Again, Tomaz was working on this... I'll take your

Re: Win32 testing request

2015-01-01 Thread Dirk Hohndel
On Fri, Jan 02, 2015 at 11:14:21AM +1100, Rick Walsh wrote: I installed the latest (4.3-176) binary on Windows Vista 32 bit (there's some entertainment for the new year), and am asked if I really want to install the 32 bit version on a 64 bit system. A fair enough question, but this is a 32

Re: [PATCH] Plot mean depth data

2015-01-01 Thread Dirk Hohndel
On Fri, Jan 02, 2015 at 12:28:38AM +0100, Krzysztof Arentowicz wrote: As we already have running depth sum values for each sample why don't just plot running average depth graph. Again, Tomaz was working on this... I'll take your patch (since it seems to work fine), but I would REALLY want an

Re: Win32 testing request

2015-01-01 Thread Dirk Hohndel
On Fri, Jan 02, 2015 at 01:53:44AM +0100, Davide DB wrote: Davide@mobile Il 02/gen/2015 01:32 Dirk Hohndel d...@hohndel.org ha scritto: I was asked the same question - installed over an old 32 bit Qt4 installation. Yes, that seems to be what happens when switching from the old marble

Re: Win32 testing request

2015-01-01 Thread Davide DB
Davide@mobile Il 02/gen/2015 01:32 Dirk Hohndel d...@hohndel.org ha scritto: I was asked the same question - installed over an old 32 bit Qt4 installation. Yes, that seems to be what happens when switching from the old marble used with the old Qt4 binaries to the much newer Qt5 based marble

Re: [PATCH] Plot mean depth data

2015-01-01 Thread Dirk Hohndel
On Fri, Jan 02, 2015 at 12:28:38AM +0100, Krzysztof Arentowicz wrote: As we already have running depth sum values for each sample why don't just plot running average depth graph. Oh, and... YIKES. Your whitespace is definitely not following our coding style... :-/ /D