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
button_helper.pl
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
lauxlib.h
lbaselib.c
lbitlib.c
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
llex.h
llimits.h
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
lobject.c
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
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
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
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
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
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
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