Re: [GSoC 2015] Introduction

2015-03-16 Thread Claudiu Olteanu
Thanks for your responses. Currently I use a OpenSuse distribution (13.2 - KDE - x86_64). I will try to do the cross build when I will get back home and I will let you know if it works. If not I can certainly look over the scripts and try to make them work. In this way I will expand my contributi

Re: [PATCH] Improved adding images

2015-03-16 Thread Jan Darowski
Ok, I can introduce changes you mentioned but i'm not sure how to handle multiple dives. Maybe I will introduce some kind of tables, one with filenames and timestamps and the second one with dives and their time range. Then highlight invalid photos... Or just assume that in most cases we only use o

Re: [PATCH] Improved adding images

2015-03-16 Thread Miika Turkia
On Mon, Mar 16, 2015 at 9:39 AM, Jan Darowski wrote: > Ok, I can introduce changes you mentioned but i'm not sure how to > handle multiple dives. Maybe I will introduce some kind of tables, one > with filenames and timestamps and the second one with dives and their > time range. Then highlight in

Re: Which protocol to implement on a home brewed diving computer ?

2015-03-16 Thread Thomas Schrein (mailinglists)
Thanx guys, for all the comments. @Linus We are using the USB-CDC package from ST for our STM32F4. It comes with a driver for the PC that make a COM port, for linux it should work the standard linux kernel !? At the moment it is ok for us, but I am looking for a way to have the USB also work w

Re: GSOC 2015

2015-03-16 Thread Thomas Schrein
Robert, Rick, we are also very interested to have VPM running on a real diving computer; that's one reason, we build our oDiCo project based on a CORTEX M4 kernel, we are using a STM32F4, that has a build in FPU to speed up floating point operations. We think it is very important for divers

Re: Which protocol to implement on a home brewed diving computer ?

2015-03-16 Thread Long, Martin
> I agree with Linus that UDDF is the definition of bloated. Otoh it sees to be > the least common divisor if a lot of software in this sector. > If you do decide to go the UDDF route (and I strongly recommend you don't), then get in touch with me. We're currently on a 'beta' version of the UDDF

Re: GSOC 2015

2015-03-16 Thread Dirk Hohndel
On Mon, Mar 16, 2015 at 04:02:06PM +0100, Robert Helling wrote: > Thomas, > > of course I agree (otherwise we would’t propose that project) and many of our > users ask for such a thing (as other deco software offers it). > > As far as practical use is concerned, however, I doubt that it would ma

Re: Which protocol to implement on a home brewed diving computer ?

2015-03-16 Thread Linus Torvalds
On Mon, Mar 16, 2015 at 6:29 AM, Thomas Schrein (mailinglists) wrote: > > @Linus > We are using the USB-CDC package from ST for our STM32F4. It comes with a > driver for the PC that make a COM port, for linux it should work the > standard linux kernel !? At the moment it is ok for us, but I am loo

Re: Which protocol to implement on a home brewed diving computer ?

2015-03-16 Thread Miika Turkia
On Mon, Mar 16, 2015 at 3:29 PM, Thomas Schrein (mailinglists) < tsx...@schrein.de> wrote: > > > Any idea were I can find that SeaBear-spec in the mailing list, or just > ask Miika ? > All the information I have should be available on our mailing list archive. Here are links to those threads (rem

Re: GSOC 2015

2015-03-16 Thread Dirk Hohndel
On Sat, Mar 14, 2015 at 02:50:11PM +0100, Henrik Brautaset Aronsen wrote: > On 14 Mar 2015, at 13:13, Henrik Brautaset Aronsen > wrote: > > > > There's also an issue pointing to the various discussions we've been having > > about VPM: http://trac.hohndel.org/ticket/721 > > Dirk: The mailing li

segfault adding images + problems with locations

2015-03-16 Thread Pedro Neves
Hi all: Using Subsurface version 4.4.1-225-g0d77b921eb11 I have a segfault when adding images to my dive. I select a dive, then load images: - I get an error message on the load image dialog saying that "not all images have timestamps between 30 minutes before the start and 30 minutes after

Re: segfault adding images + problems with locations

2015-03-16 Thread Dirk Hohndel
On Mon, Mar 16, 2015 at 05:11:13PM +, Pedro Neves wrote: > Hi all: > > Using Subsurface version 4.4.1-225-g0d77b921eb11 I have a segfault when > adding images to my dive. > I select a dive, then load images: > > - I get an error message on the load image dialog saying that "not all > images h

Re: Which protocol to implement on a home brewed diving computer ?

2015-03-16 Thread Linus Torvalds
On Mon, Mar 16, 2015 at 6:29 AM, Thomas Schrein (mailinglists) wrote: > >Because serial is running already we prefer to use a > already available protocol like the "SeaBear", you've mentioned. So while SeaBear is fairly simple (it's just a comma-separated file), I don't think you really w

Re: segfault adding images + problems with locations

2015-03-16 Thread Pedro Neves
Hi Dirk: On 03/16/2015 05:15 PM, Dirk Hohndel wrote: That sucks. Any chance you can run this under a debugger and get us a back trace? Here it goes: (gdb) run Starting program: /usr/bin/subsurface /usr/bin/subsurface [Thread debugging using libthread_db enabled] Using host libthread_db libr

Re: segfault adding images + problems with locations

2015-03-16 Thread Miika Turkia
run "bt" after the crash. Debug symbols would also really help us. qmake -config debug before compiling. But the back trace might also be enough info. miika > On 16 Mar 2015, at 19:31, Pedro Neves wrote: > > Hi Dirk: > > > >> On 03/16/2015 05:15 PM, Dirk Hohndel wrote: >> That sucks. Any

Re: segfault adding images + problems with locations

2015-03-16 Thread Pedro Neves
Hi Miika: On 03/16/2015 05:37 PM, Miika Turkia wrote: run "bt" after the crash. Debug symbols would also really help us. qmake -config debug Done. Here it goes: Program received signal SIGSEGV, Segmentation fault. 0x0044a5e4 in dive_set_geodata_from_picture () (gdb) bt #0 0x000

Re: segfault adding images + problems with locations

2015-03-16 Thread Dirk Hohndel
On Mon, Mar 16, 2015 at 10:15:05AM -0700, Dirk Hohndel wrote: > > > Also, after I download a dive from my dive computer (Uwatec Tec 2G), I'm > > trying to insert the information for the dive site. I write the name of the > > site and press manage. > > On the divesite dialog, all fields are empty.

Re: segfault adding images + problems with locations

2015-03-16 Thread Willem Ferguson
On 16/03/2015 19:11, Pedro Neves wrote: Hi all: Also, after I download a dive from my dive computer (Uwatec Tec 2G), I'm trying to insert the information for the dive site. I write the name of the site and press manage. On the divesite dialog, all fields are empty. I insert the information (

Re: segfault adding images + problems with locations

2015-03-16 Thread Jan Darowski
I will fix this warning on widgets startup, it can be ignored. The problem with segfault seems to appear when there is no dive site specified but picture has some gps coordinates (it's strange that no one noticed it before, it's an old issue). Here is the patch. I checked it with hand made exif da

Re: segfault adding images + problems with locations

2015-03-16 Thread Jan Darowski
blargh, of course wrong file. Here is the correct one. 2015-03-16 19:54 GMT+01:00 Jan Darowski : > I will fix this warning on widgets startup, it can be ignored. > > The problem with segfault seems to appear when there is no dive site > specified but picture has some gps coordinates (it's strange

Fwd: Three patches

2015-03-16 Thread Robert Helling
Dirk,it seems, these never got applied.(one more coming).BestRobertBegin forwarded message:From: Robert Helling Subject: Three patchesDate: 2 Mar 2015 16:31:33 GMT+1To: Subsurface Mailing List Hi,here are three more patches.From 7555ca86055a95b5ca2

Re: segfault adding images + problems with locations

2015-03-16 Thread Dirk Hohndel
On Mon, Mar 16, 2015 at 08:02:52PM +0100, Jan Darowski wrote: > From 36bfb9a7303748caf6da3cf747a029476d971460 Mon Sep 17 00:00:00 2001 > From: Jan Darowski > Date: Mon, 16 Mar 2015 19:48:55 +0100 > Subject: [PATCH] Fixed dive_set_geodata_from_picture segfault. > > Segfault did appear when picture

Re: Fwd: Three patches

2015-03-16 Thread Dirk Hohndel
That's an even better fix... /D On Mon, Mar 16, 2015 at 08:23:35PM +0100, Robert Helling wrote: > From 7555ca86055a95b5ca2595a4979d85de5e16464a Mon Sep 17 00:00:00 2001 > From: "Robert C. Helling" > Date: Mon, 2 Mar 2015 15:14:55 +0100 > Subject: [PATCH 1/3] When loading an image with geodata cr

Re: segfault adding images + problems with locations

2015-03-16 Thread Steve Butler
On 03/16/2015 10:15 AM, Dirk Hohndel wrote: On Mon, Mar 16, 2015 at 05:11:13PM +, Pedro Neves wrote: Hi all: Using Subsurface version 4.4.1-225-g0d77b921eb11 I have a segfault when adding images to my dive. I select a dive, then load images: - I get an error message on the load image dialo

Re: segfault adding images + problems with locations

2015-03-16 Thread Dirk Hohndel
On Mon, Mar 16, 2015 at 02:00:25PM -0700, Steve Butler wrote: > >The current development version is not all that useful for actual work - > >which is why I haven't made another daily build... > > AHA. And I spent last night trying to figure out what was wrong with my PPA > setup! :-) > > Good t

Patch for #848

2015-03-16 Thread Matthew Vepritskiy
I made a patch for ticket # 848, but I have a suspicion that somewhere I screwed up. http://trac.subsurface-divelog.org/ticket/848#no2 Patch fixes the problem when you can create a set of points that do not belong to the line. The problem lies in the function fixHandlerIndex (qt-ui / profile /

git clone git://git.subsurface-divelog.org/marble -> warning: remote HEAD refers to nonexistent ref, unable to checkout.

2015-03-16 Thread Lutz Vieweg
Hi, my recent attempt to compile the latest subsurface ended at: > git clone git://git.subsurface-divelog.org/marble warning: remote HEAD refers to nonexistent ref, unable to checkout. In other news, qt-everywhere-opensource-src-5.4.1.tar.gz was unwilling to compile the "qtwebkit" module, no

Re: git clone git://git.subsurface-divelog.org/marble -> warning: remote HEAD refers to nonexistent ref, unable to checkout.

2015-03-16 Thread Dirk Hohndel
> On Mar 16, 2015, at 4:43 PM, Lutz Vieweg wrote: > > Hi, > > my recent attempt to compile the latest subsurface ended at: >> > git clone git://git.subsurface-divelog.org/marble >> warning: remote HEAD refers to nonexistent ref, unable to checkout. > Yep. That’s not what the instructions tell

Re: git clone git://git.subsurface-divelog.org/marble -> warning: remote HEAD refers to nonexistent ref, unable to checkout.

2015-03-16 Thread Thiago Macieira
On Tuesday 17 March 2015 00:43:44 Lutz Vieweg wrote: > In other news, qt-everywhere-opensource-src-5.4.1.tar.gz > was unwilling to compile the "qtwebkit" module, no matter what I do - > it comes with "qtwebengine", though, the Chromium based module is built. What do you mean by unwilling? Did it n

Support for #789

2015-03-16 Thread Harsh Jain
Hi all, I am trying to solve #789 but i don't know exactly where and what to look for.Kindly help me. P.S.: I tried looking up the code and suspect two files. Regards, Harsh ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.su

[PATCH] Consistent variable names in UndoCommands class

2015-03-16 Thread Grace Karanja
Implements a uniform variable naming scheme in the undocommands class. Signed-off-by: Grace Karanja --- qt-ui/undocommands.cpp | 35 +-- qt-ui/undocommands.h | 8 2 files changed, 21 insertions(+), 22 deletions(-) diff --git a/qt-ui/undocommands.cpp b