Re: Mobile phone app

2019-02-10 Thread Joakim Bygdell
Hi. On Sat, 9 Feb 2019 at 23:45, Martin de Weger wrote: > Hi all, > > I’ve bought a Perdix last week and am using it with Subsurface on my > iPhone. Am I missing something in the app or isn’t it possible to add extra > tanks from within the mobile app? I’m diving Sidemount and am used to >

Re: Website migration

2018-12-31 Thread Joakim Bygdell
On Mon, Dec 31, 2018, 03:38 Dirk Hohndel > I expect unexpected behavior (and would love to hear about it so I can try > to address this). > No http to https redirect. Other than that it seems to work on my phone. /Jocke > ___ subsurface mailing list

Re: Bluetooth device names

2018-10-12 Thread Joakim Bygdell
On Fri, Oct 12, 2018, 19:12 Robert Helling wrote: > Hi, > > On 12. Oct 2018, at 18:59, Dirk Hohndel wrote: > > So we have that already. What am I missing? > https://github.com/Subsurface-divelog/subsurface/blob/master/core/btdiscovery.cpp#L20 > > > did not realise that. But is my impression

Re: Displaying multiple dive computer profiles with the mobile app?

2018-10-10 Thread Joakim Bygdell
On Wed, 10 Oct 2018 at 15:15, Adric Norris wrote: > Now that Subsurface includes Garmin Descent Mk1 support, I finally have a > few dives logged which include profile info from multiple computers. Using > Subsurface desktop I can easily display the dive profile from each device, > but this

Re: Subsurface mobile 2.1.2 auto cloud sync

2018-09-20 Thread Joakim Bygdell
eems to be same > for both 2.1.2 or 2.1.3(4.8.2.5) > > On 09/19/2018 01:33 AM, Joakim Bygdell wrote: > > On Wed, 19 Sep 2018 at 03:25, Bill Perry wrote: > >> -- >> >> Will the app remember the cloud sync setting if the app was installed &

Re: Subsurface mobile 2.1.2 auto cloud sync

2018-09-19 Thread Joakim Bygdell
On Wed, 19 Sep 2018 at 03:25, Bill Perry wrote: > -- > > Will the app remember the cloud sync setting if the app was installed with > it enabled and the app is upgraded? > Seems like it should. > Unless you purge the current installation before installing the new

Re: QML help sought

2018-08-09 Thread Joakim Bygdell
Hi Robert, You need to add "import QtQuick.Controls 2.2 as Controls" in the reportBugPage.qml file / Jocke ___ subsurface

Re: Dive list scrolling in Subsurface-mobile

2018-04-16 Thread Joakim Bygdell
On 16 April 2018 at 18:05, Dirk Hohndel wrote: > > > On Apr 16, 2018, at 9:03 AM, Dirk Hohndel wrote: > > > > I got my five year old Nexus 10 to take a charge again and had a chance > to test the latest beta of Subsurface-mobile on it. > > Based on that I

Re: A few changes to the QML UI

2018-04-14 Thread Joakim Bygdell
I see a lot of jerkyness when scrolling, seems like it always restarts at the top. Cant' really scroll in small steps, to get beyond the top display I need to flick really hard. And then the scrolling will move in steps before it finally comes to a full stop. Can't get a cloud resync to happen by

Re: Cylinder vs. tank -

2017-11-28 Thread Joakim Bygdell
On 28 November 2017 at 09:03, Stefan Fuchs wrote: > Am 28.11.2017 um 07:52 schrieb Martin Měřinský: > > we really usually use "Cylinder" and only in 6 strings use "Tank". > > > Shall we change EVERYTHING to "cylinder" or sometimes "cyl." (which > we have already)? > Would also

Re: new APK with smaller action button

2017-08-03 Thread Joakim Bygdell
On 4 August 2017 at 06:09, Dirk Hohndel wrote: > > > On Aug 3, 2017, at 8:01 PM, Chirana Gheorghita Eugeniu Theodor < > off...@adaptcom.ro> wrote: > > > > Looks ok but small issues on the size of the screens. > > In show gps fixes text is positioned out of the screen and in

Re: Statistics - Preliminary Trials

2017-07-31 Thread Joakim Bygdell
On 31 July 2017 at 18:33, Dirk Hohndel wrote: > > > On Jul 30, 2017, at 11:40 AM, Tomaz Canabrava > wrote: > > > > People, > > > > Please don't give me ideas, my head is full of them currently, I just > wanna a bit of help to decide what should I use. The

Re: Default tank size

2017-07-27 Thread Joakim Bygdell
On 27 Jul 2017 11:55 p.m., "John Griffiths" <scuba.jr...@grifent.com> wrote: That is my issue. I'd like for the default to be my HP120. You could use the metric variant of your cylinder as default, 15L 232bar. Sent from my android device. -Original Message----- From

Re: Default tank size

2017-07-27 Thread Joakim Bygdell
On 27 July 2017 at 21:25, Dirk Hohndel wrote: > Yes, once any of your dives contain such a cylinder, so once you have > added a custom > cylinder for the first time, it will be available as an auto-complete item > in the drop down. > > /D > > When you edit a dive, yes. But it

Re: Default tank size

2017-07-27 Thread Joakim Bygdell
On 27 July 2017 at 21:06, Dirk Hohndel wrote: > Once you add it as a 15.3 liter tank (please do NOT add it as 120cuft tank > as that would > result in incorrect data) with HP120 as name, the next time you start > Subsurface it SHOULD > offer that as one of the options in the

Re: Possibility to add custom field?

2017-07-25 Thread Joakim Bygdell
On 26 July 2017 at 06:48, Dirk Hohndel wrote: > > > On Jul 25, 2017, at 7:44 PM, Linus Torvalds < > torva...@linux-foundation.org> wrote: > > > > This message was in the Subsurface "Google Groups" thing, and I'm > > moving the discussion to the development mailing list instead

Re: latest APK

2017-07-25 Thread Joakim Bygdell
On 25 July 2017 at 21:00, David Tillotson wrote: > On 25 July 2017 17:44:30 BST, Dirk Hohndel wrote: >> >> Thanks to Jocke the UI keeps getting better and better. >> I really like the colored icon as indication for the running location >> service. Nicely

Re: [PATCH 1/2] QML UI: use Material default switches

2017-07-24 Thread Joakim Bygdell
On 23 July 2017 at 23:23, Rick Walsh <rickmwa...@gmail.com> wrote: > > > On 24 Jul. 2017 1:46 am, "Joakim Bygdell" <j.bygd...@gmail.com> wrote: > > On 23 July 2017 at 16:56, Dirk Hohndel <d...@hohndel.org> wrote: > >> >> > On Ju

Re: latest Android test binary

2017-07-23 Thread Joakim Bygdell
On 23 July 2017 at 20:16, Joakim Bygdell <j.bygd...@gmail.com> wrote: > On 23 July 2017 at 19:40, Dirk Hohndel <d...@hohndel.org> wrote: > >> >> On Jul 23, 2017, at 9:31 AM, Joakim Bygdell <j.bygd...@gmail.com> wrote: >> >>> >>> Or

Re: latest Android test binary

2017-07-23 Thread Joakim Bygdell
On 23 July 2017 at 19:40, Dirk Hohndel <d...@hohndel.org> wrote: > > On Jul 23, 2017, at 9:31 AM, Joakim Bygdell <j.bygd...@gmail.com> wrote: > >> >> Or we could apply an color the the GPS icon in the drawer when the >> service is active, that way it

Re: latest Android test binary

2017-07-23 Thread Joakim Bygdell
On 23 July 2017 at 16:19, Dirk Hohndel <d...@hohndel.org> wrote: > > On Jul 22, 2017, at 10:39 PM, Joakim Bygdell <j.bygd...@gmail.com> wrote: > >> >> Activating the GPS service should not be under settings. This is not a >> service setting: it is an

Re: [PATCH 1/2] QML UI: use Material default switches

2017-07-23 Thread Joakim Bygdell
On 23 July 2017 at 16:56, Dirk Hohndel <d...@hohndel.org> wrote: > > > On Jul 23, 2017, at 7:45 AM, Dirk Hohndel <d...@hohndel.org> wrote: > > > > > >> On Jul 23, 2017, at 7:14 AM, Joakim Bygdell <j.bygd...@gmail.com> > wrote: > >> Lo

Re: [PATCH 1/2] QML UI: use Material default switches

2017-07-23 Thread Joakim Bygdell
On 23 July 2017 at 16:12, Dirk Hohndel <d...@hohndel.org> wrote: > > On Jul 23, 2017, at 12:18 AM, Rick Walsh <rickmwa...@gmail.com> wrote: > > > > On 23 July 2017 at 18:57, Rick Walsh <rickmwa...@gmail.com> wrote: > >> >> >> On 23 July

Re: [PATCH 1/2] QML UI: use Material default switches

2017-07-23 Thread Joakim Bygdell
On 23 July 2017 at 08:57, Rick Walsh <rickmwa...@gmail.com> wrote: > > > On 23 July 2017 at 17:26, Joakim Bygdell <j.bygd...@gmail.com> wrote: > >> >> >> In which way does a white button on a white background look better?? >> >> T

Re: progress on the QML UI

2017-07-23 Thread Joakim Bygdell
On 22 July 2017 at 21:29, Dirk Hohndel wrote: > As many have pointed out, progress on the QML UI has > been just amazing. Davide's ideas have really made a > difference to how Subsurface-mobile looks these days. > > I know that there are quite a few more areas that we need > to

Re: latest Android test binary

2017-07-23 Thread Joakim Bygdell
On 23 July 2017 at 08:12, Willem Ferguson wrote: > "Dive Managment" on the main menu is spelt incorrectly. > Yepp, an "e" is missing. -- Jocke ___ subsurface mailing list subsurface@subsurface-divelog.org

Re: [PATCH 2/2] QML UI: align controls on settings page

2017-07-22 Thread Joakim Bygdell
On 23 July 2017 at 05:30, Rick Walsh wrote: > Signed-off-by: Rick Walsh > --- > mobile-widgets/qml/CloudCredentials.qml | 8 > mobile-widgets/qml/Settings.qml | 4 +--- > 2 files changed, 5 insertions(+), 7 deletions(-) > > diff

Re: latest Android test binary

2017-07-22 Thread Joakim Bygdell
On 23 July 2017 at 07:25, Willem Ferguson wrote: > On 22/07/2017 21:23, Dirk Hohndel wrote: > > I started testing the new binary and it seems not broken, so that's good > > > Most everything in the changes I really like. The new menu layout makes a > lot more

Re: [PATCH 1/2] QML UI: use Material default switches

2017-07-22 Thread Joakim Bygdell
On 23 July 2017 at 05:30, Rick Walsh wrote: > The Material theme's default switch is nicer than our own. > > Signed-off-by: Rick Walsh > --- > mobile-widgets/qml/CloudCredentials.qml | 21 --- > mobile-widgets/qml/Settings.qml | 63 >

Re: latest Android test binary

2017-07-22 Thread Joakim Bygdell
On 22 July 2017 at 21:23, Dirk Hohndel wrote: > I started testing the new binary and it seems not broken, so that's good > :-) > > Most everything in the changes I really like. The new menu layout makes a > lot more sense. I miss the easily visible / accessible switch for the >

Re: Subsurface mobile: delete and sync operations.

2017-07-19 Thread Joakim Bygdell
On 19 July 2017 at 15:03, Dirk Hohndel wrote: > > > On Jul 19, 2017, at 4:11 AM, Willem Ferguson < > willemfergu...@zoology.up.ac.za> wrote: > > > > I must preface this expressing my pleasure in seeing what is happening > with Subsurface-mobile version 2. The enormous effort

Re: QML custom style

2017-07-18 Thread Joakim Bygdell
On 18 July 2017 at 22:10, Rick Walsh wrote: > Dirk and Jocke (especially), > I can see you've done a lot over the past few weeks to make the mobile UI > much more attracted. Have you considered using a custom Subsurface style > (falling back to Material) to make it more

Re: QML UI theming

2017-07-18 Thread Joakim Bygdell
Patches sent to upstream Kirigami. -- Jocke ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: QML UI theming

2017-07-18 Thread Joakim Bygdell
On 18 July 2017 at 15:39, Dirk Hohndel wrote: > > > On Jul 18, 2017, at 2:16 AM, Davide DB wrote: > > > > On 17 July 2017 at 22:14, Davide DB wrote: > >> > >> My last try: we could just color dive number of those dives with five > stars

Re: QML UI theming

2017-07-17 Thread Joakim Bygdell
On 17 July 2017 at 21:50, Dirk Hohndel <d...@hohndel.org> wrote: > > On Jul 17, 2017, at 12:35 PM, Joakim Bygdell <j.bygd...@gmail.com> wrote: > > On 17 July 2017 at 21:21, Davide DB <dbdav...@gmail.com> wrote: > >> Would be nice having the third color defi

Re: QML UI theming

2017-07-17 Thread Joakim Bygdell
On 17 July 2017 at 21:21, Davide DB wrote: > Would be nice having the third color defi ed as well . Sometime called > accent color. I.e. orange > It would be useful for showing on/off state on several widgets that we > will use on settings. > Just small details that make the

Re: QML UI theming

2017-07-17 Thread Joakim Bygdell
On 17 July 2017 at 18:58, Dirk Hohndel <d...@hohndel.org> wrote: > Cool. I assume you have sent patches / pull request to Marco? > Not yet, need to test all the corner cases first. > > > -- > From my phone > ---------- > *From:* Joakim Bygdell

Re: QML UI theming

2017-07-17 Thread Joakim Bygdell
A small preview of how it can look after some changes to Kirigami. -- Jocke ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Android styling woes

2017-07-13 Thread Joakim Bygdell
After working a bit on getting a coherent layout across the themes we use I ran into a snag on the GPS page as can bee seen in the pictures. SwipeListItem is not styled at all even though the code says that is should have the same styling as the OverlayDrawer. Adb logcat points the error to

Re: Android beta...

2017-07-08 Thread Joakim Bygdell
8 July 2017 at 19:36, Dirk Hohndel wrote: > Quick update, latest APK is here > > http://subsurface-divelog.org/downloads/test/Subsurface- > mobile-4.6.4.353-arm.apk > > > On Jul 6, 2017, at 10:33 AM, Dirk Hohndel wrote: > > > > - Petrel AI tank pressure

Re: test builds

2017-07-02 Thread Joakim Bygdell
On 2 July 2017 at 00:30, Dirk Hohndel wrote: > > > Mac (ten hours into trying to build Qt 5.9.1 with QWebKit - no luck yet) > - BT works for Robert, doesn't work for me AT ALL > -- Qt documentation says that Qt gets no addresses from the Bt stack and > will always return

Re: Overthinking on Subsurface mobile app UX

2017-06-22 Thread Joakim Bygdell
On 22 June 2017 at 13:26, Dirk Hohndel wrote: > > > 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

Re: Overthinking on Subsurface mobile app UX

2017-06-21 Thread Joakim Bygdell
On 21 Jun 2017 21:01, "Dirk Hohndel" <d...@hohndel.org> wrote: 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 t

Re: Overthinking on Subsurface mobile app UX

2017-06-21 Thread Joakim Bygdell
On 21 June 2017 at 20:10, Dirk Hohndel wrote: > > 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:

Re: Subsurface-mobile Bluetooth download

2017-06-05 Thread Joakim Bygdell
On 5 June 2017 at 17:48, Anton Lundin <gla...@acc.umu.se> wrote: > On 05 June, 2017 - Joakim Bygdell wrote: > > > On 5 June 2017 at 16:41, Dirk Hohndel <d...@hohndel.org> wrote: > > > > > On Sun, Jun 04, 2017 at 05:48:03PM +0200, Joakim Bygdell wrote: &g

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

2017-05-10 Thread Joakim Bygdell
10 May 2017 at 15:47, Anton Lundin <gla...@acc.umu.se> wrote: > On 10 May, 2017 - Joakim Bygdell wrote: > > > On 10 May 2017 at 11:33, Anton Lundin <gla...@acc.umu.se> wrote: > > > > > Do we have any data from a Shearwater running as solenoid controller

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

2017-05-10 Thread Joakim Bygdell
On 10 May 2017 at 14:07, Jef Driesen wrote: > On 2017-05-10 11:33, Anton Lundin wrote: > >> On 10 May, 2017 - Jef Driesen wrote: >> >>> I've implemented the scaling factor now. See attached set of >>> patches. It took me a bit longer than expected because there were a

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

2017-05-10 Thread Joakim Bygdell
On 10 May 2017 at 11:33, Anton Lundin wrote: > On 10 May, 2017 - Jef Driesen wrote: > Do we have any data from a Shearwater running as solenoid controller? > > Ex. On the JJ-CCR's they use a Shearwater Petrel with sensors which > controls the o2 solenoid to try to get the

Re: Subsurface-mobile crashes

2017-04-14 Thread Joakim Bygdell
On 14 Apr 2017 19:47, "Dirk Hohndel" wrote: I just pushed a commit (and will create new builds for TestFlight / Play this evening) that draws a 2cm * 2cm square on the Developer->Theme Information page. On my Google Pixel XL that square measures 19.5 * 19.5 mm - pretty

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

2017-04-09 Thread Joakim Bygdell
9 April 2017 at 11:39, Joakim Bygdell <j.bygd...@gmail.com> wrote: > 9 April 2017 at 11:30, Davide DB <dbdav...@gmail.com> wrote: > >> On 9 April 2017 at 11:22, Joakim Bygdell <j.bygd...@gmail.com> wrote: >> > 9 April 2017 at 11:01, Davide DB <dbdav...

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

2017-04-08 Thread Joakim Bygdell
On 8 April 2017 at 12:35, Davide DB wrote: > On 12 January 2015 at 09:41, Willem Ferguson > wrote: > > Sorry guys, really a bad day :) So I bring bag to life this old hot topic. > > As far I see there's no way to see individual 02 sensor

Re: Subsurface-mobile status

2017-04-05 Thread Joakim Bygdell
On 5 April 2017 at 10:42, Marco Martin wrote: > > did one more last commit for that edit box with hints with some small > usability improvements, then, if there aren't significant problems with > it, i'm > happy as is. > Tested latest master, editing works fine except for one

Re: Subsurface-mobile status

2017-04-04 Thread Joakim Bygdell
On 4 Apr 2017 21:06, "Dirk Hohndel" <d...@hohndel.org> wrote: On Tue, Apr 04, 2017 at 07:50:28PM +0200, Joakim Bygdell wrote: > The profile issue is still present in master, Which profile issue? There are so many. And is that with my APK or with something you built yourself?

Re: Subsurface-mobile status

2017-04-04 Thread Joakim Bygdell
The profile issue is still present in master, it happens far more regularly when selecting any of the top two dives in the list than any other dive combined. Dive editing is broken for anything that uses the new HintsTextEdit function. -- Jocke ___

Re: Problems building Subsurface for Android

2017-02-03 Thread Joakim Bygdell
On 3 February 2017 at 10:49, Willem Ferguson < willemfergu...@zoology.up.ac.za> wrote: > On 03/02/2017 08:25, Joakim Bygdell wrote: > > Remove the quotations on line 383 and try again, that fixed it for me. > -- > Jocke > > > > I think your suggestions were extre

Re: Problems building Subsurface for Android

2017-02-02 Thread Joakim Bygdell
On 3 February 2017 at 07:59, Willem Ferguson < willemfergu...@zoology.up.ac.za> wrote: > On 03/02/2017 08:25, Joakim Bygdell wrote: > > Wilhelm, > > You can create a workaround for that error if you edit this file: > Qt/5.7/android_armv7/lib/cmake/Qt5Core/Qt5CoreConfigExtr

Re: Problems building Subsurface for Android

2017-02-02 Thread Joakim Bygdell
Wilhelm, On 3 February 2017 at 06:20, Willem Ferguson < willemfergu...@zoology.up.ac.za> wrote: > On 03/01/2017 09:17, Joakim Bygdell wrote: > > On 3 January 2017 at 06:35, Willem Ferguson <willemfergu...@zoology.up.ac. > za> wrote: > > CMake Error in CMakeLis

Re: Android/OSi comparison against Windows 10

2017-02-02 Thread Joakim Bygdell
On 2 February 2017 at 18:41, Dirk Hohndel <d...@hohndel.org> wrote: > > On Feb 2, 2017, at 9:32 AM, Joakim Bygdell <j.bygd...@gmail.com> wrote: > > On 2 February 2017 at 18:17, Dirk Hohndel <d...@hohndel.org> wrote: >> >> >> Is this someth

Re: Problems building Subsurface for Android

2017-02-02 Thread Joakim Bygdell
On 2 February 2017 at 17:01, Dirk Hohndel wrote: > > > > originating at the line: > > > > "$SUBSURFACE_SOURCE"/../libdivecomputer/configure --host=${BUILDCHAIN} > --prefix="$PREFIX" --enable-static --disable-shared --enable-examples=no > > > > Does any one have an idea? > > > >

Re: Re: Problems building Subsurface for Android

2017-02-02 Thread Joakim Bygdell
Wilhelm, On 2 February 2017 at 17:28, Willem Ferguson < willemfergu...@zoology.up.ac.za> wrote: > > > On 02/02/2017 18:01, Dirk Hohndel wrote: > >> >> I get the folowing scripting error in build.sh: >>> >>> ~/src/libdivecomputer-build-arm ~/src >>> subsurface/packaging/android/build.sh: line 296:

Re: Android/OSi comparison against Windows 10

2017-01-31 Thread Joakim Bygdell
On 31 January 2017 at 19:11, Dirk Hohndel wrote: > This is actually an interesting idea. Today we just store a small number > of settings > in cloud storage - we could store some more to allow fine tuning of what > you see > in the profile. > > Keep in mind that we don't do the

Re: Re: Qt and subsurface for Android

2017-01-09 Thread Joakim Bygdell
On 3 January 2017 at 06:37, Willem Ferguson wrote: > Thank you very much, this really helped. It appears all the locations > have been found. > > Now, I get the message below: > > -- system name Android > -- Found Qt for Android:

Re: Building Subsurface-mobile

2017-01-09 Thread Joakim Bygdell
On 9 January 2017 at 14:55, Dirk Hohndel wrote: > I wonder if we could reasonably script that part as well? So that on a > Ubuntu or Fedora it's really just running a single script that installs and > grabs everything you need... > > Should be posible, i.e. ./android update

[PATCH] QML UI: deal with multiple buddies correctly

2016-09-12 Thread Joakim Bygdell
When editing adive in Subsurface-mobile we can only handle one buddy due to the limitations of the combobox. To prevent loss of data when editing a dive with more than one buddy we display "Multiple Buddies" in the buddy field. This creates a special case where no changes are written to the buddy

[PATCH v2 1/2] QML UI: Enable cylinder edit

2016-08-30 Thread Joakim Bygdell
This adds the option to select a cylinder when adding or editing a dive. Due to limited screen size we restrict the editing to the first cylinder only. Signed-off-by: Joakim Bygdell <j.bygd...@gmail.com> --- core/subsurface-qt/DiveObjectHelper.cpp | 25 - core/subs

Re: [PATCH 1/2] QML UI: Enable cylinder edit

2016-08-29 Thread Joakim Bygdell
> On 30 Aug 2016, at 07:15, Dirk Hohndel <d...@hohndel.org> wrote: > > On Mon, Aug 29, 2016 at 09:35:05PM +0200, Joakim Bygdell wrote: >> +QStringList cylinders; >> +struct dive *d; >> +int i = 0; >> +for_each_dive (i, d) { >> +

[PATCH 2/2] Remove hacks regarding multiple gasmixes and cylinders

2016-08-29 Thread Joakim Bygdell
Enabling cylinder edit in Subsurface-mobile our previous hacks regarding multiple cylinders and gasmixes must be removed. Signed-off-by: Joakim Bygdell <j.bygd...@gmail.com> --- core/subsurface-qt/DiveObjectHelper.cpp | 8 +--- mobile-widgets/qml/DiveDetails.qml

[PATCH 1/2] QML UI: Enable cylinder edit

2016-08-29 Thread Joakim Bygdell
This adds the option to select a cylinder when adding or editing a dive. Due to limited screen size we restrict the editing to the first cylinder only. Signed-off-by: Joakim Bygdell <j.bygd...@gmail.com> --- core/subsurface-qt/DiveObjectHelper.cpp | 25 - core/subs

Re: Subsurface-mobile on Android

2016-08-28 Thread Joakim Bygdell
> On 28 Aug 2016, at 20:55, Dirk Hohndel wrote: > > > I’m completely baffled. > > I don’t know, yet, if that’s the common problem for everyone, but more data > points (or even better, a fix) would be very welcome. > > Of course it works on the two Android phones I have

Re: Subsurface-mobile status update

2016-08-16 Thread Joakim Bygdell
Kirigami master and QT 5.6.1 > /D > ___ > subsurface mailing list > subsurface@subsurface-divelog.org > http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface > -- Jocke From 1b43c8ca5006bbb9163119461a70032e448bf18b Mon Sep 17 00:00:0

Re: Subsurface-mobile status update

2016-08-14 Thread Joakim Bygdell
> On 14 Aug 2016, at 06:29, Dirk Hohndel wrote: > > > I still haven't managed to make the latest Kirigami work. And I don't think > I'll finish that today as I'm jet lagged and about to fall asleep on my > keyboard. But at least our iOS testers should be able to continue to

Re: Cross-compiling Subsurface-mobile from Linux to Android

2016-06-22 Thread Joakim Bygdell
On 22 June 2016 at 13:30, Willem Ferguson wrote: > > > Simple questions from an ignorant person. > > I am not sure how to install Qt for use on Android. For Subsurface-mobile > to run on Android, where should Qt be installed? > Depending on if you use a

[PATCH 3/3] White space cleanup

2016-05-20 Thread Joakim Bygdell
Signed-off-by: Joakim Bygdell <j.bygd...@gmail.com> --- mobile-widgets/qml/DiveDetails.qml | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml index aee8a89..3dfb879 100644 --- a/mobile-w

[PATCH 1/3] Add init function to qmlmanager

2016-05-20 Thread Joakim Bygdell
In order to get autocomplete to work on manual dive add we apparently need a separate init function. Signed-off-by: Joakim Bygdell <j.bygd...@gmail.com> --- mobile-widgets/qmlmanager.cpp | 51 +++ mobile-widgets/qmlmanager.h | 7 ++ 2 files c

[PATCH 2/3] Make autocomplete work on add dive

2016-05-20 Thread Joakim Bygdell
This sets the list models for autocompleting suit, buddy and divemaster. Signed-off-by: Joakim Bygdell <j.bygd...@gmail.com> --- mobile-widgets/qml/DiveDetails.qml | 3 +++ mobile-widgets/qml/DiveDetailsEdit.qml | 3 +++ mobile-widgets/qml/main.qml| 9 ++--- 3 files c

Re: QML inconsistency Android <-> Desktop

2016-05-20 Thread Joakim Bygdell
> On 16 May 2016, at 21:32, Dirk Hohndel <d...@hohndel.org> wrote: > > On Mon, May 16, 2016 at 09:24:33PM +0200, Joakim Bygdell wrote: >>> Can you send a follow up patch that addresses that? >> Sure. > > Thanks > Do you prefer a full patch series or j

Re: QML inconsistency Android <-> Desktop

2016-05-16 Thread Joakim Bygdell
> On 16 May 2016, at 21:21, Dirk Hohndel <d...@hohndel.org> wrote: > > On Mon, May 16, 2016 at 09:12:13PM +0200, Joakim Bygdell wrote: >> >>> On 16 May 2016, at 20:39, Dirk Hohndel <d...@hohndel.org> wrote: >>> >>> On Mon, May 16, 2016 at

Re: QML inconsistency Android <-> Desktop

2016-05-16 Thread Joakim Bygdell
> On 16 May 2016, at 20:39, Dirk Hohndel <d...@hohndel.org> wrote: > > On Mon, May 16, 2016 at 11:17:22AM -0700, Dirk Hohndel wrote: >> On Sat, May 07, 2016 at 02:33:50PM +0200, Joakim Bygdell wrote: >>> When running Subsurface-mobile on my laptop >>

[PATCH 1/3] Add functions to DiveObjectsHelper

2016-05-16 Thread Joakim Bygdell
This generated the QStringLists needed to populate the combobxes in DiveDetailsEdit. Signed-off-by: Joakim Bygdell <j.bygd...@gmail.com> --- core/subsurface-qt/DiveObjectHelper.cpp | 51 + core/subsurface-qt/DiveObjectHelper.h | 6 2 files chang

[PATCH 2/3] QML UI: add comboboxes to DiveDetailsEdit

2016-05-16 Thread Joakim Bygdell
This adds autocompleting text input fields for suit, buddy and divemaster. Signed-off-by: Joakim Bygdell <j.bygd...@gmail.com> --- core/subsurface-qt/DiveObjectHelper.cpp | 18 mobile-widgets/qml/DiveDetails.qml | 12 +-- mobile-widgets/qml/DiveDetailsEdit.qml

[PATCH 3/3] QML UI: hide handles for comboboxes

2016-05-16 Thread Joakim Bygdell
Hide the handles for the comboboxes, making the text input fields look like the normal text fields. This is left as a separate patch as there currently seems to be issues with autocomplete on Android. Signed-off-by: Joakim Bygdell <j.bygd...@gmail.com> --- mobile-widgets/qml/DiveDetailsEd

QML inconsistency Android <-> Desktop

2016-05-07 Thread Joakim Bygdell
When running Subsurface-mobile on my laptop I have a fully functional combobox that autocompletes text input based on what exists in the list model. However when I run the same build on android the autocompletion only works for elements in the list that start with numbers. First I thought that

Re: QML question

2016-04-27 Thread Joakim Bygdell
> On 27 Apr 2016, at 18:55, Tomaz Canabrava wrote: > > Please, please: > > don't add more stuff to the QMLManager, it's a huge beast already :) > crete something like this: > > Q_INVOKABLE QStringListModel : DiveObjectHelper::buddies() { >static QStringListModel

Re: QML question

2016-04-27 Thread Joakim Bygdell
> On 27 Apr 2016, at 18:27, Thiago Macieira <thi...@macieira.org> wrote: > > On quarta-feira, 27 de abril de 2016 17:40:53 PDT Joakim Bygdell wrote: >> Thomas or Thiago can you explain what’s going on here? >> >> I have a combobox that gets populated from a

QML question

2016-04-27 Thread Joakim Bygdell
Thomas or Thiago can you explain what’s going on here? I have a combobox that gets populated from a QStringList. If I generate the QStringList on the C++ side like so, list << “foo” << “bar << “baz" my combobox contains 3 elements as expected. If I populate the QStringList with data

QML bug or caching issue.

2016-03-30 Thread Joakim Bygdell
I have been fiddling with cylinder editing fort subsurface-mobile but have some rather strange UI issues. After having selected a cylinder from the dropdown menu and pressing save the dive details page loads but the text for the cylinder description is garbage, for example it can show "uS\u007F”

Re: Subsurface-mobile 854 - now even more Plasma-mobile than ever before

2016-02-14 Thread Joakim Bygdell
> On 14 Feb 2016, at 21:21, Dirk Hohndel wrote: >> >> The issue is still there, on both -858 and on the one I build my self. >> Primary targets are Dive list, Show GPS fixes > > I tried this on three different devices with all of the pages that you > mentioned. For me in each

Re: Subsurface-mobile 854 - now even more Plasma-mobile than ever before

2016-02-14 Thread Joakim Bygdell
> On 14 Feb 2016, at 09:04, Joakim Bygdell <j.bygd...@gmail.com> wrote: > >> >> On 14 Feb 2016, at 09:01, Dirk Hohndel <d...@hohndel.org> wrote: >> >> On Sun, Feb 14, 2016 at 08:57:58AM +0100, Joakim Bygdell wrote: >>>> On Sun,

Re: Subsurface-mobile 854 - now even more Plasma-mobile than ever before

2016-02-14 Thread Joakim Bygdell
> On 14 Feb 2016, at 09:01, Dirk Hohndel <d...@hohndel.org> wrote: > > On Sun, Feb 14, 2016 at 08:57:58AM +0100, Joakim Bygdell wrote: >>> On Sun, Feb 14, 2016 at 08:48:48AM +0100, Joakim Bygdell wrote: >>>> Issues found: >>>> Cloud credential

[PATCH 3/3] QML UI: enable edit of gasmix

2016-02-13 Thread Joakim Bygdell
First cylinder only, show warning if there are more than one cylinder defined. Signed-off-by: Joakim Bygdell <j.bygd...@gmail.com> --- qt-mobile/qml/DiveDetails.qml | 3 +++ qt-mobile/qml/DiveDetailsEdit.qml | 13 - qt-mobile/qml/main.qml| 1 + qt-

[PATCH 1/3] Add helper function to retrieve first gas

2016-02-13 Thread Joakim Bygdell
Signed-off-by: Joakim Bygdell <j.bygd...@gmail.com> --- subsurface-core/subsurface-qt/DiveObjectHelper.cpp | 7 +++ subsurface-core/subsurface-qt/DiveObjectHelper.h | 2 ++ 2 files changed, 9 insertions(+) diff --git a/subsurface-core/subsurface-qt/DiveObjectHelper.cpp b/subsurfac

[PATCH 2/3] Add helper function to parse gasmix strings

2016-02-13 Thread Joakim Bygdell
Signed-off-by: Joakim Bygdell <j.bygd...@gmail.com> --- subsurface-core/helpers.h| 2 ++ subsurface-core/qthelper.cpp | 41 + 2 files changed, 43 insertions(+) diff --git a/subsurface-core/helpers.h b/subsurface-core/helpers.h index 7537818..4

Re: Subsurface-mobile for Android -845

2016-02-13 Thread Joakim Bygdell
> On 13 Feb 2016, at 18:52, Dirk Hohndel <d...@hohndel.org> wrote: > > On Sat, Feb 13, 2016 at 09:29:34AM +0100, Joakim Bygdell wrote: >>> >>> 845 should address the issues that were mentioned >>> >>> - I think I finally figured out the h

Re: Subsurface-mobile for Android -845

2016-02-13 Thread Joakim Bygdell
> On 13 Feb 2016, at 08:07, Dirk Hohndel wrote: > > Hi there. > > 845 should address the issues that were mentioned > > - I think I finally figured out the hang with incorrect credentials > - I FINALLY paid enough attention to realize why the 'Save' after an edit > accessed

Re: Subsurface-mobile 854 - now even more Plasma-mobile than ever before

2016-02-13 Thread Joakim Bygdell
> On 14 Feb 2016, at 07:23, Dirk Hohndel wrote: > > > So based on the feedback received and the discussion here on the list, I > decided to go all the way... > > - all the save buttons on the pages are gone > - the action button is used for the main action on any page,

[PATCH] While parsing weight and pressure we should not change the users settings.

2016-02-12 Thread Joakim Bygdell
Now it is possible to enter a specific unit that is different from the unit stored in the preferences. If only numbers are inputed the unit will be the same as specified by the users preferences. Signed-off-by: Joakim Bygdell <j.bygd...@gmail.com> --- qt-mobile/qmlmanager.cpp

Re: Subsurface-planner [was: Now Accepting GSoC 2016 Mentor Organization Applications]

2016-02-10 Thread Joakim Bygdell
> On 10 Feb 2016, at 16:43, Dirk Hohndel <d...@hohndel.org> wrote: > > >> On Feb 9, 2016, at 10:46 PM, Joakim Bygdell <j.bygd...@gmail.com >> <mailto:j.bygd...@gmail.com>> wrote: >> >> With the first beta out I consider the functionality mo

Re: Subsurface-planner [was: Now Accepting GSoC 2016 Mentor Organization Applications]

2016-02-10 Thread Joakim Bygdell
> On 10 Feb 2016, at 17:27, Dirk Hohndel <d...@hohndel.org> wrote: > > >> On Feb 10, 2016, at 8:12 AM, Joakim Bygdell <j.bygd...@gmail.com >> <mailto:j.bygd...@gmail.com>> wrote: >>> >>> I am NOT INTERESTED in turning Subsurface-mobile

[PATCH 2/3] QML UI: add function to get cylinder pressures

2016-02-09 Thread Joakim Bygdell
Since we only show the first cylinder we can also only edit the first cylinder. Signed-off-by: Joakim Bygdell <j.bygd...@gmail.com> --- subsurface-core/subsurface-qt/DiveObjectHelper.cpp | 23 ++ subsurface-core/subsurface-qt/DiveObjectHelper.h | 4 2 files c

[PATCH 3/3] QML UI: enable edit of cylinder pressures

2016-02-09 Thread Joakim Bygdell
First cylinder only, show warning if there are more than one cylinder defined. Signed-off-by: Joakim Bygdell <j.bygd...@gmail.com> --- qt-mobile/qml/DiveDetails.qml | 10 ++ qt-mobile/qml/DiveDetailsEdit.qml | 26 +- qt-mobile/qml/main.qml

  1   2   3   >