mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Mostly NFC; this commit is mainly to get familiar with the codebase and to meet the people who will review these changes. I hope to make some changes to the DAN parsing code to eventually extract more metainfo from my aqualung divecomputer's `.zxu` formatted logs. To do so, and for me to be able to work on this efficiently, I've refactored the DAN parsing code using a bit more modern C++-style, as well as being more true-to-spec wrt. the (...ancient) DAN file format documentation that i could dig up... hopefully that's an alright tradeoff for the project. This more true-to-spec parsing also fixed a bug with the number being parsed from the incorrect index in the ZDH vector (or, atleast i consider it a bug - the "Export sequence" number was being used as the dive number, instead of the "Internal Dive Sequence" number. The latter, described in the spec as: `The sequence number assigned to the dive by the recording computer`). Also contains some unrelated formatting changes; i tried to keep these minimal (i presume these files haven't been touched in a while by `clang-format`). Signed-off-by: Morten Borup Petersen <morten_bp@live.dk> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| CMakeLists.txt | ||
| testAirPressure.cpp | ||
| testAirPressure.h | ||
| testdivesiteduplication.cpp | ||
| testdivesiteduplication.h | ||
| testformatDiveGasString.cpp | ||
| testformatDiveGasString.h | ||
| testgitstorage.cpp | ||
| testgitstorage.h | ||
| testgpscoords.cpp | ||
| testgpscoords.h | ||
| testhelper.cpp | ||
| testhelper.h | ||
| testmerge.cpp | ||
| testmerge.h | ||
| testparse.cpp | ||
| testparse.h | ||
| testparseperformance.cpp | ||
| testparseperformance.h | ||
| testpicture.cpp | ||
| testpicture.h | ||
| testplan.cpp | ||
| testplan.h | ||
| testplannershared.cpp | ||
| testplannershared.h | ||
| testprofile.cpp | ||
| testprofile.h | ||
| testqml.cpp | ||
| testqml.h | ||
| testqPrefCloudStorage.cpp | ||
| testqPrefCloudStorage.h | ||
| testqPrefDisplay.cpp | ||
| testqPrefDisplay.h | ||
| testqPrefDiveComputer.cpp | ||
| testqPrefDiveComputer.h | ||
| testqPrefDivePlanner.cpp | ||
| testqPrefDivePlanner.h | ||
| testqPrefEquipment.cpp | ||
| testqPrefEquipment.h | ||
| testqPrefGeneral.cpp | ||
| testqPrefGeneral.h | ||
| testqPrefGeocoding.cpp | ||
| testqPrefGeocoding.h | ||
| testqPrefLanguage.cpp | ||
| testqPrefLanguage.h | ||
| testqPrefLog.cpp | ||
| testqPrefLog.h | ||
| testqPrefMedia.cpp | ||
| testqPrefMedia.h | ||
| testqPrefPartialPressureGas.cpp | ||
| testqPrefPartialPressureGas.h | ||
| testqPrefProxy.cpp | ||
| testqPrefProxy.h | ||
| testqPrefTechnicalDetails.cpp | ||
| testqPrefTechnicalDetails.h | ||
| testqPrefUnits.cpp | ||
| testqPrefUnits.h | ||
| testqPrefUpdateManager.cpp | ||
| testqPrefUpdateManager.h | ||
| testrenumber.cpp | ||
| testrenumber.h | ||
| testtaglist.cpp | ||
| testtaglist.h | ||
| testunitconversion.cpp | ||
| testunitconversion.h | ||
| tst_qPrefCloudStorage.qml | ||
| tst_qPrefDisplay.qml | ||
| tst_qPrefDiveComputer.qml | ||
| tst_qPrefDivePlanner.qml | ||
| tst_qPrefGeneral.qml | ||
| tst_qPrefGeocoding.qml | ||
| tst_qPrefLanguage.qml | ||
| tst_qPrefPartialPressureGas.qml | ||
| tst_qPrefProxy.qml | ||
| tst_qPrefTechnicalDetails.qml | ||
| tst_qPrefUnits.qml | ||
| tst_qPrefUpdateManager.qml | ||