Random milestones

2019-09-11 Thread Dirk Hohndel
Not that it means anything, but as of today there are 16000 commits in the 
Subsurface master branch.

And as of a few days ago, Berthold is the third contributor surpassing 1000 
commits, with Miika and Linus just before that (meaningless) threshold.

And as of Tuesday Pedro is the 14th contributor I've met in person :-)

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


Re: Ratio ix3m Pro on Android

2019-09-11 Thread liquid tcp
On Wed, Sep 11, 2019 at 4:45 PM Anton Lundin  wrote:

> On 11 September, 2019 - Dirk Hohndel wrote:
>
> > On Wed, Sep 11, 2019 at 09:07:51AM +0200, liquid tcp wrote:
> > >
> > > Since I'm completely new to diving, let me first thank you all for what
> > > seems to me as the best available divelog!
> > >
> > > I do have a Ratio ix3m Pro (Deep) computer that downloads fine to
> subsurface
> > > In the Android app [2.2.0(4.9.1.40) - playstore beta] the pros are not
> > > listed, and I can't download the logs to subsurface-mobile (via USB-C
> > > adapter)
> >
> > The Pro models don't support BLE - and on Android support of cable based
> > downloads is mostly non-existant. Yes, for FTDI cables this appears to
> > work for a small number of people who's phones' Android version doesn't
> > block access to the way we try to open the USB port, but it appears for
> > the vast majority of phones even the FTDI download fails. And I /think/
> > the Ratio download cable isn't FTDI based, anyway.
> >
>
> Which serial chip do they use?
>
> Plug the dive computer into your phone and run a app like:
> https://play.google.com/store/apps/details?id=aws.apps.usbDeviceEnumerator
>
> And send the info here, and I'll tell you.
>

Like Ricardo wrote: FTDI FT230X Basic UART

Device Info
Device Path: /dev/bus/usb/001/002
Device Class: Use class information in the Interface Descriptors (0x0)
Vendor ID:  0403
Vendor Name (reported):  FTDI
Vendor Name (from DB):  Future Technology Devices International, Ltd
Product ID:  6015
Product Name (reported):  FT230X Basic UART
Product Name (from DB):  not found

Additional Info
Interface #0
Class: Vendor Specific (0xff)
Endpoint: #0
Address: 0x81 (1001)
Number : 1
Direction  : Inbound (0x80)
Type   : Bulk (0x2)
Poll Interval  : 0
Max Packet Size: 64
Attributes : 00010
Endpoint: #1
Address: 0x02 (00010)
Number : 2
Direction  : Outbound (0x0)
Type   : Bulk (0x2)
Poll Interval  : 0
Max Packet Size: 64
Attributes : 00010



>
> > > Is there anything I can do to (help) make it available?
> > > Unfortunately I have never worked with C++ before (well, actually I
> only
> > > "played lego" with .Net ;-) except of some assembler basics back in
> school)
> > > I've tried and downloaded the repo, but must admit I do not yet
> understand
> > > the divecomputer interface, and didn't even find the android related
> code.
> > > so I fear I can't be much help with actual coding anytime soon
> >
> > We in theory know how this situation could be improved. But the only
> > developer who really seems to fully understand what needs to be done
> > doesn't have the time to work on this, and those who care enough and
> might
> > have the time, don't have sufficient understanding how to make the
> libusb2
> > integration with the native USB port access implementation on newer
> > Android work.
>

OK, thanks. My phone does react kind of unexpected when I try to change the
USB mode from client to OTG (switching back stating couldn't switch)
So a workaround might be using an old android device as a downloader? Or
wouldn't this work anyways since the ProductID isn't implemented on
subsurface-mobile?
Well, on the other hand, downloading the dive shouldn't be so urgent that
it can't wait until I'm back on a real computer. - Since I'm not into tech
diving (yet) ;-)

thanks again for your help and all the work!
best regards
Benji
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Unnecessary detail in dive plan

2019-09-11 Thread tormento
Yep it works!

Thanks to everybody!

Il giorno mer 11 set 2019 alle ore 20:42 Robert Helling 
ha scritto:

> Hi,
>
> On 11. Sep 2019, at 16:51, tormento  wrote:
>
> Any update on status? When I can test on continuous build?
>
>
> Dirk merged this today (after releasing 4.9.3). It should show up in the
> latest builds on
> https://github.com/Subsurface-divelog/subsurface/releases/tag/continuous
>
> Best
> Robert
>
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Unnecessary detail in dive plan

2019-09-11 Thread Robert Helling
Hi,

> On 11. Sep 2019, at 16:51, tormento  wrote:
> 
> Any update on status? When I can test on continuous build?
> 

Dirk merged this today (after releasing 4.9.3). It should show up in the latest 
builds on 
https://github.com/Subsurface-divelog/subsurface/releases/tag/continuous 


Best
Robert


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: Unnecessary detail in dive plan

2019-09-11 Thread tormento
Any update on status? When I can test on continuous build?

Thanks 珞

Il giorno dom 8 set 2019 alle 19:12 Robert Helling  ha
scritto:

>
>
> On 7. Sep 2019, at 11:49, tormento  wrote:
>
> Unchecking "Display transitions in deco" shows 21m gate too.
>
>
> I think I have a PR that fixes this issue:
> https://github.com/Subsurface-divelog/subsurface/pull/2282
>
> But the logic in the planner notes when to print what information is quite
> subtle, so this can never get enough testing.
>
> Best
> Robert
>
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Ratio ix3m Pro on Android

2019-09-11 Thread Anton Lundin
On 11 September, 2019 - Dirk Hohndel wrote:

> On Wed, Sep 11, 2019 at 09:07:51AM +0200, liquid tcp wrote:
> > 
> > Since I'm completely new to diving, let me first thank you all for what
> > seems to me as the best available divelog!
> > 
> > I do have a Ratio ix3m Pro (Deep) computer that downloads fine to subsurface
> > In the Android app [2.2.0(4.9.1.40) - playstore beta] the pros are not
> > listed, and I can't download the logs to subsurface-mobile (via USB-C
> > adapter)
> 
> The Pro models don't support BLE - and on Android support of cable based
> downloads is mostly non-existant. Yes, for FTDI cables this appears to
> work for a small number of people who's phones' Android version doesn't
> block access to the way we try to open the USB port, but it appears for
> the vast majority of phones even the FTDI download fails. And I /think/
> the Ratio download cable isn't FTDI based, anyway.
> 

Which serial chip do they use?

Plug the dive computer into your phone and run a app like:
https://play.google.com/store/apps/details?id=aws.apps.usbDeviceEnumerator

And send the info here, and I'll tell you.

> > Is there anything I can do to (help) make it available?
> > Unfortunately I have never worked with C++ before (well, actually I only
> > "played lego" with .Net ;-) except of some assembler basics back in school)
> > I've tried and downloaded the repo, but must admit I do not yet understand
> > the divecomputer interface, and didn't even find the android related code.
> > so I fear I can't be much help with actual coding anytime soon
> 
> We in theory know how this situation could be improved. But the only
> developer who really seems to fully understand what needs to be done
> doesn't have the time to work on this, and those who care enough and might
> have the time, don't have sufficient understanding how to make the libusb2
> integration with the native USB port access implementation on newer
> Android work.

Any year now.


//Anton


-- 
Anton Lundin+46702-161604
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Ratio ix3m Pro on Android

2019-09-11 Thread Riccardo Brama
Dirk,

   I can ensure you Ratio cable is based on a FTDI FT230X USB to UART
converter.

   Best regards,
   R.-.

On Wed, Sep 11, 2019 at 3:09 PM Dirk Hohndel  wrote:

> On Wed, Sep 11, 2019 at 09:07:51AM +0200, liquid tcp wrote:
> >
> > Since I'm completely new to diving, let me first thank you all for what
> > seems to me as the best available divelog!
> >
> > I do have a Ratio ix3m Pro (Deep) computer that downloads fine to
> subsurface
> > In the Android app [2.2.0(4.9.1.40) - playstore beta] the pros are not
> > listed, and I can't download the logs to subsurface-mobile (via USB-C
> > adapter)
>
> The Pro models don't support BLE - and on Android support of cable based
> downloads is mostly non-existant. Yes, for FTDI cables this appears to
> work for a small number of people who's phones' Android version doesn't
> block access to the way we try to open the USB port, but it appears for
> the vast majority of phones even the FTDI download fails. And I /think/
> the Ratio download cable isn't FTDI based, anyway.
>
> > Is there anything I can do to (help) make it available?
> > Unfortunately I have never worked with C++ before (well, actually I only
> > "played lego" with .Net ;-) except of some assembler basics back in
> school)
> > I've tried and downloaded the repo, but must admit I do not yet
> understand
> > the divecomputer interface, and didn't even find the android related
> code.
> > so I fear I can't be much help with actual coding anytime soon
>
> We in theory know how this situation could be improved. But the only
> developer who really seems to fully understand what needs to be done
> doesn't have the time to work on this, and those who care enough and might
> have the time, don't have sufficient understanding how to make the libusb2
> integration with the native USB port access implementation on newer
> Android work.
>
> /D
> ___
> subsurface mailing list
> subsurface@subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
>


-- 
Riccardo Brama, Ph.D.
Chief of Engineering
Ratio-Computers, a Dive Industries s.r.l. brand
Via Vetturini 22/24
58024 Massa Marittima (GR)
Italia

Web: www.ratio-computers.com
E-mail: riccard...@ratio-computers.com


Ai sensi del "Testo Unico sulla Privacy D. Lgs 196 del 30 Giugno 2003"
questo messaggio di posta, incluso ogni eventuale allegato, potrebbe
contenere materiale riservato, di proprietà esclusiva e/o non pubblico
ed e' destinato soltanto alla persona od al soggetto al quale e'
indirizzato. E' strettamente vietato modificare, ritrasmettere,
divulgare, fare in altro modo uso del messaggio, od intraprendere
qualsiasi azione sulla base delle informazioni in esso contenute, da
parte di persone diverse dal destinatario. Qualora non foste il
destinatario corretto, Vi preghiamo di comunicarlo immediatamente al
mittente e di distruggere il presente messaggio da ogni supporto,
nonche' ogni stampa o copia dello stesso.

According to the "Testo Unico sulla Privacy D. Lgs 196 June 30th 2003"
this e-mail, including any attachments, is intended solely for the
person or entity to which it is addressed and may contain confidential,
proprietary and/or non-public material. Except as stated above, any
review, re-transmission, dissemination or other use of, or taking of any
action in reliance upon this information by persons or entities other
than an intended recipient is prohibited. If you receive this in error,
please notify the sender and delete the material from any media and
destroy any printouts or copies.

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


Re: Ratio ix3m Pro on Android

2019-09-11 Thread Dirk Hohndel
On Wed, Sep 11, 2019 at 09:07:51AM +0200, liquid tcp wrote:
> 
> Since I'm completely new to diving, let me first thank you all for what
> seems to me as the best available divelog!
> 
> I do have a Ratio ix3m Pro (Deep) computer that downloads fine to subsurface
> In the Android app [2.2.0(4.9.1.40) - playstore beta] the pros are not
> listed, and I can't download the logs to subsurface-mobile (via USB-C
> adapter)

The Pro models don't support BLE - and on Android support of cable based
downloads is mostly non-existant. Yes, for FTDI cables this appears to
work for a small number of people who's phones' Android version doesn't
block access to the way we try to open the USB port, but it appears for
the vast majority of phones even the FTDI download fails. And I /think/
the Ratio download cable isn't FTDI based, anyway.

> Is there anything I can do to (help) make it available?
> Unfortunately I have never worked with C++ before (well, actually I only
> "played lego" with .Net ;-) except of some assembler basics back in school)
> I've tried and downloaded the repo, but must admit I do not yet understand
> the divecomputer interface, and didn't even find the android related code.
> so I fear I can't be much help with actual coding anytime soon

We in theory know how this situation could be improved. But the only
developer who really seems to fully understand what needs to be done
doesn't have the time to work on this, and those who care enough and might
have the time, don't have sufficient understanding how to make the libusb2
integration with the native USB port access implementation on newer
Android work.

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


Re: 4.9.3 announced

2019-09-11 Thread Paul Buxton
A quick thought.
Is it as simple as adding openssl build as described above (but with the
install step)  to the
trusty-qt512/Dockerfile?


On Wed, Sep 11, 2019 at 12:18 PM Paul Buxton 
wrote:

> I think that problem is that the bundled ssl library is the wrong one.
> We are bundling 1.0, but we need to be bundling 1.1 or newer
>
> A temporary workaround (for anyone who hits the issue)
> cd ~
> git clone https://github.com/openssl/openssl
> cd openssl && ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl
> shared zlib
> make
>
> then run subusrface with
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/openssl/
> ./Subsurface-4.9.3-x86_64.AppImage
>
> Note that I do not perform the install step, so the library is just in the
> users home folder.
>
> I will raise this as an issue and include this info as well.
>
> Paul
>
>
> On Wed, Sep 11, 2019 at 12:10 PM Dirk Hohndel  wrote:
>
>> On Wed, Sep 11, 2019 at 11:56:02AM +0100, Paul Buxton wrote:
>> > So the Ubuntu 16 SSL 1.0.0 issue is still there with the Appimage..
>>
>> Correct - I couldn't figure out how to make it work without unpacking the
>> AppImage and forcing it to use the bundled SSL library.
>>
>> If you have ideas how to fix the problem, I'm all ears.
>>
>> /D
>>
>
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: 4.9.3 announced

2019-09-11 Thread Paul Buxton
I think that problem is that the bundled ssl library is the wrong one.
We are bundling 1.0, but we need to be bundling 1.1 or newer

A temporary workaround (for anyone who hits the issue)
cd ~
git clone https://github.com/openssl/openssl
cd openssl && ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl
shared zlib
make

then run subusrface with
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/openssl/
./Subsurface-4.9.3-x86_64.AppImage

Note that I do not perform the install step, so the library is just in the
users home folder.

I will raise this as an issue and include this info as well.

Paul


On Wed, Sep 11, 2019 at 12:10 PM Dirk Hohndel  wrote:

> On Wed, Sep 11, 2019 at 11:56:02AM +0100, Paul Buxton wrote:
> > So the Ubuntu 16 SSL 1.0.0 issue is still there with the Appimage..
>
> Correct - I couldn't figure out how to make it work without unpacking the
> AppImage and forcing it to use the bundled SSL library.
>
> If you have ideas how to fix the problem, I'm all ears.
>
> /D
>
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: 4.9.3 announced

2019-09-11 Thread Dirk Hohndel
On Wed, Sep 11, 2019 at 11:56:02AM +0100, Paul Buxton wrote:
> So the Ubuntu 16 SSL 1.0.0 issue is still there with the Appimage..

Correct - I couldn't figure out how to make it work without unpacking the
AppImage and forcing it to use the bundled SSL library.

If you have ideas how to fix the problem, I'm all ears.

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


Re: 4.9.3 announced

2019-09-11 Thread Paul Buxton
So the Ubuntu 16 SSL 1.0.0 issue is still there with the Appimage..

On Wed, Sep 11, 2019 at 11:48 AM Dirk Hohndel  wrote:

> Hi Everyone,
>
> I managed to get all of this working remotely. My infrastructure is a bit
> strange, but in the end it's surprisingly flexible :-)
>
> Anyway, announcements are posted to our website (thanks to the people who
> translated this in the past 24 hours), to Facebook, and to Scubaboard.
> Feel free to like, link, and re-post.
>
> I'm sure I missed things or messed things up. I always do - so consistency
> requires that. If you find something that's off (like for example a
> corrupted Windows installer - which was pointed out to me within 1 minute
> of posting the announcement to Facebook), feel free to let me know.
>
> Thanks everyone for the hard work. Especially to Berthold for helping
> track down and work around a couple of very odd crashes. And as always to
> all of you who are translating both the apps and the website. The
> responsiveness of our translators continues to humble me.
>
> Thank you
>
> /D
> ___
> 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


4.9.3 announced

2019-09-11 Thread Dirk Hohndel
Hi Everyone,

I managed to get all of this working remotely. My infrastructure is a bit
strange, but in the end it's surprisingly flexible :-)

Anyway, announcements are posted to our website (thanks to the people who
translated this in the past 24 hours), to Facebook, and to Scubaboard.
Feel free to like, link, and re-post.

I'm sure I missed things or messed things up. I always do - so consistency
requires that. If you find something that's off (like for example a
corrupted Windows installer - which was pointed out to me within 1 minute
of posting the announcement to Facebook), feel free to let me know.

Thanks everyone for the hard work. Especially to Berthold for helping
track down and work around a couple of very odd crashes. And as always to
all of you who are translating both the apps and the website. The
responsiveness of our translators continues to humble me.

Thank you

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


Ratio ix3m Pro on Android

2019-09-11 Thread liquid tcp
Dear All

Since I'm completely new to diving, let me first thank you all for what
seems to me as the best available divelog!

I do have a Ratio ix3m Pro (Deep) computer that downloads fine to subsurface
In the Android app [2.2.0(4.9.1.40) - playstore beta] the pros are not
listed, and I can't download the logs to subsurface-mobile (via USB-C
adapter)

Is there anything I can do to (help) make it available?
Unfortunately I have never worked with C++ before (well, actually I only
"played lego" with .Net ;-) except of some assembler basics back in school)
I've tried and downloaded the repo, but must admit I do not yet understand
the divecomputer interface, and didn't even find the android related code.
so I fear I can't be much help with actual coding anytime soon


   - Which version are you using (hint: look at the About screen)?
   subsurface-mobile 2.2.0(4.9.1.40) - Android playstore beta
   - Which OS are you running?
   Android 9 (Kernel 4.9.59-16553818 on Galaxy S9+ (Samsung Standard ROM)
   - (if applicable) which dive computer are you using?
   Ratio ix3m Pro Deep


Wish you all a great day, and again, thanks for subsurface!
best regards
Benji
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface