aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-05-13Make silent make optionalGravatar Dirk Hohndel
Backport of Thiago's commit 612a6ee2f793 ("Make the "silent mode" compilation be optional only.") from the Qt branch. Requested-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-13Nuke debian patch disable-git-version.diff.Gravatar Cristian Ionescu-Idbohrn
Running: $ git describe in a code tree lacking dir .git (unpacked release tar-ball, for example) throws an error: fatal: Not a git repository ... and that's noise that can be avoided. Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12Improve the dialog after successful divelogs.de uploadGravatar Dirk Hohndel
This is still not really "normal person" readable. But at least somewhat better than what we had before. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12Ignore top-dir archives.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12Use `git archive' instead of `tar'.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12Ignore some files when archiving.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12A release includes a tar-ball.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12Improved documentation; small code adjustments.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12Match less; don't ignore case.Gravatar Cristian Ionescu-Idbohrn
Still, some false positives show up ('Veo 3.0' is one of them). Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12Whole text lines are easier to find.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12Escape dots in version string before grep-ing.Gravatar Cristian Ionescu-Idbohrn
Less false positives that way. Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12Color implies debug.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12Show all files that may need updating.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-12Correct parameter expansion expression.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-11Update Bulgarian, Dutch and Russian translationsGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-11Disable non-functional Cochran codeGravatar Dirk Hohndel
There's no point in compiling this into the binary. It does not work. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-11Require libzip, xslt and osm-gps-map in all buildsGravatar Henrik Brautaset Aronsen
Conditional inclusion of libzip, xslt and osm-gps-map just makes testing more cumbersome, since testers might lack Subsurface features without knowing. Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-11Try to add required dependencies to get https working on WindowsGravatar Dirk Hohndel
This clearly isn't enough. But I simply can't seem to get this to work... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-11Report error string for libsoup connection to divelogs.deGravatar Dirk Hohndel
Just reporting a default string that something went wrong is kind of pointless... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-11Update po files without translation changesGravatar Dirk Hohndel
This is just tracking the changes caused by the updated .pot file - the translations are unchanged. Adding this to git will make it easier to spot differences closer to the 3.1 release. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-11Update translation changesGravatar Dirk Hohndel
Danish, German, Spanish, Finnish, French, Norwegian, Polish, Slovak, and Swedish. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-11Show translated labels for upload and export menu itemsGravatar Miika Turkia
The strings were marked for translation on assignment to the variable, but then the variables were used untranslated. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-09Attempt to fix a crash on DM4 import on WindowsGravatar Miika Turkia
This should fix a crash on Windows when importing Suunto DM4 dive logs. (Timezones are not handled properly.) Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-09Make sure .xsl files are installedGravatar Henrik Brautaset Aronsen
xslt/commonTemplates.xsl was missing from the install targets Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-09A lame start for a `make release' helper.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-08Documentation: USB permissions and planner timesGravatar Robert C. Helling
Fix permissions on Ubuntu and relative instead of absolute default times in planner This contains two changes: One documents the fact that in the planner the default for time is relative and an absolute time needs an @ sign. The other hopefully explains how to solve permission problems for USB devices on Ubuntu: I am told, an USB dongle that pretends to be a serial port by default does not have the required permissions for the standard user to write. The transfer then fails with an 'obscure' error message. The transfer works if subsurface is run by root (which obviously is a bad idea) or with chmod. Unfortunately, at least Ubuntu 'fixes' permissions on reboot. So one either has to fiddle with this (seems to be more complicated) or add the user to the group 'dialout" which gets write permissions to serial lines. This is in theory. I don't have access to an Ubuntu installation to see if all this is indeed the case. That's why I did not send the patch in the past. But I think this is still better than what we have so far. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-08Add readme to transifex configGravatar Dirk Hohndel
Still not sure if / how to use this, but at least now it's configured. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-08Update translations from TransifexGravatar Dirk Hohndel
Slovak, Polish and Russian are now complete. Danish made nice progress and is slowly getting there. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-03planning: Add option to have last stop at 6m/20ftGravatar Anton Lundin
When diving in areas where there are risk of boats passing above you, its common practise to do the last stop at 6m to better stay out of harms way. When doing o2-deco, it doesn't matter for the deco time if you are doing all the time at 6m, due to that you don't have any inert gas in your breathing gas. This code is a reintroduction of 0b8462bd lost somehow between a70a8898..8fae0031 Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-02Updates to Croatian, Danish, Spanish, French and Finnish translationGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-02Separate pushing a new pot file to Transifex from pulling translationsGravatar Dirk Hohndel
This avoids all the unnecessary updates to the POT date. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-02Updating user documentation to reflect current versionGravatar Miika Turkia
Most of the new stuff from UI perspective should now be documented. Bumped also the doc version number optimistically. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-02Do not display error message on cancelGravatar Miika Turkia
Do not display error message when user cancels upload to divelogs.de. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-04-30Updates to Swedish and Norwegian translationsGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-04-30Updated Croatian translationGravatar Ivan Habunek
Signed-off-by: Ivan Habunek <ivan.habunek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-04-30Big translation updateGravatar Dirk Hohndel
This enables all languages for the moment - let's see if we can get them all ready for the 3.1 release. It also fixes the use of \% instead of %% in one of the strings. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-04-27Display divelogs.de upload status to the userGravatar Miika Turkia
This shows a dialog indicating the success or failure of divelogs.de upload. Currently the raw XML returned from the SOAP request is also displayed. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-04-27Use SSL on divelogs.de uploadGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-04-22A hook for DM4 XML importGravatar Miika Turkia
This will take the DM4 XSLT into use. In the future it is quite likely that we will have to start using something more specific on top of the root element name to identify dive log formats. But as "Dive" is currently a unique root element name for us, this suffices for now. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-04-22XSLT for importing individual DM4 divesGravatar Miika Turkia
This XSLT can be used when exporting single dives from DM4 and importing them to Subsurface. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-04-22Retain event sort order on restartGravatar Miika Turkia
The events that had same time stamp were reversed in order on every new load of the log file. This patch will keep the order static. (Changing order is annoying when using version control to store the logs.) Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-04-21Simplistic filtering by tagsGravatar Dirk Hohndel
This only allows for a logical "AND" - so only dives that all of the selected tags are displayed. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-04-21Add Gtk dialog to select the dives tags for which dives are shownGravatar Dirk Hohndel
This literally just creates the dialog and does not hook things up with the dive list. The idea is to abstract out the idea behind the invalid dives to allow the user to select / deselect all kinds of dives and then do statistics on the selected ones. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-04-21Move creation of dive and dive trip date string into helper functionsGravatar Dirk Hohndel
This allows this code to easily be shared by Gtk and Qt UI. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-04-15Separate Gtk related code from core logic: statisticsGravatar Dirk Hohndel
Fairly straight forward, so far just one tiny bit of code restructuring, everything else separated cleanly. Added statistics-gtk.c and statistics.h This should make no difference to functionality. Cherry-picked from Qt branch; fixed merge issues mostly caused by dive_tags and Makefile changes. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-04-15Separate Gtk related code from core logic: infoGravatar Dirk Hohndel
Surprisingly straight forward, just a couple of places where we really mix significant logic with UI code (for example setting the window title). I had to move amount_selected from display-gtk.h to display.h - I guess the number of dives that are selected is UI independent. But I wonder if we still will track this as a global variable in a Qt UI (since the Gtk selection logic is the main reason this existed in the first place). Added a new info.h files for the necessary declarations. This should make no difference to functionality. Cherry-picked from Qt branch; fixed merge issues mostly caused by dive_tags and Makefile changes. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-04-15Remove second dive_trip_list definition and douplicate helper functionGravatar Dirk Hohndel
dive_trip_list is simply a global variable, declared in dive.h. The clear_trip_indexes() helper is purely logic and was moved to divetrip.c - but then not deleted in divetrip-gtk.c Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-04-10Fix selection handling for invalid divesGravatar Dirk Hohndel
This is the downside of having to track our own selection state. We now have a class of dives that potentially isn't known to Gtk as we aren't adding them to the TreeView. So we need to make sure that their selection state is consistent by deselecting them (either when they are marked as invalid OR when we change preferences to no longer show invalid dives). And because Gtk sends out another set of selection events when clearing the TreeView (not sure why), we also need to make sure that their selection state isn't reset to selected by mistake when the divelist is recreated. A bit of a pain, but it seems to work now and be consistent. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-04-10Add four more tagsGravatar Dirk Hohndel
Student (training), Instructor (teaching), Photo and Video Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-04-10Only show tags checkboxes if all edited dives have same tagsGravatar Dirk Hohndel
This is trivially true if there is only one dive. With this change the logic which tags apply after editing is much easier to understand. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>