Commit graph

8 commits

Author SHA1 Message Date
Marc Durdin
f7cd0c41ba fix(core): handle backspace decomposition
Ensure that when a single backspace decomposes the last NFC character in
the app context, the remainder of the 'cluster' is preserved, matching
the implication of the CLDR keyboard specification.

This addresses the behavior in #15487 where the cached context became
out of sync with the app context after deleting an entire NFC cluster
such as ê, which caused a loop ending up with the entire context being
deleted, at which point the loop exited with a fail-safe.

Note that the LDML keyboard tests (ldml.cpp) do not currently exercise
the normalization code; this is a gap that should be addressed to ensure
that we are testing final application behavior.

Fixes: #15487
2026-01-25 07:24:15 +11:00
Steven R. Loomis
05299cd129 feat(common): dx: fix cast in 32 bit Debug_UnicodeString 🙀
For: #10004
2023-11-14 07:31:58 -06:00
Steven R. Loomis
eb705ba312 feat(core): dx: 32 bit Debug_UnicodeString() 🙀
For: #10004
2023-11-14 07:17:01 -06:00
Eberhard Beilharz
604fbc1a75
chore(linux): Rename namespace kbp to core 2023-10-19 10:39:55 +02:00
Steven R. Loomis
30f33ecd4e fix(core): don't use double newlines in debuglog
- syslog() will automatically add newlines (per mac and linux manpages)
- there's no reason to add NL *AND* add std::endl
- this fix will cause syslog to have no newline going in, and print only one instead of two newlines on other platforms/environments
2023-07-12 12:34:33 -05:00
Steven R. Loomis
1f2d8e782a fix(core): sprintf to snprintf 2022-11-04 15:06:12 -05:00
Marc Durdin
920d22795c chore(core): additional cleanup 2022-10-21 15:33:09 +11:00
Marc Durdin
ae68f059b8 chore(core): move DebugLog into parent folder
Fixes #7447.
2022-10-21 15:26:41 +11:00