rockbox/apps
Christian Soffke 5bbf1c8e5b tree: fix gui_synclist_scroll_stop called with uninitialized list
Regression introduced in 7a281ec.

Fixes crash with the "remember last folder" setting, when the
saved dir has since been removed:

exit_to_new_screen in dirbrowse calls gui_synclist_scroll_stop
when update_dir returns ≤0 for the number of dir entries.
But synclist has not been initialized by update_dir when it
returns early with -1 due to either tagtree_load or ft_load failing.

Move gui_synclist init further up in update_dir, so that when it
returns, the list is guaranteed to be initialized.

Change-Id: I62aa742a3d0121d5034440ff134992034e13fd90
2026-04-26 11:19:47 -04:00
..
bitmaps Rockbox for the HiBy R3 Pro II/R1 2025-12-27 15:44:54 -05:00
gui wps: Replace menu items "Open With" & "Delete" with "Show in Files" 2026-04-16 21:04:27 -04:00
hosted/android Use SBS title in delete confirmation screens 2026-01-13 20:05:43 -05:00
iap pass event data to usb_acknowledge 2026-01-26 19:47:09 -05:00
keymaps pitchscreen: adjust keymaps for ipod and fiiom3k 2026-04-16 13:35:38 +02:00
lang FS#13883 - Latvian translation update (Renalds Belaks) 2026-04-26 07:33:46 -04:00
menus FS#13877 - Use FONT_UI in the Equalizer and scale sliders to match font size 2026-04-26 08:10:41 -04:00
plugins plugins: sdl: fix LoadWAVStream failing to load WAV files 2026-04-25 15:54:34 +01:00
radio touchscreen: Allow progress bars to be used in the .sbs 2025-12-05 12:02:53 +00:00
recorder pcm: Make more of the low-level PCM API private 2026-03-03 13:09:21 -05:00
abrepeat.c [Cleanup] abrepeat.c 2024-06-20 11:14:27 -04:00
abrepeat.h [Cleanup] abrepeat.c 2024-06-20 11:14:27 -04:00
action.c touchscreen: Integrate gesture API with action system 2025-12-04 08:14:28 -05:00
action.h touchscreen: Fix seeking to end of track in WPS 2025-12-04 19:36:19 -05:00
alarm_menu.c voice: fix regression 39f8685 (already voiced) 2025-05-28 11:18:29 +02:00
alarm_menu.h
appevents.h
applimits.h
apps.make build: add 'lto' to features.txt if built with it 2024-11-30 13:49:42 -05:00
audio_path.c
audio_thread.c pass event data to usb_acknowledge 2026-01-26 19:47:09 -05:00
audio_thread.h
beep.c pcm_mixer: introduce mixer_play_cbs 2026-04-14 06:47:36 -04:00
bookmark.c Use SBS title in delete confirmation screens 2026-01-13 20:05:43 -05:00
bookmark.h
buffering.c Codecs: mp3: Move strip tags to codec 2025-05-26 10:59:56 -04:00
buffering.h Codecs: mp3: Move strip tags to codec 2025-05-26 10:59:56 -04:00
codec_thread.c pcmbuf: remove pcmbuf_sampr 2026-04-14 07:44:16 -04:00
codec_thread.h
codecs.c Add panicf to plugin and codec API 2026-04-21 19:04:25 -04:00
core_asmdefs.c
core_keymap.c add INIT_ATTR to dircache_load and core_load_key_remap 2024-11-26 22:13:43 -05:00
core_keymap.h
cuesheet.c cuesheet: allow playback from arbitrarily named cue file 2025-12-10 17:37:19 -05:00
cuesheet.h
debug_menu.c debug_menu: show 2nd SD/MMC card info only if NUM_DRIVES > 1 2026-03-02 17:10:55 -05:00
debug_menu.h
enc_config.c Settings: Rename INT/BOOL setting type enum to RB_INT/RB_BOOL 2023-09-22 10:00:46 -04:00
enc_config.h
features.txt Rockbox for the HiBy R3 Pro II/R1 2025-12-27 15:44:54 -05:00
fileop.c FS13774 - Translate units in file operation splash messages 2026-02-08 20:02:38 -05:00
fileop.h [Cleanup] onplay.c fileop.c 2024-07-04 12:44:04 -04:00
filetree.c filetree: restrict keep_directory setting (c86fd23) to Files menu 2026-04-02 15:28:31 +02:00
filetree.h Replace "Reload After Saving" with option to remove queued tracks 2024-04-21 18:28:16 +02:00
filetypes.c Fix: read_color_theme_file needed beyond init 2024-11-24 00:42:50 +01:00
filetypes.h filetypes.c compress builtin filetypes 2024-11-19 07:12:41 -05:00
fracmul.h
gesture.c touchscreen: Add gesture velocity helper 2025-12-04 08:14:28 -05:00
gesture.h touchscreen: Add gesture velocity helper 2025-12-04 08:14:28 -05:00
keyboard.h unicode: Support characters beyond the first unicode plane 2025-09-12 09:24:30 -04:00
language.c optimize language.c lang_english_to_id() 2024-12-30 23:17:57 -05:00
language.h lang: Support languages that speak the units before a numerical value 2023-05-22 10:30:13 -04:00
logfdisp.c misc.c open_pathfmt caller supplied buffer 2022-11-23 22:09:46 -05:00
logfdisp.h
main.c validate global_settings.start_directory on startup 2026-02-26 09:50:34 -05:00
menu.c fix yellow 2e9c2da 2026-01-14 17:49:42 +01:00
menu.h menus remove reserved 'param' parameter 2022-12-17 04:24:37 -05:00
misc.c volume: Apply limits inside sound_set_volume() 2026-03-28 08:55:57 -04:00
misc.h validate global_settings.start_directory on startup 2026-02-26 09:50:34 -05:00
onplay.c tagtree: Add menu item "Show in Files" 2026-04-16 21:04:41 -04:00
onplay.h wps: Replace menu items "Open With" & "Delete" with "Show in Files" 2026-04-16 21:04:27 -04:00
open_plugin.c FS#13746: open_plugin_run() doesn't handle "not found" properly 2026-03-05 08:40:12 -05:00
open_plugin.h openplugins -- import and export thru settings save / restore settings 2026-01-22 10:41:50 -05:00
pcmbuf.c pcmbuf: remove pcmbuf_sampr 2026-04-14 07:44:16 -04:00
pcmbuf.h pcmbuf: remove pcmbuf_sampr 2026-04-14 07:44:16 -04:00
playback.c pcmbuf: remove pcmbuf_sampr 2026-04-14 07:44:16 -04:00
playback.h [Feature] playback logging from core 2025-01-13 00:45:09 -05:00
playlist.c settings: fix mismatched resume setting variable types 2026-04-09 18:04:48 +02:00
playlist.h plugins: random folder advance: misc improvements 2026-01-16 16:49:38 +01:00
playlist_catalog.c addendum to 498d581 2025-05-28 12:52:45 +02:00
playlist_catalog.h tagtree: defer context menu disk access 2025-04-17 08:23:45 -04:00
playlist_menu.h
playlist_viewer.c playlist_viewer: add character-based Now Playing indicator 2026-04-16 21:04:06 -04:00
playlist_viewer.h Playlist Catalogue: Restore selection in playlist 2022-11-26 17:20:06 +01:00
plugin.c Add panicf to plugin and codec API 2026-04-21 19:04:25 -04:00
plugin.h Add panicf to plugin and codec API 2026-04-21 19:04:25 -04:00
rbcodec_helpers.c Remove buflib allocation names, part two 2023-01-13 10:32:54 +00:00
rbcodecconfig.h usbaudio: send through dsp (new) 2025-11-15 07:38:19 -05:00
rbcodecplatform.h
README
root_menu.c Eliminate default browser setting (e881655) 2026-04-13 19:20:27 -04:00
root_menu.h
screen_access.c screen_access add set_drawinfo 2025-02-08 00:49:28 -05:00
screen_access.h screen_access add set_drawinfo 2025-02-08 00:49:28 -05:00
screens.c talk: Improvements in voicing "years" 2026-03-01 16:31:27 -05:00
screens.h Show Track Info: Support fs tags in Playlist Viewer, Properties, and PictureFlow 2024-12-16 00:20:10 +01:00
settings.c added setting to retain file browser directory on reboots WIP 2026-03-01 15:05:09 -05:00
settings.h Eliminate default browser setting (e881655) 2026-04-13 19:20:27 -04:00
settings_list.c dsp: add option to swap left and right channels 2026-04-16 21:08:53 -04:00
settings_list.h shortcuts.c don't call settings_apply_skins() unless needed 2025-03-02 23:50:54 -05:00
shortcuts.c Use SBS title in delete confirmation screens 2026-01-13 20:05:43 -05:00
shortcuts.h [Feature] Set values of settings from shortcuts 2025-01-25 15:13:13 -05:00
sound_menu.h
SOURCES Remove Creative Zen Vision and Vision:M ports 2026-02-06 07:31:54 -05:00
status.c
status.h Add a comment about the ordering of 'enum playmode' 2022-11-23 10:08:49 -05:00
tagcache.c tagcache: Prevent a infinite tagcache scan/commit loop 2026-03-01 21:11:36 -05:00
tagcache.h tagtree/tagcache add new clause operator contains_oneof 2026-01-04 22:55:40 -05:00
tagnavi.config tagnavi.config: Add "Album Artists by First Letter" 2025-02-08 12:14:32 -05:00
tagtree.c tagtree/tagcache add new clause operator contains_oneof 2026-01-04 22:55:40 -05:00
tagtree.h Reworks to the shuffle system to improve performance and allow fast shuffling from a big library (but this work for all database views) 2024-08-31 10:44:20 -04:00
talk.c fix FS#13864: Last char of folder and filename not voiced 2026-04-16 07:57:21 -04:00
talk.h talk: Voice the volume name when browsing and when voicing full paths 2024-07-28 16:54:33 -04:00
tree.c tree: fix gui_synclist_scroll_stop called with uninitialized list 2026-04-26 11:19:47 -04:00
tree.h 3ds: 3ds port sources. First set of two 2025-10-23 20:09:09 -04:00
usb_keymaps.c [Bugfix] FS#12436 cache mode strings prior to font disable 2025-03-11 11:41:17 -04:00
usb_keymaps.h [Bugfix] FS#12436 cache mode strings prior to font disable 2025-03-11 11:41:17 -04:00
voice_thread.c pcm_mixer: introduce mixer_play_cbs 2026-04-14 06:47:36 -04:00
voice_thread.h

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