rockbox/apps/plugins
Marcin Bukat a2a2e14e0d lua: Switch memory allocator from dl to tlsf
Instead of providing yet another memory allocator implementation
use tlsf and simply link tlsf library.

Another small improvement is to *grow* memory pool by grabbing
audiobuffer instead of just switching to use audiobuf exclusively.
Tested with simple lua 'memory eater' script.

This patch extends tlsf lib slightly. You can provide
void *get_new_area(size_t * size) function which will override
weak dummy implementation provided in lib itself. This allows to
automaticaly initialize memory pool as well as grow memory
pool if needed (for example grab audiobuffer when pluginbuffer
is exhaused).

Change-Id: I841af6b6b5bbbf546c14cbf139a7723fbb982f1b
2013-08-26 09:42:47 +02:00
..
beatbox Revise the PCM callback system after adding multichannel audio. 2012-03-03 07:23:38 +01:00
bitmaps Created graphics for the numbers in Sudoku and fixed layout for Sansa Clip Zip. 2013-01-27 13:57:27 +01:00
chessbox hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
clock Make fixepoint.c as a shared library (libfixedpoint.a). 2013-04-26 00:11:04 +02:00
doom hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
fft Make fixepoint.c as a shared library (libfixedpoint.a). 2013-04-26 00:11:04 +02:00
fractals hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
frotz
goban hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
imageviewer imageviewer: fix animated gifs handling 2013-04-18 09:42:48 +02:00
lib Make fixepoint.c as a shared library (libfixedpoint.a). 2013-04-26 00:11:04 +02:00
lua lua: Switch memory allocator from dl to tlsf 2013-08-26 09:42:47 +02:00
midi plugin_midi: expand gustable[] to 128 entries 2013-06-16 18:33:57 +02:00
mikmod Deprecate the EXTRA_LIBS variable. 2013-01-24 16:06:45 +01:00
mpegplayer Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
pacbox Pacbox: add fuze+ to the targets that can manage full frames 2012-11-21 11:26:39 +01:00
pdbox Deprecate the EXTRA_LIBS variable. 2013-01-24 16:06:45 +01:00
pictureflow [Fuze+] PictureFlow: complete keys mapping 2012-12-26 17:30:31 +01:00
reversi hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
rockboy [Fuze+][Keymaps] Application and viewer keymaps update 2013-07-18 20:24:06 +02:00
searchengine
shortcuts
sudoku hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
text_viewer hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
zxbox hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
alarmclock.c Use crc32 of filename to resume tracks 2013-01-02 08:29:38 +01:00
alpine_cdc.c plugins: another round of making local things static and adding missing #includes 2011-12-28 11:32:13 +00:00
battery_bench.c Creative Zen x-fi: fix battery bench plugin 2012-05-20 17:06:14 +02:00
bench_mem_jpeg.c
bench_scaler.c
blackjack.c blackjack: c200 keymap is identical to clip keymap 2013-02-18 09:20:27 +01:00
boomshine.lua Use PLA in boomshine.lua instead of the awkward kbd_input context. This enables it on RaaA. 2012-01-27 09:15:05 +01:00
bounce.c Make fixepoint.c as a shared library (libfixedpoint.a). 2013-04-26 00:11:04 +02:00
brickmania.c brickmania: Disable resuming after game over 2012-04-30 12:06:05 +02:00
bubbles.c Make fixepoint.c as a shared library (libfixedpoint.a). 2013-04-26 00:11:04 +02:00
BUILD_OVERLAY
calculator.c [Fuze+][Keymaps] Application and viewer keymaps update 2013-07-18 20:24:06 +02:00
calendar.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
CATEGORIES imageviewer: gif viewer based on giflib-5.0.2 2012-11-13 18:13:10 +01:00
chessbox.c
chessclock.c [Fuze+][Keymaps] Application and viewer keymaps update 2013-07-18 20:24:06 +02:00
chip8.c [Fuze+][Keymaps] Application and viewer keymaps update 2013-07-18 20:24:06 +02:00
chopper.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
clix.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
codebuster.c
credits.c
credits.pl
crypt_firmware.c
cube.c Cube plugin fix 2013-08-12 10:35:48 +02:00
demystify.c
dice.c
dict.c
disktidy.c disktidy: don't use "abort" for variable name as it might conflict 2011-12-14 04:42:03 +00: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
elfdep.pl
euroconverter.c
fire.c Make fixepoint.c as a shared library (libfixedpoint.a). 2013-04-26 00:11:04 +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 hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
goban.c
greyscale.c
helloworld.c
helloworld.lua
invadrox.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04: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 hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
keybox.c
lamp.c Additional colors for lamp.rock 2013-02-04 09:08:16 +01:00
logo.c Plugin logo PLA integration (code + manual) 2012-03-03 12:05:58 +01:00
lrcplayer.c Use crc32 of filename to resume tracks 2013-01-02 08:29:38 +01: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 Tweak paramters of mp3_play_data and callback. 2012-03-04 14:50:47 -05:00
minesweeper.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
mosaique.c Plugin mosaique PLA integration (code + manual) 2012-03-03 16:37:47 +01:00
mp3_encoder.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
nim.c
oscilloscope.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
pegbox.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
pictureflow.c
pitch_detector.c Revise the PCM callback system after adding multichannel audio. 2012-03-03 07:23:38 +01:00
plasma.c Make fixepoint.c as a shared library (libfixedpoint.a). 2013-04-26 00:11:04 +02:00
plugin.lds Fix .ncbss from possibly overlapping .ncdata in plugins/codecs. 2013-07-11 04:32:23 -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 Make fixepoint.c as a shared library (libfixedpoint.a). 2013-04-26 00:11:04 +02:00
pong.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
properties.c Use two lined display in properties. 2012-04-09 18:56:08 +02:00
random_folder_advance_config.c Option to constrain get_next_dir() to directories below global_settings.start_directory. 2012-03-19 11:49:55 +01:00
remote_control.c
resistor.c
robotfindskitten.c
rockblox.c Fix rockblox instadrop behaviour 2013-06-09 21:44:01 +02: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 [Fuze+][Keymaps] Application and viewer keymaps update 2013-07-18 20:24:06 +02: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
sliding_puzzle.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
snake.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
snake2.c snake2: clip/m200 use same keypad than e200/c200 2013-02-18 09:20:27 +01:00
snake2.levels
snow.c Plugin snow PLA integration (code + manual) 2012-03-03 10:48:22 +01:00
sokoban.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
sokoban.levels
solitaire.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
sort.c
SOURCES Oops, two test plugins were left in apps/plugins/SOURCES. 2013-07-05 22:32:56 -04:00
SOURCES.app_build clix: Add cells for 320x480. Enable for touchscreen RaaA. 2012-01-30 00:51:43 +01:00
spacerocks.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
splitedit.c
star.c hm801: Add support for plugins. 2012-04-19 17:31:13 +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 Fix stop watch plugin from inserting 0 second laps if a new lap is started with the timer off. 2012-06-14 04:24:54 +02:00
stopwatch.lua stopwatch.lua: Improve button layout. Enable on touchscreen RaaA. 2012-01-29 22:35:49 +01:00
SUBDIRS hm60x: Add support for plugins. 2012-04-19 17:31:13 +04:00
SUBDIRS.app_build reversi: Fix viewport initialization. Improve button layout for portrait. Enable for toucschreen RaaA. 2012-01-30 00:17:47 +01:00
superdom.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
test_boost.c
test_codec.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
test_core_jpeg.c
test_disk.c revert changes in test_disk.c introduced by accident in r30459 2012-03-22 18:37:55 +01:00
test_fps.c test_X plugins PLA integration 2012-03-03 19:55:51 +01:00
test_gfx.c rbpaths: Add new special dir HOME_DIR for RaaA. 2011-12-25 20:11:18 +00: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: silence -Wunused-but-set-variable warning 2013-06-13 18:56:23 +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 [ONDAV VX777][simulator] fix missing keymaps in test_touchscreen 2013-07-29 19:07:19 +02:00
test_viewports.c
test_viewports.lua
text_editor.c Don't reinvent ctype.h functions 2012-05-07 18:43:12 +02: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 imageviewer: gif viewer based on giflib-5.0.2 2012-11-13 18:13:10 +01:00
vu_meter.c [Fuze+][Keymaps] Application and viewer keymaps update 2013-07-18 20:24:06 +02:00
wav2wv.c
wavplay.c
wavrecord.c
wavview.c
wormlet.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
xobox.c hm801: Add support for plugins. 2012-04-19 17:31:13 +04:00
zxbox.c