summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-02-01Count the UDDF samples in different namespacesGravatar Miika Turkia
Since UDDF import uses different namespaces, we need to count the temperature samples in all of them to get temperature readings from waypoints. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-02-01Get ready for Beta 3Gravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-02-01Fix crash if one selects incorrectly Seabear CSVGravatar Miika Turkia
Fixes #814 Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-31Update ceiling when changing dive modeGravatar Robert C. Helling
Without this patch, the user effectively cannot change the dive mode as any change is overwritten by replot copying current_dive over displayed_dive. The way out is not to call replot but only update the deco ceiling directly. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-31Don't call replot when exiting cylinder combo boxGravatar Robert C. Helling
Commit b72c32da7 turned off replotting while the cylinder combo box was active to speed up editing. After leaving the combo box, replotting was enabled again and a replot was called. This replot is too agressive, as it overwrites the displayed dive with the current dive and thereby resets the cyinder change. This eliminates the replot call. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-31Once again update the Qt4 patch for Ubuntu 12.04 buildGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-31Don't store the Facebook credentials between multiple runs of SubsurfaceGravatar Dirk Hohndel
They stay valid while Subsurface is running, but once you quit, the credentials are gone. This way no one can steal them from our settings. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-31Correctly quote a double quote in the messageGravatar Dirk Hohndel
Otherwise the message on Facebook will end at the first double quote. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-31Hide tooltip when posting a profile to FacebookGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-31User manual: Updates for iphone app for subsurface GPS sereviceGravatar willem ferguson
I did some editing of the image to increase contrast and make the text in the screen shots more readable. In the process I also reduced the size of the image substantially. I have also edited the text somewhat. Signed-off-by: willem ferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-31Export the XSLT based exports in a new thread.Gravatar Gehad elrobey
The XSLT based exports can consume long time while applying the xml format. This time can make the GUI unresponsive. Simply call the export functions in a new Thread. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-31Fix maximum depth on CSV importGravatar Miika Turkia
Commit d329420d5549e02e32ff4673513329f9dc30650f changed the name of the header from "Max depth" to "Max. depth", so we need to use that in the code as well. (The dive profile is not drawn if we do not have max depth.) Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-31Should use the common GetFieldByIndex on importGravatar Miika Turkia
Should have removed the getFieldByIndex template from these files when it was moved to commonTemplates. Otherwise these imports wont work. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-31DiveMeanDepthItem: fix bad translated depth unitsGravatar Lubomir I. Ivanov
probably just a typo; taking the value of a (char *) will return the first char (or byte). Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-30Latest strings and translationsGravatar Dirk Hohndel
This adds three new strings from the last few commits. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-30Include iPhone companion app to user surveyGravatar Miika Turkia
We should mention the iPhone companion app either alongside the Android app or at its own line if more precise information is wanted. I suppose this text change should be enough as we should get more precise statistics of usage of these apps from the server logs. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-30Try to make the Facebook interaction be more pleasantGravatar Dirk Hohndel
Show either the login screen or the disconnect button, plus some text that explains what the user is expected to do. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-30Use the 'popup' style Facebook login windowGravatar Dirk Hohndel
This fits much better in the preferences dialog. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-30Compile Facebook support when building with Qt5Gravatar Dirk Hohndel
Now that Facebook approved our use of the API, we can build this by default. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-30Minor whitespace change - this line was getting longGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-30Fix update message popping up when there is no new versionGravatar Dirk Hohndel
I was just missing one key phrase to check for. Oops. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-30User-manual: Dive planner textGravatar willem ferguson
I took Robert's contribution describing the dive planner and expanded it a bit, added two more graphics to show CCR and pSCR dive planning, and changed a third image. Moved the section dealing with configuring a dive computer to be in a more logical place, just before the Subsurface Settings. Signed-off-by: willem ferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-30User-manual: Unresolved referencesGravatar willem ferguson
Fix four unresolved references in the user-manual Signed-off-by: willem ferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-30Don't go to edit mode if the dive notes field didn't change.Gravatar Gehad elrobey
The maintab view should be consistent; some fields just go to edit mode whenever they acquire focus and most of them wait till their values are changed. Change the dive notes field to be consistent with the other fields and only enter edit mode if its value is changed. [Dirk Hohndel: changed to use same_string()] Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-30Merge pictures when downloading additional DCGravatar Miika Turkia
Fixes #822 Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-30Document iPhone companion appGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-30Latest translationsGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-30User manual: lets try to be consistent with import/export headersGravatar Krzysztof Arentowicz
changing Appendix B/C headers to follow the same wording. also changed appendix title as using the same word twice in the same line just doesn't look right to me. Signed-off-by: Krzysztof Arentowicz <k.arentowicz@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-30User manual additions for rebreather modesGravatar Robert C. Helling
...in particular for planning rebreather dives. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-30Prevent crash on shutdownGravatar Anton Lundin
We always call reply->deleteLater(), so we where actually calling delete on a stale pointer, that caused subsurface to crash on shutdown. Reported-by: Sergey Starosek <sergey-starosek@yandex.ru> Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-29Make sure the index is validGravatar Dirk Hohndel
There are reports that the replace calls can cause the application to crash. This doesn't seem to make sense, looking at the code - this change shouldn't make any difference. But it makes it even more clear that there shouldn't be any possible scenario in which we call replace with an index that's out of range. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-29Don't reimplement the clear() methodGravatar Dirk Hohndel
Much easier and clearer. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-29Prevent potential access to uninitialized variableGravatar Dirk Hohndel
If we have a dive with no data (e.g. from a failed import), we might never assign a value otherwise. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-29Make the cache cache thingsGravatar Dirk Hohndel
That fancy cache is kinda pointless if we never fill it...
2015-01-29Export cylinder information to divelogs.de also if pressure droppedGravatar Miika Turkia
This will export the cylinder information to divelogs.de also if there is a pressure drop of at least 5 bars. (Previously only a gas switch to the gas triggered the export of that particular cylinder.) Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-29Cylinders which have lesser pressure in the end are usedGravatar Robert C. Helling
Make cylinders that have at least 5bar less pressure in the end than in the beginning considered "used". Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-29Documentation: update french translationGravatar Guillaume GARDET
Update french translation of user-manual and POT file. Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-29Latest strings and translationsGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-29User-manual: Update figures for section on dive plannerGravatar willem ferguson
Update the two existing images for the section dealing with the dive planner. This is to make things a little easier for Robert who will be generating some text for this part of the manual. Signed-off-by: willem ferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-29User-manual: replace imagesGravatar willem ferguson
Seven images disappeared from the /images directory. This replaces them. Four more images are converted to fedora/KDE format. This is part of the drive to convert all screenshots to reflect fedora/KDE The only changes in user-manual.txt are the references to the four newly-converted images. Signed-off-by: willem ferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-28Fix stupid typoGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-28Update qt4 patchGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-28Make search and close shortcut for user manual work on MacGravatar Tomaz Canabrava
When the help dialog appears, remove the shortcuts for filter and close from the main window so that the identical keys for the help window work. This is not necessary on other platforms, but on Mac it appears to be required. [Dirk Hohndel: Tomaz had a slightly different approach of removing the actions, instead I changed this to just modify the shortcuts] Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-28Small changes to the mean depth textGravatar Dirk Hohndel
Add a tiny bit of white space to the left and display the unit as well. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-28Implement the mean depth textGravatar Tomaz Canabrava
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-28Remove dead codeGravatar Tomaz Canabrava
We changed this MeanDepthLine to the MeanDepthCurve (or something), no need to keep old code around. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-28Hide ruler when in ADD or PLAN mode.Gravatar Tomaz Canabrava
This ruler shouldn't appear in ADD or PLAN mode, it's a bug and may crash things. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-28User manual: add note about xdeep data importGravatar Krzysztof Arentowicz
Attached. Patch contains an image of xdeep black DC. I asked them if they're ok with using this file in the manual and got the permission. thanks, Krzysiek From 971a244b8f2584bc1c3fc294cf5bb98c22d303be Mon Sep 17 00:00:00 2001 From: Krzysztof Arentowicz <k.arentowicz@gmail.com> Date: Sat, 10 Jan 2015 20:24:22 +0100 Subject: [PATCH] User manual: add note about xDEEP BLACK data import Note is ilustrated by xDEEP BLACK picture by xDEEP. I have aquired a written permision from xDEEP to use this file. Signed-off-by: Krzysztof Arentowicz <k.arentowicz@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-28Don't let the oxygen partial pressure drop below 0.Gravatar Robert C. Helling
No oxygen at all is not quite enough for the average diver but this prevents inifintie loops/extremely long deco when subsurface is used in pscr mode with unrealistic values for pscr preferences. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-28Let notes expand to full with fbsupport offGravatar Anton Lundin
This hides the whole QWidget with the share-to-fb button in it. This lets the Notes field expand to the full width. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>