1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps
Aidan MacDonald 8aa3b22160 settings: Update int fallback check for settings with cfg_vals
This atoi() was added long ago in commit d490f441, and it looks
like it's intended to allow arbitrary values in table settings.
These table settings have some symbolic values (eg. off, on) but
are otherwise int-valued.

As far as I can see the only settings that can take this branch
are all table settings with F_ALLOW_ARBITRARY_VALS. It doesn't
make a lot of sense to accept random integers without that flag,
so make the atoi() conversion dependent on it.

Change-Id: I7bb1bc4997601b73ad8dcbf2f3ddf434d16adf23
2022-12-01 13:59:49 -05:00
..
bitmaps Rename symbols of FiiO M3K Linux-based port 2021-02-27 23:53:28 +00:00
gui misc.c open_pathfmt caller supplied buffer 2022-11-23 22:09:46 -05:00
hosted/android replace strlcpy with strmemccpy 2022-11-14 23:56:16 -05:00
iap fix yellow iap-core.c 2022-11-17 04:43:38 -05:00
keymaps Enable access to Shortcuts Menu from QuickScreen 2022-10-25 03:26:51 +02:00
lang translations: Update US English "translation" 2022-11-15 09:56:07 -05:00
menus Playlist Catalogue: Restore selection in playlist 2022-11-26 17:20:06 +01:00
plugins Fix Red lib/helper.h 2022-11-23 23:55:45 -05:00
radio skin engine: Reduce scope of internal wps_data struct 2022-11-15 14:20:31 +00:00
recorder convert a few more strlcpy to strmemccpy calls Fix Red and Yellow 2022-11-15 01:24:26 -05:00
abrepeat.c [3/4] Completely remove HWCODEC support 2020-07-24 21:20:13 +00:00
abrepeat.h [3/4] Completely remove HWCODEC support 2020-07-24 21:20:13 +00:00
action.c move buflib_free invalid handle check to the function 2022-10-15 09:26:58 -04:00
action.h key remap: simplify and use movable allocations 2022-09-25 11:05:59 +01:00
alarm_menu.c alarm_menu share setter with settime 2022-03-30 09:05:28 -04:00
alarm_menu.h Fix menu warnings 2018-10-18 00:06:31 +02:00
appevents.h Get voice event out of playback.c 2017-12-12 20:28:56 -05:00
applimits.h
apps.make
audio_path.c nwza860: fix simulator build 2020-10-19 03:39:33 +00:00
audio_thread.c Get voice event out of playback.c 2017-12-12 20:28:56 -05:00
audio_thread.h Update software recording engine to latest codec interface. 2013-06-30 00:40:27 +02:00
beep.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
bookmark.c Bug Fix bookmark.c fix resume_info overwritten 2022-11-30 00:01:47 -05:00
bookmark.h Fix return to root after selecting items from playlist viewer 2022-11-19 10:01:23 +01:00
buffering.c replace strlcpy with strmemccpy 2022-11-14 23:56:16 -05:00
buffering.h buffering: remove bufgettail/bufcuttail 2022-04-20 16:51:49 -04:00
codec_thread.c codec_thread.c don't overrun audio_formats[] array 2021-08-11 10:56:14 -04:00
codec_thread.h Update software recording engine to latest codec interface. 2013-06-30 00:40:27 +02:00
codecs.c [3/4] Completely remove HWCODEC support 2020-07-24 21:20:13 +00:00
core_asmdefs.c
core_keymap.c key remap: simplify and use movable allocations 2022-09-25 11:05:59 +01:00
core_keymap.h key remap: simplify and use movable allocations 2022-09-25 11:05:59 +01:00
cuesheet.c cuesheet.c guard against invalid digits causing underflow on field ASAN 2022-11-21 23:24:30 -05:00
cuesheet.h [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
debug_menu.c misc.c open_pathfmt caller supplied buffer 2022-11-23 22:09:46 -05:00
debug_menu.h Fix menu warnings 2018-10-18 00:06:31 +02:00
enc_config.c enc_config.c don't overrun mp3_enc_bitr[] array 2021-08-11 11:00:03 -04:00
enc_config.h Fix menu warnings 2018-10-18 00:06:31 +02:00
features.txt Reset settings on button hold 2022-06-21 22:43:39 -04:00
filetree.c filetree.c add back SORT_ALPHA_REVERSED 2022-11-23 00:51:54 -05:00
filetree.h Don't autoload bookmarks after saving dynamic playlist 2022-10-18 07:23:25 -04:00
filetypes.c misc.c open_pathfmt caller supplied buffer 2022-11-23 22:09:46 -05:00
filetypes.h filetypes.c clean-up 2022-11-22 15:19:45 -05:00
fracmul.h Build librbcodec with DSP and metadata. 2012-03-18 12:00:39 +01:00
keyboard.h [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
language.c language.c fix possible buffer overrun 2021-08-03 00:57:35 +00:00
language.h
logfdisp.c misc.c open_pathfmt caller supplied buffer 2022-11-23 22:09:46 -05:00
logfdisp.h
main.c add splash_progress 2022-10-09 08:46:51 -04:00
menu.c Fix menus in Settings 2022-11-15 22:43:41 +01:00
menu.h do_menu pass internal synclist reference to callback 2020-07-19 22:10:26 +00:00
misc.c Fix Red confirm_delete, CHECKWPS & DBTOOL 2022-11-24 23:44:35 -05:00
misc.h move confirm delete prompt to misc.c 2022-11-24 23:09:26 -05:00
onplay.c Playlist Catalogue: Restore selection in playlist 2022-11-26 17:20:06 +01:00
onplay.h Hotkeys: Add placeholder for function return value 2022-11-23 01:22:14 -05:00
open_plugin.c open_plugins add name when plugin can't open & check LANG_LAST_INDEX_IN_ARRAY 2022-11-17 01:43:16 -05:00
open_plugin.h open_plugins add name when plugin can't open & check LANG_LAST_INDEX_IN_ARRAY 2022-11-17 01:43:16 -05:00
pcmbuf.c Additional Single Mode options 2021-12-11 11:43:39 -05:00
pcmbuf.h Fix a problem with audio not starting on a list of short files 2017-04-06 19:32:35 -04:00
playback.c fix strptokspn, add strcspn, fix splash.c 2022-11-13 01:14:49 -05:00
playback.h Option to switch off album art or to prefer file over embedded 2022-01-22 08:29:40 -05:00
playlist.c playlist_create fix race condition 2022-11-30 23:15:49 -05:00
playlist.h [3/4] Completely remove HWCODEC support 2020-07-24 21:20:13 +00:00
playlist_catalog.c Playlist Catalogue: Return to opened playlists 2022-11-26 17:20:06 +01:00
playlist_catalog.h Fix return to root after selecting items from playlist viewer 2022-11-19 10:01:23 +01:00
playlist_menu.h
playlist_viewer.c Playlist Catalogue: Restore selection in playlist 2022-11-26 17:20:06 +01:00
playlist_viewer.h Playlist Catalogue: Restore selection in playlist 2022-11-26 17:20:06 +01:00
plugin.c PictureFlow: Minor fixes & changed defaults 2022-10-22 09:33:50 +02:00
plugin.h PictureFlow: Minor fixes & changed defaults 2022-10-22 09:33:50 +02:00
rbcodec_helpers.c move buflib_free invalid handle check to the function 2022-10-15 09:26:58 -04:00
rbcodecconfig.h kernel: Break out kernel primitives into separate files and move to separate dir. 2014-03-03 18:11:57 +01:00
rbcodecplatform.h rbcodec: abstract tdspeed buffer allocation 2012-05-07 10:29:07 +02:00
README
root_menu.c Settings/System/Plugins: Go to WPS when ACTION_TREEE_WPS is pressed 2022-11-23 01:24:59 -05:00
root_menu.h Add open_plugin to core 2020-08-17 10:15:14 -04:00
screen_access.c make splash split on control characters 2022-11-12 06:22:16 -05:00
screen_access.h make splash split on control characters 2022-11-12 06:22:16 -05:00
screens.c replace strlcpy with strmemccpy 2022-11-14 23:56:16 -05:00
screens.h Remove dead code 2022-04-16 10:18:28 -04:00
settings.c settings: Update int fallback check for settings with cfg_vals 2022-12-01 13:59:49 -05:00
settings.h settings: Add helper function for handling filename settings 2022-12-01 13:07:24 -05:00
settings_list.c settings: Remove unused INT_SETTING_W_CFGVALS 2022-12-01 13:07:24 -05:00
settings_list.h make int_setting step & unit int16_t 2022-11-20 13:57:09 -05:00
shortcuts.c move confirm delete prompt to misc.c 2022-11-24 23:09:26 -05:00
shortcuts.h shortcuts: talk the time and configure the sleep timeout 2011-12-08 10:23:46 +00:00
sound_menu.h Fix menu warnings 2018-10-18 00:06:31 +02:00
SOURCES LastFm remove scrobbler from core make a TSR plugin WIP 2022-03-26 02:50:11 -04:00
status.c [2/4] get rid of HAVE_LCD_CHARCELLS 2020-07-24 21:20:13 +00:00
status.h Add a comment about the ordering of 'enum playmode' 2022-11-23 10:08:49 -05:00
tagcache.c misc.c open_pathfmt caller supplied buffer 2022-11-23 22:09:46 -05:00
tagcache.h PictureFlow: Minor fixes & changed defaults 2022-10-22 09:33:50 +02:00
tagnavi.config tagtree: Support user override config file 2021-12-24 10:41:27 -05:00
tagtree.c tagtree remove unneeded strlen 2022-11-23 11:01:19 -05:00
tagtree.h Database: Restore selection in lower menu levels 2022-11-14 05:47:10 +01:00
talk.c misc.c open_pathfmt caller supplied buffer 2022-11-23 22:09:46 -05:00
talk.h talk.c clean up 2022-11-19 02:12:09 -05:00
tree.c filetypes.c clean-up 2022-11-22 15:19:45 -05:00
tree.h Database: Remove firstpos/pos_history 2022-11-02 07:19:36 -04:00
usb_keymaps.c Document intentional fallthroughs + fix harmless unintended ones 2021-08-04 18:59:46 +00:00
usb_keymaps.h
voice_thread.c voice_thread.c ensure cpu gets re-boosted after Q_VOICE_STOP event 2021-09-29 01:18:00 -04:00
voice_thread.h voice: Allow voice prompt volume to be configurable 2021-03-07 12:51:36 +00:00

For general information see: docs/README
For API information see: docs/API