This is the official upstream of the Subsurface divelog program
Find a file
Dirk Hohndel 512c42e38a Dive list: seriously simplify the "add to trip" code
The existing code seemed way complicated, made way too many assumptions
and apparently was broken in certain cases.

This code seems very simple, looks correct and should fail gracefully
(i.e. simply do nothing) if things get confused.

Fixes #706

(I hope)

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-08-21 14:20:03 -05: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 Make the appdata file validate 2014-01-24 07:36:25 -08:00
dives Add test dive with heart rate information 2014-07-29 15:43:52 -07:00
Documentation HTML: Update the user-manual with the new export settings. 2014-08-17 22:58:36 -05:00
icons Change Dive Computer Configuration dialog 2014-08-13 10:48:15 -07:00
marbledata Add a CMake based buildsystem for the tests. 2014-04-14 11:49:49 -07:00
packaging Update my Mac packaging scripts for Qt5 2014-08-04 22:54:02 -07:00
qt-ui Dive list: seriously simplify the "add to trip" code 2014-08-21 14:20:03 -05:00
scripts Make SupportedDivecomputer HTML more compact 2014-08-09 12:04:48 -07:00
tests Moved code around to make possible to compile the C part alone. 2014-04-17 08:46:29 -07:00
theme HTML: time unit is in minutes not seconds. 2014-08-17 22:58:42 -05:00
translations Pull latest translations from Transifex 2014-08-08 11:31:57 -07:00
xslt Import decostop information from UDDF files 2014-08-20 19:25:36 -05: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 Generalize ignores of generated documentation 2014-08-05 09:51:35 -07:00
android.cpp Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
CMakeLists.txt Fixed compilation for CMake. 2014-06-20 15:41:32 -07:00
cochran.c Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
CodingStyle Small update to CodingStyle document 2014-07-16 09:16:47 -07:00
color.h Add gas text to tank bars 2014-08-14 22:39:47 -06:00
configuredivecomputer.cpp Improve on error reporting in the ConfigureDiveComputer class 2014-08-13 10:48:15 -07:00
configuredivecomputer.h Improve on error reporting in the ConfigureDiveComputer class 2014-08-13 10:48:15 -07:00
configuredivecomputerthreads.cpp Change presentation of OSTC 3 firmware version 2014-08-17 14:11:29 -07:00
configuredivecomputerthreads.h Start Work on Firmware Update 2014-08-13 10:48:15 -07:00
deco.c Deco artefacts with low GFlow 2014-06-25 17:57:21 +08:00
deco.h Put include guard to every header 2014-02-11 12:37:01 -08: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 Move non gui code from qt-ui 2014-08-13 10:48:14 -07:00
devicedetails.h Move non gui code from qt-ui 2014-08-13 10:48:14 -07:00
display.h Printing: add 1 dive per page option 2014-07-24 11:33:28 -07:00
dive.c Planner: bring sanity to the SAC rate handling 2014-08-19 11:36:54 -05:00
dive.h Mark manually entered waypoints as such 2014-08-19 21:18:26 -05: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 Planner: assign a dive number if the right number seems obvious 2014-08-18 14:12:05 -05:00
divelist.h Planner: assign a dive number if the right number seems obvious 2014-08-18 14:12:05 -05:00
equipment.c Add standard double cylinders 2014-08-05 08:05:07 -07: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 support for importing pressure from CSV files 2014-07-10 12:40:25 -07:00
file.h Put include guard to every header 2014-02-11 12:37:01 -08: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
helpers.h Fix time zone issues in 32bit builds 2014-08-01 15:25:53 -07:00
INSTALL Update cross building for Windows on Linux 2014-03-07 16:33:00 -08:00
libdivecomputer.c Add "download into private trip" dialog checkmark 2014-08-14 22:40:14 -06:00
libdivecomputer.h Add "download into private trip" dialog checkmark 2014-08-14 22:40:14 -06:00
linux.c Download from dive computer: Fix the broken selection of devices 2014-05-19 20:12:58 +09:00
load-git.c Add support divecomputer based TTS 2014-07-09 13:22:00 -07:00
macos.c Download from dive computer: Fix the broken selection of devices 2014-05-19 20:12:58 +09:00
main.cpp Gratuitous whitespace changes 2014-05-22 11:40:22 -07: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 Accept negative pressure readings 2014-07-17 08:10:42 -07:00
planner.c Mark manually entered waypoints as such 2014-08-19 21:18:26 -05:00
planner.h Planner: correctly free divedatapoints 2014-08-19 15:06:39 -05:00
pref.h TankBar: hook into prefs and make ppGraphs resize accordingly 2014-08-15 08:11:14 -06:00
profile.c Add support divecomputer based TTS 2014-07-09 13:22:00 -07:00
profile.h Add support divecomputer based TTS 2014-07-09 13:22:00 -07:00
qt-gui.cpp Don't show seconds for dive start time in the UI 2014-08-16 15:56:38 -06:00
qt-gui.h Main: separate the QApplication and UI creation 2014-03-19 09:37:49 -07:00
qthelper.cpp Fix and simplify get_file_name 2014-08-17 12:01:56 -06:00
qthelper.h HTML: Add dive photos to the detailed view 2014-07-14 21:38:22 -07:00
README Improve wording on README 2014-08-07 22:05:04 -07:00
Readme.testing Information on writing test cases 2014-04-15 11:03:38 -07:00
ReleaseNotes.txt Improve wording on ReleaseNotes 2014-08-07 22:05:41 -07:00
satellite.svg Satellite icon diet 2013-01-22 22:25:03 -08:00
save-git.c Fix potential leak of branch in is_git_repository 2014-07-10 13:25:25 -07:00
save-html.c HTML: change empty O2 Value to Air. 2014-08-17 12:03:24 -06:00
save-html.h Fix and simplify get_file_name 2014-08-17 12:01:56 -06:00
save-xml.c Suppress XML preamble in CSV export 2014-07-16 09:14:27 -07: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 Make gas use statistics be coherent and more complete 2014-08-06 09:14:34 -07: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 system detection compile on Mac 2014-06-14 13:29:13 -07:00
subsurface-gen-version.pri make clean should also remove ssrf-version.h 2014-08-21 06:00:46 -05:00
subsurface-icon.svg Rename subsurface.svg to subsurface-icon.svg 2013-02-02 21:27:15 +01:00
subsurface-install.pri Allow cross-building 64 bit binaries for Windows 2014-08-02 15:08:22 -07:00
subsurface.1 Tweaking man page to better reflect current status 2013-12-14 20:19:58 -08:00
subsurface.desktop Add keywords in .desktop file 2014-08-21 05:47:42 -05:00
subsurface.pro One more attempt to get Mac back to work with Qt4 2014-08-21 06:10:13 -05:00
subsurface.qrc Change Dive Computer Configuration dialog 2014-08-13 10:48:15 -07:00
subsurfacestartup.c TankBar: hook into prefs and make ppGraphs resize accordingly 2014-08-15 08:11:14 -06:00
subsurfacestartup.h Put include guard to every header 2014-02-11 12:37:01 -08:00
subsurfacesysinfo.cpp Allow Mac build on older versions of OSX 2014-07-25 12:51:23 -07: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
uemis-downloader.c Uemis downloader: show the timestamp for dives while downloading 2014-08-17 16:44:43 -05:00
uemis.c Be more consistent in partial pressure naming 2014-06-23 06:48:54 +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: prevent a warning due to #define _WIN32_WINNT... 2014-06-09 16:55:05 -07:00
worldmap-options.h Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
worldmap-save.c Fix segfault in world map export 2014-07-15 05:48:07 -07: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.2

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

Report bugs and issues at http://trac.hohndel.org

License: GPLv2

Subsurface can be found at http://subsurface.hohndel.org

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

git clone git://subsurface.hohndel.org/subsurface.git .

You can also browse the sources via gitweb at git.hohndel.org

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

or download a tar ball from:

http://subsurface.hohndel.org/downloads/Subsurface-4.2.tgz


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.hohndel.org/documentation/


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

There is a mailing list for developers: subsurface@hohndel.org
Go to http://lists.hohndel.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