This is the official upstream of the Subsurface divelog program
Find a file
Dirk Hohndel 925bb019c7 Fix potential crash
Commits 0de3bc8452 ("Display CCR setpoint values on the po2 graph") and
65eed80e37 ("Don't always show the setpoint graph") didn't take into
account that current_dive could be NULL and therefore accessing current_dc
could crash.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-06 20:35:57 -08:00
.tx Add simple glossary 2013-12-29 10:34:12 -08:00
android Add missed xml-end tag in AndroidManifest 2014-06-25 16:50:40 +08: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 Need to warn about some more characters on CSV import 2015-01-05 11:36: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 Small tweaks to the Mac package making scripts 2015-01-02 22:26:36 -08:00
qt-ui Fix potential crash 2015-01-06 20:35:57 -08:00
ReleaseNotes Add Makefile to create ReleaseNotes HTML 2014-12-20 11:37:49 -08:00
scripts Fix more references to the ReleaseNotes 2014-12-17 12:45:45 -08:00
tests Moved code around to make possible to compile the C part alone. 2014-04-17 08:46:29 -07:00
theme Variable should be declared before loop 2014-12-02 07:05:42 -08:00
translations Update strings and translations 2015-01-04 17:56:27 -08:00
xslt Add missing divemaster field to the manual import 2015-01-06 20:19:45 -08: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 Move the filters code to it's own file. 2014-11-13 12:01:00 -08:00
cochran.c Eliminate packed struct for Cochran 2014-10-29 09:05:15 -07: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 Add gas text to tank bars 2014-08-14 22:39:47 -06:00
configuredivecomputer.cpp Whitespace cleanup 2014-12-28 21:02:28 -08:00
configuredivecomputer.h Whitespace cleanup 2014-12-28 21:02:28 -08:00
configuredivecomputerthreads.cpp Cleanup OSTC settings debug code 2014-12-30 07:37:12 -08:00
configuredivecomputerthreads.h Whitespace cleanup 2014-12-28 21:02:28 -08:00
deco.c Prepare for PSCR calculations 2014-11-04 07:13:04 -08: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 Extend SAMPLE_EVENT_GASCHANGE2 to have cylinder index in 'flags' field 2015-01-03 21:36:51 -08:00
dive.h Add missing divemaster field to the manual import 2015-01-06 20:19:45 -08:00
divecomputer.cpp Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
divecomputer.h Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
divelist.c Always show deco gas as dive gas 2015-01-06 15:04:10 -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 Add missing divemaster field to the manual import 2015-01-06 20:19:45 -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 Massive automated whitespace cleanup 2014-02-27 20:09:57 -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 Fix typo in INSTALL file 2014-12-31 08:20:44 -08:00
libdivecomputer.c Remove unused variable 2014-12-29 16:27:44 -08:00
libdivecomputer.h Keep undecoded firmware / serial info from libdivecomputer 2014-12-27 08:31:04 -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 CCR dive logs: git I/O 2014-11-24 12:14:03 -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 DLF import: Document unknown fields 2015-01-05 14:09:48 -08:00
planner.c Set sample setpoint correctly 2014-12-12 07:15:22 -08:00
planner.h Planner: correctly free divedatapoints 2014-08-19 15:06:39 -05:00
pref.h Display CCR setpoint values on the po2 graph 2015-01-05 09:18:06 -08:00
profile.c Display CCR setpoint values on the po2 graph 2015-01-05 09:18:06 -08:00
profile.h Display CCR setpoint values on the po2 graph 2015-01-05 09:18:06 -08: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 Fix use of QString 2014-11-13 12:10:21 -08:00
qthelper.h HTML: Add dive photos to the detailed view 2014-07-14 21:38:22 -07:00
README Massive rewrite of ReleaseNotes and README 2014-12-16 20:33:28 -08:00
Readme.testing Information on writing test cases 2014-04-15 11:03:38 -07:00
Readme.ubuntu Add libdivecomputer and libgit2 to Ubuntu building 2014-12-01 07:45:46 -08:00
satellite.svg Satellite icon diet 2013-01-22 22:25:03 -08:00
save-git.c CCR dive logs: git I/O 2014-11-24 12:14:03 -08: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 git save format: Don't save redunant temperature sample data 2015-01-02 22:39:17 -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 In a CCR dive the diluent and oxygen cylinders are both used 2014-11-17 00:09:19 +00: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 Make qmake work for Qt5 on Mac 2014-12-26 08:35:41 -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 Facebook integration: Add an interface to select the stuff that's sent 2014-12-29 09:06:55 -08:00
subsurface.qrc Add better icons for the filter dialog 2014-12-31 23:53:28 -08:00
subsurfacestartup.c Display CCR setpoint values on the po2 graph 2015-01-05 09:18:06 -08:00
subsurfacestartup.h Free strduped prefs before exit 2014-12-18 07:20:10 -08:00
subsurfacesysinfo.cpp Remove unused unquote function 2014-11-08 11:21:08 -08:00
subsurfacesysinfo.h User survey: detect the machine the app is running on 2014-06-30 15:54:49 -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 Match agreed captalisation style 2014-11-25 07:57:33 -08:00
uemis.c Match agreed captalisation style 2014-11-25 07:57:33 -08:00
uemis.h Uemis GPS location tracking seems backwards 2014-03-08 16:55:25 -08: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 Consitent punctuation of shortened words 2014-11-25 07:57:39 -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.3

Please check the ReleaseNotes.txt for details about new features and
changes since Subsurface 4.2

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.3  (or whatever the last release is)

or download a tar ball from:

http://subsurface-divelog.org/downloads/Subsurface-4.3.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.