summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-01-01Plot mean depth dataGravatar Krzysztof Arentowicz
As we already have running depth sum values for each sample why don't just plot running average depth graph. Signed-off-by: Krzysztof Arentowicz <k.arentowicz@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-01Avoid divide by 0 errorGravatar Krzysztof Arentowicz
Avoid crash when moving mouse to left side of the plot when showing mean depth Signed-off-by: Krzysztof Arentowicz <k.arentowicz@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-01Update check: better message when running development versionGravatar Dirk Hohndel
This isn't an error. The server tells us what it knows. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-01Use the canonical version when checking for updatesGravatar Dirk Hohndel
This is in the form major.minor.subminor.commit_nr and makes it easy for the backend process on the server to figure out what to do. This changes the query argument from ver to version so the backend knows that this is now a canonical version. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-01Always show the full git version when called with --versionGravatar Dirk Hohndel
This way we finally get the right version shown on Mac and Windows. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-01Always show the full git version in the about screenGravatar Dirk Hohndel
This way we finally get the right version shown on Mac and Windows. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-01Try to bring some sanity into our version stringsGravatar Dirk Hohndel
VERSION_STRING is the one most appropriate for the target OS GIT_VERSION_STRING is the full version string with the git hash CANONICAL_VERSION_STRING is major.minor.submior.number_of_commits Mac allows only three components to the version Windows allows four Linux doesn't care This way we always know the full git hash (unless tagged or from tar) AND we can always have a version that can be easily compared / sorted. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-01Fix mean depth on info boxGravatar Miika Turkia
The running depth must be divided by current time to get the average depth. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-01Happy New YearGravatar Tim Wootton
Signed-off-by: Tim Wootton <tim@tee-jay.demon.co.uk> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Add better icons for the filter dialogGravatar Dirk Hohndel
These are from the public domain icon tango icon set at http://tango.freedesktop.org/Tango_Icon_Library Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Another tiny change for OBSGravatar Dirk Hohndel
As expected, switching to subsurfacedaily as package name turned out to be a massive PITA. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Export only profile from first divecomputerGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Imperial support for CSV profile exportGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Enable and disable unit selectionGravatar Miika Turkia
Unit selection is supported only for CSV exports, thus enabling the selection only for those. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Include cylinder description for imperial importGravatar Miika Turkia
If the cylinder size seems to be in the form of ALxx, LPxx, or HPxx use that as cylinder description. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Imperial support for CSV details exportGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Use unit selection for XSL transformation on CSV exportGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31GUI change to accommodate unit selection on CSV exportGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Next attempt to get the OBS subsurfacedaily naming rightGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Information overlay: include the moving mean depthGravatar Dirk Hohndel
Apparently this is useful for some tech divers. We urgently need an option to turn off the graph and this text, though, as I am guessing that this is just distracting and annoying to 90+% of our users. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Add a new script to create cross built Windows installerGravatar Dirk Hohndel
This script is based on the mxe package and builds everything from source instead of using the mingw packages from Fedora as I did in the past. I'm keeping the old script around for now, but eventually I should remove it as this is the current way to create a working installer that supports both 32 and 64 bit Windows and is Qt5 based. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Add the current OBS spec file for daily buildsGravatar Dirk Hohndel
This is simply here for people to look at. It will age immediately and it makes no sense to try to keep it current here as it is maintained in OBS. But I think it might be a useful starting point for others who want to package daily builds of Subsurface. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Revert "Make the daily builds on OBS distinct from the releases"Gravatar Dirk Hohndel
This reverts commit 7a7ce2c5e0a95b856ad5ac6a1eabe0750e722561. Shouldn't have pushed that one :-) The fix was to modify the spec file, not the name of the directory and tar file. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Make the daily builds on OBS distinct from the releasesGravatar Dirk Hohndel
This way there should be less confusion Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Remove some way way way outdated filesGravatar Dirk Hohndel
From the very earliest packaging attempts. Definitely not useful anymore. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Allow overriding makensis programGravatar Dirk Hohndel
For cross building Windows binaries Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Linux package generation: integrate and automate OBS and Ubuntu PPAGravatar Dirk Hohndel
This is still quite fragile and isn't enough for anyone to run it, but it captures where I am in the automation process. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Change the XSLT to use the duration format instead of "logic"Gravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Add duration format to XSLT callGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31GUI change to specify duration on CSV importGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Fix typo in INSTALL fileGravatar Dirk Hohndel
Thanks Benjamin for catching this. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Treat duration as minutes if dive would be shortGravatar Miika Turkia
This will read duration from CSV in minutes if the dive would be less than 10 minutes when treating the duration as seconds. In practice, this means that free-divers cannot import dive duration properly from CSV, but this should be sensible for scuba divers. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Support importing quoted multi-line notes fieldGravatar Miika Turkia
This adds support for importing multi-line notes field on CSV import. Naturally the notes filed must be quoted with " in this case. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-30Make the moving mean depth line workGravatar Tomaz Canabrava
It's a bit jumpy, but works. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-30Add a new signal to send the current time/depth of the mouse posGravatar Tomaz Canabrava
As the explanation says. :) Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-30Add the instantMeanDepth on SceneGravatar Tomaz Canabrava
But nothing is hoocked yet. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-30Move stuff to protected on DepthLineGravatar Tomaz Canabrava
I wanna use some of it on the InstantMeanDepthLine Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-30Set data model for the MeanDepth lineGravatar Tomaz Canabrava
This way we can poke around data for the mean depth line. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-30Add skeleton for the instant mean depth lineGravatar Tomaz Canabrava
This class will hold the visible line of the mean depth for the time 'now' Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-30Add the runnimg_sum data to the data model to be displayed on the profileGravatar Tomaz Canabrava
Without this nothing would be displayed. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-30Add the gradient factor on the tableGravatar Tomaz Canabrava
It was impossible to guess what this column was just by looking at it. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-30Add text for the heart beat data on the tableGravatar Tomaz Canabrava
This was missing on the UI and it was really hard to guess what it was. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-30Clear DC information when closing log fileGravatar Miika Turkia
Fixes #799 Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-30Prevent holes in cylinder list when copying used onesGravatar Robert C. Helling
This ensures that the list of configured cylinders is consecutive. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-30Guess imperial cylinder sizes on CSV importGravatar Miika Turkia
This patch uses pre-defined working pressures on cylinders to roughly calculate the size in liters. Imperial selection is ignored here as we can use the prefix to detect if the value seems like imperial unit (and the type of cylinder varies based on location, not divers preference in unit). Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-30Record the cylinder idx on DLF gaschangeGravatar Anton Lundin
Use the new and fancy cylinder idx to record which cylinder we change to on the DLF import. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-30Remove unused variableGravatar Anton Lundin
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-30Connect the UserSurvey to its qt-parrentGravatar Anton Lundin
This makes sure the UserSurvey object is removed correctly by the qt object tracking system. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-30Correct capitalisationGravatar Anton Lundin
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-30Remove NO_USERSURVEYGravatar Anton Lundin
Back in 71dbcdc0d625 ("Added the option of opening User Survey form explicitly") a define for not adding the user-survey was created. This is quite unnecessary and this removes that option. Based-on-patch-by: Nikhil Bharadwaj Gosala <nikhil.gosala@gmail.com> Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>