Re: OSTCTools import support

2015-07-14 Thread Salvador Cuñat
Hi Anton, i'm on the phone, so expect every kind of sintax errors. El 12/07/2015 20:53, Salvador Cuñat salvador.cu...@gmail.com escribió: Looks like the first byte is a version(?) marker to. 0x64 in the old files in dives/ and 0x65 in the ones posted on the forum. Yes it's correct,

Re: build fails: -DSSRF_CUSTOM_SERIAL / dc_serial_t

2015-07-14 Thread Lubomir I. Ivanov
On 14 July 2015 at 13:02, Lubomir I. Ivanov neolit...@gmail.com wrote: hello, i'm building libdc from the latest: git://subsurface-divelog.org/libdc i've noticed that -DSSRF_CUSTOM_SERIAL is need so that: rc = hw_ostc_parser_create (parser, data-context, data-deviceid, 0); works in

Re: GSoC Status - Week 7 (Customizable prints)

2015-07-14 Thread Lubomir I. Ivanov
On 14 July 2015 at 13:20, Lubomir I. Ivanov neolit...@gmail.com wrote: On 14 July 2015 at 13:19, Gehad Elrobey gehadelro...@gmail.com wrote: On Jul 14, 2015 12:15 PM, Lubomir I. Ivanov neolit...@gmail.com wrote: On 14 July 2015 at 00:16, Gehad Elrobey gehadelro...@gmail.com wrote: Should

build fails: -DSSRF_CUSTOM_SERIAL / dc_serial_t

2015-07-14 Thread Lubomir I. Ivanov
hello, i'm building libdc from the latest: git://subsurface-divelog.org/libdc i've noticed that -DSSRF_CUSTOM_SERIAL is need so that: rc = hw_ostc_parser_create (parser, data-context, data-deviceid, 0); works in libdc_buffer_parser() (libdivecomputer.c) with the extra argument. i understand

Re: GSoC Status - Week 7 (Customizable prints)

2015-07-14 Thread Lubomir I. Ivanov
On 14 July 2015 at 00:16, Gehad Elrobey gehadelro...@gmail.com wrote: Should I convert the dive profile to QImage during previewing only or should I convert it during actual printing also which will affect the printing quality? i can't build ATM, but i think the logic here is a bit wrong:

Re: GSoC Status - Week 7 (Customizable prints)

2015-07-14 Thread Lubomir I. Ivanov
On 14 July 2015 at 13:19, Gehad Elrobey gehadelro...@gmail.com wrote: On Jul 14, 2015 12:15 PM, Lubomir I. Ivanov neolit...@gmail.com wrote: On 14 July 2015 at 00:16, Gehad Elrobey gehadelro...@gmail.com wrote: Should I convert the dive profile to QImage during previewing only or should

Re: GSoC Status - Week 7 (Customizable prints)

2015-07-14 Thread Lubomir I. Ivanov
On 14 July 2015 at 13:19, Gehad Elrobey gehadelro...@gmail.com wrote: On Jul 14, 2015 12:15 PM, Lubomir I. Ivanov neolit...@gmail.com wrote: On 14 July 2015 at 00:16, Gehad Elrobey gehadelro...@gmail.com wrote: Should I convert the dive profile to QImage during previewing only or should

Re: GSoC Status - Week 7 (Customizable prints)

2015-07-14 Thread Lubomir I. Ivanov
On 14 July 2015 at 14:29, Lubomir I. Ivanov neolit...@gmail.com wrote: On 14 July 2015 at 13:19, Gehad Elrobey gehadelro...@gmail.com wrote: On Jul 14, 2015 12:15 PM, Lubomir I. Ivanov neolit...@gmail.com wrote: On 14 July 2015 at 00:16, Gehad Elrobey gehadelro...@gmail.com wrote: Should

Re: GSoC Status - Week 7 (Customizable prints)

2015-07-14 Thread Gehad Elrobey
On Tue, Jul 14, 2015 at 2:01 PM, Lubomir I. Ivanov neolit...@gmail.com wrote: On 14 July 2015 at 14:51, Gehad Elrobey gehadelro...@gmail.com wrote: On Tue, Jul 14, 2015 at 1:46 PM, Lubomir I. Ivanov neolit...@gmail.com wrote: On 14 July 2015 at 14:43, Lubomir I. Ivanov

Re: More Location Fixes.

2015-07-14 Thread Dirk Hohndel
On Tue, Jul 14, 2015 at 03:10:30PM +0200, Davide DB wrote: On Tue, Jul 14, 2015 at 1:42 AM, Dirk Hohndel d...@hohndel.org wrote: So that's 16 scenarios so far... who can think of more? Hi Dirk, Examples by Linus caught me off guard. At this point I really do not know what's the

Re: GSoC Status - Week 7 (Customizable prints)

2015-07-14 Thread Gehad Elrobey
On Tue, Jul 14, 2015 at 1:29 PM, Lubomir I. Ivanov neolit...@gmail.com wrote: On 14 July 2015 at 13:19, Gehad Elrobey gehadelro...@gmail.com wrote: On Jul 14, 2015 12:15 PM, Lubomir I. Ivanov neolit...@gmail.com wrote: On 14 July 2015 at 00:16, Gehad Elrobey gehadelro...@gmail.com

Re: GSoC Status - Week 7 (Customizable prints)

2015-07-14 Thread Lubomir I. Ivanov
On 14 July 2015 at 15:08, Gehad Elrobey gehadelro...@gmail.com wrote: On Tue, Jul 14, 2015 at 2:01 PM, Lubomir I. Ivanov neolit...@gmail.com wrote: On 14 July 2015 at 14:51, Gehad Elrobey gehadelro...@gmail.com wrote: On Tue, Jul 14, 2015 at 1:46 PM, Lubomir I. Ivanov

Re: More Location Fixes.

2015-07-14 Thread Davide DB
On Tue, Jul 14, 2015 at 1:42 AM, Dirk Hohndel d...@hohndel.org wrote: So that's 16 scenarios so far... who can think of more? Hi Dirk, Examples by Linus caught me off guard. At this point I really do not know what's the correct behavior. I thought we depict possible scenario more than one

Re: GSoC Status - Week 7 (Customizable prints)

2015-07-14 Thread Gehad Elrobey
On Tue, Jul 14, 2015 at 1:46 PM, Lubomir I. Ivanov neolit...@gmail.com wrote: On 14 July 2015 at 14:43, Lubomir I. Ivanov neolit...@gmail.com wrote: On 14 July 2015 at 14:38, Gehad Elrobey gehadelro...@gmail.com wrote: 3) i get no text / data in the tables under the profiles. could this

Re: GSoC Status - Week 7 (Customizable prints)

2015-07-14 Thread Lubomir I. Ivanov
On 14 July 2015 at 14:51, Gehad Elrobey gehadelro...@gmail.com wrote: On Tue, Jul 14, 2015 at 1:46 PM, Lubomir I. Ivanov neolit...@gmail.com wrote: On 14 July 2015 at 14:43, Lubomir I. Ivanov neolit...@gmail.com wrote: On 14 July 2015 at 14:38, Gehad Elrobey gehadelro...@gmail.com wrote:

Re: More Location Fixes.

2015-07-14 Thread Rick Walsh
Happy Bastille day all, On 14 Jul 2015 11:10 pm, Davide DB dbdav...@gmail.com wrote: On Tue, Jul 14, 2015 at 1:42 AM, Dirk Hohndel d...@hohndel.org wrote: So that's 16 scenarios so far... who can think of more? Hi Dirk, Examples by Linus caught me off guard. At this point I really do

Re: More Location Fixes.

2015-07-14 Thread Davide DB
On Tue, Jul 14, 2015 at 4:45 PM, Dirk Hohndel d...@hohndel.org wrote: So the summary of those last couple of cases should be If the user picks an existing dive site from the auto completion no existing data in that dive site is changed, but if that dive site has no GPS data, then that data

Re: build fails: -DSSRF_CUSTOM_SERIAL / dc_serial_t

2015-07-14 Thread Lubomir I. Ivanov
On 14 July 2015 at 16:54, Dirk Hohndel d...@hohndel.org wrote: On Tue, Jul 14, 2015 at 01:02:42PM +0300, Lubomir I. Ivanov wrote: hello, i'm building libdc from the latest: git://subsurface-divelog.org/libdc which branch? master or Subsurface-testing or something else? i've noticed that

Re: GPS positions with companion app

2015-07-14 Thread Dirk Hohndel
On Tue, Jul 14, 2015 at 07:30:00AM +0200, Salvador Cuñat wrote: Good morning. The gps import has worked fine for me with last dives. ... processing gpsfix @ lun. 13 de jul. de 2015 9:34 which is withing six hours of dive from lun. 13 de jul. de 2015 10:01 until lun. 13 de jul. de 2015

ok, who was that joker...?

2015-07-14 Thread Dirk Hohndel
Someone just tried to sign up for a cloud account with subsurf...@hohndel.org - the mailing list address :-) Those people with IP addresses in Germany... which ISP does reverse lookup to mwn.de, anyway? Ahhh, some googling shows that's IP addresses that the Ludwig-Maximilians-Universitaet

Re: More Location Fixes.

2015-07-14 Thread Dirk Hohndel
On Tue, Jul 14, 2015 at 11:40:06PM +1000, Rick Walsh wrote: BRANCH #THREE 1. empty location field 1.2. GPS data (e.g. from Subsurface web service - dive site with no name) 1.2.1. user types in name, picks one of the completions Use cases #3 is more complicated. I'll pass the

Re: More Location Fixes.

2015-07-14 Thread Dirk Hohndel
On Tue, Jul 14, 2015 at 03:52:39PM +0200, Davide DB wrote: Happy Bastille day all, Happy Bastille to you :) I hear from my history teachers that it was a very happy day for the people at the Bstille back then as well... If the dive already has gps data, I can't see the value of

Re: More Location Fixes.

2015-07-14 Thread Dirk Hohndel
On Tue, Jul 14, 2015 at 04:05:57PM +0200, Davide DB wrote: On Tue, Jul 14, 2015 at 3:27 PM, Dirk Hohndel d...@hohndel.org wrote: And like it or not, our preferences do matter a bit here. Absolutely unnecessary statement. Nah - the occasional reminder that there are people here who have

Re: build fails: -DSSRF_CUSTOM_SERIAL / dc_serial_t

2015-07-14 Thread Dirk Hohndel
On Tue, Jul 14, 2015 at 01:02:42PM +0300, Lubomir I. Ivanov wrote: hello, i'm building libdc from the latest: git://subsurface-divelog.org/libdc which branch? master or Subsurface-testing or something else? i've noticed that -DSSRF_CUSTOM_SERIAL is need so that: rc = hw_ostc_parser_create

Re: More Location Fixes.

2015-07-14 Thread Davide DB
On Tue, Jul 14, 2015 at 4:24 PM, Dirk Hohndel d...@hohndel.org wrote: This will require a significant amount of code change / code addition. I'm not saying it can't be done, but I'm not sure we'll have it in the next version. CANCELLED BRANCH #FOUR 1. empty location field 1.2.

Re: More Location Fixes.

2015-07-14 Thread Davide DB
On Tue, Jul 14, 2015 at 3:40 PM, Rick Walsh rickmwa...@gmail.com wrote: Happy Bastille day all, Happy Bastille to you :) If the dive already has gps data, I can't see the value of autocompleting the name based on other names, unless the options are limited to sites at about the same

Re: More Location Fixes.

2015-07-14 Thread Davide DB
On Tue, Jul 14, 2015 at 3:27 PM, Dirk Hohndel d...@hohndel.org wrote: And like it or not, our preferences do matter a bit here. Absolutely unnecessary statement. I'm not trying to impose my view but just contributing with my view for the sake of a better application. BRANCH #FIVE 1. empty

Re: More Location Fixes.

2015-07-14 Thread Davide DB
On Tue, Jul 14, 2015 at 4:16 PM, Dirk Hohndel d...@hohndel.org wrote: Scenario. I keep doing boat dives to the same sites (we'll be in Palau the fourth time this fall and I bet we'll go back to the Blue Corner and many other sites we've been to frequently). I use the phone app to track GPS

Re: More Location Fixes.

2015-07-14 Thread Dirk Hohndel
On Tue, Jul 14, 2015 at 04:33:12PM +0200, Davide DB wrote: On Tue, Jul 14, 2015 at 4:24 PM, Dirk Hohndel d...@hohndel.org wrote: This will require a significant amount of code change / code addition. I'm not saying it can't be done, but I'm not sure we'll have it in the next version.

Dive Location Management: getting a bit tired of it.

2015-07-14 Thread Tomaz Canabrava
Okay - those are the patches I did yesterday + today. Dirk asked me to focus on something else, so those are the patches that I did. I'll try to implement davide's mockup for the full dive site management later. From 39401bb643ef5bd959d0553341f203f828f2f0bc Mon Sep 17 00:00:00 2001 From: Tomaz

Re: More Location Fixes.

2015-07-14 Thread Dirk Hohndel
On Tue, Jul 14, 2015 at 11:51:40AM -0700, Linus Torvalds wrote: On Mon, Jul 13, 2015 at 4:42 PM, Dirk Hohndel d...@hohndel.org wrote: 1. empty location field 1.1. no GPS data (so that means we had no dive site, I guess) 1.1.1, user types in name, picks one of the completions 1.1.2. user

Re: GSoC Status - Week 7 (VPM-B)

2015-07-14 Thread Robert C. Helling
Jan, On 13 Jul 2015, at 22:53, Jan Darowski jan.darow...@gmail.com wrote: This week I wrote a Boyles law compensation and checked all the calculations to find the root of the differences of results against the original implementation. I found that there is a difference between the code

Re: More Location Fixes.

2015-07-14 Thread Dirk Hohndel
On Tue, Jul 14, 2015 at 12:34:27PM -0700, Linus Torvalds wrote: On Tue, Jul 14, 2015 at 12:15 PM, Dirk Hohndel d...@hohndel.org wrote: Now I fly to Hawaii and go diving. I run the companion app. I am one of the people who first download the GPS fixes before they start editing the dives.

Re: More Location Fixes.

2015-07-14 Thread Tomaz Canabrava
On Tue, Jul 14, 2015 at 5:07 PM, Linus Torvalds torva...@linux-foundation.org wrote: On Tue, Jul 14, 2015 at 12:56 PM, Dirk Hohndel d...@hohndel.org wrote: If you pick a dive site from the list that is CLEARLY marked as having a GPS location and for most normal users will even be CLEARLY

Re: GSoC Status - Week 7 (VPM-B)

2015-07-14 Thread Jan Darowski
Yes, I've seen this link first time you sent it. Parameters are not the problem here. We have a different tissue saturation calculation method, so results differ a little bit at the beginning of the ascent. So the first stop is a little bit later (6m), It has a big influence on the total deco time

Re: More Location Fixes.

2015-07-14 Thread Linus Torvalds
On Tue, Jul 14, 2015 at 1:19 PM, Tomaz Canabrava tcanabr...@kde.org wrote: If I start writing Blu and it auto-completes to Blue Corner, then an interface that says but you mustn't choose that name, because that will screw up your GPS coordinates is a horrible interface. uh... that's not

Re: More Location Fixes.

2015-07-14 Thread Rick Walsh
Good morning, On 15 Jul 2015 7:11 am, Linus Torvalds torva...@linux-foundation.org wrote: On Tue, Jul 14, 2015 at 1:19 PM, Tomaz Canabrava tcanabr...@kde.org wrote: If I start writing Blu and it auto-completes to Blue Corner, then an interface that says but you mustn't choose that name,

Re: More Location Fixes.

2015-07-14 Thread Linus Torvalds
On Tue, Jul 14, 2015 at 12:15 PM, Dirk Hohndel d...@hohndel.org wrote: Now I fly to Hawaii and go diving. I run the companion app. I am one of the people who first download the GPS fixes before they start editing the dives. You realize that in many places you can't even do this? Because you

Re: More Location Fixes.

2015-07-14 Thread Linus Torvalds
On Tue, Jul 14, 2015 at 12:56 PM, Dirk Hohndel d...@hohndel.org wrote: If you pick a dive site from the list that is CLEARLY marked as having a GPS location and for most normal users will even be CLEARLY marked with taxonomy data. So there is nothing confusing here. You picked a site with GPS

[PATH] try to make people happy.

2015-07-14 Thread Tomaz Canabrava
From 109fab3285bc116bde056ba40c9f33255fdce503 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava tomaz.canabr...@intel.com Date: Tue, 14 Jul 2015 18:43:47 -0300 Subject: [PATCH 7/7] Offer an option to just complete the text Make the kids fight no more. Signed-off-by: Tomaz Canabrava

Re: [PATCH] Bluetooth support for Android

2015-07-14 Thread Thiago Macieira
On Monday 13 July 2015 23:53:56 Claudiu Olteanu wrote: I attached some patches which can be used to fix the issues related to Bluetooth connectivity on Android platforms. On Android, a connection to a service cannot be established using a port. The first patch should fix this issue using

Linux USB-to-serial driver ch341 not supported?

2015-07-14 Thread G Miller
Love the subsurface program. I bought a Suunto Zoop cable from Amazon: USB download DIY cable Suunto Zoop Vyper Vytec Mosquito HelO2 works with Subsurface and Dive Log at Amazon link http://www.amazon.com/gp/product/B00SYZIJXI?psc=1redirect=trueref_=oh_aui_detailpage_o01_s00 Sold by a

Re: More Location Fixes.

2015-07-14 Thread Davide DB
Guys I could not follow you trough all the exchanges. I'm not sure I understood everything hence I'm not able to recap the workflow as I promised. I'm convinced that most of the misunderstanding originate from the fact that emails are the wrong tool for this. Tomaz save us all :)

Re: More Location Fixes.

2015-07-14 Thread Linus Torvalds
On Mon, Jul 13, 2015 at 4:42 PM, Dirk Hohndel d...@hohndel.org wrote: 1. empty location field 1.1. no GPS data (so that means we had no dive site, I guess) 1.1.1, user types in name, picks one of the completions 1.1.2. user types in name, doesn't pick one of the completions ... So quite