Commit graph

1707 commits

Author SHA1 Message Date
jahorton
f0a0aa379d chore(common): PR review adjustments 2022-06-20 07:57:50 +07:00
jahorton
f06c5b0c8c docs(web): almost lost a significant doc-comment 2022-06-17 08:11:32 +07:00
jahorton
c0a6f082ba chore(web): pr cleanup per suggestions 2022-06-17 08:08:49 +07:00
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
Eberhard Beilharz
f2de89bcc2
chore(common): Merge branch 'master' into chore/common/move-common-core-desktop-to-core 2022-06-15 09:00:32 +02:00
jahorton
0a29496cc1 chore(web): removes iOS 9 pred-text required pseudo-polyfill 2022-06-14 10:54:37 +07:00
jahorton
0f9ade6899 chore(web): reinserts added || die parts to lm-worker wrapping build 2022-05-31 10:02:08 +07:00
jahorton
f23fa7944f chore(web): eliminates es6-shim TS project 2022-05-31 09:35:52 +07:00
jahorton
75964b0077 chore(web): drops non-pred text dependence on es6-shim 2022-05-31 09:11:20 +07:00
jahorton
f4b7cab97a chore(web): rips out IE detection 2022-05-31 09:11:15 +07:00
jahorton
6732e16b1c chore(web): reinserts @ts-nocheck 2022-05-31 09:11:15 +07:00
jahorton
6566031d1b docs(common/models): on early Android dependencies 2022-05-31 09:05:06 +07: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
d5aa61fdc0 chore(common): Merge branch 'chore/web/keyman-version-for-developer' into chore/common/move-common-core-desktop-to-core 2022-05-30 09:38: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
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
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
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
Marc Durdin
d310ad9c85 chore(developer): move developer/inst to developer/src/inst/node 2022-05-18 10:21:16 +10:00
Marc Durdin
a617aa72ee chore(developer): update scripts for developer/kmlmc path 2022-05-18 09:35:35 +10:00
Marc Durdin
4ab3c53810 chore(common): adjust scripts for core relocation 2022-05-18 07:22:11 +10: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
Marc Durdin
dfd5fad2c7 chore(common): move common/core/web to common/web and flatten 2022-05-17 11:15:22 +10:00
Marc Durdin
833dde0ae4 chore: remove unnecessary package-lock.json files 2022-05-16 14:47:58 +10:00
Marc Durdin
1f708d06de chore(web): build.sh +x 2022-05-16 08:45:45 +10:00
Marc Durdin
af44c0687f chore(web): move web-environment to common/web 2022-05-16 08:29:46 +10:00
Marc Durdin
41bd9069ad chore(web): fixup lmlayer test paths 2022-05-13 09:52:08 +10:00