- Feb 23, 2022
-
-
Marc Durdin authored
Legacy edge struggles with selection direction. We no longer support it anyway, so disable testing.
-
Marc Durdin authored
Selection direction was not maintained in mutations, which could have unexpected consequences. Added support for selection direction to input and textarea. The functions `getTextBeforeCaret()` and `getTextAfterCaret()` are named somewhat incorrectly, as they actually get the text before and after the active selection (and a collapsed zero-length selection is equivalent to the caret). It would be worth renaming these in a future refactor. This PR fixes the unit tests so that caret position is tested correctly with an active selection -- the caret can be at either the start or the end of the selection, corresponding with the direction in which the user originally selected the text. It also fixes the assumptions around the above named functions for `input` and `textarea` types. Note that selection interactions are still buggy with prediction selections; these bugs were present in 15.0.118-alpha and I will tackle them in an upcoming commit.
-
Marc Durdin authored
-
Marc Durdin authored
Relates to #5853 and others. Selection management was not working properly with the various OutputTargets: 1. When there is a non-empty selection, rules have no context -- it's like new text. 2. Backspace over a selection deletes just the selection. 3. Typing a character replaces the selection, of course, and collapses the caret to the end of the new text. 4. `hasSelection` is a very strange name for `OutputTarget` descendants. It doesn't mean "has an active selection" but rather, kinda means "supports selection internally". 5. Added `isSelectionEmpty` which is used for some of the new selection rules above. Note that the `touchAlias` OutputTarget class does not currently support selection. I hope we can deprecate `touchAlias` with the use of `inputMode` (#3030) in the future, rather than adding support for selection.
-
Marc Durdin authored
-
- Feb 22, 2022
-
-
Marc Durdin authored
Relates to #5853. Two things happened here: 1. Construction of Mocks made an assumption that the selection should always be deleted (outputTarget.ts:363). However, for NewContext and PostKeystroke processes, we don't want to change anything. 2. Even if nothing is changed, the transcription would emit what is in theory a no-op ruleTransform (insert="", deleteLeft=0, deleteRight=0). But apps would treat this as deleting the selection. This fix goes a little broader than I would have preferred, but adds a readonly mode to the transcription and mock model, so that we can control explicitly when changes are applied to the text store.
-
Marc Durdin authored
-
Marc Durdin authored
This small harness simulates the Android app. I used it to try and dig deeper into the interactions with selected text in #5853. It is very rough, but with some extra effort we could use this relatively easily for some low-level testing of KeymanWeb embedded integration.
-
Keyman Server authored
auto: increment master version to 15.0.202
-
Keyman Build Agent authored
-
- Feb 21, 2022
-
-
Eberhard Beilharz authored
fix(linux): Fix stray `[-vv]` in man pages
-
Marc Durdin authored
fix(developer): npm publish with correct tier
-
Keyman Server authored
auto: increment master version to 15.0.201
-
Keyman Build Agent authored
-
- Feb 20, 2022
-
-
Darcy Wong authored
chore(common): Update French strings
-
- Feb 19, 2022
-
-
Keyman Server authored
auto: increment master version to 15.0.200
-
Keyman Build Agent authored
-
- Feb 18, 2022
-
-
Eberhard Beilharz authored
Additionally, don't print the date in the footer. This often overlaps with the program name and version. Also print usage in addition to error if wrong arguments are given. Fixes #6240.
-
Darcy Wong authored
-
Marc Durdin authored
fix(web): Non-integer OSK sizes
-
- Feb 14, 2022
-
-
Keyman Server authored
auto: increment master version to 15.0.199
-
Keyman Build Agent authored
-
- Feb 13, 2022
-
-
Marc Durdin authored
Fixes #6209. Regression introduced in #6073. Cleanup of tier information in these build scripts accidentally also deleted the setup of npm_dist_tag variable.
-
Darcy Wong authored
chore(android/app): Clarify help on switching keyboards
-
Marc Durdin authored
Merge pull request #6145 from keymanapp/fix/developer/5992-package-fileversion-from-keyboard-fileversion fix(developer): compile package fileVersion from keyboard FileVersion
-
Keyman Server authored
auto: increment master version to 15.0.198
-
Keyman Build Agent authored
-
- Feb 12, 2022
-
-
Marc Durdin authored
fix(developer): support KM_KBP_IT_CAPSLOCK
-
Marc Durdin authored
fix(windows): create Keyman/Diag folder in redirected profile
🍒 -
Marc Durdin authored
If the OSK had a non-integer width or height stored in the OSK cookie, then the width and height would be parsed incorrectly and the OSK would fail to be sized correctly on first load; this also caused a script error and made the OSK impossible to interact with.
-
Marc Durdin authored
Merge pull request #6236 from keymanapp/dependabot/npm_and_yarn/web/testing/regression-tests/karma-6.3.14 chore(deps-dev): bump karma from 6.3.4 to 6.3.14 in /web/testing/regression-tests
-
Marc Durdin authored
Merge pull request #6247 from keymanapp/dependabot/npm_and_yarn/web/testing/regression-tests/follow-redirects-1.14.8 chore(deps): bump follow-redirects from 1.7.0 to 1.14.8 in /web/testing/regression-tests
-
dependabot[bot] authored
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.7.0 to 1.14.8. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.7.0...v1.14.8 ) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by:
dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.4 to 6.3.14. - [Release notes](https://github.com/karma-runner/karma/releases) - [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md) - [Commits](https://github.com/karma-runner/karma/compare/v6.3.4...v6.3.14 ) --- updated-dependencies: - dependency-name: karma dependency-type: direct:development ... Signed-off-by:
dependabot[bot] <support@github.com>
-
Keyman Server authored
auto: increment master version to 15.0.197
-
Keyman Build Agent authored
-
- Feb 11, 2022
-
-
rc-swag authored
fix(windows): add flag to track core process event
-
- Feb 10, 2022
-
-
Darcy Wong authored
-
Ross authored
-
Marc Durdin authored
Keyman Developer Debugger would crash due to receiving an unknown action type. This turned out to be the new KM_KBP_IT_CAPSLOCK. Crash report: https://sentry.io/share/issue/50c09af4a0ab424784d9d2189b492bd5/
-