[PATCH] Return to divelist even from "further away"

2016-01-22 Thread Miika Turkia
If one browses the application more than one step (e.g. details, gps fix list and preferences), we need to pop the stack a bit more to get back to the dive list. This will clear the whole stackView as I saw no harm in discarding the history when one jumps back to the dive list. Signed-off-by:

[PATCH] Show only as many stats as there are DC types

2016-01-22 Thread Miika Turkia
After reserving only the required amount of data for stats_by_type, we showed an extra DC type on the statistics (no more extra space filled with 0 at the end of the buffer) Signed-off-by: Miika Turkia --- qt-models/yearlystatisticsmodel.cpp | 2 +- 1 file changed, 1

[no subject]

2016-01-22 Thread Tomaz Canabrava
more work on making the settings acessble in a sane way from the Qml / QWidgets frontend the work on the settings wrapper is done, next batch of patches I'll change qml code to actually use it. From 0e3320c0d5a361226de84edd948a2f35268c940a Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava

[PATCH] Show map from the list of GPS fixes

2016-01-22 Thread Miika Turkia
Signed-off-by: Miika Turkia --- qt-mobile/qml/GpsList.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/qt-mobile/qml/GpsList.qml b/qt-mobile/qml/GpsList.qml index 422775e..07dc4a5 100644 --- a/qt-mobile/qml/GpsList.qml +++ b/qt-mobile/qml/GpsList.qml @@ -98,6 +98,7

Re: Subsurface-mobile crashes [was: Crash reports?]

2016-01-22 Thread Henrik Brautaset Aronsen
On Thu, Jan 21, 2016 at 11:52 AM, Henrik Brautaset Aronsen wrote: > > A completely different thing: Earlier I was redirected to google maps > when I selected the dive site name (which was cool), now nothing happens. > Is this a regression or something that's being worked on? >

[PATCH] QML-UI. Add Back to Divelist menu item

2016-01-22 Thread Jan Mulder
Patch attached. Notice that this is the patch suggested by Henkrik, who might want to implement it himself. In that case, just ignore this one. As asked for on the mailinglisrt, a menu item is added to return to the Divelist the easy way. In addition to the standard Android back button.

[PATCH] QML-UI. Improved button style and font size, change

2016-01-22 Thread Jan Mulder
Patch attached. Pressing of buttons were difficult to see mainly due to small buttons and small color distance between pressed and un-pressed state. This fix enlarges the buttons a little, and choses a different color for the pressed state. In addtion, the title fontsize was huge (for example

Re: stack trace for the crash

2016-01-22 Thread Thiago Macieira
On Friday 22 January 2016 09:31:38 Dirk Hohndel wrote: > #11 0x7fffe40607f7 in QQuickGridLayoutBase::geometryChanged > (this=this@entry=0x429ca50, newGeometry=..., oldGeometry=...) at > qquicklinearlayout.cpp:500 > #12 0x7529a3a4 in QQuickItem::setImplicitSize >

[PATCH 4/5] configure OSTC3: Add temperature sensor offset

2016-01-22 Thread Anton Lundin
Signed-off-by: Anton Lundin --- desktop-widgets/configuredivecomputerdialog.cpp | 2 ++ desktop-widgets/configuredivecomputerdialog.ui | 26 subsurface-core/configuredivecomputerthreads.cpp | 19 +++-- subsurface-core/devicedetails.cpp

[PATCH 2/5] Remove unused headers

2016-01-22 Thread Anton Lundin
Signed-off-by: Anton Lundin --- subsurface-core/configuredivecomputerthreads.cpp | 1 - subsurface-core/configuredivecomputerthreads.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/subsurface-core/configuredivecomputerthreads.cpp

[PATCH 3/5] Use libdivecomputer libc wrappers instead of Qt

2016-01-22 Thread Anton Lundin
Signed-off-by: Anton Lundin --- subsurface-core/configuredivecomputerthreads.cpp | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/subsurface-core/configuredivecomputerthreads.cpp b/subsurface-core/configuredivecomputerthreads.cpp index

[PATCH 5/5] configure OSTC/OSTC3: Add safety stop parameters

2016-01-22 Thread Anton Lundin
This adds the configure parameters for safety stops on the hwOS(OSTC3) and OSTC computers. Signed-off-by: Anton Lundin --- desktop-widgets/configuredivecomputerdialog.cpp | 16 + desktop-widgets/configuredivecomputerdialog.ui | 706 +--

[PATCH 1/5] Remove workaround for OSTC Sport 10.22 and below

2016-01-22 Thread Anton Lundin
Now with firmware 10.23, the settings behave as they should, and won't hang the communication. Signed-off-by: Anton Lundin --- subsurface-core/configuredivecomputerthreads.cpp | 28 +--- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git

Re: GPS coordinate problems

2016-01-22 Thread Dirk Hohndel
> On Jan 21, 2016, at 11:17 PM, Willem Ferguson > wrote: > > There are problems in the way the the GPS fixes are recorded in > Subsurface-mobile > > Subsurface-Mobile Companion app > 11:20 -27.5339 32.6842 | 11:20 -27.533912 32.68416 > 11:30

Re: [PATCH] QML-UI. Improved button style and font size, change

2016-01-22 Thread Dirk Hohndel
> On Jan 22, 2016, at 4:22 AM, Jan Mulder wrote: > > Patch attached. > > Pressing of buttons were difficult to see mainly due to small buttons > and small color distance between pressed and un-pressed state. This fix > enlarges the buttons a little, and choses a different

Re: [PATCH 1/5] Remove workaround for OSTC Sport 10.22 and below

2016-01-22 Thread Miika Turkia
On Fri, Jan 22, 2016 at 3:17 PM, Anton Lundin wrote: > Now with firmware 10.23, the settings behave as they should, and won't > hang the communication. Should we check that the firmware version is recent enough? I would not be surprised if some people have not updated yet.

stack trace for the crash

2016-01-22 Thread Dirk Hohndel
I think this is much more likely a Qt bug which is why I went through and installed a debugging version of Qt. Which took for every to compile and then when I foolishly tried to install it while running my system (idiotic, I know) it crashed Plasma which crashed the install which left my system in