Re: Update cylinder table in planner after planner points changed - small help needed

2017-03-13 Thread Stefan Fuchs
Hi Robert, Am 12.03.2017 um 22:38 schrieb Robert Helling: > >> On 12 Mar 2017, at 20:51, Stefan Fuchs > > wrote: >> >> The trash/trashforbidden icons should be updated immediately after >> one changes the planner points and in this way "utilizes" or "frees" >> a gas. >> For m

[PATCH] Planner: ascent and descent rates should be rounded rather than truncated

2017-03-13 Thread Rick Walsh
As reported on the mailing list, the ascent/descent rates are sometimes not what is expected. E.g. setting the ascent rate to 10m/min results in an actual ascent rate of 9m/min. This is due to truncating the ascent rate preference, then effectively rounding up the time to reach each stop to 2s int

Re: Diveplanner questions

2017-03-13 Thread Rick Walsh
On 10 March 2017 at 19:34, Anton Lundin wrote: > On 10 March, 2017 - Anton Lundin wrote: > > > On 09 March, 2017 - John Smith wrote: > > > > > I am playing with the planner and have a few questions, hopefully > showing my lack of knowledge rather than bugs [😊] > > > > > > > > > I have 4.6.3.36 ru

Re: direct import form dive computer

2017-03-13 Thread Jef Driesen
On 2017-03-12 18:52, Alessandro Volpi wrote: I apologize for not having actually loaded the subdirectory galileo_trimix_import on my Dropbox folder. The Galileo data download was executed on a laptop computer. The Ubuntu trusty system is not set up so that it automatically starts the Dropbox sy

Re: direct import form dive computer

2017-03-13 Thread Willem Ferguson
>From phone. Alessandro, you need to know whether the Smartek does only serial infrared (SIR) or fast infrared (FIR). Then you need to understand whether your Linux driver does any or both of these speeds. Maybe it is a speed issue? If I remember correctly, the Linux driver I use allows speed sele

Re: direct import form dive computer

2017-03-13 Thread Pedro Neves
On 13-03-2017 10:52, Willem Ferguson wrote: From phone. Alessandro, you need to know whether the Smartek does only serial infrared (SIR) or fast infrared (FIR). Then you need to understand whether your Linux driver does any or both of these speeds. Maybe it is a speed issue? If I remember corr

Re: question about technical terms and translations

2017-03-13 Thread Paul-Erik Törrönen
On 2017-03-07 06:47, Miika Turkia wrote: I am quite sure it depends on the language. I.e. divelog and divespot I would translate, but MOD, END and setpoint I would not, unless someone who is familiar with Finnish diving vocabulary tells me what they actually should be. Just a belated confirmat

Re: WIP - Tabbs rework

2017-03-13 Thread Tomaz Canabrava
On Sun, Mar 12, 2017 at 11:41 PM, Dirk Hohndel wrote: > Hi Tomaz, > > It's great to see that you are working on things! I had assumed that I'd > have more time this weekend to work on things, but it turned out I got > side tracked with all the pull requests and with fixing the unit system > chang

Re: [PATCH] Planner: ascent and descent rates should be rounded rather than truncated

2017-03-13 Thread Linus Torvalds
On Mon, Mar 13, 2017 at 12:35 AM, Rick Walsh wrote: > > void PlannerSettingsWidget::setAscRate75(int rate) > { > - > SettingsObjectWrapper::instance()->planner_settings->setAscrate75(rate * > UNIT_FACTOR); > + > SettingsObjectWrapper::instance()->planner_settings->setAscrate75(rat

Re: Minor formatting comments

2017-03-13 Thread John Smith
Well that's where it needs a community decision. My view is that we should use GF Hi and GF Lo as that is how they are described in Erik Baker's papers. As for units, the original paper used 0-1 whereas common use , and in subsurface, is 0-100. I would add % to the preferences comment. Sent fr

Re: [PATCH] Planner: ascent and descent rates should be rounded rather than truncated

2017-03-13 Thread Dirk Hohndel
On Mon, Mar 13, 2017 at 09:07:31AM -0700, Linus Torvalds wrote: > On Mon, Mar 13, 2017 at 12:35 AM, Rick Walsh wrote: > > > > void PlannerSettingsWidget::setAscRate75(int rate) > > { > > - > > SettingsObjectWrapper::instance()->planner_settings->setAscrate75(rate * > > UNIT_FACTOR); > >

Re: WIP - Tabbs rework

2017-03-13 Thread Dirk Hohndel
On Mon, Mar 13, 2017 at 02:19:14PM +0100, Tomaz Canabrava wrote: > > The current code holds 6 tabs with all of the logic for saving / updating > restoring a dive, a trip, an dive plan, copy/pasting, etc. all this in one > file. Yep. > This series tries to rework a few things: > - Each tab has it

Re: [PATCH] Planner: ascent and descent rates should be rounded rather than truncated

2017-03-13 Thread Jérémie Guichard
Ho! I didn't realized I used the -Wfloat-conversion on C code only and not C++ when I did my previous round of float/double to int patch! Looking into that now. There is a bunch of new warnings adding the flag but seems (at first look) to be managable. Working on the patch right now... 2017-03-1

Re: [PATCH] Planner: ascent and descent rates should be rounded rather than truncated

2017-03-13 Thread Linus Torvalds
On Mon, Mar 13, 2017 at 11:29 AM, Jérémie Guichard wrote: > > Looking into that now. There is a bunch of new warnings adding the flag but > seems (at first look) to be managable. Yeah, I was afraid there would be some infrastructure stuff, but it all looks like our source. > Working on the patch

Re: direct import form dive computer

2017-03-13 Thread Alessandro Volpi
Dear Jef, after downloading dctool.exe, I have tried to run it with command dctool.exe -v -l smart.log -f smart dump -o smart.bin and I have got an error message "dctool.exe: unknown option --o". I have also tried with command dctool.exe dump -v -l smart.log -f smart dump -o smart.bin ; the erro

Re: direct import form dive computer

2017-03-13 Thread Alessandro Volpi
Dear Willem, I am pretty sure that the MCS7780 (the standard UWATEC IR adapter) is a FIR device. lsusb lists the device as : Bus 001 Device 008: ID 9710:7780 MosChip Semiconductor MCS7780 4Mbps Fast IrDA Adapter The content of file /proc/sys/net/irda/max_baud_rate is "1600" . A 16 M baud rat

Re: [PATCH] Planner: ascent and descent rates should be rounded rather than truncated

2017-03-13 Thread Jérémie Guichard
Pull request ready :) https://github.com/Subsurface-divelog/subsurface/pull/254 2017-03-14 2:00 GMT+07:00 Linus Torvalds : > On Mon, Mar 13, 2017 at 11:29 AM, Jérémie Guichard > wrote: > > > > Looking into that now. There is a bunch of new warnings adding the flag > but > > seems (at first look

Re: [PATCH] Planner: ascent and descent rates should be rounded rather than truncated

2017-03-13 Thread Rick Walsh
On 14 Mar 2017 5:29 AM, "Jérémie Guichard" wrote: Ho! I didn't realized I used the -Wfloat-conversion on C code only and not C++ when I did my previous round of float/double to int patch! Looking into that now. There is a bunch of new warnings adding the flag but seems (at first look) to be mana

Re: question about technical terms and translations

2017-03-13 Thread Davide DB
In Italy it's a mess (like a lot of other matters). In Italy usually we do not translate most of the IT terms (even if there is a perfect Italian term). File is file and a computer is a computer. We tend to leave untranslated technical diving terms too. Of course there is some local diving agency

Re: Minor formatting comments

2017-03-13 Thread Davide DB
BTW I'm realizing that a lot of new untranslated strings differs only for a space, a comma, a period from existing strings. Is there a way to avoid all of this? GFLow GFlow GF Low GF low Always show ppO2 Always show pO2 Calculated using Bottom pOâ‚‚ preference. Setting MOD adjusts Oâ‚‚%, set to '*'

website - new slider

2017-03-13 Thread Dirk Hohndel
I added something that I wanted to add ages ago and then forgot about (apparently): a fifth "slider" with the Subsurface-mobile logo as well as an Android and an iOS icon. I added this for all languages, but the text should be translated - please send me pull requests or simply the translatio

Re: website - new slider

2017-03-13 Thread Martin de Weger
Dutch Met vriendelijke groeten, Martin de Weger E: mar...@reef-it.nl T: + 31 6 10 48 63 58 (tel:+%2031%206%2010%2048%2063%2058) On 13 mrt. 2017 23:56 +0100, Dirk Hohndel , wrote: > > I added something that I wanted to add ages ago and then forgot about > (apparently): > a fifth "slider" with th

Re: Minor formatting comments

2017-03-13 Thread Davide DB
Add setpoint change Add set-point change New setpoint (0 for OC) New set-point (0 for OC) Temp.(%1%2) Temp(%1%2) On 13 March 2017 at 23:56, Davide DB wrote: > BTW I'm realizing that a lot of new untranslated strings differs only for > a space, a comma, a period from existing strings. > Is ther

Fwd: direct import form dive computer

2017-03-13 Thread Alessandro Volpi
I have tried once again to obtain the SmartTec memory dump with dctool.exe, on the WXP VM . VirtualBox was running on my Ubuntu trusty laptop. The command was THE RIGHT ONE, as suggested by Jef : "dctool.exe -v -l smart.log -f smart dump -o smart.bin" ; the failed trials described in my previous