subsurface/backend-shared
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
..
CMakeLists.txt divesummary: add DiveSummary class to shared and backend 2020-01-27 14:25:03 -08:00
divesummary.cpp mobile/dive summary: rewrite statistics code 2020-01-30 07:45:25 +02:00
divesummary.h mobile/dive summary: rewrite statistics code 2020-01-30 07:45:25 +02:00
exportfuncs.cpp build-system: move exportfuncs to backend-shared 2019-12-24 08:44:23 +09:00
exportfuncs.h build-system: move exportfuncs to backend-shared 2019-12-24 08:44:23 +09:00
plannershared.cpp diveplanner: add comments explaining different scaling 2020-01-25 17:27:25 -08:00
plannershared.h dive-planner: removed unused QML interface 2020-01-25 17:26:33 -08:00
README build-system: add new root dir backend-shared 2019-12-24 08:44:23 +09:00

This directory contains shared UI backend code shared between
the desktop version and the mobile version.

The backend code sits between the actual functionality, which
are implemented in core and qt-models, and the UI/QML which
are implemented in desktop-widgets and mobile-widgets.

The idea of backend is not to duplicate code, and at the same time
limit the UI and QML to only deal with real GUI.

The first implementations for backend are "export" and "diveplanner".