Find moved images: match path instead of hashes?

2018-06-09 Thread Berthold Stoeger
Dear all, In a previous mail I noted that the current file-hashing of images is a disaster when it comes to video support. Moreover, the complexity of the hashing-code caused me quite some headache and the current implementation is buggy (different hashes for original and local filename). Inste

Re: Find moved images: match path instead of hashes?

2018-06-09 Thread Berthold Stoeger
On Samstag, 9. Juni 2018 13:53:31 CEST Berthold Stoeger wrote: > And certainly, the user should be presented > the list of new associations, before actually applying them. I implemented a quick-and-dirty mockup of such an interface in PR#1349. > To emulate the old behavior, *all* pictures that w

Re: Find moved images: match path instead of hashes?

2018-06-09 Thread Willem Ferguson
On 09/06/2018 13:53, Berthold Stoeger wrote: Dear all, In a previous mail I noted that the current file-hashing of images is a disaster when it comes to video support. Moreover, the complexity of the hashing-code caused me quite some headache and the current implementation is buggy (different ha

Re: Find moved images: match path instead of hashes?

2018-06-09 Thread Berthold Stoeger
Hi Willem, On Samstag, 9. Juni 2018 19:24:04 CEST Willem Ferguson wrote: > I would support any move to simplify a complex process such as hashing > and looking for files across the while directory tree. My problem is > that I have many files with the same name. They are in different dives, > but t

[TEST REQUEST] Windows Bluetooth LE build

2018-06-09 Thread Lubomir I. Ivanov
* INFO: i've made a test build of Subsurface for Windows that has experimental BLE support from using a custom Qt. please download this ZIP and follow the instructions bellow if you want to help us get BLE support in Subsurface on Windows. * INSTRUCTIONS: NOTE: to somehow prove that the downloa

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-06-09 Thread Lubomir I. Ivanov
i was having a good day until i had a better look at how we do bluetooth... certain things need a refactor. log from libdc: the device i have is a OSTC+, but it fails with a: Subsurface: v4.7.8-309-g889e0b924e68, built with libdivecomputer v@DC_VERSION@ INFO: Open: transport=32 INFO: Configure: b

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-06-09 Thread Lubomir I. Ivanov
On 10 June 2018 at 01:30, Lubomir I. Ivanov wrote: > i was having a good day until i had a better look at how we do bluetooth... > certain things need a refactor. > > log from libdc: > > the device i have is a OSTC+, but it fails with a: > Subsurface: v4.7.8-309-g889e0b924e68, built with libdiveco

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-06-09 Thread Linus Torvalds
On Sat, Jun 9, 2018 at 4:44 PM Lubomir I. Ivanov wrote: > > @DC_VERSION@ = e97a47cca55973199715df0f818b4955e60d3a31 > that's due to dodging autotools on Windows. Hmm. You're missing the "Re-instate the lack of handshaking for the Scubapro Aladin Sport Matrix" commit, but it doesn't matter for any

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-06-09 Thread Dirk Hohndel
> On Jun 9, 2018, at 4:59 PM, Linus Torvalds > wrote: > > On Sat, Jun 9, 2018 at 4:44 PM Lubomir I. Ivanov wrote: >> >> @DC_VERSION@ = e97a47cca55973199715df0f818b4955e60d3a31 >> that's due to dodging autotools on Windows. > > Hmm. You're missing the "Re-instate the lack of handshaking for t

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-06-09 Thread Dirk Hohndel
> On Jun 9, 2018, at 3:59 PM, Lubomir I. Ivanov wrote: > > * INFO: > > i've made a test build of Subsurface for Windows that has experimental > BLE support from using a custom Qt. > > please download this ZIP and follow the instructions bellow if you > want to help us > get BLE support in Subs

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-06-09 Thread Lubomir I. Ivanov
On 10 June 2018 at 03:26, Dirk Hohndel wrote: > >> On Jun 9, 2018, at 4:59 PM, Linus Torvalds >> wrote: >> >> On Sat, Jun 9, 2018 at 4:44 PM Lubomir I. Ivanov wrote: >>> >>> @DC_VERSION@ = e97a47cca55973199715df0f818b4955e60d3a31 >>> that's due to dodging autotools on Windows. >> >> Hmm. You're

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-06-09 Thread Lubomir I. Ivanov
On 10 June 2018 at 04:05, Dirk Hohndel wrote: > >> On Jun 9, 2018, at 3:59 PM, Lubomir I. Ivanov wrote: >> >> * INFO: >> >> i've made a test build of Subsurface for Windows that has experimental >> BLE support from using a custom Qt. >> >> please download this ZIP and follow the instructions bell

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-06-09 Thread Dirk Hohndel
> On Jun 9, 2018, at 6:15 PM, Lubomir I. Ivanov wrote: >> Thanks for working on this. I was surprised that this is built against Qt >> 5.9.5 >> Somehow I assumed that you would be working on 5.10 or even 5.11 :-) >> >> Anyway, I got all excited and got all four of my BLE dive computers, >> ins

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-06-09 Thread Lubomir I. Ivanov
On 10 June 2018 at 04:18, Dirk Hohndel wrote: > >> On Jun 9, 2018, at 6:15 PM, Lubomir I. Ivanov wrote: >>> Thanks for working on this. I was surprised that this is built against Qt >>> 5.9.5 >>> Somehow I assumed that you would be working on 5.10 or even 5.11 :-) >>> >>> Anyway, I got all excit

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-06-09 Thread Dirk Hohndel
Oops, dropped the list by mistake > On Jun 9, 2018, at 6:43 PM, Lubomir I. Ivanov wrote: >>> This tool can be used to debug device connectivity and BLE services / >>> characteristics etc: >>> https://www.microsoft.com/en-us/p/bluetooth-le-explorer/9n0ztkf1qd98 >> >> Downloaded that one >> >> Wh

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-06-09 Thread Lubomir I. Ivanov
On 10 June 2018 at 04:46, Dirk Hohndel wrote: > Oops, dropped the list by mistake > >> On Jun 9, 2018, at 6:43 PM, Lubomir I. Ivanov wrote: This tool can be used to debug device connectivity and BLE services / characteristics etc: https://www.microsoft.com/en-us/p/bluetooth-le-expl

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-06-09 Thread Lubomir I. Ivanov
On 10 June 2018 at 03:26, Dirk Hohndel wrote: > >> On Jun 9, 2018, at 4:59 PM, Linus Torvalds >> wrote: > > IIRC that depends on how Qt is built. Since Lubomir builds his own > Qt for this purpose, we should be able to adjust this behavior > >> I wonder if we should just add data debugging to ou

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-06-09 Thread Dirk Hohndel
> On Jun 9, 2018, at 6:47 PM, Lubomir I. Ivanov wrote: >> >> I see a Microsoft Bluetooth LE Enumerator >> But no BLE generic attribute service. >> > > if this is on Windows 10 try the following It is. > - open the start menu type "Bluetooth..." > - select "Bluetooth and other device..." > -

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-06-09 Thread Dirk Hohndel
> On Jun 9, 2018, at 6:59 PM, Dirk Hohndel wrote: >> - open the start menu type "Bluetooth..." >> - select "Bluetooth and other device..." >> - make sure the switch is "On". >> - click the [+] button and see if finds a Dive computer. >> - try to Pair with the DC first before running Subsurface.

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-06-09 Thread Lubomir I. Ivanov
On 10 June 2018 at 04:59, Dirk Hohndel wrote: > >> On Jun 9, 2018, at 6:47 PM, Lubomir I. Ivanov wrote: >>> >>> I see a Microsoft Bluetooth LE Enumerator >>> But no BLE generic attribute service. >>> >> >> if this is on Windows 10 try the following > > It is. > >> - open the start menu type "Blue

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-06-09 Thread Dirk Hohndel
> On Jun 9, 2018, at 7:05 PM, Lubomir I. Ivanov wrote: > > On 10 June 2018 at 04:59, Dirk Hohndel wrote: >> >>> On Jun 9, 2018, at 6:47 PM, Lubomir I. Ivanov wrote: I see a Microsoft Bluetooth LE Enumerator But no BLE generic attribute service. >>> >>> if this is on Win

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-06-09 Thread Lubomir I. Ivanov
On 10 June 2018 at 05:09, Dirk Hohndel wrote: > >> On Jun 9, 2018, at 7:05 PM, Lubomir I. Ivanov wrote: >> >> On 10 June 2018 at 04:59, Dirk Hohndel wrote: >>> On Jun 9, 2018, at 6:47 PM, Lubomir I. Ivanov wrote: > > I see a Microsoft Bluetooth LE Enumerator > But no BLE generi

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-06-09 Thread Lubomir I. Ivanov
On 10 June 2018 at 05:09, Dirk Hohndel wrote: >> so Windows gives devices these "paths", if cannot find the path. >> does "BLE explorer" work for this device - e.g. reading chars/descriptors >> etc? > > Yes. I can turn on notification on the write only characteristics which the > Perdix then > i

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-06-09 Thread Dirk Hohndel
Matthias might know. /D On June 9, 2018 7:19:54 PM PDT, "Lubomir I. Ivanov" wrote: >On 10 June 2018 at 05:09, Dirk Hohndel wrote: >>> so Windows gives devices these "paths", if cannot find the path. >>> does "BLE explorer" work for this device - e.g. reading >chars/descriptors etc? >> >> Yes. I