Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Advanced multi-platform divelog based on Qt
C++ C XSLT JavaScript Shell CMake Other

Another fix to build with NO_MARBLE

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
latest commit faa1c28100
@dirkhh dirkhh authored
Failed to load latest commit information.
.tx Add simple glossary
Documentation Update spanish translation of user manual to english 75e736a
ReleaseNotes Release notes: add a few more details about cloud storage
android-mobile Use a different package for the mobile app
android Turns out the manifest doesn't allow a dash in the name
appdata Replace other references to hohndel.org
cmake/Modules cmake: allow looking for optional libraries
dives Test dives for Seabear new format import comparison
icons Use mobile icon for subsurface-mobile
marbledata Add 1x1 transparent png to replace missing marble data
packaging Enable Android build on Mac
printing_templates Printing: make better use of the space in Two Dives template
qt-mobile QML UI: move back button back to the left and center text
qt-models QML UI: sort by date, not by date string
qt-ui Another fix to build with NO_MARBLE
scripts Use git pull with rebase in build script
tests Seabear import: fix detection of empty lines
theme HTML export: before showing the dive list, sort descending by dive nu…
translations Merge branch 'v4.4-branch' into newmaster
xslt CSV import: imperial support for cylinder pressure
.clang-format Small tweaks to our whitespace handling
.gitattributes Ignore some files when archiving.
.gitignore Complement the CMakesList.txt with the latest file inclusions.
CMakeLists.txt Only enable Bluetooth support if building against Qt5.4 or newer
CodingStyle CodingStyle: add an extra line for the braces explaination
INSTALL INSTALL file: add the required packages for QtBluetooth
README README should mention that this is not a release
Readme.testing Information on writing test cases
Readme.ubuntu Update Readme.ubuntu
SupportedDivecomputers.html Make SupportedDivecomputer HTML more compact
SupportedDivecomputers.txt Improve generation of list of supported dive computers
TODO.CCR Update todo list for CCR
android.cpp Introduce CMake support for building for Android
checkcloudconnection.cpp Move checking the cloud connection into its own files
checkcloudconnection.h Move checking the cloud connection into its own files
cochran.c Add explicit casts to silence compiler warnings
cochran.h Eliminate packed struct for Cochran
color.h CVS import UI: mark the column names in blue as well
configuredivecomputer.cpp Remove the lastError from DeviceThreads
configuredivecomputer.h Connect the progress events to the progress bar
configuredivecomputerthreads.cpp Implement the custom Bluetooth serial communication and use it
configuredivecomputerthreads.h Remove the lastError from DeviceThreads
datatrak.c Code cleanup
datatrak.h Code cleanup
deco.c Include units in VPM config structure definition
deco.h Tissue saturation plot a la Sherwater Pretel
descriptor3.tsv Add structured file with list of supported dive computers
device.c Massive automated whitespace cleanup
device.h When saving only selected dives, only include referenced dive computers
devicedetails.cpp Define new OSTC3 settings in devicedetails
devicedetails.h Define new OSTC3 settings in devicedetails
display.h Printing: remove the print_options struct from display.h
dive.c Add simple test for the dive planner
dive.h Add support for RBT reported sample value
divecomputer.cpp When saving only selected dives, only include referenced dive computers
divecomputer.h Don't reimplement the clear() method
divelist.c QML UI: make sure the dive list is empty before loading dives
divelist.h QML UI: make sure the dive list is empty before loading dives
divelogexportlogic.cpp HTML export: separate UI and logic code
divelogexportlogic.h HTML export: separate UI and logic code
divesite.c Allow creating new dive site with specific uuid
divesite.h Allow creating new dive site with specific uuid
divesitehelpers.cpp Geo taxonomy: special case for looking up data of the displayed dive …
divesitehelpers.h Geo taxonomy: download the taxonomy data from geonames.org
equipment.c Round MOD of gas rather than truncate
exif.cpp Break picture handling code from C++ to C.
exif.h Break picture handling code from C++ to C.
export-html.cpp HTML standalone exporter: use Subsurface dive numbers
file.c Add debug print on CSV import
file.h OSTCTools-Add support to import .dive files
gaspressures.c Prevent theoretical out of bounds access
gaspressures.h Some gas handling improvements
gettext.h Add comment for "below floor" event
gettextfromc.cpp Make the cache cache things
gettextfromc.h Explicitly include needed include file
git-access.c Cloud storage: recognize our server certificate and accept it
git-access.h Cloud storage: make do_git_save available to other modules
gpl-2.0.txt Add a copy of the GPL v2 to the project
helpers.h Move helper functions around
libdivecomputer.c Add support for RBT reported sample value
libdivecomputer.h Allow to compile Subsurface with upstream libdivecomputer
linux.c Add subsurface_access()
liquivision.c Code cleanup
load-git.c RBT - Add load/save in git storage support
macos.c Add subsurface_access()
main.cpp Add extra logs for custom serial Bluetooth implementation
membuffer.c membuffer: add helper functions to return regular C strings
membuffer.h membuffer: add helper functions to return regular C strings
ostctools.c OSTCTools - Improve error management (II)
parse-xml.c RBT - Add save/load in xml file support
planner.c Planner: Add comments to document the code
planner.h Add simple test for the dive planner
pref.h Make password change asynchronous
prefs-macros.h Move initialization of preferences to helper function
printer.cpp Printing: calculate a much more accurate font scale value
printer.h Printing: add preview to TemplateEdit dialog
profile.c Add support for RBT reported sample value
profile.h Add support for RBT reported sample value
qt-gui.cpp QML UI: Sort dives by date
qt-gui.h QML UI: implement a message area to show information to the user
qt-init.cpp Separate initializing Qt from initializing the UI
qthelper.cpp Move initialization of preferences to helper function
qthelper.h Save the gps edit into the current dive_site
qthelperfromc.h HTML export: need to work harder to find the pictures
qtserialbluetooth.cpp Use SPP's uuid to connect to a device on Apple platforms
satellite.svg Satellite icon diet
save-git.c RBT - Add load/save in git storage support
save-html.c HTML export: need to work harder to find the pictures
save-html.h Move helper declarations into a better header file
save-xml.c RBT - Add save/load in xml file support
sha1.c Another small tweak to whitespace tool
sha1.h Massive automated whitespace cleanup
statistics.c Better testing if the first gas is explicit
statistics.h Make gas use statistics be coherent and more complete
strndup.h Add strndup.h header so we can use this useful function
strtod.c Massive automated whitespace cleanup
subsurface-icon.svg Rename subsurface.svg to subsurface-icon.svg
subsurface-mobile-icon.svg Add different icon for mobile app
subsurface.desktop Add a trailing ';' to the Keywords in the subsurface.desktop file
subsurface.qrc Use mobile icon for subsurface-mobile
subsurfacestartup.c VPM-B: add deco choice to the ui.
subsurfacestartup.h Free strduped prefs before exit
subsurfacesysinfo.cpp Fix build on older Macs
subsurfacesysinfo.h Remove support for Qt4 (part 2)
taxonomy.c Geo taxonomy: correctly store / update the categories
taxonomy.h Geo taxonomy: correctly store / update the categories
templatelayout.cpp Printing: fix dive lookup for profile generation
templatelayout.h Printing: fix dive lookup for profile generation
terms Be more consistent in partial pressure naming
time.c Massive automated whitespace cleanup
uemis-downloader.c Uemis downloader: create the req.txt file if it went missing
uemis.c Add explicit casts to silence compiler warnings
uemis.h Uemis downloader: allow continuing download by clicking Retry
units.h Location completer: give distance if known
version.c add and use a version.c / version.h pair
version.h add and use a version.c / version.h pair
webservice.h Put include guard to every header
windows.c Windows support: correct helper function name
windowtitleupdate.cpp Re-fix silly typo
windowtitleupdate.h Code cleanup: implement window title update via signal
worldmap-options.h Gratuitous whitespace changes
worldmap-save.c Fix error on HTML worldmap exports.
worldmap-save.h Gratuitous whitespace changes
wreck.jpg Include images in profile

README

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.
Something went wrong with that request. Please try again.