Re: [PATCH 2/2] Ticket #831 Fix

2015-03-10 Thread Joakim Bygdell
On 10 March 2015 at 10:19, Davide DB dbdav...@gmail.com wrote: On Tue, Mar 10, 2015 at 6:52 AM, Joakim Bygdell j.bygd...@gmail.com wrote: The default cylinder setup is more suited to people that do not dive the way you do, since the way you describe it you rarely start a dive on backgas.

Re: [PATCH 2/2] Ticket #831 Fix

2015-03-10 Thread Joakim Bygdell
On 10 March 2015 at 12:08, Davide DB dbdav...@gmail.com wrote: If I recall it correctly, I remember that some developer told me that having at least a cylinder is compulsory. Why? When I import dives from my Viper in gauge mode, the cylinder table is originally empty. When I import from my

[PATCH 2/2] Ticket #831 Fix

2015-03-10 Thread Willem Ferguson
Dirk and Tomaz, How easy would it be to implement reordering the cylinders in the equipment tab after they have been copy-and- pasted from another dive, that is, without having to delete and re-type all the information for a cylinder? The present setup is not very user-friendly for divers using

Re: [PATCH 2/2] Ticket #831 Fix

2015-03-10 Thread Davide DB
If I recall it correctly, I remember that some developer told me that having at least a cylinder is compulsory. Why? When I import dives from my Viper in gauge mode, the cylinder table is originally empty. When I import from my Xdeep I have a unkonwn cylinder (it's logged into the imported uddf

Re: [PATCH 2/2] Ticket #831 Fix

2015-03-10 Thread Robert Helling
Hi all, On 10.03.2015, at 06:52, Joakim Bygdell j.bygd...@gmail.com wrote: The default cylinder setup is more suited to people that do not dive the way you do, since the way you describe it you rarely start a dive on backgas. It’s just a way to make it convenient for people that doesn’t

Re: some patches regarding the location edit.

2015-03-10 Thread Tomaz Canabrava
On Mon, Mar 9, 2015 at 5:09 PM, Dirk Hohndel d...@hohndel.org wrote: On Mon, Mar 09, 2015 at 04:01:12PM -0300, Tomaz Canabrava wrote: From 7e89b79afbefd508015841a667cc68a73865754b Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava tomaz.canabr...@intel.com Date: Mon, 9 Mar 2015 15:12:48 -0300

Adding integration with more online dive logs GSoC 2015

2015-03-10 Thread Yosef Hamza
Hey subsurface, My name is Yousef Hamza, and I'm 3rd year CESS student, I already have contributions to subsurface the desktop app and the iOS app. I'm interested in adding integration to subsurface with established online dive logs, In the description diveboard.com was mentioned I googled a

Re: [PATCH 2/2] Ticket #831 Fix

2015-03-10 Thread Davide DB
On Tue, Mar 10, 2015 at 12:52 PM, Joakim Bygdell j.bygd...@gmail.com wrote: You can change back to the first gas later in the dive if you have done a switch to another gas. If you have say 4 different gas mixes during a dive you can have a gas change series that does not follow the order

[PATCH] planner: disable mouse interaction when zoomed in

2015-03-10 Thread Lubomir I. Ivanov
From: Lubomir I. Ivanov neolit...@gmail.com When zoomed in, things like moving planner points is not possible, but if the user attempts that, replan() - plotDive() is called and the zoomLevel should be reset to the default value (we don't really want that), but instead it's lost for some reason

Re: Adding integration with more online dive logs GSoC 2015

2015-03-10 Thread Yosef Hamza
On Tue, Mar 10, 2015 at 5:02 PM, Dirk Hohndel d...@hohndel.org wrote: On Tue, Mar 10, 2015 at 02:54:48PM +0200, Yosef Hamza wrote: Hey subsurface, My name is Yousef Hamza, and I'm 3rd year CESS student, I already have contributions to subsurface the desktop app and the iOS app. You

Re: Customizable Print Formats GSoC 2015

2015-03-10 Thread Lubomir I. Ivanov
On 10 March 2015 at 17:49, Gehad Elrobey gehadelro...@gmail.com wrote: On Sun, Mar 8, 2015 at 9:40 PM, Lubomir I. Ivanov neolit...@gmail.com wrote: compared to what we do ATM - rendering the profile QWidget directly to QPrinter which produces vector (Win32 / OSX only), the introduction of SVG

Re: Allow removal of manually added unused cylinders, Fixes #832

2015-03-10 Thread Dirk Hohndel
On Tue, Mar 10, 2015 at 07:31:06PM +0100, Joakim Bygdell wrote: If we manually add a cylinder we should be allowed to remove it, unless we have assigned a gas switch to it. I wrote this code when I removed the used member of the cylinder structure. Looking back I don't understand why I did it

Allow removal of manually added unused cylinders, Fixes #832

2015-03-10 Thread Joakim Bygdell
If we manually add a cylinder we should be allowed to remove it, unless we have assigned a gas switch to it. 0001-Allow-removal-of-manually-added-unused-cylinders.patch Description: Binary data /Jocke ___ subsurface mailing list

Uwatec Smartrak dive log decoding

2015-03-10 Thread Willem Ferguson
On 10/03/2015 21:36, Salvador Cuñat wrote: I have a quite functional parser for SmartTrak files. Do you still have access to your friend's divelog? It would be great to test it, as all my dives in smarttrak are imported and I only have the example file shipped with Uwatek's app. I don't

[PATCH] datatrak: some codings style fixes and fopen() usage

2015-03-10 Thread Lubomir I. Ivanov
From: Lubomir I. Ivanov neolit...@gmail.com - subsurface_fopen() is needed - translated one puts() message - sizeof(unsigned char | char) is always 1 - pointer symbol (*) location - padding fixes - braces fixes Signed-off-by: Lubomir I. Ivanov neolit...@gmail.com --- salva, please check if i

Re: Adding integration with more online dive logs GSoC 2015

2015-03-10 Thread Dirk Hohndel
On Wed, Mar 11, 2015 at 12:13:17AM +0200, Yosef Hamza wrote: On Tue, Mar 10, 2015 at 11:39 PM, Dirk Hohndel d...@hohndel.org wrote: On Tue, Mar 10, 2015 at 11:08:14PM +0200, Yosef Hamza wrote: a) the events are ordered by time, so the moment you have one where time.seconds 0 you can

Re: [PATCH] Import Datatrak/WLog files

2015-03-10 Thread Salvador Cuñat
2015-03-10 22:25 GMT+01:00 Dirk Hohndel d...@hohndel.org: I cleaned it up a tiny bit but left it mostly unchanged... and pushed it so I wouldn't forget again :-) Hmmm. There was a little more work to do involving some recent changes like divemode. But I can't take a look until tomorrow