Merge upstream LeanType v3.9.1#114
Merged
Merged
Conversation
Switches offline proofreader to llamacpp-kotlin GGUF and updates model settings UI to resolve 16 KB page alignment compatibility warnings.
…s strings update.
…riodically in dictionary word iteration
… by checking neighbors
… next-word bigram prediction boost
…y queries and optimizing sleep schedule
… querying with cleaned word string
…hape length mismatch penalty
…resampling to minimize memory allocations
…ory and personal dictionaries
…loader preferences
… inline path alloc, self-learning user boost
Only strip trailing space before space-stripping punctuation (]})':;!?,.) when the space was auto-inserted by the keyboard (SpaceState WEAK/PHANTOM/SWAP_PUNCTUATION). Manual spaces (SpaceState.NONE) must never be deleted. Bug introduced in 97802ea.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this is
Merges LeanBitLab/LeanType v3.9.1 into
devas a dedicated upstream-sync PR.Because previous upstream syncs were squash-style from Git's ancestry perspective, a direct merge tried to re-resolve the entire historical fork divergence. This PR instead records upstream
394bb60074138ce7e6eaa179cfd46446970ea2d6as the second parent via a single merge commit and applies only the incremental upstream delta from the already-shipped upstream baseline (49c477bc4..394bb600) in that same commit.Upstream highlights included
KeyboardId.ELEMENT_TEXT_EDIT)Fork-specific conflict decisions
applicationId = "com.asafmah.leantypedual"versionName = "3.10.0"versionCode = 4000standard,standardfull,offline,offlineliteINTERNETonly instandardandstandardfullTextEditViewoverlay source/layout in favor of upstream's parsed keyboard-layout Text Edit architecturePREF_AUTOSPACE_AFTER_EMOJIusing the repo's settings wiring pattern andSettingsContainerTestcoverageVerification
git diff --cached --checkbefore commit: clean./gradlew.bat compileStandardRunTestsKotlin compileStandardfullRunTestsKotlin compileOfflineRunTestsKotlin compileOfflineliteRunTestsKotlin --no-daemon --console=plainpassed./gradlew.bat :app:testOfflineDebugUnitTest --tests "*SettingsContainerTest" --no-daemon --console=plainpassed./gradlew.bat :app:testOfflineDebugUnitTest --continue --no-daemon --console=plaincompleted with 12 failures, all matching known baseline buckets documented in AGENTS:KeyboardParserTest/parser layout-data failuresXLinkTestStringUtilsTestemoji failuresInputLogicTestHangul / autocorrect revert / autospace indicator failuresSOUND_WITH_CAVEATS, no blocking issues after fixing selection-mode state cleanupNotes for review
The Text Edit migration is the riskiest resolution: upstream v3.9.1 treats Text Edit as a keyboard layout rather than a separate overlay view. I removed the old overlay class/layout and fixed state cleanup so exiting Text Edit also clears persistent selection mode across alphabet/emoji/clipboard/handwriting/touchpad transitions.