Commit graph

25892 commits

Author SHA1 Message Date
Joshua A. Horton
85db52dcda fix(web): unrevert #11258, leaving OSK hidden before instructed to display
Cherry-pick-of: #12049
2024-07-30 08:16:38 +07:00
Joshua A. Horton
8c87b5516a chore(web): Revert "change(web): initializes OSK with keyboard if available during init"
This reverts commit 4b1394a54f.
2024-07-27 06:38:49 +07:00
Joshua A. Horton
f1619f2367 chore(web): Revert "fix(web): OSK set activeKeyboard should not bypass during init"
This reverts commit eebf3e5ba8.
2024-07-27 06:38:30 +07:00
Joshua A. Horton
752a2e179c chore(web): Revert "fix(web): adds newly-needed null guards due to new pattern"
This reverts commit 786c480742.
2024-07-27 06:38:28 +07:00
Joshua A. Horton
f9d0307144 chore(web): Revert "fix(ios): ios-host adjustments"
This reverts commit 829d40f5f3.
2024-07-27 06:38:26 +07:00
Joshua A. Horton
b644291211 chore(web): Revert "fix(web): OSK now checks pred-text state on init"
This reverts commit 7466b82893.
2024-07-27 06:38:25 +07:00
Joshua A. Horton
9370bd4f6c chore(web): Revert "chore(android): reverts error-silencing try-catch"
This reverts commit db4a7bfcd0.
2024-07-27 06:38:22 +07:00
Joshua A. Horton
975147d5b3 chore(web): Revert "chore(android): restores try-catch, now with console.error err forwarding"
This reverts commit d705589726.
2024-07-27 06:38:20 +07:00
Keyman Server
314c2e575e
Merge pull request #12016 from keymanapp/auto/version-stable-17.0-17.0.328
auto: increment stable-17.0 version to 17.0.328
2024-07-25 00:47:54 -07:00
Keyman Build Agent
6049ce10f9 auto: increment stable-17.0 version to 17.0.328 2024-07-25 03:47:06 -04:00
Eberhard Beilharz
3e37b610d7
Merge pull request #12004 from keymanapp/chore/linux/cherry-pick/mantic
chore(linux): remove Ubuntu 23.10 Mantic 🏠
2024-07-24 11:03:17 +02:00
Eberhard Beilharz
da3b6e9b4d
chore(linux): remove Ubuntu 23.10 Mantic
Mantic is EOL.
2024-07-24 10:14:31 +02:00
Darcy Wong
859c7ed6bb
Merge pull request #11976 from keymanapp/cherrypick/crowdin-pt
chore(common): Update Crowdin strings for Portuguese 🍒 🏠
2024-07-18 19:32:51 -05:00
Darcy Wong
b6c898a7cd chore(common): Update Crowdin strings for Portuguese
Cherrypick of #11974 to stable-17.0
2024-07-18 08:49:15 -05:00
Eberhard Beilharz
48ed0f9be0
Merge pull request #11885 from keymanapp/fix/linux/cherry-pick/11855_install_cache
fix(linux): ignore exceptions trying to install cache 🏠 🍒
2024-07-01 12:18:26 +02:00
Marc Durdin
4a715446ff
Merge pull request #11807 from keymanapp/fix/developer/cherry-pick/11643-prevent-non-bmp-chars-in-key-part-of-rule
fix(developer): prevent non-BMP characters in key part of rule 🍒 🏠
2024-07-01 11:38:19 +10:00
Joshua Horton
4224dc6ac2
Merge pull request #11871 from keymanapp/fix/web/cherry-pick/simple-tap-fat-fingering
fix(web): use fat-finger data with simple keypresses 🍒  🏠
2024-06-28 08:41:17 +07:00
Eberhard Beilharz
507f1ae6e7
fix(linux): ignore exceptions trying to install cache
Using the cache when getting data from the server is just an optimization
to speed up things. However, things still work if we don't use the cache.
This change therefore catches the AttributeError that sometimes happen
on some machines for unknown reasons and falls back to not using the
cache.

Fixes: #11855
Fixes: KEYMAN-LINUX-6R
Cherry-pick-of: #11861
2024-06-27 10:37:13 +02:00
Joshua A. Horton
469e1037d7 change(web): better div-by-zero fudge factor for fat-fingering 2024-06-25 13:58:31 +07:00
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
Marc Durdin
b0fd228879 fix(developer): prevent non-BMP characters in key part of rule
Currently, keys must be a UTF-16 code unit or a virtual key. Non-BMP
characters are unsupported. Technically, there is space available in the
.kmx `COMP_KEY` structure to accommodate UTF-32 codepoints, from
kmx_file.h:

    KMX_WORD_unaligned Key;
    KMX_WORD_unaligned _reserved;

However, the utility of this is almost nil, as it is very unlikely we
will encounter base keyboards (for mnemonic layouts) that generate any
characters outside the BMP, so there is little value in adding support
for this at this time.

The compiler will generate an error if this is encountered.

Fixes: #11643
Cherry-pick-of: #11806
2024-06-18 07:27:25 +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