Subsurface-mobile Bluetooth download

2017-05-31 Thread Dirk Hohndel
After a few false starts I just did my first successful download from a Shearwater Petrel (old model with BT only, no BLE) to a Pixel XL running stock Android 7.1. http://subsurface-divelog.org/downloads/test/Subsurface-mobile-4.6.4.148-arm.apk For me it often takes several tries before Subsurfac

Re: [PATCH] iOS build with BT

2017-06-01 Thread Dirk Hohndel
On Thu, Jun 01, 2017 at 09:43:32PM +0200, Robert Helling wrote: > Hi, > > I finally managed to build and run the mobile app for iOS with bluetooth > enabled. Here is a patch to make that work: Nice work. Thanks. > When I run it and ask the phone to download dives, I get the following on the >

Re: [PATCH] iOS build with BT

2017-06-01 Thread Dirk Hohndel
On Thu, Jun 01, 2017 at 02:46:35PM -0700, Dirk Hohndel wrote: > On Thu, Jun 01, 2017 at 09:43:32PM +0200, Robert Helling wrote: > > Hi, > > > > I finally managed to build and run the mobile app for iOS with bluetooth > > enabled. Here is a patch to make that w

Re: Subsurface-mobile Bluetooth download

2017-06-05 Thread Dirk Hohndel
On Sun, Jun 04, 2017 at 05:48:03PM +0200, Joakim Bygdell wrote: > > > > (it should say something similar for other BT computer that it detects - I > > tried to make it detect OSTC computer and would love if people could > > verify that) > > I have a first generation OSCT3 with BT and it presents i

Re: Subsurface-mobile Bluetooth download

2017-06-05 Thread Dirk Hohndel
On Mon, Jun 05, 2017 at 05:00:27PM +0200, Joakim Bygdell wrote: > > > > > > I have a first generation OSCT3 with BT and it presents it self as "BM+SR > > > 3B82" > > > > We learned from HW that this should never be the case with production > > OSTC. Hmm. Not sure what to do here... that's a generic

Re: Subsurface-mobile Bluetooth download

2017-06-05 Thread Dirk Hohndel
On Mon, Jun 05, 2017 at 05:40:10PM +0200, Jan Mulder wrote: > On 05-06-17 16:41, Dirk Hohndel wrote: > > We learned from HW that this should never be the case with production > > OSTC. Hmm. Not sure what to do here... that's a generic ID for the chip > > they used -

Re: Integration of Sentinel rebreather dowload-library to Subsurface (or libdivecomputer)

2017-06-05 Thread Dirk Hohndel
> On Jun 5, 2017, at 10:18 AM, Paul-Erik Törrönen wrote: > > I recently got the libsentinel¹ completed (thanks to Miika) to the degree > that it now downloads and parses the dive data from the rebreather. Cool > It returns a struct with (almost, some data still mystifies me) all data. > > Th

Re: Overthinking on Subsurface mobile app UX

2017-06-08 Thread Dirk Hohndel
I came back from a trip to Bulgaria, and see this unsent email on my iMac. Oops. /D > On Jun 3, 2017, at 6:23 AM, Davide DB wrote: > > I had some spare time so I thought to write some suggestion on the > dive list fonts. Then I added other considerations on different > aspects of the app UX. >

Re: Github issue 412: lbs values

2017-06-10 Thread Dirk Hohndel
I'm way behind on looking at stuff. I may find time tomorrow, definitely next week on the dive trip. /D ⁣-- >From my phone​ Original Message From: "Lubomir I. Ivanov" Sent: Sat Jun 10 13:30:39 PDT 2017 To: Linus Torvalds Cc: Subsurface Mailing List , Dirk

Re: [PATCH] Fix buffer overrun and primary sensor id issues in Liquivision import

2017-06-11 Thread Dirk Hohndel
Hi Robert, And welcome to the Subsurface developer team. I'm always excited when we get new input and new reports. My absolute favorite (of course), are reports that come with patches - so I already am thrilled to have you on the team :-) > On Jun 11, 2017, at 4:05 PM, Robert Bodily wrote: > >

updates

2017-06-11 Thread Dirk Hohndel
I think I have all the patches and PRs (with the exception of one with questions) taken care of. New binaries for Ubuntu, Android and Windows have been built. I'll try to get an AppImage and Mac taken care of as well. Linus and I will be traveling the next ten days, so on the plus side there will

Re: [PATCH] MultiFilter: make sure to uncheck "Filter divelist" if the user closes

2017-06-12 Thread Dirk Hohndel
On Tue, Jun 13, 2017 at 01:18:57AM +0300, Lubomir I. Ivanov wrote: > > I'm building against Qt 5.5.1 and there are consistent asserts That is getting a bit old... > when closing / clearing the filter: > ASSERT failure in QPersistentModelIndex::~QPersistentModelIndex: > "persistent model indexes

new binaries with latest libdivecomputer as well

2017-06-12 Thread Dirk Hohndel
A full set of test builds is up that contains Linus' first draft of Scubapro G2 support. /D ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: Scubapro Galileo 2 (G2)

2017-06-15 Thread Dirk Hohndel
> On Jun 15, 2017, at 6:49 PM, Davide DB wrote: > > On 15 June 2017 at 00:25, Dirk Hohndel wrote: >> >> But first, Linus and I will have to go and create more data to test with. >> >> For Science. > > Any open position as "guinea pig"?

Re: MacBook Pro El Cap vers 10.11.6 (15G1510) Subsurface ver Subsurface v4.6.4

2017-06-15 Thread Dirk Hohndel
> On Jun 15, 2017, at 8:09 PM, Lubomir I. Ivanov wrote: > > On 15 June 2017 at 04:42, wrote: >> Hi, was using subsurface and added all my dives about 6 months ago. Went to >> try and start it today and it crashes immediately. >> >> Crash report included below. I downloaded the latest versio

Re: MacBook Pro El Cap vers 10.11.6 (15G1510) Subsurface ver Subsurface v4.6.4

2017-06-15 Thread Dirk Hohndel
On Thu, Jun 15, 2017 at 03:07:43PM +, Tomaz Canabrava wrote: > We really need to update marble on subsurface, I'll try to do that. The problem is that we have quite a few significant changes in our branch that remove features and fix issues we ran into. And keeping up with upstream was a major

Re: Latest windows build from /daily giving virus warning

2017-06-19 Thread Dirk Hohndel
This is the second report I get. The binaries are built in a way that makes me rather confident that this is a false positive (they are cross built on a Linux server at a secure data center that no one besides me has access to). Can you report this as false positive to your AV vendor, please? We

Re: Overthinking on Subsurface mobile app UX

2017-06-19 Thread Dirk Hohndel
Hi Davide, On Thu, Jun 08, 2017 at 03:19:58PM +0200, Davide DB wrote: > On 3 June 2017 at 15:23, Davide DB wrote: > > I had some spare time so I thought to write some suggestion on the > > dive list fonts. Then I added other considerations on different > > aspects of the app UX. > > > > There are

Re: Overthinking on Subsurface mobile app UX

2017-06-19 Thread Dirk Hohndel
> On Jun 20, 2017, at 12:41 AM, Willem Ferguson > wrote: > > Two points. > > 1) The dive location is shown at the top of the trip as well as for each > dive. Seeing that screen space is at a premium, is it really necessary to > indicate the location for each dive individually in addition to

Re: Overthinking on Subsurface mobile app UX

2017-06-19 Thread Dirk Hohndel
> On Jun 20, 2017, at 5:01 AM, Davide DB wrote: > > Il 19 giu 2017 5:24 PM, "Dirk Hohndel" <mailto:d...@hohndel.org>> ha scritto: > Hi Davide, > > I have taken a stab and done a partial implementation of suggestion #3 above. > And I must say, I really l

Re: Overthinking on Subsurface mobile app UX

2017-06-20 Thread Dirk Hohndel
I personally think that this will look great and will play with it. I'm hoping to spend a good part of this 12h flight ahead of us asleep, but my guess is there will be enough awake-time to implement this idea. Thanks again for the great information and especially the details about color values

Re: Overthinking on Subsurface mobile app UX

2017-06-20 Thread Dirk Hohndel
On Wed, Jun 21, 2017 at 12:07:18AM +0200, Davide DB wrote: > Please give us an apk to play with :) Your wish is my command http://subsurface-divelog.org/downloads/test/Subsurface-mobile-4.6.4.224-arm.apk /D ___ subsurface mailing list subsurface@subsur

Re: Overthinking on Subsurface mobile app UX

2017-06-20 Thread Dirk Hohndel
On Tue, Jun 20, 2017 at 03:36:38PM -0700, Dirk Hohndel wrote: > On Wed, Jun 21, 2017 at 12:07:18AM +0200, Davide DB wrote: > > Please give us an apk to play with :) > > Your wish is my command > > http://subsurface-divelog.org/downloads/test/Subsurface-mobile-4.6.4.224-arm

Re: Overthinking on Subsurface mobile app UX

2017-06-20 Thread Dirk Hohndel
On Wed, Jun 21, 2017 at 06:52:58AM +0200, Willem Ferguson wrote: > > > > http://subsurface-divelog.org/downloads/test/Subsurface-mobile-4.6.4.225-arm.apk > > > > With a different design based on Willem's and Linus' input... And no, I'm not serious about that color... > Attached an image compari

Re: Overthinking on Subsurface mobile app UX

2017-06-21 Thread Dirk Hohndel
> On Jun 20, 2017, at 23:30, Willem Ferguson > wrote: >>> 5) Whatever layout and colour scheme we change to, I think one should keep >>> in mind that one day we will be able to collapse the trips so that only trip >>> headers will be visible onscreen. We need a layout now that will not need >>>

Re: Overthinking on Subsurface mobile app UX

2017-06-21 Thread Dirk Hohndel
> On Jun 21, 2017, at 02:03, Rick Walsh wrote: > >> On 21 June 2017 at 17:45, Dirk Hohndel wrote: >> >> > 6) I agree with Davide that the classic colour scheme would look more >> > native. But I really do not care too much about colours. It is the >>

Re: Overthinking on Subsurface mobile app UX

2017-06-21 Thread Dirk Hohndel
> On Jun 21, 2017, at 02:11, Davide DB wrote: > > Following the latest apk by Dirk I tried to apply a classic material > design palette. I played with: > > https://www.materialpalette.com/indigo/orange > > Just pick up two colors and you get an example. The idea behind > material design is tha

Re: Overthinking on Subsurface mobile app UX

2017-06-21 Thread Dirk Hohndel
On Wed, Jun 21, 2017 at 08:08:34AM +0200, Davide DB wrote: > I like the second one except the color :) > I like the line which close the trip group. > > Dirk use the the indigo blue 500 #3F51B5 ad primary color and gray blue > #C5EAE9 as secondary. Umm - really? I know this is exactly what bike-s

Re: Overthinking on Subsurface mobile app UX

2017-06-21 Thread Dirk Hohndel
> On Jun 21, 2017, at 7:45 AM, Davide DB wrote: > > On 21 June 2017 at 16:32, Dirk Hohndel wrote: >> >>> What are those colored circles in each dive? A try of a photo dive list? >>> >:-> >> >> It's my incompetent attempt to replac

Re: Overthinking on Subsurface mobile app UX

2017-06-21 Thread Dirk Hohndel
> On Jun 21, 2017, at 10:57 AM, Davide DB wrote: > > > > On Jun 21, 2017 7:16 PM, "Dirk Hohndel" <mailto:d...@hohndel.org>> wrote: > . > > Sorry, I did not do that because I found the colors you proposed just > too ugly. And I really want a C

Re: Overthinking on Subsurface mobile app UX

2017-06-21 Thread Dirk Hohndel
> On Jun 21, 2017, at 11:07 AM, Dirk Hohndel wrote: >> >> Ok I will download latest apk asap. > > Please wait a few minutes so you test the latest Here we go: http://subsurface-divelog.org/downloads/test/Subsurface-mobile-4.6.4.232-arm.apk <http://subsurface-di

Re: New to libdivecomputer. Where do I begin?

2017-06-21 Thread Dirk Hohndel
On Wed, Jun 21, 2017 at 10:43:16AM -0700, Linus Torvalds wrote: > On Tue, Jun 20, 2017 at 11:41 AM, Dirk Hohndel wrote: > > On Tue, Jun 20, 2017 at 01:27:00PM -0500, Ryan January wrote: > >> > >> Now that I know the correct path to follow I'll start looking thr

Re: Overthinking on Subsurface mobile app UX

2017-06-21 Thread Dirk Hohndel
On Wed, Jun 21, 2017 at 08:33:39PM +0200, Joakim Bygdell wrote: > > > > Here we go: http://subsurface-divelog.org/downloads/test/Subsurface- > > mobile-4.6.4.232-arm.apk > > > > Based on Davide's colors, fixing (I hope) the key concerns raised so far. > > Nice clear discrepancies of which dives a

Re: Overthinking on Subsurface mobile app UX

2017-06-21 Thread Dirk Hohndel
On Wed, Jun 21, 2017 at 11:26:42AM -0700, Linus Torvalds wrote: > On Wed, Jun 21, 2017 at 11:10 AM, Dirk Hohndel wrote: > > > > Here we go: > > http://subsurface-divelog.org/downloads/test/Subsurface-mobile-4.6.4.232-arm.apk > > > > Based on Davide's co

Re: Overthinking on Subsurface mobile app UX

2017-06-21 Thread Dirk Hohndel
On Wed, Jun 21, 2017 at 08:58:42PM +0200, Joakim Bygdell wrote: > > previous dive is not part of a trip. > > The only thing that sticks out is the sharpness of the blue in the top bar > > compared to opaque color palette of the dive list and the blue of the > logo. > > I tried to use exactly the c

Re: Overthinking on Subsurface mobile app UX

2017-06-21 Thread Dirk Hohndel
On Wed, Jun 21, 2017 at 03:46:49PM -0400, James Cialdea wrote: > > The pink is surprisingly pleasant... I tend to agree that there is > something off about the blue scheme - maybe it isn't saturated enough. Davide worked really hard to get me to use a better color scheme. I'll post another APK i

Re: Overthinking on Subsurface mobile app UX

2017-06-21 Thread Dirk Hohndel
> On Jun 21, 2017, at 1:01 PM, Davide DB wrote: > > Jockes apart the pink palette stands out. > I really liked both. I am wondering if at some point I will regret this joke. > Santi diving has even a tagline for women gear line: Women first! > Everything of proper pink color of course! > Sho

Re: Overthinking on Subsurface mobile app UX

2017-06-21 Thread Dirk Hohndel
> On Jun 21, 2017, at 1:13 PM, Linus Torvalds > wrote: > > On Wed, Jun 21, 2017 at 1:01 PM, Davide DB wrote: >> >> Should we differentiate download by sex? > > No, I think the whole "pink for women" is actually pretty stupid. I dive with a pink regulator... > I like the pink theme, and lik

Re: Overthinking on Subsurface mobile app UX

2017-06-21 Thread Dirk Hohndel
> On Jun 21, 2017, at 1:24 PM, Davide DB wrote: > > Ouch guys the whole pink/woman related was a joke. Sorry I could not > communicate my sense of humor. I understand. My humor often falls totally flat in email. Or it could just be that I'm not as funny as I think. That's what Linus keeps tel

Re: Overthinking on Subsurface mobile app UX

2017-06-21 Thread Dirk Hohndel
> On Jun 21, 2017, at 1:30 PM, Davide DB wrote: >> While the pink subsurface was cooking I recorded a video. Watch it in 720p. >> >> https://youtu.be/TW4Sg5RdhxU >> >> I noticed that tapping a dive, for a moment it's selected in the same color >> as the trip bar.

Re: Overthinking on Subsurface mobile app UX

2017-06-21 Thread Dirk Hohndel
Just to keep our most likely longest thread ever going... Yet another new build is up. This one brings you a) three color schemes. Blue (default), pink (for Linus), and dark (still not perfect) b) pull down the dive list to refresh / sync with the cloud server http://subsurface-divelog.org/downlo

Re: subsurface-mobile build error undefined reference to 'rand'

2017-06-21 Thread Dirk Hohndel
> On Jun 20, 2017, at 5:10 AM, Anton Lundin wrote: > > On 20 June, 2017 - Rick Walsh wrote: > >> On 20 June 2017 at 05:59, Anton Lundin wrote: >> >>> The gcc toolchain we're using in the ndk is about to be deprecated, so >>> we should focus on trying to switch over to clang. >>> >>> In NDK 1

Re: Overthinking on Subsurface mobile app UX

2017-06-22 Thread Dirk Hohndel
> On Jun 22, 2017, at 12:57 AM, Rick Walsh wrote: > Yet another new build is up. This one brings you > a) three color schemes. Blue (default), pink (for Linus), and dark (still > not perfect) > > It might sound trivial, but I like the choice. And having the option to > switch colour schemes is

Re: Overthinking on Subsurface mobile app UX

2017-06-22 Thread Dirk Hohndel
> On Jun 22, 2017, at 1:33 AM, Davide DB wrote: >> >> I have not seen this in a long time. Can you connect to the phone from a >> computer with adb and check what it says in the logcat? Is it possible >> that we are running out of memory? > > I have three phones: Nexus 5x, Huwaei P7 and a LG Xp

Re: Overthinking on Subsurface mobile app UX

2017-06-22 Thread Dirk Hohndel
> On Jun 22, 2017, at 1:14 AM, Willem Ferguson > wrote: > > On 22/06/2017 02:37, Dirk Hohndel wrote: >> Just to keep our most likely longest thread ever going... >> >> Yet another new build is up. This one brings you >> a) three color schemes. Blue (default

Re: [PATCH] QML UI: turn off spinner if pull-down-to-refresh fails

2017-06-22 Thread Dirk Hohndel
Obviously correct patch. Duh. > On Jun 22, 2017, at 2:22 AM, Rick Walsh wrote: > > Signed-off-by: Rick Walsh > --- > I will try to work out how to do GitHub pull requests I'm happy to take things like this as patches, Rick. But creating a pull request is really easy. You need a GitHub account

Re: [mobile] missing dives after swiping to the left

2017-06-22 Thread Dirk Hohndel
> On Jun 22, 2017, at 2:59 AM, Davide DB wrote: > > On 22 June 2017 at 02:37, Dirk Hohndel wrote: >>> #1 I found a bug probably not related to these changes. >>> Based on Thomas hints I discovered that I can swipe to the right the main >>> action button (+

Re: Overthinking on Subsurface mobile app UX

2017-06-22 Thread Dirk Hohndel
On Thu, Jun 22, 2017 at 12:11:01PM +0200, Davide DB wrote: > On 22 June 2017 at 11:37, Dirk Hohndel wrote: > > > > Let's ask some simple questions about what's different with the LG: > > a) which Android versions are the three devices running? > > b) how m

Re: Overthinking on Subsurface mobile app UX

2017-06-22 Thread Dirk Hohndel
> On Jun 22, 2017, at 2:42 AM, Dirk Hohndel wrote: >> 1) Any possibility to allow for multi-line dive trip titles? This would >> improve functionality of the app. > > Yes, that's a possibility. I'll see if I can implement that. Thanks to jet lag induced insom

Re: Overthinking on Subsurface mobile app UX

2017-06-22 Thread Dirk Hohndel
> On Jun 22, 2017, at 7:08 AM, Anton Lundin wrote: >> >> This restriction also removed all DCs that we can download from via USB. >> > > That's all the serial devices. All of them can be used with a ftdi > cable. There are a ton of dive computers that do not use an FTDI cable. I believe that

Re: Overthinking on Subsurface mobile app UX

2017-06-22 Thread Dirk Hohndel
> On Jun 22, 2017, at 8:02 AM, Anton Lundin wrote: > > On 22 June, 2017 - Dirk Hohndel wrote: > >> >>> On Jun 22, 2017, at 7:08 AM, Anton Lundin wrote: >>>> >>>> This restriction also removed all DCs that we can download from via USB. &

updates to libdc with ABI change

2017-06-22 Thread Dirk Hohndel
Next time you pull to build from source, please make sure you pull BOTH Subsurface and the Subsurface-branch of libdivecomputer, otherwise you'll lose functionality (most importantly, native BT support). Linus has rewritten our custom serial handling into a custom io layer which deals with packeti

proposed changes to libdc

2017-06-22 Thread Dirk Hohndel
Linus, Anton, everyone else... Looking at the code we added to filter the dive computer list I realized that this is just a silly hack and that this information needs to be collected in libdivecomputer, which already has a weird attempt to encapsulate the transport used. Right now that type is ty

Re: proposed changes to libdc

2017-06-22 Thread Dirk Hohndel
On Fri, Jun 23, 2017 at 05:06:39AM +, Benjamin wrote: > Would it be an option to maybe allow the user to choose a specific > transport type when they choose the dive computer? As in for a Petrel 2, > offer a choice between BT and BLE? > Or for the G2, offer USB or BLE? So USB or BT/BLE will a

Re: proposed changes to libdc

2017-06-22 Thread Dirk Hohndel
On Thu, Jun 22, 2017 at 10:22:54PM -0700, Linus Torvalds wrote: > On Thu, Jun 22, 2017 at 9:52 PM, Dirk Hohndel wrote: > > > > I'm proposing to fix this to make this actually useful. > > [ snip snip ] > > Looks superficially sane to me. "superficiallt sane&

Re: Overthinking on Subsurface mobile app UX

2017-06-23 Thread Dirk Hohndel
A new APK is up that adds two neat features a) Android title bar / navigation bar color now matches our title bar color (and changes if you change the color theme) b) Action button is now colored with our secondary color http://subsurface-divelog.org/downloads/test/Subsurface-mobile-4.6.4.267-a

Re: proposed changes to libdc

2017-06-23 Thread Dirk Hohndel
> On Jun 23, 2017, at 11:22 AM, Anton Lundin wrote: > It's just not VID / PID, but more importantly the Product and > Manufacturer fields. VID / PID will just tell me this is a ftdi device, > but if we can match to things like: > Product: HeinrichsWeikamp OSTC3 > Manufacturer: HW > > We can just

Re: Overthinking on Subsurface mobile app UX

2017-06-23 Thread Dirk Hohndel
> On Jun 23, 2017, at 3:03 PM, Linus Torvalds > wrote: > > On Fri, Jun 23, 2017 at 8:49 AM, Dirk Hohndel wrote: >> >> A new APK is up that adds two neat features >> >> a) Android title bar / navigation bar color now matches our title bar color >>

Re: Overthinking on Subsurface mobile app UX

2017-06-23 Thread Dirk Hohndel
On Fri, Jun 23, 2017 at 08:49:47AM -0700, Dirk Hohndel wrote: > > A new APK is up that adds two neat features > > a) Android title bar / navigation bar color now matches our title bar color > (and changes if you change the color theme) > b) Action button is now colored with o

Re: Overthinking on Subsurface mobile app UX

2017-06-23 Thread Dirk Hohndel
> On Jun 23, 2017, at 10:20 PM, Davide DB wrote: > > Dirk, > > Did you read my comments on the palette and font? Yes, sorry. The names are logical to me in context, but confusing to you. We have PrimaryColor, DarkerPrimaryColor, and LightPrimaryColor. And for each of the three we have a match

Re: Overthinking on Subsurface mobile app UX

2017-06-24 Thread Dirk Hohndel
I'm not sure if you mean 65m/1:51 or 2.2m/1:13 ? :-) ⁣-- >From my phone​ Original Message From: Benjamin Sent: Sat Jun 24 03:52:28 PDT 2017 To: willemfergu...@zoology.up.ac.za, Dirk Hohndel , Davide DB Cc: subsurface@subsurface-divelog.org Subject: Re: Overthi

Re: QtWebEngine and Mingw

2017-06-24 Thread Dirk Hohndel
> On Jun 24, 2017, at 6:59 AM, Lubomir I. Ivanov wrote: > > i've just updated my Qt to 5.9.0 on Windows with the Mingw 5.3.0 toolchain. > > but i'm facing a bug where the WebEngine libaries and cmake files are missing: > https://bugreports.qt.io/browse/QTBUG-61394 > > after reading more into i

Re: Dive download crash - Qt model issues

2017-06-24 Thread Dirk Hohndel
> On Jun 24, 2017, at 10:16 AM, Linus Torvalds > wrote: > > So because I'm testing my BLE code (yes, I have working downloads on > the Suunto EON Steel over BLE - no, it's not ready to be merged yet, > and other dive computers won't automatically work), I've been doing > odd things when downloa

Re: Overthinking on Subsurface mobile app UX

2017-06-24 Thread Dirk Hohndel
> On Jun 24, 2017, at 9:11 AM, Davide DB wrote: > > > > On Jun 24, 2017 12:36 PM, "Willem > wrote: > > > This is just a concept of an idea to indicate a date with each dive trip. See > attached image. I think only the month and year are really import

Re: Dive download crash - Qt model issues

2017-06-24 Thread Dirk Hohndel
> On Jun 24, 2017, at 10:54 AM, Thiago Macieira wrote: > > On sábado, 24 de junho de 2017 10:16:06 PDT Linus Torvalds wrote: >> Now, it may be that (once more) this is because I run my self-compiled >> Qt, and apparently it ends up adding more sanity checks and asserts >> when built in developer

Re: Error: "Must construct a QApplication before a QWidget"

2017-06-24 Thread Dirk Hohndel
> On Jun 24, 2017, at 11:16 AM, Lubomir I. Ivanov wrote: > > i've updated to Qt 5.9.0 today and after building Subsurface on > Windows i'm getting a: > > QWidget: Must construct a QApplication before a QWidget > Invalid parameter passed to C runtime function. > Invalid parameter passed to C run

Re: [Mobile UI] Blue palette

2017-06-24 Thread Dirk Hohndel
On Thu, Jun 22, 2017 at 01:49:00PM +0200, Davide DB wrote: > On 21 June 2017 at 22:13, Dirk Hohndel wrote: > > > > Right now I use > > > > property color darkPrimaryColor: "#303F9f" > > property color darkPrimaryTextColor: "#ECECEC" > >

Re: [Mobile UI] Blue palette

2017-06-24 Thread Dirk Hohndel
> On Jun 24, 2017, at 11:32 AM, Dirk Hohndel wrote: > > Sure. Coming up. I also think I may have found why it didn't render the > exact colors that we pick. The dive list had opacity of 0.8 which most > likely caused a background color bleeding through. The new APK should

Re: [Mobile UI] Blue palette

2017-06-24 Thread Dirk Hohndel
> On Jun 24, 2017, at 12:18 PM, Dirk Hohndel wrote: > > >> On Jun 24, 2017, at 11:32 AM, Dirk Hohndel > <mailto:d...@hohndel.org>> wrote: >> >> Sure. Coming up. I also think I may have found why it didn't render the >> exact colors that we

Android / adb

2017-06-24 Thread Dirk Hohndel
On the off chance that someone here happens to know an answer... I used to have problems on and off with my Pixel XL connecting to my Linux VM in debug mode - but usually disconnecting and reconnecting did the trip. Worst case I had to reboot one or the other. But today nothing seems to help. I r

Re: [Mobile UI] Blue palette

2017-06-24 Thread Dirk Hohndel
> On Jun 24, 2017, at 4:14 PM, Davide DB wrote: > > From what I read those weird definitions are just an invention of that > palette generator. We have only a primary and an optional secondary color and > their light and dark variations. > > I found this reply very informative: > > https://u

BLE download from EON Steel on Android

2017-06-24 Thread Dirk Hohndel
Linus, I pushed out your changes to master. With the latest Subsurface master and libdc Subsurface-branch I was able to download dives from my EON Steel via BLE on Android. Well, I was able to do it exactly once. I used the Nordic app to bond the dive computer, then started the download from Subs

Re: More Bluetooth LE work

2017-06-26 Thread Dirk Hohndel
> On Jun 27, 2017, at 12:48 PM, Linus Torvalds > wrote: > > So attached are three patches that currently allow me to download > dives from my Shearwater Perdix AI, and that I assume works with the > regular Perdix too (which has some newer versions that are BLE-only > and no longer support rfco

Re: More Bluetooth LE work

2017-06-26 Thread Dirk Hohndel
Yeah, yeah, yeah, I should have studied the commit messages more closely and tried this under Linux (which doesn't work for me right now because I don't run Linux on the hardware, but run it in a VM under Mac OS and there is no BLE pass through into the VM). > On Jun 27, 2017, at

Subsurface-mobile with BT and BLE support [was Re: updates to libdc with ABI change]

2017-06-27 Thread Dirk Hohndel
On Thu, Jun 22, 2017 at 06:53:21PM -0700, Dirk Hohndel wrote: > Next time you pull to build from source, please make sure you pull BOTH > Subsurface and the Subsurface-branch of libdivecomputer, otherwise you'll > lose functionality (most importantly, native BT support). > >

BLE download from Heinrichs Weikamp dive computers

2017-06-29 Thread Dirk Hohndel
On Thu, Jun 29, 2017 at 02:19:25PM +0200, Jan Mulder wrote: > On 28-06-17 23:25, Linus Torvalds wrote: > > On Wed, Jun 28, 2017 at 1:52 AM, Jan Mulder wrote: > > > So, there is some communication, and with my very very limited knowledge > > > on > > > BLE, it seems that the correct service is det

Re: Subsurface-mobile with BT and BLE support [was Re: updates to libdc with ABI change]

2017-06-29 Thread Dirk Hohndel
> On Jun 29, 2017, at 12:25 AM, Rick Walsh wrote: > > > > On 28 June 2017 at 17:19, Dirk Hohndel <mailto:d...@hohndel.org>> wrote: > In the meantime, I'd love to hear success stories of people able to > download from the dive computers on their phone or tab

Re: Subsurface-mobile with BT and BLE support [was Re: updates to libdc with ABI change]

2017-06-29 Thread Dirk Hohndel
On Thu, Jun 29, 2017 at 08:23:24AM -0700, Linus Torvalds wrote: > On Thu, Jun 29, 2017 at 7:39 AM, Dirk Hohndel wrote: > > > > Did you remember that you need a hacked Qt version for that? Linus posted > > about this a while ago. > > Qt 5.9 (and even 5.9.1) don't

Perdix on Android

2017-06-29 Thread Dirk Hohndel
Linus, I finally had a chance to try the latest Android APK to download from my Perdix AI. I bonded with it from the Nordic app. Looking at the AppLog in Subsurface-mobile, I see that it is 'paired' (shows up as Perdix). connecting to Uuid "{1101--1000-8000-00805f9b34fb}" but then... co

Re: Perdix on Android

2017-06-29 Thread Dirk Hohndel
On Thu, Jun 29, 2017 at 07:17:57PM +0200, Jan Mulder wrote: > On 29-06-17 19:06, Dirk Hohndel wrote: > > Linus, > > > > I finally had a chance to try the latest Android APK to download from my > > Perdix AI. > > > > I bonded with it from the Nordic app.

Re: Subsurface-mobile with BT and BLE support [was Re: updates to libdc with ABI change]

2017-06-29 Thread Dirk Hohndel
> On Jun 29, 2017, at 1:40 PM, Robert Helling wrote: > > Hi Dirk, > >> On 29. Jun 2017, at 17:57, Dirk Hohndel > <mailto:d...@hohndel.org>> wrote: >> >> And then, of course, I need to look into the Mac. I had hoped that someone >> else would

Re: Subsurface-mobile with BT and BLE support [was Re: updates to libdc with ABI change]

2017-06-29 Thread Dirk Hohndel
> On Jun 29, 2017, at 1:53 PM, Dirk Hohndel wrote: > > >> On Jun 29, 2017, at 1:40 PM, Robert Helling > <mailto:hell...@atdotde.de>> wrote: >> >> Hi Dirk, >> >>> On 29. Jun 2017, at 17:57, Dirk Hohndel >> <mailto:d...@hohndel.org

Re: Subsurface-mobile with BT and BLE support [was Re: updates to libdc with ABI change]

2017-06-29 Thread Dirk Hohndel
> On Jun 29, 2017, at 2:15 PM, Robert Helling wrote: > > Hi, > >> On 29. Jun 2017, at 22:53, Dirk Hohndel > <mailto:d...@hohndel.org>> wrote: >> >> The Sport is BT only. But let's start with something simple - does it work >> at all right

Re: Subsurface-mobile with BT and BLE support [was Re: updates to libdc with ABI change]

2017-06-29 Thread Dirk Hohndel
> On Jun 29, 2017, at 2:17 PM, Robert Helling wrote: > > Hi, > >> On 29. Jun 2017, at 22:57, Dirk Hohndel > <mailto:d...@hohndel.org>> wrote: >> >> BTW: the reason I'm asking this - as I have mentioned before, for me BT >> doesn't se

Re: Subsurface-mobile with BT and BLE support [was Re: updates to libdc with ABI change]

2017-06-29 Thread Dirk Hohndel
> On Jun 29, 2017, at 2:48 PM, Robert Helling wrote: > > Hi, > >> On 29. Jun 2017, at 23:17, Dirk Hohndel > <mailto:d...@hohndel.org>> wrote: >> >>> upon scanning I also see this (part of the time). Usually waiting a bit >>> longer shows

Re: Subsurface-mobile with BT and BLE support [was Re: updates to libdc with ABI change]

2017-06-29 Thread Dirk Hohndel
On Thu, Jun 29, 2017 at 11:56:23PM +0200, Anton Lundin wrote: > > Thats some internal travis issue. Probably due to their update of the > images, or just some random network flake. > > Dirk You as administrator can re-run such builds. Just login in travis > and click re-run. I did. Same failure.

Perdix AI on Linux

2017-06-29 Thread Dirk Hohndel
Hi Linus, Trying to download from the Perdix AI on Linux. Running on an oldish Thinkpad with the USB BT 4.0 dongle that you recommended. $ ldd subsurface | grep Qt5Network libQt5Network.so.5 => /home/hohndel/Qt5.9.0/5.9/gcc_64/lib/libQt5Network.so.5 (0x7f6f69dc8000) This is the sto

Re: Perdix AI on Linux

2017-06-29 Thread Dirk Hohndel
> On Jun 29, 2017, at 3:24 PM, Linus Torvalds > wrote: > > > > On Jun 29, 2017 15:02, "Dirk Hohndel" <mailto:d...@hohndel.org>> wrote: > > This is the stock Qt 5.9 as downloaded from qt.io <http://qt.io/> > > Is that the 5.9 *branch*

oh how I love Java

2017-06-29 Thread Dirk Hohndel
So how the heck do I get an int return value out of a JNI call??? I've tried quite a few different variations of this // returns a BluetoothDevice QAndroidJniObject dev=iterator.callObjectMethod("next","()Ljava/lang/Object;");

Re: oh how I love Java

2017-06-29 Thread Dirk Hohndel
On Fri, Jun 30, 2017 at 04:51:03AM +0300, Lubomir I. Ivanov wrote: > On 30 June 2017 at 03:58, Dirk Hohndel wrote: > > So how the heck do I get an int return value out of a JNI call??? > > > > I've tried quite a few different variations of this > > > >

Re: Subsurface-mobile with BT and BLE support [was Re: updates to libdc with ABI change]

2017-06-30 Thread Dirk Hohndel
On Fri, Jun 30, 2017 at 11:58:13AM +0200, Jan Mulder wrote: > On 30-06-17 10:46, Jan Mulder wrote: > > On 30-06-17 00:31, Anton Lundin wrote: > > > > > I tested this to, against a OSTC4, and I actually got some data back. > > > It looks scrambled, and haven't had the time to decipher what might >

Re: Belated introduction and a couple of questions

2017-06-30 Thread Dirk Hohndel
Hi Robert, Welcome again to the Subsurface developer team :-) > On Jun 30, 2017, at 3:11 PM, Robert Bodily wrote: > > Which brings me to my questions: > > 1) Is there any way to know what changes are contained in an install image > from the dev/test builds section of the website? The reason I

test builds

2017-06-30 Thread Dirk Hohndel
New binaries are up for Windows, Mac, and Android. All the Linux bulds (OBS and Launchpad) failed. I need to look into why. The first one I looked into seemed to be because of a Qt version that's too old (and doesn't have some interfaces that we use). So I may have to make some of our code conditio

Re: test builds

2017-06-30 Thread Dirk Hohndel
On Fri, Jun 30, 2017 at 05:16:59PM -0700, Linus Torvalds wrote: > On Fri, Jun 30, 2017 at 4:37 PM, Dirk Hohndel wrote: > > > > I also need to find time to get the Perdix AI working on Android (hoping > > that Linus can help me with that before he gets sucked into the merge &

Re: test builds

2017-07-01 Thread Dirk Hohndel
On Sat, Jul 01, 2017 at 02:32:36PM -0700, Linus Torvalds wrote: > On Sat, Jul 1, 2017 at 2:02 PM, Lubomir I. Ivanov wrote: > > > > i don't own a BLE device yet, but maybe this can provide some > > directions if BLE is to be supported on Windows eventually. > > Qt will have support for it eventual

G2 under Windows?

2017-07-01 Thread Dirk Hohndel
I know that a few people here have reported success with USB downloads from the G2. Which OS are you on? I think I've seen success reports from Mac - and of course Linus has this working on Linux. We have a report on FB that the latest Windows test binary fails with the G2 (timeout of the USB

Re: test builds

2017-07-02 Thread Dirk Hohndel
> On Jul 2, 2017, at 12:52 AM, Robert Helling wrote: > > Hi Dirk, > >> On 2. Jul 2017, at 00:30, Dirk Hohndel > <mailto:d...@hohndel.org>> wrote: >> >> Mac (ten hours into trying to build Qt 5.9.1 with QWebKit - no luck yet) >> - BT works

Re: test builds

2017-07-02 Thread Dirk Hohndel
> On Jul 2, 2017, at 4:25 AM, Joakim Bygdell wrote: > I managed to do some testing on my old Mac, (El Capitan, 10.11.06) > > BT download from my OSTC3 works if I do thing in a certain order. > > 1# If no cached adress exists in Subsurface start with pairing the device > from the OS. > 2# Scan

Re: test builds

2017-07-02 Thread Dirk Hohndel
> On Jul 2, 2017, at 10:04 AM, Dirk Hohndel wrote: > > >> On Jul 2, 2017, at 4:25 AM, Joakim Bygdell wrote: >> I managed to do some testing on my old Mac, (El Capitan, 10.11.06) >> >> BT download from my OSTC3 works if I do thing in a certain order. >&g

random test failures

2017-07-03 Thread Dirk Hohndel
Miika, anyone, For some odd reason we get random test failures in TestParse. This has been going on for quite a while, but I figure I at least point it our in case someone wants to take a look. Here's what we see when it fails: 4/11 Test #4: TestParse ***Failed3.

<    1   2   3   4   5   6   7   8   9   10   >