Re: updates to Subsurface and libdivecomputer

2016-09-18 Thread Anton Lundin
On 18 September, 2016 - Anton Lundin wrote: > On 17 September, 2016 - Dirk Hohndel wrote: > > > > > Thanks to Linus and Anton we have an updated Subsurface-branch for > > libdivecomputer. > > This goes along with an update to Subsurface itself to adjust to the &

Re: updates to Subsurface and libdivecomputer

2016-09-17 Thread Anton Lundin
wasn't me, it was Dirk who said 32. I have no clue about how the hw frog layout looks. //Anton -- Anton Lundin+46702-161604 ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: Removing photos on OS X version

2016-09-13 Thread Anton Lundin
On September 12, 2016 1:10:20 PM GMT+02:00, Philippe Massart wrote: >Since there is no « delete » key but only « backspace » key on laptop >macs, it seems impossible to remove photos from the photo tab (cmd-x, >to « cut ») doesn’t work either. > >Is another shortcut

Re: Heat map and deco model name

2016-09-13 Thread Anton Lundin
On 13 September, 2016 - Rick Walsh wrote: > On 12 September 2016 at 07:57, Anton Lundin <gla...@acc.umu.se> wrote: > > > On 01 September, 2016 - Robert Helling wrote: > > > > > Hi, > > > > > > finally, here are the two patches I prepared in rece

Re: Heat map and deco model name

2016-09-11 Thread Anton Lundin
green -> yellow -> red for supersaturated tissues off gassing. Those feels like they have a more intuitive meaning. Another thing which would be really nice is to fix it so you can zoom into the heat map plot without it "splitting" into 16 different bars. We might need som

Re: Subsurface-mobile

2016-09-11 Thread Anton Lundin
gt;> Sent from my phone > >>> > >>> > >>> On September 10, 2016 9:26:40 PM PDT, brossmeisl < > >>> brian.rossme...@gmail.com> wrote: > >>>> > >>>> I am getting "your application encountered a fatal error and cann

[Libdivecomputer PATCH] Fix deco model strings in hw parser

2016-08-19 Thread Anton Lundin
The new version of the log book format broke the string handling. Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- src/hw_ostc_parser.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hw_ostc_parser.c b/src/hw_ostc_parser.c index a3b0e68..1604c12

[Libdivecomputer PATCH] Add strings as extradata in xml

2016-08-19 Thread Anton Lundin
This teaches the dctool about the subsurface special field strings, and saves them in the xml output in a way which is compatible with subsurface. Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- examples/output_xml.c | 18 ++ 1 file changed, 18 insertions(+) diff

Re: [PATCH] Fix kirigami build

2016-08-18 Thread Anton Lundin
On 18 August, 2016 - Marco Martin wrote: > On Wednesday 17 August 2016 18:50:35 Anton Lundin wrote: > > This fixes the subsurface-mobile build on my Linux desktop and on > > android. > > > > To get it to run on Linux desktop, set QT_QUICK_CONTROLS_STYLE to > >

Re: [PATCH] Fix kirigami build

2016-08-18 Thread Anton Lundin
On 18 August, 2016 - Thomas Pfeiffer wrote: > On 17.08.2016 18:50, Anton Lundin wrote: > >This fixes the subsurface-mobile build on my Linux desktop and on > >android. > > > >To get it to run on Linux desktop, set QT_QUICK_CONTROLS_STYLE to > >something that

Re: [PATCH] Fix kirigami build

2016-08-18 Thread Anton Lundin
On 17 August, 2016 - Dirk Hohndel wrote: > On Wed, Aug 17, 2016 at 06:50:35PM +0200, Anton Lundin wrote: > > This fixes the subsurface-mobile build on my Linux desktop and on > > android. > > > > To get it to run on Linux desktop, set QT_QUICK_CONTROLS_STYLE to

Re: [PATCH] Fix kirigami build

2016-08-17 Thread Anton Lundin
This patch should be applied on top of of Jocke's: "Android build: compile kirigami" //Anton -- Anton Lundin+46702-161604 ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailma

[PATCH] scripts: Don't build marble for mobile

2016-08-17 Thread Anton Lundin
When only building the mobile version, we don't need to build marble. Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- scripts/build.sh | 37 + 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index 1

[PATCH] scripts: run all scripts with -e

2016-08-17 Thread Anton Lundin
Run all scripts with -e so they exit as soon as something breaks. That way the build stops at the first error, not some other error. Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- Documentation/make_POT.sh| 2 +- Documentation/make_PO_to_ASCIIDOC.sh | 2 +- packaging/macos

[PATCH] Fix kirigami build

2016-08-17 Thread Anton Lundin
"org.kde.kquickcontrolsaddons" is not installed This works with kirigami 32c980c46, when 47fb7821 is reverted. Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- The cmake parts are sketchy at best, and should be fixed in a better way. It would also be nice if kirigami static build did have

Re: please ignore last patch, corrected one to follow

2016-07-19 Thread Anton Lundin
A tip is to use re-roll-count and in-reply-to when sending fixed patches. That way it's clear which one is the latter and they get nicely grouped my sane mua's. //Anton ___ subsurface mailing list subsurface@subsurface-divelog.org

Re: [PATCH 1/5] Add function to calculate gas maximum narcotic depth

2016-07-03 Thread Anton Lundin
On 03 July, 2016 - Rick Walsh wrote: > On 3 July 2016 at 04:27, Anton Lundin <gla...@acc.umu.se> wrote: > > > On 01 July, 2016 - Rick Walsh wrote: > > > > > Signed-off-by: Rick Walsh <rickmwa...@gmail.com> > > > --- > > > core/div

Re: [PATCH 1/5] Add function to calculate gas maximum narcotic depth

2016-07-02 Thread Anton Lundin
ix, int end, struct dive > *dive, int roundto) { I'd prefer if both end and roundto were depth_t's instead of int. Simpler to know the unit instead of needing to look at the code. //Anton -- Anton Lundin+46702-161604 ___ subsu

Re: Fwd: cross-compile subsurface

2016-06-29 Thread Anton Lundin
uld also install: * Intel x86 Atom System Image and/or * Google APIs Intel x86 Atom System Image How to do all of these tasks are documented in a bazillion places all over the internets and I would just do a worse job of trying to clobber something up here so I'm leaving that part out. //Anton --

[PATCH] Treat minified JavaScript as binary

2016-06-26 Thread Anton Lundin
The minified JavaScript is effectively a binary artifact that we carry in the repo. Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index ca450ba..e7eb74e 100644 --- a/.gitattributes

Update android infrastructure, dependencies and toolchain

2016-06-24 Thread Anton Lundin
On 23 June, 2016 - Dirk Hohndel wrote: > > > On Jun 23, 2016, at 1:56 PM, Anton Lundin <gla...@acc.umu.se> wrote: > > > > This patch series updates our android infrastructure and does some > > needed changes to the surrounding code. > > > > I'm

[PATCH] android: Fix typo in patching of libssh2

2016-06-24 Thread Anton Lundin
Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- packaging/android/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/android/build.sh b/packaging/android/build.sh index 5246ace..408a546 100644 --- a/packaging/android/build.sh +++ b/packaging/a

[PATCH 12/12] android: Update all our dependencies

2016-06-23 Thread Anton Lundin
Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- packaging/android/build.sh | 30 -- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/packaging/android/build.sh b/packaging/android/build.sh index 80cae8e..5246ace 100644 --- a/packaging/a

[PATCH 10/12] Support libgit2 api 0.24

2016-06-23 Thread Anton Lundin
Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- core/git-access.c | 4 1 file changed, 4 insertions(+) diff --git a/core/git-access.c b/core/git-access.c index fe3a918..6fe90b0 100644 --- a/core/git-access.c +++ b/core/git-access.c @@ -308,7 +308,11 @@ static int try_to_git

[PATCH 11/12] Remove unused cmake flag

2016-06-23 Thread Anton Lundin
Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cb05b3a..43d817c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,6 @@ option(LIBGRANTLEE_FROM_PKGCONFIG "use

[PATCH 08/12] android: Set version and build for desktop app

2016-06-23 Thread Anton Lundin
Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- android/AndroidManifest.xml | 4 ++-- packaging/android/build.sh | 19 ++- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index 11c87f9..83f93ac

[PATCH 09/12] android: Enable config via env vars

2016-06-23 Thread Anton Lundin
This creates the possibility to pass configuration, where the ndk and sdk is installed, to the build.sh script via environment variables. Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- packaging/android/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH 06/12] android: Prioritize newer Qt version if found

2016-06-23 Thread Anton Lundin
Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- packaging/android/build.sh | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/packaging/android/build.sh b/packaging/android/build.sh index fe0c96e..f187e8a 100644 --- a/packaging/android/build.sh +++ b/pac

[PATCH 07/12] android: Remove obsolete comment

2016-06-23 Thread Anton Lundin
Since c78e4f we build the mobile and desktop versions with different package id's. Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- packaging/android/build.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/packaging/android/build.sh b/packaging/android/build.sh index f187e8a..a

[PATCH 04/12] android: Update min sdk version for desktop to.

2016-06-23 Thread Anton Lundin
Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- android/AndroidManifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index c9a016a..11c87f9 100644 --- a/android/AndroidManifest.xml +++ b/a

[PATCH 05/12] android: Use a ndk toolchain matching sdk version

2016-06-23 Thread Anton Lundin
Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- packaging/android/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/android/build.sh b/packaging/android/build.sh index ff58430..fe0c96e 100644 --- a/packaging/android/build.sh +++ b/packaging/a

[PATCH 03/12] android: Update to latest NDK

2016-06-23 Thread Anton Lundin
Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- packaging/android/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/android/build.sh b/packaging/android/build.sh index bd24f18..ff58430 100644 --- a/packaging/android/build.sh +++ b/packaging/a

[PATCH 02/12] android: Correct README

2016-06-23 Thread Anton Lundin
We don't depend on Qt5.5, we depend on Qt for android. Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- packaging/android/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/android/README b/packaging/android/README index 54cd544..bda4aa4

[no subject]

2016-06-23 Thread Anton Lundin
feel free to merge it. //Anton -- Anton Lundin+46702-161604 ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

[PATCH 01/12] Build Subsurface c++ as c++11 code

2016-06-23 Thread Anton Lundin
t to c++11. Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- CMakeLists.txt | 3 +++ packaging/android/build.sh | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cc7db13..cb05b3a 100644 --- a/CMakeLists.txt +++ b/CMakeLis

Re: [PATCH] Set -std=c++11 flag for g++

2016-06-23 Thread Anton Lundin
On 22 June, 2016 - Thiago Macieira wrote: > On quarta-feira, 22 de junho de 2016 14:59:49 PDT Dirk Hohndel wrote: > > > On Jun 22, 2016, at 2:49 PM, Thiago Macieira <thi...@macieira.org> wrote: > > > > > > On quarta-feira, 22 de junho de 2016 22:47:23 PDT

Re: [PATCH] Re: Time zones (again)

2016-06-22 Thread Anton Lundin
qt-models/diveplannermodel.cpp b/qt-models/diveplannermodel.cpp > index 16a2e40..613b260 100644 > --- a/qt-models/diveplannermodel.cpp > +++ b/qt-models/diveplannermodel.cpp > @@ -4,6 +4,7 @@ > #include "qt-models/cylindermod

[PATCH] Set -std=c++11 flag for g++

2016-06-22 Thread Anton Lundin
With Qt 5.7, they started to require c++11 support, and in 5.6.1 some nullptr's showed up in QtAndroidExtras/qandroidfunctions.h, so now we need to compile our c++ code with c++11 support in our compiler. Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- CMakeLists.txt | 1 + 1 file chan

Re: [PLEASE VOTE] so what should we be working on

2016-06-01 Thread Anton Lundin
backends. * clobber up a download dialog in -mobile (Willem, please beat me to it =) * clobber up a simple planner in the -mobile version * ? * ... * profit! //Anton -- Anton Lundin+46702-161604 ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: [PLEASE VOTE] so what should we be working on

2016-06-01 Thread Anton Lundin
k at the work Venkatesh Shukla did for the standalone android downloader app. The ui was done in native Android Java, and used the subsurface core as a jni library. In reality, I'm not the one writing the mobile app so my opinions doesn't really matter. //Anton -- Anton Lundin+46702-1616

Re: [PATCH] configure OSTC/OSTC3: Bugfix depth parameter unit

2016-03-20 Thread Anton Lundin
On 18 March, 2016 - Dirk Hohndel wrote: > On Fri, Mar 18, 2016 at 02:57:30PM +0100, Anton Lundin wrote: > > The unit for the depth parameters ain't meters, its 0.1 meters. This > > caused the values stored to be out of range. > > So this is against master - should a similar

Re: 4.5.4 - last call

2016-03-19 Thread Anton Lundin
On 15 March, 2016 - Dirk Hohndel wrote: > While everyone is busily testing 4.5.3-31 -- is there anything else that > should be included in 4.5.4? > Just got a report for a bug in the OSTC Safety stop code, so I'm fixing that right now. //Anton -- Anton Lundin+467

[PATCH] configure OSTC/OSTC3: Bugfix depth parameter unit

2016-03-19 Thread Anton Lundin
The unit for the depth parameters ain't meters, its 0.1 meters. This caused the values stored to be out of range. Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- This should go into master and into the v4.5-branch. desktop-widgets/configuredivecomputerdialog.cp

Re: 4.5.4 - OSTC Safety stop parameters

2016-03-16 Thread Anton Lundin
in the settings window to. Its almost there, but there's a 12 kg kaos machine keeping me from getting some time to finish it. //Anton -- Anton Lundin+46702-161604 ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: 4.5.4 - OSTC Safety stop parameters

2016-03-15 Thread Anton Lundin
On 14 March, 2016 - Dirk Hohndel wrote: > > > On Mar 14, 2016, at 3:52 PM, Anton Lundin <gla...@acc.umu.se> wrote: > > > > There is quite a few OSTC users thats asking for a software from which > > they can configure the safety stop parameters in their computers

4.5.4 - OSTC Safety stop parameters

2016-03-14 Thread Anton Lundin
-- Anton Lundin+46702-161604 ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Advanced alternative to cloud storage in Subsurface mobile

2016-02-18 Thread Anton Lundin
rently out of a working laptop so I won't be implementing this anytime soon, but just floating the idea here. Anyone against? //Anton -- Anton Lundin+46702-161604 ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.

Re: Fwd: Re: Fwd: Re: Subsurface-mobile downloadfrom divecomputer

2016-02-18 Thread Anton Lundin
On 15 February, 2016 - Willem Ferguson wrote: > > > On 14/02/2016 23:13, Anton Lundin wrote: > >On 14 February, 2016 - Willem Ferguson wrote: > > > >>Is there a way in android to check for a PID? You can imagine that > >>the initial step of devising comm

Re: Fwd: Re: Subsurface-mobile downloadfrom divecomputer

2016-02-14 Thread Anton Lundin
C3, so those are the only ones that work on Android ATM. (The plain libusb ones might work to... but none have ever tested them as far as I know) The custom serial code would probably need some work to be refactored into something that doesn't require we patching e

Re: Android issues

2016-02-11 Thread Anton Lundin
On February 11, 2016 3:03:50 AM GMT+01:00, Dirk Hohndel wrote: > >> On Feb 10, 2016, at 3:53 PM, Andreas wrote: >> > >> > Out of curiosity: which dive computer(s) do you have? >> >> I have an ostc2n and an xdeep. >> >> > >Then you might be in luck

Re: Mobile build -786 small test

2016-02-09 Thread Anton Lundin
On February 8, 2016 5:59:38 PM GMT+01:00, Dirk Hohndel wrote: >On Mon, Feb 08, 2016 at 06:44:21PM +0200, Miika Turkia wrote: >> On Mon, Feb 8, 2016 at 6:26 PM, Dirk Hohndel >wrote: >> > On Mon, Feb 08, 2016 at 01:28:05PM +0100, Jan Mulder wrote: >> >> >> >>

Re: Now Accepting GSoC 2016 Mentor Organization Applications

2016-02-09 Thread Anton Lundin
previous dives. None of the other mobile planning apps can do that, because they can't integrate with divecomputer data. I'd go for putting it in the same app. It doesn't even need to be enabled in the play-store version, or just hidden behind a setting. ( I actu

Re: Now Accepting GSoC 2016 Mentor Organization Applications

2016-02-09 Thread Anton Lundin
from the potential mentors (Lubomir, Robert, Anton, Miika, Tomaz, etc). > I'm full time "mentor" for my kiddo right now, so between that and renovating the house there ain't much time over for anything else. I can gladly cheer from the side line, but I can't promise to be in the game.

Re: [PATCH] Improve detection of CCR dives on yearly stats

2016-01-23 Thread Anton Lundin
vents looks to contain some cleanup of sorts, but more can probably be found in other places. //Anton -- Anton Lundin+46702-161604 ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

[PATCH 4/5] configure OSTC3: Add temperature sensor offset

2016-01-22 Thread Anton Lundin
Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- desktop-widgets/configuredivecomputerdialog.cpp | 2 ++ desktop-widgets/configuredivecomputerdialog.ui | 26 subsurface-core/configuredivecomputerthreads.cpp | 19 +++-- subsurface-core/devicedetai

[PATCH 2/5] Remove unused headers

2016-01-22 Thread Anton Lundin
Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- subsurface-core/configuredivecomputerthreads.cpp | 1 - subsurface-core/configuredivecomputerthreads.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/subsurface-core/configuredivecomputerthreads.cpp b/subsurfac

[PATCH 3/5] Use libdivecomputer libc wrappers instead of Qt

2016-01-22 Thread Anton Lundin
Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- subsurface-core/configuredivecomputerthreads.cpp | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/subsurface-core/configuredivecomputerthreads.cpp b/subsurface-core/configuredivecomputerthreads.cpp

[PATCH 5/5] configure OSTC/OSTC3: Add safety stop parameters

2016-01-22 Thread Anton Lundin
This adds the configure parameters for safety stops on the hwOS(OSTC3) and OSTC computers. Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- desktop-widgets/configuredivecomputerdialog.cpp | 16 + desktop-widgets/configuredivecomputerdialog.ui | 706 +-- subsurfac

[PATCH 1/5] Remove workaround for OSTC Sport 10.22 and below

2016-01-22 Thread Anton Lundin
Now with firmware 10.23, the settings behave as they should, and won't hang the communication. Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- subsurface-core/configuredivecomputerthreads.cpp | 28 +--- 1 file changed, 6 insertions(+), 22 deletions(-) diff

Re: Subsurface-mobile dc downloads

2016-01-06 Thread Anton Lundin
ld be able to support bluetooth downloads on iOS. I've seen folks use something like DCBuddy[1] to download logs onto iOS devices. We should be able to support using such a device to download logs on to iOS. //Anton 1. http://www.divenav.com/products/dcbuddy -- Anton Lundin+46702-1616

Re: cmake rework (not again, still)

2015-11-24 Thread Anton Lundin
useful to be able to build Subsurface-desktop for Android. Ex. Subsurface-mobile doesn't have a ui for downloading from dc's, but Subsurface-desktop does. Its tricky to use Subsurface-desktop on a Android device, but it serves the great purpose to be able to actually test the code. So, I'm strongly for

Re: Android build questions

2015-11-24 Thread Anton Lundin
ea, it should probably emit a sane error message when its not found where it expects it to be. //Anton -- Anton Lundin+46702-161604 ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: Scubapro/Uwatec Smartrak .slg files importing tool

2015-11-11 Thread Anton Lundin
y do it and the code is in a place where those who would like to play with it can do so. //Anton -- Anton Lundin+46702-161604 ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: cloud storage on Android

2015-11-08 Thread Anton Lundin
here, but it might be /Data , or /data/data or whatever. Always resolve those paths from the os. //Anton -- Anton Lundin+46702-161604 ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: AppImage & BT with OSTC Sport

2015-11-03 Thread Anton Lundin
problems related to that. I can't verify that at the moment, but could you re-test it with serial emulation just to verify that the basics works as expected? There also bin some bugfixes to the BT comm in the OSTC devices, so could you try to upgrade the fw via serial emulation and re-test it? /

Re: storing pictures

2015-10-25 Thread Anton Lundin
t thumbs in another branch. That way we could choose if we would like to just download the dive-data, thumbs, or even full pictures, just by keeping them in separate lines of history. Example is that you only like your dive-data on your cell, but dive-data + medium resoulution thumbs on your tablet, meanwhi

Re: Bluetooth blues

2015-10-23 Thread Anton Lundin
I took a look at qt parring interfaces, shouldn't there be a way to test a couple of standard parring codes? //Anton On October 23, 2015 12:02:19 PM GMT+02:00, Claudiu Olteanu wrote: >Hi there, > >If your remote device requests a custom PIN code for the

Re: [PATCH] Re: Minor planner bugs

2015-10-22 Thread Anton Lundin
On 22 October, 2015 - Dirk Hohndel wrote: > Maybe it's my mail client... but I can't find a patch in this email > It's not just your email client. I can't find any even when reading the raw email. Either mailman ate the patch, or it wasn't there to begin with. //Anton -- Anton

Re: FW: mobile ui considerations

2015-10-20 Thread Anton Lundin
sor values from Shearwater devices. Anyhow, I'm glad that there is so much buzz about the Android app. It got HUGE potential, and i would love to eventually get it out there. We're closing on the 2 year anniversary on my first hack to get it Subsurface building for Android, and i think its ab

Re:

2015-10-18 Thread Anton Lundin
ode that sometimes looks behind and ahead would be really ugly then. //Anton -- Anton Lundin+46702-161604 ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

[PATCH] Cleanup and correct CCR detection

2015-10-14 Thread Anton Lundin
== has precedence over & and would have needed some parenthesis. Instead of that, this moves that code into the block below which already contains a correct CCR check. Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- src/shearwater_predator_parser.c | 6 ++ 1 file changed, 2

[PATCH] Add deco model info strings to shearwater parser

2015-10-14 Thread Anton Lundin
This adds two strings describing the deco model information of the dive. Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- Anton sends a patch, and its not even for Subsurface?!? src/shearwater_predator_parser.c | 32 1 file changed, 32 insertions(+)

Re: [PATCH] Add deco model info strings to shearwater parser

2015-10-14 Thread Anton Lundin
ing displayed. //Anton -- Anton Lundin+46702-161604 ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: Allow replanning of logged dives

2015-10-13 Thread Anton Lundin
On 13 October, 2015 - Davide DB wrote: > On Mon, Oct 12, 2015 at 4:36 PM, Anton Lundin <gla...@acc.umu.se> wrote: > > > > Currently it doesn't do any gas-switches in its calculations, because > > thats a quite big rabbit-hole to go down. IE, when should it switch gas?

Re: [PATCH] Re: Allow replanning of logged dives

2015-10-13 Thread Anton Lundin
On 12 October, 2015 - Dirk Hohndel wrote: > On Mon, Oct 12, 2015 at 11:16:09PM +0200, Robert C. Helling wrote: > > Hi, > > > > > On 12 Oct 2015, at 16:36, Anton Lundin <gla...@acc.umu.se> wrote: > > > > > > But still a upper limit of the TTS is a

Re: Is anyone working on an iOS app?

2015-10-13 Thread Anton Lundin
was used in some really old Android devices, and I haven't seen one in years, so you could safely skip that one. I didn't even bother to implement support for building subsurface for armv5 in the android build script. //Anton -- Anton Lundin+46702-161604 __

Re: [PATCH] Re: [PATCH] Re: Allow replanning of logged dives

2015-10-13 Thread Anton Lundin
ntry->tts_calc) { > + if (entry->tts_calc < MAX_PROFILE_DECO) > + put_format(b, translate("gettextFromC", "TTS: %umin > (calc)\n"), DIV_UP(entry->tts_calc, 60)); > + else > + put_format(b, translate("gettextF

Re: Allow replanning of logged dives

2015-10-12 Thread Anton Lundin
I wasn't able to see this feature at work. > If you're on a really bad deco gas, ie a fat bottom gas, and have a huge deco the TTS at that point will be enormous. One idea would be to cap the TTS calculations in such a point to say, its 100min+ or something, to have it terminate in resonabl

Re: Is anyone working on an iOS app?

2015-10-12 Thread Anton Lundin
l , it says that iOS is supported, so the BT code "should" work. The ftdi code is probably a no-go, but we could probably live with that. > So if you would like to investigate that, I would suggest that route instead > of starting from scratch. > I think b

Re: Allow replanning of logged dives

2015-10-12 Thread Anton Lundin
On 12 October, 2015 - Davide DB wrote: > On Mon, Oct 12, 2015 at 4:00 PM, Anton Lundin <gla...@acc.umu.se> wrote: > > On 12 October, 2015 - Anton Lundin wrote: > > > >> > > > > Fyi. I sketched out approximately that dive in the planner, 30min @ 70m >

Re: Allow replanning of logged dives

2015-10-12 Thread Anton Lundin
On 12 October, 2015 - Anton Lundin wrote: > On 12 October, 2015 - Davide DB wrote: > > > Actually this feature already exist (Show/NDL/TTS) but I was not able > > to see it working with my typical profiles: > > three deco gases/ 2h-3h runtime. See the attachment.

Re: Eclipse vs coding style

2015-10-06 Thread Anton Lundin
rite a patch for the CodingStyle. //Anton -- Anton Lundin+46702-161604 ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

[PATCH] Correct sign on Divesoft Freedom timestamps

2015-10-04 Thread Anton Lundin
I managed somehow to miss-read and by accident told Linus that the timestamp was signed. It is a unsigned uint32_t, so this corrects the mistake i tricked Linus into making. Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- parse-xml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 del

Re: Marble problem (was Coordinates and dive mapping)

2015-10-04 Thread Anton Lundin
RARIES "") else() find_package(MARBLE QUIET) - if(MARBLE_FOUND) + if(MARBLE_FOUND OR NOT "${MARBLE_INCLUDE_DIR}" STREQUAL "" ) include_directories(${MARBLE_INCLUDE_DIR}) else() set(NO_MARBLE ON) //Anton -- Anton Lundin+46702-161604 ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: [PATCH] Fix 32-bit overflow in Divesoft Freedom time handling

2015-10-03 Thread Anton Lundin
On 03 October, 2015 - Anton Lundin wrote: > On 02 October, 2015 - Linus Torvalds wrote: > > > Commit 31fb2e4c62ab ("Avoid possible sign extension") handled the > > problem when a "unsigned char" is shifted 24 bits left, and becomes a > > &quo

Re: [PATCH] Clean up Divesoft Freedome time parsing

2015-10-03 Thread Anton Lundin
On 03 October, 2015 - Linus Torvalds wrote: > On Oct 3, 2015 11:06, "Anton Lundin" <gla...@acc.umu.se> wrote: > > > > I looked at the wrong typedef and its a uint32_t. Sorry for the mess. > > Christ. Don't involve your imaginary friends in this =) I

Re: [PATCH] Clean up Divesoft Freedome time parsing

2015-10-03 Thread Anton Lundin
On 03 October, 2015 - Linus Torvalds wrote: > > From: Linus Torvalds <torva...@linux-foundation.org> > Date: Sat, 3 Oct 2015 10:29:40 -0400 > Subject: [PATCH] Clean up Divesoft Freedome time parsing > > So Anton Lundin says that the 32-bit timestamp for the Divesoft Free

Re: [PATCH] Fix 32-bit overflow in Divesoft Freedom time handling

2015-10-03 Thread Anton Lundin
a 32-bit signed in seconds since 2000-01-01 00:00:00, according to the header file and the comments in it. //Anton -- Anton Lundin+46702-161604 ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: Almost Beta 2 Cloud Storage fails

2015-10-02 Thread Anton Lundin
mething similar. I can copy my files > to the new home dir, and nuke my old user account. > I'd guess you ran something via sudo which created the files as root and thus your old users isn't allowed to read them any more. It might also be that some setti

Re: ostc BT download failure

2015-10-01 Thread Anton Lundin
ive the echo. [in hw_ostc3.c:200 (hw_ostc3_transfer)] > ERROR: Failed to send the command. [in hw_ostc3.c:487 (hw_ostc3_device_close)] > The qtserialbluetooth layer doesn't log packets as the libdivecomputer serial backend does, and it will needs some work to get access to those pointers to do that fro

Re: ostc BT download failure

2015-10-01 Thread Anton Lundin
ft-over "crap". //Anton -- Anton Lundin+46702-161604 ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: ostc BT download failure

2015-09-30 Thread Anton Lundin
subsurface it downloads the ones after that too. //Anton -- Anton Lundin+46702-161604 ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: [PATCH 2/2] qtserialbluetooth: use QIODevice::Unbuffered io

2015-09-29 Thread Anton Lundin
On 29 September, 2015 - Thiago Macieira wrote: > On Tuesday 29 September 2015 21:59:31 Anton Lundin wrote: > > - rc = device->socket->write((char *) data + nbytes, size - > > nbytes); > > + rc = device->socket->write((char *) data + nb

Re: ostc BT download failure

2015-09-29 Thread Anton Lundin
re version is loaded on that OSTC Sport? Might be something fishy with the compact headers if its a older firmware. I just stashed my current bluetooth mess trying to figure out how to get firmware updates working over qtbluetooth and tested a download from a OSTC Sport and it

[PATCH 2/2] qtserialbluetooth: use QIODevice::Unbuffered io

2015-09-29 Thread Anton Lundin
This adds the QIODevice::Unbuffered flag to our rfcomm connections to bypass the buffering layer in QIODevice. This fixes so firmware upgrades work against the OSTC Sport. Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- I'm CC'ing Thiago and Claudiu here, so they can take a look and s

[PATCH 1/2] qtserialbluetooth: Remove no-op calls

2015-09-29 Thread Anton Lundin
waitForReadyRead and waitForBytesWritten not overridden in QBluetoothSocket and the default implementation in QIODevice are just no-ops that always return false. This removes those calls to lessen the confusion for anyone who looks at the code. Signed-off-by: Anton Lundin <gla...@acc.umu

Re: [PATCH 2/2] qtserialbluetooth: use QIODevice::Unbuffered io

2015-09-29 Thread Anton Lundin
On 29 September, 2015 - Thiago Macieira wrote: > On Tuesday 29 September 2015 21:12:55 Anton Lundin wrote: > > This adds the QIODevice::Unbuffered flag to our rfcomm connections to > > bypass the buffering layer in QIODevice. > > > > This fixes so firmware upgrades

[PATCH 1/5] Rename Suunto config field to be consistent

2015-09-24 Thread Anton Lundin
All the conflicting fields for suunto vyper configs are named _1, so rename this one to be in the same style. Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- qt-ui/configuredivecomputerdialog.cpp | 2 +- qt-ui/configuredivecomputerdialog.ui | 2 +- 2 files changed, 2 insertions

[PATCH 2/5] Probe and expose OSTC3 model information

2015-09-24 Thread Anton Lundin
This looks at the OSTC3 hw descriptor and exposes that model info as a read-only line edit, so you can see in clear text the name of the model of computer. Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- configuredivecomputerthreads.cpp | 36 - qt-ui/configuredivecomputerdial

[PATCH 4/5] Disable update firmware button on any other action

2015-09-24 Thread Anton Lundin
Firmware updates can only be done on a newly opened device. Signed-off-by: Anton Lundin <gla...@acc.umu.se> --- qt-ui/configuredivecomputerdialog.cpp | 4 1 file changed, 4 insertions(+) diff --git a/qt-ui/configuredivecomputerdialog.cpp b/qt-ui/configuredivecomputerdialog.cpp

<    1   2   3   4   5   6   7   >