Commit graph

601 commits

Author SHA1 Message Date
Keyman Build Agent
86014a5ea2 auto: increment stable-15.0 version to 15.0.262 2022-06-18 00:39:25 -04:00
Marc Durdin
6867bfd492 fix(web): crash on custom modifier keys
Fixes #6788.
Fixes KEYMAN-WEB-22.
Fixes KEYMAN-DEVELOPER-BQ.
Fixes KEYMAN-ANDROID-160.

Fixes a crash introduced in #6473 which was trying to prevent modifier
keys from triggering "fat finger" alternate lookups, due to incomplete
nullish coalescing.

Related to this, from what I can see, a secondary side-effect of the fix
in #6473 was that some key events may have never had their ruleBehaviors
finalized if they matched the `isOnlyLayerSwitchKey` heuristic, leading
to potential issues with edge case 'deadkey+layer switch' keys or keys
that set store values, for example. So this fix also makes the
`isOnlyLayerSwitchKey` test more targeted.

Identified this when adding a Caps Lock layer to sil_euro_latin and
testing the layer switching. At time of fix, the error had been raised
in KeymanWeb, Keyman Developer and Keyman for Android, but not yet
Keyman for iPhone and iPad.
2022-06-17 05:17:05 +10:00
Keyman Build Agent
d3b4cf1dcc auto: increment stable-15.0 version to 15.0.261 2022-06-14 23:30:51 -04:00
Keyman Build Agent
0a6ffa137a auto: increment beta version to 15.0.260 2022-06-10 14:02:55 -04:00
Keyman Build Agent
f9537ee2a2 auto: increment beta version to 15.0.259 2022-06-06 14:02:30 -04:00
Keyman Build Agent
d1576e6717 auto: increment beta version to 15.0.258 2022-06-03 14:02:30 -04:00
Keyman Build Agent
99add57dda auto: increment beta version to 15.0.257 2022-06-01 14:02:17 -04:00
Keyman Build Agent
a59fa21d61 auto: increment beta version to 15.0.256 2022-05-31 14:02:28 -04:00
Keyman Build Agent
2eb0ccfcc3 auto: increment beta version to 15.0.255 2022-05-30 14:02:44 -04:00
Keyman Build Agent
cd2b32fc4d auto: increment beta version to 15.0.254 2022-05-27 14:05:13 -04:00
Keyman Build Agent
996018fe90 auto: increment beta version to 15.0.253 2022-05-25 14:02:14 -04:00
Keyman Build Agent
6ad1549167 auto: increment beta version to 15.0.252 2022-05-23 14:02:48 -04:00
Keyman Build Agent
9697f0233c auto: increment beta version to 15.0.251 2022-05-20 14:02:40 -04:00
Keyman Build Agent
e71dd1af38 auto: increment beta version to 15.0.250 2022-05-19 14:02:12 -04:00
Keyman Build Agent
31879771ed auto: increment beta version to 15.0.249 2022-05-17 14:02:44 -04:00
Keyman Build Agent
d1b9f2d52c auto: increment beta version to 15.0.248 2022-05-16 14:02:41 -04:00
Keyman Build Agent
bd85fc895e auto: increment beta version to 15.0.247 2022-05-11 14:02:08 -04:00
Keyman Build Agent
5dbb6642b7 auto: increment beta version to 15.0.246 2022-05-10 14:01:54 -04:00
Keyman Build Agent
7448674fe0 auto: increment beta version to 15.0.245 2022-05-09 14:01:48 -04:00
Keyman Build Agent
52b42a5958 auto: increment beta version to 15.0.244 2022-05-03 14:02:37 -04:00
Keyman Build Agent
9286a67ee0 auto: increment beta version to 15.0.243 2022-04-29 14:02:29 -04:00
Keyman Build Agent
d2edf15283 auto: increment beta version to 15.0.242 2022-04-27 14:02:30 -04:00
Keyman Build Agent
2a59670bf2 auto: increment beta version to 15.0.241 2022-04-26 14:02:34 -04:00
Keyman Build Agent
d17e03a35a auto: increment beta version to 15.0.240 2022-04-22 14:02:30 -04:00
Keyman Build Agent
c5199698ac auto: increment beta version to 15.0.239 2022-04-21 14:02:18 -04:00
Keyman Build Agent
0e3173c528 auto: increment beta version to 15.0.238 2022-04-20 14:02:18 -04:00
Keyman Build Agent
414199711f auto: increment beta version to 15.0.237 2022-04-19 14:02:23 -04:00
Joshua Horton
b8fba08a3f
Merge pull request #6473 from keymanapp/fix/web/6005-no-modifier-fat-fingers
fix(web): blocks modifier key fat-fingering
2022-04-18 21:00:29 -05:00
Keyman Build Agent
f4473990a7 auto: increment beta version to 15.0.236 2022-04-18 14:02:00 -04:00
Keyman Build Agent
4052e00890 auto: increment beta version to 15.0.235 2022-04-14 14:02:32 -04:00
Keyman Build Agent
767817c425 auto: increment beta version to 15.0.234 2022-04-13 14:02:17 -04:00
Joshua A. Horton
a2b218f828 fix(web): post-merge tweak 2022-04-11 13:29:51 -05:00
jahorton
99ace20a95 fix(web): prevents fat-finger from keys not considered fat-finger targets 2022-04-11 13:29:51 -05:00
jahorton
fe85ac2f75 fix(web): blocks modifier key fat-fingering 2022-04-11 13:29:45 -05:00
Keyman Build Agent
114f58ee7f auto: increment beta version to 15.0.233 2022-04-11 14:02:20 -04:00
Marc Durdin
2340eb14a9
Merge pull request #6512 from keymanapp/feat/web/prediction-casing-follows-layer-redux
feat(web): prediction casing follows current layer redux
2022-04-11 06:09:03 +10:00
Keyman Build Agent
cdb4680698 auto: increment beta version to 15.0.232 2022-04-09 14:02:21 -04:00
Keyman Build Agent
01c089cf35 auto: increment beta version to 15.0.231 2022-04-08 14:02:37 -04:00
Marc Durdin
03dc4adb89 feat(web): prediction casing follows current layer
Fixes #6507.

Reintroduces #6459 which implemented #6455.
2022-04-08 16:14:03 +10:00
Marc Durdin
11dd70d7de chore(common): make first parameter required 2022-04-08 16:14:02 +10:00
Marc Durdin
49eb062c65 feat(web): prediction casing follows current layer
Fixes #6455.

This involved adding an extra hint to the data passed into the lexical
model layer, being the CasingForm that the current layer wants to use.

Given there are several entry points to the lexical model layer, this
meant a few places where we needed to check the current layer.

I refactored the very long function `InputProcessor.processKeyEvent` to
extract out the `buildAlternates` function. There should be no
functional changes to the `buildAlternates` code. But it makes
`processKeyEvent` significantly easier to read.
2022-04-08 16:14:01 +10:00
Marc Durdin
e616900cad
Revert "feat(web): prediction casing follows current layer" 2022-04-08 14:50:32 +10:00
Keyman Build Agent
ef9a9459d2 auto: increment beta version to 15.0.230 2022-04-07 14:02:52 -04:00
Keyman Build Agent
54884ec2ad auto: increment beta version to 15.0.229 2022-04-05 14:02:12 -04:00
Marc Durdin
7df1ab1930
Merge pull request #6459 from keymanapp/feat/web/prediction-casing-follows-layer
feat(web): prediction casing follows current layer
2022-04-05 06:45:42 +10:00
Keyman Build Agent
6e8a458c3b auto: increment beta version to 15.0.228 2022-04-04 14:03:57 -04:00
Keyman Build Agent
852754ea40 auto: increment beta version to 15.0.227 2022-04-01 14:02:08 -04:00
Marc Durdin
21c5cdb111 chore(common): make first parameter required 2022-04-01 16:47:56 +11:00
Marc Durdin
b7ce99480f feat(web): prediction casing follows current layer
Fixes #6455.

This involved adding an extra hint to the data passed into the lexical
model layer, being the CasingForm that the current layer wants to use.

Given there are several entry points to the lexical model layer, this
meant a few places where we needed to check the current layer.

I refactored the very long function `InputProcessor.processKeyEvent` to
extract out the `buildAlternates` function. There should be no
functional changes to the `buildAlternates` code. But it makes
`processKeyEvent` significantly easier to read.
2022-04-01 16:20:50 +11:00
Marc Durdin
9e67c8c197
Merge pull request #6453 from keymanapp/fix/web/6405-statekey-desync-with-layer
fix(web): track stateKeys changes with layer changes
2022-04-01 14:37:32 +11:00