subsurface/core
Berthold Stoeger ae26875a61 Use the copy_string() helper function in set_filename()
copy_string() does the same as the current code, but in one instead
of four lines. Strictly speaking, it does not exactly the same thing
because the empty string ("") case is handled differently. copy_string()
returns NULL instead of a copy of "", which is probably preferred anyway.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2017-12-11 00:17:39 +01:00
..
subsurface-qt Fix crash when dives have no dive site 2017-11-25 08:19:47 -08:00
android.cpp win32: optimize the console and logging logic 2017-11-03 07:49:11 -07:00
btdiscovery.cpp Show BT device names first 2017-12-07 18:15:40 +01:00
btdiscovery.h
checkcloudconnection.cpp Allocate CheckCloudConnection object on stack 2017-12-06 02:23:47 +01:00
checkcloudconnection.h Remove self-include of core/checkcloudconnection.h 2017-12-06 02:23:47 +01:00
cloudstorage.cpp Constify strings in pref.h 2017-11-18 21:57:33 +01:00
cloudstorage.h
CMakeLists.txt Cleanup: rename file to avoid confusion 2017-12-08 16:29:49 +01:00
cochran.c
cochran.h
color.cpp
color.h
compressibility.r
configuredivecomputer.cpp
configuredivecomputer.h
configuredivecomputerthreads.cpp Fix typo: LENGHT -> LENGTH 2017-11-17 15:29:42 +01:00
configuredivecomputerthreads.h
connectionlistmodel.cpp
connectionlistmodel.h
datatrak.c
datatrak.h
deco.c Remove unnecessary #include and correct whitespace 2017-12-01 15:47:51 -08:00
deco.h Localize global planner state 2017-11-25 20:13:01 +01:00
device.c Init every struct sample with default values 2017-11-13 20:50:10 -08:00
device.h
devicedetails.cpp
devicedetails.h
display.h Display values in info box only if value is interesting 2017-11-13 20:50:10 -08:00
dive.c Cleanup: remove unused parameter 2017-12-08 16:29:49 +01:00
dive.h Remove second parameter (bool force) in set_filename() 2017-12-11 00:17:39 +01:00
divecomputer.cpp
divecomputer.h
divelist.c Localize global planner state 2017-11-25 20:13:01 +01:00
divelist.h Localize global planner state 2017-11-25 20:13:01 +01:00
divelogexportlogic.cpp
divelogexportlogic.h
divesite-helper.cpp Cleanup: rename file to avoid confusion 2017-12-08 16:29:49 +01:00
divesite.c
divesite.h
divesitehelpers.cpp
divesitehelpers.h
downloadfromdcthread.cpp Add debug output for vendor/product tuples 2017-12-02 18:14:23 -08:00
downloadfromdcthread.h Make Bluetooth naming consistent 2017-11-13 20:48:17 -08:00
equipment.c Code cleanup: Move index declarations into for loop 2017-11-27 22:40:16 +01:00
errorhelper.c
exif.cpp
exif.h
file.c
file.h
gas-model.c
gaspressures.c Properly declare 'has_gaschange_event()' function 2017-11-17 15:25:26 +01:00
gaspressures.h
gettext.h
gettextfromc.cpp
gettextfromc.h
git-access.c Gracefully handle cloud authentication failure in verbose mode 2017-12-05 11:31:39 -08:00
git-access.h
gpslocation.cpp
gpslocation.h
helpers.h
imagedownloader.cpp
imagedownloader.h
import-cobalt.c Move Cobalt DB import to its own file 2017-11-29 01:22:17 +01:00
import-divinglog.c Move Divinglog DB import into its own file 2017-11-29 01:22:17 +01:00
import-shearwater.c Move Shearwater DB import into its own file 2017-11-29 01:22:17 +01:00
import-suunto.c Move Suunto DB import into its own file 2017-11-29 01:22:17 +01:00
isocialnetworkintegration.cpp
isocialnetworkintegration.h
libdivecomputer.c During DC import reset cns, ndl, other values inbetween dives 2017-11-16 08:32:46 +01:00
libdivecomputer.h
linux.c Clean up system_default_filename() 2017-11-22 19:22:29 +01:00
liquivision.c
load-git.c Store and load the planner related depth info of a cylinder in logfile 2017-11-27 11:49:08 -08:00
macos.c Clean up system_default_filename() 2017-11-22 19:22:29 +01:00
membuffer.c
membuffer.h Refactore parse-xml.c into parse.c and parse-xml.c 2017-11-27 13:42:10 -08:00
metrics.cpp
metrics.h
ostctools.c
parse-xml.c Move Cobalt and Divinglog DB parsing to parse-db.c 2017-11-27 13:42:10 -08:00
parse.c Remove commented out code 2017-11-29 01:22:17 +01:00
parse.h Move atoi_n to parse.c 2017-11-27 13:42:10 -08:00
planner.c Actually compute variations in background 2017-12-01 15:47:51 -08:00
planner.h
plannernotes.c Document background computation of variations 2017-12-01 15:47:51 -08:00
pluginmanager.cpp
pluginmanager.h
pref.h Fix ownership issues in preferences code 2017-11-25 07:41:09 -08:00
prefs-macros.h Fix ownership issues in preferences code 2017-11-25 07:41:09 -08:00
profile.c Fix signed/unsigned issue 2017-11-29 14:56:39 -08:00
profile.h Hand planner variables to profile 2017-11-25 20:13:01 +01:00
qt-ble.cpp Better error message on BLE connection timeout 2017-11-13 20:44:26 -08:00
qt-ble.h
qt-gui.h Remove dead code 2017-11-19 12:20:43 -08:00
qt-init.cpp
qthelper.cpp Use the copy_string() helper function in set_filename() 2017-12-11 00:17:39 +01:00
qthelper.h Localize global planner state 2017-11-25 20:13:01 +01:00
qthelperfromc.h Run variations calculation in background 2017-11-25 20:13:01 +01:00
qtserialbluetooth.cpp Fix typo: successfull -> successful and succesfully -> successfully 2017-11-20 10:01:15 +01:00
save-git.c Store and load the planner related depth info of a cylinder in logfile 2017-11-27 11:49:08 -08:00
save-html.c
save-html.h
save-xml.c Store and load the planner related depth info of a cylinder in logfile 2017-11-27 11:49:08 -08:00
serial_ftdi.c
sha1.c
sha1.h
statistics.c
statistics.h
strndup.h
strtod.c
subsurfacestartup.c location service: reduce default thresholds 2017-12-10 11:38:19 -08:00
subsurfacestartup.h Fix ownership issues in preferences code 2017-11-25 07:41:09 -08:00
subsurfacesysinfo.cpp
subsurfacesysinfo.h
taxonomy.c
taxonomy.h
time.c
uemis-downloader.c
uemis.c
uemis.h
units.h Change prefs.show_units_table to bool 2017-11-24 07:56:10 -08:00
version.c
version.h
webservice.h
windows.c Clean up system_default_filename() 2017-11-22 19:22:29 +01:00
windowtitleupdate.cpp
windowtitleupdate.h
worldmap-options.h
worldmap-save.c
worldmap-save.h