forked from len0rd/rockbox
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 |
||
|---|---|---|
| .. | ||
| action_helper.c | ||
| action_helper.h | ||
| action_helper.pl | ||
| arg_helper.c | ||
| arg_helper.h | ||
| bmp_smooth_scale.c | ||
| button_helper.c | ||
| button_helper.h | ||
| button_helper.pl | ||
| checkbox.c | ||
| checkbox.h | ||
| configfile.c | ||
| configfile.h | ||
| display_text.c | ||
| display_text.h | ||
| feature_wrappers.h | ||
| gcc-support.c | ||
| grey.h | ||
| grey_coldfire.S | ||
| grey_core.c | ||
| grey_draw.c | ||
| grey_parm.c | ||
| grey_scroll.c | ||
| helper.c | ||
| helper.h | ||
| highscore.c | ||
| highscore.h | ||
| icon_helper.c | ||
| icon_helper.h | ||
| jhash.c | ||
| jhash.h | ||
| jpeg_mem.h | ||
| kbd_helper.c | ||
| kbd_helper.h | ||
| keymaps.h | ||
| md5.c | ||
| md5.h | ||
| mul_id3.c | ||
| mul_id3.h | ||
| mylcd.h | ||
| osd.c | ||
| osd.h | ||
| overlay.c | ||
| overlay.h | ||
| picture.c | ||
| picture.h | ||
| playback_control.c | ||
| playback_control.h | ||
| pluginlib_actions.c | ||
| pluginlib_actions.h | ||
| pluginlib_albumart.c | ||
| pluginlib_bmp.c | ||
| pluginlib_bmp.h | ||
| pluginlib_exit.h | ||
| pluginlib_jpeg_idct_arm.S | ||
| pluginlib_jpeg_load.c | ||
| pluginlib_jpeg_mem.c | ||
| pluginlib_resize.c | ||
| pluginlib_touchscreen.c | ||
| pluginlib_touchscreen.h | ||
| printcell_helper.c | ||
| printcell_helper.h | ||
| profile_plugin.c | ||
| profile_plugin.h | ||
| read_image.c | ||
| read_image.h | ||
| rgb_hsv.c | ||
| rgb_hsv.h | ||
| sha1.c | ||
| sha1.h | ||
| simple_viewer.c | ||
| simple_viewer.h | ||
| SOURCES | ||
| stdio_compat.c | ||
| stdio_compat.h | ||
| strncpy.c | ||
| wrappers.h | ||
| xlcd.h | ||
| xlcd_core.c | ||
| xlcd_draw.c | ||
| xlcd_scroll.c | ||