aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-03-05Don't clear plan when (re-) planningGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-03-04Initialize cylinder indexGravatar Dirk Hohndel
Otherwise it's possible for an uninitialized value to be used in addStop which can cause crashes. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-03-04Get initial depth/duration correct when manually adding diveGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-03-04Ensure correct length of the created diveGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-03-04Enable manual setting of durationGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-03-04Add helper to parse duration textGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-03-04Only honor drop stone mode when planning a diveGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-03-04Implement manual setting of depthGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-03-04Initial response to entering duration or depthGravatar Dirk Hohndel
This marks the UI as modified and updates the maxdepth of the dive; it ignores changes to the duration, doesn't modify the profile, so it's nowhere near ready. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-03-04For manually added dives, show depth and durationGravatar Dirk Hohndel
So far this is purely informational, you can't edit this. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-03-04Add depth and duration fields to maintabGravatar Dirk Hohndel
And hide them for now. This doesn't change anything visible, it's just putting in place the pieces for later use. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-03-04Update translation source stringsGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-03-04heartrate, heartbeat > heart rateGravatar Martin Měřinský
2017-03-04dive master > divemasterGravatar Martin Měřinský
2017-03-04SankTime > Sank TimeGravatar Martin Měřinský
2017-03-04divecomputer > dive computerGravatar Martin Měřinský
2017-03-04cu ft > cuftGravatar Martin Měřinský
2017-03-04ppO2 > pO₂Gravatar Martin Měřinský
2017-03-04Consistent 'salt water' versus 'fresh water'.Gravatar Martin Měřinský
2017-03-04user manual: do not repeatGravatar Jan Mulder
Just said the same thing (CSV file can be edited with a text editor). Too verbose imho. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-03-04user manual: make the difference between import and open explicitGravatar Jan Mulder
Two different menu path lead to "open a logfile". The File-Open-Logfile and Import-Import Logfile. The first opens a new logbook, and the second adds the data to the current log. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-03-04user manual. Add 2 supported import file typesGravatar Jan Mulder
Divesoft dive logs and Poseidon MK VI eCCR dive logs where not listed as supported, but they are. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-03-04user manual: downloading hereGravatar Jan Mulder
Lets try to be consistent. A dive computer can be in upload mode, and is uploading, but seen from the host PC, we are downloading. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-03-04user manual: try to describe the add of location the way it isGravatar Jan Mulder
The here edited section is confusing. It references double clicking, which does not work in 4.6 (and not sure it ever worked) Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-03-04user manual: do not repeatGravatar Jan Mulder
Do not repeat the almost same text in the next sentence. When entering a dive location name, auto location of dive site names makes it easy to select an existing dive site name. When typing the name of a dive site, a dropdown list appears showing all sites with similar names. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-03-04user manual: date/time instead of only dateGravatar Jan Mulder
Date and time of the dive are two seperate fields. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-03-04user manual: correct upload vs downloadGravatar Jan Mulder
When importing from a divecomputer, we are downloading. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-03-04User manual: clearify the use of shortcutsGravatar Jan Mulder
The way keybord shortcuts work is confusing. 2 ways are used: - denoted as ctrl-? for some of them - denoted as underlined character in menu items, proabably language dependent, and inconsistent. Despite all this, try to describe it in the manual as it is. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-03-04User manual: https where we canGravatar Jan Mulder
http is so 1984 :-) Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-03-04User manual: manual added gas changes have effect to the rightGravatar Jan Mulder
Manual added gas gas changes have effect to the right of the profile, not as erroneously stated to the left of the point of gas change. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-03-04user manual: correct main menu itemsGravatar Jan Mulder
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-03-04User manual: minimal Windows 7 from 4.6 onwardsGravatar Jan Mulder
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-03-04Correct "set-point" -> "setpoint" and window title setpoint changeGravatar Stefan Fuchs
Change 2x "set-point" to "setpoint". Correct window title for "Add setpoint change" window. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
2017-03-04Rework TestParse to make tests independent from each otherGravatar Jeremie Guichard
In the original version, parsing and comparing output was done in separate test methods. This was forbidding use of QTest cleanup to call clear_dive_file_data(). As a side effect a failure in one test would make other tests failing too (since call to clear_dive_file_data was skipped by QCOMPARE failure). Added a FILE_COMPARE macro to avoid code duplication. Signed-off-by: Jeremie Guichard <djebrest@gmail.com>
2017-03-04Use QTest cleanup method for proper test shutdownGravatar Jeremie Guichard
In case of QCOMPARE failure, code following the comparison is not executed, this results in application state not being properly resorted and often gives several test failures, when only one test really fails. Using QTest cleanup method allows restoring proper state, before next test is executed. Signed-off-by: Jeremie Guichard <djebrest@gmail.com>
2017-03-04Use proper QTest initialization method in TestGitStorageGravatar Jeremie Guichard
Method originally called testSetup is more a precondition to test execution rather than an actual test. QTest recommends to use initTestCase for that purpose. Signed-off-by: Jeremie Guichard <djebrest@gmail.com>
2017-03-04Use proper order in QCOMPARE argumentsGravatar Jeremie Guichard
Expected value is the second argument of QCOMPARE, having the arguments in the right order avoid confusion when looking at error message in case of test failure. Signed-off-by: Jeremie Guichard <djebrest@gmail.com>
2017-03-01Update README for 4.6.3v4.6.3Gravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-03-01Latest translationsGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-02-28Another update to the ReleaseNotesGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-02-28Update Russian user manualGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-02-26Fix imperial conversion for weight on CSV exportGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-02-26Call the cylinder working pressure "starting pressure" in plannerGravatar Robert C. Helling
Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-02-25Update translation source stringsGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-02-25Fix trailing '\r' test failure on WindowsGravatar Jeremie Guichard
Windows implementation of fwrite changes \n to \r\n for files opened in text mode. It caused failures in TestMerge and TestParse when comparing written files against reference data. Signed-off-by: Jeremie Guichard <djebrest@gmail.com>
2017-02-25Improve install and test rules for Windows test executionGravatar Jeremie Guichard
Update install rules to create a staging_tests folder for easy deployment to test target. Update test rules for compile time testing when wine is available on build machine. Signed-off-by: Jeremie Guichard <djebrest@gmail.com>
2017-02-25Fix dlllist.cmake not to use hard coded path to link.txtGravatar Jeremie Guichard
The utility could be used for other targets, path should therefore depend on the inputted target parameter Signed-off-by: Jeremie Guichard <djebrest@gmail.com>
2017-02-25Move CMake variables printing into a utility macroGravatar Jeremie Guichard
Added cmake_variables_helper.cmake providing 2 helpers - print_variable - print_all_variables Signed-off-by: Jeremie Guichard <djebrest@gmail.com>
2017-02-25smtk-import: Fix freeing unallocated memoryGravatar Salvador Cuñat
hdr_buffer pointer was not always allocated (just on dc dives), but was always freed. This should cause a crash while processing a manually added dive (or a dive whose dc model couldn't be stablished), but not always does, crashes only if the pointed memory hasn't been previously allocated. In most cases causes memory corruption, which goes easily unnoticed as it is correctly freed in next parse run. This means, obviously, I have some work TODO fixing leaks with valgrind. Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
2017-02-25Add 4 file types op file-open logbook menu filter, consistencyGravatar Jan Mulder
4 file types (that are very rarely used), did showup in the import-import dive logs menu (e.g. the file filter), but were missing from file-open logbook file type filter. Just added them to the file-open part to be more consistent. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>