This is the official upstream of the Subsurface divelog program
Find a file
Rick Walsh 4f05622846 Planner: Hide unwanted transition between deco stops
If display transitions in deco isn't selected, then we shouldn't show the
transition segment between two deco stops, even if there is a gas change.  We
should still show the ascent segment up to the first deco stop.  The
(gaschange_after && !isascent) condition is necessary to pick up backgas breaks.
An example plan is shown below.

Previously:
depth	duration	runtime	gas
40m	1min	1min	air
40m	34min	35min	 
21m	2min	37min	 	<--meaningful ascent segment
21m	1min	38min	EAN50
18m	1min	39min	 
15m	3min	42min	 
12m	4min	46min	 
9m	5min	51min	 
6m	0min	51min	 	<--unnecessary ascent segment
6m	13min	64min	oxygen
6m	6min	70min	air
6m	2min	72min	oxygen
0m	1min	73min	 

depth	duration	runtime	gas
40m	1min	1min	air
40m	34min	35min	 
21m	2min	37min	 	<--meaningful ascent segment
21m	1min	38min	EAN50
18m	1min	39min	 
15m	3min	42min	 
12m	4min	46min	 
9m	5min	51min	 
6m	13min	64min	oxygen
6m	6min	70min	air
6m	2min	72min	oxygen
0m	1min	73min	 

Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-07-26 09:14:06 -07:00
.tx
android
android-mobile Use a different package for the mobile app 2015-07-16 18:41:06 -07:00
appdata
cmake/Modules
dives Create test case for DivingLog SQLite import 2015-07-24 13:21:19 -07:00
Documentation Update user manual to reflect new way of DivingLog import 2015-07-23 13:57:24 -07:00
icons
marbledata
packaging Enable Android build on Mac 2015-07-20 05:52:11 -07:00
printing_templates Printing: add css filter to templates 2015-07-20 15:28:59 +03:00
qt-mobile QML UI: add style to the menu button 2015-07-26 06:19:53 -07:00
qt-models QML UI: sort by date, not by date string 2015-07-24 11:17:48 -07:00
qt-ui Move initialization of preferences to helper function 2015-07-25 22:08:25 -07:00
ReleaseNotes
scripts
tests Create test case for DivingLog SQLite import 2015-07-24 13:21:19 -07:00
theme
translations Merge branch 'v4.4-branch' into newmaster 2015-05-21 13:45:25 -07:00
xslt Add setpoint support on CSV import (XSLT parsing) 2015-07-21 07:34:13 -07:00
.clang-format Small tweaks to our whitespace handling 2014-05-22 11:20:04 -07:00
.gitattributes
.gitignore
android.cpp Introduce CMake support for building for Android 2015-07-01 09:00:48 -07:00
checkcloudconnection.cpp
checkcloudconnection.h
CMakeLists.txt Only enable Bluetooth support if building against Qt5.4 or newer 2015-07-20 09:35:00 -07:00
cochran.c
cochran.h
CodingStyle
color.h
configuredivecomputer.cpp
configuredivecomputer.h Connect the progress events to the progress bar 2015-01-21 17:03:24 +12:00
configuredivecomputerthreads.cpp
configuredivecomputerthreads.h
datatrak.c
datatrak.h
deco.c
deco.h
descriptor3.tsv
device.c
device.h
devicedetails.cpp
devicedetails.h
display.h
dive.c
dive.h Add setpoint support for CSV import 2015-07-21 07:34:24 -07:00
divecomputer.cpp
divecomputer.h
divelist.c QML UI: make sure the dive list is empty before loading dives 2015-07-24 13:18:30 -07:00
divelist.h QML UI: make sure the dive list is empty before loading dives 2015-07-24 13:18:30 -07:00
divelogexportlogic.cpp HTML export: separate UI and logic code 2015-06-16 14:04:41 -07:00
divelogexportlogic.h
divesite.c Allow creating new dive site with specific uuid 2015-07-24 13:20:57 -07:00
divesite.h Allow creating new dive site with specific uuid 2015-07-24 13:20:57 -07:00
divesitehelpers.cpp Geo taxonomy: special case for looking up data of the displayed dive site 2015-07-15 21:28:17 -07:00
divesitehelpers.h
equipment.c
exif.cpp Break picture handling code from C++ to C. 2014-06-02 23:59:29 -07:00
exif.h
export-html.cpp
file.c Include debug printout for easier manual testing 2015-07-22 11:54:12 -07:00
file.h
gaspressures.c
gaspressures.h Some gas handling improvements 2014-11-16 20:50:16 +00:00
gettext.h
gettextfromc.cpp
gettextfromc.h
git-access.c
git-access.h
gpl-2.0.txt
helpers.h
INSTALL
libdivecomputer.c
libdivecomputer.h
linux.c
liquivision.c
load-git.c Allow creating new dive site with specific uuid 2015-07-24 13:20:57 -07:00
macos.c
main.cpp
membuffer.c
membuffer.h
ostctools.c OSTCTools - Improve error management (II) 2015-07-13 15:21:30 -07:00
parse-xml.c Allow creating new dive site with specific uuid 2015-07-24 13:20:57 -07:00
planner.c Planner: Hide unwanted transition between deco stops 2015-07-26 09:14:06 -07:00
planner.h
pref.h Make password change asynchronous 2015-07-22 15:06:57 -07:00
prefs-macros.h Move initialization of preferences to helper function 2015-07-25 22:08:25 -07:00
printer.cpp Printing: transfer profile to QImage if grayscale 2015-07-20 15:28:57 +03:00
printer.h Printing: add preview to TemplateEdit dialog 2015-07-20 15:28:03 +03:00
profile.c
profile.h
qt-gui.cpp QML UI: Sort dives by date 2015-07-22 19:09:49 +03:00
qt-gui.h
qt-init.cpp
qthelper.cpp Move initialization of preferences to helper function 2015-07-25 22:08:25 -07:00
qthelper.h Move initialization of preferences to helper function 2015-07-25 22:08:25 -07:00
qthelperfromc.h
qtserialbluetooth.cpp Use SPP's uuid to connect to a device on Apple platforms 2015-07-20 05:51:38 -07:00
README
Readme.testing
Readme.ubuntu
satellite.svg
save-git.c
save-html.c
save-html.h
save-xml.c Add helper function that checks if a dive site is in use 2015-07-15 21:25:26 -07:00
sha1.c
sha1.h
statistics.c Better testing if the first gas is explicit 2015-03-11 12:31:00 -07:00
statistics.h
strndup.h
strtod.c
subsurface-icon.svg
subsurface-mobile-icon.svg
subsurface.desktop
subsurface.qrc
subsurfacestartup.c
subsurfacestartup.h
subsurfacesysinfo.cpp
subsurfacesysinfo.h
SupportedDivecomputers.html Make SupportedDivecomputer HTML more compact 2014-08-09 12:04:48 -07:00
SupportedDivecomputers.txt
taxonomy.c Geo taxonomy: correctly store / update the categories 2015-07-13 15:21:30 -07:00
taxonomy.h Geo taxonomy: correctly store / update the categories 2015-07-13 15:21:30 -07:00
templatelayout.cpp Printing: export grayscale filter value to template 2015-07-20 15:29:05 +03:00
templatelayout.h Printing: export grayscale filter value to template 2015-07-20 15:29:05 +03:00
terms
time.c
TODO.CCR
uemis-downloader.c
uemis.c
uemis.h
units.h Location completer: give distance if known 2015-07-14 11:52:17 -07:00
version.c
version.h
webservice.h
windows.c
windowtitleupdate.cpp
windowtitleupdate.h
worldmap-options.h Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
worldmap-save.c
worldmap-save.h
wreck.jpg

This is the README file for Subsurface master towards 4.5

Please check the ReleaseNotes.txt for details about new features and
changes since Subsurface 4.4.2 (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.