4.7.2 has been released

2017-10-31 Thread Dirk Hohndel
I'm expecting 4.7.3 in a few weeks, so please keep the fixes coming. 4.7.2 fixed too many REAL problems to wait until things seemed all settled. 75 commits in 9 days is a rather respectable pace! Sources are uploaded, tags are pushed, Windows, Mac and various Linux binaries are building. AppIma

Re: Import data from Scubapro Aladin Sport Matrix

2017-10-31 Thread Berthold Stoeger
On Dienstag, 31. Oktober 2017 11:29:00 CET Jef Driesen wrote: > I believe you have the model number wrong. I think it should be 0x17, > and your test seems to confirm that: Well, I put a printf directly after "rc = scubapro_g2_transfer (device, cmd_model, sizeof (cmd_model), model, sizeof (model

Re: Thread related crash on failed dive computer download

2017-10-31 Thread Berthold Stoeger
On Dienstag, 31. Oktober 2017 21:00:37 CET Berthold Stoeger wrote: > So in the attachment is a different approach: don't output errors if not in > the main thread. Someone who generates a thread is responsible of flushing > the errors later. Sounds much less brittle to me. It works in my limited t

Re: Thread related crash on failed dive computer download

2017-10-31 Thread Berthold Stoeger
Hi Dirk, On Dienstag, 31. Oktober 2017 20:41:32 CET Dirk Hohndel wrote: > On Tue, Oct 31, 2017 at 08:10:32PM +0100, Berthold Stoeger wrote: > > To be honest, apart from the errors mentioned above, I'm not even sure > > that > > the idea behind the code is sound. If you want, I can send an > > upda

Re: Thread related crash on failed dive computer download

2017-10-31 Thread Dirk Hohndel
On Tue, Oct 31, 2017 at 08:10:32PM +0100, Berthold Stoeger wrote: > > On Tue, Oct 31, 2017 at 03:52:28PM +0100, Berthold Stoeger wrote: > > > As a FYI, the patch attached, though without commit-message because it is > > > simply too ugly. It works for my particular test case, but... > > > > Why is

Re: Thread related crash on failed dive computer download

2017-10-31 Thread Berthold Stoeger
On Dienstag, 31. Oktober 2017 19:25:03 CET Dirk Hohndel wrote: > On Tue, Oct 31, 2017 at 03:52:28PM +0100, Berthold Stoeger wrote: > > As a FYI, the patch attached, though without commit-message because it is > > simply too ugly. It works for my particular test case, but... > > Why is it too ugly

Re: Thread related crash on failed dive computer download

2017-10-31 Thread Dirk Hohndel
On Tue, Oct 31, 2017 at 03:52:28PM +0100, Berthold Stoeger wrote: > Hi Dirk, > > On Dienstag, 31. Oktober 2017 13:52:45 CET you wrote: > > > On Oct 31, 2017, at 4:43 AM, Jan Mulder wrote: > > > > > > On 31-10-17 12:05, Jan Mulder wrote: > > > Sounds like a fundamental problem, with the new way o

Re: No user manual - again

2017-10-31 Thread Pedro Neves
On 31-10-2017 09:52, Salvador Cuñat wrote: I'm actually building with USE_WEBENGINE=ON,  the need thing is the recently added tag in command line e.g. build.sh -build-with-webkit.  This tag sets/unsets some cmake variables. Salva: That did the trick. Thank you very much for your help. Ch

Re: Root and Wayland

2017-10-31 Thread Robert C. Helling
Hi, > Am 31.10.2017 um 12:51 schrieb Tomaz Canabrava : > > > perhaps we should remove that, period. A while ago, we had problems with people who at some point ran subsurface as root and the touched all kinds of files which meant later it did no longer run under the normal user. So I added the

Re: smtk-import

2017-10-31 Thread Salvador Cuñat
Good afternoon Pedro. On Tue, Oct 31, 2017 at 11:00:46AM +0100, Salvador Cuñat wrote: > Hi Pedro. > > El 31/10/2017 10:44, "Pedro Neves" escribió: > > > > Hi Salva: > > > > I'd like to update the user manual section on how to build smtk-import > > tool, because I believe it's outdated. However,

Re: 4.7.1 on Win7 32bit crash at startup

2017-10-31 Thread Davide DB
Sorry Lubomir, I missed your replies. The list is very active these days. I have to check my machine. It's an Ancient Thinkpad T64 but maybe the fastest things to do is trying the latest Subsurface daily build tonight. I will let you know tonight. Thanks On 27 October 2017 at 19:38, Lubomir I.

Re: 4.7.2 - call for translations and fixes

2017-10-31 Thread Lubomir I. Ivanov
On 31 October 2017 at 18:05, Davide DB wrote: > I've just completed Italian translations. > > PS > The new version does solve the crash on Win32 systems? > > we need some help to test the win32 crashes. a recent OpenGL related fix was added, so hopefully that fixes the GPU related issues. please

Re: 4.7.2 - call for translations and fixes

2017-10-31 Thread Davide DB
I've just completed Italian translations. PS The new version does solve the crash on Win32 systems? On 31 October 2017 at 10:11, Guillaume Gardet wrote: > Please pull FR translation. Updated just now. :) > > > Guillaume > > > > > Le 30/10/2017 à 20:59, Dirk Hohndel a écrit : >> >> Hi there, >>

Re: Thread related crash on failed dive computer download

2017-10-31 Thread Berthold Stoeger
Hi Dirk, On Dienstag, 31. Oktober 2017 13:52:45 CET you wrote: > > On Oct 31, 2017, at 4:43 AM, Jan Mulder wrote: > > > > On 31-10-17 12:05, Jan Mulder wrote: > > Sounds like a fundamental problem, with the new way of error reporting ... > > but not sure ... > Yes, that makes sense. Doing the sh

Re: Thread related crash on failed dive computer download

2017-10-31 Thread Dirk Hohndel
> On Oct 31, 2017, at 4:43 AM, Jan Mulder wrote: > > On 31-10-17 12:05, Jan Mulder wrote: > >> But Dirk has to worry, as it suspiciously close to the new error handling >> code that has just landed in master. > > for Dirk: > > from Qt 5.9.2 from build from source with debug: > > failed to c

Re: Import data from Scubapro Aladin Sport Matrix

2017-10-31 Thread Jef Driesen
On 2017-10-31 12:12, Berthold Stoeger wrote: Hi Jef, On Dienstag, 31. Oktober 2017 11:29:00 CET Jef Driesen wrote: On 2017-10-23 00:55, Berthold Stoeger wrote: > On Sonntag, 22. Oktober 2017 04:31:39 CEST Linus Torvalds wrote: >> so you literally *could* try to claim it's a G2 and try to see ho

Re: Root and Wayland

2017-10-31 Thread Tomaz Canabrava
On Tue, Oct 31, 2017 at 11:56 AM, Miika Turkia wrote: > On Tue, Oct 31, 2017 at 12:31 PM, Martin Měřinský > wrote: > > Hello. > > These days more and more distributions are using Wayland. Last Ubuntu > > e.g. AFAIK Wayland design feature is that UI applications are not > > allowed to run as root

Re: Thread related crash on failed dive computer download

2017-10-31 Thread Jan Mulder
On 31-10-17 12:05, Jan Mulder wrote: But Dirk has to worry, as it suspiciously close to the new error handling code that has just landed in master. for Dirk: from Qt 5.9.2 from build from source with debug: failed to connect to the controller 00:80:25:4A:0F:C2 with error "" QObject: Cannot

Re: Import data from Scubapro Aladin Sport Matrix

2017-10-31 Thread Berthold Stoeger
Hi Jef, On Dienstag, 31. Oktober 2017 11:29:00 CET Jef Driesen wrote: > On 2017-10-23 00:55, Berthold Stoeger wrote: > > On Sonntag, 22. Oktober 2017 04:31:39 CEST Linus Torvalds wrote: > >> so you literally *could* try to claim it's a G2 and try to see how far > >> it downloads. > > > > The hand

Re: Thread related crash on failed dive computer download

2017-10-31 Thread Jan Mulder
Berthold, On 31-10-17 11:53, Berthold Stoeger wrote: Dear all, I tried to reset my git repository to head and now I'm getting a crash which I didn't get before. I tried "git clean -fx", but that didn't help. The crash happens when using invalid Bluetooth addresses. Call trace: - core/qt-ble.c

Re: Root and Wayland

2017-10-31 Thread Miika Turkia
On Tue, Oct 31, 2017 at 12:31 PM, Martin Měřinský wrote: > Hello. > These days more and more distributions are using Wayland. Last Ubuntu > e.g. AFAIK Wayland design feature is that UI applications are not > allowed to run as root. > > From Subsurface manual: "If you are not root, you may not be a

Thread related crash on failed dive computer download

2017-10-31 Thread Berthold Stoeger
Dear all, I tried to reset my git repository to head and now I'm getting a crash which I didn't get before. I tried "git clean -fx", but that didn't help. The crash happens when using invalid Bluetooth addresses. Call trace: - core/qt-ble.c l.326: report_error(...) - core/errorhelper.c l.43: er

Root and Wayland

2017-10-31 Thread Martin Měřinský
Hello. These days more and more distributions are using Wayland. Last Ubuntu e.g. AFAIK Wayland design feature is that UI applications are not allowed to run as root. From Subsurface manual: "If you are not root, you may not be a member of that group and won’t be able to use the USB port." Well, i

Re: Import data from Scubapro Aladin Sport Matrix

2017-10-31 Thread Jef Driesen
On 2017-10-23 00:55, Berthold Stoeger wrote: On Sonntag, 22. Oktober 2017 04:31:39 CEST Linus Torvalds wrote: so you literally *could* try to claim it's a G2 and try to see how far it downloads. The handshake is different. The G2 client sends 1b and 1c1027 and expects 01 as the answer tw

Re: smtk-import

2017-10-31 Thread Salvador Cuñat
Hi Pedro. El 31/10/2017 10:44, "Pedro Neves" escribió: > > Hi Salva: > > I'd like to update the user manual section on how to build smtk-import tool, because I believe it's outdated. However, I have no clue what the steps are to build it now. Any pointers? Thanks for work this. The smtk-import i

Re: No user manual - again

2017-10-31 Thread Salvador Cuñat
On the phone, sorry. El 31/10/2017 10:42, "Pedro Neves" escribió: > > On 30-10-2017 23:19, Dirk Hohndel wrote: >> >> You want USE_WEBENGINE=OFF >> > > Dirk: I'm actually building with USE_WEBENGINE=ON, the need thing is the recently added tag in command line e.g. build.sh -build-with-webkit. Th

Re: No user manual - again

2017-10-31 Thread Pedro Neves
On 30-10-2017 23:19, Dirk Hohndel wrote: You want USE_WEBENGINE=OFF Dirk: I've changed this option on ccmake. Still no luck. Each time a build finishes, NO_PRINTING and NO_USERMANUAL revert back to ON... I'll try later on with a fresh src... Cheers: Pedro _

smtk-import

2017-10-31 Thread Pedro Neves
Hi Salva: I'd like to update the user manual section on how to build smtk-import tool, because I believe it's outdated. However, I have no clue what the steps are to build it now. Any pointers? Thanks in advance... Pedro ___ subsurface mailing list

Re: 4.7.2 - call for translations and fixes

2017-10-31 Thread Guillaume Gardet
Please pull FR translation. Updated just now. :) Guillaume Le 30/10/2017 à 20:59, Dirk Hohndel a écrit : Hi there, We have a number of critical fixes in master and I'd really get 4.7.2 out. Here's the current list of changes: - Fix potential crash when running with French localization and