This is the official upstream of the Subsurface divelog program
Find a file
Grace Karanja 390c10bb08 QML UI: Remove unneeded MobileDive class
The MobileDive class in divelistmodel.h is a duplication of the
Dive class in templatelayout.h. This patch moves the Dive to
the qthelper file.

[Dirk Hohndel: merged with upstream master - let's hope I didn't
               mess anything up]

Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-08-31 15:47:48 -07:00
.tx
android Open subsurface on attaching divecomputer 2015-08-20 23:01:15 -07:00
android-mobile
appdata
cmake/Modules
dives Add test for dive site duplication bug 2015-08-30 10:32:38 -07:00
Documentation Tiny fixes to make the FAQ correct for WordPress 2015-08-26 09:48:25 -07:00
icons
marbledata
packaging Connect up serial_ftdi custom serial 2015-08-20 22:59:54 -07:00
printing_templates Printing: add a statistics template 2015-08-22 18:36:10 +03:00
qt-mobile QML UI: Use AddDive instead of clear dive 2015-08-31 15:24:15 -07:00
qt-models QML UI: Remove unneeded MobileDive class 2015-08-31 15:47:48 -07:00
qt-ui Remove unneeded includes 2015-08-31 15:12:18 -07:00
ReleaseNotes Update ReleaseNotes 2015-08-31 10:44:34 -07:00
scripts Fix build script 2015-08-27 13:28:25 -07:00
tests Adopt expected times in TestPlan 2015-08-31 15:19:10 -07:00
theme
translations Merge branch 'v4.4-branch' into newmaster 2015-05-21 13:45:25 -07:00
xslt CSV import: imperial support for cylinder pressure 2015-07-31 10:32:27 -07:00
.clang-format
.gitattributes
.gitignore
android.cpp Wire up get_usb_fd to libusb_set_android_open_callback 2015-08-20 22:56:27 -07:00
checkcloudconnection.cpp
checkcloudconnection.h
CMakeLists.txt Add test for dive site duplication bug 2015-08-30 10:32:38 -07:00
cochran.c
cochran.h
CodingStyle
color.h
configuredivecomputer.cpp
configuredivecomputer.h
configuredivecomputerthreads.cpp
configuredivecomputerthreads.h
datatrak.c Make created dive site uuid deterministic 2015-08-25 10:43:48 -07:00
datatrak.h
deco.c Calculate ceiling only when it is needed 2015-08-31 15:17:39 -07:00
deco.h
descriptor3.tsv
device.c
device.h
devicedetails.cpp
devicedetails.h
display.h
dive.c Make created dive site uuid deterministic 2015-08-25 10:43:48 -07:00
dive.h Introduce double depth_to_bar() 2015-08-31 15:18:40 -07:00
divecomputer.cpp
divecomputer.h
divelist.c Introduce double depth_to_bar() 2015-08-31 15:18:40 -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
divelogexportlogic.h
divesite.c Fix subtle bug in dive site import from V2 file 2015-08-30 10:14:50 -07:00
divesite.h Fix subtle bug in dive site import from V2 file 2015-08-30 10:14:50 -07:00
divesitehelpers.cpp Remove unneeded includes 2015-08-31 15:12:18 -07:00
divesitehelpers.h
equipment.c
exif.cpp
exif.h
export-html.cpp
file.c Remove unused function and define 2015-08-27 08:59:56 -07:00
file.h
gaspressures.c
gaspressures.h
gettext.h
gettextfromc.cpp Make the cache cache things 2015-01-29 13:37:11 -08:00
gettextfromc.h
git-access.c Be compatible with libgit2 0.22 again 2015-08-31 15:12:37 -07:00
git-access.h
gpl-2.0.txt
helpers.h Move helper functions around 2015-02-23 09:31:08 -08:00
INSTALL QML UI: Add Android build instructions 2015-08-31 15:24:15 -07:00
libdivecomputer.c Support multiple o2 sensor values from libdc 2015-08-31 15:13:06 -07:00
libdivecomputer.h Connect up serial_ftdi custom serial 2015-08-20 22:59:54 -07:00
linux.c Fix startup crash with missing HOME or LOGNAME environment variables 2015-08-19 10:11:31 -07:00
liquivision.c Make created dive site uuid deterministic 2015-08-25 10:43:48 -07:00
load-git.c Make created dive site uuid deterministic 2015-08-25 10:43:48 -07:00
macos.c
main.cpp
membuffer.c
membuffer.h
ostctools.c
parse-xml.c Fix subtle bug in dive site import from V2 file 2015-08-30 10:14:50 -07:00
planner.c Introduce double depth_to_bar() 2015-08-31 15:18:40 -07:00
planner.h Leftovers from introduction of in_planner() helper function 2015-08-20 07:25:01 -07:00
pref.h Comment meaning of preference variables 2015-08-23 07:28:52 -07:00
prefs-macros.h Move initialization of preferences to helper function 2015-07-25 22:08:25 -07:00
printer.cpp Printing: replace usage of std::ceil() 2015-08-22 18:39:08 +03:00
printer.h Printing: use the same code for both statistics and divelist print 2015-08-22 18:36:19 +03:00
profile.c Introduce double depth_to_bar() 2015-08-31 15:18:40 -07:00
profile.h Add support for RBT reported sample value 2015-07-30 07:43:16 -07:00
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 QML UI: Remove unneeded MobileDive class 2015-08-31 15:47:48 -07:00
qthelper.h QML UI: Remove unneeded MobileDive class 2015-08-31 15:47:48 -07:00
qthelperfromc.h
qtserialbluetooth.cpp Add implementation for BTH custom serial write method used on Windows 2015-08-20 22:45:31 -07:00
README
Readme.testing
Readme.ubuntu
satellite.svg
save-git.c When building against libgit2 v0.23 or newer we can assume API23 2015-08-25 10:43:22 -07:00
save-html.c
save-html.h
save-xml.c Save XML: sort the dive sites by uuid 2015-08-25 10:43:52 -07:00
serial_ftdi.c Turn serial_ftdi.c into a custom_serial 2015-08-20 22:59:49 -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 Revert "Pref. to ascent to next stop only when stop is below ceiling" 2015-08-18 06:40:35 -07:00
subsurfacestartup.h
subsurfacesysinfo.cpp
subsurfacesysinfo.h
SupportedDivecomputers.html
SupportedDivecomputers.txt
taxonomy.c
taxonomy.h
templatelayout.cpp QML UI: Remove unneeded MobileDive class 2015-08-31 15:47:48 -07:00
templatelayout.h QML UI: Remove unneeded MobileDive class 2015-08-31 15:47:48 -07:00
terms
time.c
TODO.CCR
uemis-downloader.c Make created dive site uuid deterministic 2015-08-25 10:43:48 -07:00
uemis.c
uemis.h
units.h
version.c
version.h
webservice.h
windows.c
windowtitleupdate.cpp
windowtitleupdate.h
worldmap-options.h
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.