mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
What: KeyboardLanguage.french now lays out Apple's AZERTY: a z e r t y u i o p / q s d f g h j k l m / w x c v b n, with W to N under E to I and shift and delete at their English size, a gap beside each (buildKeys already centres a short row 3 and keeps full-size modifiers when the letters fit, so nothing is squeezed). Two layouts are added: Français (Canada), `fr-CA`, on QWERTY (the previous French layout), and Français (Suisse), `fr-CH`, on QWERTZ. Automatic resolution picks them for fr-CA and fr-CH dictation, keyboard and preferred languages, and AZERTY for every other French (fr, fr-FR, fr-BE). Settings › Keyboard layout lists them through allCases: Français (France), (Canada), (Suisse). The French long-press lists now copy Apple's order from the simulator's TextInput_fr (û before ù, ª on A and º on O). Autocorrect's neighbouring-key map puts AZERTY's row 2 edge to edge and row 3 under e. Replaced: the saved layout value "fr" used to mean French on QWERTY; it now means AZERTY. Someone who chose Français by hand on a Canadian or Swiss keyboard gets AZERTY until they pick Français (Canada) or (Suisse); Automatic users get their region's. Why: a TestFlight tester (iPhone 17 Pro, iOS 27.3) reported Hex's French keyboard is QWERTY while Apple's is AZERTY, with screenshots of both. Apple's own keyboards on the iOS 27.2 simulator: French (France) and (Belgique) are AZERTY, (Canada) QWERTY and (Suisse) QWERTZ. Apple's French-only keyboards also hold a ´ dead key (after N on AZERTY, at the end of row 2 on the others); the tester's French and English keyboard has none, and Hex leaves it out, with accents on a held letter. Next-letter odds (#2091) and Spatial autocorrect stay off for all three French layouts: their model lookup is by layout code and only en and es are bundled. Verified: HEXMobileTests on an iPhone 17 Pro simulator (iOS 27.2): 293 tests, 0 failures, 1 skipped (as before). New: testFrenchIsApplesAzerty (rows, W/N under E/I, English-size shift and delete, the bottom row, taps in row 3's side gaps go to the nearer key, Apple's measured A and M centres within 1.5 pt at 402 pt, numbers and symbols pages identical to English's), plus cases for region resolution, spell-check dictionaries, accent order, AZERTY adjacency, and no decoder or letter odds for any French layout. Rendered Hex's French keyboard next to Apple's on the same simulator (letters, held E, numbers, symbols) and the tester's screenshot: key positions match; fr-CA renders QWERTY and fr-CH QWERTZ. |
||
| .. | ||
| Fixtures | ||
| AutocorrectEngineTests.swift | ||
| CleanupTaggerTests.swift | ||
| CustomVocabularyTests.swift | ||
| DictationControllerTests.swift | ||
| DictationLearningTests.swift | ||
| DotScopeTests.swift | ||
| EmojiSuggesterTests.swift | ||
| FullKeyboardEngineTests.swift | ||
| HexKeyGestureTests.swift | ||
| KeyboardBridgeTests.swift | ||
| KeyboardLayoutTests.swift | ||
| ShiftStateMachineTests.swift | ||
| TranscriptCleanupTests.swift | ||
| TypingLogTests.swift | ||