Re: cmake -DMARBLE_INCLUDE_DIR broken?

2015-09-24 Thread Tomaz Canabrava
Ups. Sorry for that.. My mistake Em qui, 24 de set de 2015 04:17, Gaetan Bisson escreveu: > [2015-09-23 20:10:35 -1000] Gaetan Bisson: > > So I do not change the dive site at all (just fiddle with the notes), > > and when I click "Apply Changes", in

Re: Windows binary saga

2015-09-24 Thread Rick Walsh
On 24 September 2015 at 05:56, Dirk Hohndel wrote: > And after a lot more of what I would mostly call "random changes that > make no sense" I appear to have a working daily build. > > Please try subsurface-4.4.97-41-g148b30849aba.exe (or a newer version, in > case you read this

Re: cmake -DMARBLE_INCLUDE_DIR broken?

2015-09-24 Thread Gaetan Bisson
Hi again, So I do not change the dive site at all (just fiddle with the notes), and when I click "Apply Changes", in MainTab::updateDiveSite(), the pickedUuid variable is 16777215 == 2^24-1. I'm not sure how that happens, but obviously it should be zero in order to be caught by the test you

Re: cmake -DMARBLE_INCLUDE_DIR broken?

2015-09-24 Thread Gaetan Bisson
[2015-09-23 20:10:35 -1000] Gaetan Bisson: > So I do not change the dive site at all (just fiddle with the notes), > and when I click "Apply Changes", in MainTab::updateDiveSite(), the > pickedUuid variable is 16777215 == 2^24-1. I'm not sure how that > happens, but obviously it should be zero in

Re: User manual: Bluetooth UI description

2015-09-24 Thread Claudiu Olteanu
Hi there, Steve is right. You should keep the documentation for the old native implementation because it still works. Also there are some misleading information. On Windows platforms the pairing status is done automatically on the connection step, while on the other platforms it should be done

[PATCH] Divelogs.de import: set default working pressure

2015-09-24 Thread Miika Turkia
Let's use the same assumption for working pressure (where not defined) as the origin uses. Signed-off-by: Miika Turkia --- xslt/divelogs-export.xslt | 30 -- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git

Debugging release builds on Win32

2015-09-24 Thread Lubomir I. Ivanov
some time ago i was working with some people finding errors on their software (built with MSVC), i was surprised how fast they fix issues in release builds (*cough* in most cases), by just knowing the faulting offset in the executable, with or without reproducing the bug locally. the reason for

Re: cmake -DMARBLE_INCLUDE_DIR broken?

2015-09-24 Thread Dirk Hohndel
On Wed, Sep 23, 2015 at 09:17:24PM -1000, Gaetan Bisson wrote: > [2015-09-23 20:10:35 -1000] Gaetan Bisson: > > So I do not change the dive site at all (just fiddle with the notes), > > and when I click "Apply Changes", in MainTab::updateDiveSite(), the > > pickedUuid variable is 16777215 ==

Re: Debugging release builds on Win32

2015-09-24 Thread Dirk Hohndel
> On Sep 24, 2015, at 7:44 AM, Lubomir I. Ivanov wrote: > > > > some time ago i was working with some people finding errors on their > software (built with MSVC), i was surprised how fast they fix issues > in release builds (*cough* in most cases), by just knowing the >

[PATCH] User manual update: Put back manual Bluetooth procedures

2015-09-24 Thread Willem Ferguson
[PATCH] User manual update: Put back manual Bluetooth procedures Put back the procedures for manually achieving a Bluetooth connection into APPENDIX A. Refer to the manual procedures from the text that described the new built-in Subsurface Bluetooth interface.

Location management

2015-09-24 Thread Miika Turkia
A bit of testing on location management with current master (9d1c394). The following is done in the quick edit mode, editing the site on Notes tab. I have synced the GPS coordinates from companion app before starting to work with the locations. 1) I have coordinates for the currently

Re: Location management

2015-09-24 Thread Tomaz Canabrava
Mika, I'll work on those today. Thanks for the feedback. If you don't mind sending me the dive log so I can test with your actual data. Other than that, can you please run subsurface under callgrind and test the "very slow" typing of the name a few times, and send me that file? Thanks, Tomaz Em

Re: Windows binary saga

2015-09-24 Thread Dirk Hohndel
On Thu, Sep 24, 2015 at 04:47:53PM +1000, Rick Walsh wrote: > > I'm especially interested in > > > > a) does it work on Windows 10 > > > Yes! Nice. I now have what looks like it might be a working debug environment in a Windows 10 VM. Cool. > > b) does it work with Subsurface cloud storage > > >

Re: Location management

2015-09-24 Thread Miika Turkia
On Thu, Sep 24, 2015 at 8:53 PM, Tomaz Canabrava wrote: > Miika, the issue is webkit, if you disable the help it will probably work Did not help. ==32235== Process terminating with default action of signal 11 (SIGSEGV) ==32235== Access not within mapped region at address

Re: Location management

2015-09-24 Thread Tomaz Canabrava
Miika, the issue is webkit, if you disable the help it will probably work Em qui, 24 de set de 2015 14:33, Miika Turkia escreveu: > Seems that I am not able to run callgrind. I tried to disable all the > extra stuff like marble, FB, printing, etc. but I still get a segm

Re: Windows binary saga

2015-09-24 Thread Dirk Hohndel
On Thu, Sep 24, 2015 at 08:42:02PM +, Sander M. Kleijwegt wrote: > Hi, > > I can confirm some things running on windows 7. > > - Subsurface works instead of crashing immediately. > - It doesn't work with cloud storage > + When starting without a local clone of the cloud >

RE: Windows binary saga

2015-09-24 Thread Sander M. Kleijwegt
Hi, I can confirm some things running on windows 7. - Subsurface works instead of crashing immediately. - It doesn't work with cloud storage + When starting without a local clone of the cloud (C:\Users\\AppData\Local\Subsurface directory), it loads my existing dives just fine. + When

[PATCH 1/5] Rename Suunto config field to be consistent

2015-09-24 Thread Anton Lundin
All the conflicting fields for suunto vyper configs are named _1, so rename this one to be in the same style. Signed-off-by: Anton Lundin --- qt-ui/configuredivecomputerdialog.cpp | 2 +- qt-ui/configuredivecomputerdialog.ui | 2 +- 2 files changed, 2 insertions(+), 2

[PATCH 2/5] Probe and expose OSTC3 model information

2015-09-24 Thread Anton Lundin
This looks at the OSTC3 hw descriptor and exposes that model info as a read-only line edit, so you can see in clear text the name of the model of computer. Signed-off-by: Anton Lundin --- configuredivecomputerthreads.cpp | 36 - qt-ui/configuredivecomputerdialog.cpp

[PATCH 4/5] Disable update firmware button on any other action

2015-09-24 Thread Anton Lundin
Firmware updates can only be done on a newly opened device. Signed-off-by: Anton Lundin --- qt-ui/configuredivecomputerdialog.cpp | 4 1 file changed, 4 insertions(+) diff --git a/qt-ui/configuredivecomputerdialog.cpp b/qt-ui/configuredivecomputerdialog.cpp index

[PATCH 5/5] Reset progressbar on disconnect

2015-09-24 Thread Anton Lundin
Signed-off-by: Anton Lundin --- qt-ui/configuredivecomputerdialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/qt-ui/configuredivecomputerdialog.cpp b/qt-ui/configuredivecomputerdialog.cpp index f42680b..560d0c2 100644 --- a/qt-ui/configuredivecomputerdialog.cpp

[PATCH 3/5] Skip OSTC3 configs which the sport doesn't handle

2015-09-24 Thread Anton Lundin
Use model name to skip some configs which the Sport doesn't handle and starts misbehaving on. Signed-off-by: Anton Lundin --- configuredivecomputerthreads.cpp | 28 ++-- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git

Re: Location management

2015-09-24 Thread Miika Turkia
Seems that I am not able to run callgrind. I tried to disable all the extra stuff like marble, FB, printing, etc. but I still get a segm fault when trying to get you some stats. And for the record, I did send my log to Tomaz off list. miika On Thu, Sep 24, 2015 at 7:28 PM, Tomaz Canabrava