Some Android devices (e.g., Mobiscribe Wave) incorrectly report
ACONFIGURATION_TOUCHSCREEN_NOTOUCH despite having a functioning
touchscreen. This prevents touch zone registration in the reader
view, making documents unusable via touch.
Check the new brokenTouchReport quirk from android-luajit-launcher
as a fallback. (#12349)
Fix valgrind error about uninitialized memory access when called with both `str` and `path` being null:
```
==270340== Syscall param openat(filename) points to unaddressable byte(s)
==270340== at 0x4B9E047: internal_syscall_cancel (sysdep-cancel.h:44)
==270340== by 0x4B9E047: syscall_cancel (sysdep-cancel.h:79)
==270340== by 0x4B9E047: open (open64.c:41)
==270340== by 0x4B1B882: _IO_file_open (fileops.c:233)
==270340== by 0x4B1BA4A: _IO_file_fopen@@GLIBC_2.2.5 (fileops.c:331)
==270340== by 0x4B0ED72: __fopen_internal (iofopen.c:75)
==270340== by 0x407F86A: lj_vm_ffi_call (buildvm_x86.dasc:2850)
==270340== by 0x405A455: lj_ccall_func (lj_ccall.c:1241)
==270340== by 0x405AD7E: lj_cf_ffi_meta___call (lib_ffi.c:230)
==270340== by 0x407D379: lj_BC_FUNCC (buildvm_x86.dasc:857)
==270340== by 0x406D11E: lua_pcall (lj_api.c:1135)
==270340== by 0x4008D5B: docall (luajit.c:137)
==270340== by 0x400913E: dostring (luajit.c:191)
==270340== by 0x40097ED: runargs (luajit.c:473)
==270340== by 0x40097ED: pmain (luajit.c:561)
==270340== Address 0x0 is not stack'd, malloc'd or (recently) free'd
```
Fixes#13278.
* Add correct external keyboard punctuation key names
* Compose physical-keyboard text via a layout and TextInput
* Expand to multiple possible layers
* Add XKB conversion script
* Give ourselves some dead key support
* Add license identifier
* Improve AltGr
* Group the layouts together
* And add the common layouts
* Expand with regular US international (with regular non-AltGr dead keys)
* Add some other scripts (that should do it)
* [fix] Avoid rotating up/down in external keyboards along with the device orientation
* Log keyboard layout in case of issues
* Also listen to PrintScr 'cause that's what the thing is for, isn't it
---------
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
Bilingual and monolingual StarDict dictionaries built from Princeton
WordNet, the Open Multilingual Wordnet and Wiktionary, each with an
inflection index. Kept in a generated file merged at load time, the way
the WikDict list is, so the entries can be refreshed by regenerating it.
Only dictionaries whose measured coverage of the 10,000 most frequent
words clears 60% are listed.