This is the official upstream of the Subsurface divelog program
Find a file
Dirk Hohndel d567859e87 Show error messages during start up as soon as the main window is shown
When the user has setup cloud storage as their default file but didn't
store the cloud storage password an error is created but not shown until
another error happens - that's very confusing for the user.

This patch fixes that.

Fixes #938

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-10-06 00:01:30 +01:00
.tx
android Open subsurface on attaching divecomputer 2015-08-20 23:01:15 -07:00
android-mobile Use a different package for the mobile app 2015-07-16 18:41:06 -07: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 Adjust expected output for TestParse 2015-10-04 13:53:29 +01:00
Documentation Update spanish translation of user manual to english b74809b 2015-10-04 19:03:44 +01:00
icons Add icon for georeference in preferences 2015-09-23 21:58:23 -07:00
marbledata Add 1x1 transparent png to replace missing marble data 2015-07-09 16:38:36 -07:00
packaging MXE build script: more cleanups 2015-09-23 12:25:14 -07:00
printing_templates Printing: support in-place editing for templates 2015-09-16 21:17:22 -07:00
qt-mobile QML UI: Show log correctly 2015-08-31 15:49:09 -07:00
qt-models Make logical block match indentation 2015-10-03 09:47:37 -04:00
qt-ui Show error messages during start up as soon as the main window is shown 2015-10-06 00:01:30 +01:00
ReleaseNotes Update README and ReleaseNotes for Beta 3 2015-10-04 12:34:17 +01:00
scripts Build script: make sure we find the cmake files for our libraries 2015-09-06 07:53:18 -07:00
tests Add test for import, merge and renumbering 2015-10-05 16:35:09 +01:00
theme HTML Export: Ignore case when searching for tags 2015-10-04 16:29:32 +01:00
translations Don't use the numerus version of tr() 2015-10-05 16:35:09 +01:00
xslt CSV import: use the delta value instead of 1 sec 2015-10-01 07:54:51 -04:00
.clang-format Small tweaks to our whitespace handling 2014-05-22 11:20:04 -07:00
.gitattributes
.gitignore Complement the CMakesList.txt with the latest file inclusions. 2014-08-23 08:07:15 -07:00
android.cpp Wire up get_usb_fd to libusb_set_android_open_callback 2015-08-20 22:56:27 -07:00
checkcloudconnection.cpp Avoid potentially uninitialized member 2015-10-02 15:25:03 -04:00
checkcloudconnection.h Windows XP doesn't contain a valid CA for our cloud certificate 2015-09-23 12:11:20 -07:00
CMakeLists.txt Cmake: ensure marbledata is actually copied into the build directory 2015-10-06 00:01:30 +01:00
cochran.c Add explicit casts to silence compiler warnings 2015-05-28 08:16:37 -07:00
cochran.h Eliminate packed struct for Cochran 2014-10-29 09:05:15 -07:00
CodingStyle CodingStype: add explanation how to install the QtCreator settings 2015-09-07 07:58:35 -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 Connect up custom serial in dc configuration 2015-09-12 14:02:32 -07:00
configuredivecomputer.h Lift dis- and connect out from config operations 2015-09-12 14:02:12 -07:00
configuredivecomputerthreads.cpp Avoid possible uninitialized memory read 2015-10-01 21:11:43 -04:00
configuredivecomputerthreads.h Remove the lastError from DeviceThreads 2015-05-27 15:37:37 -07:00
datatrak.c Avoid ignoring file read errors 2015-10-03 10:02:55 -04:00
datatrak.h Avoid ignoring file read errors 2015-10-03 10:02:55 -04:00
deco.c VPM-B: Adjust Subsurface conservatism 2015-10-04 13:45:37 +01:00
deco.h Tissue saturation plot a la Sherwater Pretel 2014-09-19 21:46:30 -07:00
descriptor3.tsv
device.c
device.h When saving only selected dives, only include referenced dive computers 2015-06-10 09:29:04 -07:00
devicedetails.cpp Enable the configuration of more OSTC3 settings 2015-09-02 15:26:20 -07:00
devicedetails.h Enable the configuration of more OSTC3 settings 2015-09-02 15:26:20 -07:00
display.h Save Bluetooth download mode settings 2015-09-07 07:29:15 -07:00
dive.c Reset some more values in split_dive_at() 2015-10-06 00:01:29 +01:00
dive.h Add support to "split" a dive with surface time in the middle 2015-10-01 22:29:43 -04:00
divecomputer.cpp Fix divecomputer nickname handling 2015-09-18 14:01:05 -07:00
divecomputer.h Fix divecomputer nickname handling 2015-09-18 14:01:05 -07:00
divelist.c Mark divelist as changed even if imported dives got merged 2015-10-06 00:01:09 +01:00
divelist.h Make add_single_dive() grow the divelist allocation if necessary 2015-10-01 22:28:04 -04: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 Make sure we don't create multiple dive sites with the same uuid 2015-09-29 12:58:16 -04:00
divesite.h Make sure we don't create multiple dive sites with the same uuid 2015-09-29 12:58:16 -04:00
divesitehelpers.cpp Remove unneeded includes 2015-08-31 15:12:18 -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 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
export-html.cpp HTML standalone exporter: use Subsurface dive numbers 2015-06-18 12:23:30 -07:00
file.c Print paths to internal files in verbose mode 2015-10-04 16:29:31 +01:00
file.h Test case: reading zip and DLD parsing 2015-09-13 15:27:54 -07:00
gaspressures.c Prevent theoretical out of bounds access 2015-06-21 21:17:42 -07:00
gaspressures.h Some gas handling improvements 2014-11-16 20:50:16 +00:00
gettext.h
gettextfromc.cpp Make the cache cache things 2015-01-29 13:37:11 -08:00
gettextfromc.h
git-access.c Return the correct paths when is_git_repository() is called as dry_run 2015-10-06 00:01:29 +01:00
git-access.h Print paths to internal files in verbose mode 2015-10-04 16:29:31 +01:00
gpl-2.0.txt
helpers.h Save Bluetooth download mode settings 2015-09-07 07:29:15 -07:00
INSTALL Updates to the INSTALL file 2015-09-02 18:33:39 -07:00
libdivecomputer.c libdivecomputer.c: fix warnings about unused variables 2015-09-23 09:14:40 -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 sure we don't create multiple dive sites with the same uuid 2015-09-29 12:58:16 -04:00
macos.c Add subsurface_access() 2014-11-13 11:58:59 -08:00
main.cpp Show error messages during start up as soon as the main window is shown 2015-10-06 00:01:30 +01: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 Whitespace cleanup 2015-09-09 17:26:54 -07:00
parse-xml.c Correct sign on Divesoft Freedom timestamps 2015-10-04 16:29:35 +01:00
planner.c Revert "VPM-B restore deco state before calculating next gradient" 2015-10-04 13:45:32 +01: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 Fix plot entry creation 2015-09-20 15:10:31 -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 QML UI: implement a message area to show information to the user 2015-07-12 17:39:13 -07:00
qt-init.cpp Separate initializing Qt from initializing the UI 2015-06-16 14:05:09 -07:00
qthelper.cpp Remove unused part of the geocoding preferences 2015-10-06 00:01:30 +01:00
qthelper.h Hash images upon loading divelog file rather than when loading image 2015-09-17 08:56:25 -07:00
qthelperfromc.h Print paths to internal files in verbose mode 2015-10-04 16:29:31 +01:00
qtserialbluetooth.cpp qtserialbluetooth: use QIODevice::Unbuffered io 2015-09-29 17:46:19 -04:00
README Update README and ReleaseNotes for Beta 3 2015-10-04 12:34:17 +01:00
Readme.testing
Readme.ubuntu Update Readme.ubuntu 2015-01-15 19:48:11 -08:00
satellite.svg
save-git.c Don't save unused, auto-create dive sites 2015-09-28 22:30:20 -04: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 Print paths to internal files in verbose mode 2015-10-04 16:29:31 +01:00
serial_ftdi.c Fix memory leaks in serial ftdi 2015-09-09 21:33: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 Make gas use statistics be coherent and more complete 2014-08-06 09:14:34 -07:00
strndup.h Add strndup.h header so we can use this useful function 2015-05-31 23:14:56 -07:00
strtod.c
subsurface-icon.svg
subsurface-mobile-icon.svg Add different icon for mobile app 2015-07-09 16:37:43 -07:00
subsurface.desktop Add a trailing ';' to the Keywords in the subsurface.desktop file 2014-12-22 15:55:04 -08:00
subsurface.qrc Add icon for georeference in preferences 2015-09-23 21:58:23 -07:00
subsurfacestartup.c Remove unused part of the geocoding preferences 2015-10-06 00:01:30 +01:00
subsurfacestartup.h Print paths to internal files in verbose mode 2015-10-04 16:29:31 +01:00
subsurfacesysinfo.cpp Get ready for OS X 10.11 El Capitan 2015-09-10 13:18:43 -07:00
subsurfacesysinfo.h Remove support for Qt4 (part 2) 2015-05-24 09:37:23 -07: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
taxonomy.c Geo taxonomy: correctly store / update the categories 2015-07-13 15:21:30 -07:00
taxonomy.h Geo taxonomy: correctly store / update the categories 2015-07-13 15:21:30 -07:00
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 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 Avoid possible NULL pointer dereference 2015-10-01 22:02:01 -04:00
uemis.c Uemis downloader: don't try to download divespots that weren't set 2015-09-18 13:16:57 -07:00
uemis.h Uemis downloader: start downloading using the correct dive ID 2015-09-19 21:30:33 -07:00
units.h Location completer: give distance if known 2015-07-14 11:52:17 -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
windows.c Cloud storage: try to work around weird Windows rename issue 2015-09-26 12:35:21 -04: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 Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
worldmap-save.c Fix error on HTML worldmap exports. 2015-02-15 05:56:50 -08:00
worldmap-save.h Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
wreck.jpg

This is the README file for Subsurface 4.5 Beta 3

Please check the ReleaseNotes.txt for details about new features and
changes since Subsurface 4.5 Beta 2, 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.