Commit graph

5162 commits

Author SHA1 Message Date
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
b21e18afb2 fix(web): rely on caller for unmatched keys
Fixes #6005.

If a key has no default behavior, and the expectation is to trigger the
key default, then set the output behavior to null, so that the caller
will do the action.

This fixes a regression in #5553, which handled the situation where a
rule was triggered but then default output was expected (common example
is final sigma transform only when a word is finished).

The regression resulted in suggestions rotating unexpectedly when
pressing a modifier key.
2022-04-01 14:38:43 +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
Keyman Build Agent
439d00d87b auto: increment beta version to 15.0.226 2022-03-31 22:57:58 -04:00
Marc Durdin
d33401c033 chore(web): fixup InputProcessor tests 2022-04-01 08:55:55 +11:00
Marc Durdin
be42e068f5 chore(web): fix NodeProctor device ref 2022-04-01 07:24:08 +11:00
Marc Durdin
32584010b5 chore(web): update NodeProctor constructor of processor 2022-03-31 14:36:12 +11:00
Marc Durdin
c0f29861ac fix(web): track stateKeys changes with layer changes
Fixes #6405.

If the layer is reset to default, e.g. by switching fields, then the
state key bitmask was not always kept in sync with the layer change.
2022-03-31 14:08:33 +11:00
Marc Durdin
2a96518e3a
Merge pull request #6434 from keymanapp/chore/web/remove-unused-selectLayer-parameter
chore(web): remove unused `selectLayer` parameter
2022-03-29 12:36:25 +11:00
Marc Durdin
c55e13774e
Merge pull request #6433 from keymanapp/fix/common/6258-wordbreakers-package.json-main
fix(common): wordbreakers package.json main field
2022-03-29 12:36:18 +11:00
Keyman Build Agent
4e1f0432cd auto: increment beta version to 15.0.225 2022-03-28 21:31:48 -04:00
Marc Durdin
8fec84813f chore(web): remove unused selectLayer parameter 2022-03-28 09:13:36 +11:00
Marc Durdin
77db07f268 fix(common): wordbreakers package.json main field
Fixes #6258.

@keymanapp-test-bot skip
2022-03-28 09:12:20 +11:00
Keyman Build Agent
a3d2e8a1a8 auto: increment beta version to 15.0.224 2022-03-27 14:44:10 -04:00
Keyman Build Agent
7b2cc72245 auto: increment beta version to 15.0.223 2022-03-25 14:02:20 -04:00
Keyman Build Agent
3aa0819c5b auto: increment beta version to 15.0.222 2022-03-24 14:02:12 -04:00
Keyman Build Agent
12a7e13c5f auto: increment beta version to 15.0.221 2022-03-23 14:07:31 -04:00
Marc Durdin
5c388d1d7e
Merge pull request #6366 from keymanapp/feat/web/6364-new-layer-old-layer-replaces-layerchanged
feat(web): `&newLayer` and `&oldLayer`
2022-03-23 16:53:34 +11:00
Keyman Build Agent
c2462f7c4c auto: increment beta version to 15.0.220 2022-03-22 14:02:35 -04:00
Keyman Build Agent
fa8179f5eb auto: increment master version to 16.0.5 2022-03-22 14:01:45 -04:00
Keyman Build Agent
b3c8372cb9 auto: increment beta version to 15.0.219 2022-03-21 14:01:46 -04:00
Keyman Build Agent
f13c07acbf auto: increment beta version to 15.0.218 2022-03-19 14:02:39 -04:00
Keyman Build Agent
5d6bc10de9 auto: increment beta version to 15.0.217 2022-03-18 14:02:34 -04:00
Keyman Build Agent
cdc94f73b2 auto: increment beta version to 15.0.216 2022-03-17 14:03:41 -04:00
Marc Durdin
d63bd4edde chore(web): rebuild obolo_chwerty keyboard 2022-03-17 20:47:00 +11:00
Keyman Build Agent
238388c191 auto: increment master version to 16.0.4 2022-03-16 14:33:05 -04:00
Marc Durdin
c80140d618 chore(common): update obolo_chwerty_6347 for new store names 2022-03-17 05:32:50 +11:00
Keyman Build Agent
a595b63422 auto: increment beta version to 15.0.215 2022-03-16 14:30:41 -04:00
Marc Durdin
7a5d1b964f chore(web): Merge branch 'beta' into feat/web/6364-new-layer-old-layer-replaces-layerchanged 2022-03-17 04:55:25 +11:00
Marc Durdin
c74c8db6fe fix(common): obolo_chwerty package had broken link 2022-03-17 04:55:05 +11:00
Eberhard Beilharz
49b099c26f
Merge pull request #6183 from keymanapp/chore/common/meson
chore(common/core/desktop): Improve meson build file 🏗️
2022-03-16 09:05:50 +01:00
Eberhard Beilharz
659ccbdbe4
chore(common/core): Allow VS 2022 to be installed
We are not able to use VS 2022 yet because it doesn't provide
`vcvarsall.bat`, but this change at least allows to build with an older
VS version even if VS 2022 is installed.
2022-03-16 09:05:02 +01:00
Eberhard Beilharz
2a21e24f1b
chore(common): Fix warnings 2022-03-16 09:05:02 +01:00
Eberhard Beilharz
65e89071c5
chore(common): Improve meson build file
Thanks @eli-schwartz for the suggestions (in #5797)!

Unfortunately we currently still have to support meson 0.45
(because that's what ships with Ubuntu 18.04), so we can't
implement everything suggested.

Also, newer meson versions always assume utf-8, but until we
can assume at least version 0.60 of meson we'll have to
explicitly specify the encoding, otherwise at least some tests
will fail.
2022-03-16 09:05:01 +01:00
Keyman Build Agent
ed5dd2f2bd auto: increment beta version to 15.0.214 2022-03-15 14:31:13 -04:00
Marc Durdin
1b1b622462 chore: merge master into branch 2022-03-15 14:58:03 +11:00
Marc Durdin
1038379c41
Merge pull request #6351 from keymanapp/fix/web/caps-state-tracking-for-touch
fix(web): caps state tracking for touch
2022-03-15 10:04:45 +11:00
Marc Durdin
81ec8b86e2
Merge pull request #6347 from keymanapp/fix/developer/warn-on-ncaps-consistency
fix(developer): warn on ncaps usage inconsistency
2022-03-15 10:02:35 +11:00
Marc Durdin
2fc52af719 feat(common): zip and index keyboard artifacts 2022-03-14 07:03:16 +11:00
Marc Durdin
c2b073a49b chore: fixup additional layerchanged in keyboard 2022-03-13 19:53:14 +11:00
Marc Durdin
b23df3fbc8 feat(web): &newLayer and &oldLayer
Fixes #6364.

Removes `&layerChanged` and adds `&newLayer` and `&oldLayer` system
stores with the additional nuances around values as described in #6364.
2022-03-13 08:29:15 +11:00
Keyman Build Agent
7fe1997754 auto: increment beta version to 15.0.213 2022-03-11 13:02:26 -05:00
Darcy Wong
841c5f8ebd
Merge pull request #6355 from keymanapp/fix/android/test-file-version-in-kmp
fix(android/engine): Test fileVersion during package install
2022-03-11 21:18:47 +07:00
Keyman Build Agent
a64ead9287 auto: increment beta version to 15.0.212 2022-03-10 13:49:17 -05:00
Marc Durdin
faff0e2aef fix(common): address review comment
Don't specify wine as kmcomp launcher if a custom kmcomp is provided on
the command line.
2022-03-11 05:42:08 +11:00
Marc Durdin
c177f142d3 fix(common): allow custom keyboard builds
This allows for custom builds of keyboards, e.g. where a keyboard is
manually constructed for testing purposes.
2022-03-11 05:23:37 +11:00
Marc Durdin
0023841ee4 chore(web): address review comments 2022-03-11 04:40:53 +11:00
Marc Durdin
455ce98dcc
Merge pull request #6353 from keymanapp/chore/common/cleanup-sh-color-globals
chore(common): cleanup sh global color variables
2022-03-10 19:39:28 +11:00
Darcy Wong
193f7bd370 chore(common): Update caps_3620_3621 to fileVersion 15.0 2022-03-10 14:03:29 +07:00
Darcy Wong
b213c3b829 fix(android/engine): Test fileVersion during package install 2022-03-10 13:15:59 +07:00