Allow user to select dive mode (including PSCR)

2015-01-10 Thread Robert Helling
Hi, this set of patches allows the user to set a dive mode (OC, PSCR, CCR, Freedive). OC is what we used to do, PSCR should use the oxygen drop formula (please test) CCR should start the dive with a default set-point (can be set in preferences) Freedive is not really implemented, yet. Si

Re: Generation and location of ui_*.h files

2015-01-10 Thread Linus Torvalds
On Jan 10, 2015 1:21 AM, "Anton Lundin" wrote: > > Or, git clean -xdf is your friend. So I do that all the time, but be *careful*. git clean -dqfx Will remove *all* non-tracked files in your git tree. That is often very useful, but it's only useful if the *only* thing you have in that direc

Re: [PATCH] Visualisation of individual oxygen sensor data for CCR dives

2015-01-10 Thread Anton Lundin
On 09 January, 2015 - Willem Ferguson wrote: > On 09/01/2015 16:32, Anton Lundin wrote: > > > >I've bin thinking if this is a good idea to plot in our already massive > >plot. > > > >I'm more leaning towards just plotting a computed po2 value here, and > >the setpoint of course, and then rather ad

Re: selecting the dives a user wants to import

2015-01-10 Thread Miika Turkia
On Sat, Jan 10, 2015 at 1:40 AM, Dirk Hohndel wrote: > On Sat, Jan 10, 2015 at 01:35:59AM +0200, Miika Turkia wrote: > > > > > > new throws the crash, so that makes me think that there are more out of > > > bounds errors here > > > I’d suggest running this under Valgrind. > > > > Good idea, but I

Re: Generation and location of ui_*.h files

2015-01-10 Thread Anton Lundin
On 09 January, 2015 - Dirk Hohndel wrote: > On Fri, Jan 09, 2015 at 11:03:21AM -0500, John Van Ostrand wrote: > > I'm trying to get through a problem on Fedora 20 where I can't build > > subsurface master. > > > > The problem is that the /ui_*.h files are old and aren't being rebuilt. I'm > > not