Re: cloud storage

2015-06-13 Thread Joakim Bygdell
On 13 Jun 2015, at 16:17, Dirk Hohndel d...@hohndel.org wrote: On Jun 13, 2015, at 7:06 AM, Joakim Bygdell j.bygd...@gmail.com mailto:j.bygd...@gmail.com wrote: Selecting “Cloud storage open” from file menu gives me this error message. git clone of https://cloud.subsurface

Re: cloud storage

2015-06-13 Thread Joakim Bygdell
On 13 Jun 2015, at 15:53, Dirk Hohndel d...@hohndel.org wrote: On Jun 13, 2015, at 1:26 AM, Joakim Bygdell j.bygd...@gmail.com mailto:j.bygd...@gmail.com wrote: On 12 Jun 2015, at 23:09, Dirk Hohndel d...@hohndel.org mailto:d...@hohndel.org wrote: I just pushed a bunch

Re: cloud storage

2015-06-13 Thread Joakim Bygdell
On 12 Jun 2015, at 23:09, Dirk Hohndel d...@hohndel.org wrote: I just pushed a bunch of changes to the cloud storage. This should be ready for testing now. Creating stuff via the preferences went without a hitch in the sense that it did not generate any errors. Selecting “Cloud

Re: Dive site management on daily build 4.4.2.669

2015-06-10 Thread Joakim Bygdell
On 10 Jun 2015, at 17:07, Dirk Hohndel d...@hohndel.org wrote: If the user just added a location name, never went to the dive site edit screen and then saves the dive (so Apply changes in the Notes tab) then we look at the name - if it's a known dive site name we pick that one (no idea

Re: Dive site management on daily build 4.4.2.669

2015-06-10 Thread Joakim Bygdell
On 10 Jun 2015, at 17:52, Dirk Hohndel d...@hohndel.org wrote: On Wed, Jun 10, 2015 at 03:49:35PM +, Benjamin wrote: Maybe if the dives are withing something smaller than 5 metres then merge them? Yes, even 10m seems like obviously the same spot. 50m is more questionable in my

Re: git backend: actually update local cache from remote

2015-06-10 Thread Joakim Bygdell
On 11 Jun 2015, at 6:16, Dirk Hohndel d...@hohndel.org wrote: I've been going back and forth about this a bit, and here's my current thinking (which may be silly, but it's much easier to start a discussion by putting something out there and then have Davide come up with something better

Re: storing to git data files [was Re: Subsurface ans Dropbox]

2015-05-28 Thread Joakim Bygdell
On 28 May 2015, at 17:12, Dirk Hohndel d...@hohndel.org wrote: On Thu, May 28, 2015 at 08:09:25AM -0700, Dirk Hohndel wrote: On Thu, May 28, 2015 at 04:37:19PM +0200, Joakim Bygdell wrote: On 27 May 2015, at 23:54, Linus Torvalds torva...@linux-foundation.org wrote: On Wed, May 27

Re: storing to git data files [was Re: Subsurface ans Dropbox]

2015-05-27 Thread Joakim Bygdell
On 27 May 2015, at 19:01, Dirk Hohndel d...@hohndel.org wrote: On Wed, May 27, 2015 at 09:48:21AM -0700, Dirk Hohndel wrote: On Wed, May 27, 2015 at 06:22:32PM +0200, Davide DB wrote: A little OT What is the git integration that sometimes people here talk about? How it (should) works

[PATHC] Improvements to recreational mode.

2015-04-09 Thread Joakim Bygdell
Patch-1: We need to track the gas used during the safety stop or we might start the ascent to late. Patch-2: Allow the user to change the gas reserve within the range of 10-99 bar. Patch-3: Since we use bottom sac when we calculate the gas used in the ascent we should ignore the deco sac or

Re: [PATHC] Improvements to recreational mode.

2015-04-09 Thread Joakim Bygdell
Patch-3: Since we use bottom sac when we calculate the gas used in the ascent we should ignore the deco sac or the dive plan details will differ from the displayed profile. Replacement patch that sets deco sac during ascent in recreational mode.

[PATCH] Read stored planner prefs when starting.

2015-04-05 Thread Joakim Bygdell
Back in 5bf23381e we started storing planner settings in prefs. We need to read those settings back when we start the planner. 0001-Read-stored-planner-prefs-when-starting.patch Description: Binary data /Jocke ___ subsurface mailing list

Re: Calculate gas use in recreational mode

2015-04-05 Thread Joakim Bygdell
With the addition of gas reserves in recreational mode, we need to make sure that the first leg is short enough that we have more than the specified reserve of gas left at the end of the leg. 0001-Shorten-the-first-leg-of-the-planner.patch Description: Binary data On 04 Apr 2015, at 18:45,

Re: Recreational mode, Add 3min stop

2015-04-02 Thread Joakim Bygdell
0001-Add-3min-stop-to-recreational-mode-V2.patch Description: Binary data The first version of the patch had a wrong ascent time from the stop to the surface.On 02 Apr 2015, at 10:01, Joakim Bygdell j.bygd...@gmail.com wrote:On 01 Apr 2015, at 17:24, Robert Helling hell...@lmu.de wrote:Hi,0001

[PATCH] GUI fix for OSX.

2015-03-21 Thread Joakim Bygdell
To much padding makes the header cover the first dive in the list. 0001-GUI-fix-for-OSX.patch Description: Binary data /Jocke ___ subsurface mailing list subsurface@subsurface-divelog.org

Re: Mac Build Instructions

2015-03-21 Thread Joakim Bygdell
On 21 Mar 2015, at 15:10, Lubomir I. Ivanov neolit...@gmail.com wrote: On 21 March 2015 at 00:54, James agnosticp...@gmail.com wrote: I was able to build SS yesterday on my Mac but not without an issue. I've attached the patch describing the issue which updates the INSTALL instructions.

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

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

Fix #795

2015-03-09 Thread Joakim Bygdell
0001-Fixes-795.patch Description: Binary data /Jocke ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: Plan Dive -- thoughts

2015-03-02 Thread Joakim Bygdell
On 02 Mar 2015, at 5:51, Steve Butler kg...@comcast.net wrote: On 02/27/2015 10:54 PM, Joakim Bygdell wrote: On 27 Feb 2015, at 21:23, Steve Butler kg...@comcast.net mailto:kg...@comcast.net wrote: Now, as an OC rec diver (soon to have access to the 100-130 depths) I would

Re: Cylinder list

2015-02-18 Thread Joakim Bygdell
On 19 Feb 2015 06:24, Miika Turkia miika.tur...@gmail.com wrote: On Thu, Feb 19, 2015 at 12:45 AM, Davide DB dbdav...@gmail.com wrote: Hi, Where are stored cylinders in the equipment tab combo box? Some are hard-coded in the sources, some others are read from your XML file and added on

Re: [PATCH] Only copy used cylinders to planner.

2015-02-15 Thread Joakim Bygdell
On 15 Feb 2015, at 12:31, Robert C. Helling hell...@atdotde.de wrote: Hi, On 15 Feb 2015, at 09:49, Robert C. Helling hell...@atdotde.de mailto:hell...@atdotde.de wrote: thank you for sending this. I had a similar patch some time ago and it was voted down but I would agree that this

Re: Subsurface dive planner - List of findings

2015-02-14 Thread Joakim Bygdell
With the new dive planner I have the following issue: When I plan a dives the tool always uses the gases EAN33 and Tx50/15 while I didn't select them. I selected Tx21/35, EAN50 and Oxy for my dive. The planner always comes up with the gases of the currently selected dive. That way you

Re: Subsurface dive planner - List of findings

2015-02-14 Thread Joakim Bygdell
On 14 Feb 2015, at 21:37, Stefan Fuchs sfu...@gmx.de wrote: Hello Robert, Hello All, example files plus description... What happens on my side is the following: - I select a real dive in my logbook where I only used one gas EAN32 Could you send that dive as well? I cannot

Re: Beta 2 posted and announced

2015-01-25 Thread Joakim Bygdell
Mac version: * When opening a new logbook the maps shows the locations and flags of the last selected dive in the old logbook. * Zooming in the map is erratic, often it jumps back to the last state. * Using view mode 5 - Full screen map, results in segfault. “QPainter::begin: Paint

[PATCH] move the heart rate graph. Fixes #815

2015-01-17 Thread Joakim Bygdell
This moves the heart rate graph so that it don’t overlap with temperature or partial pressure graphs. What is missing is to make the hr-graph and the tissue graph competitive as they occupy the same space in the profile. 0001-Move-the-heart-rate-graph.patch Description: Binary data /Jocke

Re: Issues with dive planner

2015-01-14 Thread Joakim Bygdell
On 14 Jan 2015, at 19:01, David Tillotson da...@acmelabs.co.uk wrote: As the weather here is not exactly ideal to get out, I thought I'd do some planner comparisons, but have a bit of problem using the planner. When moving points on the planner profile, it seems that the calculations are

Re: Patches concerning the speed of mouse-movement over the profile.

2015-01-14 Thread Joakim Bygdell
On 15 Jan 2015, at 2:49, Dirk Hohndel d...@hohndel.org wrote: On Wed, Jan 14, 2015 at 11:41:48PM -0200, Tomaz Canabrava wrote: It seems that you forgot those: already rebased against master. Indeed, I had skipped a couple of patches for some reason. Just pushed again, this should now

Re: [PATCH] Minor code cleanup in profilewidget2.cpp

2015-01-09 Thread Joakim Bygdell
On 09 Jan 2015, at 18:15, Dirk Hohndel d...@hohndel.org wrote: On Fri, Jan 09, 2015 at 09:08:26AM +0200, Willem Ferguson wrote: 1) Delete a few commented-out lines that I created myself. I'll do this in the initial commit when applying it. 2) Delete two groups of 4 instructions which

Re: [PATCH] Minor code cleanup in profilewidget2.cpp

2015-01-09 Thread Joakim Bygdell
On 09 Jan 2015, at 19:28, Willem Ferguson willemfergu...@zoology.up.ac.za wrote: On 09/01/2015 20:06, Joakim Bygdell wrote: That code needs to be in those two locations, one is executed when you interact with the profile. The other when a dive is selected and everything is initiated

[PATCH] Use correct name for oxygen

2015-01-05 Thread Joakim Bygdell
When a dive uses oxygen we should not call it EAN100. 0001-Use-correct-name-for-oxygen.patch Description: Binary data /Jocke ___ subsurface mailing list subsurface@subsurface-divelog.org

[PATCH] Give oxygen its own colour in the tankbar

2015-01-05 Thread Joakim Bygdell
Oxygen should be representad by its own solid green colour not the yellow/green of nitrox. 0002-Give-oxygen-a-proper-colour-in-the-tankbar.patch Description: Binary data /Jocke ___ subsurface mailing list subsurface@subsurface-divelog.org

[PATCH] Use proper gas names in the divelist.

2015-01-05 Thread Joakim Bygdell
We should be consistent about how we display gases in the divelist. That means using proper gas names and only show one gas mix, regardles if multiple gases are used. 0003-Use-proper-gas-names-in-the-divelist.patch Description: Binary data /Jocke

Re: layout changes

2015-01-04 Thread Joakim Bygdell
On 04 Jan 2015, at 16:33, Dirk Hohndel d...@hohndel.org wrote: On Sun, Jan 04, 2015 at 04:29:03PM +0100, Joakim Bygdell wrote: Hmm - interesting observation. Let me see if I can make it do something useful with my limited Qt skills :-) toolBar-setIconSize(QSize(24, 24)); You should

Re: layout changes

2015-01-04 Thread Joakim Bygdell
But the thing that strikes me the worst is the wasted space in the toolbar between the tab widget and the profile. Something is scaling the icons and adding this massive amount of white space around them that allows us to only show 7 buttons at this resolution (~1000x~550 - so that’s what

Re: only copy used cylinders to planned dive

2015-01-01 Thread Joakim Bygdell
Let's see if we can get som insight into this issue. In 4.2 and earlier when downloading from my DC all enabled gases are downloaded on each dive. But only the first gas are given cylinder size and pressure as seen below. cylinder size='24.0 l' workpressure='232.0 bar' description='D12 232 bar'

Re: only copy used cylinders to planned dive

2014-12-31 Thread Joakim Bygdell
Someone who actually observed the issue needs to speak up I’m on it, but there are a few thing that I need to verify before I can make any conclusions. /D ___ subsurface mailing list subsurface@subsurface-divelog.org

Re: OSTC firmware update prompt and planning for 4.4

2014-12-29 Thread Joakim Bygdell
On 29 Dec 2014, at 10:06, Robert C. Helling rob...@euve10195.vserver.de wrote: Hi Am 29.12.2014 um 06:09 schrieb Dirk Hohndel d...@hohndel.org: Is there any other features that's almost ready and that we should wait for? I think I have pSCR planning almost ready: the backend

Re: [PATCH 16/17] Remove unused strings from ui files

2014-12-24 Thread Joakim Bygdell
widget class=QLineEdit name=filterInternalList diff --git a/qt-ui/tableview.ui b/qt-ui/tableview.ui index 7386723..dce3fb7 100644 --- a/qt-ui/tableview.ui +++ b/qt-ui/tableview.ui @@ -10,12 +10,6 @@ height300/height /rect /property - property name=windowTitle -

commit c76cb59

2014-12-12 Thread Joakim Bygdell
Dirk, I suggest that you reverse commit c76cb59. After your patch the line of the temperature graph sometimes gets drawn through the depth notation of the deepest point of the profile thereby obscuring the text. /Jocke ___ subsurface mailing list

Re: [PATCH] main.cpp: fix broken build for libgit2 0.21

2014-12-07 Thread Joakim Bygdell
On 07 Dec 2014, at 20:16, Lubomir I. Ivanov neolit...@gmail.com wrote: On 7 December 2014 at 21:08, Joakim Bygdell j.bygd...@gmail.com wrote: Both your patches breaks building on Mac. llibgit2 version.h #define LIBGIT2_VERSION 0.21.2 #define LIBGIT2_VER_MAJOR 0 #define

Re: Thoughts on Bug 717

2014-11-21 Thread Joakim Bygdell
On 21 Nov 2014, at 16:38, John Van Ostrand j...@vanostrand.com wrote: To address the position of the temperature graph on the dive profile window how about allowing the user to move the graph out of the way? A totally different approach that the patch I sen on Nov 2 that simply moved the

Re: Thoughts on Bug 717

2014-11-21 Thread Joakim Bygdell
On 21 Nov 2014, at 18:04, Dirk Hohndel d...@hohndel.org wrote: On Fri, Nov 21, 2014 at 05:35:59PM +0100, Joakim Bygdell wrote: On 21 Nov 2014, at 16:38, John Van Ostrand j...@vanostrand.com wrote: To address the position of the temperature graph on the dive profile window how about

Re: serial and firmware -- please help

2014-11-21 Thread Joakim Bygdell
On 21 Nov 2014, at 0:41, Dirk Hohndel d...@hohndel.org wrote: So I pushed a patch that will dump some data to stderr when you download dives from your dive computer. And I'd love for as many people as possible to run this against all the dive computers you can get your hands on and respond

Re: serial and firmware -- please help

2014-11-21 Thread Joakim Bygdell
On 21 Nov 2014, at 21:53, Linus Torvalds torva...@linux-foundation.org wrote: On Fri, Nov 21, 2014 at 12:47 PM, Joakim Bygdell j.bygd...@gmail.com wrote: From my OSTC3 Serial is correct, but the firmware should be 1.60. libdc devinfo firmware version converted to 03.16 So

<    1   2   3