subsurface/qt-models
Dirk Hohndel e03b553e80 Make created dive site uuid deterministic
Having random uuids seemed like a good idea, but there are several
situations where they really cause problems. One is merging dive file
imports from V2 logfiles. Another is testing such imports.

Instead of making the uuid random we now hash the name and add the
timestamp of the first dive associated with this dive site to the hash
(first in this context is "first encountered" with no guarantee that it is
the chronologically first). This way V2 imports create deterministic uuids
but uuid conflicts are still extremely unlikely, even if the user has
multiple dive sites with the same name.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-08-25 10:43:48 -07:00
..
cleanertablemodel.cpp Move CleanerTableModel to its own file 2015-05-29 14:08:36 -07:00
cleanertablemodel.h Move WeightModel to qt-models 2015-05-29 14:11:12 -07:00
completionmodels.cpp Remove location completion model 2015-07-01 18:54:19 -07:00
completionmodels.h Correctly removes the Location Completion Model 2015-07-01 19:21:50 -07:00
cylindermodel.cpp Round MOD of gas rather than truncate 2015-07-05 15:53:49 -07:00
cylindermodel.h Move DivePlannerModel and CylinderModel to qt-models 2015-05-29 14:09:13 -07:00
divecomputerextradatamodel.cpp Move ExtraDataModel to qt-models 2015-05-29 14:11:26 -07:00
divecomputerextradatamodel.h Move ExtraDataModel to qt-models 2015-05-29 14:11:26 -07:00
divecomputermodel.cpp Move DiveComputerModel to qt-models 2015-05-29 14:11:52 -07:00
divecomputermodel.h Move DiveComputerModel to qt-models 2015-05-29 14:11:52 -07:00
divelistmodel.cpp QML UI: sort by date, not by date string 2015-07-24 11:17:48 -07:00
divelistmodel.h QML UI: sort by date, not by date string 2015-07-24 11:17:48 -07:00
divelocationmodel.cpp Make created dive site uuid deterministic 2015-08-25 10:43:48 -07:00
divelocationmodel.h Make created dive site uuid deterministic 2015-08-25 10:43:48 -07:00
divepicturemodel.cpp Add DiveSitePicturesModel 2015-08-15 04:59:01 -07:00
divepicturemodel.h Remove obsolete comment 2015-08-15 04:59:23 -07:00
diveplannermodel.cpp VPM-B: Add conservatism levels to the ui. Fix planner settings disabling. 2015-08-15 15:16:51 +02:00
diveplannermodel.h VPM-B: Add conservatism levels to the ui. Fix planner settings disabling. 2015-08-15 15:16:51 +02:00
diveplotdatamodel.cpp Address uninitialized member warnings 2015-06-22 10:57:51 -07:00
diveplotdatamodel.h Move DivePlotDataModel to qt-models 2015-05-29 14:14:43 -07:00
divesitepicturesmodel.cpp Add DiveSitePicturesModel 2015-08-15 04:59:01 -07:00
divesitepicturesmodel.h Add DiveSitePicturesModel 2015-08-15 04:59:01 -07:00
divetripmodel.cpp Show icon in dive list to mark dives that have GPS data 2015-06-29 10:44:17 -07:00
divetripmodel.h Move DiveTripModel to qt-models 2015-05-29 14:13:00 -07:00
filtermodels.cpp Display dives from the same location on the list 2015-08-20 22:23:25 -07:00
filtermodels.h Move the models to its own folder 2015-05-29 14:07:54 -07:00
models.cpp Fewer rebuilds triggered by changes in models.h 2015-05-29 14:13:44 -07:00
models.h Fewer rebuilds triggered by changes in models.h 2015-05-29 14:13:44 -07:00
profileprintmodel.cpp Address uninitialized member warnings 2015-06-22 10:57:51 -07:00
profileprintmodel.h Move ProfilePrintModel to qt-models 2015-05-29 14:13:32 -07:00
tableprintmodel.cpp Move TablePrintModel to Qt-models 2015-05-29 14:13:12 -07:00
tableprintmodel.h Move TablePrintModel to Qt-models 2015-05-29 14:13:12 -07:00
tankinfomodel.cpp Move Tankinfomodel to its own file 2015-05-29 14:10:30 -07:00
tankinfomodel.h Move Tankinfomodel to its own file 2015-05-29 14:10:30 -07:00
treemodel.cpp Move TreeModel to qt-models 2015-05-29 14:12:06 -07:00
treemodel.h Move TreeModel to qt-models 2015-05-29 14:12:06 -07:00
weightmodel.cpp Move WeightModel to qt-models 2015-05-29 14:11:12 -07:00
weightmodel.h Move WeightModel to qt-models 2015-05-29 14:11:12 -07:00
weigthsysteminfomodel.cpp Move WeigthSystem Info model to qt-models 2015-05-29 14:10:50 -07:00
weigthsysteminfomodel.h Typo on the header guard. oops. 2015-05-29 20:58:58 -07:00
yearlystatisticsmodel.cpp Move the YearlyStatisticsModel to qt-models 2015-05-29 14:12:48 -07:00
yearlystatisticsmodel.h Move the YearlyStatisticsModel to qt-models 2015-05-29 14:12:48 -07:00