This is the official upstream of the Subsurface divelog program
Find a file
Miika Turkia e4f65ab21e Select only "meaningful" samples for divelogs.de export
The logic to select samples from EON Steel for divelogs.de export is the
following:
- Ignore sample at time zero, as that is surface, and the second "odd"
  sample contains information we are interested in
- Grab the second sample, first sample with pressure and temperature
  readings
- Grab the third sample - "grand parent" is 0, thus our first interval
  sample
- Grab the samples when the predecessor (or grand parent) is at least 10
  seconds away

This logic seems to produce reasonable results when exporting EON Steel
logs to divelogs.de. Naturally there might be corner cases, that are not
taken into account, but this basic logic seems reasonable in normal
cases. (Unfortunately analysis is done based on a single dive.)

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-05-02 17:02:21 -07:00
.tx Add simple glossary 2013-12-29 10:34:12 -08:00
android Turns out the manifest doesn't allow a dash in the name 2015-01-14 10:46:21 +13:00
appdata Replace other references to hohndel.org 2014-11-18 13:13:39 +00:00
dives Remove Poseidon XML file 2014-12-04 06:10:51 -06:00
Documentation Update html files for user manual to latest versions 2015-02-17 08:57:53 -08:00
icons Add better icons for the filter dialog 2014-12-31 23:53:28 -08:00
marbledata Add a CMake based buildsystem for the tests. 2014-04-14 11:49:49 -07:00
packaging Update the ubuntu / debian build rules 2015-02-18 10:37:48 -08:00
qt-ui Improve multi dive tag list edits 2015-05-02 17:02:21 -07:00
ReleaseNotes Mention the issue with the Eon Steel on MacOS 2015-04-30 09:22:00 -07:00
scripts build.sh: use setRpath and remove run.sh 2015-02-17 23:07:53 -08:00
tests More tolerant when parsing GPS coordinates. 2015-02-10 14:58:04 -08:00
theme Variable should be declared before loop 2014-12-02 07:05:42 -08:00
translations Latest translations 2015-02-17 08:59:25 -08:00
xslt Select only "meaningful" samples for divelogs.de export 2015-05-02 17:02:21 -07:00
.clang-format Small tweaks to our whitespace handling 2014-05-22 11:20:04 -07:00
.gitattributes Ignore some files when archiving. 2013-05-12 07:25:47 -07:00
.gitignore Complement the CMakesList.txt with the latest file inclusions. 2014-08-23 08:07:15 -07:00
android.cpp Create a subsurface_access for Android too 2014-11-21 12:14:30 -08:00
CMakeLists.txt More tolerant when parsing GPS coordinates. 2015-02-10 14:58:04 -08:00
cochran.c Typos: use subscript for pO2 in conchran.c events 2015-01-25 07:13:41 -08:00
cochran.h Eliminate packed struct for Cochran 2014-10-29 09:05:15 -07:00
CodingStyle Adds advice on text strings to style guide 2014-12-17 07:51:57 -08:00
color.h CVS import UI: mark the column names in blue as well 2015-01-07 13:00:16 -08:00
configuredivecomputer.cpp Use correct flag when connecting the progress events to the progress bar 2015-01-22 06:26:57 +12:00
configuredivecomputer.h Connect the progress events to the progress bar 2015-01-21 17:03:24 +12:00
configuredivecomputerthreads.cpp ifdef hw_ostc3_device_config_{read,write} usage 2015-01-26 11:22:08 -08:00
configuredivecomputerthreads.h Add infrastructure to emit progress from threads 2015-01-21 17:03:21 +12:00
deco.c Use SAC from preferences for PSCR oxygen drop 2015-01-20 06:16:15 +12:00
deco.h Tissue saturation plot a la Sherwater Pretel 2014-09-19 21:46:30 -07:00
descriptor3.tsv Add structured file with list of supported dive computers 2013-12-13 16:26:01 -08:00
device.c Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
device.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
devicedetails.cpp Define new OSTC3 settings in devicedetails 2014-10-18 15:21:12 -07:00
devicedetails.h Define new OSTC3 settings in devicedetails 2014-10-18 15:21:12 -07:00
display.h Print: add the support to store margins and printer options 2014-11-13 15:05:11 -08:00
dive.c Tag list handling: add two new helpers 2015-05-02 17:02:21 -07:00
dive.h Tag list handling: add two new helpers 2015-05-02 17:02:21 -07:00
divecomputer.cpp Don't reimplement the clear() method 2015-01-29 14:00:19 -08:00
divecomputer.h Don't reimplement the clear() method 2015-01-29 14:00:19 -08:00
divelist.c Have get_dive_gas return air when without cylinders 2015-01-25 07:23:27 -08:00
divelist.h Deselect dives that are no longer shown as the dive list is filtered 2014-11-12 14:07:07 -08:00
equipment.c Use correct name for oxygen 2015-01-05 13:30:19 -08:00
exif.cpp Break picture handling code from C++ to C. 2014-06-02 23:59:29 -07:00
exif.h Break picture handling code from C++ to C. 2014-06-02 23:59:29 -07:00
file.c xsltMaxVars was only introduced in libxslt 1.1.27 2015-02-17 22:00:26 -08:00
file.h Liquivision import fixes 2014-11-07 13:15:44 -08:00
gaspressures.c Check error code of get_cylider_idx_by_use() 2014-11-22 16:22:57 -08:00
gaspressures.h Some gas handling improvements 2014-11-16 20:50:16 +00:00
gettext.h Add comment for "below floor" event 2013-11-29 11:27:41 -08:00
gettextfromc.cpp Make the cache cache things 2015-01-29 13:37:11 -08:00
gettextfromc.h Explicitly include needed include file 2014-04-29 22:35:34 -07:00
gpl-2.0.txt Add a copy of the GPL v2 to the project 2011-09-26 11:18:28 -07:00
helpers.h Facebook integration: improve the confirmation UI experience 2014-12-29 11:14:34 -08:00
INSTALL Get started on Subsurface 4.4.2 2015-04-30 07:39:16 -07:00
libdivecomputer.c Prevent a tank from looking undefined by mistake 2015-02-10 15:03:48 -08:00
libdivecomputer.h Add a private table for downloaded dives 2015-01-09 15:06:25 -08:00
linux.c Add subsurface_access() 2014-11-13 11:58:59 -08:00
liquivision.c Support for Liquivision version 2 log files. 2014-11-10 12:15:18 -08:00
load-git.c Refactor dctype -> divemode 2015-01-10 17:27:25 -08:00
macos.c Add subsurface_access() 2014-11-13 11:58:59 -08:00
main.cpp Free global tags list on exit. 2014-12-18 08:34:00 -08:00
membuffer.c HTML: Better quoting to the export strings 2014-06-06 10:08:09 -07:00
membuffer.h HTML: Better quoting to the export strings 2014-06-06 10:08:09 -07:00
parse-xml.c Hook up DiveLog import 2015-02-17 12:28:20 -08:00
planner.c Show stops in verbatim diveplan 2015-02-03 11:43:16 -08:00
planner.h Planner: correctly free divedatapoints 2014-08-19 15:06:39 -05:00
pref.h CCR option: display o2 sensor data 2015-01-21 17:00:18 +12:00
profile.c More descriptive variable in calls to get_dive_gas 2015-01-25 09:56:37 -08:00
profile.h Correcly look at all relevant dive computer structures 2015-01-24 07:07:02 +12:00
qt-gui.cpp Facebook integration: improve the confirmation UI experience 2014-12-29 11:14:34 -08:00
qt-gui.h Main: separate the QApplication and UI creation 2014-03-19 09:37:49 -07:00
qthelper.cpp More tolerant when parsing GPS coordinates. 2015-02-10 14:58:04 -08:00
qthelper.h HTML: Add dive photos to the detailed view 2014-07-14 21:38:22 -07:00
README Get started on Subsurface 4.4.2 2015-04-30 07:39:16 -07:00
Readme.testing Information on writing test cases 2014-04-15 11:03:38 -07:00
Readme.ubuntu Update Readme.ubuntu 2015-01-15 19:48:11 -08:00
satellite.svg Satellite icon diet 2013-01-22 22:25:03 -08:00
save-git.c api change in libgit2-0.22 2015-01-24 07:47:51 +12:00
save-html.c Consitent punctuation of shortened words 2014-11-25 07:57:39 -08:00
save-html.h HTML: Save data with user selected units 2014-10-20 18:04:51 -07:00
save-xml.c Quote tags as attributes 2015-02-17 12:28:35 -08:00
sha1.c Another small tweak to whitespace tool 2014-03-05 13:02:23 -08:00
sha1.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
statistics.c Cylinders which have lesser pressure in the end are used 2015-01-29 07:35:15 -08:00
statistics.h Make gas use statistics be coherent and more complete 2014-08-06 09:14:34 -07:00
strtod.c Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
subsurface-configure.pri Use QMAKE_RPATHDIR instead of -Wl,-rpath 2015-02-18 00:07:37 -08:00
subsurface-gen-version.pri Try to bring some sanity into our version strings 2015-01-01 11:57:28 -08:00
subsurface-icon.svg Rename subsurface.svg to subsurface-icon.svg 2013-02-02 21:27:15 +01:00
subsurface-install.pri Allow overriding makensis program 2014-12-31 08:48:27 -08:00
subsurface.1 Replace other references to hohndel.org 2014-11-18 13:13:39 +00:00
subsurface.desktop Add a trailing ';' to the Keywords in the subsurface.desktop file 2014-12-22 15:55:04 -08:00
subsurface.pro Get ready for Subsurface 4.4.1 2015-02-17 13:55:27 -08:00
subsurface.qrc Hook up DiveLog import 2015-02-17 12:28:20 -08:00
subsurfacestartup.c CCR option: display o2 sensor data 2015-01-21 17:00:18 +12:00
subsurfacestartup.h Free strduped prefs before exit 2014-12-18 07:20:10 -08:00
subsurfacesysinfo.cpp Correctly detect more Linux distributions 2015-02-18 07:42:48 -08:00
subsurfacesysinfo.h Fix build problem 2015-04-30 08:20:07 -07:00
SupportedDivecomputers.html Make SupportedDivecomputer HTML more compact 2014-08-09 12:04:48 -07:00
SupportedDivecomputers.txt Improve generation of list of supported dive computers 2014-08-07 13:53:09 -07:00
terms Be more consistent in partial pressure naming 2014-06-23 06:48:54 +08:00
time.c Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
TODO.CCR Update todo list for CCR 2014-11-18 13:15:43 +00:00
uemis-downloader.c Uemis downloader: better error reporting 2015-04-30 15:33:16 -07:00
uemis.c Uemis downloader: don't use bogus sensor data from Uemis 2015-04-30 07:44:21 -07:00
uemis.h Uemis downloader: allow continuing download by clicking Retry 2015-04-30 07:42:42 -07:00
units.h Fix picture loading 2014-07-08 12:29:06 -07:00
webservice.h Put include guard to every header 2014-02-11 12:37:01 -08:00
windows.c windows.c: small cleaup in the wrapper functions 2014-11-13 12:01:00 -08:00
worldmap-options.h Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
worldmap-save.c Fix error on HTML worldmap exports. 2015-02-17 08:52:29 -08:00
worldmap-save.h Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
wreck.jpg Include images in profile 2014-02-06 11:29:23 -08:00

This is the README file for Subsurface 4.4.2

Please check the ReleaseNotes.txt for details about new features and
changes since Subsurface 4.4.1 (and earlier versions).

Subsurface can be found at http://subsurface-divelog.org

Our user forum is at http://subsurface-divelog.org/user-forum/
We also try to respond to questions in the ScubaBoard.com dive software
forum at http://www.scubaboard.com/forums/dive-software/

Report bugs and issues at http://trac.subsurface-divelog.org

License: GPLv2

You can get the sources to the latest development version from the git
repository:

git clone git://git.subsurface-divelog.org/subsurface.git .

You can also browse the sources via gitweb at the same site.

If you want the latest release (instead of the bleeding edge
development version) you can either get this via git or the release tar
ball. After cloning run the following command:

git checkout v4.4.2  (or whatever the last release is)

or download a tar ball from:

http://subsurface-divelog.org/downloads/Subsurface-4.4.2.tgz

Detailed build instructions can be found in the INSTALL file.

Basic Usage:
============

Install and start from the desktop, or you can run it locally from the
build directory:

On Linux:

$ ./subsurface

On Mac:

$ open Subsurface.app

Native builds on Windows are not really supported (the official Windows
installers are both cross-built on Linux).

You can give a data file as command line argument, or (once you have
set this up in the Preferences) Subsurface picks a default file for
you when started from the desktop or without an argument.

If you have a dive computer supported by libdivecomputer, you can just
select "Import from Divecomputer" from the "Import" menu, select which
dive computer you have (and where it is connected if you need to), and
hit "OK".

The latest list of supported dive computers can be found in the file
SupportedDivecomputers.txt.

Much more detailed end user instructions can be found from inside
Subsurface by selecting Help (typically F1). When building from source
this is also available as Documentation/user-manual.html. The
documentation for the latest release is also available on-line
http://subsurface-divelog.org/documentation/


Contributing:
=============

There is a mailing list for developers: subsurface@subsurface-divelog.org
Go to http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
to subscribe.

If you want to contribute code, please either send signed-off patches or
a pull request with signed-off commits.  If you don't sign off on them,
we will not accept them. This means adding a line that says
"Signed-off-by: Name <email>" at the end of each commit, indicating that
you wrote the code and have the right to pass it on as an open source
patch.

See: http://developercertificate.org/

Also, please write good git commit messages.  A good commit message
looks like this:

	Header line: explain the commit in one line (use the imperative)

	Body of commit message is a few lines of text, explaining things
	in more detail, possibly giving some background about the issue
	being fixed, etc etc.

	The body of the commit message can be several paragraphs, and
	please do proper word-wrap and keep columns shorter than about
	74 characters or so. That way "git log" will show things
	nicely even when it's indented.

	Make sure you explain your solution and why you're doing what you're
	doing, as opposed to describing what you're doing. Reviewers and your
	future self can read the patch, but might not understand why a
	particular solution was implemented.

	Reported-by: whoever-reported-it
	Signed-off-by: Your Name <youremail@yourhost.com>

where that header line really should be meaningful, and really should be
just one line.  That header line is what is shown by tools like gitk and
shortlog, and should summarize the change in one readable line of text,
independently of the longer explanation. Please use verbs in the
imperative in the commit message, as in "Fix bug that...", "Add
file/feature ...", or "Make Subsurface..."


A bit of Subsurface history:
============================

In fall of 2011, when a forced lull in kernel development gave him an
opportunity to start on a new endeavor, Linus Torvalds decided to tackle
his frustration with the lack of decent divelog software on Linux.

Subsurface is the result of the work of him and a team of developers since
then. It now supports Linux, Windows and MacOS and allows data import from
a large number of dive computers and several existing divelog programs. It
provides advanced visualization of the key information provided by a
modern dive computer and allows the user to track a wide variety of data
about their diving.

In fall of 2012 Dirk Hohndel took over as maintainer of Subsurface.