rockbox/apps/plugins/lua
Solomon Peachy a2c10f6189 unicode: Support characters beyond the first unicode plane
We used 16-bit variables to store the 'character code' everywhere but
this won't let us represent anything beyond U+FFFF.

This patch changes those variables to a custom type that can be 32 or 16
bits depending on the build, and adjusts numerous internal APIs and
datastructures to match.  This includes:

 * utf8decode() and friends
 * font manipulation, caching, rendering, and generation
 * on-screen keyboard
 * FAT filesystem (parsing and generating utf16 LFNs)
 * WIN32 simulator platform code

Note that this patch doesn't _enable_ >16bit unicode support; a followup
patch will turn that on for appropriate targets.

Appears to work on:

  * hosted linux, native, linux simulator in both 16/32-bit modes.

Needs testing on:

  * windows and macos simulator (16bit+32bit)

Change-Id: Iba111b27d2433019b6bff937cf1ebd2c4353a0e8
2025-09-12 09:24:30 -04:00
..
include_lua Allow first level folders in plugin menu 2024-05-05 14:01:43 -04:00
action_helper.pl
button_helper.pl
lapi.c lua extend stars demo plugin 2024-04-28 01:03:16 -04:00
lapi.h
lauxlib.c lua Fix a few potential bugs 2021-08-13 22:44:45 -04:00
lauxlib.h
lbaselib.c
lbitlib.c
lcode.c
lcode.h
ldebug.c misc: Properly annotate some intentional case fallthroughs 2025-04-22 20:54:37 -04:00
ldebug.h
ldo.c
ldo.h
ldump.c
lfunc.c
lfunc.h
lgc.c
lgc.h
liolib.c
llex.c misc: Properly annotate some intentional case fallthroughs 2025-04-22 20:54:37 -04:00
llex.h
llimits.h
lmathlib.c lua Fix a few potential bugs 2021-08-13 22:44:45 -04:00
lmem.c
lmem.h
loadlib.c
lobject.c
lobject.h
lopcodes.c
lopcodes.h
loslib.c
lparser.c lua Fix a few potential bugs 2021-08-13 22:44:45 -04:00
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 lua: button_helper needs $(EXTRA_DEFINES) on the host build side 2024-09-08 12:57:22 -04:00
lua_user.c
lua_user.h
luaconf.h lua extend stars demo plugin 2024-04-28 01:03:16 -04:00
luadir.c
luadir.h
lualib.h
lundump.c
lundump.h
lvm.c
lvm.h
lzio.c
lzio.h
Makefile
rbdefines_helper.pl Don't force gcc as host compiler + fix clang warnings 2024-12-20 05:29:18 +01:00
README
rockaux.c lua: Fix Windows Simulator build. 2024-06-22 10:06:47 -04:00
rockconf.h
rocklib.c unicode: Support characters beyond the first unicode plane 2025-09-12 09:24:30 -04:00
rocklib.h
rocklib_aux.pl
rocklib_events.c lua: rocklib_events fix 2023-01-02 13:38:08 -05:00
rocklib_events.h
rocklib_img.c fix red rli_img 2024-04-18 13:40:01 -04:00
rocklib_img.h
rocklibc.h
rocklua.c [Feature] File Picker Plugin 2024-07-30 14:55:07 -04:00
settings_helper.pl
SOURCES
strftime.c
strpbrk.c
strstr.c
strtol.c
strtoul.c
tlsf_helper.c [BugFix] tlsf get_new_area should return 0u or OOM 2024-04-27 03:23:43 -04: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
    strftime.c
    strpbrk.c
    strtol.c
    strtoul.c
    strstr.c