rockbox/apps/plugins/lua
Thomas Martitz 6eaab4d004 Ged rid of uisimulator/common/io.c for android builds.
Use host's functions for file i/o directly (open(), close() ,etc.), not the sim_* variants.
Some dir functions need to be wrapped still because we need to cache the parents dir's path (host's dirent doesn't let us know).
For the same reason (incompatibility) with host's dirent) detach some members from Rockbox' dirent struct and put it into an extra one,
the values can be retrieved via the new dir_get_info().

Get rid of the sim_ prefix for sleep as well and change the signature to unix sleep().

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27968 a1c6a512-1295-4272-9138-f99709370657
2010-09-01 21:29:34 +00:00
..
action_helper.pl Lua: make sure action.h gets C preprocessed before processing it 2009-05-28 22:02:53 +00:00
button_helper.pl Lua: always expose BUTTON_TOUCHSCREEN and remove BUTTON_ constants from rocklib.c 2009-07-03 23:03:07 +00:00
fscanf.c Lua fscanf: use pointer of file descriptor instead of file descriptor itself to avoid 64-bit pointer<->int clash (aka fix yellow). 2010-02-13 14:51:38 +00:00
gmtime.c Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
lapi.c
lapi.h
lauxlib.c Lua: add the package library 2009-06-25 13:26:05 +00:00
lauxlib.h * read_bmp_*(): add FORMAT_RETURN_SIZE 2009-05-25 11:12:27 +00:00
lbaselib.c
lbitlib.c Correct the includes; the old way broke parallel builds. 2009-06-09 11:23:25 +00:00
lcode.c
lcode.h
ldebug.c
ldebug.h
ldo.c
ldo.h
ldump.c
lfunc.c
lfunc.h
lgc.c
lgc.h
liolib.c Make open() posix compliant api-wise. A few calls (those with O_CREAT) need the additional optional mode parameter so add it. Impact for the core is almost zero, as open() is a wrapper macro for the real open function which doesn't take the variable parameter. 2010-05-06 17:35:13 +00:00
llex.c Lua: 2009-05-22 01:03:22 +00:00
llex.h
llimits.h Commit FS#9174: Lua scripting language by Dan Everton 2009-05-21 19:01:41 +00:00
lmathlib.c Lua: add parts of the math library (all floating point functions are #ifdef'ed out) 2009-10-23 10:49:55 +00:00
lmem.c
lmem.h
loadlib.c Lua: because Rockbox doesn't support any current working directory functionality, 'hack' loadlib so it replace '$' in LUA_PATH_DEFAULT with the directory wherein the current script is. 2009-07-01 17:01:22 +00:00
lobject.c Revert r21863 partly: fixes Lua 2009-07-15 15:16:55 +00:00
lobject.h
lopcodes.c
lopcodes.h
loslib.c Fix two warnings that appear with gcc4.4.3. The one in recording.c ("compact_view is used uninitialized" seems to be false positive unfortunately). 2010-03-08 23:56:54 +00:00
lparser.c
lparser.h
lstate.c
lstate.h
lstring.c
lstring.h
lstrlib.c Revert r21863 partly: fixes Lua 2009-07-15 15:16:55 +00:00
ltable.c
ltable.h
ltablib.c
ltm.c
ltm.h
lua.h
lua.make Rename/change SIMVER to APP_TYPE in the Makefiles. 2010-07-10 13:49:49 +00:00
luaconf.h Lua: implement the ^ and % operators 2009-07-27 16:06:51 +00:00
luadir.c Ged rid of uisimulator/common/io.c for android builds. 2010-09-01 21:29:34 +00:00
luadir.h FS#11347 by me: *dir LUA functions: luadir module 2010-06-18 13:10:14 +00:00
lualib.h Lua: add bitlib (makes bitwise operators possible) 2009-06-01 22:02:18 +00:00
lundump.c
lundump.h
lvm.c
lvm.h
lzio.c
lzio.h
Makefile Rename/change SIMVER to APP_TYPE in the Makefiles. 2010-07-10 13:49:49 +00:00
malloc.c lua: make DEBUG undefined by default, as doc states 2010-07-11 16:46:45 +00:00
README Lua: add support for os library 2009-05-27 22:48:50 +00:00
rockaux.c Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). 2010-06-21 16:53:00 +00:00
rockconf.h Move setjmp to lib and add setjmp for sh (imported from newlib) and compile it as separate library. 2010-08-24 12:38:42 +00:00
rocklib.c Lua: document rocklib_aux.pl a bit, so it's easier to find out about it when stumbling over a CC error in rocklib_aux.c 2010-06-18 12:28:34 +00:00
rocklib.h Lua: because Rockbox doesn't support any current working directory functionality, 'hack' loadlib so it replace '$' in LUA_PATH_DEFAULT with the directory wherein the current script is. 2009-07-01 17:01:22 +00:00
rocklib_aux.pl FS#11347 by me: *dir LUA functions: luadir module 2010-06-18 13:10:14 +00:00
rocklibc.h Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). 2010-06-21 16:53:00 +00:00
rocklua.c Second try: Introduce plugin_crt0.c that every plugin links. 2010-08-24 14:30:46 +00:00
rockmalloc.c
rockmalloc.h lua: make DEBUG undefined by default, as doc states 2010-07-11 16:46:45 +00:00
SOURCES FS#11347 by me: *dir LUA functions: luadir module 2010-06-18 13:10:14 +00:00
strcspn.c
strftime.c Fix yellow & red 2009-05-27 23:02:17 +00:00
strncat.c
strpbrk.c
strstr.c
strtol.c
strtoul.c

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

    gmtime.c
    strcspn.c
    strftime.c
    strncat.c
    strpbrk.c
    strtol.c
    strtoul.c
    strstr.c

The malloc routine is Doug Lea's malloc with the following license:

  Version 2.8.3 Thu Sep 22 11:16:15 2005  Doug Lea  (dl at gee)

  This is a version (aka dlmalloc) of malloc/free/realloc written by
  Doug Lea and released to the public domain, as explained at
  http://creativecommons.org/licenses/publicdomain.  Send questions,
  comments, complaints, performance data, etc to dl@cs.oswego.edu