aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-04-12Use libdc from github nowGravatar Jan Mulder
The build script was cloning the Sursurface branch of libdivecomputer from the "old" location. Use the new github based location from now on. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-04-12user manual: five trivial typosGravatar Jan Mulder
five trivial typos corrected Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-04-12user manual: some more graph -> profile renamesGravatar Jan Mulder
And found some more graph -> profile strings to be renamed. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-04-12user manual: sync command line optionsGravatar Jan Mulder
Sync the command line opions with 4.6.3 (added win32log) Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-04-12user manual: print a dive planGravatar Jan Mulder
Removed 2nd occurrence of the fact that a dive can be printed in the planner using the print button. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-04-12NL: incorporate user manual in buildGravatar Jan Mulder
Add the nwe NL user manual to the build process. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-04-12NL: first edition of usermanual translated to DutchGravatar Jan Mulder
First edition of usermanual translated to Dutch. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-04-11Fix DivingLog's O2 importGravatar Miika Turkia
Make sure the Gas setup contains O2 value when trying to import that. In latest log sample the Gas seems to contain the decompression algorithm used. And as this value was grabbed after O2, we ended up with empty O2. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-11Fix DivingLog importGravatar Miika Turkia
DivingLog seems to report cylinder start and end pressures in metric format, but sample readings are in imperial in case user has selected this unit. So we must convert the sample pressures in this case. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-11Ignore empty cylinders on Cobalt importGravatar Miika Turkia
It appears that Cobalt might include additional gas mixes, and only way to determine what is used appears to be to ensure that start and end pressures are greater than 0. One would assume there to be something else available in the database, but I was not able to spot it. Fixes #297 Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-11QML UI: re-layout the details viewGravatar Dirk Hohndel
This is a different take that seems to deal much better with different width and font size combinations. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-10QML UI: correctly set grid column widthsGravatar Dirk Hohndel
Spending more time reading the documentation, we need to set the Layout.maximumWidth, not the width. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-07QML UI: fix iOS build scriptGravatar Dirk Hohndel
Syntax for one of the libdivecomputer configure options was wrong. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-07QML UI: enable embed code for iOSGravatar Dirk Hohndel
This should help us with better iOS apps as it allows Apple to run llvm against our code to improve performance. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-07QML UI: modify dummy.qml to bring the correct pluginsGravatar Dirk Hohndel
Our qmake based build for iOS still requires the dummy.qml to trigger inclusion of the correct plugins in the iOS app. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-06QML UI: update qmake file to include Controls.2Gravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-06QML UI: support extreme widescreen Android devicesGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-06Move version and date around notes to save spaceGravatar Robert C. Helling
This prints this information in the header near "Subsurface" where I guess at least the version information belongs. Plus it saves a line. Signed-off-by: Robert C. Helling <helling@atdotde.de>
2017-04-06Add creation date and Subsurface version to planner outputGravatar Stefan Fuchs
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
2017-04-06Aparently, remove a QXB warning.Gravatar Tomaz Canabrava
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-06Clean up some widgetsGravatar Tomaz Canabrava
Simplify logic of handling the Message that this dive is being modified. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-06Break down MainTab into smaller classesGravatar Tomaz Canabrava
Maintab is one of our most complex classes, and it's something I'm not actually proud of. But it currently works and the idea of splitting it was in my head for quite a while. This is the third or fourth tentative of splitting it, and this time I let the most complex part of it untouched, the Notes and Equipment tab are way too complex to untangle right now on my limited time. A new class 'TabBase' should be used for any new tab that we may create, and added on the MainTab (see the new lines on the MainTab constructor). Also, Extra Info, Information, Photos and Statistics where ported to this new way helping reduce the number of lines and functions on the MainTab quite a bit. Overall this is a step in the right direction for the future. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-04QML UI: fix saving fields using HintsTextEditGravatar Marco Martin
The editText property is not there anymore, we need text Signed-off-by: Marco Martin <notmart@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-04QML UI: dialog of HintsTextEdit on topGravatar Marco Martin
Signed-off-by: Marco Martin <notmart@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-04QML UI: better handling of device pixel ratioGravatar Dirk Hohndel
In order to make sure we don't render the initial profiles with the wrong scale on devices, we need to seed the device pixel ratio with the device default and then update it once the window has been created. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-04QML UI: more hacks for the magicShiftFactor hackGravatar Dirk Hohndel
Since the device pixel ratio can be a fraction we should interpolate the values. I still don't really understand why this is necessary, so this is a hack on top of a hack - but for most values I tried this does seem to give us a reasonably well placed (and well scaled) profile. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-04smtk-import Avoid duplicities in bookmarksGravatar Salvador Cuñat
SmartTrak's bookmarks work in the same fashion Subsurface's do. The user may set a bookmark while underwater or set it just on the divelog software. At this time we are parsing those set in the DC twice, as we get one from libdivecomputer and another from smarttrak's database. This patch just checks if we have a bookmark event downloaded by libdivecomputer which has the same time that the one parsed from the .slg file. If so, merge the names taking the one from smarttrak. Text from smarttrak is preferred because the user may have entered some interesting note there and libdivecomputer's name is just "bookmark". Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
2017-04-04smtk-import Fix wreck data importGravatar Salvador Cuñat
It was assumed that every data field in a wreck table was filled or zeroed. This assumption is actually false, so this patch adds testing for the existence of strings before working with them. Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
2017-04-03QML UI: ensure actions are set up for Credentials pageGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-03QML UI: use a scrollable page for StartPageGravatar Marco Martin
Fixes scrolling of the cloud credentials and simplifies code Signed-off-by: Marco Martin <notmart@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-01mxe_build.sh - Rebuild everyth. when switching between debug and releaseGravatar Stefan Fuchs
When switching between debug and release MXE build one needs to rebuild everything. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
2017-04-01Fix mxe-build script to copy correct plugin DLLs for debug and releaseGravatar Stefan Fuchs
For the plugin DDLs: Debug: Only copy *d.DLLs Release: Only copy *.DLLs Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
2017-04-01Add the pressure attribute only if it existsGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01Do not convert empty temperatureGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01Fix imperial unit conversion on CSV importGravatar Miika Turkia
Math only takes numbers, need to ignore the ft part. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01CSV import: return value only if it existsGravatar Miika Turkia
If the last two fields were empty, we returned the field separator as next to last value. Now we make sure not to return field separator as field value. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01Cleanup for CSV testingGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01Enable CSV import-export unit conversion testGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01Only import weight if availableGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01Fix CSV import of cylinder pressuresGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01Limit precision for temperature in CSV importGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01Limit max depth precision on CSV importGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01Limit mean depth precision on CSV importGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01More precision in CSV export for depthsGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01Fix size conversion on imperial CSV importGravatar Miika Turkia
We really need the decimal separator to get correct results Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01CSV export: convert cylinder size to imperialGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01Export-import test for manual CSVGravatar Miika Turkia
Note that the actual validation of the result is currently disabled, so the tests will pass even though there are some bugs and rounding errors present. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01Change parseCSV to support unit and file selectionGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01CSV export: export only existing temperaturesGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01QML UI: we now depend on QuckControls2Gravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>