aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-06-30Fixing typos and syntax from User ManualGravatar Miika Turkia
There was emphasising and bolding instructions in wrong order when combined. At least on my system this must be started with *+ and ended with +*. (There was also two cases when the ending was in same order as starting also spoiling the XML syntax.) These prevented XML validation thus terminating the compilation of the final documentation. I fixed also a bunch of typos while at it. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-06-29Preparing for 3.1.1 and doc updatesGravatar Dirk Hohndel
This updates the versions to 3.1.1, does some minor doc cleanup for consistency and adds the suggestion to submit the output of subsurface --version in bug reports and the udev rules to blacklist dive computers in Modem Manager (as suggested by Bearsch). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-06-29Update Italian translationGravatar Filippo Moser
(from Transifex so only with my SOB... I'm trying to figure out how to give the translators correct 'git commit' credits :-) ) Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-06-29Add troubleshooting instructions to user manualGravatar Miika Turkia
Let's cover at least the most common problem (modem manager interfering) and also have instructions of how to dump debug log from the transfer. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-06-21Turn off https for Mac as wellGravatar Dirk Hohndel
While this works fine in the install directory I cannot seem to bundle things in a way that the Subsurface.app is able to https. Giving up and falling back to http for Mac as well. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-06-21Translation updatesGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-06-21Visibility scaling for UDDF importGravatar Miika Turkia
Visibility is defined in meters in UDDF and we use scale up to 5 stars. Thus the meters are scaled to our star rating using one-size-fits all method. < 1m => 1 star <= 3m => 2 star <= 5m => 3 star <= 10m => 4 star > 10m => 5 star Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-06-21Include more information on Aquadivelog importGravatar Miika Turkia
This adds information on cylinders and gas changes and some other basic stuff like buddy, dive site, weights. Visibility should probably be ignored as UDDF specifies it as meters and we have a scale of 0-5. But currently it is copied as is to the visibility field in Subsurface. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-06-21Support for aquadivelog UDDF importGravatar Miika Turkia
This implements limited support for importing dives from a Palm divelog software called aquadivelog. Basic depth graph is imported but most of the metadata is currently discarded. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-06-21Fix a mistake naming for the da_dk alias localisationGravatar Henrik Brautaset Aronsen
The country code is da, not dk. Suggested-by: Sylvestre Ledru <sylvestre@debian.org> Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-06-21Add --help command line optionGravatar Henrik Brautaset Aronsen
Added a simple usage text on the command line. Also added a --verbose alias for completeness. Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-06-21Add --version to command line optionsGravatar Henrik Brautaset Aronsen
Displays Subsurface and libdivecomputer versions. Suggested-by: Jef Driesen <jefdriesen@telenet.be> Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-06-05Merge dive tags when merging divesGravatar Linus Torvalds
.. otherwise the dive tags generally end up cleared when you download a duplicate dive from another dive computer. This uses MERGE_NONZERO, which means that if one of the dives has tags set, we'll prefer those tags. If both dives have tags set, we take the tags from the first ("preferred") dive. We could do a "just or all the bits together" too. But this way we at least take a set of tags that are consistent (ie we don't get both "boat" and "shore" set unless one of the original dives already had that inconsistency) Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-20Detect libdivecomputer using pkg-config if possibleGravatar Miika Turkia
If libdivecomputer is managed by pkg-config, we should query it for the compiler parameters on Linux also. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-17Updates to the lists of supported dive computersGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-17Documentation: improve instructions for upload to divelogs.dev3.1Gravatar Dirk Hohndel
Suggested-by: Peter Konings <peter.l.e.konings@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-17Fix yet another selection issueGravatar Dirk Hohndel
If we manually deselect dives without changing Gtk's notion of what is selected and then want to simply recreate the dive list, Gtk re-selects the unselected dives in the process of clearing out the dive list. How very strange. Also, after making changes to the selection we need to make sure that we update the stats. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-17Fix "Select tags" dialog behaviorGravatar Sergey Starosek
* Apply filter only when OK button pressed * Restore tags selection from dive mask when Cancel button pressed * Fix selection logic when selected or all dives are filtered out (hide profile, tooltips, etc.) Not sure whether call to repaint_dive() is required. Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-17Do not add unnecessary / at end of location on divelogs importGravatar Miika Turkia
The check if both location and site exist was flawed causing an extra slash on location name when the SITE was empty. Thus resulting in multiple location candidates when exporting to divelogs.de and re-importing to Subsurface. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-16Documentation: update divelogs.de export explanationGravatar Dirk Hohndel
Thanks to commit 347019272a57 ("Hide user password in Upload to divelogs.de dialog") we no longer show the password on screen. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-16Initialize / reset selected_dive to -1Gravatar Dirk Hohndel
The value of 0 that we used is actually a valid value and could cause confusion. Suggested-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-16Hide user password in Upload to divelogs.de dialogGravatar Sergey Starosek
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-16"Enter" button activates default OK response.Gravatar Sergey Starosek
Implemented for the following dialogs: Preferences, Select Tags, Select Events, Renumber, Upload to divelogs.de Not shure whether this is appropriare for Print and Planner dialogs. Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15Documentation: more tweaks/additions to "Viewing and Completing Your Logs"Gravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15Add missing widget title for manual dive entry / editGravatar Dirk Hohndel
Buffer was used uninitialized instead. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15Avoid reading an uninitialized variable when adding new cylindersGravatar Dirk Hohndel
If mbar = 0 then *p would not be set, but the variable was then used in the calling function. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15Documentation: describe trips in the dive listGravatar Dirk Hohndel
Both autogroup and manual creation of trips is explained. Once the user looks at manual creation, the other trip manipulation options should be fairly self-explanatory. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15Documentation: multiple small corrections and improvementsGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-16Adjust test dives to comply with the current trip syntaxGravatar Dirk Hohndel
Otherwise the tests fail - we no longer support the old format. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15Documentation: add explanation on editing events in the dive profileGravatar Dirk Hohndel
Context menu to remove events or add bookmarks or gas change events. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15Update Swiss-German and Dutch translationsGravatar Dirk Hohndel
Swiss German is now fully translated. The Dutch translation had one message string containing a few "\\n" symbols - those happen when translators explicitly enter "\n" in the Transifex web interface (instead of just hitting return). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15Windows installer: append the package version to registryGravatar Lubomir I. Ivanov
On installation, set the "DisplayVersion" registry value to ${SUBSURFACE_VERSION}, so that a version is displayed when browsing the list of installed programs. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15Disable OK button in download dialog when downloadingGravatar Henrik Brautaset Aronsen
The button was active while downloading, and that was confusing. Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15Addition / change to the user manualGravatar Thomas Maisl
- give an introduction to the dive list and explain some behaviour of dive list to new users - a small clarification regarding the used Buhlmann-algorithm Signed-off-by: Thomas Maisl <exp-122004@maisl.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15Edit depth/duration dialog incorrectly always used metricGravatar Dirk Hohndel
The label changed, but when the value was pre-set, it was always set as metric (but then "correctly" interpreted as ft when reading it back - i.e. it was incorrectly devided by 3.3). Reported-by: Thomas Maisl <tom@maisl.net> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15Update for Russian and Bulgarian translationsGravatar Dirk Hohndel
Translations of the "deco" tag. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15Fix DM4 dive timeGravatar Miika Turkia
DM4 stores the divetime in local time. The conversion from seconds since year 1 was 2 hours off. (So there is no timezones involved, which is good for us!) Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15Documentation: update reference to 6m stop in dive plannerGravatar Dirk Hohndel
Thanks to Miika we have an updated screenshot Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15New dive planning screenshot with 6m stop in itGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14Add translations for 'deco' tagGravatar Dirk Hohndel
These were done by me through the advanced linguistic process known as "pattern matching". I doubt that this is right in all the languages... For some reason two new Swiss-German translations snuck in as well. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14Add tag for deco divesGravatar Dirk Hohndel
Fixes #85 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14Suunto DM4 import should fill the divecomputer fieldsGravatar Dirk Hohndel
Writing to the dive fields for maxdepth, surface pressure, airtemp and watertemp is not correct. In the case of duration the longer time should go into the dive, the shorter time into the divecomputer. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14When editing a manually entered dive, make sure divelist is updatedGravatar Dirk Hohndel
Editing a manually entered dive allows the user to edit duration, max depth and mean depth. These values are stored in the first (and only) divecomputer and the duration, maxdepth and meandepth fields of the dive are populated in fixup_dive() after the dive was initially parsed. In order for this to work we need to clear out the existing fields (so that values can get smaller) and rerun fixup_dive(). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14Consistently end the list of map providers with Yahoo streetmapsGravatar Dirk Hohndel
The other map providers don't appear to work at all, regardless from where I connect to the network. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14Update the German translationGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14Documentation: update regarding dive computer device drop down listGravatar Dirk Hohndel
This reflects the change made in commit bf34940bc5e4 ("Conditionally enable the device combo box."). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14Conditionally enable the device combo box.Gravatar Jef Driesen
The device combo box is only necessary for the Uemis Zurich, and dive computers using serial communication. For dive computers using IrDA or USB communication, this combo box causes only confusion for the users. Starting with libdivecomputer version 0.4, there is an api to query the transport type, which can be used to enable/disable the device combo box based on the selected model. Signed-off-by: Jef Driesen <jefdriesen@telenet.be> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14Windows installer: add an "Add/Remove Programs" entryGravatar Lubomir I. Ivanov
The NSIS script on installation will write a key to the registry that will be shown to the user as a "Subsurface" entry (with icon) in the list of installed programs that can be uninstalled (e.g. in the Control Panel). On uninstall, said registry key will be removed. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14Disable https connection for cross builds using mingw32Gravatar Dirk Hohndel
Not my preferred solution, but better than disabling divelogs.de uploads for people using the Windows binary. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14Arrange tags in a table for dive edit dialogGravatar Dirk Hohndel
This makes things look nicer and also reduces vertical size of the edit dialog - which should now fit on a 600px display again. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>