Re: Cylinder vs. tank -

2017-11-28 Thread Tim Wootton
On 28/11/17 20:18, Bill Perry wrote: > It appears that Wikipedia pushes the term "Diving Cylinder" > https://en.wikipedia.org/wiki/Diving_cylinder > And in their terminology section, they say: > > "The term "diving cylinder" tends to be used by gas equipment engineers, > manufacturers, support

Re: Cylinder vs. tank -

2017-11-28 Thread Tim Wootton
Gas pressure or Gas press. +1 ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: Cylinder vs. tank -

2017-11-27 Thread Tim Wootton
On 28/11/17 06:52, Martin Měřinský wrote: > Hi. > >> we really usually use "Cylinder" and only in 6 strings use "Tank". >> Shall we change EVERYTHING to "cylinder" or sometimes "cyl." (which >> we have already)? >> Would also mean the "Tank bar" becomes the "Cylinder bar"... Actually the

one word - two words again

2017-03-12 Thread Tim Wootton
Hi All, I was just going through the latest translations and came across "Safetystop". I would write it as "Safety stop", anyone else agree? cheers, Tim ___ subsurface mailing list subsurface@subsurface-divelog.org

Re: Translations

2017-02-20 Thread Tim Wootton
On 20/02/17 14:20, Stefan Fuchs wrote: > > Hello Tim, > > Am 20.02.2017 um 14:52 schrieb Tim Wootton: >> >> >> The Subsurface CodingStyle file provides this guidance for these >> situations: >> >> Only the first word of multi-word text strings

Re: Translations

2017-02-20 Thread Tim Wootton
pthvalue, depth_unit); >> >> put_format(b, translate("gettextFromC", "Tissue >> %.0fmin: %.1f%s\n"), buehlmann_N2_t_halflife[k], depthvalue, depth_unit); >> >> put_format(b, translate("gettextFromC", "heartbeat

Re: Translations

2017-02-20 Thread Tim Wootton
The Subsurface CodingStyle file provides this guidance for these situations: Only the first word of multi-word text strings should be captalized unless a word would normally be capitalized mid-sentance, like Africa. This applies to all UI text including menus, menu items, tool-tips,

Re: 4.6 Beta 1

2016-12-13 Thread Tim Wootton
On 13 December 2016 15:59:55 GMT+00:00, Dirk Hohndel wrote: > >> On Dec 13, 2016, at 2:41 AM, Miika Turkia >wrote: >> >> Installing subsurface to yakkety requires me to install also the >> following dependencies. I really dislike the idea of

Re: Transifex

2016-12-13 Thread Tim Wootton
Same for UK English On 13 December 2016 10:54:32 GMT+00:00, Pedro Neves wrote: >Dirk: > >Despite having translated all new strings to Pt, Transifex still says >that there are 2 untranslated strings (which don't show up when I >select >"Untranslated"). Ignore? > >Cheers:

[FIXED PATCH] Adds Cylinder helper class for cylinder info access in grantlee templates

2016-07-31 Thread Tim Wootton
}} {{ cylinderObject.endPressure }} {{ cylinderObject.gasMix }} {% endfor %} Signed-off-by: Tim Wootton <t...@tee-jay.org.uk> --- core/CMakeLists.txt | 1 + core/subsurface-qt/CylinderObjectHelper.cp

Re: [PATCH] Adds Cylinder helper class for cylinder info access in grantlee templates

2016-07-31 Thread Tim Wootton
On 31/07/16 18:12, Dirk Hohndel wrote: > This looks interesting - can you also add a Grantlee template that uses > this? I'm working on one, just not quite ready yet. > And please incorporate the small suggestion that Tomaz posted. Will do ___

Re: [PATCH] Adds Cylinder helper class for cylinder info access in grantlee templates

2016-07-31 Thread Tim Wootton
On 31/07/16 19:26, Lubomir I. Ivanov wrote: > On 31 July 2016 at 21:24, Lubomir I. Ivanov <neolit...@gmail.com> wrote: >> On 31 July 2016 at 01:25, Tim Wootton <t...@tee-jay.org.uk> wrote: >>> to allow grantlee to access individual fields of the cylinder_t s

[PATCH] Adds Cylinder helper class for cylinder info access in grantlee templates

2016-07-30 Thread Tim Wootton
to allow grantlee to access individual fields of the cylinder_t struct rather than a string representation of the whole cylinder info Signed-off-by: Tim Wootton <t...@tee-jay.org.uk> --- core/CMakeLists.txt | 1 + core/subsurface-qt/DiveObjectHelper.cp

please ignore last patch, corrected one to follow

2016-07-18 Thread Tim Wootton
___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

[PATCH] Only add non-blank weights to the weight list

2016-07-18 Thread Tim Wootton
Signed-off-by: Tim Wootton <t...@tee-jay.org.uk> --- core/subsurface-qt/DiveObjectHelper.cpp | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp index e71b076..89d87d5 100644 ---

[PATCH] Only add non-blank cylinder strings to the cylinder list

2016-07-18 Thread Tim Wootton
Signed-off-by: Tim Wootton <t...@tee-jay.org.uk> --- core/subsurface-qt/DiveObjectHelper.cpp | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp index 1c7621e..c246a12 100644 ---

[PATCH] Let cns and otu return ints rather than QStrings so they display correctly when accessed from grantlee template Fixes #1085

2016-07-18 Thread Tim Wootton
Signed-off-by: Tim Wootton <t...@tee-jay.org.uk> --- core/subsurface-qt/DiveObjectHelper.cpp | 8 core/subsurface-qt/DiveObjectHelper.h | 8 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurf

[PATCH] Adds missing visibility to DiveObjectHelper, so it too can be used in print templates.

2016-07-16 Thread Tim Wootton
Signed-off-by: Tim Wootton <t...@tee-jay.org.uk> --- core/subsurface-qt/DiveObjectHelper.cpp | 5 + core/subsurface-qt/DiveObjectHelper.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp index e

Re: DNBFS on Debian Jessie

2016-07-13 Thread Tim Wootton
On 12/07/16 23:21, Tim Wootton wrote: > On 12/07/16 06:11, Tomaz Canabrava wrote: >> probably the subsurface app works and was already compiled. > Sadly not, it's built libdivecomputer,grantlee & marble and then this > happens, didn't make it as far as a linked subsurface. >

Re: DNBFS on Debian Jessie

2016-07-12 Thread Tim Wootton
he qt core (but I don't have my computer at hand to check) > > Tomaz > > Em 11 de jul de 2016 20:09, "Tim Wootton" <t...@tee-jay.org.uk > <mailto:t...@tee-jay.org.uk>> escreveu: > > Hi all, > > has anyone built from source on Debian Je

DNBFS on Debian Jessie

2016-07-11 Thread Tim Wootton
Hi all, has anyone built from source on Debian Jessie lately? I just tried from a fresh clone, and get: ~/code/subsurface/src/subsurface/build/tests/qrc_subsurface.cpp:9:28: fatal error: QtCore/qglobal.h: No such file or directory #include ^ compilation terminated. all the

[PATCH] Updates copyright date on about dialog

2016-06-29 Thread Tim Wootton
Signed-off-by: Tim Wootton <t...@tee-jay.org.uk> --- qt-ui/about.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt-ui/about.cpp b/qt-ui/about.cpp index 73db74b..260ade5 100644 --- a/qt-ui/about.cpp +++ b/qt-ui/about.cpp @@ -15,7 +15,7 @@ SubsurfaceAbout::Subsurfac

Re: Developing and Deploying devices

2016-04-14 Thread Tim Wootton
On 14/04/16 07:05, Jeroen Massar wrote: > On 2016-04-14 07:54, Tim Wootton wrote: >> On 12/04/16 15:58, Dirk Hohndel wrote: > [..] >> The disadvantage is that a full image download is needed for each >> upgrade, which provides an intensive to make it as minimal as possib

Re: Developing and Deploying devices

2016-04-13 Thread Tim Wootton
On 12/04/16 15:58, Dirk Hohndel wrote: > > Seriously, we need to very very very clearly separate two user groups: > > A) people who are comfortable installing debian on some random device > and making all this work > B) actual divers and users of Subsurface-mobile on their iPhone with no >

Re: Advanced alternative to cloud storage in Subsurface mobile

2016-02-19 Thread Tim Wootton
On 19/02/16 17:13, Dirk Hohndel wrote: > Subsurface is open source - you all are capable of building your own APK > with whatever features you desire. If you decide to make such APKs > publicly available (be it as download or through the play store) I > politely request that they are NOT called

Re: Advanced alternative to cloud storage in Subsurface mobile

2016-02-18 Thread Tim Wootton
On 18/02/16 15:18, Dirk Hohndel wrote: > On Thu, Feb 18, 2016 at 03:13:56PM +0100, Anton Lundin wrote: >> Hi. >> >> I was thinking about adding a "advanced settings" to the cloud storage >> credentials screen, were one could point the app to a local xml file, or >> a local git repo. That way one

Re: Translations

2015-10-04 Thread Tim Wootton
Transifex support reckon string 584 is the offending item, but I'm not sure exactly what needs to be done to fix it. cheers, Tim On 04/10/15 16:52, Dirk Hohndel wrote: > Hello dear translators. > > I am amazed how many languages are nearly complete (apparently 99% is now > complete - I have

Re: Translations

2015-10-04 Thread Tim Wootton
On 04/10/15 22:43, Lubomir I. Ivanov wrote: > On 5 October 2015 at 00:05, Tim Wootton <t...@tee-jay.org.uk> wrote: >> Transifex support reckon string 584 is the offending item, but I'm not >> sure exactly what needs to be done to fix it. >> > quite

Re: [PATCH 2/3] Changes to bring pO2 representation in line with CodingStyle

2015-09-05 Thread Tim Wootton
out, changes file format my bad, should have thought of backward compatibility > > So I'll skip this one entirely, not just the file format changes. fair enough > > /D > > On Fri, Sep 04, 2015 at 11:25:34PM +0100, Tim Wootton wrote: >> Signed-off-

[PATCH 3/3] More style and readability changes Changes to capitalisation to comply with coding style Changes to make some blocks of english sound a bit better

2015-09-04 Thread Tim Wootton
Signed-off-by: Tim Wootton <t...@tee-jay.org.uk> --- qt-ui/configuredivecomputerdialog.ui | 12 ++-- qt-ui/divelogexportdialog.cpp| 2 +- qt-ui/downloadfromdivecomputer.cpp | 2 +- qt-ui/downloadfromdivecomputer.ui| 2 +- qt-ui/mainwindow.cpp

[PATCH 1/3] Style and readability tweaks to btdeviceselectiondialog

2015-09-04 Thread Tim Wootton
Signed-off-by: Tim Wootton <t...@tee-jay.org.uk> --- qt-ui/btdeviceselectiondialog.cpp | 10 +- qt-ui/btdeviceselectiondialog.ui | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/qt-ui/btdeviceselectiondialog.cpp b/qt-ui/btdeviceselectiondialog.cpp index a

[PATCH 2/3] Changes to bring pO2 representation in line with CodingStyle

2015-09-04 Thread Tim Wootton
Signed-off-by: Tim Wootton <t...@tee-jay.org.uk> --- configuredivecomputer.cpp | 14 +++--- configuredivecomputerthreads.cpp | 28 ++-- devicedetails.cpp | 6 +++--- devicedetails.h | 6 +++---

[PATCH 2/2] Capitalistion of GPS

2015-09-04 Thread Tim Wootton
Signed-off-by: Tim Wootton <t...@tee-jay.org.uk> --- parse-xml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parse-xml.c b/parse-xml.c index 3230154..c4b6d34 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -1086,7 +1086,7 @@ static int uddf_dive_match(struct dive

[PATCH 1/2] Style & spelling changes to printing

2015-09-04 Thread Tim Wootton
Signed-off-by: Tim Wootton <t...@tee-jay.org.uk> --- qt-ui/printoptions.cpp | 4 ++-- qt-ui/templateedit.ui | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/qt-ui/printoptions.cpp b/qt-ui/printoptions.cpp index cb944f9..f976567 100644 --- a/qt-ui/printoptions.cpp ++

[PATCH 1/3] Typos, punctuation and capitalisation.

2015-01-25 Thread Tim Wootton
Signed-off-by: Tim Wootton t...@tee-jay.demon.co.uk --- qt-ui/divelogimportdialog.cpp | 4 ++-- qt-ui/downloadfromdivecomputer.ui | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qt-ui/divelogimportdialog.cpp b/qt-ui/divelogimportdialog.cpp index 1b37258..26b6b2d 100644

[PATCH 2/3] Heartrate sounds better than heart beat

2015-01-25 Thread Tim Wootton
Signed-off-by: Tim Wootton t...@tee-jay.demon.co.uk --- qt-ui/profile/diveplotdatamodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt-ui/profile/diveplotdatamodel.cpp b/qt-ui/profile/diveplotdatamodel.cpp index cdf17fe..a4d1a90 100644 --- a/qt-ui/profile

Re: [PATCH] Modification to the User Survey UI

2014-12-16 Thread Tim Wootton
On 16/12/14 17:12, Nikhil Bharadwaj wrote: Dirk, Tomaz, I have a small suggestion for you. Can you have a button in one of the dropdown menus which opens the user survey form. As of now the user survey opens automatically, and once if you press cancel and never, the user can never again

Re: [PATCH] Modification to the User Survey UI

2014-12-16 Thread Tim Wootton
On 16/12/14 17:41, Tomaz Canabrava wrote: On Tue, Dec 16, 2014 at 3:36 PM, Tim Wootton t...@tee-jay.demon.co.uk mailto:t...@tee-jay.demon.co.uk wrote: On 16/12/14 17:12, Nikhil Bharadwaj wrote: Dirk, Tomaz, I have a small suggestion for you. Can you have a button in one

Re: [PATCH] Modification to the User Survey UI

2014-12-16 Thread Tim Wootton
On 16/12/14 18:08, Tomaz Canabrava wrote: On Tue, Dec 16, 2014 at 4:05 PM, Tim Wootton t...@tee-jay.demon.co.uk mailto:t...@tee-jay.demon.co.uk wrote: Does windows not allow cmdline args an more? parse_argument seems to have windows specific args in the list. it does have, what

Re: Debian, Fedora, OpenSUSE people...

2014-12-15 Thread Tim Wootton
On 15/12/14 07:21, Dirk Hohndel wrote: So how would I try this. I know, stupid question... but what's the repo name that I would give to a clean Debian install to test, say, the trusty PPA? Is this of any help? http://www.webupd8.org/2014/10/how-to-add-launchpad-ppas-in-debian-via.html

Re: [PATCH 1/5] Consistent representation of O₂

2014-11-25 Thread Tim Wootton
On 25/11/14 15:34, Dirk Hohndel wrote: Not sure what happened here, but look at the patch included below. Unsurprisingly, git didn't like that very much. Can you check if there's something odd going on with your encoding settings? I have never had problems like this with patches from you

[PATCH 1/5] Consistent representation of O₂

2014-11-25 Thread Tim Wootton
Signed-off-by: Tim Wootton t...@tee-jay.demon.co.uk --- qt-ui/configuredivecomputerdialog.ui | 18 +- qt-ui/divelogimportdialog.ui | 2 +- qt-ui/models.cpp | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/libdivecomputer.c b

Re: [PATCH 1/5] Consistent representation of O₂

2014-11-25 Thread Tim Wootton
On 25/11/14 15:36, Dirk Hohndel wrote: On Tue, Nov 25, 2014 at 07:34:49AM -0800, Dirk Hohndel wrote: Not sure what happened here, but look at the patch included below. Unsurprisingly, git didn't like that very much. Can you check if there's something odd going on with your encoding settings? I

[PATCH 5/5] Corrected diveplan as it's dive plan everywhere else in planner

2014-11-24 Thread Tim Wootton
Signed-off-by: Tim Wootton t...@tee-jay.demon.co.uk --- qt-ui/plannerSettings.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt-ui/plannerSettings.ui b/qt-ui/plannerSettings.ui index 3e323eb..f99be98 100644 --- a/qt-ui/plannerSettings.ui

[PATCH 4/5] More O₂

2014-11-24 Thread Tim Wootton
Signed-off-by: Tim Wootton t...@tee-jay.demon.co.uk --- file.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/file.c b/file.c index 07774b1..f6b415e 100644 --- a/file.c +++ b/file.c @@ -679,9 +679,9 @@ int

[PATCH 1/5] Consistent representation of O₂

2014-11-24 Thread Tim Wootton
Signed-off-by: Tim Wootton t...@tee-jay.demon.co.uk --- qt-ui/configuredivecomputerdialog.ui | 18 +- qt-ui/divelogimportdialog.ui | 2 +- qt-ui/models.cpp | 2 +- 5 files changed, 14 insertions(+), 14

Re: [PATCH 1/3] Support American date format on manual CSV import

2014-11-24 Thread Tim Wootton
On 25/11/14 05:31, Thiago Macieira wrote: On Tuesday 25 November 2014 06:26:06 Miika Turkia wrote: On Tue, Nov 25, 2014 at 1:08 AM, Davide DB dbdav...@gmail.com wrote: If I correctly understand the problem here is that the CSV file could have a different locale respect the Subsurface hosting