Re: planner / VPM-B patches

2015-08-18 Thread Robert C. Helling
Hi Guys, thanks for providing all those profiles! Before tonight, I won’t have time to look into any of these in full detail, but in order not to look at too many things at once, I would propose we agree on a few benchmark profiles first with increasing order of complexity (and yes, they are

Re: planner / VPM-B patches

2015-08-18 Thread Robert C. Helling
On 18 Aug 2015, at 12:11, Robert C. Helling hell...@atdotde.de wrote: Furthermore, to simplify things, I would set the descent velocity to essentially infinite, instantaneous descent so we don’t run into complications on how to count different depths. Again, for simplification, we

Re: planner / VPM-B patches

2015-08-18 Thread Joakim Bygdell
Deco profiles from MultiDeco VPM-B, conservatism 0 20'@45m, 18/45, EAN50, O2 118 115 112 29 86 30'@60m, 18/45, EAN50, O2 136 133 130 227 324 221 218 315 512 79 21 6 40'@60m, 18/45, EAN50, O2 136 133 230 327 424 3

Re: [PATH] Add native Bluetooth support for Windows platforms

2015-08-18 Thread Claudiu Olteanu
Hi Thiago, Thanks for making time to look over the patches! Subject: [PATCH 03/17] Use only the BTH address to check if the device was already added There are moments when the name of the device cannot be obtained. Therefore we should use only the Bluetooth address to identify if the

Re: planner / VPM-B patches

2015-08-18 Thread Joakim Bygdell
On 18 August 2015 at 11:30, Rick Walsh rickmwa...@gmail.com wrote: Hi. 20'@45m runtime 38 min 30'@60m runtime 83 min 40'@60m runtime 110 min 50'@60m runtime 137 min 20'@75m runtime 83 min 30'@75m runtime 125 min 40'@75m runtime 166 min I'm not sure what ascent and descent rates Davide

Re: planner / VPM-B patches

2015-08-18 Thread Davide DB
On Tue, Aug 18, 2015 at 12:12 PM, Robert C. Helling hell...@atdotde.de wrote: I forgot to say: Let’s do the last stop at 3m. Ok Should we copy the entire profile or just the runtime? :) -- Davide https://vimeo.com/bocio/videos ___ subsurface

Re: at some point we need to release Subsurface 4.5

2015-08-18 Thread Lubomir I. Ivanov
On 17 August 2015 at 20:37, Tomaz Canabrava tcanabr...@kde.org wrote: Regarding to grantlee - I started reading it's source code but didn't managed to advance much - will keep trying. also, I'm in contact with grantlee developer to make things easier. i was able to go trough the Grantlee

Re: Customizable prints progress

2015-08-18 Thread Lubomir I. Ivanov
On 18 August 2015 at 03:51, Gehad Elrobey gehadelro...@gmail.com wrote: Hello Lubomir, As I am progressing with the documentation, I want to add description for users willing to write their own templates, so I will need to describe many concepts related to our defined css selectors, Grantlee

[PATCH] Helper function to determine if we are currently planning

2015-08-18 Thread Robert C. Helling
Hi, as promised earlier, this patch removes the global state variable and replaces it with a helper function to determine the state of the main window. Best Robert From 351cdc0229013d88814ee66d0101d744f05fd204 Mon Sep 17 00:00:00 2001 From: Robert C. Helling hell...@atdotde.de Date: Tue, 18 Aug

Re: planner / VPM-B patches

2015-08-18 Thread Rick Walsh
On 18 August 2015 at 17:58, Davide DB dbdav...@gmail.com wrote: On Tue, Aug 18, 2015 at 9:46 AM, Rick Walsh rickmwa...@gmail.com wrote: Thanks for those profiles. I'll generate profiles for the same dives in the original VPM-B Fortran program as a comparison. Do you know if GUE

Re: [PATCH] Parse erroneous sample time for MK6

2015-08-18 Thread Anton Lundin
On 17 August, 2015 - Miika Turkia wrote: I got a confirmation that this is a bug in an old version of their download tool. Should be fixed by a firmware update and updated PC tool. I am still verifying some details before sending a new patch according to the vendors suggestion. (A bit less

Re: [PATH] Add native Bluetooth support for Windows platforms

2015-08-18 Thread Thiago Macieira
On Friday 14 August 2015 00:13:40 Claudiu Olteanu wrote: Hi Claudiu Great work, this is a very good contribution. Thank you for getting to it! Most of my comments below are suggestions for learning and other requests for clarification on my part. There are just two issues that need to be fixed

[PATCHES] Re: planner / VPM-B patches

2015-08-18 Thread Robert C. Helling
Hi Dirk,On 18 Aug 2015, at 07:23, Dirk Hohndel d...@hohndel.org wrote:I think I have most of this applied and pushed now - but I'm not sure.There were some patches from Rick and some other strays here and therethat I wasn't quite sure what to do with. Also, there were severalconflicts when

Re: planner / VPM-B patches

2015-08-18 Thread Davide DB
On Tue, Aug 18, 2015 at 9:46 AM, Rick Walsh rickmwa...@gmail.com wrote: Thanks for those profiles. I'll generate profiles for the same dives in the original VPM-B Fortran program as a comparison. Do you know if GUE DecoPlanner uses the VPM or VPM-B model? The -B version is a modification

Re: planner / VPM-B patches

2015-08-18 Thread Davide DB
On Tue, Aug 18, 2015 at 7:48 AM, Dirk Hohndel d...@hohndel.org wrote: On Tue, Aug 18, 2015 at 03:35:07PM +1000, Rick Walsh wrote: I'm a bit stretched for time at the moment, but I'll try to run off a series of plans from the VPM-B Fortran program. There's also a free (as in beer) Windows

Re: planner / VPM-B patches

2015-08-18 Thread Rick Walsh
Hi Davide, On 18 August 2015 at 16:56, Davide DB dbdav...@gmail.com wrote: I'm in a rush so this is what i was able to generate with my copy of GUE Deco Planner 3.14. This sw is getting really outdated now and it can only export profiles printing them. first of all I have a screenshot of

Re: planner / VPM-B patches

2015-08-18 Thread Davide DB
GUE Deco Planner profiles added. Playing with the program I discovered several UI bugs never solved during all these years. A clear demonstration of OS model superiority. Anyway... I corrected some typos in the spreadsheet. I'm seeing some great discrepancy on multilevel and repetitive dives.

Re: planner / VPM-B patches

2015-08-18 Thread Jan Darowski
2015-08-18 13:12 GMT+02:00 Robert C. Helling hell...@atdotde.de: On 18 Aug 2015, at 12:18, Davide DB dbdav...@gmail.com wrote: Ok Should we copy the entire profile or just the runtime? :) Let’s do the entire profile, getting the runtime from there should be trivial in a spread sheet.

Re: planner / VPM-B patches

2015-08-18 Thread Robert C. Helling
Hi, On 18 Aug 2015, at 13:12, Robert C. Helling hell...@atdotde.de wrote: Please give me a few minutes to set it up. so, here we go: https://docs.google.com/spreadsheets/d/1ZWs6eOW2pF4yBRRj4JYtVxIr0vlyFNxS9Z4nka2PP6k/edit?usp=sharing

Re: planner / VPM-B patches

2015-08-18 Thread Robert C. Helling
On 18 Aug 2015, at 12:18, Davide DB dbdav...@gmail.com wrote: Ok Should we copy the entire profile or just the runtime? :) Let’s do the entire profile, getting the runtime from there should be trivial in a spread sheet. Here is the link:

Re: Add Dive issue

2015-08-18 Thread Tomaz Canabrava
On Tue, Aug 18, 2015 at 4:25 AM, Grace Karanja gracie.karanj...@gmail.com wrote: Hi Tomaz, I am a bit stuck here: Check my code here: https://github.com/gracie89/subsurface/tree/devel/qt-mobile When the user clicks on Add Dive, I want to add a new dive to the model. This is working. But

Re: Location management [was: at some point we need to release Subsurface 4.5]

2015-08-18 Thread Tomaz Canabrava
On Tue, Aug 18, 2015 at 4:14 PM, Tomaz Canabrava tcanabr...@kde.org wrote: On Tue, Aug 18, 2015 at 3:58 PM, Henrik Brautaset Aronsen hen...@synth.no wrote: On 17 Aug 2015, at 15:16, Dirk Hohndel d...@hohndel.org wrote: Location management === The location

Location management [was: at some point we need to release Subsurface 4.5]

2015-08-18 Thread Henrik Brautaset Aronsen
On 17 Aug 2015, at 15:16, Dirk Hohndel d...@hohndel.org wrote: Location management === The location management work turned into an utter disaster of many attempts that no one liked but I think we are getting closer there. What's missing before this is ready for actual

[PATCH] Add native Bluetooth support for Windows platforms

2015-08-18 Thread Claudiu Olteanu
Hi there, As I promised, I created a new set of patches. You can find it attached to this e-mail. Here is a list with the changes I did after the feedback: - initialized the internal variables (patch 06) - moved the *WSACleanup* call from patch 06 to patch 12 - removed the implementation of my

Re: [PATCH] Add native Bluetooth support for Windows platforms

2015-08-18 Thread Thiago Macieira
On Wednesday 19 August 2015 00:57:20 Claudiu Olteanu wrote: I tried as well to replace the WSAStringToAddressA with WSAStringToAddressW but I had to represent the address as a wchar_t* and and when I wanted to use mbstowcs_s for conversion (from const char* to wchar_t*) the compiler couldn't

Re: planner / VPM-B patches

2015-08-18 Thread Rick Walsh
On 18 August 2015 at 15:23, Dirk Hohndel d...@hohndel.org wrote: I think I have most of this applied and pushed now - but I'm not sure. There were some patches from Rick and some other strays here and there that I wasn't quite sure what to do with. Also, there were several conflicts when

Re: at some point we need to release Subsurface 4.5

2015-08-18 Thread Grace Karanja
On Tue, Aug 18, 2015 at 10:38 PM, Salvador Cuñat salvador.cu...@gmail.com wrote: Sadly, the app doesn't work for me at all (latest dailies, first did). I only get the blue screen with the Subsurface mobile bar and the status bar with subsurface mobile startup. Don't know if it's due to a

Re: planner / VPM-B patches

2015-08-18 Thread Davide DB
On Tue, Aug 18, 2015 at 11:30 AM, Rick Walsh rickmwa...@gmail.com wrote: I'm not sure what ascent and descent rates Davide and Jocke used, but I used 18 m/min down and 9 m/min up, with last stop at 6 m. The configuration parameters are the same as for zero conservatism in

RE: Location management [was: at some point we need to release Subsurface 4.5]

2015-08-18 Thread Steve
From: subsurface [mailto:subsurface-boun...@subsurface-divelog.org] On Behalf Of Henrik Brautaset Aronsen Sent: Wednesday, 19 August 2015 5:24 AM To: Tomaz Canabrava tcanabr...@kde.org Cc: Subsurface Mailing List subsurface@subsurface-divelog.org Subject: Re: Location management [was: at

RE: at some point we need to release Subsurface 4.5

2015-08-18 Thread Steve
From: subsurface [mailto:subsurface-boun...@subsurface-divelog.org] On Behalf Of Salvador Cuñat Sent: Wednesday, 19 August 2015 5:09 AM To: Dirk Hohndel d...@hohndel.org Cc: Subsurface Mailing List subsurface@subsurface-divelog.org Subject: Re: at some point we need to release Subsurface 4.5

RE: Location management [was: at some point we need to release Subsurface 4.5]

2015-08-18 Thread Steve
From: subsurface [mailto:subsurface-boun...@subsurface-divelog.org] On Behalf Of Steve Sent: Wednesday, 19 August 2015 10:16 AM To: 'Henrik Brautaset Aronsen' hen...@synth.no; 'Tomaz Canabrava' tcanabr...@kde.org Cc: 'Subsurface Mailing List' subsurface@subsurface-divelog.org Subject: RE:

Re: [PATH] Add native Bluetooth support for Windows platforms

2015-08-18 Thread Thiago Macieira
On Tuesday 18 August 2015 12:31:53 Claudiu Olteanu wrote: Thank you for your detailed explanation! I didn't know about the difference between the W functions on Windows instead of the A ones. Since I will create a new set of patches I will try to add all the things you suggested. Hi Claudiu

Re: [PATH] Add native Bluetooth support for Windows platforms

2015-08-18 Thread Dirk Hohndel
On Tue, Aug 18, 2015 at 12:31:53PM +0300, Claudiu Olteanu wrote: Thanks for making time to look over the patches! Yes, let me repeat that. Excellent review, Thiago. Thank you. [...] Since I will create a new set of patches I will try to add all the things you suggested. Thank you. I look

[PATCH] VPM-B: Update critical_volume_lambda

2015-08-18 Thread Rick Walsh
The default value for critical_volume_lambda is 6500 fsw.min (= 199.58 bar.min) for VPM-B, rather than 7500 fsw.min (= 230.284 bar.min) for VPM. This is consistent with V-Planner, MultiDeco, GUE DecoPlanner, HLPlanner and the comments in the Fortran code explanation. Signed-off-by: Rick Walsh

Re: Customizable prints progress

2015-08-18 Thread Dirk Hohndel
On Tue, Aug 18, 2015 at 11:06:59AM +0300, Lubomir I. Ivanov wrote: On 18 August 2015 at 03:51, Gehad Elrobey gehadelro...@gmail.com wrote: Hello Lubomir, As I am progressing with the documentation, I want to add description for users willing to write their own templates, so I will need to

Re: at some point we need to release Subsurface 4.5

2015-08-18 Thread Salvador Cuñat
Good evening 2015-08-17 15:16 GMT+02:00 Dirk Hohndel d...@hohndel.org: Android app === The Android app is also making great progress - but can be released independently of 4.5 (admittedly, I'd love to release them together - but it obviously cannot be released until 4.5 is out as