Re: experimenting with milestones at github

2018-07-05 Thread Martin Gysel
Am Freitag, 6. Juli 2018, 04:21:37 CEST schrieb Dirk Hohndel:
> I can't see a milestone on GitHub - am I looking at this wrong?

https://github.com/Subsurface-divelog/subsurface/milestones

> 
> /D
> 
> > On Jul 5, 2018, at 4:05 PM, Lubomir I. Ivanov  wrote:
> > 
> > a milestone can be used to distinguish issues and PRs that are
> > targeting a release.
> > for example, we already released 4.8, but all 4.8.x issues and PRs
> > should have the same 4.8 milestone.
> > 
> > i've added the 4.8 milestone at github and assigned one issue for it for
> > now: https://github.com/Subsurface-divelog/subsurface/issues/1461
> > 
> > here are a couple of other bugs that could be fixed in 4.8.1 as well:
> > https://github.com/Subsurface-divelog/subsurface/issues/1445
> > https://github.com/Subsurface-divelog/subsurface/issues/1446
> > 
> > if you think there are more, we can add them.
> > 
> > lubomir


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


Re: experimenting with milestones at github

2018-07-05 Thread Dirk Hohndel
I can't see a milestone on GitHub - am I looking at this wrong? 

/D

> On Jul 5, 2018, at 4:05 PM, Lubomir I. Ivanov  wrote:
> 
> a milestone can be used to distinguish issues and PRs that are
> targeting a release.
> for example, we already released 4.8, but all 4.8.x issues and PRs
> should have the same 4.8 milestone.
> 
> i've added the 4.8 milestone at github and assigned one issue for it for now:
> https://github.com/Subsurface-divelog/subsurface/issues/1461
> 
> here are a couple of other bugs that could be fixed in 4.8.1 as well:
> https://github.com/Subsurface-divelog/subsurface/issues/1445
> https://github.com/Subsurface-divelog/subsurface/issues/1446
> 
> if you think there are more, we can add them.
> 
> lubomir
> --
> ___
> subsurface mailing list
> subsurface@subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

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


experimenting with milestones at github

2018-07-05 Thread Lubomir I. Ivanov
a milestone can be used to distinguish issues and PRs that are
targeting a release.
for example, we already released 4.8, but all 4.8.x issues and PRs
should have the same 4.8 milestone.

i've added the 4.8 milestone at github and assigned one issue for it for now:
https://github.com/Subsurface-divelog/subsurface/issues/1461

here are a couple of other bugs that could be fixed in 4.8.1 as well:
https://github.com/Subsurface-divelog/subsurface/issues/1445
https://github.com/Subsurface-divelog/subsurface/issues/1446

if you think there are more, we can add them.

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


Re: Run test suite.

2018-07-05 Thread Jan Iversen


Enviado desde mi iPad

> El 5 jul 2018, a las 21:31, Dirk Hohndel  escribió:
> 
> 
> 
>> On Jul 5, 2018, at 11:47 AM, Jan Iversen  wrote:
>> 
>> Just controlled CMakelists.txt it sets (as you wrote) MAKE_TESTS on, but 
>> when I do
>> 
>> c:subsurface jani$ vi CMakeLists.txt
>> janMac:subsurface jani$ make check
>> make: *** No rule to make target `check'.  Stop.
> 
> You need to be in your build directory, right?
> And then it may complain about not finding libgit2.26.dylib - so you need to 
> make sure that you either fix up the binaries or have that in your library 
> search path.

No comments, now it is building :-) will look at fixing binaries or search path

Rgds
Jan I.
> 
> After that it should work.
> 
> /D
> 
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


TestFlight beta feedback for Subsurface-mobile.

2018-07-05 Thread Jan Iversen


App Information:
App Name: Subsurface-mobile
App Version: 2.1.1 (4.8.0.39)
Installed App Version: 2.1.1 (4.8.0.39)

Device Information:
Device: iPad6,7
iOS Version: 11.4
Language: es-ES (español (España))
Carrier: N/A
Timezone: CEST
Architecture: N/A
Connection Status: WiFi
Paired Apple Watch: N/A


Runs nicely with spanish text on my ipad, and switches to english when I change 
the system language.
(Remark we really should make some of this fields in settings).

Changing cloud user works.

Rgds
Jan I


Enviado desde mi iPad___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Run test suite.

2018-07-05 Thread Dirk Hohndel


> On Jul 5, 2018, at 11:47 AM, Jan Iversen  wrote:
> 
> Just controlled CMakelists.txt it sets (as you wrote) MAKE_TESTS on, but when 
> I do
> 
> c:subsurface jani$ vi CMakeLists.txt
> janMac:subsurface jani$ make check
> make: *** No rule to make target `check'.  Stop.

You need to be in your build directory, right?
And then it may complain about not finding libgit2.26.dylib - so you need to 
make sure that you either fix up the binaries or have that in your library 
search path.

After that it should work.

/D

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


Re: developer video call anyone?

2018-07-05 Thread Dirk Hohndel

> On Jul 5, 2018, at 11:52 AM, Jan Iversen  wrote:
>>> our agenda and Zoom link is in here:
>>> https://docs.google.com/document/d/1v745D3TznRG7rHOKInLR-nEmCQ6wMehehlWPtV40_HY/edit#heading=h.wkz4ubcmcwg8
>> 
>> thank you everyone for joining,
>> i think we had a productive talk on a variety of topics
>> 
>> we can potentially do this again next month.

> It was very informative for me, and I look forward to repeat.

I really enjoyed the call. We had eight attendees for the first hour or so and 
then one more joined us. A lively conversation on development plans and 
directions.
It is interesting to see how the live conversation helps to move some topics 
forward.

I will set up another call early next month :-)

/D

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


Bug with MacOS and OSTC3

2018-07-05 Thread Otto Strassen
Hi

After updating to 4.8.0 I can no longer sync my OSTC3 with subsurface. I have 
re-paired the device but it still does not work.

Someone else seems to be having the same problem: 
https://subsurface-divelog.org/user-forum/?place=topic%2Fsubsurface-divelog%2FXJyZ2KWusHc%2Fdiscussion

Please CC, I am not subscribed to the list!

Thanks & best
Otto

Log output from Subsurface -v -v
---
Starting download from  /dev/tty.OSTC304462-SPP
Starting the thread 0
INFO: dc_device_open error value of 0
EVENT_DEVINFO gave us the correct detected product (model 26 instead of 10)
Finishing download thread: "Dive data import error"
Set the current dive site: 2513478646
Set the current dive site: 2513478646
---

Log from libdivecomputer
---
Subsurface: v4.8.0, built with libdivecomputer v0.7.0-devel-Subsurface-NG 
(e97a47cca55973199715df0f818b4955e60d3a31)
INFO: Open: name=/dev/tty.OSTC304462-SPP
INFO: Configure: baudrate=115200, databits=8, parity=0, stopbits=0, 
flowcontrol=0
INFO: Timeout: value=3000
INFO: Sleep: value=300
INFO: Purge: direction=3
INFO: Write: size=1, data=BB
INFO: Read: size=1, data=BB
INFO: Read: size=1, data=4D
INFO: Write: size=1, data=60
INFO: Read: size=1, data=60
INFO: Read: size=5, data=001A00
INFO: Read: size=1, data=4D
INFO: Write: size=1, data=69
INFO: Read: size=1, data=69
INFO: Read: size=64, 
data=6E110261544F53545220202020202020204F53544320202020202020202020202020202020202020202020202020202020202020202020202020202020202020
INFO: Read: size=1, data=4D
Event: model=26 (0x001a), firmware=609 (0x0261), serial=4462 
(0x116e)
INFO: Write: size=1, data=6D
INFO: Read: size=1, data=6D
INFO: Read: size=607, 
data=9A1B000F08130E2E082F210030010023861400100612112D83011A000C020024090C00100612121982010D0029030024C71D001006130D3A90012B00390400245609001006130E3280010A0011050024CD2400100704150E5006370028060024881300100707122D28041B0008070024501A00100707141D2603260014080024330800100707151449010300340900240D1D00100717031CF5082A00360A00246B200010071705167C073000130B0024B520001007180920DB0730003A0C0024EA20001007180B22B30731000F0D0024C81E0010071D090FC5092D00200E002440230010071D0B0EFE073500040F0024A31E0010071E092B390A2D001B1000249D230010071E0B284A0A35002E1100242B210010071E0F07AE0731002A120024EA200010071F09126E0A3100111300240F1C0010071F0B25F80829000E140024C5060010080108182A02060006150024E72000100801082A650A30001C160024EA1E001008010A2A9B092D0038170024C41D001008010D207B082C0005180024662100100802091B060A32190024401E001008020B2F1C092C00341A0024CC1C001008020F0C42092A001C1B0024F71E001008040B12CB0A2E00021C0024871E001008040D3402082D00161D0024351F001008050933D7082E001A1E00249C20001008050B2C3A0830002C1F0024051E001008060817AD0A2C001E2000247A20001008060B003C0A3000252100243B1D001009031435AE062B000A220024061F001009040D08E4052E000C2300243C08001009040E029D0107000E240024ED1E001108010E2BD1022D002A250024831B00110800E1042800122600
ERROR: Failed to receive the answer. [in ../../src/hw_ostc3.c:323 
(hw_ostc3_transfer)]
ERROR: Failed to read the header. [in ../../src/hw_ostc3.c:702 
(hw_ostc3_device_foreach)]
INFO: Write: size=1, data=FF
INFO: Read: size=1, data=24
ERROR: Unexpected echo. [in ../../src/hw_ostc3.c:305 (hw_ostc3_transfer)]
ERROR: Failed to send the command. [in ../../src/hw_ostc3.c:568 
(hw_ostc3_device_close)]
---
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: developer video call anyone?

2018-07-05 Thread Jan Iversen


Enviado desde mi iPad

> El 5 jul 2018, a las 20:46, Lubomir I. Ivanov  escribió:
> 
>> On 5 July 2018 at 19:31, Lubomir I. Ivanov  wrote:
>> the meeting is in 30 minutes.
>> 
>> our agenda and Zoom link is in here:
>> https://docs.google.com/document/d/1v745D3TznRG7rHOKInLR-nEmCQ6wMehehlWPtV40_HY/edit#heading=h.wkz4ubcmcwg8
>> 
> 
> thank you everyone for joining,
> i think we had a productive talk on a variety of topics
> .
> 
> we can potentially do this again next month.
It was very informative for me, and I look forward to repeat.

Thanks
Jan I.
> 
> lubomir
> --
> ___
> subsurface mailing list
> subsurface@subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Run test suite.

2018-07-05 Thread Jan Iversen
Just controlled CMakelists.txt it sets (as you wrote) MAKE_TESTS on, but when I 
do

c:subsurface jani$ vi CMakeLists.txt
janMac:subsurface jani$ make check
make: *** No rule to make target `check'.  Stop.

What am I missing ?

Rgds
Jan I.
Enviado desde mi iPad

> El 5 jul 2018, a las 18:23, Dirk Hohndel  escribió:
> 
> You sent that to an odd github address :-)
> 
>> On Jul 5, 2018, at 9:05 AM, Jan Iversen  wrote:
>> 
>> It seems Linux2 on travis runs the test suite.
> 
> Indeed
> 
>> How can I build a test executable and run it on my mac ?
>> (I am about to write a lot of test cases, and would like to test locally 
>> before pushing the PR).
> 
> Make sure that MAKE_TESTS is set  to ON (that's the default).
> Then run 
> make check
> Right now that seems broken for me out of the box because it can't find the 
> libgit2 
> shared library - but that's easy to fix.
> 
> 
> /D
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: developer video call anyone?

2018-07-05 Thread Lubomir I. Ivanov
On 5 July 2018 at 19:31, Lubomir I. Ivanov  wrote:
> the meeting is in 30 minutes.
>
> our agenda and Zoom link is in here:
> https://docs.google.com/document/d/1v745D3TznRG7rHOKInLR-nEmCQ6wMehehlWPtV40_HY/edit#heading=h.wkz4ubcmcwg8
>

thank you everyone for joining,
i think we had a productive talk on a variety of topics.

we can potentially do this again next month.

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


Re: developer video call anyone?

2018-07-05 Thread Jan Iversen
Nice way to say “no excuse for not being there” :-) 

I am getting ready, hope my iPad will cooperate.

Rgds
Jan I.

Enviado desde mi iPad

> El 5 jul 2018, a las 18:31, Lubomir I. Ivanov  escribió:
> 
> the meeting is in 30 minutes.
> 
> our agenda and Zoom link is in here:
> https://docs.google.com/document/d/1v745D3TznRG7rHOKInLR-nEmCQ6wMehehlWPtV40_HY/edit#heading=h.wkz4ubcmcwg8
> 
> lubomir
> --
> ___
> subsurface mailing list
> subsurface@subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: developer video call anyone?

2018-07-05 Thread Lubomir I. Ivanov
the meeting is in 30 minutes.

our agenda and Zoom link is in here:
https://docs.google.com/document/d/1v745D3TznRG7rHOKInLR-nEmCQ6wMehehlWPtV40_HY/edit#heading=h.wkz4ubcmcwg8

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


Re: Run test suite.

2018-07-05 Thread Dirk Hohndel
You sent that to an odd github address :-)

> On Jul 5, 2018, at 9:05 AM, Jan Iversen  wrote:
> 
> It seems Linux2 on travis runs the test suite.

Indeed

> How can I build a test executable and run it on my mac ?
> (I am about to write a lot of test cases, and would like to test locally 
> before pushing the PR).

Make sure that MAKE_TESTS is set  to ON (that's the default).
Then run 
make check
Right now that seems broken for me out of the box because it can't find the 
libgit2 
shared library - but that's easy to fix.


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


Re: Legacy Bluetooth missing again

2018-07-05 Thread Dirk Hohndel

> On Jul 5, 2018, at 8:29 AM, Long, Martin  wrote:
> 
> Ah, so maybe it disappeared because I'd paired my petrel with my PC in order 
> to test the ppo2 download. 

Yes - I can actually reproduce that behavior here. For the Suunto you have to 
explicitly delete a pairing, the Shearwater doesn't offer that.
Additionally, you can get the Shearwater in a state where it refuses to give up 
its idea of its state. Shearwater themselves recommend removing the battery and 
waiting about 15 seconds for the BT settings to reset.

> Thing is I'd tried unpairing and re-pairing several times, to no avail. 
> Anyway it's working now, and the good news is that the ppO2 data also came 
> through for my new dives. Excellent work. 

I'm glad this is working. I'm puzzled how it would make a difference to the 
ability to pair if you re-install Subsurface... but let's simply remember this 
as "last ditch attempt" when other, saner approaches don't work :-)

One request - your email sounded like you had this not working for weeks and 
were rather frustrated. Apparently we (the community) and I (as the maintainer) 
sometimes don't do a good job listening to people who are stuck. Please be 
persistent and tell us when things are broken for you so we prioritize the 
effort to fix them...

Thanks for the feedback!

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


Re: Legacy Bluetooth missing again

2018-07-05 Thread Long, Martin
Ah, so maybe it disappeared because I'd paired my petrel with my PC in
order to test the ppo2 download.

Thing is I'd tried unpairing and re-pairing several times, to no avail.
Anyway it's working now, and the good news is that the ppO2 data also came
through for my new dives. Excellent work.

On 5 July 2018 at 16:16, Dirk Hohndel  wrote:

>
> > On Jul 5, 2018, at 7:32 AM, Davide DB  wrote:
> >>
> >> I seem to have got it back by:
> >>
> >> - Deleting app and reinstalling
> >> - Deleting the pairing (in phone BT settings) and recreating
> >>
> >> Though I tried several times. Both of those steps on their own didn't
> seem to work.
> >
> > Same here but on my vintage Nexus 7 (first version) it's sufficient to
> > delete and create the BT pairing.
>
> Shearwater acknowledges that the dual stack BT/BLE versions of the Petrel 2
> are a bit temperamental. Once they remember a device, they stop
> broadcasting
> and in some circumstances that leads to a new connection not working.
>
> But I will admit that I have problems with the Suunto as well.
>
> If you go to the forums of any of the company dive log apps (be it Suunto,
> Shearwater, Scubapro...) they are filled with people reporting similar
> issues.
> Getting BT and BLE connections set up and maintained is not as simple as
> it should be.
>
> /D
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Legacy Bluetooth missing again

2018-07-05 Thread Dirk Hohndel

> On Jul 5, 2018, at 7:32 AM, Davide DB  wrote:
>> 
>> I seem to have got it back by:
>> 
>> - Deleting app and reinstalling
>> - Deleting the pairing (in phone BT settings) and recreating
>> 
>> Though I tried several times. Both of those steps on their own didn't seem 
>> to work.
> 
> Same here but on my vintage Nexus 7 (first version) it's sufficient to
> delete and create the BT pairing.

Shearwater acknowledges that the dual stack BT/BLE versions of the Petrel 2
are a bit temperamental. Once they remember a device, they stop broadcasting
and in some circumstances that leads to a new connection not working.

But I will admit that I have problems with the Suunto as well.

If you go to the forums of any of the company dive log apps (be it Suunto,
Shearwater, Scubapro...) they are filled with people reporting similar issues.
Getting BT and BLE connections set up and maintained is not as simple as
it should be.

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


Re: Legacy Bluetooth missing again

2018-07-05 Thread Davide DB
On Thu, 5 Jul 2018 at 14:52, Long, Martin  wrote:
>
> I seem to have got it back by:
>
>  - Deleting app and reinstalling
>  - Deleting the pairing (in phone BT settings) and recreating
>
> Though I tried several times. Both of those steps on their own didn't seem to 
> work.

Same here but on my vintage Nexus 7 (first version) it's sufficient to
delete and create the BT pairing.

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


Re: Legacy Bluetooth missing again

2018-07-05 Thread Long, Martin
I seem to have got it back by:

 - Deleting app and reinstalling
 - Deleting the pairing (in phone BT settings) and recreating

Though I tried several times. Both of those steps on their own didn't seem
to work.

Regards

Martin

On 5 July 2018 at 13:34, Long, Martin  wrote:

> Hi,
>
> The seems to keep cropping up every so often when a new version becomes
> available. Does someone keep reverting the fix to fix some other issue?
>
> Please see the screenshots. BLE simply doesn't work with the Petrel, so
> without the classic BT device, I simply cannot download my dives.
>
> It works for about a week, and then i normally have to wait months for a
> fix to make it back into the mainstream release. (I'm currently on the
> Android beta channel)
>
> I was hoping I'd be able to test out the fixes to the recent problems with
> Shearwater ppO2 readings, but obviously need to be able to actually
> download dives.
>
> Regards
>
> Martin
>
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface