rockbox/apps/plugins/lua
Christian Soffke f0d99391de plugins: random folder advance: misc improvements
fixes:
- traverse_dir was called recursively using two
  MAX_PATH local buffers => possible stack overflow
- The import function inserted additional, incorrect,
  entries when the whole line buffer was filled
- "Dirs not found" message overlapped number
  of folders when generating folder list
- Final number of scanned folders wasn't displayed
- Wouldn't stop inserting when maximum number
  of files in playlist was already reached
- Prevent buffer overflow when importing
- Don't write to fd after opening failed
- Use whole buffer with read_line, instead
  of subtracting 1. Remove hard coded sizes
- CRs don't need to be removed in import function
  (already handled by read_line)

features:
- Use insert context for *much* faster insertion
  of large # of folders, and nicer progress display
- Use UI viewport
- Add progress indicator when saving or loading
- Display number of folders in edit list title
- Go back to plugin's main menu from edit list
- Only ask to save changes if list is dirty
- Warn before erasing modified playlist
- Flag successfully created playlist as modified
- Make folder scan wait for dircache
- Shorten menu item names
- Put "Play Shuffled" menu item first
- Remember selection when returning from submenus
- Go to WPS after ACTION_TREE_WPS
- Exit menu when pressing Back
- Perform an initial scan, if no data file exists
  yet, when "Play Shuffled" or "Edit" is selected

Change-Id: I7df76f8fb8387888ce491d8b74b01b481e9997d3
2026-01-16 16:49:38 +01:00
..
include_lua lua plugin remove strfrtime in favor of strfrtm.lua 2026-01-08 21:39:54 -05:00
lua_tests lua plugin remove strfrtime in favor of strfrtm.lua 2026-01-08 21:39:54 -05:00
action_helper.pl
button_helper.pl
lapi.c lua extend stars demo plugin 2024-04-28 01:03:16 -04:00
lapi.h
lauxlib.c lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
lauxlib.h
lbaselib.c
lbitlib.c
lcode.c lua fix potential null warning 2021-08-03 11:02:15 +00:00
lcode.h
ldebug.c misc: Properly annotate some intentional case fallthroughs 2025-04-22 20:54:37 -04:00
ldebug.h
ldo.c
ldo.h
ldump.c
lfunc.c
lfunc.h
lgc.c
lgc.h
liolib.c lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
llex.c misc: Properly annotate some intentional case fallthroughs 2025-04-22 20:54:37 -04:00
llex.h
llimits.h
lmathlib.c lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
lmem.c
lmem.h
loadlib.c lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
lobject.c
lobject.h
lopcodes.c
lopcodes.h
loslib.c lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
lparser.c lua Fix a few potential bugs 2021-08-13 22:44:45 -04:00
lparser.h
lstate.c
lstate.h
lstring.c
lstring.h
lstrlib.c
ltable.c
ltable.h
ltablib.c
ltm.c
ltm.h
lua.h
lua.make lua: button_helper needs $(EXTRA_DEFINES) on the host build side 2024-09-08 12:57:22 -04:00
lua_user.c
lua_user.h
luaconf.h lua extend stars demo plugin 2024-04-28 01:03:16 -04:00
luadir.c lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
luadir.h
lualib.h
lundump.c
lundump.h
lvm.c
lvm.h
lzio.c
lzio.h
Makefile build: Rename SHARED_LDFLAG to SHARED_LDFLAGS 2021-07-08 19:53:05 -04:00
rbdefines_helper.pl plugins - Add PLUGIN_GOTO_ROOT - lua add PLUGIN_GOTO_ROOT and PLUGIN_ERROR 2025-12-05 12:03:58 -05:00
README plugins: add strstr() to plugin API 2025-12-12 13:30:54 +00:00
rockaux.c lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
rockconf.h lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
rocklib.c plugins: random folder advance: misc improvements 2026-01-16 16:49:38 +01:00
rocklib.h
rocklib_aux.pl plugin api: Add audio_pre_ff_rewind to plugin's API 2025-12-29 19:58:26 +05:00
rocklib_events.c lua: rocklib_events fix 2023-01-02 13:38:08 -05:00
rocklib_events.h
rocklib_img.c Bugfix lua font_getstringsize ignoring supplied fontid 2025-12-14 17:51:29 -05:00
rocklib_img.h
rocklibc.h lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
rocklua.c lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
settings_helper.pl
SOURCES lua plugin remove strfrtime in favor of strfrtm.lua 2026-01-08 21:39:54 -05:00
strftime.c lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
strpbrk.c
tlsf_helper.c [BugFix] tlsf get_new_area should return 0u or OOM 2024-04-27 03:23:43 -04:00

The following files are (with slight modifications for Rockbox) from dietlibc
version 0.31 which is licensed under the GPL version 2:

    gmtime.c
    strftime.c