rockbox/apps/plugins/lua
William Wilgus 400603abdf Lua -- Fix device hang when scroll function active on clear_screen
I previously noticed that manually clearing the framebuffer while scroll
function was active caused lua to crash

I could reproduce in sim and on device but I thought using the plugin
supplied rb->lcd_clear_screen was immune to this issue

Unfortunately some devices exhibit this behavior with the plugin function
as well

This patch adds rb->lcd_scroll_stop() before lcd_clear_screen at lua start-up
and to the supplied include file lcd.lua

Change-Id: I9800145e5c834ea27df5db5f1bca50b0d40faa49
2018-07-27 15:09:55 +02:00
..
include_lua Lua -- Fix device hang when scroll function active on clear_screen 2018-07-27 15:09:55 +02:00
action_helper.pl Lua: Add pluginlib_actions wrapper for lua scripts. 2012-01-27 09:15:05 +01: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 Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
gmtime.c Limit more variables to file scope 2015-01-11 21:40:51 +01:00
lapi.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lapi.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lauxlib.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lauxlib.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lbaselib.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lbitlib.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lcode.c Fix lua failure to catch divide by zero and NaN exceptions 2018-06-05 18:47:57 +02:00
lcode.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
ldebug.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
ldebug.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
ldo.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
ldo.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
ldump.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lfunc.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lfunc.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lgc.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lgc.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
liolib.c Lua liolib 2018-05-28 02:36:23 +02:00
llex.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
llex.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
llimits.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lmathlib.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lmem.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lmem.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
loadlib.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lobject.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lobject.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lopcodes.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lopcodes.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
loslib.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lparser.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lparser.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lstate.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lstate.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lstring.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lstring.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lstrlib.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
ltable.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
ltable.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
ltablib.c Fix misleading indentation as pointed out by the new gcc warning 2016-08-12 15:33:28 +02:00
ltm.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
ltm.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lua.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lua.make Try #4 for lua make 2018-07-24 08:31:19 +02:00
luaconf.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
luadir.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
luadir.h FS#11347 by me: *dir LUA functions: luadir module 2010-06-18 13:10:14 +00:00
lualib.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lundump.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lundump.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lvm.c Fix lua failure to catch divide by zero and NaN exceptions 2018-06-05 18:47:57 +02:00
lvm.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lzio.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
lzio.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
Makefile FS#12144, Use -fPIC -fvisibility=hidden only for plugins on sim and app builds and enable it for 32 bit too. Fixes linking errors on simbuilds. 2011-06-07 11:56:23 +00:00
README lua: Switch memory allocator from dl to tlsf 2013-08-26 09:42:47 +02: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 Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
rocklib.c Rocklua -- Extend / Fix rliImage 2018-07-23 05:13:32 +02:00
rocklib.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
rocklib_aux.pl Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
rocklibc.h Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
rocklua.c Lua -- Fix device hang when scroll function active on clear_screen 2018-07-27 15:09:55 +02:00
SOURCES Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
strcspn.c Revert "Update lua plugin to 5.2.3" 2014-04-02 20:46:06 +02:00
strftime.c Fix yellow & red 2009-05-27 23:02:17 +00:00
strncat.c Fix misleading indentation as pointed out by the new gcc warning 2016-08-12 15:33:28 +02:00
strpbrk.c Initial commit of the Samsung YP-R0 port. 2011-12-24 11:56:46 +00:00
strstr.c
strtol.c
strtoul.c
tlsf_helper.c lua: Switch memory allocator from dl to tlsf 2013-08-26 09:42:47 +02:00

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