Re: Fwd: Re: Load images via media

2018-07-15 Thread Willem Ferguson
On 15/07/2018 00:16, Berthold Stoeger wrote: On Saturday, 14 July 2018 20:01:40 CEST Willem Ferguson wrote: willem@HADIDA:/$ ls bindata homelib media proc sbin swapfile usr boot dev initrd.img lib64 mntroot snap sys var cdrom etc

Re: Fwd: Re: Load images via media

2018-07-14 Thread Willem Ferguson
On 14/07/2018 19:35, Berthold Stoeger wrote: On Saturday, 14 July 2018 19:27:11 CEST Willem Ferguson wrote: I am pretty sure there are no invisible characters. I can access the resources in /media using the terminal, no problem. See attached system-level view of the directory. Just to be 100

Fwd: Re: Load images via media

2018-07-14 Thread Willem Ferguson
On 14/07/2018 19:06, Berthold Stoeger wrote: I see - this is the Gnome/Ubuntu file selection dialog. On the KDE version you can remove the filter. This is very ominous - it does list .jpg and .jpeg in the filter selection. Why would it then not show them? Could it be that the filename has a

Re: Load images via media

2018-07-14 Thread Willem Ferguson
On 14/07/2018 18:47, Berthold Stoeger wrote: Hi Willem, Just so that we're on the same page: - You're right-clicking on a dive and select "Load image(s) from file(s)". - A file requester shows, but it doesn't list .jpg files. Correct? Strangely, this works for me on Kubuntu 18.04 on current

Load images via media

2018-07-14 Thread Willem Ferguson
My external storage containing my photos has always been mapped via the /media directory. Having installed Ubuntu 18.04, I am trying to do the mappings so that my photo collection is still accessible through Subsurface 4.8.0. However, Subsurface does not see anything within the /media

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-06-12 Thread Willem Ferguson
On 12/06/2018 10:39, tormento wrote: I have a Bluegiga BT usb dongle that can work both as BT and BTLE. Unfortunately I can't find the way to switch between the two modes and the instructions I found in the SDK are a bit cryptic. Can somebody help me, so I can test this feature with G2 too?

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

libgit2

2018-06-08 Thread Willem Ferguson
Are there any new requirements with respect to libgit2? My previous builds (until yesterday all built perfectly. I have libgit2 V0.26, yet, now, with building the latest master I get: -- Checking for module 'libgit2' --   No package 'libgit2' found CMake Error at

32-bit Qt

2018-06-07 Thread Willem Ferguson
My travel computer is a small laptop with an Atom CPU, running 32-bit Ubuntu. It looks like Qt5.5. is the last 32-bit version available, since I cannot find a Qt5.10 32-bit version. Is this correct? Kind regards, willem -- This message and attachments are subject to a disclaimer. Please

Robert, Stefan, Dive mode problems

2018-06-01 Thread Willem Ferguson
Attached are the xml dive  header and dive computer description of a pSCR dive, as well as the UI rendering of the dive profile. Obviously there there are significant differences between the xml and the graphic derived from that dive log. The two most obvious discrepancies are: 1) In the UI,

Problems - user manual

2018-05-31 Thread Willem Ferguson
In the latest master of the desktop version, the manual does not open when one selects Help->User manual. Code was compiled with -build-with-webkit Any idea about the cause of this? The user manual on the Subsurface website is rather old: Version 4.6. Kind regards, willem -- This

Re: Missing pO2 samples from CCR download [was: 4.7.8: a couple of questions]

2018-05-25 Thread Willem Ferguson
On 25/05/2018 15:55, Jef Driesen wrote: On 2018-05-23 16:47, Anton Lundin wrote: On 23 May, 2018 - Anton Lundin wrote: The simple solution is to just emit the average/voted ppO2 when we can't find the calibration values. Its a graceful degradation of functionality, and way better than not

Re: Missing pO2 samples from CCR download [was: 4.7.8: a couple of questions]

2018-05-23 Thread Willem Ferguson
Davide, I forgot to mention that my understanding is that the Petrel provides a voltage, not a pO2 value and that this voltage is converted to a pO2 value in the Shearwater Desktop or in Subsurface. You possibly may have to find the calibration value(s) as well as the voltages in order to

Re: Missing pO2 samples from CCR download [was: 4.7.8: a couple of questions]

2018-05-23 Thread Willem Ferguson
On 23/05/2018 11:01, Davide DB wrote: Hi guys, Is there any chance that one day it will be possible to see O2 sample on a CCR dive? -- Davide Davide, Does the correct pO2 show on the Shearwater download software (i.e. the Shearwater Desktop)?. This means that the data are correctly

Re: Planner: Bug in PR by bstoeger

2018-05-18 Thread Willem Ferguson
On 18/05/2018 11:57, Berthold Stoeger wrote: Hi Willem, On Freitag, 18. Mai 2018 10:30:28 CEST you wrote: On March 14th you introduced a PR entitled Cleanup: fix "unsave" snprintf()s in plannernotes.c

Planner: Bug in PR by bstoeger

2018-05-18 Thread Willem Ferguson
Hallo Berthold, On March 14th you introduced a PR entitled Cleanup: fix "unsave" snprintf()s in plannernotes.c for Subsurface. This PR affected the

Re: Aeris F10 water temperature

2018-05-16 Thread Willem Ferguson
On 16/05/2018 16:02, Anton Lundin wrote: On 16 May, 2018 - Luca Lazzarotti wrote: Hi All, I started using subsurface I have an F10 for freediving and I can download dives fine the problem is that there is no water temperature details Is there a way to import it as well? The code says:

Re: Bluetooth nonfunctional

2018-05-14 Thread Willem Ferguson
On 13/05/2018 21:55, Dirk Hohndel wrote: In my experience with the Petrel 2, once it decides to be stupid, it stays stupid. Remove the battery for at least 15 minutes. Forget the pairing on your computer. Insert battery, fix clock, pair again with your computer. Try again. At one point I had

Re: Bluetooth nonfunctional

2018-05-13 Thread Willem Ferguson
On 13/05/2018 20:31, Linus Torvalds wrote: On Sun, May 13, 2018 at 10:11 AM Willem Ferguson < willemfergu...@zoology.up.ac.za> wrote: I am currently without any way of downloading my Petrel 2 to Subsurface. On the latest desktop master, I select Choose Bluetooth. I then force download

Bluetooth nonfunctional

2018-05-13 Thread Willem Ferguson
I am currently without any way of downloading my Petrel 2 to Subsurface. On the latest  desktop master, I select Choose Bluetooth. I then force download using Classic Bluetooth. No success. I activate the download dumpfile and logfile. The logfile is empty, just with the header below. There

Re: Problems - apd ccr dives import

2018-05-01 Thread Willem Ferguson
On 01/05/2018 08:53, Miika Turkia wrote: The difference you see is probably due to different Subsurface versions when you imported the dives. The format difference should only affect deco ceiling and GF values as there was one field added before those two. What is currently imported as po2

Re: Cleaned up and rebased "libdivecomputer-NG" branch

2018-04-30 Thread Willem Ferguson
On 30/04/2018 12:20, Davide DB wrote: On the contrary the Shearwater desktop/mobile download is always 100% reliable. ___ subsurface mailing list subsurface@subsurface-divelog.org

Re: Any brave dive computer download testers out there?

2018-04-27 Thread Willem Ferguson
On 26/04/2018 18:21, Linus Torvalds wrote: On Thu, Apr 26, 2018 at 7:44 AM, Jef Driesen wrote: I also don't know the exact details on how these port numbers are assigned. I guess it depends on the dive computer firmware and/or its bluetooth stack. The valid range for

Fwd: Re: [subsurface-4.7.8-81-gb930c39eade0] issue on displaying GF

2018-04-26 Thread Willem Ferguson
. Even more what if during a dive I change the GF settings on the computer (which is possible on th eshearwater)??? what will subsurface than display? it should display a icon in the dive profile just like a cylinder change. Right? On Thu, Apr 26, 2018 at 11:37 AM, Willem Ferguson <willemfe

Re: [subsurface-4.7.8-81-gb930c39eade0] issue on displaying GF

2018-04-26 Thread Willem Ferguson
On 26/04/2018 10:18, Chirana Gheorghita Eugeniu Theodor wrote: Please ignore this. It was from the general settings of the application... On Thu, Apr 26, 2018 at 11:14 AM, Chirana Gheorghita Eugeniu Theodor > wrote: I have this dive opened

Re: Any brave dive computer download testers out there?

2018-04-25 Thread Willem Ferguson
On 25/04/2018 20:51, Dirk Hohndel wrote: On Apr 25, 2018, at 11:44 AM, Linus Torvalds wrote: On Wed, Apr 25, 2018 at 10:38 AM, Anton Lundin wrote: I've tested it now, via the serial layer, libftdi layer, classic bt layer, and with your

Fwd: Re: Any brave dive computer download testers out there?

2018-04-24 Thread Willem Ferguson
On 24/04/2018 20:08, Linus Torvalds wrote: On Tue, Apr 24, 2018 at 11:03 AM, Willem Ferguson <willemfergu...@zoology.up.ac.za> wrote: Initial handshaking took maybe 40s, showing error message in red bar at bottom of screen "Timeout" Hmm. It looks like it first tried to d

Re: Any brave dive computer download testers out there?

2018-04-24 Thread Willem Ferguson
On 24/04/2018 20:08, Linus Torvalds wrote: On Tue, Apr 24, 2018 at 11:03 AM, Willem Ferguson <willemfergu...@zoology.up.ac.za> wrote: Initial handshaking took maybe 40s, showing error message in red bar at bottom of screen "Timeout" Hmm. It looks like it first tried to d

Re: Any brave dive computer download testers out there?

2018-04-24 Thread Willem Ferguson
I thought I should attach the log of my BT download from a Petrel 2. Initial handshaking took maybe 40s, showing error message in red bar at bottom of screen "Timeout" But, if not interrupted, the download proceeded perfectly shortly after the timeout message and download exited normally on

Re: Any brave dive computer download testers out there?

2018-04-19 Thread Willem Ferguson
On 19/04/2018 18:03, Hartley Horwitz wrote: I plead ignorance.  I didn't realize that CCR use IrDA. My point was that I'd be happy to forgo some of the new wiz-bang features and just have a stable 'old' version of Subsurface if that allows the developers the freedom to move quicker on

Re: Any brave dive computer download testers out there?

2018-04-19 Thread Willem Ferguson
On 18/04/2018 05:35, Linus Torvalds wrote: So libdivecomputer has a new custom IO model, which allows us to drop our home-made one. However, that new model is fairly different from our old model, and there were other updates too, so the changes are "flag-day" changes where we switch over both

Re: IrDA communications

2018-04-19 Thread Willem Ferguson
On 19/04/2018 09:29, Sébastien Dugué wrote: Hello Willem, On Thu, Apr 19, 2018 at 7:00 AM, Willem Ferguson <willemfergu...@zoology.up.ac.za> wrote: Sebastien, The Uwatec/Scubapro IrDA adapters are indeed based on the Moschip MCS 7780, as you say, still commonly and cheaply ava

IrDA communications

2018-04-18 Thread Willem Ferguson
On 18/04/2018 21:33, Sébastien Dugué wrote: On Wed, Apr 18, 2018 at 9:20 PM, Linus Torvalds wrote: If you're more comfortable just sending packets to the device, doing it in user space would be much better. Right, I like writing drivers, but this has to be a

Re: Any brave dive computer download testers out there?

2018-04-18 Thread Willem Ferguson
>From phone. You guys in the developed world have resources for all the latest kit. I my country iRda is commonly used. In addition the CCR community worldwide often use iRda. It has a significant role to play at least for the next 10 years. Therefore I strongly argue for the continued support of

Re: Problems importing APD CCR dive logs.

2018-04-18 Thread Willem Ferguson
On 18/04/2018 16:05, Miika Turkia wrote: On Wed, Apr 18, 2018 at 4:14 PM, Willem Ferguson <willemfergu...@zoology.up.ac.za <mailto:willemfergu...@zoology.up.ac.za>> wrote: Dear Miika, Would you by any chance be prepared to look at the attached APD dive log? The s

Fwd: Re: [Subsurface-divelog/subsurface] Plot OC-pO2 graph for SCR dives (#1166)

2018-04-18 Thread Willem Ferguson
On 18/04/2018 15:42, Robert C. Helling wrote: Sorry, I missed this. From a coding perspective: This looks good to me. Could you explain, in which situation this "OC equivalent" becomes relevant, why would one look at this line? Further, why don't you directly base this onto your branch

Problems importing APD CCR dive logs.

2018-04-18 Thread Willem Ferguson
Dear Miika, Would you by any chance be prepared to look at the attached APD dive log? The setpoint data are there and correctly identified in the import dialog. However, it is not written to xml. Consequently the setpoint is erroneously shown as the same value as pO2. Can it be user error

Re: Bluetooth fails on mobile

2018-04-11 Thread Willem Ferguson
On 11/04/2018 12:15, Davide DB wrote: On 11 April 2018 at 10:53, Peter Zaal wrote: I have the same issue with downloading from my Petrel 2 on my Huawei P8 (Android 6.0). I can pair with my phone but Subsurface often sees only a BLE device (an LE: address). After a lot of

Re: Bluetooth fails on mobile

2018-04-10 Thread Willem Ferguson
On 09/04/2018 22:21, Davide DB wrote: Il lun 9 apr 2018, 21:09 Davide DB > ha scritto: Still trying the latest APK on my phones. No way to download dives from my Petrel 2 on my 4 different phones. On a Google Nexus 5 only I don't

Re: saving to local git repository

2018-04-07 Thread Willem Ferguson
On 07/04/2018 16:22, Salvador Cuñat wrote: Hi Willem. El sáb., 7 abr. 2018 11:49, Willem Ferguson <willemfergu...@zoology.up.ac.za <mailto:willemfergu...@zoology.up.ac.za>> escribió: This has been dealt with a few times on this forum, but I cannot find the conversatio

saving to local git repository

2018-04-07 Thread Willem Ferguson
This has been dealt with a few times on this forum, but I cannot find the conversations. How can I save my divelog to a local git repository? Sound like a good candidate for the FAQ. Kind regards, willem -- This message and attachments are subject to a disclaimer. Please refer to 

Trouble in Qt-land

2018-03-25 Thread Willem Ferguson
I hope someone can give me some advice with what I believe is a Qt problem. Building the latest master, part of the build log says: QT_SYSROOT: QT_INSTALL_PREFIX:/usr QT_INSTALL_ARCHDATA:/usr/lib/x86_64-linux-gnu/qt5 QT_INSTALL_DATA:/usr/share/qt5 QT_INSTALL_DOCS:/usr/share/qt5/doc

Re: Build fail on latest master

2018-03-22 Thread Willem Ferguson
On 22/03/2018 08:36, Stöger, Berthold wrote: .toMSecsSinceEpoch() / 1000; Hi Berthold, This works, thank you. Please push a PR Kind regards, willem -- This message and attachments are subject to a disclaimer. Please refer to

Build fail on latest master

2018-03-22 Thread Willem Ferguson
Compiling the latest desktop master I get: src/subsurface/core/qthelper.cpp:409:18: error: ‘class QDateTime’ has no member named ‘toSecsSinceEpoch’    return created.toSecsSinceEpoch();   ^ Is this a new Qt version problem? Kind regards, willem -- This message and

Plotting OC-pO2 on SCR dives and accommodating bailout

2018-03-20 Thread Willem Ferguson
Hallo Anton, Robert, Would you be prepared, at all, to review PR #1166? I have a follow-up PR that creates a preferences option of selecting OC-pO2 display for SCR dives, similar to the way setpoint-display is selectable for CCR dives. The PR #1170 for accommodating bailouts is a

Re: New Android beta - maps

2018-03-14 Thread Willem Ferguson
On 14/03/2018 15:03, Lubomir I. Ivanov wrote: using the map center instead of the selected marker is something i did by design because of the following scenario: - the user browses his/her dives on the map - decides to propose a new dive location to friend where there is no marker yet - zooms

Fwd: Re: New Android beta - maps

2018-03-14 Thread Willem Ferguson
On 14/03/2018 14:19, Lubomir I. Ivanov wrote: NOTE: the map uses the current center to copy to clipboard coordinates or open the location in google maps. it doesn't use the selected marker coordinates. this is by design. having said that, i cannot reproduce any error for dozens of dives. here

Re: New Android beta - maps

2018-03-14 Thread Willem Ferguson
On 14/03/2018 14:19, Lubomir I. Ivanov wrote: NOTE: the map uses the current center to copy to clipboard coordinates or open the location in google maps. it doesn't use the selected marker coordinates. this is by design. having said that, i cannot reproduce any error for dozens of dives. here

Re: New Android beta - maps

2018-03-14 Thread Willem Ferguson
On 13/03/2018 15:03, Dirk Hohndel wrote:     c) Copy location to clipboard (decimal) then coordinates for a *different* irrelevant location is copied to clipboard.     d) Copy location to clipboard (sexagesimal) then a *another different* random location is copied to the clipboard. c), d)

Re: RFC: PSCR dive plots: Part 2.

2018-03-13 Thread Willem Ferguson
On 13/03/2018 14:49, Robert Helling wrote: Am 13.03.2018 um 12:25 schrieb Anton Lundin : From subsurface point of view, it really doesn't matter if we represent a bailout as a gasswitch event or not. The problem with the gasswitch and setpoint change, is that it doesn't

Re: New Android beta

2018-03-13 Thread Willem Ferguson
On 11/03/2018 22:40, Dirk Hohndel wrote: We now have a version of the map widget for the mobile app, thanks to Lubomir. I pushed an Android update to the beta channel and would appreciate testing and feedback. Thanks /D Tried the map facility on Android 7.0 on a Galaxy S6. I could not

Scrolling problems with Subsurface-mobile

2018-03-13 Thread Willem Ferguson
Subsurface-mobile 4.7.7.110 on Android 7.0 on a Galaxy S6 It is almost impossible to scroll the dive list. See screen cast at: https://www.dropbox.com/s/adxkoxgcmtu3wyk/Scroll_issue.mp4?dl=0 Kind regards, willem -- This message and attachments are subject to a disclaimer. Please refer to

RFC: PSCR dive plots: Part 1

2018-03-12 Thread Willem Ferguson
After Anton's current PR dealing with PSCR code has been pulled, I plan, as a SECOND step, to incorporate (again) the display of OC_pO2 with the PSCR pO2 graph. OC-equivalent pO2 has a role very similar to setpoint for CCR dives. It allows the evaluation of the pO2 drop over the gas injector,

RFC: PSCR dive plots: Part 2.

2018-03-12 Thread Willem Ferguson
I am slowly working towards providing for bailout in the dive profile display. There are a few decisions that need to be made and I would appreciate any comment. 1) Recording bailout events by dive computers: On Shearwater, each dive sample has a boolean that indicates whether the sample was

Displaying OC pO2 in pscr dives

2018-03-12 Thread Willem Ferguson
After Anton's current PR dealing with PSCR code has been pulled, I plan, as a SECOND step, to incorporate (again) the display of OC_pO2 with the PSCR pO2 graph. OC-equivalent pO2 in PSCR has a role very similar to setpoint for CCR dives. It allows the evaluation of the pO2 drop over the

Showing OC-equivalent pO2 on PSCR dive profiles.

2018-03-12 Thread Willem Ferguson
After Anton's current PR dealing with PSCR code has been pulled, I plan, as a SECOND step, to incorporate (again) the display of OC_pO2 with the PSCR pO2 graph. OC-equivalent pO2 has a role very similar to setpoint for CCR dives. It allows the evaluation of the pO2 drop over the mouthpiece,

Fwd: Showing OC-equivalent pO2 on PSCR dive profiles.

2018-03-12 Thread Willem Ferguson
After Anton's current PR dealing with PSCR code has been pulled, I plan, as a SECOND step, to incorporate (again) the display of OC_pO2 with the PSCR pO2 graph. OC-equivalent pO2 in PSCR has a role very similar to setpoint for CCR dives. It allows the evaluation of the pO2 drop over the

Providing for ccr/pscr bailout - logging and interactions with libdivecomputer.

2018-03-12 Thread Willem Ferguson
I am slowly working towards providing for bailout in the dive profile display. There are a few decisions that need to be made and I would appreciate any comment. 1) The recording of bailout events by dive computers. On Shearwater, each dive sample has a boolean that indicates whether the

Bailout planning in CCR and SCR

2018-02-21 Thread Willem Ferguson
In CCR dive planning, allowing for sufficient gas volume depends on a knowledge of which gas sources are used CC and which gas sources are used for bailout (=OC). For CCR, bailout is indicated by a 1-minute dive segment with setpoint of 0 and subsequent gas use calculations are performed

Re: Shearwater upload problems

2018-02-06 Thread Willem Ferguson
On 05/02/2018 17:16, Jef Driesen wrote: The dive header contains the number of sensors, and for each sensor a bit to indicate whether it was calibrated, and the calibration value. But your data only contains the number of sensors (1). *Both the calibrated bit and the calibration value are

Re: Shearwater upload problems

2018-02-05 Thread Willem Ferguson
On 05/02/2018 19:49, Dirk Hohndel wrote: Willem, Since you are building from source, can you see if Jef's analysis is correct and it is the simplification that I had implemented in libdivecomputer that causes the problem? cd ~/src/subsurface/libdivecomputer git revert 8ea8ceb cd build make

Fwd: Re: Shearwater upload problems

2018-02-05 Thread Willem Ferguson
On 05/02/2018 17:16, Jef Driesen wrote: On 2018-02-05 15:42, Willem Ferguson wrote: I definitely did pick the Predator option, both in the Linux OS Bluetooth setup and within Subsurface. The O2 sensor on the computer was calibrated using oxygen in the way specified in the user manual

Re: Shearwater upload problems

2018-02-05 Thread Willem Ferguson
On 05/02/2018 17:16, Jef Driesen wrote: On 2018-02-05 15:42, Willem Ferguson wrote: I definitely did pick the Predator option, both in the Linux OS Bluetooth setup and within Subsurface. The O2 sensor on the computer was calibrated using oxygen in the way specified in the user manual

Re: Shearwater upload problems

2018-02-05 Thread Willem Ferguson
On 05/02/2018 15:44, Jef Driesen wrote: This might be due to the parser by some reason parsing it as petrel data. The petrel sample size is twice the sample size of the predator. Are you sure you did pick "predator" ? The predator doesn't support the newer petrel protocol. So I assume Willem

Re: Shearwater upload problems

2018-02-05 Thread Willem Ferguson
On 05/02/2018 13:19, Jan Mulder wrote: And just curious. The divetype is CCR, but I see a lot of gas change events. Why is this? --jan Most of the dives in that log are CCR (APD Inspo). The last seven or so dives are pSCR (RB80) which, by its very nature, is dependent on gas changes, and

Shearwater upload problems

2018-02-05 Thread Willem Ferguson
This weekend I used a Shearwater predator dive computer. Connecting via Bluetooth no problem, had to force it to classical bt as it defaulted to LE. However, downloading the dive to Subsurface provides two problems: 1) The duration for each dive is exactly half of what it was in real life. So

Re: time for 4.7.7

2018-02-03 Thread Willem Ferguson
I am out of town diving Shearwater this weekend, interacting with the bt interface. This needs some tlc in the user manual. But I can only do it Mon evening. No other updates to user manual I am aware of. Kind regards, Willem On 02 Feb 2018 19:52, "Dirk Hohndel" wrote: Hi

Bluetooth UI

2018-01-25 Thread Willem Ferguson
Since version 4.5, has anything changed in the BT or BLE UI download display or in the way to interact with the download UI? I will have a Petrel and a Predator within a week, but I will probably not have access to any BLE devices. I would highly appreciate anyone looking at the BT/BTLE

Re: Recreational planning with Subsurface?

2018-01-25 Thread Willem Ferguson
On 25/01/2018 12:34, Robert Helling wrote: Willem, On 25. Jan 2018, at 10:48, Willem Ferguson <willemfergu...@zoology.up.ac.za <mailto:willemfergu...@zoology.up.ac.za>> wrote: Hi Willem, In the example you provide, the air NDL at 30m is 13min with gf 35/75. This looks about

Re: Recreational planning with Subsurface?

2018-01-25 Thread Willem Ferguson
On 25/01/2018 11:16, Rick Walsh wrote: On 25 Jan. 2018 8:07 pm, "Willem Ferguson" <willemfergu...@zoology.up.ac.za <mailto:willemfergu...@zoology.up.ac.za>> wrote: I am working on the user manual. Because of UI changes, this includes replacing all the images

Recreational planning with Subsurface?

2018-01-25 Thread Willem Ferguson
I am working on the user manual. Because of UI changes, this includes replacing all the images in the section dealing with the dive planner. I am trying to get the recreational planner to work and I have a problem. See attached image. If the initial cylinder pressure is not set, then the

RFC: User manual content

2018-01-21 Thread Willem Ferguson
I am about to do another round of updates to the user manual. I looked through the githib commits and I do not see a lot of change as far as the UI is concerned. The ones I picked up are: 1) Changes to photos tab (slider) 2) Bluetooth upload? anything there? Unfortunately I do not have a BT

Maintaining my git repository.

2018-01-18 Thread Willem Ferguson
I have a question that deals with maintenance of my local master branch within the context of additional local development branches. Let's say I have two local development git branches DEV1 and DEV2. While I am working on those branches, there is an update from origin, that is, the master on

Re: Qt versions and building Subsurface

2018-01-04 Thread Willem Ferguson
On 04/01/2018 18:15, Dirk Hohndel wrote: cmake caches the Qt paths. So please remove your build directories and invoke scripts/build.sh like this: (assuming that you are in the src directory) rm -rf subsurface/build subsurface/build-mobile CMAKE_PREFIX_PATH=$(pwd)/Qt/5.10.0/clang_64/lib/cmake

Qt versions and building Subsurface

2018-01-04 Thread Willem Ferguson
I have been interacting with Stefan about some code development and have run into some Qt problems with interpreting HTML. After checking, it turns out that my build script still uses the system-installed Qt5.5.1 and not Qt5.10 as expected. I need some advice. I installed QT5.10 in folder

Re: Dive plan: Taking into account isobaric counterdiffusion

2018-01-04 Thread Willem Ferguson
On 04/01/2018 12:10, Stefan Fuchs wrote: Hello Willem, One more comment about the overall ICD info idea here: In your last version (see GitHub PR) you now also added dpN_2 I also like this and it follows Antons suggestion on the ML. He was saying some may consider dpInert also as important.

Dive planner: Re-editing saved dive plans.

2018-01-04 Thread Willem Ferguson
Hallo Robert, I have been looking at the reasons why, when editing an existing dive plan, all the dive points on the plan are indicated as "user-entered" (compare lefthand with righthand screenshots in attached image). It appears it is because of the way dives are saved in the XML dive log.

Re: Dive plan: Taking into account isobaric counterdiffusion

2018-01-03 Thread Willem Ferguson
On 03/01/2018 16:53, Stefan Fuchs wrote: Hello Willem, Can you do a Github PR for this? For me it's much easier to discuss it there and also to pull and test it :-) Best regards Stefan Done. The title of the PR is a bit obscure, not intended. Kind regards, willem -- This message and

Re: Dive plan: Taking into account isobaric counterdiffusion

2018-01-02 Thread Willem Ferguson
On 02/01/2018 16:24, Robert Helling wrote: Hi, On 2. Jan 2018, at 14:53, Stefan Fuchs > wrote: I am personally interested in this topic so I started to play with your patch and this is my feedback: - +1 for implementings.th . regarding ICD

Re: Dive Planner: Inconsistent dive ceiling calculations

2018-01-02 Thread Willem Ferguson
On 02/01/2018 15:34, Robert Helling wrote: Willem, reading your second mail, I understand there are only two different ceilings left: The one in the divelist which equals the one in the planner when you remove the ascent points and the second one you get in reedit until you remove the ascent

Dive Planner: Inconsistent dive ceiling calculations

2018-01-02 Thread Willem Ferguson
I solved one of the anomalies. When opened in the dive list, a Bühlmann ceiling is shown, determined by the default presentation in my Preferences. However, the dive is a VPM-B dive plan. When opened for edit, the VPM-B ceiling is shown. But this does not explain the differences in the last

Re: Problems with planner

2017-12-29 Thread Willem Ferguson
On 29/12/2017 18:28, Jan Mulder wrote: On 29-12-17 10:24, Willem Ferguson wrote: I can confirm the issue on the current master, so no recent regression. The workaround is simple: just click on one of the remaining points and the problem solves itself. Or delete the 3 points from the table

Re: Subsurface-mobile 2.0.1 and Subsurface 4.7.5

2017-12-09 Thread Willem Ferguson
On 09/12/2017 18:39, Dirk Hohndel wrote: You are downloading from the "subsurface-daily" repository, not from the "subsurface" one - that's why you don't get the release. FINALLY, I got this right. Thanks, Dirk. Still same problem with 4.7.5 Clearly something is going wrong with bundling /

Re: RFC: Print templates for 4 dives per page and 6 dives per page

2017-12-07 Thread Willem Ferguson
:42, "Lubomir I. Ivanov" <neolit...@gmail.com> wrote: > On 27 November 2017 at 16:56, Lubomir I. Ivanov <neolit...@gmail.com> > wrote: > > hi, Willem. > > > > On 25 November 2017 at 15:10, Willem Ferguson > > <willemfergu...@zoology.up.ac.za> wr

Re: QtQuick 2.6 on Ubuntu

2017-12-03 Thread Willem Ferguson
>From phone. Thanks, Miika On 04 Dec 2017 07:07, "Miika Turkia" <miika.tur...@gmail.com> wrote: > On Sun, Dec 3, 2017 at 7:36 PM, Willem Ferguson < > willemfergu...@zoology.up.ac.za> wrote: > >> On 03/12/2017 18:23, Dirk Hohndel wrote: >> >>

Re: QtQuick 2.6 on Ubuntu

2017-12-03 Thread Willem Ferguson
On 03/12/2017 18:23, Dirk Hohndel wrote: On Dec 3, 2017, at 7:00 AM, Lubomir I. Ivanov wrote: i would uninstall the 5.5.x libraries completely and install the newer version. In all honesty, I would not recommend uninstalling the system libraries... You can easily build

Re: QtQuick 2.6 on Ubuntu

2017-12-03 Thread Willem Ferguson
You should be sleeping. On 03/12/2017 08:43, Dirk Hohndel wrote: I’m hoping it’s 4.7.4 :-) Oops, yes. This could be a case where we have (inadvertently?) rev’ed a version of a QML component that’s too new for the Qt version on your Ubuntu system. Did you build from source, Yes. I built

Re: O2 sensor values on CCR dives

2017-12-01 Thread Willem Ferguson
On 01/12/2017 17:54, Jef Driesen wrote: There are millivolt values, but no corresponding ppO2 values. So I can double check the millivolt values, but we have nothing to compare our ppO2 values against. Jef ___ Jef, I probably am (again) making a

Re: Cylinder vs. tank -

2017-11-28 Thread Willem Ferguson
On 29/11/2017 00:31, Tim Wootton wrote: On 28/11/17 20:18, Bill Perry wrote: It appears that Wikipedia pushes the term "Diving Cylinder" https://en.wikipedia.org/wiki/Diving_cylinder And in their terminology section, they say: "The term "diving cylinder" tends to be used by gas equipment

Re: [Subsurface-divelog/subsurface] PATCH: Update the single-dive per page print template (#839)

2017-11-22 Thread Willem Ferguson
On 22/11/2017 20:26, Lubomir I. Ivanov wrote: @willemferguson we have decided to use your new template and replace the old one. i will start working on implementing the new "read only" logic. would you allow me to create a new patch and use your

Re: [Subsurface-divelog/subsurface] PATCH: Update the single-dive per page print template (#839)

2017-11-20 Thread Willem Ferguson
On 19/11/2017 21:13, Lubomir I. Ivanov wrote: @willemferguson even if the new template is an improvement over the old one i do not question which one is better. we just need to name it differently and here is why - as a summary of the template installation

Re: [Subsurface-divelog/subsurface] PATCH: Update the single-dive per page print template (#839)

2017-11-19 Thread Willem Ferguson
On 19/11/2017 19:22, Lubomir I. Ivanov wrote: @willemferguson @dirkhh we've discussed that we should not touch the old template which also implies renaming it. the solution is to create a new template with a different name.

[PATCH] Replace One Dive print template.

2017-11-19 Thread Willem Ferguson
I submitted a PR. Please check and see if it makes sense? Kind regards, wf -- This message and attachments are subject to a disclaimer. Please refer to http://upnet.up.ac.za/services/it/documentation/docs/004167.pdf for full details. ___

Re: [Subsurface-divelog/subsurface] PATCH. Replace print template for single dive per page (#828)

2017-11-18 Thread Willem Ferguson
On 18/11/2017 18:09, Lubomir I. Ivanov wrote: On 18 November 2017 at 17:51, Willem Ferguson <willemfergu...@zoology.up.ac.za> wrote: On 18/11/2017 00:01, Lubomir I. Ivanov wrote: @neolit123 requested changes on this pull request. @willemferguson hi, Willem. i've made a more detailed

Re: [Subsurface-divelog/subsurface] PATCH. Replace print template for single dive per page (#828)

2017-11-18 Thread Willem Ferguson
On 18/11/2017 00:01, Lubomir I. Ivanov wrote: *@neolit123* requested changes on this pull request. @willemferguson hi, Willem. i've made a more detailed review for this commit. it needs work, before we can accept it in. so, please, comment on my comments

Re: git: Pulling from master

2017-11-17 Thread Willem Ferguson
>From phone. Thank you everyone. I am finally github - able. Took large chunk of my day but it was worth it. Kind regards, Willem On 17 Nov 2017 17:53, "Dirk Hohndel" <d...@hohndel.org> wrote: > On Nov 17, 2017, at 7:51 AM, Willem Ferguson < willemfergu...@zoology.up.a

Re: git: Pulling from master

2017-11-17 Thread Willem Ferguson
On 17/11/2017 12:20, Jan Mulder wrote: And I use a stupid script to get things synced: git checkout master git tag -d continuous # recently added to get the continuous label moved git fetch upstream git merge upstream/master git push origin master # push things to my github account --jan

git: Pulling from master

2017-11-17 Thread Willem Ferguson
I am  sorting out the Github mechanism for myself. Two questions: 1) The upstream repository. Currently there are two such repositories: i) git://subsurface.hohndel.org/subsurface.git  [git has the label "origin"] ii) https://github.com/Subsurface-divelog/subsurface [git has the label

Re: latest AppImage - getting closer

2017-11-11 Thread Willem Ferguson
On 11/11/2017 23:53, Lubomir I. Ivanov wrote: On 11 November 2017 at 23:35, probono wrote: 2017-11-11 22:31 GMT+01:00 Lubomir I. Ivanov : i think it would need the plugin, if the app binary is linking against libQt5PrintSupport.so*. That's the

Re: latest AppImage - getting closer

2017-11-11 Thread Willem Ferguson
I forgot to provide the console output when trying to print from the AppImage. Here it is in case it gives any useful information. QPainter::begin(): Returned false QPainter::setRenderHint: Painter must be active to set rendering hints QPainter::setRenderHint: Painter must be active to set

<    1   2   3   4   5   6   7   8   9   >