1
0
Fork 0
forked from len0rd/rockbox
foxbox/lib/rbcodec/metadata
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
..
a52.c
aac.c metadata: aac: support .aac files with mp4 container inside 2024-09-23 17:43:13 +03:00
adx.c
aiff.c
ape.c Remove structec API from codecs 2023-10-01 12:10:41 +01:00
asap.c
asf.c misc: Clean up a pile of -Wunused-const-variable warnings 2025-04-21 21:13:59 -04:00
au.c
ay.c
flac.c metadata: opus, vorbis, speex: support embedded jpeg album art 2025-02-08 10:02:21 +02:00
gbs.c
hes.c
id3tags.c unicode: Support characters beyond the first unicode plane 2025-09-12 09:24:30 -04:00
kss.c
metadata.c Reapply "buffering: remove bufgettail/bufcuttail" 2025-05-26 10:59:56 -04:00
metadata.h Reapply "buffering: remove bufgettail/bufcuttail" 2025-05-26 10:59:56 -04:00
metadata_common.c [BugFix] Fix some Shif related UB -- ASAN 2023-01-04 22:00:25 -05:00
metadata_common.h metadata: opus, vorbis, speex: support embedded jpeg album art 2025-02-08 10:02:21 +02:00
metadata_parsers.h
mod.c
monkeys.c
mp3.c Convert non-ASCII characters to UTF-8 2024-12-15 21:16:12 -05:00
mp3data.c
mp3data.h
mp4.c fix yellow in c53e9ba27d 2025-06-27 10:08:28 -04:00
mpc.c Remove ATRAC3 specific fields (channels, extradata_size) from mp3entry 2024-02-02 09:36:53 -05:00
nsf.c
ogg.c metadata: opus, vorbis, speex: support embedded jpeg album art 2025-02-08 10:02:21 +02:00
oma.c Remove ATRAC3 specific fields (channels, extradata_size) from mp3entry 2024-02-02 09:36:53 -05:00
replaygain.c strlcpy finish cleanup 2022-11-17 01:54:46 -05:00
replaygain.h
rm.c Remove ATRAC3 specific fields (channels, extradata_size) from mp3entry 2024-02-02 09:36:53 -05:00
sgc.c
sid.c metadata: sid: allow RSIDs as well 2023-02-07 09:19:32 -05:00
smaf.c
spc.c
tta.c Remove ATRAC3 specific fields (channels, extradata_size) from mp3entry 2024-02-02 09:36:53 -05:00
vgm.c
vorbis.c metadata: opus, vorbis, speex: Don't fill metadata buffer with album art and cuesheet 2025-04-01 08:33:16 -04:00
vox.c
vtx.c
wave.c Remove ATRAC3 specific fields (channels, extradata_size) from mp3entry 2024-02-02 09:36:53 -05:00
wavpack.c