summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/rockmalloc.h (unfollow)
Commit message (Collapse)Author
2013-08-26lua: Switch memory allocator from dl to tlsfMarcin Bukat
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
2010-07-11lua: make DEBUG undefined by default, as doc statesRafaël Carré
use #ifdef / #ifndef and not #if / #if ! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27387 a1c6a512-1295-4272-9138-f99709370657
2009-05-21Commit FS#9174: Lua scripting language by Dan EvertonMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21020 a1c6a512-1295-4272-9138-f99709370657
2009-01-31Various files: make function implementations consistent with their ↵Bertrik Sikken
declaration in the header file or static if they're local. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19892 a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg
later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2006-08-15eeprom driver for the h3x0 series, cleaned up the h1x0 series driver a bit, ↵Peter D'Hoye
added debug entry for h3x0 that allows to write to the eeprom git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10597 a1c6a512-1295-4272-9138-f99709370657
2006-08-07Let eeprom driver return the error number. This is just a cover-up commit to ↵Peter D'Hoye
hide the fact that I broke the eeprom dump in my previous commit. Some code cleanup as bonus. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10480 a1c6a512-1295-4272-9138-f99709370657
2006-08-05Initial EEPROM driver for iriver H1xx.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10462 a1c6a512-1295-4272-9138-f99709370657
2006-03-26Initial version of tagcache! There are still some bugs in the engineMiika Pekkarinen
and much more problems with the UI. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9256 a1c6a512-1295-4272-9138-f99709370657
2005-12-01Set appropriate codec type for .m4a files (ALAC or AAC) inside ↵Dave Chapman
get_metadata(). probe_file_format() is no longer an exported function. Make get_metadata() return false if it can not read the metadata - on the assumption that the codec will also fail. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8118 a1c6a512-1295-4272-9138-f99709370657
2005-09-01Restructured codec type handling a bit. Reduced code size, esp. on archos.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7443 a1c6a512-1295-4272-9138-f99709370657
2005-06-14Move metadata parsing code from playback.c into metadata.cDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6714 a1c6a512-1295-4272-9138-f99709370657
2004-06-19wrong functions have been hereJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4773 a1c6a512-1295-4272-9138-f99709370657
2002-08-02Mingw compile adjustments. Mostly from Bill Napier.Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1521 a1c6a512-1295-4272-9138-f99709370657
2002-07-20defined APPSVERSION for win32 simulator and defined strncasecmpFelix Arends
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1390 a1c6a512-1295-4272-9138-f99709370657
2002-06-191.1 compabilityFelix Arends
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1100 a1c6a512-1295-4272-9138-f99709370657
2002-06-12Threading is working on uisw32 as well now, code is up-to-date, makefile is ↵Felix Arends
up-to-date git-svn-id: svn://svn.rockbox.org/rockbox/trunk@981 a1c6a512-1295-4272-9138-f99709370657
2002-04-27removed unneeded code from lcd.c and renamed it do lcd-win32.cFelix Arends
updated modified constants (LCD_WIDTH, LCD_HEIGHT) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@261 a1c6a512-1295-4272-9138-f99709370657
2002-04-25First Version of UISimulator for Win32Felix Arends
lcd and keypad working for recorder git-svn-id: svn://svn.rockbox.org/rockbox/trunk@221 a1c6a512-1295-4272-9138-f99709370657
2002-04-20First commitLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@156 a1c6a512-1295-4272-9138-f99709370657
2002-04-15First check inBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@93 a1c6a512-1295-4272-9138-f99709370657
2002-04-11firmware typedefs. only bool so farDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@76 a1c6a512-1295-4272-9138-f99709370657
2002-03-26updatesDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26 a1c6a512-1295-4272-9138-f99709370657
2002-03-26lcd_update() works for X11 now...Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15 a1c6a512-1295-4272-9138-f99709370657
2002-03-26generic and specific LCD functionsDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14 a1c6a512-1295-4272-9138-f99709370657