mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
TestFlight testers (builds 54/55) asked to turn off the capital at the start
of their typing ("you can lowercase everything on dictation but not regular
keyboard"). Settings › Keyboard gains Auto-capitalization, above Autocorrect,
on by default, as Apple's switch of the same name
(FullKeyboardSettings.autoCapitalization, App Group key
settings.keyboardAutoCapitalization; "Capitalizes the start of sentences",
zh-Hans 自动大写 / 句首字母自动大写).
Off, Hex adds no capital you didn't type, matching Apple's keyboard with
Auto-Capitalization off on the iOS 27.2 simulator ("hello world. i am mary.
im here. monday" -> "hello world. i am mary. i'm here. monday"; "^hi i speak
englsh on mondya with ^mary" -> "Hi i speak english on monday with Mary"):
- Shift never turns itself on, whatever the field's autocapitalizationType
(sentences, words, allCharacters): not at a field's or sentence's start,
after "." "!" "?", or after the double-space period (which still types
". "). FullKeyboardEngine.autoCapitalizes maps the mode to .none.
- Autocorrect (AutocorrectEngine.addsCapitals, passed to bilingual
autocorrect's partner): English fixes, Spatial readings and UITextChecker
guesses keep the case you typed ("i" stays, "im" -> "i'm", "mondya" ->
"monday"); a fix that would only add a capital ("i" -> "I") isn't made.
#2091's lowercase-name capitalisation ("mary" -> "Mary") is skipped.
- Swipe typing (#2106): no sentence-start capital from the space it adds,
and no name capital; readings come out lowercase.
Kept: capitals you typed (shift, caps lock, "Teh" -> "The", "Im" -> "I'm"),
and your own spellings: text replacements, Contacts names and other UILexicon
terms, words you kept, fixes Hex learned (isOwnSpelling). The strip still
offers capitalised words to pick. On, nothing changes.
Dictation is separate: Settings › Dictation › Lowercase (#2103) is untouched.
Verified on an iPhone 17 simulator (iOS 27.2), Mac Studio:
- xcodebuild test: 365 tests, 0 failures, 1 skipped (needs
HEX_SPEECH_CLIPS), including the new cases in FullKeyboardEngineTests
(shift never turns on in any mode, shift and caps lock work, switching
back on capitalises; a swiped word after "Great." stays lowercase) and
AutocorrectEngineTests (fixes add no capitals; Spatial keeps "mary" and
"monday" lowercase and a Contacts name's capital).
- The Settings switch, tapped, stored false in the App Group.
- Live in Messages with Hex's keyboard, off: an empty message showed
lowercase keys; "hello world. i think im here. mary is here! ok" typed as
"hello world. i think i'm here. mary is here! ok", and shift then "ok"
gave "Ok". On: "Hello world. I think I'm here. Mary is here! Ok", as before.
- Settings › Keyboard rendered in English and Simplified Chinese.
|
||
| .. | ||
| Assets.xcassets | ||
| zh-Hans.lproj | ||
| AcknowledgementsView.swift | ||
| AppleSpeechTranscriber.swift | ||
| AppShortcuts.xcstrings | ||
| AudioBackend.swift | ||
| ContentView.swift | ||
| CustomVocabularyEditor.swift | ||
| DictationController+LaunchFixtures.swift | ||
| DictationController.swift | ||
| EmojiSemanticIndex.swift | ||
| FullKeyboardSnapshotStage.swift | ||
| HexIntents.swift | ||
| HexLinks.swift | ||
| HEXMobile.entitlements | ||
| HEXMobileApp.swift | ||
| Info.plist | ||
| KeyboardPreviewHost.swift | ||
| KeyboardSetup.swift | ||
| LanguageSettingsRows.swift | ||
| LiveActivityCoordinator.swift | ||
| Localizable.xcstrings | ||
| Onboarding.swift | ||
| OnboardingProgress.swift | ||
| ParakeetTranscriber.swift | ||
| PrivacyInfo.xcprivacy | ||
| SettingsComponents.swift | ||
| SettingsPages.swift | ||
| TranscriptCleanup.swift | ||
| TranslateDictationRow.swift | ||
| TypingInsightsView.swift | ||
| TypingLogsView.swift | ||