This is the official upstream of the Subsurface divelog program
Find a file
Anton Lundin 5cbbff0084 Use qt-android-cmake to produce a android apk
This introduces code to use qt-android-cmake to produce a working apk.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-07-08 15:48:42 -07:00
.tx
android
appdata
cmake/Modules
dives
Documentation Add FAQ item about creating a udev rule for Cobalt under Linux 2015-07-02 12:26:14 -07:00
icons Removed unused icons 2015-07-06 12:49:52 -07:00
marbledata Add more Marble bitmaps 2015-06-20 06:20:25 -07:00
packaging Use qt-android-cmake to produce a android apk 2015-07-08 15:48:42 -07:00
printing_templates Printing: add custom options to the PrintDialog 2015-07-05 21:02:09 +03:00
qt-mobile Display more details 2015-06-20 14:29:14 -07:00
qt-models Planner: disable unrelated planner settings 2015-07-07 11:49:16 -07:00
qt-ui Globe: another attempt to fix the globe zoom 2015-07-08 13:45:24 -07:00
ReleaseNotes Release notes: add a few more details about cloud storage 2015-06-14 14:52:44 -07:00
scripts Build script: use mirror on our git server 2015-07-07 12:45:59 -07:00
tests Fix typo in test and some numbers 2015-07-06 08:56:48 -07:00
theme HTML export: before showing the dive list, sort descending by dive number 2015-06-18 22:04:11 -07:00
translations
xslt Set the number of o2 sensors on a CSV import 2015-06-27 14:43:28 -07:00
.clang-format
.gitattributes
.gitignore
android.cpp Introduce CMake support for building for Android 2015-07-01 09:00:48 -07:00
checkcloudconnection.cpp Move checking the cloud connection into its own files 2015-06-16 06:08:31 -07:00
checkcloudconnection.h Move checking the cloud connection into its own files 2015-06-16 06:08:31 -07:00
CMakeLists.txt Use qt-android-cmake to produce a android apk 2015-07-08 15:48:42 -07:00
cochran.c
cochran.h
CodingStyle
color.h
configuredivecomputer.cpp
configuredivecomputer.h
configuredivecomputerthreads.cpp Implement the custom Bluetooth serial communication and use it 2015-07-06 08:37:42 -07:00
configuredivecomputerthreads.h
datatrak.c Code cleanup 2015-07-06 13:59:14 -07:00
datatrak.h Code cleanup 2015-07-06 13:59:14 -07:00
deco.c Include units in VPM config structure definition 2015-07-07 06:26:40 -07:00
deco.h
descriptor3.tsv
device.c
device.h
devicedetails.cpp
devicedetails.h
display.h
dive.c Add simple test for the dive planner 2015-07-05 09:42:38 -07:00
dive.h Round MOD of gas rather than truncate 2015-07-05 15:53:49 -07:00
divecomputer.cpp
divecomputer.h
divelist.c Track minimum datafile version 2015-06-20 06:45:12 -07:00
divelist.h Track minimum datafile version 2015-06-20 06:45:12 -07:00
divelogexportlogic.cpp HTML export: separate UI and logic code 2015-06-16 14:04:41 -07:00
divelogexportlogic.h HTML export: separate UI and logic code 2015-06-16 14:04:41 -07:00
divesite.c Clean double free in copy_dive_site() 2015-07-07 10:37:53 -07:00
divesite.h Geo taxonomy: add the taxonomy information to dive sites 2015-07-01 12:28:15 -07:00
divesitehelpers.cpp Rename enum values for taxonomy 2015-07-02 10:22:31 -07:00
divesitehelpers.h Geo taxonomy: download the taxonomy data from geonames.org 2015-07-02 06:50:49 -07:00
equipment.c Round MOD of gas rather than truncate 2015-07-05 15:53:49 -07:00
exif.cpp
exif.h
export-html.cpp HTML standalone exporter: use Subsurface dive numbers 2015-06-18 12:23:30 -07:00
file.c More debug message cleanup 2015-07-02 11:22:22 -07:00
file.h
gaspressures.c Prevent theoretical out of bounds access 2015-06-21 21:17:42 -07:00
gaspressures.h
gettext.h
gettextfromc.cpp
gettextfromc.h
git-access.c Fix incorrect buffer length calculation 2015-06-21 20:02:01 -07:00
git-access.h Cloud storage: make do_git_save available to other modules 2015-06-13 18:36:04 -07:00
gpl-2.0.txt
helpers.h
INSTALL INSTALL file: add the required packages for QtBluetooth 2015-07-07 06:14:13 -07:00
libdivecomputer.c Allow to compile Subsurface with upstream libdivecomputer 2015-07-07 21:41:22 -07:00
libdivecomputer.h Allow to compile Subsurface with upstream libdivecomputer 2015-07-07 21:41:22 -07:00
linux.c
liquivision.c Code cleanup 2015-07-06 13:59:14 -07:00
load-git.c Fix crash accessing freed memory 2015-07-07 15:48:27 -07:00
macos.c
main.cpp Add extra logs for custom serial Bluetooth implementation 2015-07-06 08:38:12 -07:00
membuffer.c
membuffer.h
ostctools.c OSTCTools - Add unsigned char variable 2015-07-06 13:15:29 -07:00
parse-xml.c More debug message cleanup 2015-07-02 11:22:22 -07:00
planner.c Planner: update disclamer 2015-07-08 06:52:02 -07:00
planner.h Add simple test for the dive planner 2015-07-05 09:42:38 -07:00
pref.h VPM-B: add deco choice to the ui. 2015-07-03 23:07:58 +02:00
printer.cpp Printing: retrieve number of dives per page from the template file 2015-07-05 21:01:53 +03:00
printer.h Printing: pass the template_options struct to TemplateLayout 2015-07-05 21:00:40 +03:00
profile.c Round MOD of gas rather than truncate 2015-07-05 15:53:49 -07:00
profile.h
qt-gui.cpp Add DiveListModel 2015-06-20 14:26:56 -07:00
qt-gui.h Separate initializing Qt from initializing the UI 2015-06-16 14:05:09 -07:00
qt-init.cpp Separate initializing Qt from initializing the UI 2015-06-16 14:05:09 -07:00
qthelper.cpp Cloud storage: correctly store pictures even if they weren't shown before 2015-06-22 06:45:48 -07:00
qthelper.h
qthelperfromc.h HTML export: need to work harder to find the pictures 2015-06-21 12:49:05 -07:00
qtserialbluetooth.cpp Build fix for older Qt5 2015-07-08 10:59:40 -07:00
README
Readme.testing
Readme.ubuntu
satellite.svg
save-git.c Rename enum values for taxonomy 2015-07-02 10:22:31 -07:00
save-html.c HTML export: need to work harder to find the pictures 2015-06-21 12:49:05 -07:00
save-html.h Move helper declarations into a better header file 2015-06-21 07:45:22 -07:00
save-xml.c Rename enum values for taxonomy 2015-07-02 10:22:31 -07:00
sha1.c
sha1.h
statistics.c
statistics.h
strndup.h
strtod.c
subsurface-icon.svg
subsurface.desktop
subsurface.qrc Removed unused icons 2015-07-06 12:49:52 -07:00
subsurfacestartup.c VPM-B: add deco choice to the ui. 2015-07-03 23:07:58 +02:00
subsurfacestartup.h
subsurfacesysinfo.cpp
subsurfacesysinfo.h
SupportedDivecomputers.html
SupportedDivecomputers.txt
taxonomy.c Rename enum values for taxonomy 2015-07-02 10:22:31 -07:00
taxonomy.h Rename enum values for taxonomy 2015-07-02 10:22:31 -07:00
templatelayout.cpp Printing: add functions that read/write a template 2015-07-05 21:02:40 +03:00
templatelayout.h Printing: move template_options to print_options.h 2015-07-05 21:03:04 +03:00
terms
time.c
TODO.CCR
uemis-downloader.c Uemis downloader: create the req.txt file if it went missing 2015-06-24 20:59:49 -07:00
uemis.c
uemis.h
units.h Simplify distance calculations 2015-06-13 21:08:11 -07:00
version.c
version.h
webservice.h
windows.c Windows support: correct helper function name 2015-06-18 23:37:22 -07:00
windowtitleupdate.cpp Re-fix silly typo 2015-06-17 05:27:18 -07:00
windowtitleupdate.h Code cleanup: implement window title update via signal 2015-06-16 06:04:34 -07:00
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.