subsurface/core
Linus Torvalds 92ecbc8c83 parse-xml: use the right dc for filling in extra data
"cur_dc" may be NULL when the XML source isn't a subsurface XML file,
and xml parsing is supposed to use "get_dc()" to pick a dive computer
when the nesting of the XML may not be proper.

Now, XML sources that don't have the proper dive computer nesting
markers generally also do not end up having the extra-data string
information, but one example of this is the simple XML that the
libdivecomputer 'dctool' program generates.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-22 10:38:11 -07:00
..
subsurface-qt
android.cpp
btdiscovery.cpp
btdiscovery.h
checkcloudconnection.cpp
checkcloudconnection.h
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
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
file.c
file.h
gas-model.c
gaspressures.c
gaspressures.h
gettext.h
gettextfromc.cpp
gettextfromc.h
git-access.c
git-access.h
gpslocation.cpp
gpslocation.h
helpers.h
imagedownloader.cpp
imagedownloader.h
isocialnetworkintegration.cpp
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
parse-xml.c
planner.c
planner.h
plannernotes.c
pluginmanager.cpp
pluginmanager.h
pref.h
prefs-macros.h
profile.c
profile.h
qt-ble.cpp
qt-ble.h
qt-gui.h
qt-init.cpp
qthelper.cpp
qthelper.h
qthelperfromc.h
qtserialbluetooth.cpp
save-git.c
save-html.c
save-html.h
save-xml.c
serial_ftdi.c
sha1.c
sha1.h
statistics.c
statistics.h
strndup.h
strtod.c
subsurfacestartup.c
subsurfacestartup.h
subsurfacesysinfo.cpp
subsurfacesysinfo.h
taxonomy.c
taxonomy.h
time.c
uemis-downloader.c
uemis.c
uemis.h
units.h
version.c
version.h
webservice.h
windows.c
windowtitleupdate.cpp
windowtitleupdate.h
worldmap-options.h
worldmap-save.c
worldmap-save.h