Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Multi-platform divelog in C and Gtk

More translations

I am not the author, just pulling them from Transifex.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
latest commit e05c9e3716
Dirk Hohndel dirkhh authored April 18, 2014
Octocat-spinner-32 .tx Add simple glossary December 29, 2013
Octocat-spinner-32 Documentation Small updates to user manual April 10, 2014
Octocat-spinner-32 appdata Make the appdata file validate January 24, 2014
Octocat-spinner-32 dives Add test dive that shows heart rate April 07, 2014
Octocat-spinner-32 icons New icons April 16, 2014
Octocat-spinner-32 marbledata Add a CMake based buildsystem for the tests. April 14, 2014
Octocat-spinner-32 packaging Update cross building for Windows on Linux March 07, 2014
Octocat-spinner-32 qt-ui Remove unused variables and fix signed/unsigned mismatch April 18, 2014
Octocat-spinner-32 scripts Make it executable and remove magic whitespace on shebang line. March 06, 2014
Octocat-spinner-32 tests Moved code around to make possible to compile the C part alone. April 17, 2014
Octocat-spinner-32 translations More translations April 18, 2014
Octocat-spinner-32 xslt No negative depth on divelogs.de export April 10, 2014
Octocat-spinner-32 .clang-format Add a simplistic tool to clean up whitespace February 12, 2014
Octocat-spinner-32 .gitattributes Ignore some files when archiving. May 12, 2013
Octocat-spinner-32 .gitignore Add .DS_Store files to .gitignore March 03, 2014
Octocat-spinner-32 CMakeLists.txt Moved code around to make possible to compile the C part alone. April 17, 2014
Octocat-spinner-32 CodingStyle Fixed Subsurface coding style for classes in vim. March 10, 2014
Octocat-spinner-32 INSTALL Update cross building for Windows on Linux March 07, 2014
Octocat-spinner-32 README Update the README file part about commit messages March 03, 2014
Octocat-spinner-32 Readme.testing Information on writing test cases April 15, 2014
Octocat-spinner-32 ReleaseNotes.txt Prepare for Subsurface 4.0.2 release January 09, 2014
Octocat-spinner-32 SupportedDivecomputers.html Make the SupportedDivecomputers.html match web site December 15, 2013
Octocat-spinner-32 SupportedDivecomputers.txt Convert structure list of supported dive computers to txt / html December 13, 2013
Octocat-spinner-32 android.cpp Introduce android specific file March 27, 2014
Octocat-spinner-32 cochran.c Massive automated whitespace cleanup February 27, 2014
Octocat-spinner-32 color.h Make red ceiling work April 14, 2014
Octocat-spinner-32 deco.c Massive automated whitespace cleanup February 27, 2014
Octocat-spinner-32 deco.h Put include guard to every header February 11, 2014
Octocat-spinner-32 descriptor3.tsv Add structured file with list of supported dive computers December 13, 2013
Octocat-spinner-32 device.c Massive automated whitespace cleanup February 27, 2014
Octocat-spinner-32 device.h Massive automated whitespace cleanup February 27, 2014
Octocat-spinner-32 display.h Show EAD/END only for trimix/nitrox dives respectively March 31, 2014
Octocat-spinner-32 dive.c Removed the globals 'userid' and 'save_userid_local' variables April 17, 2014
Octocat-spinner-32 dive.h Removed the globals 'userid' and 'save_userid_local' variables April 17, 2014
Octocat-spinner-32 divelist.c Get rid of crazy empty tag_list element at the start March 10, 2014
Octocat-spinner-32 divelist.h Massive automated whitespace cleanup February 27, 2014
Octocat-spinner-32 equipment.c Massive automated whitespace cleanup February 27, 2014
Octocat-spinner-32 file.c Convert other users of showError() to the new world order March 14, 2014
Octocat-spinner-32 file.h Put include guard to every header February 11, 2014
Octocat-spinner-32 gettext.h Add comment for "below floor" event November 29, 2013
Octocat-spinner-32 gettextfromc.cpp Massive automated whitespace cleanup February 27, 2014
Octocat-spinner-32 gettextfromc.h Massive automated whitespace cleanup February 27, 2014
Octocat-spinner-32 gpl-2.0.txt Add a copy of the GPL v2 to the project September 26, 2011
Octocat-spinner-32 helpers.h Massive automated whitespace cleanup February 27, 2014
Octocat-spinner-32 libdivecomputer.c Don't check for tank size information only on first tank March 15, 2014
Octocat-spinner-32 libdivecomputer.h Massive automated whitespace cleanup February 27, 2014
Octocat-spinner-32 linux.c git-save: improve commit authorship data April 14, 2014
Octocat-spinner-32 load-git.c Add option to save userid in data files April 14, 2014
Octocat-spinner-32 macos.c git-save: improve commit authorship data April 14, 2014
Octocat-spinner-32 main.cpp Fix crash with libgit when it's compiled with GIT_THREADS March 31, 2014
Octocat-spinner-32 membuffer.c Use helper function to write decimal numbers April 05, 2014
Octocat-spinner-32 membuffer.h Use helper function to write decimal numbers April 05, 2014
Octocat-spinner-32 parse-xml.c Removed the globals 'userid' and 'save_userid_local' variables April 17, 2014
Octocat-spinner-32 planner.c Remove unused variables and fix signed/unsigned mismatch April 18, 2014
Octocat-spinner-32 planner.h Remove external declaration of non-existant global variable February 12, 2014
Octocat-spinner-32 pref.h Removed the globals 'userid' and 'save_userid_local' variables April 17, 2014
Octocat-spinner-32 profile.c Renaming the prefs struct members to be consistent with the QSettings. April 16, 2014
Octocat-spinner-32 profile.h Remove a Lot of Dead Code. March 07, 2014
Octocat-spinner-32 qt-gui.cpp Moved code around to make possible to compile the C part alone. April 17, 2014
Octocat-spinner-32 qt-gui.h Main: separate the QApplication and UI creation March 19, 2014
Octocat-spinner-32 qthelper.cpp Moved code around to make possible to compile the C part alone. April 17, 2014
Octocat-spinner-32 qthelper.h Massive automated whitespace cleanup February 27, 2014
Octocat-spinner-32 satellite.svg Satellite icon diet January 22, 2013
Octocat-spinner-32 save-git.c Removed the globals 'userid' and 'save_userid_local' variables April 17, 2014
Octocat-spinner-32 save-xml.c Removed the globals 'userid' and 'save_userid_local' variables April 17, 2014
Octocat-spinner-32 sha1.c Another small tweak to whitespace tool March 05, 2014
Octocat-spinner-32 sha1.h Massive automated whitespace cleanup February 27, 2014
Octocat-spinner-32 statistics.c Massive automated whitespace cleanup February 27, 2014
Octocat-spinner-32 statistics.h Massive automated whitespace cleanup February 27, 2014
Octocat-spinner-32 strtod.c Massive automated whitespace cleanup February 27, 2014
Octocat-spinner-32 subsurface-configure.pri Remove printing when building for Android March 27, 2014
Octocat-spinner-32 subsurface-gen-version.pri Fix building in git shallow clones January 21, 2014
Octocat-spinner-32 subsurface-icon.svg Rename subsurface.svg to subsurface-icon.svg February 02, 2013
Octocat-spinner-32 subsurface-install.pri Introduce android specific file March 27, 2014
Octocat-spinner-32 subsurface.1 Tweaking man page to better reflect current status December 14, 2013
Octocat-spinner-32 subsurface.desktop The Subsurface icon has been renamed, the .desktop must be adjusted. February 14, 2013
Octocat-spinner-32 subsurface.pro Use the ENABLE_PLANNER macro in the manual too April 07, 2014
Octocat-spinner-32 subsurface.qrc Use Luisa's new icons April 16, 2014
Octocat-spinner-32 subsurfacestartup.c Renaming the prefs struct members to be consistent with the QSettings. April 16, 2014
Octocat-spinner-32 subsurfacestartup.h Put include guard to every header February 11, 2014
Octocat-spinner-32 terms Add new terms which can be a useful reference March 05, 2014
Octocat-spinner-32 time.c Massive automated whitespace cleanup February 27, 2014
Octocat-spinner-32 uemis-downloader.c Don't leak file descriptor in the error case March 06, 2014
Octocat-spinner-32 uemis.c Uemis GPS location tracking seems backwards March 08, 2014
Octocat-spinner-32 uemis.h Uemis GPS location tracking seems backwards March 08, 2014
Octocat-spinner-32 webservice.h Put include guard to every header February 11, 2014
Octocat-spinner-32 windows.c git-save: improve commit authorship data April 14, 2014
Octocat-spinner-32 worldmap-options.h Exporting a World-Map March 30, 2014
Octocat-spinner-32 worldmap-save.c Fix HTML errors April 06, 2014
Octocat-spinner-32 worldmap-save.h Exporting a World-Map March 30, 2014
Octocat-spinner-32 wreck.jpg Include images in profile February 06, 2014
README
This is the README file for Subsurface 4.0.2

After the release of Subsurface 3.1 the Subsurface developer team
decided to make a major change in the development direction of the
project. We switched to Qt as our UI toolkit and slowly, step by step
replaced all the Gtk with corresponding Qt code.

This caused lots of changes, from adding C++ to the list of
programming languages used, to switching build systems to qmake, to
refactoring the tightly interwoven UI and logic code that we had up
until 3.1. The vast majority of this work was done by just a handful
of people with Tomaz Canabrava carrying the biggest part of the
load. As we had hoped, the switch to Qt brought us many new active
developers and the Qt community has been extremely helpful supporting
us when we ran into trouble.

At this stage the Qt version has by and large reached functional
parity with version 3.1; two notable features are missing: the filter
by event type and the dive planner. The user experience and look and
feel on the other hand far surpass what was available in 3.1.

As always in a massive rewrite like this, there are still a small
handful of known bugs and issues - please check ReleaseNotes.txt and
our bug tracker at trac.hohndel.org.

The latest public version is Subsurface 4.0.2, released in January of 2014.

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

if you have already cloned the git repository as shown above or you
can get a tar ball from

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


Basic Usage:
============

Install and start from the desktop, or you can run it locally from the
build directory:

$ ./subsurface

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


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