subsurface/core
Linus Torvalds b9f52d0aff Gas usage statistics: don't require gas switch events
Our "get_has_used()" helper only filled in gas usage for cylinders that
had a gas change event associated with them.  That works really badly
for things like CCR, but also simply for cases where the dive computer
wasn't necessarily explicitly notified about usage, like sidemount
diving etc.

Just remove the logic.  If some use ends up particularly wanting to
ignore some cylinder, they can always do it in the caller instead.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-22 10:38:00 -07:00
..
subsurface-qt
android.cpp
btdiscovery.cpp
btdiscovery.h
checkcloudconnection.cpp
checkcloudconnection.h Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
cloudstorage.cpp
cloudstorage.h
CMakeLists.txt
cochran.c
cochran.h
color.cpp
color.h
compressibility.r
configuredivecomputer.cpp
configuredivecomputer.h
configuredivecomputerthreads.cpp
configuredivecomputerthreads.h
datatrak.c
datatrak.h
deco.c
deco.h Assemble global state of planner in a struct 2017-05-26 15:44:36 -07:00
device.c
device.h
devicedetails.cpp
devicedetails.h
display.h
dive.c
dive.h
divecomputer.cpp
divecomputer.h
divelist.c
divelist.h
divelogexportlogic.cpp
divelogexportlogic.h
divesite.c
divesite.cpp
divesite.h
divesitehelpers.cpp
divesitehelpers.h
downloadfromdcthread.cpp
downloadfromdcthread.h
equipment.c
exif.cpp
exif.h Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
file.c
file.h
gas-model.c
gaspressures.c
gaspressures.h
gettext.h
gettextfromc.cpp Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
gettextfromc.h Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
git-access.c
git-access.h
gpslocation.cpp
gpslocation.h
helpers.h
imagedownloader.cpp Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
imagedownloader.h
isocialnetworkintegration.cpp Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
isocialnetworkintegration.h
libdivecomputer.c
libdivecomputer.h
linux.c
liquivision.c
load-git.c
macos.c
membuffer.c
membuffer.h
metrics.cpp
metrics.h
ostctools.c Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
parse-xml.c
planner.c
planner.h
plannernotes.c
pluginmanager.cpp
pluginmanager.h Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
pref.h
prefs-macros.h
profile.c Start cleaning up sensor indexing for multiple sensors 2017-07-21 16:33:19 -07:00
profile.h
qt-ble.cpp
qt-ble.h
qt-gui.h
qt-init.cpp
qthelper.cpp Translate "more than n days" for surface interval 2017-06-23 22:43:39 +09:00
qthelper.h Merge branch 'seabear-refactor' 2017-05-07 07:52:55 -07:00
qthelperfromc.h
qtserialbluetooth.cpp
save-git.c
save-html.c
save-html.h
save-xml.c Fix up o2 pressure sensor handling at load time 2017-07-21 16:34:33 -07:00
serial_ftdi.c
sha1.c Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
sha1.h
statistics.c Gas usage statistics: don't require gas switch events 2017-07-22 10:38:00 -07:00
statistics.h
strndup.h Add SPDX header to core C files 2017-04-29 13:32:55 -07:00
strtod.c
subsurfacestartup.c
subsurfacestartup.h
subsurfacesysinfo.cpp
subsurfacesysinfo.h
taxonomy.c
taxonomy.h Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
time.c
uemis-downloader.c
uemis.c
uemis.h
units.h
version.c
version.h
webservice.h
windows.c Add SPDX header to core C files 2017-04-29 13:32:55 -07:00
windowtitleupdate.cpp
windowtitleupdate.h
worldmap-options.h
worldmap-save.c
worldmap-save.h