Re: [PATCH] QtBluetooth implementation

2015-06-28 Thread Claudiu Olteanu
This patch sets a timer for the connecting step. If the connection doesn't succeed after five seconds or no error occurs then stop the opening step and exit with failure. On Sat, Jun 27, 2015 at 4:09 PM, Claudiu Olteanu olteanu.vasilica.clau...@gmail.com wrote: In order to make our custom

Re: great progress on dive site handling

2015-06-28 Thread Miika Turkia
On Sun, Jun 28, 2015 at 2:27 PM, Dirk Hohndel d...@hohndel.org wrote: On Sun, Jun 28, 2015 at 06:35:25AM +0800, Miika Turkia wrote: I had the site on my log with only a name, no coordinates. Now I dove there again with companion app. Synced the GPS data and then selected the name of the dive

Re: great progress on dive site handling

2015-06-28 Thread Miika Turkia
Well, seems that the recent changes prevent me from accessing the dive site management. (Log - Manage dive sites does nothing for me.) I also got incorrect GPS fix for a dive, but deleting the site manually and re-syncing GPS fixed that. I have no idea how that happened. Or could it be that the

Re: BT support, brief tests

2015-06-28 Thread Claudiu Olteanu
Hi Dirk, I managed to reproduce the bug changing the Bluetooth address saved in the device *QComboBox*. Apparently if you set an incorrect address in that section the *QBluetoothSocket* connect method doesn't raise a *SocketError* and it gets stuck. I added a timer, like you suggested. It raises

Re: [PATCH 1/4] Add support for importing o2 sensors from CSV file

2015-06-28 Thread Anton Lundin
On 27 June, 2015 - Dirk Hohndel wrote: On Sat, Jun 27, 2015 at 11:38:10PM +0200, Anton Lundin wrote: Dam, this code is clunky. We should really rework how that field-thingie works. I want to pry my eyes out every time i touch that code. How many places do you need to touch to

Re: great progress on dive site handling

2015-06-28 Thread Dirk Hohndel
On Sun, Jun 28, 2015 at 06:35:25AM +0800, Miika Turkia wrote: I had the site on my log with only a name, no coordinates. Now I dove there again with companion app. Synced the GPS data and then selected the name of the dive site. This replaced all info from the old dive site, overwriting the

Re: GPS positions with companion app

2015-06-28 Thread Miika Turkia
On Fri, Jun 26, 2015 at 5:09 PM, Miika Turkia miika.tur...@gmail.com wrote: On Thu, Jun 25, 2015 at 1:50 PM, Dirk Hohndel d...@hohndel.org wrote: On Wed, Jun 24, 2015 at 09:12:46PM -0700, Dirk Hohndel wrote: On Thu, Jun 25, 2015 at 07:21:53AM +0800, Miika Turkia wrote: I have tested out the

Re: GPS positions with companion app

2015-06-28 Thread Dirk Hohndel
On Sun, Jun 28, 2015 at 04:48:03PM +0800, Miika Turkia wrote: Miika, I would love it if you could try this (but I understand if you don't have the time or network bandwidth to do so). I think the debug messages are verbose enough to make it easy to track down what happened and why the

Re: great progress on dive site handling

2015-06-28 Thread Dirk Hohndel
On Sun, Jun 28, 2015 at 05:27:16PM +0800, Miika Turkia wrote: With the commit I just pushed the following happens. IFF you have a dive site that was downloaded from the companion app and IFF you either type in a new name or you type in an existing dive site name that has no GPS data,

Re: great progress on dive site handling

2015-06-28 Thread Dirk Hohndel
On Sun, Jun 28, 2015 at 06:21:59PM +0800, Miika Turkia wrote: Well, seems that the recent changes prevent me from accessing the dive site management. (Log - Manage dive sites does nothing for me.) Yep, that's temporarily disabled. I also got incorrect GPS fix for a dive, but deleting the site

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

2015-06-28 Thread Claudiu Olteanu
I think the one other BT device that several of our testers have (including me) is the Shearwater Petrel / Petrel2 Thanks! Then I will start to do the changes for that vendor and I will send you the patches. ___ subsurface mailing list

Re: Subsurface dependencies not met on Ubuntu Vivid

2015-06-28 Thread Thomas 'Mike' Michlmayr
hi! On Sun, Jun 28, 2015 at 12:49:13 -0700, Dirk Hohndel d...@hohndel.org wrote: [...] I need to find my Vivid VM and figure this out but right now I'm mostly puzzled. i've got your PPA running on my vivid box, and there are no problems with installing or running subsurface. and i've got

Re: Subsurface dependencies not met on Ubuntu Vivid

2015-06-28 Thread Pedro Neves
On 28-06-2015 21:48, Thomas 'Mike' Michlmayr wrote: hi! On Sun, Jun 28, 2015 at 12:49:13 -0700, Dirk Hohndel d...@hohndel.org wrote: [...] I need to find my Vivid VM and figure this out but right now I'm mostly puzzled. i've got your PPA running on my vivid box, and there are no problems with

[QtBluetooth] Help for testing HW_OSTC3 and SHEARWATER families

2015-06-28 Thread Claudiu Olteanu
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 libdivecomputer branch. Unfortunately I don't have a

Re: Subsurface dependencies not met on Ubuntu Vivid

2015-06-28 Thread Dirk Hohndel
On Jun 28, 2015, at 1:48 PM, Thomas 'Mike' Michlmayr m...@cluon.priv.at wrote: hi! On Sun, Jun 28, 2015 at 12:49:13 -0700, Dirk Hohndel d...@hohndel.org wrote: [...] I need to find my Vivid VM and figure this out but right now I'm mostly puzzled. i've got your PPA running on my

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

2015-06-28 Thread Rick Walsh
Hi Claudiu, On 29 Jun 2015 7:50 am, Claudiu Olteanu olteanu.vasilica.clau...@gmail.com 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

Re: Fix build with newer libssh and cmake

2015-06-28 Thread Tomaz Canabrava
Sorry, it unbreak things for me and breaks for others. I'll redo this On Sun, Jun 28, 2015, 14:04 Dirk Hohndel d...@hohndel.org wrote: On Sun, Jun 28, 2015 at 10:00:51AM -0700, Dirk Hohndel wrote: On Sun, Jun 28, 2015 at 01:59:29PM -0300, Tomaz Canabrava wrote: libssh just changed the way

Re: Fix build with newer libssh and cmake

2015-06-28 Thread Dirk Hohndel
On Sun, Jun 28, 2015 at 10:00:51AM -0700, Dirk Hohndel wrote: On Sun, Jun 28, 2015 at 01:59:29PM -0300, Tomaz Canabrava wrote: libssh just changed the way it deals with CMakeFiles and I tougth poor dirk had broken the build, tsc. Does this break builds with older libssh? Well, of course

Re: Subsurface dependencies not met on Ubuntu Vivid

2015-06-28 Thread Dirk Hohndel
Which Ubuntu version are you on? /D -- Sent from my phone On Jun 28, 2015, at 10:43, Gobbledegeek gobbledeg...@gmail.com wrote: Will do. Right now I added the ppa but I get a new dependency issue - subsurface: Depends: libqt5concurrent5 (=5.0.2) but it is not installable

osanda1...@gmail.com has indicated you're a friend. Accept?

2015-06-28 Thread osanda1989
Hi, osanda1...@gmail.com wants to follow you. ** Is osanda1...@gmail.com you friend? ** If Yes please follow the link below:

Re: Subsurface dependencies not met on Ubuntu Vivid

2015-06-28 Thread Dirk Hohndel
On Jun 28, 2015, at 10:43, Gobbledegeek gobbledeg...@gmail.com mailto:gobbledeg...@gmail.com wrote: Will do. Right now I added the ppa but I get a new dependency issue - subsurface: Depends: libqt5concurrent5 (=5.0.2) but it is not installable That's what I get for responding from

Re: GPS positions with companion app

2015-06-28 Thread Andrey Zhdanov
On 28 Jun 2015, at 18:49, Dirk Hohndel d...@hohndel.org wrote: On Sun, Jun 28, 2015 at 04:48:03PM +0800, Miika Turkia wrote: Miika, I would love it if you could try this (but I understand if you don't have the time or network bandwidth to do so). I think the debug messages are verbose

Re: Fix build with newer libssh and cmake

2015-06-28 Thread Dirk Hohndel
On Sun, Jun 28, 2015 at 01:59:29PM -0300, Tomaz Canabrava wrote: libssh just changed the way it deals with CMakeFiles and I tougth poor dirk had broken the build, tsc. Does this break builds with older libssh? /D ___ subsurface mailing list

Re: Subsurface dependencies not met on Ubuntu Vivid

2015-06-28 Thread Gobbledegeek
Will do. Right now I added the ppa but I get a new dependency issue - subsurface: Depends: libqt5concurrent5 (=5.0.2) but it is not installable G0bble On Sat, Jun 27, 2015 at 6:25 PM, Dirk Hohndel d...@hohndel.org wrote: On Sat, Jun 27, 2015 at 04:44:56PM +0800, Miika Turkia wrote: We

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

2015-06-28 Thread Dirk Hohndel
On Jun 28, 2015, at 12:46 PM, Claudiu Olteanu olteanu.vasilica.clau...@gmail.com wrote: Hi there, Here are the things that I did this week: - finish the QtBluetooth data transfer - fix some bugs on the UI - changed the design of the dc_serial_t structure - made the current

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

2015-06-28 Thread Claudiu Olteanu
I'll try tonight (Australian time) on Fedora 22. What should the device show up as in the download dialogue? Thanks! I added a checkbox in the download dialogue which can be used to enable the Bluetooth downloading mode. When you activate it a new dialog will be created. You can use it to

Re: Fix build with newer libssh and cmake

2015-06-28 Thread Tomaz Canabrava
Dirk, Sorry for the broken patch earlier. This patch checks if the libssh is 1.6.0 and applyes the new cmake way of finding libraries on it. I need this to compile with libssh from git/master on Mac currently. On Sun, Jun 28, 2015 at 2:35 PM, Tomaz Canabrava tcanabr...@kde.org wrote: Sorry,

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

2015-06-28 Thread Claudiu Olteanu
I didn't know that. Thanks for the heads up! In the beginning try to see if it connects to the device using this version. It attempts to make a connection to the Serial Port Profile. Therefore, if the service is listening on RFCOMM channel 5, then it should successfully connect. If not, please

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

2015-06-28 Thread Rick Walsh
Thanks Claudiu, On 29 Jun 2015 8:08 am, Claudiu Olteanu olteanu.vasilica.clau...@gmail.com wrote: I'll try tonight (Australian time) on Fedora 22. What should the device show up as in the download dialogue? Thanks! I added a checkbox in the download dialogue which can be used to enable

Re: GPS positions with companion app

2015-06-28 Thread Miika Turkia
On 29 Jun 2015, at 01:00, Andrey Zhdanov andrju...@gmail.com wrote: On 28 Jun 2015, at 18:49, Dirk Hohndel d...@hohndel.org wrote: On Sun, Jun 28, 2015 at 04:48:03PM +0800, Miika Turkia wrote: Miika, I would love it if you could try this (but I understand if you don't have the

Re: Subsurface dependencies not met on Ubuntu Vivid

2015-06-28 Thread Thomas 'Mike' Michlmayr
hi! On Sun, Jun 28, 2015 at 22:15:05 +0100, Pedro Neves nevesdi...@gmail.com wrote: [...] This are the packages I install on my Kubuntu machine when compiling from source. Maybe it helps: maybe try adding qtbase5-dev Description-en: Qt 5 base development files Qt is a cross-platform C++

Re: great progress on dive site handling

2015-06-28 Thread Miika Turkia
On Mon, Jun 29, 2015 at 12:06 AM, Dirk Hohndel d...@hohndel.org wrote: On Sun, Jun 28, 2015 at 06:21:59PM +0800, Miika Turkia wrote: Well, seems that the recent changes prevent me from accessing the dive site management. (Log - Manage dive sites does nothing for me.) Yep, that's temporarily

GSoC Status - Week 5 (Customizable prints)

2015-06-28 Thread Gehad Elrobey
Hello all, This week I was working on the list of tasks which I have discussed with Lubomir. Tasks completed so far: - QPrintPreviewDialog triggered from the main dialog - add print selected dives support - print in colors or gray scale - fix dive profile bugs - fixed two dives per page template

GSoC Status - Week 5 (Android Port)

2015-06-28 Thread Grace Karanja
Hi everyone, This week I was working on: -Saving the dive details to XML -Loading and saving dives using the cloud back-end. I am currently still working on the back-end part, and I should have the work ready for a PR this week. -- Grace K ___