hex/ios/HEXMobileTests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel deb70761da iOS keyboard: Canadian and Swiss French get Apple's apostrophe key ending row 2
What: Français (Canada)'s QWERTY and Français (Suisse)'s QWERTZ are now Apple's
"QWERTY – French" and "QWERTZ – French", the first layout each region lists in
Settings › Keyboards › Add New Keyboard: row 2 is A to L and the apostrophe key,
ten keys a letter wide edge to edge under row 1's; rows 1 and 3, shift, delete
and row 4 stay as they were. The key is the one #2354 added after N on France's
AZERTY, with the same rules: ’ after a letter (' where the field doesn't curl
quotes), ´ anywhere else, holds ` ‘ ’ ' and ¨ ˆ ˋ ´.

- KeyboardLanguage: isFrench (France, Canada, Switzerland); letterRows gives
  Canada's QWERTY and Switzerland's QWERTZ their own rows; keyCoordinates puts
  their row 2 edge to edge (offsets 0, 0, 1.5).
- FrenchTyping hooks (typeLayoutRules, typesFrenchApostrophe, the label
  redraw in textDidChange, the iPad's padRows filter) cover all three French
  languages, as frenchElisionFix already did (now reading isFrench).
- France's QWERTY and QWERTZ, and Canada's and Switzerland's other layouts,
  stay the plain ones. AutocorrectEngine.swift is untouched.

Why: the follow-up from #2354's table of Apple's layouts: Apple's Canadian
and Swiss French keyboards default to these "– French" layouts.

Verified: Apple's keyboards on iOS 27.2 simulators (iPhone 17 Pro and SE,
upright and turned), black box: row 2's keycaps match Hex's to the pixel on
all eight (Canada and Switzerland x two phones x two orientations), rows 1 to
3 too (SE turned: 0.5 pt on row 3, as on origin/dev). Apple's Swiss key
typed and held exactly as France's (each of the eight held options); Hex's
fr-CH on the 17 Pro and fr-CA on the SE typed "l'hpmme qu'il " as
"l’homme qu’il ", ´ after a space or a digit, and Hex's Swiss holds gave the
same eight characters as Apple's. xcodebuild test on origin/dev 9588830c plus
this change (iPhone 17 Pro, iOS 27.2): 804 tests, 0 failures, 3 skipped.
code-shape passes.
2026-11-22 05:32:48 -05:00
..
Fixtures iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
AutocorrectEngineTests.swift iOS keyboard: French AZERTY gets Apple's apostrophe key after N (#2354) 2026-11-22 05:09:39 -05:00
CleanupTaggerTests.swift iOS keyboard: stale microphone errors clear, Hex key audio calls leave the main thread, counts read 1, 2, 3 (#2203) 2026-11-21 10:08:42 -05:00
CustomVocabularyTests.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00
DictationControllerTests.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
DictationLanguageTests.swift iOS: dictate Latin American Spanish with Latin America's model, and keep a picked variant when the keyboard switches (#2193) 2026-11-21 09:53:34 -05:00
DictationLearningTests.swift iOS: hold the bar to dictate, Learn how I type on, a plain centred Paste, and typing logs off (#2210) 2026-11-21 12:11:58 -05:00
DotScopeTests.swift fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
EmojiPanelLettersKeyTests.swift iOS dictation: no spaces or stray full stops around Chinese and Japanese; the bar's emoji panel says Back (#2347) 2026-11-22 03:47:53 -05:00
EmojiSuggesterTests.swift iOS: swipe reads the letters under the path, and the emoji bar scrubs (#2189) 2026-11-21 08:47:45 -05:00
FullKeyboardEngineTests.swift iOS keyboard: Canadian and Swiss French get Apple's apostrophe key ending row 2 2026-11-22 05:32:48 -05:00
HangulComposerTests.swift iOS keyboard: Korean two-set (두벌식) layout with Hangul composition (experiment, off by default) (#2339) 2026-11-22 04:39:53 -05:00
HexKeyGestureTests.swift iOS: Undo dictation works after the cursor moves, and goes when it can't (#2240) 2026-11-21 15:15:23 -05:00
KeyboardBridgeTests.swift iOS dictation: no spaces or stray full stops around Chinese and Japanese; the bar's emoji panel says Back (#2347) 2026-11-22 03:47:53 -05:00
KeyboardDuoCoverTests.swift ios: smaller key labels on the duo's cover screen (#2346) 2026-11-22 04:35:44 -05:00
KeyboardLayoutTests.swift iOS keyboard: Canadian and Swiss French get Apple's apostrophe key ending row 2 2026-11-22 05:32:48 -05:00
KeyboardSwitchGuessTests.swift iOS: the dictation bar can start dictating by itself (Auto-start: never, on switch, always) (#2267) 2026-11-21 17:08:50 -05:00
LaggingField.swift iOS keyboard: Korean two-set (두벌식) layout with Hangul composition (experiment, off by default) (#2339) 2026-11-22 04:39:53 -05:00
LanguageLearningTests.swift ios: learn each language separately (experiment) (#2188) 2026-11-21 09:00:58 -05:00
ShiftStateMachineTests.swift iOS keyboard: no automatic hand-off or Code from Messages where Apple's keyboard is split (#2349) 2026-11-22 04:16:08 -05:00
SwipeDecoderTests.swift iOS: swipe reads the letters under the path, and the emoji bar scrubs (#2189) 2026-11-21 08:47:45 -05:00
TranscriptCleanupTests.swift iOS dictation: no spaces or stray full stops around Chinese and Japanese; the bar's emoji panel says Back (#2347) 2026-11-22 03:47:53 -05:00
TwoLanguageMergeTests.swift iOS: two-language dictation experiment (#2348) 2026-11-22 04:58:27 -05:00
TwoThumbSelectionTests.swift iOS: two-thumb selection on the space bar (experiment, off by default) (#2265) 2026-11-21 20:44:15 -05:00
TypingLogTests.swift iOS: hold the bar to dictate, Learn how I type on, a plain centred Paste, and typing logs off (#2210) 2026-11-21 12:11:58 -05:00
TypingReplayTests.swift iOS keyboard: the typing replay reports all-words accuracy, contractions and taps read as swipes (#2287) 2026-11-21 20:32:00 -05:00