This is the official upstream of the Subsurface divelog program
Find a file
Dirk Hohndel b60b4ef69d Fix crash when adding a dive
If a dive has no dive_site_uuid we would dereference a NULL pointer and
crash. Oops.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-02-13 22:08:08 -08: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 Add missing Atomic Aquatics logo 2015-02-10 10:45:46 -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 Once again update the Qt4 patch for Ubuntu 12.04 build 2015-01-31 13:35:32 -08:00
qt-ui Fix crash when adding a dive 2015-02-13 22:08:08 -08:00
ReleaseNotes Add pictures to ReleaseNotes for 4.4 announcement 2015-02-04 10:49:08 -08:00
scripts Fix more references to the ReleaseNotes 2014-12-17 12:45:45 -08:00
tests More tolerant when parsing GPS coordinates. 2015-02-04 10:51:27 -08:00
theme HTML: add Depth and Duration data to the dive list view. 2015-02-06 07:04:06 -08:00
translations Latest translations 2015-02-04 07:44:40 -08:00
xslt UDDF Export: Moved equipmentused to informationbeforedive section as per updated spec 2015-02-11 16:15:28 -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 More tolerant when parsing GPS coordinates. 2015-02-04 10:51:27 -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 Allow editing of dive sites 2015-02-13 14:27:35 -08:00
dive.h Allow editing of dive sites 2015-02-13 14:27:35 -08: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 Change one more spot in divelist.c from locations to dive sites 2015-02-12 21:30:57 -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
divesite.c Add another helper funtion 2015-02-13 14:27:34 -08:00
divesite.h Add another helper funtion 2015-02-13 14:27:34 -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 Increase the limits for recursion and variables on XSLT parsing 2015-02-08 12:40:53 -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 ready for Subsurface 4.4 2015-02-04 07:54:44 -08:00
libdivecomputer.c Prevent a tank from looking undefined by mistake 2015-02-09 13:40:17 -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 Switch from locations to dive sites in liquivision code 2015-02-12 21:11:51 -08:00
load-git.c Improve dive site creation from v2 git storage 2015-02-13 14:27:34 -08:00
macos.c Add subsurface_access() 2014-11-13 11:58:59 -08:00
main.cpp Remove the ProfileWidget from mainwindow.ui 2015-02-10 10:45:45 -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 Don't force the first divecomputer to CCR just because there's po2 value 2015-02-13 21:07:22 -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 Remove the DiveList from the mainwindow.ui 2015-02-10 10:45:45 -08:00
qt-gui.h Main: separate the QApplication and UI creation 2014-03-19 09:37:49 -07:00
qthelper.cpp Remove coordinates from main tab 2015-02-12 22:45:47 -08:00
qthelper.h HTML: Add dive photos to the detailed view 2014-07-14 21:38:22 -07:00
README Update README, ReleaseNotes and INSTALL 2015-02-01 07:20:47 -08: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 Always print dive site uuids as 8 digits / leading 0s in git format 2015-02-13 22:06:57 -08:00
save-html.c Change from locations to dive sites in save-html and worldmap 2015-02-12 21:30:56 -08:00
save-html.h HTML: Save data with user selected units 2014-10-20 18:04:51 -07:00
save-xml.c Make special backup when switching XML versions 2015-02-12 23:35:52 -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 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 Add dive site data structure 2015-02-12 11:18:12 -08:00
subsurface.qrc Add better icons for the filter dialog 2014-12-31 23:53:28 -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 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 Change UEMIS infrastructure to use dive sites 2015-02-12 22:45:47 -08:00
uemis.c Change UEMIS infrastructure to use dive sites 2015-02-12 22:45:47 -08:00
uemis.h Change UEMIS infrastructure to use dive sites 2015-02-12 22:45:47 -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 Change from locations to dive sites in save-html and worldmap 2015-02-12 21:30:56 -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 Beta 3

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

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.