Re: bug fix - SAC -> RMV

2024-09-09 Thread John Van Ostrand via subsurface
e term: uninformed) and I will veto using it in Subsurface or > even offering it as an option to the used (just as I would veto offering to > turn off the real gas corrections even though we get many complaints about > Subsurface getting gas calculations „wrong“). > > Agreed. -- John Van Ostrand At large on sabbatical ___ subsurface mailing list -- subsurface@subsurface-divelog.org To unsubscribe send an email to subsurface-le...@subsurface-divelog.org

Re: thinking about 4.7

2017-09-22 Thread John Van Ostrand
t :) >>> >> >>> >> I use Ubuntu 17.04 x64 as my primary OS, but I also have Windows 10 >>> >on a few >>> >> machines and I run Subsurface mobile on Android 7 (Samsung Galaxy >>> >Note 7). >>> >> >>> >

Re: Oreo - has anyone tested the Subsurface-mobile app?

2017-09-07 Thread John Van Ostrand
;t count dives.) > > I have a skeleton for a libusb patch for that but nothing that works. > > (Its basically diverting linux_scan_devices() into subsurface code which > calls the Android api's via jni to feed the data into libusb, just like

[PATCH] Flagged Cochran DCs for FTDI communications

2017-09-06 Thread John Van Ostrand
This with serial_ftdi.c changes and other libdivecomputer changes enables Cochran DCs to work with libftdi on android devices. Signed-off-by: John Van Ostrand --- src/descriptor.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/descriptor.c b/src

[PATCH 1/3] Changed backoff strategy for short reads.

2017-09-05 Thread John Van Ostrand
Back off was exponential starting at 10ms, which for high baud rate and no flow-control connections might cause buffer overrun. This was causing problems when reading Cochran DCs, the hearbeat byte was being missed. Signed-off-by: John Van Ostrand --- core/serial_ftdi.c | 7 --- 1 file

[PATCH 3/3] Implemented serial_set_break for FTDI

2017-09-05 Thread John Van Ostrand
Setting break is required to wake up Cochran DCs (it doesn't make sense to me, but it's needed). Signed-off-by: John Van Ostrand --- core/serial_ftdi.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/core/serial_ftdi.c b/core/serial_ftdi.c ind

[PATCH 2/3] Changed serial_ftdi flush to a reset if DC_DIRECTION_ALL

2017-09-05 Thread John Van Ostrand
The USB reset flushes both buffers, but it also solves a problem waking up a Cochran DCs. Signed-off-by: John Van Ostrand --- core/serial_ftdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/serial_ftdi.c b/core/serial_ftdi.c index 297d0fa..88e60c2 100644 --- a/core

[PATCH] Implemented serial_set_break for FTDI

2017-09-05 Thread John Van Ostrand
Setting break is required to wake up Cochran DCs (it doesn't make sense to me, but it's needed). Signed-off-by: John Van Ostrand --- core/serial_ftdi.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/core/serial_ftdi.c b/core/serial_ftdi.c ind

[PATCH] Flagged Cochran DCs for FTDI communications

2017-09-05 Thread John Van Ostrand
This with serial_ftdi.c changes and other libdivecomputer changes enables Cochran DCs to work with libftdi on android devices. Signed-off-by: John Van Ostrand --- src/descriptor.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/descriptor.c b/src

[PATCH 3/3] Implemented serial_set_break for FTDI

2017-09-05 Thread John Van Ostrand
Setting break is required to wake up Cochran DCs (it doesn't make sense to me, but it's needed). --- core/serial_ftdi.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/core/serial_ftdi.c b/core/serial_ftdi.c index 88e60c2..90a95f0 100644 --- a/core/serial_ft

[PATCH 1/3] Changed backoff strategy for short reads.

2017-09-05 Thread John Van Ostrand
Back off was exponential starting at 10ms, which for high baud rate and no flow-control connections might cause buffer overrun. This was causing problems when reading Cochran DCs, the hearbeat byte was being missed. --- core/serial_ftdi.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/c

[PATCH 2/3] Changed serial_ftdi flush to a reset if DC_DIRECTION_ALL

2017-09-05 Thread John Van Ostrand
The USB reset flushes both buffers, but it also solves a problem waking up a Cochran DCs. --- core/serial_ftdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/serial_ftdi.c b/core/serial_ftdi.c index 297d0fa..88e60c2 100644 --- a/core/serial_ftdi.c +++ b/core/serial_ftdi

Serial-ftdi Issues

2017-08-29 Thread John Van Ostrand
I'm trying to get the Cochran computers working with the FTDI library and serial_ftdi so I can read them on an Android biuld. I'm having two issues that I have to ask for advice about.1. In serial_ftdi_read() a failed read exponentially backs off when there's a short read. This is causing Cochran

Adding a DC for mobile download

2017-08-21 Thread John Van Ostrand
ta. It switches back to 9600 afterwards. -- John Van Ostrand At large on sabbatical ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: Issues with SAC terminology

2017-07-18 Thread John Van Ostrand
and RMV is the target metric to use when planning real world gas usage. -- John Van Ostrand At large on sabbatical ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

[PATCH] Cochran import: Removed long tail of 0 depth from profile

2017-05-31 Thread John Van Ostrand
The Cochran logs the first 10 to 20 minutes (configurable) of surface interval in case the diver re-submerges. Signed-off-by: John Van Ostrand --- core/cochran.c | 12 1 file changed, 12 insertions(+) diff --git a/core/cochran.c b/core/cochran.c index 76beae1..af7d09b 100644 --- a

[PATCH] Cochran import: older models allowed for configuration sample frequency This patch adds detection of sample frequency (profile_period) for cochran log file imports.

2017-05-31 Thread John Van Ostrand
Signed-off-by: John Van Ostrand --- core/cochran.c | 39 +-- core/cochran.h | 2 ++ 2 files changed, 23 insertions(+), 18 deletions(-) diff --git a/core/cochran.c b/core/cochran.c index 243a659..f595c0d 100644 --- a/core/cochran.c +++ b/core/cochran.c

[PATCH] Added support for older Cochran models that have configurable sample intervals.

2017-05-26 Thread John Van Ostrand
Corrected problem where dive profiles would include post dive surface interval samples. Added detection for corrupt dives. Signed-off-by: John Van Ostrand --- core/cochran.c | 65 +- core/cochran.h | 4 +++- 2 files changed, 36

Re: Retrospective gradient factors on real dives

2016-12-09 Thread John Van Ostrand
go back to view the dive. For the latter question I iterate through GFs manually to find the closest one. -- John Van Ostrand At large on sabbatical ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/

Re: No-fly in Subsurface?

2016-07-28 Thread John Van Ostrand
On Thu, Jul 28, 2016 at 2:52 AM, Rick Walsh wrote: > > > On 25 July 2016 at 09:33, John Van Ostrand wrote: > >> >> Although my Cochran offers very generous amounts of no-deco time the one >> conservative feature is its no-fly time. At the end of a week of >>

Re: No-fly in Subsurface?

2016-07-24 Thread John Van Ostrand
nitrogen/Helium pressure differential that the deco algorithm is > all about. > > Anyway, the normal deco algorithms definitely don't support long > no-fly times. But there may be other valid reasons for them ("you gas > imbalance is a slight stress factor on your body, flyi

Re: Stupid Question

2016-04-14 Thread John Van Ostrand
the XML one. > > I built a company that specializes in Linux system integration, so the command line is natural, git not so much. I had staff replace my tech duties before git was popular with admins. That's some very useful insight on how cloud storage and subsurface git integration

Re: Stupid Question

2016-04-14 Thread John Van Ostrand
sts in places like ScubaBoard, cavediver.net, and thedecostop.com might help to attract users and with them contributor should come. I can write passable copy for an amateur, I think. -- John Van Ostrand At large on sabbatical ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: Stupid Question

2016-04-13 Thread John Van Ostrand
On Wed, Apr 13, 2016 at 5:07 PM, Dirk Hohndel wrote: > On Wed, Apr 13, 2016 at 04:57:18PM -0400, John Van Ostrand wrote: > > > > You know, I'd like to but two things are in my way. This was 150 dives > ago, > > so multiple edits and imports since. Second I have yet t

Re: Stupid Question

2016-04-13 Thread John Van Ostrand
ditor. On Wed, Apr 13, 2016 at 4:53 PM, Dirk Hohndel wrote: > You simply go back to the previous version in your git storage. You are > using git storage, right? > > /D > > On Wed, Apr 13, 2016 at 04:49:07PM -0400, John Van Ostrand wrote: > > While testing my libdi

Stupid Question

2016-04-13 Thread John Van Ostrand
While testing my libdivecomputer work I've inadvertently imported duplicated dives using different computer names. When I select a dive I see "Cochran EMC-20H (No.2 of 2) listed in the profile window. There's a 150 dives like this. How do I delete dive No.2 of 2, one 150 dives

Bühlmann Planner Tissue Graph

2016-04-09 Thread John Van Ostrand
in the tissue graph doesn't change. 100/100 should show a flat line, 35/75 should show a line that angles up during ascent. -- John Van Ostrand At large on sabbatical ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsu

VPM-B Tissue Graph

2016-04-09 Thread John Van Ostrand
-like tissue graph in the information box reflects bad information too, 10 seconds into the dive it shows near maximum saturation. [image: Inline image 1] [image: Inline image 2] -- John Van Ostrand At large on sabbatical ___ subsurface mailing l

Re: VPM-B Oddity

2016-04-06 Thread John Van Ostrand
On Tue, Apr 5, 2016 at 10:55 PM, wrote: > > > > John, > > On 6 April 2016 at 12:02, John Van Ostrand wrote: > >> I have an example where VPM-B +0 gives an earlier and longer deco >> obligation than VPM-B +1 and +2 for the same imported dive. I found >> a

VPM-B Oddity

2016-04-05 Thread John Van Ostrand
m the trip it was reproducible. It seems to be an issue when repetitive dives are included. The SIT was 18 hours. I can provide an XML file to whomever is interested in investigating. The algo implementation is way beyond me. -- John Van Ostrand At large on

Re: Release Plans

2016-02-26 Thread John Van Ostrand
components bug, cooking a fix. > > another one bug probably related to components in mind? > I'm rushing to get Cochran DC imports accepted into libdivecomputer in hopes it makes it into a Subsurface release soon. -- John Van Ostrand At large on sabbatical

Communication problem in Subsurface

2016-01-11 Thread John Van Ostrand
til I ask these questions. 1. Does anyone have a DC that does large downloads and does a window-switch cause a failure? 2. Is there something that subsurface does when it loses or gains focus that would cause this? 3. Any ideas to resolve this? -- John

Re: F

2015-08-22 Thread John Van Ostrand
Now if I can only get this implant to track my inert gas diffusion. ;) On Sat, Aug 22, 2015 at 3:27 PM, Lubomir I. Ivanov wrote: > On 22 August 2015 at 20:50, wrote: > > > > > > Sent from my BlackBerry 12 neural implant. > > got a blank email from John Van Ostrand

Generation and location of ui_*.h files

2015-01-09 Thread John Van Ostrand
esn't seem to be any way that /.uic files are moved to /. -- John Van Ostrand At large on sabbatical ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Build problems

2015-01-07 Thread John Van Ostrand
;takeAt(0); There are more, but perhaps this is one common problem, like being able to re-create ui_*.h files. -- John Van Ostrand At large on sabbatical ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Suunto SDE Import

2014-12-07 Thread John Van Ostrand
s actually possible and as such this can't be a good scheme. Is there a way in an XSLT to replace 0 samples with the previous non-zero temperature? -- John Van Ostrand At large on sabbatical ___ subsurface mailing list subsurface@subsurface-d

Thoughts on Bug 717

2014-11-21 Thread John Van Ostrand
To address the position of the temperature graph on the dive profile window how about allowing the user to move the graph out of the way? -- John Van Ostrand At large on sabbatical From 34050397276fe9d6a8885ee4f8a379cb458fd282 Mon Sep 17 00:00:00 2001 From: John Van Ostrand Date: Fri, 21 Nov

[PATCH] Small changes to Yearly Statistics window

2014-11-20 Thread John Van Ostrand
Added a title bar with close button. Set an appropriate title. Centred the window relative to mainwindow. Signed-off-by: John Van Ostrand --- qt-ui/mainwindow.cpp | 4 1 file changed, 4 insertions(+) diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 9b82f21..d908fcd 100644

[PATCH 3/3] Support for Liquivision version 2 log files.

2014-11-09 Thread John Van Ostrand
I was able to test against a v2.0 log file and fixed some problems. Also removed a file save that was being done for debug purposes. Signed-off-by: John Van Ostrand --- liquivision.c | 137 +++--- 1 file changed, 83 insertions(+), 54 deletions

[PATCH 2/3] Removed liquivision unneeded variable and potential segfault.

2014-11-09 Thread John Van Ostrand
Signed-off-by: John Van Ostrand --- liquivision.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/liquivision.c b/liquivision.c index 4234864..5ec241c 100644 --- a/liquivision.c +++ b/liquivision.c @@ -337,7 +337,6 @@ static void parse_dives (int log_version, const

[PATCH 1/3] Corrected Liquivision name

2014-11-09 Thread John Van Ostrand
And added a missing liquivision item in file open dialog. Signed-off-by: John Van Ostrand --- liquivision.c| 2 +- qt-ui/mainwindow.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/liquivision.c b/liquivision.c index a3f5d3a..4234864 100644 --- a/liquivision.c

Re: [PATCH] Cleaned up file list in open and import dialogs

2014-11-07 Thread John Van Ostrand
Sorry, my gitiquette isn't fully developed yet. The Liquivision import patch is needed. On Fri, Nov 7, 2014 at 4:14 PM, Dirk Hohndel wrote: > Does not apply to master... > > /D > > On Fri, Nov 07, 2014 at 12:56:23PM -0500, John Van Ostrand wrote: > > Lists were g

Re: [PATCH 1/2] Liquivision import fixes

2014-11-07 Thread John Van Ostrand
I intentionally stripped out the second patch which is the "Cleaned-up-file-list-in-open-and-import-dialogs" Patch. On Fri, Nov 7, 2014 at 12:51 PM, John Van Ostrand wrote: > Fixed rounding of temperatures > Fixed compile warnings > --- > file.h| 1 + > liquiv

[PATCH] Cleaned up file list in open and import dialogs

2014-11-07 Thread John Van Ostrand
Lists were getting a little jumbled. I sorted the extensions and added suitable human readable names. --- qt-ui/mainwindow.cpp | 43 +++ 1 file changed, 27 insertions(+), 16 deletions(-) diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 3b74c86

[PATCH 1/2] Liquivision import fixes

2014-11-07 Thread John Van Ostrand
Fixed rounding of temperatures Fixed compile warnings --- file.h| 1 + liquivision.c | 8 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/file.h b/file.h index 8c5b48b..d4c52fd 100644 --- a/file.h +++ b/file.h @@ -7,6 +7,7 @@ struct memblock { }; extern int try_

Re: Liquid Vision dive log/Lynx support?

2014-11-07 Thread John Van Ostrand
On Fri, Nov 7, 2014 at 8:54 AM, John Van Ostrand wrote: > On Thu, Nov 6, 2014 at 11:27 PM, Griffon Walker > wrote: > >> Quick follow-up, couldn't bulk export from LV dive logger but was able to >> export a CVS of single dive. Attached. >> >> >> On

[PATCH] Added import for Liquivision LVD log files

2014-11-07 Thread John Van Ostrand
Support includes cylinder pressures and works for v3.0 log files. --- CMakeLists.txt | 1 + file.c | 2 + liquivision.c| 352 +++ qt-ui/mainwindow.cpp | 8 +- subsurface.pro | 1 + 5 files changed, 361 insert

Decoding single precision bytes

2014-11-07 Thread John Van Ostrand
Hi, The log import I'm writing has floats stored in the file in binary format. Are floats portable enough to reference directly, like this: start_cns = *(float *) buf; -- John Van Ostrand At large on sabbatical ___ subsurface mailing list subsu

Unordered Samples

2014-11-07 Thread John Van Ostrand
n't sorted into the right location and when I look the samples have a depth of "0.0 m" I can interleave these, compare the sample times and interpolate a depth. Is that the best way of handling this? -- John Van Ostrand At large on sabbatical _

Re: Liquid Vision dive log/Lynx support?

2014-11-07 Thread John Van Ostrand
creenshot of profiles, or an additional export of the dives >>> (UDDF, XML, CSV, I don't know what the Liquivision software is capable of), >>> that would be perfect as well. >>> >>> If there are any developers out there who want to implement the LVD >>> import in Subsurf

Re: Setting location coordinates while editing a dive

2014-10-31 Thread John Van Ostrand
On Fri, Oct 31, 2014 at 5:43 PM, Dirk Hohndel wrote: > On Fri, Oct 31, 2014 at 04:36:29PM -0400, John Van Ostrand wrote: > > > > In other words when manually adding a dive an empty dive would be added > to > > the dive list with fields added to the dive in as they are

Re: Setting location coordinates while editing a dive

2014-10-31 Thread John Van Ostrand
racked correctly in > > displayed_dive (and they should, if not, that's yet another bug). > > Oh, and in case this wasn't obvious... my sentence implied the suggestion > that you should implement that. So I won't tackle

Re: Setting location coordinates while editing a dive

2014-10-31 Thread John Van Ostrand
On Fri, Oct 31, 2014 at 12:34 PM, Dirk Hohndel wrote: > On Fri, Oct 31, 2014 at 11:39:27AM -0400, John Van Ostrand wrote: > > > > Mentioning Undo got me thinking. > > > > I've been mucking about trying to have globe.cpp both update the editted > > dive *an

Re: Setting location coordinates while editing a dive

2014-10-31 Thread John Van Ostrand
On Fri, Oct 31, 2014 at 10:45 AM, Dirk Hohndel wrote: > On Thu, Oct 30, 2014 at 04:22:03PM -0400, John Van Ostrand wrote: > > I was getting very frustrated adding a dive location to an existing > dive. I > > was expecting to be able to add a location then select the coordina

Re: Setting location coordinates while editing a dive

2014-10-31 Thread John Van Ostrand
On Fri, Oct 31, 2014 at 10:41 AM, Dirk Hohndel wrote: > On Fri, Oct 31, 2014 at 02:51:39PM +0100, Davide DB wrote: > > On Thu, Oct 30, 2014 at 9:22 PM, John Van Ostrand > > wrote: > > > > > So, do we track that in the edit session and update it on a name > ch

Setting location coordinates while editing a dive

2014-10-30 Thread John Van Ostrand
inform the user, on a double click, that they need to save first? -- John Van Ostrand At large on sabbatical ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

[PATCH] Added English documentation for tissue graph.

2014-10-30 Thread John Van Ostrand
Signed-off-by: John Van Ostrand --- Documentation/images/tissues.jpg | Bin 0 -> 1270 bytes Documentation/images/tissuesGraph.jpg | Bin 0 -> 37994 bytes Documentation/user-manual.txt | 7 +++ 3 files changed, 7 insertions(+) create mode 100644 Documentation/

[PATCH] Added English documentation for tissue graph.

2014-10-30 Thread John Van Ostrand
--- Documentation/images/tissues.jpg | Bin 0 -> 1270 bytes Documentation/images/tissuesGraph.jpg | Bin 0 -> 37994 bytes Documentation/user-manual.txt | 7 +++ 3 files changed, 7 insertions(+) create mode 100644 Documentation/images/tissues.jpg create mode 100644 Documentatio

[PATCH] Changed tissue icon on profile graph.

2014-10-30 Thread John Van Ostrand
The previous icon was of a bird that didn't seem to make sense. This icon looks like the tissue graph and should be more intuitive. Signed-off-by: John Van Ostrand --- icons/tissues.png | Bin 0 -> 900 bytes subsurface.qrc| 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) cre

Re: divelist and units

2014-10-30 Thread John Van Ostrand
On Thu, Oct 30, 2014 at 11:29 AM, Dirk Hohndel wrote: > On Thu, Oct 30, 2014 at 11:25:25AM -0400, John Van Ostrand wrote: > > On Thu, Oct 30, 2014 at 11:10 AM, Dirk Hohndel wrote: > > > > > So someone suggested this idea the other day (sorry, forgot who it was) > &

Re: divelist and units

2014-10-30 Thread John Van Ostrand
ut, since I really don't know what I'm doing.. -- John Van Ostrand At large on sabbatical ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: totally off topic [was: Re: messing with the gas / tank handling]

2014-10-30 Thread John Van Ostrand
tors :-) > > After your tenth UI related patch I'll invite you to a dive weekend at the > Yellow House (only partly kidding). > > /D > ___ > subsurface mailing list > subsurface@subsurface-divelog.org > http://lists.subsurface

[PATCH] Added close button to print preview window title bar.

2014-10-30 Thread John Van Ostrand
Without this I was only able to close it by choosing to print. Signed-off-by: John Van Ostrand --- qt-ui/printdialog.cpp | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qt-ui/printdialog.cpp b/qt-ui/printdialog.cpp index f8f06ae..a65078b 100644 --- a/qt-ui

Re: Globe missing

2014-10-29 Thread John Van Ostrand
rto > > 2014-10-29 17:52 GMT+01:00 Dirk Hohndel : > >> On Wed, Oct 29, 2014 at 12:48:31PM -0400, John Van Ostrand wrote: >> > Any ideas where I should look to see why marble doesn't seem to be >> working >> > using the head source? ldd shows it linkin

Globe missing

2014-10-29 Thread John Van Ostrand
Any ideas where I should look to see why marble doesn't seem to be working using the head source? ldd shows it linking to the installed lib (Fedora 19). it works in 4.2. -- John Van Ostrand At large on sabbatical ___ subsurface mailing list subsu

[PATCH] Eliminate packed struct for Cochran

2014-10-29 Thread John Van Ostrand
Removed the packed struct and replaced with byte offsets. Fixed salinity for EMC. Added start temp for CMDR and Gemini. Signed-off-by: John Van Ostrand --- cochran.c | 121 cochran.h | 45 +++ cochran_cmdr.h | 82

Translation question

2014-10-28 Thread John Van Ostrand
.ts files or will it be handled by some other process? Also, should this be changed since file extensions are not usually translated. Maybe a sprintf to build a string using translations of labels only? -- John Van Ostrand At large on sabbatical ___

[PATCH] Fixed RegExp bug

2014-10-28 Thread John Van Ostrand
This prevented import of log files other than CSV and TXT. Signed-off-by: John Van Ostrand --- qt-ui/mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 9e62a8a..1d4b22a 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt

[PATCH] Added missing files (metrics.cpp and diveshareexportdialog.cpp) to CMakeLists.txt

2014-10-28 Thread John Van Ostrand
It now compiles and links properly under cmake. Signed-off-by: John Van Ostrand --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a04794a..c04e968 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -123,6 +123,7 @@ SET

[PATCH] Added Cochran CAN files to the Open Logbook dialog

2014-10-28 Thread John Van Ostrand
Subsurface can now open CAN files as an alternative to importing. Signed-off-by: John Van Ostrand --- qt-ui/mainwindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 9aadfd3..9e62a8a 100644 --- a/qt-ui

[PATCH] Removed dependence on not yet released libdivecomputer code.

2014-10-27 Thread John Van Ostrand
Signed-off-by: John Van Ostrand --- cochran.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cochran.c b/cochran.c index 9e31f55..b3ba7b4 100644 --- a/cochran.c +++ b/cochran.c @@ -351,11 +351,13 @@ int cochran_dive_event(struct divecomputer *dc, const unsigned char *s

[PATCH] Commented out section waiting on commit from libdivecomputer. It relied on DC_EVENT_BATTERY.

2014-10-27 Thread John Van Ostrand
Signed-off-by: John Van Ostrand --- cochran.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cochran.c b/cochran.c index 9e31f55..7651441 100644 --- a/cochran.c +++ b/cochran.c @@ -351,11 +351,13 @@ int cochran_dive_event(struct divecomputer *dc, const unsigned char *s

Re: towards 4.3

2014-10-27 Thread John Van Ostrand
On Mon, Oct 27, 2014 at 2:48 PM, Dirk Hohndel wrote: > On Mon, Oct 27, 2014 at 01:34:37PM -0400, John Van Ostrand wrote: > > > > > > What other things are partly done and likely / unlikely to be finished > in > > > the next two weeks? > > > > >

Re: towards 4.3

2014-10-27 Thread John Van Ostrand
; couple of weeks? Or should we disable this? > > What other things are partly done and likely / unlikely to be finished in > the next two weeks? > Any chance the Cochran import can make it in? -- John Van Ostrand At large on sabbatical ___

Older Cochran Log Formats

2014-10-26 Thread John Van Ostrand
Hi, I have access to sample files from older Cochran Analyst software. Has anyone asked about importing older cochran WAN files? -- John Van Ostrand At large on sabbatical ___ subsurface mailing list subsurface@subsurface-divelog.org http

[PATCH] Finished Cochran dive log import

2014-10-17 Thread John Van Ostrand
of 0x4914 is needed to access data. The previous code uses 0x4a14 and 0x4b14. I suspect these are from different version of Analyst. Requires an as yet unreleased Cochran patch for libdivecomputer. Signed-off-by: John Van Ostrand --- CMakeLists.txt | 1 + cochran.c| 792

Re: [PATCH] Finished Cochran dive log import

2014-10-17 Thread John Van Ostrand
This patch is incomplete. Please excuse my lack of git-worthiness. I'll see if I can have a complete one in a few minutes. On Fri, Oct 17, 2014 at 8:41 PM, John Van Ostrand wrote: > I fixed up the decode and finished the parse for Cochran > EMC, Commander and Gemini computers. I s

[PATCH] Finished Cochran dive log import

2014-10-17 Thread John Van Ostrand
of 0x4914 is needed to access data. The previous code uses 0x4a14 and 0x4b14. I suspect these are from different version of Analyst. Signed-off-by: John Van Ostrand --- cochran_cmdr.h | 88 cochran_emc.h | 180

Cochran CAN files wanted

2014-10-09 Thread John Van Ostrand
eally interested in files from an air integrated Cochran. If you send me the files please also send me the model name and if you have any additional features enabled (extra memory, extra gases, etc.) Thanks. -- John Van Ostrand At large on sabba

Re: Cochran DCs

2014-10-07 Thread John Van Ostrand
On Mon, Oct 6, 2014 at 10:57 PM, Dirk Hohndel wrote: > On Mon, Oct 06, 2014 at 09:29:17PM -0400, John Van Ostrand wrote: > > I have the Cochran data stream well decoded, both dive log information > and > > sample data. If someone is interested in moving the cochran file impor

Cochran DCs

2014-10-06 Thread John Van Ostrand
vely, you can import to Subsurface one my code is in the tree and help me identify new events and find problems. -- John Van Ostrand At large on sabbatical ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog