Re: Dive planner oddities

2015-10-12 Thread Rick Walsh
On 12 October 2015 at 18:21, Sergey Starosek wrote: > Robert, Rick, > > On Sun, Oct 11, 2015 at 10:44 PM, Rick Walsh wrote: > >> The cylinder pressure graph should start to flatten when starting >> ascent. Assuming a constant SAC, gas

Re: [PATCH] Planner: simplify enough_gas comparison

2015-10-12 Thread Rick Walsh
On 12 October 2015 at 17:39, Joakim Bygdell wrote: > > On 12 Oct 2015 8:23 am, "Rick Walsh" wrote: > > > > The enough_gas function is used in recreational mode to determine that > the > > reserve gas is kept in reserve. A simple comparison of end

Re: [PATCH] Planner: simplify enough_gas comparison

2015-10-12 Thread Joakim Bygdell
On 12 Oct 2015 8:23 am, "Rick Walsh" wrote: > > The enough_gas function is used in recreational mode to determine that the > reserve gas is kept in reserve. A simple comparison of end pressure => reserve > pressure should suffice. Reserve gas is calculated as the minimum

Re: Dive planner oddities

2015-10-12 Thread Sergey Starosek
Robert, Rick, On Sun, Oct 11, 2015 at 10:44 PM, Rick Walsh wrote: > The cylinder pressure graph should start to flatten when starting ascent. > Assuming a constant SAC, gas consumption varies with depth. Is that what > you're referring to? > See another image attached

Re: Allow replanning of logged dives

2015-10-12 Thread Anton Lundin
On 12 October, 2015 - Davide DB wrote: > Hi Guys, > > Given that you are working a lot on planner and deco calculation, I > will try to resume this old discussion. > > Is there a smarter way to calculate TTS (Time To Surface) even in a > tech dive without burning the cpu? Its a cubic function

Re: Allow replanning of logged dives

2015-10-12 Thread Davide DB
Hi Guys, Given that you are working a lot on planner and deco calculation, I will try to resume this old discussion. Is there a smarter way to calculate TTS (Time To Surface) even in a tech dive without burning the cpu? Maybe you could calculate it only every minute hence you reduce the number

Re: Is anyone working on an iOS app?

2015-10-12 Thread Anton Lundin
On 10 October, 2015 - Dirk Hohndel wrote: > > > On Oct 10, 2015, at 2:27 AM, Guido Lerch wrote: > > > > If you guys agree I submit this as my app, not use any ssrf code and just > > read from the cloud storage. > > > > V1 would only be dive details, no profile, hence

Re: Is anyone working on an iOS app?

2015-10-12 Thread Miika Turkia
On Mon, Oct 12, 2015 at 1:14 PM, Guido Lerch wrote: > Hi Davide > > Regards, > Guido > +41 79 3217739 > >> Am 12.10.2015 um 12:06 schrieb Davide DB : >> >>> On Mon, Oct 12, 2015 at 11:45 AM, Guido Lerch wrote: >>> Since I don't

Re: Is anyone working on an iOS app?

2015-10-12 Thread Guido Lerch
Hi Anton 2015-10-12 11:24 GMT+02:00 Anton Lundin : > On 10 October, 2015 - Dirk Hohndel wrote: > > > > > > On Oct 10, 2015, at 2:27 AM, Guido Lerch > wrote: > > > > > > If you guys agree I submit this as my app, not use any ssrf code and > just read

Re: Is anyone working on an iOS app?

2015-10-12 Thread Davide DB
On Mon, Oct 12, 2015 at 11:45 AM, Guido Lerch wrote: > Since I don't have an Android phone anymore and non of my colleagues has I > don't know what > the Android App does. There is a basic companion app for IOS. AFAIR it was developed for a GSOC but then never maintained.

Re: Is anyone working on an iOS app?

2015-10-12 Thread Davide DB
On Mon, Oct 12, 2015 at 12:14 PM, Guido Lerch wrote: > > I downloaded it from the App Store. > All it does for me is to allow to add a dive, with the gps coordinates. > It does not allow adding meta data or anything else and it does not display > my dives in the cloud. >

Re: Is anyone working on an iOS app?

2015-10-12 Thread Guido Lerch
Hi Miika Regards, Guido +41 79 3217739 > Am 12.10.2015 um 12:25 schrieb Miika Turkia : > >> On Mon, Oct 12, 2015 at 1:14 PM, Guido Lerch wrote: >> Hi Davide >> >> Regards, >> Guido >> +41 79 3217739 >> Am 12.10.2015 um 12:06 schrieb Davide

Swiss Translations

2015-10-12 Thread Guido Lerch
Hi Dirk, I translated over 150 string for Swiss, last master does not contain those. Any reason why? I still have about 140 more to do though. Regards, Guido +41 79 3217739 ___ subsurface mailing list subsurface@subsurface-divelog.org

Re: Is anyone working on an iOS app?

2015-10-12 Thread Guido Lerch
Hi Davide Regards, Guido +41 79 3217739 > Am 12.10.2015 um 12:06 schrieb Davide DB : > >> On Mon, Oct 12, 2015 at 11:45 AM, Guido Lerch wrote: >> Since I don't have an Android phone anymore and non of my colleagues has I >> don't know what >> the

Re: Is anyone working on an iOS app?

2015-10-12 Thread Miika Turkia
On Mon, Oct 12, 2015 at 1:47 PM, Guido Lerch wrote: > Hi Miika > > Regards, > Guido > +41 79 3217739 > >> Am 12.10.2015 um 12:25 schrieb Miika Turkia : >> >>> On Mon, Oct 12, 2015 at 1:14 PM, Guido Lerch wrote: >>> Hi Davide

Patch : fixing profile scale if zoom is selected "S"

2015-10-12 Thread Guido Lerch
I am sending this in as I believe we should consequently using the fully available scale if the users selects "S", I have not changed the other scales. This patch makes changes to the x and y scale calculations if "S" is selected. -- Best regards, Guido From

[PATCH] Planner: simplify enough_gas comparison

2015-10-12 Thread Rick Walsh
The enough_gas function is used in recreational mode to determine that the reserve gas is kept in reserve. A simple comparison of end pressure => reserve pressure should suffice. The existing/previous comparison includes deco_gas_used, double-counting the gas used in the ascent/safety stop.

Re: [PATCH] Planner: add recreational mode tooltip

2015-10-12 Thread Dirk Hohndel
This does add a new string, but it's a really good addition - and even if this stays English for people running Subsurface in their local language it's STILL a good addition. Thanks Rick, I'll take this one /D On Mon, Oct 12, 2015 at 04:19:44PM +1100, Rick Walsh wrote: > Recreational mode isn't

Re: Swiss Translations

2015-10-12 Thread Martin Gysel
Hi Guido Am 12.10.2015 um 11:00 schrieb Guido Lerch: > Hi Dirk, > I translated over 150 string for Swiss, last master does not contain those. > Any reason why? > I still have about 140 more to do though. I first started the swiss translations but at the moment lack some time do do any subsurface

[PATCH] Fix crash on empty arguments

2015-10-12 Thread sergey . starosek
From: Sergey Starosek Signed-off-by: Sergey Starosek --- main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.cpp b/main.cpp index 71a998d..d6bbbf2 100644 --- a/main.cpp +++ b/main.cpp @@ -39,6 +39,9 @@ int main(int argc,

Re: [PATCH] Fix crash on empty arguments

2015-10-12 Thread Lubomir I. Ivanov
On 12 October 2015 at 15:54, wrote: good catch! i''ve ever tried passing an empty argument e.g. "". > + if (a.isEmpty()) { > + continue; > + } could you please remove the extra "{" and "}" and resend the patch. we

Re: Swiss Translations

2015-10-12 Thread Guido Lerch
Hi Martin 2015-10-12 14:03 GMT+02:00 Martin Gysel : > Hi Guido > > Am 12.10.2015 um 11:00 schrieb Guido Lerch: > > Hi Dirk, > > I translated over 150 string for Swiss, last master does not contain > those. > > Any reason why? > > I still have about 140 more to do though. > > I

Re: Swiss Translations

2015-10-12 Thread Martin Gysel
Am 12.10.2015 um 14:36 schrieb Guido Lerch: > Hi Martin > > 2015-10-12 14:03 GMT+02:00 Martin Gysel >: > > Hi Guido > > Am 12.10.2015 um 11:00 schrieb Guido Lerch: > > Hi Dirk, > > I translated over 150 string for Swiss, last master

Re: Swiss Translations

2015-10-12 Thread Guido Lerch
Best regards, Guido Lerch m: +41 79 3217739 >> >> That would be nice, I am new and don't know all the tools yet, hence I >> switched my SSRF to German >> and then changed the Swiss translations. >> Apparently there is a faster way which I am not aware of. >> Can't we not just copy the

Re: website translation

2015-10-12 Thread Salvador Cuñat
Hi Giorgio, El 12/10/2015 14:27, "Giorgio Marzano" escribió: > > Which account am I supposed to use to login? I can't find a "create new account" option > Dirk has to create one for you to access the site and edit. Regards Salva

Re: [Subsurface-website] website translation

2015-10-12 Thread Dirk Hohndel
> On Oct 12, 2015, at 6:51 AM, Dirk Hohndel wrote: > > >> On Oct 12, 2015, at 4:06 AM, Salvador Cuñat > > wrote: >> >> Good morning. >> >> 2015-10-11 21:27 GMT+02:00 Dirk Hohndel >

Re: [PATCH] Fix crash on empty arguments

2015-10-12 Thread Lubomir I. Ivanov
On 12 October 2015 at 16:47, wrote: > From: Sergey Starosek > > Signed-off-by: Sergey Starosek > --- > main.cpp | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/main.cpp b/main.cpp > index

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 wrote: > > On 12 October, 2015 - Anton Lundin wrote: > > > >> > > > > Fyi. I sketched out approximately that dive in the planner, 30min @ 70m > > 16/60, and there is no problem calculating

Re: [Subsurface-website] website translation

2015-10-12 Thread Dirk Hohndel
> On Oct 12, 2015, at 4:06 AM, Salvador Cuñat wrote: > > Good morning. > > 2015-10-11 21:27 GMT+02:00 Dirk Hohndel >: > > Here are the quick (likely insufficient) instructions > > - log in > - go to "Pages" in the

Re: Allow replanning of logged dives

2015-10-12 Thread Davide DB
On Mon, Oct 12, 2015 at 4:00 PM, Anton Lundin wrote: > On 12 October, 2015 - Anton Lundin wrote: > >> > > Fyi. I sketched out approximately that dive in the planner, 30min @ 70m > 16/60, and there is no problem calculating the TTS on this i7-4600U > @2.10Ghz. The calculation is

[PATCH] Fix crash on empty arguments

2015-10-12 Thread sergey . starosek
From: Sergey Starosek Signed-off-by: Sergey Starosek --- main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.cpp b/main.cpp index 71a998d..f27a174 100644 --- a/main.cpp +++ b/main.cpp @@ -39,6 +39,8 @@ int main(int argc,

Re: Allow replanning of logged dives

2015-10-12 Thread Davide DB
On Mon, Oct 12, 2015 at 3:52 PM, Anton Lundin wrote: > IE during your 80m phase, you have a TTS which is enormous, because it > calculates how long it would take you to reach the surface on the gas > your currently on. > > My suggestion here is that we cap the TTS at something

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. > > > > Yea, the thing is that

Re: Allow replanning of logged dives

2015-10-12 Thread Davide DB
On Mon, Oct 12, 2015 at 4:36 PM, Anton Lundin wrote: > > > But still a upper limit of the TTS is anyhow a good idea. > I'll clobber up a patch for that unless someone else beats me to it. Thank you for your explanation and support -- Davide https://vimeo.com/bocio/videos

Re: Swiss Translations

2015-10-12 Thread Joakim Bygdell
> On 12 Oct 2015, at 18:51, Dirk Hohndel wrote: > > One thing that I could do is fill all the missing strings with the strings > from German (without overwriting the existing Swiss German strings). > This creates a fairly complete translation, but the downside is that you >

Re: Swiss Translations

2015-10-12 Thread Dirk Hohndel
On Mon, Oct 12, 2015 at 02:03:28PM +0200, Martin Gysel wrote: > Hi Guido > > Am 12.10.2015 um 11:00 schrieb Guido Lerch: > > Hi Dirk, > > I translated over 150 string for Swiss, last master does not contain those. > > Any reason why? > > I still have about 140 more to do though. > > I first

Re: Swiss Translations

2015-10-12 Thread Dirk Hohndel
On Mon, Oct 12, 2015 at 07:34:44PM +0200, Guido Lerch wrote: > >> > >> Would that be useful? Or would that make it harder? > > > > Why don’t you make use of Transifex review functionality. > > Mark everything translated already as "reviewed", import the german > > translations as “translated”

Re: Is anyone working on an iOS app?

2015-10-12 Thread Guido Lerch
Hi Dirk I didn't want to hurt anyone's feelings. I just asked and volunteered to spend time on this. More below Regards, Guido +41 79 3217739 > Am 12.10.2015 um 19:05 schrieb Dirk Hohndel : > > On Mon, Oct 12, 2015 at 01:56:49PM +0300, Miika Turkia wrote: >>> Does that mean

Re: Swiss Translations

2015-10-12 Thread Guido Lerch
Regards, Guido +41 79 3217739 > Am 12.10.2015 um 19:03 schrieb Joakim Bygdell : > > >> On 12 Oct 2015, at 18:51, Dirk Hohndel wrote: >> >> One thing that I could do is fill all the missing strings with the strings >> from German (without overwriting

Re: Is anyone working on an iOS app?

2015-10-12 Thread Dirk Hohndel
On Mon, Oct 12, 2015 at 07:32:19PM +0200, Guido Lerch wrote: > Hi Dirk > > I didn't want to hurt anyone's feelings. You didn't hurt anyone's feelings. At least you didn't hurt mine. > I just asked and volunteered to spend time on this. Yay :-) > > Am 12.10.2015 um 19:05 schrieb Dirk Hohndel

Re: Is anyone working on an iOS app?

2015-10-12 Thread Dirk Hohndel
On Mon, Oct 12, 2015 at 01:56:49PM +0300, Miika Turkia wrote: > > Does that mean that the dives I imported from my computer will never make > > it into the iOS app? It sounds like as the workflow is > > Log in iOS with gps > > Sync with ssrf > > Add meta data > > This is what we currently have.

Re: new website - or "jet lag is good"

2015-10-12 Thread Dirk Hohndel
On Sun, Oct 11, 2015 at 09:33:22PM +0200, Robert C. Helling wrote: > > > > The reality is that a lot of people consume the web on iPads and not > > on desktops and that changes some of the underlying ideas of what you > > can show and how you should show it. Less visual clutter is the main > >

Re: Swiss Translations

2015-10-12 Thread Dirk Hohndel
On Mon, Oct 12, 2015 at 10:07:29AM -0700, Dirk Hohndel wrote: > > > One thing that I could do is fill all the missing strings with the strings > > > from German (without overwriting the existing Swiss German strings). > > > This creates a fairly complete translation, but the downside is that you >

Re: Is anyone working on an iOS app?

2015-10-12 Thread Guido Lerch
>> > > Which is a TON of work. This should be WAY easier and, as added benefit, > should give us two consistent mobile apps that will benefit from any work > done on the UI for one as it should cleanly translate to the other. That's > the whole idea behind doing a QML UI instead of a native UI

[PATCH] Re: Dive planner oddities

2015-10-12 Thread Robert C. Helling
Hi,On 12 Oct 2015, at 09:21, Sergey Starosek wrote:Robert, Rick,On Sun, Oct 11, 2015 at 10:44 PM, Rick Walsh wrote:The cylinder pressure graph should start to flatten when starting ascent.  Assuming a constant SAC, gas consumption varies with

Re: Is anyone working on an iOS app?

2015-10-12 Thread Lubomir I. Ivanov
On 12 October 2015 at 22:20, Guido Lerch wrote: > > Forgot ... > Which of the Android components for QT do I need to install ? > > i think it installs different compiler toolchains depending on the picks you make there. what devices are you going to test this on?

Updates to user manual: need for help

2015-10-12 Thread Willem Ferguson
I have done the most important changes needed to the manual. But I am convinced there are many inadequacies. If you know of any issue, please let me know ! One issue that I noticed is that the image for a Facebook connection still contains a fb icon on the bottom right of the notes panel. This

Re: Updates to user manual: need for help

2015-10-12 Thread Dirk Hohndel
On Mon, Oct 12, 2015 at 09:55:14PM +0200, Willem Ferguson wrote: > I have done the most important changes needed to the manual. But I am > convinced there are many inadequacies. If you know of any issue, please let > me know ! > > One issue that I noticed is that the image for a Facebook

[PATCH] Re: Allow replanning of logged dives

2015-10-12 Thread Robert C. Helling
Hi,On 12 Oct 2015, at 16:36, Anton Lundin wrote:But still a upper limit of the TTS is anyhow a good idea.I'll clobber up a patch for that unless someone else beats me to it.here is my attempt at that. From 53982c6d9c29676611292d29eed3ccdb4df661bd Mon Sep 17 00:00:00 2001 From:

Adding image management

2015-10-12 Thread Guido Lerch
Sorry but I felt I need to do this after I added images to my dives - I love this feature!!! This patch set is not complete and needs more testing but I wanted to throw this out for feedback. I keep on testing as I did not test this fully. What it should do is to allow the user to point to a

Image management checks

2015-10-12 Thread Guido Lerch
Adding some check's -- Best regards, Guido From 3ee7ed771af499328c2414cabf342caa20345a5b Mon Sep 17 00:00:00 2001 From: Guido Lerch Date: Tue, 13 Oct 2015 00:59:05 +0200 Subject: [PATCH 3/4] Adding image management checks Some checks and balances, making sure we have a

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

2015-10-12 Thread Dirk Hohndel
On Mon, Oct 12, 2015 at 11:16:09PM +0200, Robert C. Helling wrote: > Hi, > > > On 12 Oct 2015, at 16:36, Anton Lundin wrote: > > > > But still a upper limit of the TTS is anyhow a good idea. > > I'll clobber up a patch for that unless someone else beats me to it. > > > >

[PATCH] Parse html links in the Notes section.

2015-10-12 Thread K. "pestophagous" Heller
In the spirit of "Do the simplest thing that could possibly work": capture Ctrl+leftclick mouse events in the Notes area. If the string under the clicked position is a valid url, then launch it. Many common URI schemes will work. Typing a url that starts with https:// will work. So will mailto: