subsurface/mobile-widgets
Dirk Hohndel 08e39f9d2d mobile/dive summary: rewrite statistics code
There were quite a few issues with the code - clearly a complete failure of
code review.

- all values were '??' if a period contained no dives
- imperial units were not calculated at all
- significant truncation and data loss in the way totals were added as meters
  and minutes instead of the higher precision data that is available
- several issues in striing conversion methodology, e.g. missing zero padding
  for minutes
- missing maxSac
- incorrectly calculated avgSac
- incorrectly claculated number of EANx dives
- hard to read code with most variables named 'temp'

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-01-30 07:45:25 +02:00
..
qml mobile/dive summary: rewrite statistics code 2020-01-30 07:45:25 +02:00
CMakeLists.txt mobile-widgets: add themeInterface 2020-01-26 16:42:35 -08:00
qmlinterface.cpp divesummary: add DiveSummary class to shared and backend 2020-01-27 14:25:03 -08:00
qmlinterface.h mobile-widgets: add dive_mode variable to QML 2020-01-28 11:28:30 -08:00
qmlmanager.cpp code cleanup: whitespace cleanup 2020-01-26 16:51:05 -08:00
qmlmanager.h mobile-widgets: add oldStatus variable to qmlmanager 2019-12-29 12:20:19 -08:00
themeinterface.cpp themeinterface: move registration to themeinterface 2020-01-28 11:05:45 -08:00
themeinterface.h themeinterface: move registration to themeinterface 2020-01-28 11:05:45 -08:00