[PATCH] User manual: lets try to be consistent with import/export headers

2015-01-29 Thread Krzysztof Arentowicz
User manual: lets try to be consistent with import/export headers changing Appendix B/C headers to follow the same wording. also changed appendix title as using the same word twice in the same line just doesn't look right to me. Signed-off-by: Krzysztof Arentowicz --- Documentation/user-manual.

Re: Any qmake experts out there?

2015-01-29 Thread Lubomir I. Ivanov
here is my progress in a single patch if someone is interested. i'm CCing Thiago, because maybe he can help with a qmake issue. basically i have the same setup that this patch applies in a test project: - the version_h rule is generated in a .pro (.pri) file - the rule simply calls a script that

Re: Multiple tanks from divelogs

2015-01-29 Thread Rainer Mohr
Hi Miika, Am 29.01.15 um 20:45 schrieb Miika Turkia: How about leave it as it is, but extend the decision by differing start- and endpressures? So a tank is used if EITHER there is a gas switch in the data OR the start and end pressures differ by say at least 5 bar. All oth

Re: CSV import crash

2015-01-29 Thread Dirk Hohndel
On Thu, Jan 29, 2015 at 12:44:58PM -0800, Dirk Hohndel wrote: > On Thu, Jan 29, 2015 at 08:47:30PM +0100, Robert Helling wrote: > > Hi, > > > > > On 29 Jan 2015, at 20:01, Dirk Hohndel > > > wrote: > > > > > > And it doesn't crash on my Mac, either. > > > > > > Can you

Re: Thinking about a dive site "schema"

2015-01-29 Thread Dirk Hohndel
On Thu, Jan 29, 2015 at 09:17:00PM +0100, Henrik Brautaset Aronsen wrote: > > The thing to note here is that it works for *you*. And that's great! > But I believe that we should provide a user interface that doesn't > restrict our users. Oh wow. I'd say that went really well. To sum up (and to

Re: CSV import crash

2015-01-29 Thread Dirk Hohndel
On Thu, Jan 29, 2015 at 08:47:30PM +0100, Robert Helling wrote: > Hi, > > > On 29 Jan 2015, at 20:01, Dirk Hohndel > > wrote: > > > > And it doesn't crash on my Mac, either. > > > > Can you give more data? Which git version of Subsurface? How did you build > > it (i.e.,

Re: Thinking about a dive site "schema"

2015-01-29 Thread Robert Helling
Hi, > On 29 Jan 2015, at 17:49, Dirk Hohndel wrote: > > GPS coordinates > Site name (= (part of) our location string?) > Description > Local notes > > The first two are mandatory. If you don't have a name and GPS coordinates, > you don't have an entry in this data base. > > Based on what some

Re: Thinking about a dive site "schema"

2015-01-29 Thread Henrik Brautaset Aronsen
> On 29 Jan 2015, at 21:10, Linus Torvalds > wrote: > > On Thu, Jan 29, 2015 at 11:58 AM, Henrik Brautaset Aronsen > wrote: >> >> It works in other dive software. Quite well, actually. > > It really doesn't. How should I put this? Yes, it does. Really. I've used several. We can contin

Re: Thinking about a dive site "schema"

2015-01-29 Thread Linus Torvalds
On Thu, Jan 29, 2015 at 12:10 PM, Linus Torvalds wrote: > > Having the android companion app and just leaving it running, and > letting subsurface just pick up the gps locations automatically really > makes a big difference. Btw, I don't know if you've used it, but it already works pretty well. B

Re: Thinking about a dive site "schema"

2015-01-29 Thread Linus Torvalds
On Thu, Jan 29, 2015 at 11:58 AM, Henrik Brautaset Aronsen wrote: > > It works in other dive software. Quite well, actually. It really doesn't. They generally don't have maps as a first-class interface, and I've seen some very nasty nasty dive logs with random interfaces, and people filling out

Re: Need help on replete

2015-01-29 Thread Robert Helling
On 29 Jan 2015, at 19:29, Dirk Hohndel wrote:So what we need is a mode where it does the replottingsimply based on the existing displayed_dive?I guess, yes. If I comment out the replot, the value from displayed dive is picket up fine. It is just that its effect on deco only becom

Re: CSV import crash

2015-01-29 Thread Tomaz Canabrava
On Thu, Jan 29, 2015 at 5:47 PM, Robert Helling wrote: > Hi, > > On 29 Jan 2015, at 20:01, Dirk Hohndel wrote: > > And it doesn't crash on my Mac, either. > > Can you give more data? Which git version of Subsurface? How did you build > it (i.e., which Qt, what tool chain)? Can you reproduce this

Re: Thinking about a dive site "schema"

2015-01-29 Thread Henrik Brautaset Aronsen
On 29 Jan 2015, at 19:13, Linus Torvalds wrote: > > On Thu, Jan 29, 2015 at 9:04 AM, Henrik Brautaset Aronsen > wrote: >> >>> The first two are mandatory. If you don't have a name and GPS coordinates, >>> you don't have an entry in this data base. >> >> I disagree to this. It has happened to

Re: CSV import crash

2015-01-29 Thread Robert Helling
Hi, > On 29 Jan 2015, at 20:01, Dirk Hohndel > wrote: > > And it doesn't crash on my Mac, either. > > Can you give more data? Which git version of Subsurface? How did you build > it (i.e., which Qt, what tool chain)? Can you reproduce this with the > daily binaries from

Re: Multiple tanks from divelogs

2015-01-29 Thread Miika Turkia
On Thu, Jan 29, 2015 at 9:36 PM, Rainer Mohr wrote: > > Am 28.01.15 um 18:33 schrieb Dirk Hohndel: > >> If I knew of a solution that works, I'd have implemented it a long time >> ago. >> >> I guess we could change our logic like this: >> >> - get rid of the "show unused cylinders" thing >> - on d

Re: Multiple tanks from divelogs

2015-01-29 Thread Rainer Mohr
Am 28.01.15 um 18:33 schrieb Dirk Hohndel: If I knew of a solution that works, I'd have implemented it a long time ago. I guess we could change our logic like this: - get rid of the "show unused cylinders" thing - on download from dive computer, only include those cylinders that are in use

Translations: [was Re: towards 4.4]

2015-01-29 Thread Dirk Hohndel
On Thu, Jan 29, 2015 at 07:16:32AM -0800, Dirk Hohndel wrote: > > The folks translating the manual (Spanish, Russian, French) - are you > planning to send updates in time for 4.4? Russian is still on 4.2 which > means I may have to drop it for 4.4... > > Speaking of translations: some of our trad

Re: CSV import crash

2015-01-29 Thread Dirk Hohndel
On Thu, Jan 29, 2015 at 10:15:57AM -0800, Dirk Hohndel wrote: > On Thu, Jan 29, 2015 at 07:02:26PM +0100, Henrik Brautaset Aronsen wrote: > > 1) Go to import logfile and choose dives/TestXP5_de.csv > > 2) Select SensusCSV > > 3) Crash > > > > Yup, I know that this isn't a Sensus CSV file, but it s

Re: Need help on replete

2015-01-29 Thread Dirk Hohndel
On Thu, Jan 29, 2015 at 04:11:07PM -0200, Tomaz Canabrava wrote: > On Thu, Jan 29, 2015 at 2:56 PM, Robert Helling wrote: > > > > I am lost. I am trying to get > > > > void MainTab::divetype_Changed(int index) > > > > in maintab.cpp to work. This is called when the combo box with the > > divetype

Re: towards 4.4

2015-01-29 Thread Dirk Hohndel
On Thu, Jan 29, 2015 at 08:10:41PM +0200, Willem Ferguson wrote: > Generally speaking, as far as I am aware, the manual is reasonably up to > date. Robert & myself (mostly Robert) will be updating the CCR & pSCR > planner material but I suspect this will only happen shortly after the > release. If

Re: Need help on replete

2015-01-29 Thread Robert Helling
On 29 Jan 2015, at 19:11, Tomaz Canabrava wrote: > You wanna to live-update the profile when changing the divetype, without > losing the things you had on the displayed_dive ? > I *think* you can't do that *right now* - as the replot copies the dive. Hmm, I thought this was exactly the differe

Re: towards 4.4

2015-01-29 Thread Willem Ferguson
On 29/01/2015 20:05, Tomaz Canabrava wrote: On Thu, Jan 29, 2015 at 2:07 PM, Miika Turkia > wrote: > On 29 Jan 2015, at 17:16, Dirk Hohndel mailto:d...@hohndel.org>> wrote: > > I'm not aware of any major blocking bugs in Beta 2. Not a lot of

Re: CSV import crash

2015-01-29 Thread Dirk Hohndel
On Thu, Jan 29, 2015 at 07:02:26PM +0100, Henrik Brautaset Aronsen wrote: > 1) Go to import logfile and choose dives/TestXP5_de.csv > 2) Select SensusCSV > 3) Crash > > Yup, I know that this isn't a Sensus CSV file, but it still shouldn't crash. Totally agree, it shouldn't crash. And it doesn't h

Re: Thinking about a dive site "schema"

2015-01-29 Thread Linus Torvalds
On Thu, Jan 29, 2015 at 9:04 AM, Henrik Brautaset Aronsen wrote: > >> The first two are mandatory. If you don't have a name and GPS coordinates, >> you don't have an entry in this data base. > > I disagree to this. It has happened to me many times that I add a site and > some notes and a picture

Re: towards 4.4

2015-01-29 Thread Willem Ferguson
On 29/01/2015 17:16, Dirk Hohndel wrote: I'm not aware of any major blocking bugs in Beta 2. Not a lot of people are testing it (latest count is 35), so maybe that means we should skip doing a Beta 3 and go straight to releasing 4.4... Willem, Robert, others - what's the status of the manual? It

Re: towards 4.4

2015-01-29 Thread Henrik Brautaset Aronsen
29. jan. 2015 16.12 skrev "Dirk Hohndel" : > > Speaking of translations: some of our traditionally very good translations > are not complete (Norwegian, Russian). I'll take a look at nb_no H ___ subsurface mailing list subsurface@subsurface-divelog.org

Re: towards 4.4

2015-01-29 Thread Tomaz Canabrava
On Thu, Jan 29, 2015 at 2:07 PM, Miika Turkia wrote: > > > > > > On 29 Jan 2015, at 17:16, Dirk Hohndel wrote: > > > > I'm not aware of any major blocking bugs in Beta 2. Not a lot of people > > are testing it (latest count is 35), so maybe that means we should skip > > doing a Beta 3 and go str

CSV import crash

2015-01-29 Thread Henrik Brautaset Aronsen
1) Go to import logfile and choose dives/TestXP5_de.csv 2) Select SensusCSV 3) Crash Yup, I know that this isn't a Sensus CSV file, but it still shouldn't crash. Here's the stacktrace: Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 org.qt-project.QtCore 0x00010dc0

Re: Thinking about a dive site "schema"

2015-01-29 Thread Dirk Hohndel
On Thu, Jan 29, 2015 at 06:04:26PM +0100, Henrik Brautaset Aronsen wrote: > On 29 Jan 2015, at 17:49, Dirk Hohndel wrote: > > > > Our "Location" text becomes the key for a dive site data base. How this > > key into this data base is structured is primarily up to the user. We > > will not enforce

Re: Any qmake experts out there?

2015-01-29 Thread Lubomir I. Ivanov
On 29 January 2015 at 19:06, Henrik Brautaset Aronsen wrote: > On 29 Jan 2015, at 17:21, Lubomir I. Ivanov wrote: >> >> - version.h does not exists even if tarballed (if so fill it it a >> hardcoded version) > > Just to be precise: It's ssrf-version.h, not version.h, right? > it's just a test m

Re: Thinking about a dive site "schema"

2015-01-29 Thread Davide DB
Food for thinking... I will give a try with a mockup in the next few days davide@mobile ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

[PATCH] Export cylinder information to divelogs.de also if pressure dropped

2015-01-29 Thread Miika Turkia
This will export the cylinder information to divelogs.de also if there is a pressure drop of at least 5 bars. (Previously only a gas switch to the gas triggered the export of that particular cylinder.) Signed-off-by: Miika Turkia --- xslt/divelogs-export.xslt | 2 +- 1 file changed, 1 insertion(

Re: Any qmake experts out there?

2015-01-29 Thread Henrik Brautaset Aronsen
On 29 Jan 2015, at 17:21, Lubomir I. Ivanov wrote: > > - version.h does not exists even if tarballed (if so fill it it a > hardcoded version) Just to be precise: It's ssrf-version.h, not version.h, right? Henrik ___ subsurface mailing list subsurface

Re: Thinking about a dive site "schema"

2015-01-29 Thread Henrik Brautaset Aronsen
On 29 Jan 2015, at 17:49, Dirk Hohndel wrote: > > Our "Location" text becomes the key for a dive site data base. How this > key into this data base is structured is primarily up to the user. We > will not enforce any schema on this. Or maybe just a numeric ID? That way we don't have to update a

Thinking about a dive site "schema"

2015-01-29 Thread Dirk Hohndel
So I've been kicking this around in my mind for quite some time. Henrik has been asking for it "since the beginning of time". We clearly have a few more people here who'd love to have this, and I had a few conversations on my last dive trip that make me think this would be the right cornerstone fea

Re: Spelling error in German info-window

2015-01-29 Thread Dirk Hohndel
> On Jan 29, 2015, at 8:22 AM, Jürgen Frank wrote: > > Hello, > > the window, that’s shown when hovering over the dive-graph shown in German > version > „Durchschnittstiefe bus hier“ instead of "Durchschnittstiefe bis hier“. Oops. Thanks. Fixed. > Sorry for this post as I don’t know where to

Spelling error in German info-window

2015-01-29 Thread Jürgen Frank
Hello, the window, that’s shown when hovering over the dive-graph shown in German version „Durchschnittstiefe bus hier“ instead of "Durchschnittstiefe bis hier“. Should be corrected. Sorry for this post as I don’t know where to send this change request to. Kind regards, Juergen __

Re: Any qmake experts out there?

2015-01-29 Thread Lubomir I. Ivanov
On 29 January 2015 at 16:20, Jef Driesen wrote: > FORCE: > $(top_srcdir)/revision: FORCE > @if (test -d $(top_srcdir)/.git && cd $(top_srcdir) \ > && git rev-parse --verify HEAD) > revision-t 2>/dev/null \ > && ! cmp -s revision-t $@; then \ > mv -f revisio

Re: towards 4.4

2015-01-29 Thread Davide DB
On Thu, Jan 29, 2015 at 5:07 PM, Dirk Hohndel wrote: > > %1 is "Subsurface 4.4" > %2 and %3 are HTML markup that turns the words in between into a link to our > download page > %2 http://subsurface-divelog.org/download";> > %3 Perfect. Italian translation is ready now. Thank you -- Davide ht

Re: towards 4.4

2015-01-29 Thread Dirk Hohndel
> On Jan 29, 2015, at 8:07 AM, Miika Turkia wrote: > >> On 29 Jan 2015, at 17:16, Dirk Hohndel wrote: >> >> I'm not aware of any major blocking bugs in Beta 2. Not a lot of people >> are testing it (latest count is 35), so maybe that means we should skip >> doing a Beta 3 and go straight to re

Re: towards 4.4

2015-01-29 Thread Miika Turkia
> On 29 Jan 2015, at 17:16, Dirk Hohndel wrote: > > I'm not aware of any major blocking bugs in Beta 2. Not a lot of people > are testing it (latest count is 35), so maybe that means we should skip > doing a Beta 3 and go straight to releasing 4.4... There are a few issues on dive info UI th

Re: towards 4.4

2015-01-29 Thread Dirk Hohndel
> On Jan 29, 2015, at 7:43 AM, Davide DB wrote: > > Hi guys could give me an example of the values of these three parameters? > > Latest version is %1, please check %2 our download page %3 for > information in how to update. %1 is “Subsurface 4.4” %2 and %3 are HTML markup that turns the words

Re: towards 4.4

2015-01-29 Thread Davide DB
Hi guys could give me an example of the values of these three parameters? Latest version is %1, please check %2 our download page %3 for information in how to update. Thanks On Thu, Jan 29, 2015 at 4:33 PM, Davide DB wrote: > I received the alert from Transifex few minutes ago. > Give me some m

Re: towards 4.4

2015-01-29 Thread Dirk Hohndel
On Thu, Jan 29, 2015 at 04:33:58PM +0100, Davide DB wrote: > I received the alert from Transifex few minutes ago. > Give me some minute for the Italian. Thanks > [annoying mode on] > > Nobody care to adjust a couple of UI glitch on planner UI before 4.4? > It's like dating a beautiful girl uncom

Re: towards 4.4

2015-01-29 Thread Davide DB
I received the alert from Transifex few minutes ago. Give me some minute for the Italian. [annoying mode on] Nobody care to adjust a couple of UI glitch on planner UI before 4.4? It's like dating a beautiful girl uncombed :-D [annoying mode off] ___ su

Re: towards 4.4

2015-01-29 Thread Dirk Hohndel
On Thu, Jan 29, 2015 at 04:23:06PM +0100, Guillaume Gardet wrote: > >The folks translating the manual (Spanish, Russian, French) - are you > >planning to send updates in time for 4.4? Russian is still on 4.2 which > >means I may have to drop it for 4.4... > > Sent an update just now for french. T

Re: towards 4.4

2015-01-29 Thread Guillaume Gardet
Le 29/01/2015 16:16, Dirk Hohndel a écrit : I'm not aware of any major blocking bugs in Beta 2. Not a lot of people are testing it (latest count is 35), so maybe that means we should skip doing a Beta 3 and go straight to releasing 4.4... Willem, Robert, others - what's the status of the manual?

towards 4.4

2015-01-29 Thread Dirk Hohndel
I'm not aware of any major blocking bugs in Beta 2. Not a lot of people are testing it (latest count is 35), so maybe that means we should skip doing a Beta 3 and go straight to releasing 4.4... Willem, Robert, others - what's the status of the manual? It seems like we are mostly done, but I haven

Re: Any qmake experts out there?

2015-01-29 Thread Jef Driesen
On 2015-01-29 14:38, Thiago Macieira wrote: On Thursday 29 January 2015 15:30:43 Lubomir I. Ivanov wrote: this is what i would do: - all: main.exe .PHONY: persist version.h: persist cat $@ 2> /dev/null || git rev-parse HEAD > $@ git rev-parse HEAD > $@.tmp git diff

Re: Any qmake experts out there?

2015-01-29 Thread Lubomir I. Ivanov
On 29 January 2015 at 15:30, Lubomir I. Ivanov wrote: > On 29 January 2015 at 04:59, Thiago Macieira wrote: >> On Wednesday 28 January 2015 11:04:21 Linus Torvalds wrote: >>> The proper way to get the git version is to just do >>> >>> # get raw SHA1 >>> git rev-parse HEAD >>> >>> #

Re: Any qmake experts out there?

2015-01-29 Thread Lubomir I. Ivanov
On 29 January 2015 at 15:38, Thiago Macieira wrote: > On Thursday 29 January 2015 15:30:43 Lubomir I. Ivanov wrote: >> this is what i would do: >> - >> >> all: main.exe >> >> .PHONY: persist >> >> version.h: persist >> cat $@ 2> /dev/null || git rev-parse HEAD > $@ >> git r

Re: Any qmake experts out there?

2015-01-29 Thread Thiago Macieira
On Thursday 29 January 2015 15:30:43 Lubomir I. Ivanov wrote: > this is what i would do: > - > > all: main.exe > > .PHONY: persist > > version.h: persist > cat $@ 2> /dev/null || git rev-parse HEAD > $@ > git rev-parse HEAD > $@.tmp > git diff --quiet $@ $@.tmp || cp

Re: Any qmake experts out there?

2015-01-29 Thread Lubomir I. Ivanov
On 29 January 2015 at 04:59, Thiago Macieira wrote: > On Wednesday 28 January 2015 11:04:21 Linus Torvalds wrote: >> The proper way to get the git version is to just do >> >> # get raw SHA1 >> git rev-parse HEAD >> >> # get "description" of it >> git describe --tags --abbrev=12

Re: Any qmake experts out there?

2015-01-29 Thread Martin Gysel
Am 29.01.2015 10:06, schrieb Anton Lundin: > On 29 January, 2015 - Thiago Macieira wrote: > >> On Wednesday 28 January 2015 11:04:21 Linus Torvalds wrote: >>> The proper way to get the git version is to just do >>> >>> # get raw SHA1 >>> git rev-parse HEAD >>> >>> # get "description

[PATCH] User-manual: replace figures for Dive Planner section

2015-01-29 Thread Willem Ferguson
User-manual: Update figures for section on dive planner Update the two existing images for the section dealing with the dive planner. This is to make things a little easier for Robert who will be generating some text for this part of the manual. Signed-off-by: willem ferguson

Re: Any qmake experts out there?

2015-01-29 Thread Anton Lundin
On 29 January, 2015 - Thiago Macieira wrote: > On Wednesday 28 January 2015 11:04:21 Linus Torvalds wrote: > > The proper way to get the git version is to just do > > > > # get raw SHA1 > > git rev-parse HEAD > > > > # get "description" of it > > git describe --tags --abbrev=