d8a07768c5
Slim rework of despotak's modified-keypad fix in #97290. Mirror existing non-keypad mappings for modified keypad keys, including lock-state variants, so Alt+keypad Enter reaches the existing newline handler rather than leaking [57414;3u into the draft. Preserve installed twin mappings before consulting pending aliases, matching first-writer-wins registration. Replace the source PR's keyed branch ladder with a format table and verify parser parity plus real buffer insertion with two invariant tests. Document keypad multiline support in English and Chinese. Live PTY: the exact doubled leak after a real collapsed paste reproduces on main; all 21 editor cases pass with the fix, including ordinary Enter and legacy Alt+Enter controls. Whitespace also reproduces on main: adjacent characters are not the root cause. Co-authored-by: Christos Despotakis <christos@despotak.is>
Contributor email → GitHub login mappings
This directory replaces appending entries to AUTHOR_MAP in
scripts/release.py. The old dict caused constant merge conflicts when
several salvage PRs landed at once — every PR edited the same lines of the
same file. Here, each mapping is its own file, and file additions never
conflict.
Adding a mapping
One file per commit-author email, under emails/:
python3 scripts/add_contributor.py <email> <github-login>
# or by hand:
echo "<github-login>" > contributors/emails/<email>
- File name = the exact commit-author email (as shown by
git log --format='%ae'). - File content = the GitHub login on the first non-comment line.
Lines starting with
#are comments (use them for the PR reference).
Example — contributors/emails/jane.doe@example.com:
janedoe
# PR #12345 salvage (gateway: fix session key routing)
Rules
- Do NOT add new entries to
AUTHOR_MAPinscripts/release.py. That dict is frozen legacy data; the release tooling merges it with this directory (directory entries win on duplicates). - GitHub noreply emails (
<id>+<login>@users.noreply.github.comand<login>@users.noreply.github.com) auto-resolve — no file needed. - The
Contributor Attribution CheckCI job fails a PR whose commits carry an unmapped email; the failure message prints the exact command to run.