Re: [GSoC] Week 6 (Native Bluetooth support)

2015-07-08 Thread Claudiu Olteanu
Thanks, Claudiu... this is looking promising. Thanks for the great news, Dirk. Now we need to figure out what's going on on Mac. I am not sure how I can help you with this. I don't have a Mac device. I could try to install OSx on a virtual machine. Or I could start to investigate the

Re: [PATHC] rename some QT objects V2.

2015-07-08 Thread Joakim Bygdell
V2 as it builds upon the move notes patch. 0001-Rename-generic-QT-labels_V2.patch Description: Binary data /Jocke ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: [PATCH] move notes options v.2

2015-07-08 Thread Joakim Bygdell
Slightly prettier version.On 08 Jul 2015, at 11:07, Rick Walsh rickmwa...@gmail.com wrote:On 8 July 2015 at 16:18, Joakim Bygdell j.bygd...@gmail.com wrote:Rick, does this fit better on your screen? It sure does. Thanks Jocke 0001-Planner-move-notes-options-under-gas-options.patch Description:

Re: [PATCH] move notes options v.2

2015-07-08 Thread Rick Walsh
On 8 July 2015 at 22:13, Joakim Bygdell j.bygd...@gmail.com wrote: Slightly prettier version. That's works too R ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: [PATCH] move notes options

2015-07-08 Thread Rick Walsh
On 8 July 2015 at 16:18, Joakim Bygdell j.bygd...@gmail.com wrote: Rick, does this fit better on your screen? It sure does. Thanks Jocke /Jocke ___ subsurface mailing list subsurface@subsurface-divelog.org

Re: [PATCH] move notes options v.2

2015-07-08 Thread Dirk Hohndel
On Wed, Jul 08, 2015 at 02:13:10PM +0200, Joakim Bygdell wrote: Slightly prettier version. I'll take that. But at least on my screen I feel that the first column with the ascend speeds is too wide... /D ___ subsurface mailing list

Re: [PATCH] move notes options v.2

2015-07-08 Thread Joakim Bygdell
On 08 Jul 2015, at 15:36, Dirk Hohndel d...@hohndel.org wrote: On Wed, Jul 08, 2015 at 02:13:10PM +0200, Joakim Bygdell wrote: Slightly prettier version. I'll take that. But at least on my screen I feel that the first column with the ascend speeds is too wide… I’m working on that

Re: Linking error with recent libdc

2015-07-08 Thread Dirk Hohndel
On Tue, Jul 07, 2015 at 08:51:52PM -1000, Gaetan Bisson wrote: [2015-07-07 20:35:14 -1000] Gaetan Bisson: [2015-07-07 20:21:49 -1000] Gaetan Bisson: Building subsurface master against that still fails for me. So things work as expected if I compile libdc without build flags. Our

Re: [PATHC] rename some QT objects V2.

2015-07-08 Thread Dirk Hohndel
On Wed, Jul 08, 2015 at 02:18:50PM +0200, Joakim Bygdell wrote: V2 as it builds upon the move notes patch. IIRC some of these names disappear once someone starts moving things around in designer again. I've been fighting to get better names into various .ui files for a while. Thanks for your

Re: [GSoC] Week 6 (Native Bluetooth support)

2015-07-08 Thread Dirk Hohndel
On Wed, Jul 08, 2015 at 11:47:18AM +0300, Claudiu Olteanu wrote: Now we need to figure out what's going on on Mac. I am not sure how I can help you with this. I don't have a Mac device. I could try to install OSx on a virtual machine. That is unlikely to help. Mac VM support is extremely

Re: [GSoC] Week 6 (Native Bluetooth support)

2015-07-08 Thread Claudiu Olteanu
I managed to compile the project with Qt5.5.0. I saw that Bluetooth connectivity doesn't work for the moment with this version. I will investigate it tomorrow. I just wanted to let you know that I managed to successfully download the dives from both devices using our custom BT serial

Re: [PATCH] move notes options v.2

2015-07-08 Thread Joakim Bygdell
On 08 Jul 2015, at 15:55, Joakim Bygdell j.bygd...@gmail.com wrote: On 08 Jul 2015, at 15:36, Dirk Hohndel d...@hohndel.org wrote: On Wed, Jul 08, 2015 at 02:13:10PM +0200, Joakim Bygdell wrote: Slightly prettier version. I'll take that. But at least on my screen I feel that the

Re: [PATCH] move notes options v.2

2015-07-08 Thread Dirk Hohndel
On Wed, Jul 08, 2015 at 04:08:42PM +0200, Joakim Bygdell wrote: On 08 Jul 2015, at 15:55, Joakim Bygdell j.bygd...@gmail.com wrote: On 08 Jul 2015, at 15:36, Dirk Hohndel d...@hohndel.org wrote: On Wed, Jul 08, 2015 at 02:13:10PM +0200, Joakim Bygdell wrote: Slightly prettier

Re: [GSoC] Week 6 (Native Bluetooth support)

2015-07-08 Thread Claudiu Olteanu
The only way you're allowed to run OS X in a VM is if you have genuine Apple hardware, which usually implies you've already got access to OS X in real hardware anyway... I didn't know that. Thanks for the info! Is it ok with you if I start the documentation for the second stage of the

Re: [GSoC] Week 6 (Native Bluetooth support)

2015-07-08 Thread Thiago Macieira
On Wednesday 08 July 2015 11:47:18 Claudiu Olteanu wrote: I am not sure how I can help you with this. I don't have a Mac device. I could try to install OSx on a virtual machine. The only way you're allowed to run OS X in a VM is if you have genuine Apple hardware, which usually implies you've

Re: Linking error with recent libdc

2015-07-08 Thread Gaetan Bisson
[2015-07-08 06:06:07 -0700] Dirk Hohndel: On Tue, Jul 07, 2015 at 08:51:52PM -1000, Gaetan Bisson wrote: As I said in my reply to Jef's message, the build system issue I had was throwing away the static library. Ah, that explains it. We always link statically against libdivecomputer on

[PATH] Store the uuid of the selected dive site

2015-07-08 Thread Tomaz Canabrava
From 2cc65cd4b2c33e453d9c1e393d94e8cd3abe31b1 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava tomaz.canabr...@intel.com Date: Wed, 8 Jul 2015 14:27:17 -0300 Subject: [PATCH] Get the selected dive site from the list Hooked a eventFilter on the QListView that displays our dive sites so it would

Re: [QtBluetooth] Help for testing HW_OSTC3 and SHEARWATER families

2015-07-08 Thread Anton Lundin
On 29 June, 2015 - Claudiu Olteanu wrote: Hello, I need some help to test if the native serial implementation works after the changes I did on the libdivecomputer project. If you have a device from HW_OSTC3 or SHEARWATER families please take the first 7 patches and apply them on the

Re: [QtBluetooth] Help for testing HW_OSTC3 and SHEARWATER families

2015-07-08 Thread Rick Walsh
Hi Anton, On 9 Jul 2015 7:35 am, Anton Lundin gla...@acc.umu.se wrote: Chokay. I tried to test against a OSTC Sport, and got some results. Fist off i got massively de-railed due to that somehow i got CONFIG_BT_BCM enabled in my kernel which caused btusb to fail its dependency on btbcm

Re: OSTCTools import support

2015-07-08 Thread Anton Lundin
On 26 April, 2015 - Anton Lundin wrote: On 03 April, 2015 - Anton Lundin wrote: Anyhow. I'm out of ideas on how to produce some data to try to import. After my experience with OSTCProfile, i don't think any users will have data they would like to import either. Something have changed in

Re: Linking error with recent libdc

2015-07-08 Thread Gaetan Bisson
[2015-07-08 08:40:04 +0200] Jef Driesen: On 2015-07-08 07:13, Gaetan Bisson wrote: [2015-07-07 21:45:49 -0700] Dirk Hohndel: On Tue, Jul 07, 2015 at 05:59:00PM -1000, Gaetan Bisson wrote: Linking CXX executable subsurface libsubsurface_corelib.a(libdivecomputer.c.o): In function

Re: Linking error with recent libdc

2015-07-08 Thread Gaetan Bisson
[2015-07-07 20:35:14 -1000] Gaetan Bisson: [2015-07-07 20:21:49 -1000] Gaetan Bisson: Building subsurface master against that still fails for me. So things work as expected if I compile libdc without build flags. Our build system uses: CPPFLAGS=-D_FORTIFY_SOURCE=2 CFLAGS=-march=x86-64

[PATHC] rename some QT objects.

2015-07-08 Thread Joakim Bygdell
Some QT objects in the planner ui files had generic names. Rename them so we can see where they belong. 0001-Rename-generic-QT-labels.patch Description: Binary data /Jocke ___ subsurface mailing list subsurface@subsurface-divelog.org

Re: Linking error with recent libdc

2015-07-08 Thread Jef Driesen
On 2015-07-08 07:13, Gaetan Bisson wrote: [2015-07-07 21:45:49 -0700] Dirk Hohndel: On Tue, Jul 07, 2015 at 05:59:00PM -1000, Gaetan Bisson wrote: Linking CXX executable subsurface libsubsurface_corelib.a(libdivecomputer.c.o): In function `do_libdivecomputer_import':

[PATCH] move notes options

2015-07-08 Thread Joakim Bygdell
Rick, does this fit better on your screen? 0001-Planner-move-notes-options-under-gas-options.patch Description: Binary data /Jocke ___ subsurface mailing list subsurface@subsurface-divelog.org

Re: Linking error with recent libdc

2015-07-08 Thread Gaetan Bisson
[2015-07-07 20:21:49 -1000] Gaetan Bisson: Building subsurface master against that still fails for me. So things work as expected if I compile libdc without build flags. Our build system uses: CPPFLAGS=-D_FORTIFY_SOURCE=2 CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong

Re: [QtBluetooth] Help for testing HW_OSTC3 and SHEARWATER families

2015-07-08 Thread Claudiu Olteanu
W/Subsurface(17379): (null):0 ((null)): qt.bluetooth: Connecting to port is not supported D/Subsurface(17379): (null):0 ((null)): Connection on channel 1 failed. Trying on channel number 5. W/Subsurface(17379): (null):0 ((null)): qt.bluetooth: Connecting to port is not supported

Re: [QtBluetooth] Help for testing HW_OSTC3 and SHEARWATER families

2015-07-08 Thread Claudiu Olteanu
Due to that broken device i got a: This should never happen, please contact the Subsurface developers ... By the way, this error is usually generated when the Bluetooth service is not started or when the Qt framework cannot communicate with your local BT device (the library is not installed

Re: [QtBluetooth] Help for testing HW_OSTC3 and SHEARWATER families

2015-07-08 Thread Claudiu Olteanu
It would be great if there was a way to switch to using another bt device on your host. I started working on it but I haven't had the chance to finish it. Another thing i thought about was (re)using your bt-libdc thingie in the Configure Dive computers dialog there. It would be great if

[PATCH 5/5] Use qt-android-cmake to produce a android apk

2015-07-08 Thread Anton Lundin
This introduces code to use qt-android-cmake to produce a working apk. Signed-off-by: Anton Lundin gla...@acc.umu.se --- CMakeLists.txt | 21 + packaging/android/build.sh | 15 ++- 2 files changed, 27 insertions(+), 9 deletions(-) diff --git

[PATCH 4/5] Make the libssh linking optional

2015-07-08 Thread Anton Lundin
Due to bugs in libgit2, we force linking with libssh2 to add git-over-ssh support. On android we currency don't want libssh2 due to its dependency chain, so this makes the libssh2 force linking opt-out. Signed-off-by: Anton Lundin gla...@acc.umu.se --- CMakeLists.txt | 19

[PATCH 2/5] Teach android build script out of tree builds

2015-07-08 Thread Anton Lundin
This teaches the android build script how to do out of tree builds. Signed-off-by: Anton Lundin gla...@acc.umu.se --- packaging/android/build.sh | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/packaging/android/build.sh b/packaging/android/build.sh index

[PATCH 1/5] Upgrade libgit2 for android

2015-07-08 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 63c99ff..f8d61e0 100644 --- a/packaging/android/build.sh +++ b/packaging/android/build.sh

Re: [PATCH 5/5] Use qt-android-cmake to produce a android apk

2015-07-08 Thread Anton Lundin
On 09 July, 2015 - Anton Lundin wrote: This introduces code to use qt-android-cmake to produce a working apk. This could have bin done without qt-android-cmake to, and just generate a input file for androiddeployqt straight from our build.sh/cmake and everything would be unicorns and