This is the official upstream of the Subsurface divelog program
Find a file
Tomaz Canabrava 627de38c01 Get the location information in a separate thread
This makes Subsurface usable faster for those without a good internet
connection when they are opening an older data file.

While parsing, we are only feeding an vector of locations, after the
parsing is done, we traverse the vector searching for the information on
the web.

I need to also add a way to stop if there`s no internet connection - but
this will be another patch.

Also, fixed two small memory leaks from the old imp.

[Dirk Hohndel: cleaned up the whitespace mess]

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-05-10 11:14:20 -07: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
cmake/Modules cmake: allow looking for optional libraries 2015-04-10 12:08:26 -07:00
dives Adapt CSV test to include suit 2015-04-24 07:07:31 -07:00
Documentation User manual update 2015-05-02 11:26:39 -07:00
icons Add better icons for the filter dialog 2014-12-31 23:53:28 -08:00
marbledata FindMarble moved to cmake/Modules 2015-04-07 16:06:54 -07:00
packaging Debian/Ubuntu packaging files: give correct credit in copyright notice 2015-04-28 10:45:03 -07:00
qt-ui Get the location information in a separate thread 2015-05-10 11:14:20 -07:00
ReleaseNotes First stab at tracking the changes in the release notes 2015-04-24 10:56:59 -07:00
scripts Set the shared library file extenstion for the specific platform. 2015-04-27 06:10:31 -07:00
tests Adapt CSV test to include suit 2015-04-24 07:07:31 -07:00
theme HTML: don't collapse the dive if hyperlink is clicked 2015-03-25 02:34:29 -07:00
translations Move the translations to it's own subfolder 2015-04-09 11:57:30 -07:00
xslt Ignore the gas_change alarm on MacDive import 2015-05-07 11:17:17 -07: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 cmake: enable Facebook support 2015-05-01 19:17:22 -07:00
cochran.c Fix memory leaks on Cochran file 2015-03-24 09:46:26 -07:00
cochran.h Eliminate packed struct for Cochran 2014-10-29 09:05:15 -07:00
CodingStyle CodingStyle: add an extra line for the braces explaination 2015-03-23 08:40:32 -07: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
datatrak.c Remove some white spaces 2015-03-24 09:45:39 -07:00
datatrak.h datatrak: some codings style fixes and fopen() usage 2015-03-11 07:38:22 -07: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 Tag list handling: add two new helpers 2015-05-02 12:16:03 -07:00
dive.h Tag list handling: add two new helpers 2015-05-02 12:16:03 -07: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 divesite.c: use rand() instead of random() 2015-02-14 07:53:13 -08:00
divesite.h Add helper function to detect empty dive sites 2015-02-13 22:53:03 -08:00
divesitehelpers.cpp Get the location information in a separate thread 2015-05-10 11:14:20 -07:00
divesitehelpers.h Get the location information in a separate thread 2015-05-10 11:14:20 -07: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 Add suit field for CSV import 2015-04-24 06:50:50 -07:00
file.h OSTCTools-Add support to import .dive files 2015-04-04 10:33:49 -07: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
git-access.c Fix Ubuntu compilation error. 2015-02-24 11:41:11 +01:00
gpl-2.0.txt
helpers.h Move helper functions around 2015-02-23 09:31:08 -08:00
INSTALL Update the INSTALL file to reflect the switch to cmake 2015-04-09 15:50:11 -07:00
libdivecomputer.c Add a default case for switch over dc_family_t 2015-04-29 14:53:03 -07:00
libdivecomputer.h libdivecomputer.c: Add support for raw data buffer parse using libdc 2015-04-04 10:31:43 -07:00
linux.c Add subsurface_access() 2014-11-13 11:58:59 -08:00
liquivision.c Ignore buddy pressures in Liquivision import 2015-03-08 12:55:37 -07:00
load-git.c load-git::walk_tree_file - missing break in switch 2015-03-23 05:36:13 -07: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 membuffer: add helper functions to return regular C strings 2015-02-15 06:02:24 -08:00
membuffer.h membuffer: add helper functions to return regular C strings 2015-02-15 06:02:24 -08:00
ostctools.c ostctools - resource leaks 2015-04-22 13:59:50 -07:00
parse-xml.c Get the location information in a separate thread 2015-05-10 11:14:20 -07:00
planner.c Only warn when trying to replan a logged dive 2015-05-08 10:02:45 -07:00
planner.h Introduce recreational planner mode 2015-04-02 09:45:50 -07:00
pref.h Recmode: Allow the user to specify gas reserve. 2015-04-09 14:36:17 -07:00
profile.c Event name should be a const char * 2015-03-11 11:15:03 -07:00
profile.h Correcly look at all relevant dive computer structures 2015-01-24 07:07:02 +12:00
qt-gui.cpp qt-gui.cpp: fix imcomplete type error 2015-02-26 11:30:04 +01:00
qt-gui.h Main: separate the QApplication and UI creation 2014-03-19 09:37:49 -07:00
qthelper.cpp Allow images to be added via the web 2015-04-24 09:36:21 -07:00
qthelper.h Load remote images 2015-03-16 12:42:36 -07:00
README Get ready for Subsurface 4.4.1 2015-02-17 13:55:27 -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 Add hashes to images 2015-02-27 06:29:44 +01:00
save-html.c Make exporting photos with HTML optional 2015-03-14 18:18:08 -07:00
save-html.h HTML: Save data with user selected units 2014-10-20 18:04:51 -07:00
save-xml.c Rename helper function and make it global 2015-04-28 11:27:36 -07: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 Better testing if the first gas is explicit 2015-03-11 12:31:00 -07: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 More flexibility when linking statically against libgit2 2015-02-22 08:11:16 -08:00
subsurface-gen-version.pri PRI: include some variables in the version generation 2015-02-15 14:06:48 -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.desktop Add a trailing ';' to the Keywords in the subsurface.desktop file 2014-12-22 15:55:04 -08:00
subsurface.pro Add urldialog.ui to qmake ui list 2015-04-29 14:54:51 -07:00
subsurface.qrc Hook up DiveLog import 2015-02-17 14:07:01 -08:00
subsurfacestartup.c Recmode: Allow the user to specify gas reserve. 2015-04-09 14:36:17 -07:00
subsurfacestartup.h Free strduped prefs before exit 2014-12-18 07:20:10 -08:00
subsurfacesysinfo.cpp Fix build on older Macs 2015-04-04 13:10:23 -07:00
subsurfacesysinfo.h Fix Subsurface build with Qt 5.4.1 and later 2015-02-15 06:00:52 -08: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 Uemis downloader: adjust the threshold for stopping downloads 2015-04-21 21:18:43 -07:00
uemis.c Uemis downloader: don't use bogus sensor data from Uemis 2015-04-21 23:31:03 -07:00
uemis.h Uemis downloader: allow continuing download by clicking Retry 2015-04-20 23:28:04 -07:00
units.h Fix picture loading 2014-07-08 12:29:06 -07:00
version.c add and use a version.c / version.h pair 2015-02-15 13:26:51 -08:00
version.h add and use a version.c / version.h pair 2015-02-15 13:26:51 -08: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 Fix error on HTML worldmap exports. 2015-02-17 08:52:29 -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.1

Please check the ReleaseNotes.txt for details about new features and
changes since Subsurface 4.4 (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.1  (or whatever the last release is)

or download a tar ball from:

http://subsurface-divelog.org/downloads/Subsurface-4.4.1.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.