subsurface/core
Berthold Stoeger cce5f5950c core: make get_surface_interval() member of dive_table
This function implicitely accessed the global divelog. To make
that explicit make it a member of dive_table, such that the
caller must access it via the global variable.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +02:00
..
settings preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
subsurface-qt core: turn picture-table into std::vector<> 2024-08-13 19:28:30 +02:00
android.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
btdiscovery.cpp
btdiscovery.h
checkcloudconnection.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
checkcloudconnection.h
cloudstorage.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
cloudstorage.h
CMakeLists.txt core: remove filterconstraint C boilerplate code 2024-08-13 19:28:30 +02:00
cochran.cpp core: turn C dive-table into an owning table 2024-08-13 19:28:30 +02:00
cochran.h
color.cpp
color.h cleanup: remove enum typedef in color.h 2024-08-13 19:28:30 +02:00
compressibility.r
configuredivecomputer.cpp
configuredivecomputer.h
configuredivecomputerthreads.cpp
configuredivecomputerthreads.h
connectionlistmodel.cpp
connectionlistmodel.h
datatrak.cpp core: include divesite table directly in divelog 2024-08-13 19:28:30 +02:00
datatrak.h
deco.cpp core: add default initialization to sruct deco_state 2024-08-13 19:28:30 +02:00
deco.h core: add default initialization to sruct deco_state 2024-08-13 19:28:30 +02:00
device.cpp core: remove device-fingerprint C access code 2024-08-13 19:28:30 +02:00
device.h core: remove device-fingerprint C access code 2024-08-13 19:28:30 +02:00
devicedetails.cpp
devicedetails.h
dive.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
dive.h preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
divecomputer.cpp core: remove structured_list.h 2024-08-13 19:28:30 +02:00
divecomputer.h core: move functions into struct dive 2024-08-13 19:28:30 +02:00
divefilter.cpp core: turn C dive-table into an owning table 2024-08-13 19:28:30 +02:00
divefilter.h map: use value semantics for MapLocation 2024-08-13 19:28:30 +02:00
divelist.cpp core: make get_surface_interval() member of dive_table 2024-08-13 19:28:30 +02:00
divelist.h core: make get_surface_interval() member of dive_table 2024-08-13 19:28:30 +02:00
divelog.cpp core: remove filterconstraint C boilerplate code 2024-08-13 19:28:30 +02:00
divelog.h core: remove filterconstraint C boilerplate code 2024-08-13 19:28:30 +02:00
divelogexportlogic.cpp
divelogexportlogic.h
divemode.h
divesite.cpp core: turn C dive-table into an owning table 2024-08-13 19:28:30 +02:00
divesite.h core: turn C dive-table into an owning table 2024-08-13 19:28:30 +02:00
divesitehelpers.cpp
divesitehelpers.h
divesitetable.h core: turn C dive-table into an owning table 2024-08-13 19:28:30 +02:00
downloadfromdcthread.cpp core: turn C dive-table into an owning table 2024-08-13 19:28:30 +02:00
downloadfromdcthread.h
equipment.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
equipment.h core: convert weightsystem_t and weightsystem_table to C++ 2024-08-13 19:28:30 +02:00
errorhelper.cpp core: use std::string in error_callback 2024-08-13 19:28:30 +02:00
errorhelper.h core: use std::string in error_callback 2024-08-13 19:28:30 +02:00
event.cpp core: fold event-related functions into event class 2024-08-13 19:28:30 +02:00
event.h core: fold event-related functions into event class 2024-08-13 19:28:30 +02:00
eventtype.cpp core: fold event-related functions into event class 2024-08-13 19:28:30 +02:00
eventtype.h core: turn event-list of divecomputer into std::vector<> 2024-08-13 19:28:30 +02:00
exif.cpp
exif.h
extradata.h core: convert dive computer extra data to C++ 2024-08-13 19:28:30 +02:00
file.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
file.h build: remove extern "C" linkage 2024-08-13 19:28:30 +02:00
filterconstraint.cpp core: remove filterconstraint C boilerplate code 2024-08-13 19:28:30 +02:00
filterconstraint.h core: remove filterconstraint C boilerplate code 2024-08-13 19:28:30 +02:00
filterpreset.cpp core: remove filterconstraint C boilerplate code 2024-08-13 19:28:30 +02:00
filterpreset.h core: remove filterconstraint C boilerplate code 2024-08-13 19:28:30 +02:00
filterpresettable.cpp core: remove filterconstraint C boilerplate code 2024-08-13 19:28:30 +02:00
filterpresettable.h core: remove filterconstraint C boilerplate code 2024-08-13 19:28:30 +02:00
format.cpp download: replace progress_bar_text by std::string 2024-08-13 19:28:30 +02:00
format.h download: replace progress_bar_text by std::string 2024-08-13 19:28:30 +02:00
fulltext.cpp core: turn C dive-table into an owning table 2024-08-13 19:28:30 +02:00
fulltext.h fulltext: replace plain pointer by std::unique_ptr<> 2024-08-13 19:28:30 +02:00
gas-model.cpp
gas.cpp core: convert cylinder_t and cylinder_table to C++ 2024-08-13 19:28:30 +02:00
gas.h core: convert cylinder_t and cylinder_table to C++ 2024-08-13 19:28:30 +02:00
gaspressures.cpp core: convert cylinder_t and cylinder_table to C++ 2024-08-13 19:28:30 +02:00
gaspressures.h core: remove __cplusplus ifdefs 2024-08-13 19:28:30 +02:00
gettext.h build: remove extern "C" linkage 2024-08-13 19:28:30 +02:00
gettextfromc.cpp build: remove extern "C" linkage 2024-08-13 19:28:30 +02:00
gettextfromc.h build: remove extern "C" linkage 2024-08-13 19:28:30 +02:00
git-access.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
git-access.h general: remove (void) function parameter declarations 2024-08-13 19:28:30 +02:00
globals.cpp
globals.h
imagedownloader.cpp core: default initialize units-type objects to 0 2024-08-13 19:28:30 +02:00
imagedownloader.h
import-cobalt.cpp import: use std::string for location in cobalt-import 2024-08-13 19:28:30 +02:00
import-csv.cpp core: turn C dive-table into an owning table 2024-08-13 19:28:30 +02:00
import-csv.h build: remove extern "C" linkage 2024-08-13 19:28:30 +02:00
import-divinglog.cpp parser: move atoi_n to import-divinglog.cpp 2024-08-13 19:28:30 +02:00
import-seac.cpp core: turn struct dive string data into std::string 2024-08-13 19:28:30 +02:00
import-shearwater.cpp core: turn struct dive string data into std::string 2024-08-13 19:28:30 +02:00
import-suunto.cpp core: turn struct dive string data into std::string 2024-08-13 19:28:30 +02:00
interpolate.h cleanup: move interpolate inline function to its own header file 2020-10-25 13:59:52 -07:00
ios.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
libdivecomputer.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
libdivecomputer.h download: replace progress_bar_text by std::string 2024-08-13 19:28:30 +02:00
liquivision.cpp core: include divesite table directly in divelog 2024-08-13 19:28:30 +02:00
load-git.cpp core: remove get_first_converted_string_c() in load-git.cpp 2024-08-13 19:28:30 +02:00
macos.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
membuffer.cpp core: remove add_to_string() function 2024-08-13 19:28:30 +02:00
membuffer.h core: remove add_to_string() function 2024-08-13 19:28:30 +02:00
metadata.cpp build: remove extern "C" linkage 2024-08-13 19:28:30 +02:00
metadata.h build: remove extern "C" linkage 2024-08-13 19:28:30 +02:00
metrics.cpp
metrics.h
namecmp.h core: remove __cplusplus ifdefs 2024-08-13 19:28:30 +02:00
ostctools.cpp core: turn C dive-table into an owning table 2024-08-13 19:28:30 +02:00
owning_table.h core: turn C dive-table into an owning table 2024-08-13 19:28:30 +02:00
parse-gpx.cpp
parse-gpx.h
parse-xml.cpp core: remove filterconstraint C boilerplate code 2024-08-13 19:28:30 +02:00
parse.cpp parser: keep divelist sorted 2024-08-13 19:28:30 +02:00
parse.h parser: move atoi_n to import-divinglog.cpp 2024-08-13 19:28:30 +02:00
picture.cpp core: turn C dive-table into an owning table 2024-08-13 19:28:30 +02:00
picture.h core: turn picture-table into std::vector<> 2024-08-13 19:28:30 +02:00
planner.cpp core: turn C dive-table into an owning table 2024-08-13 19:28:30 +02:00
planner.h build: remove extern "C" linkage 2024-08-13 19:28:30 +02:00
plannernotes.cpp core: turn struct dive string data into std::string 2024-08-13 19:28:30 +02:00
pref.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
pref.h preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
profile.cpp core: convert cylinder_t and cylinder_table to C++ 2024-08-13 19:28:30 +02:00
profile.h core: convert cylinder_t and cylinder_table to C++ 2024-08-13 19:28:30 +02:00
qt-ble.cpp general: remove (void) function parameter declarations 2024-08-13 19:28:30 +02:00
qt-ble.h general: remove (void) function parameter declarations 2024-08-13 19:28:30 +02:00
qt-gui.h
qt-init.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
qthelper.cpp core: remove copy_qstring() function 2024-08-13 19:28:30 +02:00
qthelper.h core: remove copy_qstring() function 2024-08-13 19:28:30 +02:00
qtserialbluetooth.cpp cleanup: remove typedef in qtserialbluetooth.cpp 2024-08-13 19:28:30 +02:00
range.h core: replace list of dives in trip by std::vector<> 2024-08-13 19:28:30 +02:00
sample.cpp core: simplify default initialization of struct sample 2024-08-13 19:28:30 +02:00
sample.h core: simplify default initialization of struct sample 2024-08-13 19:28:30 +02:00
save-git.cpp core: remove filterconstraint C boilerplate code 2024-08-13 19:28:30 +02:00
save-html.cpp core: include trip table directly in divelog 2024-08-13 19:28:30 +02:00
save-html.h core: turn C dive-table into an owning table 2024-08-13 19:28:30 +02:00
save-profiledata.cpp desktop: use std::string to format subtitles 2024-08-13 19:28:30 +02:00
save-profiledata.h desktop: use std::string to format subtitles 2024-08-13 19:28:30 +02:00
save-xml.cpp core: remove filterconstraint C boilerplate code 2024-08-13 19:28:30 +02:00
selection.cpp core: make find_next_visible_dive() member of dive_table 2024-08-13 19:28:30 +02:00
selection.h general: remove (void) function parameter declarations 2024-08-13 19:28:30 +02:00
serial_ftdi.cpp general: remove (void) function parameter declarations 2024-08-13 19:28:30 +02:00
serial_usb_android.cpp
serial_usb_android.h
sha1.cpp
sha1.h core: remove __cplusplus ifdefs 2024-08-13 19:28:30 +02:00
statistics.cpp core: turn C dive-table into an owning table 2024-08-13 19:28:30 +02:00
statistics.h core: default initialize units-type objects to 0 2024-08-13 19:28:30 +02:00
string-format.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
string-format.h core: turn trip-table into our own sorted_owning_table 2024-08-13 19:28:30 +02:00
strtod.cpp build: remove extern "C" linkage 2024-08-13 19:28:30 +02:00
subsurface-float.h core: remove __cplusplus ifdefs 2024-08-13 19:28:30 +02:00
subsurface-string.cpp
subsurface-string.h preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
subsurface-time.h build: remove extern "C" linkage 2024-08-13 19:28:30 +02:00
subsurfacestartup.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
subsurfacestartup.h preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
subsurfacesysinfo.cpp build: remove extern "C" linkage 2024-08-13 19:28:30 +02:00
subsurfacesysinfo.h build: remove extern "C" linkage 2024-08-13 19:28:30 +02:00
tag.cpp core: remove structured_list.h 2024-08-13 19:28:30 +02:00
tag.h core: port tag-list to C++ 2024-08-13 19:28:30 +02:00
taxonomy.cpp core: move constructLocationTags from divesite.cpp to taxonomy.cpp 2024-08-13 19:28:30 +02:00
taxonomy.h preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
time.cpp build: remove extern "C" linkage 2024-08-13 19:28:30 +02:00
trip.cpp core: move functions into trip-structure 2024-08-13 19:28:30 +02:00
trip.h core: move functions into trip-structure 2024-08-13 19:28:30 +02:00
triptable.cpp core: move functions into trip-structure 2024-08-13 19:28:30 +02:00
triptable.h core: move functions into trip-structure 2024-08-13 19:28:30 +02:00
uemis-downloader.cpp download: replace progress_bar_text by std::string 2024-08-13 19:28:30 +02:00
uemis.cpp core: convert cylinder_t and cylinder_table to C++ 2024-08-13 19:28:30 +02:00
uemis.h core: remove __cplusplus ifdefs 2024-08-13 19:28:30 +02:00
units.cpp core: move get_distance() from divesite.cpp to units.cpp 2024-08-13 19:28:30 +02:00
units.h core: remove typedefs in units.h 2024-08-13 19:28:30 +02:00
unix.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
uploadDiveLogsDE.cpp core: turn C dive-table into an owning table 2024-08-13 19:28:30 +02:00
uploadDiveLogsDE.h core: remove __cplusplus ifdefs 2024-08-13 19:28:30 +02:00
uploadDiveShare.cpp core: remove membufferpp 2024-08-13 19:28:30 +02:00
uploadDiveShare.h core: remove __cplusplus ifdefs 2024-08-13 19:28:30 +02:00
version.cpp general: remove (void) function parameter declarations 2024-08-13 19:28:30 +02:00
version.h general: remove (void) function parameter declarations 2024-08-13 19:28:30 +02:00
videoframeextractor.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
videoframeextractor.h
webservice.h general: remove (void) function parameter declarations 2024-08-13 19:28:30 +02:00
windows.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
windowtitleupdate.cpp build: remove extern "C" linkage 2024-08-13 19:28:30 +02:00
windowtitleupdate.h
worldmap-options.h
worldmap-save.cpp core: turn C dive-table into an owning table 2024-08-13 19:28:30 +02:00
worldmap-save.h build: remove extern "C" linkage 2024-08-13 19:28:30 +02:00
xmlparams.cpp build: remove extern "C" linkage 2024-08-13 19:28:30 +02:00
xmlparams.h build: remove extern "C" linkage 2024-08-13 19:28:30 +02:00
xmp_parser.cpp
xmp_parser.h