Commit graph

2342 commits

Author SHA1 Message Date
Marc Durdin
0741b88dc2 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:22:19 +10:00
Marc Durdin
0212727b98 chore: Merge branch 'master' into chore/beta-to-master-A16S4 2022-06-15 12:54:35 +10:00
Keyman Build Agent
0a6ffa137a auto: increment beta version to 15.0.260 2022-06-10 14:02:55 -04:00
Joshua Horton
dd5dfca2fd
Merge pull request #6718 from keymanapp/change/web/browser-test-timeouts
change(web): browser test timeout tweaks
2022-06-10 15:12:06 +07:00
Keyman Build Agent
f9537ee2a2 auto: increment beta version to 15.0.259 2022-06-06 14:02:30 -04:00
jahorton
44fdec6ff5 chore(web): Merge branch 'beta' into change/web/browser-test-timeouts 2022-06-06 12:51:23 +07:00
jahorton
6e9ebb433a change(web): browser test timeout tweaks 2022-06-06 12:42:26 +07:00
Marc Durdin
6340a59d8e chore(web): add BrowserStack to command-line 2022-06-05 08:33:42 +10:00
Marc Durdin
f521b6ce19 chore(web): switch on additional BrowserStack reporting
Per support case with BrowserStack, am turning on deeper
reporting for BrowserStack-based testing in karma.
2022-06-05 07:53:20 +10:00
Keyman Build Agent
d1576e6717 auto: increment beta version to 15.0.258 2022-06-03 14:02:30 -04:00
Marc Durdin
48a4d8c2ec fix(developer): kmcomp package compiler race condition
Fixes a race condition when compiling multiple packages, where the
temp path may be re-used before the compiler has finished with it.

To take advantage of this fix, I wanted to make sure I was using the
right kmcomp.exe when building unit tests for Keyman Core. This
uncovered a couple of other things:

* Updates Keyman Core build infrastructure to use the current kmcomp.exe
  rather than a system-installed one.
* Corrects a bug that was identified by the 15.0 version of kmcomp in
  one unit test (duplicate `&NAME` stores -- the meson test script
  prepends a `&NAME` store to each source file during build).

@keymanapp-test-bot skip
2022-06-02 14:37:01 +10: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
Marc Durdin
20e79b7b3d
Merge pull request #6677 from keymanapp/chore/web/keyman-version-for-developer
chore(web): adapts keyman-version bundling in Developer products 🎡
2022-05-30 14:23:29 +10:00
jahorton
daa0fc9f93 chore(web): Merge branch 'chore/web/merge-web-version-environment' into chore/web/better-lm-worker-bundling 2022-05-30 09:06:45 +07:00
jahorton
8bc2908780 chore(web): Merge branch 'chore/web/fixup-unit-test-fixups' into chore/web/merge-web-version-environment 2022-05-30 08:53:11 +07:00
Marc Durdin
e6367af4fa
Revert 2022-05-29 13:36:53 +10:00
Marc Durdin
e37e3aa88a chore(web): update BrowserStack to chrome 90 for Windows 2022-05-29 12:50:27 +10:00
Marc Durdin
65c8c89be5 chore(web): adapts keyman-version bundling in Developer products
As KEYMAN-VERSION changed from being a type to a class, this broke the
bundling and referencing strategies in Developer/Server and
Developer/kmlmc. This updates the bundling process and fixes the
references in both projects.

Note that keyman-version no longer depends on gosh. Given we are
currently manually calling the build for this in all projects (or should
be!), it's better that we keep the build of this explicit for now.

If we want to restore the postinstall/postci steps in the future, the
gosh dependency would need to be manually removed from package.json in
order for the bundling builds to work for Developer/Server and
Developer/kmlmc.
2022-05-28 10:57:24 +10:00
Keyman Build Agent
cd2b32fc4d auto: increment beta version to 15.0.254 2022-05-27 14:05:13 -04:00
jahorton
8d40a05664 fix(web): test reporting style... again 2022-05-27 13:07:51 +07:00
jahorton
97f7fbb68d fix(web): proper teamcity reporting of keyboard-processor tests 2022-05-27 12:29:21 +07:00
jahorton
0acffafddd fix(web): ensure keyboard-processor tests are run 2022-05-27 11:53:57 +07:00
jahorton
7b472ca686 chore(web): Merge branch 'chore/web/merge-web-version-environment' into chore/web/better-lm-worker-bundling 2022-05-27 10:31:43 +07:00
jahorton
3855a25d26 chore(web): Merge branch 'chore/web/fixup-unit-test-fixups' into chore/web/merge-web-version-environment 2022-05-27 10:30:16 +07:00
jahorton
de68654cf2 chore(web): Merge branch 'chore/web/no-more-lerna' into chore/web/fixup-unit-test-fixups 2022-05-27 10:28:30 +07:00
Marc Durdin
fcf78bcd94 chore: merge master into branch 2022-05-27 13:11:23 +10:00
Marc Durdin
ef86cd46d9 chore(web): revert temporary type patches
There were a few temporary type patches I had made earlier in the
refactor chain in order to get a build to pass. After completing the
refactor, I was able to return them to their more proper types.
2022-05-27 08:31:19 +10:00
Marc Durdin
c22e892e49 chore(web): revert PostMessage and ImportScripts types 2022-05-27 08:26:51 +10:00
Marc Durdin
566c7f12bd chore(web): reintroduce sourceRoot in tsconfig 2022-05-27 07:46:30 +10:00
Keyman Build Agent
996018fe90 auto: increment beta version to 15.0.253 2022-05-25 14:02:14 -04:00
jahorton
81fa5ce282 chore(web): addresses PR review 2022-05-24 10:45:34 +07:00
jahorton
ea74a7f2ce chore(web): adds direct keyman-version compile to many build.sh's 2022-05-24 10:11:57 +07:00
Keyman Build Agent
6ad1549167 auto: increment beta version to 15.0.252 2022-05-23 14:02:48 -04:00
jahorton
3139b904f7 chore(web): includes a pre-rebase PR suggestion 2022-05-23 14:06:56 +07:00
jahorton
2d7d2c6ab1 chore(web): Wait, this worked!? Inclusion now in original project's build! 2022-05-23 13:57:06 +07:00
jahorton
2aa0b4445c chore(web): lm-worker "test stub" code elimination 2022-05-23 13:56:09 +07:00
jahorton
0489495e60 chore(web): declaration alias for module export use 2022-05-23 13:44:55 +07:00
jahorton
83097bb56d chore(web): merge new .bundled.json from new base 2022-05-23 13:44:53 +07:00
jahorton
f20759f26a chore(web): eliminates web-environment package 2022-05-23 13:40:29 +07:00
jahorton
8ed70118d5 chore(web): web sentry-manager conversion 2022-05-23 13:36:09 +07:00
jahorton
26c30f4204 chore(web): most web packages now use keyman-version 2022-05-23 13:35:19 +07:00
jahorton
e67633f872 chore(web): reverts input-processor demodularization from #6597, #6622 2022-05-23 13:25:55 +07:00
jahorton
60cdd7f3bb chore(web): reverts keyboard-processor demodularization from #6597 2022-05-23 13:04:43 +07: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
Marc Durdin
7e5cd7a137 chore(web): chmod +x 2022-05-18 07:21:47 +10:00
Marc Durdin
be51c1b692 chore(web): chmod +x 2022-05-18 06:44:30 +10:00
Marc Durdin
05a4c33200 chore(web): move common/core/web to common/web
Relates to #5816.

Moves folders under common/core/web to common/web:

* input-processor -> common/web/input-processor
* keyboard-processor -> common/web/keyboard-processor
* tools/recorder -> common/web/recorder
* tools/sentry-manager -> common/web/sentry-manager
* utils -> common/web/utils

Updates scripts and configuration to point to new folders.
2022-05-18 06:01:03 +10:00