Commit graph

25872 commits

Author SHA1 Message Date
Joshua A. Horton
b45b6a5fd2 fix(web): use fat-finger data with simple keypresses
Cherry-pick-of: #11854
2024-06-25 13:57:03 +07:00
Joshua Horton
e1b74785bb
Merge pull request #11827 from keymanapp/fix/android/cherry-pick/stuck-globe-key
fix(android): clear globe highlight when displaying keyboard picker 🍒  🏠
2024-06-24 14:57:55 +07:00
Joshua Horton
242e21b717
Merge pull request #11824 from keymanapp/change/web/cherry-pick/after-word-whitespace-check
change(web): change after-word whitespace check to be more selective 🍒  🏠
2024-06-21 08:19:37 +07:00
Joshua Horton
d25573632b
Merge pull request #11797 from keymanapp/fix/web/cherry-pick/longpress-key-id-with-modifier
fix(web): fix id of longpress keys with modifier set in touch layout 🍒  🏠
2024-06-19 11:36:29 +07:00
Joshua A. Horton
7d42509bc0 docs(android): add doc-comment on added Android-side line 2024-06-19 09:28:19 +07:00
Joshua A. Horton
31477869aa fix(android): clear globe highlight when displaying keyboard picker
Fixes: #11532
Cherry-pick-of: #11826
2024-06-19 09:28:05 +07:00
Joshua A. Horton
c14480505b chore(web): Merge branch 'stable-17.0' into change/web/cherry-pick/after-word-whitespace-check 2024-06-19 08:51:30 +07:00
Marc Durdin
3f585b06d9
Merge pull request #11808 from keymanapp/fix/developer/cherry-pick/11793-use-HISTORY-MD-for-last-commit-date
fix(developer): check HISTORY.md to get last modified date for keyboard_info and model_info 🍒 🏠
2024-06-19 11:30:28 +10:00
Joshua A. Horton
a620ff30f4 change(web): change after-word whitespace check to be more selective
Now only skips emitting the after-word text if it is the immediate prefix of the current right-hand context.

Fixes: #5256
Cherry-pick-of: #11800
2024-06-19 08:07:15 +07:00
Marc Durdin
6518bd4f0f
Merge pull request #11820 from keymanapp/chore/developer/cherry-pick/tweak-project-upgrade-messages
chore(developer): clarify project upgrade messages about file locations 🍒 🏠
2024-06-19 08:02:20 +10:00
Marc Durdin
be65910743 chore(developer): clarify project upgrade messages about file locations
Cherry-pick-of: #11819
2024-06-19 06:26:19 +10:00
Marc Durdin
f999ad47f9
Merge pull request #11809 from keymanapp/fix/core/cherry-pick/11794-serialize-core-tests-temporary-mitigation
fix(core): serialize tests for core/wasm on mac agents 🍒 🏠
2024-06-18 19:41:57 +10:00
Marc Durdin
af3d743645
Merge branch 'stable-17.0' into fix/web/cherry-pick/longpress-key-id-with-modifier 2024-06-18 15:44:41 +10:00
Marc Durdin
f5a7d44dc1
Merge branch 'stable-17.0' into fix/developer/cherry-pick/11793-use-HISTORY-MD-for-last-commit-date 2024-06-18 15:44:39 +10:00
Marc Durdin
b777ca3971
Merge branch 'stable-17.0' into fix/core/cherry-pick/11794-serialize-core-tests-temporary-mitigation 2024-06-18 15:43:46 +10:00
Marc Durdin
a04c5de4c7
Merge pull request #11811 from keymanapp/fix/windows/11683-k-parameter-for-keyboards
fix(windows): add -k parameter for keyboards build.sh 🏠
2024-06-18 15:43:40 +10:00
Marc Durdin
6bc0267161 fix(windows): add -k parameter for keyboards build.sh
keyboards repo build.sh now uses -k parameter to specify the keyboard to
build. This patch does not need to be ported to 18.0 as the 18.0 build
does not directly build the keyboard package, but rather uses the
currently released version.

Fixes: #11683
2024-06-18 09:35:15 +10:00
Marc Durdin
f8e8d85120 fix(core): serialize tests for core/wasm on mac agents
Mitigates: #11794
Cherry-pick-of: #11795
2024-06-18 07:50:54 +10:00
Marc Durdin
ebd2a9131f chore(developer): add msec in comment 2024-06-18 07:38:23 +10:00
Marc Durdin
e56472d9b2 fix(developer): check HISTORY.md to get last modified date for keyboard_info and model_info
This updates the calculation of the lastModifiedDate property of the
.keyboard_info and .model_info file. It now looks for the most recent
commit to HISTORY.md, and then falls back to the project folder for
.keyboard_info and .model_info.

getLastGitCommitDate now also returns UTC date (it was giving TZ=0
which is affected by daylight saving), and works for a file rather than
just for a folder, and a corresponding unit test has been added.

The date strings returned will now always include '.000' msec suffix. I
have manually verified that the import into the api.keyman.com database
copes with this, and that this change still conforms to the expected
schema for .keyboard_info and .model_info files.

Last, but important, it turned out that the unit tests for kmc were not
running. This has been resolved in kmc/build.sh.

Fixes: #11793
Cherry-pick-of: #11805
2024-06-18 07:38:04 +10:00
Marc Durdin
fbd90a1a7c test(developer): add fixture for getLastGitCommitDate unit test 2024-06-18 07:37:24 +10:00
Joshua Horton
0d87bd792f
Merge pull request #11787 from keymanapp/fix/web/cherry-pick/quick-addKeyboards-call
fix(web): prevent desktop OSK crash when addKeyboards is called before engine init 🍒  🏠
2024-06-17 11:25:44 +07:00
Joshua Horton
857276b041
Merge pull request #11744 from keymanapp/fix/web/cherry-pick/newContext-device
fix(web): set new-context rules' device to match that of the active OSK 🍒 🏠
2024-06-17 11:25:39 +07:00
Joshua Horton
4bb80fb836
Merge pull request #11733 from keymanapp/fix/web/cherry-pick/array-from-polyfill
fix(web): add limited Array.from polyfill for lm-worker use 🍒 🏠
2024-06-17 11:25:25 +07:00
Joshua A. Horton
9dbf95ee72 fix(web): fix id of longpress keys with modifier set in touch layout
Fixes: #11782
Cherry-pick-of: #11783
2024-06-17 10:09:55 +07:00
Marc Durdin
a0628177ee
Merge pull request #11766 from keymanapp/fix/developer/cherry-pick/11646-add-platform-no-more-platforms-builder
fix(developer): show message if no more platforms to add to touch layout editor 🍒 🏠
2024-06-15 07:08:24 +10:00
Joshua A. Horton
377a60d0c2 fix(web): prevent desktop OSK crash when addKeyboards is called before engine init
Fixes: #11785
Fixes: KEYMAN-WEB-KC
Cherry-pick-of: #11786
2024-06-14 13:56:44 +07:00
Joshua A. Horton
7096090b21 chore(web): Merge branch 'stable-17.0' into fix/web/cherry-pick/array-from-polyfill 2024-06-14 10:49:39 +07:00
Joshua A. Horton
724d78eb47 chore(web): Merge branch 'stable-17.0' into fix/web/cherry-pick/newContext-device 2024-06-14 10:48:21 +07:00
Marc Durdin
e6c7d041e4
Merge pull request #11741 from keymanapp/feat/developer/cherry-pick/support-language-reference-in-context-help
feat(developer): support language reference in context help 🍒 🏠
2024-06-14 08:57:27 +10:00
Eberhard Beilharz
4965681ba9
Merge pull request #11670 from keymanapp/chore/linux/changelog
chore(linux): Update debian changelog 🏠
2024-06-13 09:00:17 +02:00
Marc Durdin
a76313d725 fix(developer): show message if no more platforms to add to touch layout editor
Fixes: #11646
Fixes: KEYMAN-DEVELOPER-1X2
2024-06-13 10:01:32 +10:00
Joshua Horton
7b76ffba1e
Merge pull request #11747 from keymanapp/fix/android/cherry-pick/split-layout-and-rescale
fix(android): check current orientation, fix keyboard size after system keyboard rotations and resumes 🍒  🏠
2024-06-11 08:03:34 +07:00
Joshua A. Horton
cef40eb73d fix(android): fix keyboard size after rotation and restore via onSizeChanged, after layout
Fixes: #10054
Cherry-pick-of: #11722
2024-06-10 12:02:11 +07:00
Joshua A. Horton
c08db6d027 change(android): removes sys-keyboard config-change handler in favor of onStartInput version 2024-06-10 12:02:10 +07:00
Joshua A. Horton
654931b217 fix(android): check current orientation when redisplaying system keyboard
Cherry-pick-of: #11604
2024-06-10 12:01:54 +07:00
Joshua A. Horton
4763cbd141 fix(web): set new-context rules' device to match that of the active OSK
Fixes: #11740
Cherry-pick-of: #11743
2024-06-10 08:45:01 +07:00
Marc Durdin
b99fc3415f feat(developer): support language reference in context help
Adds support for `<LanguageReference Name='keyword'>` in contexthelp.xml.

Cherry-pick-of: #11737
2024-06-08 07:49:00 +07:00
Marc Durdin
f13feaf620
Merge pull request #11727 from keymanapp/fix/developer/cherry-pick/11715-prevent-two-touch-layout-editors-opening-for-same-file
fix(developer): prevent two touch layout editors opening for the same file 🍒 🏠
2024-06-08 10:44:49 +10:00
Marc Durdin
af6b052f14
Merge pull request #11721 from keymanapp/fix/developer/cherry-pick/11719-handle-missing-osk-when-importing-windows-keyboard
fix(developer): handle missing OSK when importing a Windows keyboard into a touch-only project 🍒 🏠
2024-06-08 10:44:40 +10:00
Joshua A. Horton
ec50747d09 change(android): removes unneeded conditionals 2024-06-07 14:25:30 +07:00
Joshua A. Horton
c8e36ace78 fix(web): array.from polyfill scoping, fixes after extracted test 2024-06-07 14:04:41 +07:00
Shawn Schantz
72eddd147b
Merge pull request #11731 from keymanapp/fix/mac/cherry-pick/11726-xcode-15-build-cycle-error
fix(mac): change build configuration to prevent cycle error in Xcode 15 🍒 🏠
2024-06-07 13:48:33 +07:00
Marc Durdin
80274ce537
Merge pull request #11712 from keymanapp/fix/developer/cherry-pick/11710-handle-encoding-errors-when-loading-wordlists
fix(developer): handle encoding errors when loading wordlists 🍒 🏠
2024-06-07 16:40:27 +10:00
Marc Durdin
1112830d75
Merge pull request #11709 from keymanapp/chore/developer/cherry-pick/11706-add-extra-logging-for-backspace-assertion
chore(developer): add extra logging for assertion failure when pressing backspace in debugger 🍒 🏠
2024-06-07 16:40:14 +10:00
Joshua A. Horton
a4a5ac2f60 fix(web): add limited Array.from polyfill for lm-worker use
Fixes: #11502
Fixes: KEYMAN-WEB-K4
Cherry-pick-of: #11732
2024-06-07 12:02:17 +07:00
sgschantz
63dddfc042 fix(mac): change build configuration to prevent cycle error in Xcode 15
Fixes: #11726
2024-06-07 10:44:13 +07:00
Marc Durdin
1f1e5fba99 fix(developer): prevent two touch layout editors opening for the same file
The keyboard editor has a complex edit state machine, which has
grown a lot over time. This is a minimal patch to address one specific
edge case scenario on that state machine, without any attempt to improve
the state machine overall. The biggest change here is bubbling failure
up to the main form so that it can destroy (aka Release, which is an
asynchronous destroy) the editor window if it fails to load completely.

Fixes: #11715
Fixes: KEYMAN-DEVELOPER-1JC
2024-06-07 09:46:30 +07:00
Marc Durdin
b1374c9818 fix(developer): handle missing OSK when importing a Windows keyboard into a touch-only project
Fixes: KEYMAN-DEVELOPER-1NN
Fixes: #11719
2024-06-06 12:50:54 +07:00
Marc Durdin
b8ea8056f8 refactor(developer): rename TouchLayoutToVisualKeyboardConverter to VisualKeyboardToTouchLayoutConverter
No change in functionality. But class and unit name now match what they
actually do.
2024-06-06 12:50:53 +07:00