Re: towards Subsurface 4.7.5 and Subsurface-mobile 2.0.2 for iOS and Android

2017-12-05 Thread Murillo Bernardes
by default iOS might pause updates if there is no significant change in
location. This can be disabled via swift or Obj-C, now I'm checking if this
available via Qt.

I can confirm the reported behaviour, just need to verify moving
considerably and check if it receives updates again.

Murillo Bernardes

On Tue, Dec 5, 2017 at 11:26 PM, Dirk Hohndel  wrote:

> Murillo,
>
> Any idea why it stops recording?
> Given the intended use case, this is problematic...
>
> Thanks for the detailed test, Robert.
>
> /D
>
>
> On December 5, 2017 12:04:47 AM PST, Robert Helling 
> wrote:
>>
>> Hi,
>>
>>
>> On 4. Dec 2017, at 19:13, Dirk Hohndel  wrote:
>>
>> I see more than a dozen people are testing Subsurface-mobile on iOS.
>>
>>
>> quick report: I have given it a spin on my iPhone. Once more, I am pretty
>> impressed. I would say: It mostly works.
>>
>> I equipped both OSTC Sports that I have here with a new battery (every
>> time I take them out of by bag the battery is dead). To my surprise both
>> came to life (even the one where I had thought the pressure sensor had died
>> and had prevented it from booting in the past). Starting Subsurface-mobile
>> on the phone and going to the download menu immediately showed one address
>> (but no name and the address appears to be different from what it shows on
>> the desktop), I did not have to scan or even wait. And it downloaded the
>> dives without any problem, it’s just a bit slow (as others have noticed
>> already).
>>
>> The second, however, never appeared in the drop down menu (I just double
>> checked I can connect and download from both computers on the desktop). But
>> I attribute that to my ignorance to how the pairing is supposed to work.
>>
>> I also tried the phone to record GPS fixes (I corrected a mistranslation
>> in the German localisation already on transiflex). It asked for permission
>> to record fixes in the background. And it did. But only a few:
>>
>>
>> This is the result from letting it run continuously in the background (at
>> least I never explicitly stopped it). The good news is that I could not
>> find any influence on battery life. But the bad news is that it apparently
>> decides to stop recording after a while (maybe when the executable gets
>> swapped out of memory?). BTW now you all know where I live and where I work…
>>
>> Best
>> Robert
>>
>> --
>> .oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.
>> oOo.oOo.oOo.oOo.oOo.oO
>> Robert C. Helling Elite Master Course Theoretical and Mathematical
>> Physics
>>   Scientific Coordinator
>>   Ludwig Maximilians Universitaet Muenchen, Dept.
>> Physik
>>   Phone: +49 89 2180-4523 <+49%2089%2021804523>  
>> Theresienstr.
>> 39, rm. B339
>> 
>>   http://www.atdotde.de
>>
>> Enhance your privacy, use cryptography! My PGP keys have fingerprints
>> A9D1 A01D 13A5 31FA 6515  BB44 0820 367C 36BC 0C1Dand
>> DCED 37B6 251C 7861 270D  5613 95C7 9D32 9A8D 9B8F
>>
>>
>>
>>
>>
>>
> --
> from my phone.
>
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: towards Subsurface 4.7.5 and Subsurface-mobile 2.0.2 for iOS and Android

2017-12-05 Thread Murillo Bernardes
On Tue, Dec 5, 2017 at 4:25 PM, Robert Helling  wrote:

> Hi,
>
> quick update:
>
>
> On 5. Dec 2017, at 09:04, Robert Helling  wrote:
>
> And it downloaded the dives without any problem, it’s just a bit slow (as
> others have noticed already).
>
>
Good to hear.. and yeah, it's slow.


>
> The second, however, never appeared in the drop down menu (I just double
> checked I can connect and download from both computers on the desktop). But
> I attribute that to my ignorance to how the pairing is supposed to work.
>
>
> I tried with my iPad as well. I finally managed to connect and download
> both dive computers. There I see that after a while behind the hex-address
> it shows OSCT Sport. Which is good. But it seems it only works I turn on BT
> on the dive computer before starting the app. Otherwise I cannot get a
> connections.
>
>
For now the discovery starts with the app and finishes some time after. If
the computer was not discovered by then it will not be available.

Ideally whenever the Download page is open we would start the discovery (if
it's stopped). To be implemented later.

-- 
Murillo
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: towards Subsurface 4.7.5 and Subsurface-mobile 2.0.2 for iOS and Android

2017-12-05 Thread Robert Helling
Hi,


> On 4. Dec 2017, at 19:13, Dirk Hohndel  wrote:
> 
> I see more than a dozen people are testing Subsurface-mobile on iOS.


quick report: I have given it a spin on my iPhone. Once more, I am pretty 
impressed. I would say: It mostly works.

I equipped both OSTC Sports that I have here with a new battery (every time I 
take them out of by bag the battery is dead). To my surprise both came to life 
(even the one where I had thought the pressure sensor had died and had 
prevented it from booting in the past). Starting Subsurface-mobile on the phone 
and going to the download menu immediately showed one address (but no name and 
the address appears to be different from what it shows on the desktop), I did 
not have to scan or even wait. And it downloaded the dives without any problem, 
it’s just a bit slow (as others have noticed already).

The second, however, never appeared in the drop down menu (I just double 
checked I can connect and download from both computers on the desktop). But I 
attribute that to my ignorance to how the pairing is supposed to work.

I also tried the phone to record GPS fixes (I corrected a mistranslation in the 
German localisation already on transiflex). It asked for permission to record 
fixes in the background. And it did. But only a few:



This is the result from letting it run continuously in the background (at least 
I never explicitly stopped it). The good news is that I could not find any 
influence on battery life. But the bad news is that it apparently decides to 
stop recording after a while (maybe when the executable gets swapped out of 
memory?). BTW now you all know where I live and where I work…

Best
Robert

--
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO
Robert C. Helling Elite Master Course Theoretical and Mathematical Physics
  Scientific Coordinator
  Ludwig Maximilians Universitaet Muenchen, Dept. Physik
  Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339
  http://www.atdotde.de

Enhance your privacy, use cryptography! My PGP keys have fingerprints
A9D1 A01D 13A5 31FA 6515  BB44 0820 367C 36BC 0C1Dand
DCED 37B6 251C 7861 270D  5613 95C7 9D32 9A8D 9B8F







signature.asc
Description: Message signed with OpenPGP
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: towards Subsurface 4.7.5 and Subsurface-mobile 2.0.2 for iOS and Android

2017-12-04 Thread Dirk Hohndel
Update:

> On Dec 4, 2017, at 10:13 AM, Dirk Hohndel  wrote:
> 
> Linus just merged the latest functional changes in libdivecomputer (which 
> once again took some commits from our branch and made random changes to them, 
> making the merging increasingly harder), but of course not the iostream 
> code... 

Turns out this was incorrect. Two commits are missing - I'll leave it to Linus 
how he wants to continue there.
> 
> After that I was thinking that we could spend a couple of days calming things 
> down and testing a bit more :-)
> And give the translators a chance to catch up.
> And update the Subsurface-mobile 2.0 manual to reflect the addition of iOS

All this is still true. I'm working on a first pass for the mobile-manual.txt 
right now.

> I see more than a dozen people are testing Subsurface-mobile on iOS.
> I'll make a new Android build tonight as well (but of course you can always 
> test the artifacts from the continuous build...).
> I'll push new test builds for Ubuntu, openSUSE and Fedora today.

So all this has happened.
- latest AppImage is on GitHub
- latest Ubuntu / Fedora / openSUSE are in the daily repositories (those 
haven't been renamed to -test, btw)
- latest Windows, Mac, and Android is in downloads/test
- latest Android was also pushed to Google Play Beta testers
- latest iOS is on TestFlight

As always, comments, feedback, input, and issue reports are welcome.

/D
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: towards Subsurface 4.7.5 and Subsurface-mobile 2.0.2 for iOS and Android

2017-12-04 Thread Dirk Hohndel

> On Dec 4, 2017, at 4:38 PM, Jan Mulder  wrote:
> 
> Dirk Hohndel schreef op 2017-12-04 19:13:
> 
>> Linus just merged the latest functional changes in libdivecomputer
>> (which once again took some commits from our branch and made random
>> changes to them, making the merging increasingly harder), but of
>> course not the iostream code...
>> I know that Jan had a change that he wanted to add once
>> libdivecomputer is merged (I'm just talking to Linus about the
>> logistics of changing the submodule ref - this should happen RSN).
> 
> Hmm, I see that the 2 commits I would like to see merged (SHAs from  Jefs 
> master 76187c550a806fe and f87720dff9e04dbe) are not merged. Not sure that 
> thats intentional or just forgotten. As our release is coming close, I could 
> live with postphoning it to 4.7.6 (also as my time is still limited to add my 
> fix on top).

Linus and I talked about this, long story short, he would rather not 
cherry-pick but merge to a specific commit in Jef's libdivecomputer (this way 
the git history stays sane). That means he is currently looking at the iostream 
code, which means he has a headache, is frustrated and may or may not get this 
done today, or this week, or ever.

It's frustrating that Jef went down that road even though we had pretty strong 
arguments why his design is not useful for the dive computers that we already 
support...

/D
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: towards Subsurface 4.7.5 and Subsurface-mobile 2.0.2 for iOS and Android

2017-12-04 Thread Jan Mulder

Dirk Hohndel schreef op 2017-12-04 19:13:


Linus just merged the latest functional changes in libdivecomputer
(which once again took some commits from our branch and made random
changes to them, making the merging increasingly harder), but of
course not the iostream code...

I know that Jan had a change that he wanted to add once
libdivecomputer is merged (I'm just talking to Linus about the
logistics of changing the submodule ref - this should happen RSN).


Hmm, I see that the 2 commits I would like to see merged (SHAs from  
Jefs master 76187c550a806fe and f87720dff9e04dbe) are not merged. Not 
sure that thats intentional or just forgotten. As our release is coming 
close, I could live with postphoning it to 4.7.6 (also as my time is 
still limited to add my fix on top).


--jan

___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface