Building from scratch on a MAC (El Captain)

2015-11-03 Thread Guido Lerch
Hi All, I am getting several warnings around libdivecomputer. WARNING: Target "Subsurface" requests linking to directory "/Users/glerch/src/libdivecomputer/include". Targets may link only to libraries. CMake is dropping the item. this is what ccmake looks like [image: Inline-Bild 1] I do

Re: Patches to add Context Menu to Images

2015-11-03 Thread Guido Lerch
Hi Robert 2015-11-03 21:34 GMT+01:00 Robert C. Helling <hell...@atdotde.de>: > Hi Guido, > > On 03 Nov 2015, at 17:21, Guido Lerch <guido.le...@gmail.com> wrote: > > This set of patches enables users to use the mouse and a context menu to: > > > I think the in

Building Subsurface on MAC

2015-11-03 Thread Guido Lerch
All, The blues is over ... Here are the steps to get the new master loaded and build on a MAC OS 10.11 1. remove the entire subsurface folder 2. launch XCode to complete the XCode installation if you have not done already 3. xcode-select --install 4. brew install libssh2 5. brew install

Patches to add Context Menu to Images

2015-11-03 Thread Guido Lerch
the preferences, so people that don't want that don't have to. -- Best regards, Guido From 65241f94f08ebcd5165d488067b32ba64c0620dc Mon Sep 17 00:00:00 2001 From: Guido Lerch <guido.le...@gmail.com> Date: Tue, 20 Oct 2015 21:02:41 +0200 Subject: [PATCH 1/6] Adding context menu to Images Al

Re: [PATCH] Drag and Drop images

2015-11-03 Thread Guido Lerch
Hi Dirk, Just saw this, hope my context menu does fit with this ... 2015-11-03 16:48 GMT+01:00 Dirk Hohndel : > On Tue, Nov 03, 2015 at 11:31:32AM +0100, Robert Helling wrote: > > Hi, > > > > > On 21.09.2015, at 09:30, Robert C. Helling

Re: storing pictures

2015-10-26 Thread Guido Lerch
Hi Dirk, I¹ve put some thoughts into this. Not an easy topic as people might have very individual requirements on this topic. I suggest to take a step-wise approach, determining who would benefit quickly depending on the complexity of the implementation. Let me explain my case. * I love to take

Re: Fixing warning about freediving

2015-10-22 Thread Guido Lerch
Regards, Guido +41 79 3217739 > Am 22.10.2015 um 09:26 schrieb Dirk Hohndel <d...@hohndel.org>: > >> On Thu, Oct 22, 2015 at 12:26:17AM +0200, Guido Lerch wrote: >> let me know what and why you rewrote, otherwise I wont grow. > > Sure thing. > > Re

Re: Another braces warning this that I overlooked

2015-10-22 Thread Guido Lerch
ld misinterpret it. In practice C binds else to the closest if, so the > code is actually correct. > > I will once again rewrite Guido's patches into one simpler one that makes > it unambiguous... basically the second patch without the first :-) > > /D > > commi

Re: Uemis patch

2015-10-21 Thread Guido Lerch
2015-10-21 15:40 GMT+02:00 Lubomir I. Ivanov <neolit...@gmail.com>: > On 21 October 2015 at 16:21, Guido Lerch <guido.le...@gmail.com> wrote: > > fixing an issue with loading dives on Ubuntu. > > > > it seems that this code does not resolve the file type >

Re: mobile ui considerations

2015-10-21 Thread Guido Lerch
for NDK. [image: Inline-Bild 1] 2015-10-21 16:55 GMT+02:00 Guido Lerch <guido.le...@gmail.com>: > Thanks Robert. > Started to upgrade my Qt stuff. > I'll let you know how it progresses. > > Regards, > Guido > +41 79 3217739 > > Am 21.10.2015 um 13:17 schrieb Robe

Re: mobile ui considerations

2015-10-21 Thread Guido Lerch
2015-10-21 18:25 GMT+02:00 Joakim Bygdell <j.bygd...@gmail.com>: > > On 21 Oct 2015, at 18:21, Guido Lerch <guido.le...@gmail.com> wrote: > > Have iOS development setup and can successfully run a Hello World app :-) > > What makes trouble is getting Android runni

Fixing warning about freediving

2015-10-21 Thread Guido Lerch
trashed my subsurface folder and started from scratch today with the last master @ 4722df8 while building I got a warning -- Best regards, Guido From b1888cc5a96a8fd32b2fa57bfce8f013157df742 Mon Sep 17 00:00:00 2001 From: Guido Lerch <guido.le...@gmail.com> Date: Wed, 21 Oct 2015 23

GIT

2015-10-21 Thread Guido Lerch
Hi At some point in time I would like someone to help me with GIT. I find this confusing which is probably confusing to you. I work on a feature, figure out a bug, when trying to fix this I am getting my branches confused, ending up in wiping it all away, clone subsurface, building branches,

Another braces warning this that I overlooked

2015-10-21 Thread Guido Lerch
-- Best regards, Guido From 6121bdb8543fd067188e793837e577edef912ede Mon Sep 17 00:00:00 2001 From: Guido Lerch <guido.le...@gmail.com> Date: Thu, 22 Oct 2015 00:42:30 +0200 Subject: [PATCH 2/2] Fixing warnings about braces in cylindermodel.cpp-2 Morace braces needed.Sorry Signed-off-by:

Re: Fixing warning about freediving

2015-10-21 Thread Guido Lerch
h :-) > > /D > > On Wed, Oct 21, 2015 at 11:40:11PM +0200, Guido Lerch wrote: > > trashed my subsurface folder and started from scratch today with the last > > master @ 4722df8 > > > > while building I got a warning > >

Re: Fixing warning about freediving

2015-10-21 Thread Guido Lerch
2015-10-22 0:33 GMT+02:00 Tomaz Canabrava : > I will have a bomb - patch for you guys in a few days. ;p > since I'll probably break a ton of builds, I guess I need to say this. > I take shelter and help as much as I can :) > >> >>

Re: GIT

2015-10-21 Thread Guido Lerch
Hi Tomaz VERY APPRECIATED I'll digest the details when I am sober tomorrow ... I loved the Spanish wine I just had tooo much :-) Thanks. G. 2015-10-22 0:50 GMT+02:00 Tomaz Canabrava <tcanabr...@kde.org>: > > > On Wed, Oct 21, 2015 at 8:35 PM, Guido Lerch <guido.le...@gmail.com

Uemis patch

2015-10-21 Thread Guido Lerch
. -- Best regards, Guido From 7937e77ace8f64cb03da6fafe50cd51757c5c83a Mon Sep 17 00:00:00 2001 From: Guido Lerch <guido.le...@gmail.com> Date: Wed, 21 Oct 2015 14:51:11 +0200 Subject: [PATCH] Uemis fix for Ubuntu Fixing a but preventing to download files on Ubuntu. On Ubuntu are recognized

Re: mobile ui considerations

2015-10-21 Thread Guido Lerch
Regards, Guido +41 79 3217739 > Am 20.10.2015 um 09:51 schrieb Dirk Hohndel : > >> On Tue, Oct 20, 2015 at 09:32:06AM +0200, Davide DB wrote: >>> On Tue, Oct 20, 2015 at 9:17 AM, Dirk Hohndel wrote: >>> >>> Sebastian is a rather experienced Qt/QML

Building issue

2015-10-20 Thread Guido Lerch
Hi, I was busy the last couple of days. Today I pulled the new master, ran cmake and get the below. Before I spend hours trial and error, anyone a suggestion ? Thanks for helping [image: Inline-Bild 1] -- Best regards, Guido ___ subsurface mailing

For consideration for 4.5.1 or 4.6

2015-10-20 Thread Guido Lerch
? -- Best regards, Guido From 65241f94f08ebcd5165d488067b32ba64c0620dc Mon Sep 17 00:00:00 2001 From: Guido Lerch <guido.le...@gmail.com> Date: Tue, 20 Oct 2015 21:02:41 +0200 Subject: [PATCH 1/6] Adding context menu to Images Allowing to delete selected or all photos from the dive

Context menu support for images

2015-10-20 Thread Guido Lerch
could not resist, this patch adds adding images from file and web. -- Best regards, Guido From f7594fbbd54197abb7a20b65cc8d394afc8f07e8 Mon Sep 17 00:00:00 2001 From: Guido Lerch <guido.le...@gmail.com> Date: Tue, 20 Oct 2015 22:36:59 +0200 Subject: [PATCH 7/7] Context menu support for

Re: For consideration for 4.5.1 or 4.6

2015-10-20 Thread Guido Lerch
1. Yes it does add strings, depending on how our translation works only 2, worst case 4. > > /D > > On Tue, Oct 20, 2015 at 10:08:29PM +0200, Guido Lerch wrote: > > adding context menu to images for multi selection deletion and deleting > all > > images. > > >

Re: Error when executing on Ubuntu

2015-10-14 Thread Guido Lerch
I can do some tests over the weekend if others are not faster. Regards, Guido +41 79 3217739 > Am 14.10.2015 um 08:30 schrieb Miika Turkia : > >> On Wed, Oct 14, 2015 at 8:33 AM, Willem Ferguson >> wrote: >> I still get a single error

Managed Images

2015-10-13 Thread Guido Lerch
Big fix and adding the removal of a picture if the user removes it from the dive if managed location is enabled. -- Best regards, Guido From 62aa6f0a3f8333d0b4f6969fbecace1e50b23869 Mon Sep 17 00:00:00 2001 From: Guido Lerch <guido.le...@gmail.com> Date: Tue, 13 Oct 2015 11:39:02 +0200 S

Re: Is anyone working on an iOS app?

2015-10-13 Thread Guido Lerch
Thanks Anton 2015-10-13 10:34 GMT+02:00 Anton Lundin <gla...@acc.umu.se>: > On 12 October, 2015 - Lubomir I. Ivanov wrote: > > > On 12 October 2015 at 22:20, Guido Lerch <guido.le...@gmail.com> wrote: > > > > > > Forgot ... > > > Which of

Re: Image management, bug fix

2015-10-13 Thread Guido Lerch
Hi Dirk Regards, Guido +41 79 3217739 > Am 13.10.2015 um 17:50 schrieb Dirk Hohndel <d...@hohndel.org>: > > >> On Oct 13, 2015, at 8:48 AM, Guido Lerch <guido.le...@gmail.com> wrote: >> >> Hi Robert >> Before I comment point by point let me men

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 <gla...@acc.umu.se>: > On 10 October, 2015 - Dirk Hohndel wrote: > > > > > > On Oct 10, 2015, at 2:27 AM, Guido Lerch <guido.le...@gmail.com> > wrote: > > > > > > If you guys agree I submit

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 <miika.tur...@gmail.com>: > >> On Mon, Oct 12, 2015 at 1:14 PM, Guido Lerch <guido.le...@gmail.com> wrote: >> Hi Davide >> >> Regards, >> Guido >> +41 79

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 <dbdav...@gmail.com>: > >> On Mon, Oct 12, 2015 at 11:45 AM, Guido Lerch <guido.le...@gmail.com> wrote: >> Since I don't have an Android phone anymore and non of my colle

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

Re: Swiss Translations

2015-10-12 Thread Guido Lerch
Hi Martin 2015-10-12 14:03 GMT+02:00 Martin Gysel <m...@bearsh.org>: > 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 sti

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

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 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

Adding image management

2015-10-12 Thread Guido Lerch
. This is NOT DONE YET, I basically want to know if I should continue. Lot's of checking is still needed. -- Best regards, Guido From 6c064ab0e04e046d2407a62630fcc9e3c0bd7a24 Mon Sep 17 00:00:00 2001 From: Guido Lerch <guido.le...@gmail.com> Date: Tue, 13 Oct 2015 00:20:05 +0200 Subject: [P

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 <guido.le...@gmail.com> Date: Tue, 13 Oct 2015 00:59:05 +0200 Subject: [PATCH 3/4] Adding image management checks Some checks and balances, making sure w

Re: Segfault upon exit from coordinates specification

2015-10-11 Thread Guido Lerch
Hi Willem I had similar issues, can you try the following? Open your logbook with an xml editor, remove all duplicates. Retry. When doing a lot of testing and interrupting a debug, sometimes the duplication handling has issues when importing dives. Regards, Guido +41 79 3217739 > Am 11.10.2015

Re: Patch 3 - replacing 1 and 2 - sorry

2015-10-10 Thread Guido Lerch
2015-10-09 19:25 GMT+02:00 Tomaz Canabrava <tcanabr...@kde.org>: > looking. > > On Fri, Oct 9, 2015 at 2:19 PM, Dirk Hohndel <d...@hohndel.org> wrote: > >> On Fri, Oct 09, 2015 at 06:09:26PM +0200, Guido Lerch wrote: >> > Finally I think on El Cap

Re: Is anyone working on an iOS app?

2015-10-10 Thread Guido Lerch
t;hell...@atdotde.de>: > > Guido, > >> On 10 Oct 2015, at 10:51, Guido Lerch <guido.le...@gmail.com> wrote: >> >> That would show the cloud storage stored dive details ? >> If not I would start something - Dirk, any objections? > > the main obstacle

Patch 3 - replacing 1 and 2 - sorry

2015-10-09 Thread Guido Lerch
Finally I think on El Captain and Mavericks the main window size, position and state is preserved. I have no Yosemite at this point in time, Robert, can you test ? Sorry for the first two quick shots ... -- Best regards, Guido From 732f5ebbfd63bf23a2e4fb2a244491b414c1899f Mon Sep 17 00:00:00

Patch 2 fixing Window size and position

2015-10-09 Thread Guido Lerch
Addition to the last window size patch for El Captain. Caviar/ not solved yet. On Mavericks, when closing out of full screen the window will be maximized. On El Captain window size, position, state are working as expected. I am investigating the behaviour on Mavericks now -- Best regards,

Fixing window size on El Captain

2015-10-09 Thread Guido Lerch
-- Best regards, Guido From b2c032fd10b53119b06ce2b14597f17db6beff6f Mon Sep 17 00:00:00 2001 From: Guido Lerch <guido.le...@gmail.com> Date: Fri, 9 Oct 2015 14:20:12 +0200 Subject: [PATCH] Fixing Windows size on El Captain Bug-fix to properly restore the windows size, this was reported by

Re: [d...@hohndel.org: updates towards 4.5]

2015-10-08 Thread Guido Lerch
From: Dirk Hohndel <d...@hohndel.org> Date: Thursday 8 October 2015 09:28 To: Guido Lerch <guido.le...@gmail.com> Cc: "Robert C. Helling" <hell...@atdotde.de>, "subsurface@subsurface-divelog.org" <subsurface@subsurface-divelog.org> Subject:

Re: [d...@hohndel.org: updates towards 4.5]

2015-10-08 Thread Guido Lerch
From: subsurface on behalf of "Robert C. Helling" Date: Thursday 8 October 2015 06:52 To: Dirk Hohndel Cc: "subsurface@subsurface-divelog.org" Subject: Re:

Re: [d...@hohndel.org: updates towards 4.5]

2015-10-08 Thread Guido Lerch
Best regards, Guido Lerch m: +41 79 3217739 "Quality means building the customer’s point of view into every aspect of a product from design to final recycling." From: Dirk Hohndel <d...@hohndel.org> Date: Thursday 8 October 2015 10:56 To: Guido Lerch <guido.le...@gmail.

Re: Beta 3 on Mac 10.11 (El Capitan) always opens up in a small window

2015-10-08 Thread Guido Lerch
From: subsurface on behalf of Tomaz Canabrava Date: Thursday 8 October 2015 21:46 To: Joakim Bygdell Cc: "subsurface@subsurface-divelog.org" Subject: Re: Beta 3 on Mac

Re: Question - working on some German Translations

2015-10-07 Thread Guido Lerch
2015-10-06 22:20 GMT+02:00 Dirk Hohndel <d...@hohndel.org>: > On Tue, Oct 06, 2015 at 08:12:59PM +0300, Lubomir I. Ivanov wrote: > > On 6 October 2015 at 19:02, Guido Lerch <guido.le...@gmail.com> wrote: > > > > > > All, > > > > > > Am I

Re: Issues building install with Marble

2015-10-07 Thread Guido Lerch
2015-10-06 22:22 GMT+02:00 Dirk Hohndel <d...@hohndel.org>: > On Tue, Oct 06, 2015 at 05:58:45PM +0200, Guido Lerch wrote: > > Copied the maps and bitmaps directory into subsurface/marbledata, this > > fixed it. > > So I did some more testing and tweaking. The latest

Re: Issues building install with Marble

2015-10-07 Thread Guido Lerch
2015-10-07 13:16 GMT+02:00 Dirk Hohndel <d...@hohndel.org>: > On Wed, Oct 07, 2015 at 12:57:44PM +0200, Guido Lerch wrote: > > > So I did some more testing and tweaking. The latest master should > remove > > > your build/marbledata directory and r

Re: Bug report

2015-10-07 Thread Guido Lerch
2015-10-07 13:42 GMT+02:00 Lubomir I. Ivanov <neolit...@gmail.com>: > On 7 October 2015 at 14:39, Guido Lerch <guido.le...@gmail.com> wrote: > > > > > > 2015-10-07 13:27 GMT+02:00 Dirk Hohndel <d...@hohndel.org>: > >> > >> On Wed, Oct 07

Re: Question - working on some German Translations

2015-10-07 Thread Guido Lerch
2015-10-07 13:13 GMT+02:00 Dirk Hohndel <d...@hohndel.org>: > On Wed, Oct 07, 2015 at 12:55:22PM +0200, Guido Lerch wrote: > > you don't sleep, do you ? :-) > > Sadly that is often true as I at times suffer from bad insomnia... but > right now I'm in Dublin so this is

Bug report

2015-10-07 Thread Guido Lerch
All, Tried to get a Track account but got rejected :-( Printing on a MAC iOS 10.9.5 does not print the dive meta data, the profiles are printed but in a really bad quality. Printed an example to a PDF, attached. -- Best regards, Guido 2 dives.pdf Description: Adobe PDF document

Re: Bug report

2015-10-07 Thread Guido Lerch
2015-10-07 13:27 GMT+02:00 Dirk Hohndel <d...@hohndel.org>: > On Wed, Oct 07, 2015 at 01:23:12PM +0200, Guido Lerch wrote: > > All, > > Tried to get a Track account but got rejected :-( > > Interesting. Can you tell me more what you tried and what happened? We > ha

Re: Issues building install with Marble

2015-10-06 Thread Guido Lerch
Copied the maps and bitmaps directory into subsurface/marbledata, this fixed it. 2015-10-05 23:57 GMT+02:00 Dirk Hohndel : > On Tue, Oct 06, 2015 at 08:54:34AM +1100, Rick Walsh wrote: > > > Here is what I am usually doing > > > $ git pull > > > $ make -j4 > > >

Re: Issues building install with Marble

2015-10-05 Thread Guido Lerch
2015-10-05 23:41 GMT+02:00 Tomaz Canabrava <tcanabr...@kde.org>: > > > On Mon, Oct 5, 2015 at 6:37 PM, Guido Lerch <guido.le...@gmail.com> wrote: > >> All, >> >> I would appreciate some help and some instructions on how to download >> the la

Re: Issues building install with Marble

2015-10-05 Thread Guido Lerch
Sure 2015-10-05 23:44 GMT+02:00 Tomaz Canabrava <tcanabr...@kde.org>: > Then I'll ask you to wait a bit - I'll try to test this at home on the > Mac. > > Em seg, 5 de out de 2015 18:43, Guido Lerch <guido.le...@gmail.com> > escreveu: > >> 2015-10-05 23:4

Lost most of my divesites

2015-10-05 Thread Guido Lerch
All, I downloaded the new master today, built it and ran SubSurface, after that I loaded a new dive from the Uemis and saved the log. After this most of my dive sites are gone showing the dive site name as "from Uemis". I havent had this issue during my stay in Egypt where I loaded 15 dives from

Re: Current 4.5 plans

2015-10-02 Thread Guido Lerch
Hi Dirk, I am still in Egypt and can't do a lot of testing despite confirming that I found no issues with the uemis downloads and that Linus' patch for the SAC and environment details work nicely. What I noted is that when one selects multiple dives and changes any of the meta data such as

Re[2]: Equipment info wrong

2015-09-28 Thread Guido Lerch
useful at all. G. Lerch Montag, 28. September 2015 13:58 +0200 von Dirk Hohndel <d...@hohndel.org>: >On Mon, Sep 28, 2015 at 01:56:24PM +0300, Guido Lerch wrote: >> >> Hi Linus, >> >> I just realized the same, none of my code changes do anything to the &g

Re[2]: Uemis Patch - display message if no files present to download

2015-09-25 Thread Guido Lerch
I am. Frankly I can't believe I wrote files ... Not sure where my brain was ... Maybe too fried here with 38 degrees C. G. Lerch Freitag, 25. September 2015 23:02 +0200 von Dirk Hohndel <d...@hohndel.org>: >On Fri, Sep 25, 2015 at 11:55:27PM +0300, Guido Lerch wrote: >>

Re[2]: Uemis Patch - display message if no files present to download

2015-09-25 Thread Guido Lerch
Can you make a suggestion what it should be ? G. Lerch Freitag, 25. September 2015 18:59 +0200 von Dirk Hohndel <d...@hohndel.org>: >On Fri, Sep 25, 2015 at 04:32:25PM +0200, Guido Lerch wrote: >> -- >> Best regards, >> Guido > >> From 9b6b28534e2102da18

Uemis Patch - display message if no files present to download

2015-09-25 Thread Guido Lerch
-- Best regards, Guido From 9b6b28534e2102da18cdfed5b0d3401953217648 Mon Sep 17 00:00:00 2001 From: Guido Lerch <guido.le...@gmail.com> Date: Thu, 24 Sep 2015 19:26:35 +0200 Subject: [PATCH] Uemis-display message if no dives to download Display an error message if no new

Equipment info wrong

2015-09-21 Thread Guido Lerch
all Has someone recently changed something to the equipment info. Reading a dive from my Uemis today the first time since I test the end pressure in the equipment info is wrong. Screen shots attached. G. Lerch ___ subsurface mailing list

Re: [PATCH 2/2] uemis downloader: start downloading using the correct dive IDavoid NULL pointer dereference

2015-09-21 Thread Guido Lerch
Tested this today. Works with my 240 dives I have by now on the Uemis. Also the blindly strstr was obvious and an overlook on my side. The initial object id wasn't from me :-) So I am happy with my newbie contributions :-) The code to update selected dives is ready but requires a UI change. I

Re[2]: UEMIS Patch fixing alternating dive details

2015-09-20 Thread Guido Lerch
Hi Linus Thanks. Since I am new to C , given the fact I haven't coded in C for over 20 years I expected some finds. Unfortunately, where I am right now I don't think I can load the last master. No internet or at least flakey here in Egypt. I try and test if I can. G. Lerch Sonntag, 20.

Re: UEMIS Patch fixing alternating dive details

2015-09-18 Thread Guido Lerch
Not much improvement but reading a few dive spots less. 2015-09-18 19:34 GMT+02:00 Dirk Hohndel <d...@hohndel.org>: > On Fri, Sep 18, 2015 at 08:30:01PM +0300, Guido Lerch wrote: > > > > Keep to see your cleanup, I know I am still struggling to forget about > c#

Bluetooth

2015-09-18 Thread Guido Lerch
I have seen several people discussing this and don't know what I miss My OSTC 3 does not have blue tooth does it ? G. Lerch ___ subsurface mailing list subsurface@subsurface-divelog.org

Re: almost Beta 2

2015-09-18 Thread Guido Lerch
I will certainly on board with testing but with probing I have issues. Whenever I select print the list of templates shows me everything in the subsurface directory. Not checked over that past week of this have changed but definitely only valid templates should be shown in the drop down. G.

Re[2]: UEMIS Patch fixing alternating dive details

2015-09-18 Thread Guido Lerch
Have you seen my small patch ? Will work on top of what you do :-) G. Lerch Freitag, 18. September 2015 22:13 +0200 von Dirk Hohndel <d...@hohndel.org>: >On Fri, Sep 18, 2015 at 11:05:41PM +0300, Guido Lerch wrote: >> >> Can't tell, have only seen 1 or above and -

Re[2]: UEMIS Patch fixing alternating dive details

2015-09-18 Thread Guido Lerch
Hohndel <d...@hohndel.org>: >On Fri, Sep 18, 2015 at 09:25:48PM +0200, Guido Lerch wrote: >> Not much improvement but reading a few dive spots less. > >Yeah, that was one of the things that I had looked at. I was going to ask >you - can there ever be a divespot #0? Or do t

Re: UEMIS Patch fixing alternating dive details

2015-09-18 Thread Guido Lerch
and allow partial imports while I am on vacation :-) If someone is testing and finds an issue, please let me know. G. 2015-09-17 17:55 GMT+02:00 Guido Lerch <guido.le...@gmail.com>: > I'll send the patches later, on the wrong computer > > 2015-09-17 17:46 GMT+02:00 Dirk Hohndel &l

Re[2]: UEMIS Patch fixing alternating dive details

2015-09-18 Thread Guido Lerch
? G. Lerch Freitag, 18. September 2015 17:35 +0200 von Dirk Hohndel <d...@hohndel.org>: >On Fri, Sep 18, 2015 at 05:26:42PM +0200, Guido Lerch wrote: >> All good now. >> >> I looked into avoiding to read all the dive-spots but this is not possible >> unless t

Re: Re[2]: Re[2]: testing the Uemis code [was Re: UEMIS-bug fix: fixing the dialog message when the memory us full]

2015-09-17 Thread Guido Lerch
2015-09-16 19:43 GMT+02:00 Guido Lerch <guido.le...@gmail.com>: > Hi Dirk > I'll digest this later, I am on the road now. > > I might send you and Linus a special patch that writes down the Uemis and > files to disc. > As said I tested with two computer and b

Re: Re[2]: Re[2]: testing the Uemis code [was Re: UEMIS-bug fix: fixing the dialog message when the memory us full]

2015-09-17 Thread Guido Lerch
2015-09-17 14:20 GMT+02:00 Dirk Hohndel <d...@hohndel.org>: > On Thu, Sep 17, 2015 at 12:13:06PM +0200, Guido Lerch wrote: > > > > > > > > weird debug output, you have logfilenr 5, then logfilenr 4 then again > > logfilenr 5 > > Yes, indeed

Re: UEMIS Patch fixing alternating dive details

2015-09-17 Thread Guido Lerch
2015-09-17 17:06 GMT+02:00 Dirk Hohndel <d...@hohndel.org>: > Ok, let's talk about learning :-) > > On Thu, Sep 17, 2015 at 04:51:33PM +0200, Guido Lerch wrote: > > From cd5c20831b006fcb5da6397301026ac056fa949d Mon Sep 17 00:00:00 2001 > > From: glerch <guido.le..

Re: UEMIS Patch fixing alternating dive details

2015-09-17 Thread Guido Lerch
t;d...@hohndel.org>: > On Thu, Sep 17, 2015 at 05:34:06PM +0200, Guido Lerch wrote: > > > > > > After every single dive ("details for #xxx) it reads divespot #0. That > > > seems completely silly to me. I think I set the divespot on a single > div

Re: UEMIS Patch fixing alternating dive details

2015-09-17 Thread Guido Lerch
2015-09-17 17:26 GMT+02:00 Dirk Hohndel : > On Thu, Sep 17, 2015 at 08:06:18AM -0700, Dirk Hohndel wrote: > > > > Yep, that should work with my Uemis. I'll test it next. > > As expected, it seems to work. I'll push this, soon. > > One comment. > > After every single dive

Re: Re[2]: Re[2]: testing the Uemis code [was Re: UEMIS-bug fix: fixing the dialog message when the memory us full]

2015-09-17 Thread Guido Lerch
2015-09-17 15:31 GMT+02:00 Dirk Hohndel <d...@hohndel.org>: > On Thu, Sep 17, 2015 at 03:24:39PM +0200, Guido Lerch wrote: > > 2015-09-17 14:20 GMT+02:00 Dirk Hohndel <d...@hohndel.org>: > > > > > On Thu, Sep 17, 2015 at 12:13:06PM +0200, Guido Lerch wrote: >

UEMIS Patch fixing alternating dive details

2015-09-17 Thread Guido Lerch
I hope this works nor for you too, Dirk. -- Best regards, Guido From cd5c20831b006fcb5da6397301026ac056fa949d Mon Sep 17 00:00:00 2001 From: glerch Date: Thu, 17 Sep 2015 16:46:02 +0200 Subject: [PATCH 7/7] UEMIS-fix alternating dive details Implemented suggestion from

Uemis patch - bug fix - make sure import reacts on cancel button

2015-09-16 Thread Guido Lerch
-- Best regards, Guido From 9744dc1269058bce56020a494eab1d79dec13f6a Mon Sep 17 00:00:00 2001 From: glerch Date: Wed, 16 Sep 2015 09:10:56 +0200 Subject: [PATCH 4/4] UEMIS-bugfix-import reacting on cancel Fixed a bug where the import did not react on the cancel button by

Uemis patch - code cleanup

2015-09-16 Thread Guido Lerch
removing one unused variable -- Best regards, Guido From 9674bfab0b8440bced10c2ead75d3f28a905fb6a Mon Sep 17 00:00:00 2001 From: glerch Date: Wed, 16 Sep 2015 09:22:11 +0200 Subject: [PATCH 5/5] UEMIS-Code cleanup Removing an unused variable Signed-off-by: glerch

Re: Re[2]: testing the Uemis code [was Re: UEMIS-bug fix: fixing the dialog message when the memory us full]

2015-09-16 Thread Guido Lerch
2015-09-16 3:55 GMT+02:00 Dirk Hohndel : > > Anyway, it looks like the uemis support is usable, but has a few > > warts. I'm assuming those are the patches you're working on. > > My results were not as good as Linus' > After 8h connected to a charger it finally came back to

Uemis patch : make sure force download is unchecked after the first round of loading dives

2015-09-16 Thread Guido Lerch
-- Best regards, Guido From 6231c844fc1eb15373a506ec3e31108df38b55bb Mon Sep 17 00:00:00 2001 From: glerch Date: Wed, 16 Sep 2015 20:29:44 +0200 Subject: [PATCH 6/6] UEMIS-uncheck the force download This changes assures we uncheck the forcedownload flag after the first

Re: Re[2]: testing the Uemis code [was Re: UEMIS-bug fix: fixing the dialog message when the memory us full]

2015-09-16 Thread Guido Lerch
Hi Dirk, You didn't tell me the trick but I could have thought about this myself ... 2015-09-16 19:53 GMT+02:00 Dirk Hohndel <d...@hohndel.org>: > On Wed, Sep 16, 2015 at 08:43:45PM +0300, Guido Lerch wrote: > > > > Hi Dirk > > I'll digest this later, I am on the roa

Re: Re[2]: testing the Uemis code [was Re: UEMIS-bug fix: fixing the dialog message when the memory us full]

2015-09-16 Thread Guido Lerch
divespots are back 2015-09-17 5:51 GMT+02:00 Dirk Hohndel <d...@hohndel.org>: > Hi Guido > > On Thu, Sep 17, 2015 at 05:38:24AM +0200, Guido Lerch wrote: > > > > > > So I've been reading your code again and I struggle to understand the > > > logic here...

Re[2]: Re[2]: testing the Uemis code [was Re: UEMIS-bug fix: fixing the dialog message when the memory us full]

2015-09-16 Thread Guido Lerch
ing Guido... > >On Wed, Sep 16, 2015 at 09:02:11AM +0200, Guido Lerch wrote: >> > My results were not as good as Linus' >> > After 8h connected to a charger it finally came back to life. >> > >> > When trying to download (empty dive file, so start from th

Re: testing the Uemis code [was Re: UEMIS-bug fix: fixing the dialog message when the memory us full]

2015-09-15 Thread Guido Lerch
Hi Linus 2015-09-15 20:43 GMT+02:00 Linus Torvalds : > On Tue, Sep 15, 2015 at 11:13 AM, Dirk Hohndel wrote: > > > > Linus, could you test the latest Subsurface with the dives on your Uemis? > > Current head (4a19145e) seems to be downloading

Re: testing the Uemis code [was Re: UEMIS-bug fix: fixing the dialog message when the memory us full]

2015-09-15 Thread Guido Lerch
Good :-) I will try to fix the Uemis oddities one after one, at this point in the the force download challenges me as I have not looked into the form code yet. What we should do from the code is to uncheck the force download checkbox after the first round of divelogs, otherwise you keep on

Uemis Patch - cleaning up debugging

2015-09-15 Thread Guido Lerch
-- Best regards, Guido From 21589cd6985b791169a6630c984ee2f1a12bd5d7 Mon Sep 17 00:00:00 2001 From: glerch Date: Tue, 15 Sep 2015 10:09:24 +0200 Subject: [PATCH] Uemis - fixup debugging No actualy code changes, just some small chnages within the debugging such as removing

Re[2]: UEMIS-bug fix: fixing the dialog message when the memory us full

2015-09-15 Thread Guido Lerch
Subsurface >developer. Quite impressive, Guido. Keep them coming. > >/D > >On Tue, Sep 15, 2015 at 04:56:06PM +0200, Guido Lerch wrote: >> Subject: [PATCH 3/3] UEMIS-bug fix, fixing dialog message >> >> I prefer to use the almost full message because in general

Re[2]: testing the Uemis code [was Re: UEMIS-bug fix: fixing the dialog message when the memory us full]

2015-09-15 Thread Guido Lerch
download issue on the Uemis tomorrow. Late here now. G. Lerch Dienstag, 15. September 2015 21:12 +0200 von Dirk Hohndel <d...@hohndel.org>: >On Tue, Sep 15, 2015 at 09:05:49PM +0200, Guido Lerch wrote: >> Good :-) >> >> I will try to fix the Uemis oddities o

Re[2]: testing the Uemis code [was Re: UEMIS-bug fix: fixing the dialog message when the memory us full]

2015-09-15 Thread Guido Lerch
Hi Linus It does work BUT you cannot use the force download at this time. Also you need the last master because you seem not to have the latest patch I sent. Don't waste your time, I let you know once it's worth testing again. Sorry for this, I never used force download because it wasn't

UEMIS-patch new memory calculation

2015-09-15 Thread Guido Lerch
-- Best regards, Guido From 7ed10cfa3a86a1765d6c425b1455afa5c33b9ecf Mon Sep 17 00:00:00 2001 From: glerch Date: Tue, 15 Sep 2015 16:46:20 +0200 Subject: [PATCH 2/2] UEMIS-new memory calculation New calculation doing better UEMIS memory handling leading into more dives

UEMIS-bug fix: fixing the dialog message when the memory us full

2015-09-15 Thread Guido Lerch
-- Best regards, Guido From 97b3fb1d88a6f3795b2c419ce7b06c2a3dfa9c1b Mon Sep 17 00:00:00 2001 From: glerch Date: Tue, 15 Sep 2015 16:54:14 +0200 Subject: [PATCH 3/3] UEMIS-bug fix, fixing dialog message I prefer to use the almost full message because in general the

Uemis patch - bug fix

2015-09-14 Thread Guido Lerch
This is kind of an embarrassing one :-( -- Best regards, Guido From a060aa2c94ab5625603cbcf4933c5baaea29c9e2 Mon Sep 17 00:00:00 2001 From: glerch Date: Mon, 14 Sep 2015 22:29:18 +0200 Subject: [PATCH 6/6] Uemis - bugfix wrong variable addressing Made a mistage when

Re: Uemis patches

2015-09-14 Thread Guido Lerch
ou call a function that returns a value > and you then ignore it. But your new helper in patch 4 is of type void, so > you don't need to cast to (void). > > Pushed. > > /D > > On Mon, Sep 14, 2015 at 10:09:23PM +0200, Guido Lerch wrote: > > One bug fix, > > 2 code

Re: Uemis patches

2015-09-14 Thread Guido Lerch
The last patch I sent you puts the case back, wait a second I fix that. 2015-09-14 22:35 GMT+02:00 Dirk Hohndel <d...@hohndel.org>: > On Mon, Sep 14, 2015 at 10:27:57PM +0200, Guido Lerch wrote: > > Thanks Dirk, sometimes by brain doesnt catch those things. Will send > >

  1   2   >