rockbox/apps/plugins
William Wilgus df4cb9bafc Lua fix strip_extension and create_numbered_filename
Both of these functions modified the string in the lua stack

per lua manual:
'When a C function receives a string argument from Lua,
there are only two rules that it must observe: Not to pop the string
from the stack while accessing it and never to modify the string'

strip_extension will still work with old parameters
and is thus backwards compatible
strip_extension("filename")

create_numbered_filename has changed slightly and IS NOT backwards compatible

create_numbered_filename(path, prefix, suffix, [number])
(number defaults to -1)

Change-Id: I34cf7e2f6f691f33d5ac2b2e995855a171fb99b3
2018-10-24 06:05:53 +02:00
..
beatbox Replace SAMSUNG_YH920_PAD with YH92X 2016-01-25 09:23:09 +01:00
bitmaps puzzles: add missing file 2017-11-21 19:54:14 -05:00
chessbox Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
clock Make fixepoint.c as a shared library (libfixedpoint.a). 2013-04-26 00:11:04 +02:00
doom Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
fft Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
fractals Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
frotz Plugin Frotz: Match keymap and manual 2016-01-09 19:46:21 +01:00
goban Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
imageviewer Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
lib Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
lua Lua fix strip_extension and create_numbered_filename 2018-10-24 06:05:53 +02:00
midi Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
mikmod Fix dangerous casts 2017-02-04 17:24:47 +01:00
mpegplayer mips: fix some compile warnings. 2018-10-09 22:35:37 -04:00
pacbox pacbox: fix screen and buttons for Creative Zen 2018-08-05 15:19:07 +02:00
pdbox pdbox: fix bug shown by new gcc warning 2016-10-12 16:52:49 +02:00
pictureflow Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
puzzles puzzles: resync with upstream 2018-06-20 19:13:03 -04:00
reversi Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
rockboy Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
sdl sdl: remove non-rockbox drivers 2018-03-12 20:52:01 -04:00
searchengine
shortcuts
sudoku Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
text_viewer Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
xworld Agptek Rocker: Build plugins 2018-06-12 10:31:15 +02:00
zxbox Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
2048.c 2048: Cleanup 2015-04-19 17:48:12 +02:00
alarmclock.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
alpine_cdc.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
battery_bench.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
bench_mem_jpeg.c
bench_scaler.c
blackjack.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
boomshine.lua Rename 'expanded' to 'expended'. Was this a typo? 2015-04-19 12:23:22 +02:00
bounce.c Replace SAMSUNG_YH920_PAD with YH92X 2016-01-25 09:23:09 +01:00
brickmania.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
bubbles.c Replace SAMSUNG_YH920_PAD with YH92X 2016-01-25 09:23:09 +01:00
BUILD_OVERLAY
calculator.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
calendar.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
CATEGORIES Port of Duke Nukem 3D 2017-12-23 21:01:26 -05:00
chessbox.c
chessclock.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
chip8.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
chopper.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
clix.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
codebuster.c
credits.c
credits.pl
crypt_firmware.c
cube.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
demystify.c
dice.c
dict.c
disktidy.c Fixed disktidy bug and added a couple of new features to disktidy. 2014-10-09 09:43:40 +02:00
disktidy.config Revert r31239 and r31250. Selecting ALL in disktidy used to be generally safe for most people, and these changes change that, making it easy to delete most or all of a user's music. This is a *very* bad idea. 2011-12-26 00:03:28 +00:00
duke3d.c Port of Duke Nukem 3D 2017-12-23 21:01:26 -05:00
elfdep.pl
euroconverter.c
fire.c lcd-24bit: Introduce a 24-bit mid-level LCD driver 2014-06-21 00:15:53 +02:00
fireworks.c fireworks: ues PLA_EXIT to exit without going through the menu. 2012-02-24 15:06:18 +01:00
firmware_flash.c
flipit.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
goban.c
greyscale.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
helloworld.c
helloworld.lua
invadrox.c Zen XFi2: Enable Plugins 2018-04-03 11:34:01 +02:00
iriver_flash.c
iriverify.c
jackpot.c plugins: another round of making local things static and adding missing #includes 2011-12-28 11:32:13 +00:00
jewels.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
keybox.c Keybox: display the entry name along with the password 2017-08-27 15:43:11 -04:00
lamp.c Lamp plugin: Allow toggling the button light using "select". 2015-02-22 12:22:40 +01:00
logo.c Fix some build errors and warnings. 2014-06-21 00:49:05 +02:00
lrcplayer.c Fix dangerous casts 2017-02-04 17:24:47 +01:00
main_menu_config.c Fix misleading indentation as pointed out by the new gcc warning 2016-08-12 15:33:28 +02:00
matrix.c matrix plugin: Fix out-of-bounds array access. Unify for-loop style. 2012-06-03 23:37:33 +02:00
maze.c
mazezam.c
md5sum.c
metronome.c YH8xx,YH9xx: Keymap improvement 2015-11-15 23:46:39 +01:00
minesweeper.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
mosaique.c Plugin mosaique PLA integration (code + manual) 2012-03-03 16:37:47 +01:00
mp3_encoder.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
nim.c
oscilloscope.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
otp.c Undo hacks to meant to get around string formatting limitations 2017-11-21 05:01:14 -05:00
pegbox.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
periodic_table.c Add tentative new element names, IUPAC approval expected around November 2016-12-04 18:05:51 +01:00
pictureflow.c
pitch_detector.c Revise the PCM callback system after adding multichannel audio. 2012-03-03 07:23:38 +01:00
pixel-painter.lua FS#11922: Lua game - Pixel Painter 2017-08-23 00:25:11 +02:00
plasma.c lcd-24bit: Introduce a 24-bit mid-level LCD driver 2014-06-21 00:15:53 +02:00
plugin.lds iPod Classic: disable IRAM1 2018-07-30 18:50:27 -04:00
plugin_crt0.c Commit to certain names for cache coherency APIs and discard the aliases. 2011-12-17 07:27:24 +00:00
plugins.make iBasso DX50/DX90: Major code cleanup and reorganization. 2015-02-02 21:57:55 +01:00
pong.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
properties.c Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
random_folder_advance_config.c plugins: Add plugin_release_audio_buffer(). 2014-04-09 09:04:10 +02:00
remote_control.c
resistor.c scroll_engine: Rename scroll_stop* functions to be more consistent with the lcd api. 2013-12-14 23:11:30 +01:00
robotfindskitten.c
rockblox.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
rockblox1d.c rockblox1d's plugin PLA integration (main code + manual) 2012-02-18 23:57:22 +01:00
rockbox-fonts.config
rockbox_flash.c Improve rockbox_flash messages 2012-02-05 16:26:09 +01:00
rockboy.c
rocklife.c
rockpaint.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
search.c
settings_dumper.c EQ settings: Rework the settings to clean up the config file. 2013-02-09 13:05:32 +01:00
shopper.c Shopper: slightly improve plugin and manual 2015-09-24 23:15:24 +02:00
sliding_puzzle.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
snake.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
snake2.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
snake2.levels
snow.c Plugin snow PLA integration (code + manual) 2012-03-03 10:48:22 +01:00
sokoban.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
sokoban.levels
solitaire.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
sort.c
SOURCES duke3d: restrict targets to ARM only 2017-12-24 18:01:28 -05:00
SOURCES.app_build iBasso DX50/DX90: Major code cleanup and reorganization. 2015-02-02 21:57:55 +01:00
spacerocks.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
speedread.c Remove redundant code 2017-03-15 18:14:13 -04:00
splitedit.c Replace SAMSUNG_YH920_PAD with YH92X 2016-01-25 09:23:09 +01:00
star.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
starfield.c Clean up peak calculating code. 2012-05-02 20:53:07 -04:00
stats.c stats's plugin PLA integration (main code + manual) 2012-02-22 09:15:50 +01:00
stopwatch.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
stopwatch.lua stopwatch.lua: Improve button layout. Enable on touchscreen RaaA. 2012-01-29 22:35:49 +01:00
SUBDIRS pacbox for small screens, up to 75x96 2018-04-03 00:21:40 +02:00
SUBDIRS.app_build iBasso DX50/DX90: Major code cleanup and reorganization. 2015-02-02 21:57:55 +01:00
superdom.c Superdom: Silence warning. 2014-09-14 05:16:10 +02:00
test_boost.c
test_codec.c Get test_codec synced with changes in 6c868dd 2017-12-08 21:32:54 -05:00
test_core_jpeg.c
test_disk.c Align test_disk buffer for DMA. 2016-04-01 19:57:44 +02:00
test_fps.c test_X plugins PLA integration 2012-03-03 19:55:51 +01:00
test_gfx.c test_gfx: Add benchmark for put_line(). 2014-01-07 14:13:41 +01:00
test_grey.c test_X plugins PLA integration 2012-03-03 19:55:51 +01:00
test_greylib_bitmap_scale.c test_X plugins PLA integration 2012-03-03 19:55:51 +01:00
test_mem.c test_mem: increase dram buffer if possible, cap number of iterations 2017-10-22 15:36:13 +02:00
test_mem_jpeg.c
test_resize.c
test_sampr.c Revise the PCM callback system after adding multichannel audio. 2012-03-03 07:23:38 +01:00
test_scanrate.c test_X plugins PLA integration 2012-03-03 19:55:51 +01:00
test_touchscreen.c Zen XFi2: Enable Plugins 2018-04-03 11:34:01 +02:00
test_viewports.c lcd-16bit: Remove {lss,lse,lst}_pattern fields from struct viewport. 2014-01-07 14:13:48 +01:00
test_viewports.lua
text_editor.c Fix Samsung YH92X/YH820 keypad conditional in text_editor 2017-05-06 21:34:21 -04:00
theme_remove.c
vbrfix.c
video.c Tweak paramters of mp3_play_data and callback. 2012-03-04 14:50:47 -05:00
viewers.config Speed-reading plugin 2017-03-15 15:02:53 -04:00
vu_meter.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
wav2wv.c
wavplay.c
wavrecord.c wavrecord plugin: Add harmless sanity check 2014-12-21 17:22:09 +01:00
wavview.c
wormlet.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
xobox.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
zxbox.c