mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
cf7c54bd56
This avoid memory-management troubles. Had to convert a few of the parsers (cochran, datatrak, liquivision) to C++. Also had to convert libdivecomputer.c. This was less painful than expected. std::string is used because parts of the code assumes that the data is null terminated after the last character of the data. std::string does precisely that. One disadvantage is that std::string clears its memory when resizing / initializing. Thus we read the file onto freshly cleared data, which some might thing is a performance regression. Until someone shows me that this matters, I don't care. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> |
||
---|---|---|
.. | ||
.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 |