Commit graph

5162 commits

Author SHA1 Message Date
Darcy Wong
6c32ce5603
Merge pull request #6569 from keymanapp/fix/core/web/sentry-manager-for-each
fix(common/core/web): Fix forEach loop in SentryManager
2022-04-27 05:51:57 +07:00
Keyman Build Agent
2a59670bf2 auto: increment beta version to 15.0.241 2022-04-26 14:02:34 -04:00
jahorton
058e83464f fix(common/models): re-attaches left-context-final single-quote for contractions 2022-04-26 10:09:21 -05:00
Darcy Wong
de6dfda0cc fix(common/core/web): Fix forEach loop in SentryManager 2022-04-26 11:26:27 +07: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
6770f87d7a auto: increment master version to 16.0.9 2022-04-17 14:04:01 -04:00
Marc Durdin
575250f1d9 chore(web): remove unneeded deps 2022-04-17 06:58:24 +10:00
Marc Durdin
0fbf53f8d7 chore(web): move version from package.json to keyman-version package
Starts to resolve the chaos of putting version numbers into every
package.json file.

Adds a new keyman-version package which mimics the
version information in build-utils.sh. This will eventually replace
resources/web-environment.

Fixes the build for the lexical model compiler tools to remove refs to
package.json version and use keyman-version instead.

More fixes coming in a follow-up.
2022-04-17 06:47:39 +10:00
Marc Durdin
4e962e1282 chore: Merge branch 'master' into chore/beta-to-master-B15S7 2022-04-16 05:11:03 +10:00
Keyman Build Agent
4052e00890 auto: increment beta version to 15.0.235 2022-04-14 14:02:32 -04:00
Marc Durdin
2f2d3c72c9 chore(web): move lm-worker into its own folder
This starts the reorg required for splitting the lm worker into its own
module. Tests are still not working. But builds are going.

Some decisions to be made around the final path for wrapping of the
code. I think it may be possible to do something a whole lot more
elegant by moving the wrapping process into the KMW build and leaving
the LM Worker output as a pure tsc output -- given only KMW wants the
wrapped worker anyway (tests aside). The actual wrapping code could
still be in the lm-worker folder.
2022-04-14 15:33:23 +10:00
Joshua A. Horton
53cd3b1b71 change(web): re-renaming the test kbd 2022-04-13 18:32:10 -05:00
Keyman Build Agent
767817c425 auto: increment beta version to 15.0.234 2022-04-13 14:02:17 -04:00
Marc Durdin
e0b308b983 chore(web): cleanup for ts projects 2022-04-13 15:19:55 +10:00
Joshua A. Horton
f16f1185de fix(web): kmn typo 2022-04-12 16:31:47 -05:00
Joshua A. Horton
5e52ed4d2d change(web): renamed+moved 'vowel hater' test kbd 2022-04-12 08:30:09 -05:00
Joshua Horton
226be15de3
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-04-12 08:11:34 -05:00
Marc Durdin
0ac04d0530 chore(web): Merge branch 'beta' into chore/web/no-more-lerna 2022-04-12 21:17:15 +10:00
Marc Durdin
4d94786852 chore(web): replace lerna with npm workspaces and ts projects
Fixes #6320.

Part 1 of moving from lerna to a simpler, maintained monorepo solution,
using TypeScript Projects and NPM Workspaces.

There is more work to be done here. At this point, KeymanWeb builds and
runs without errors, but the built file is substantially different,
mostly in include order.

Using TypeScript Projects, we move away from the need to run build
scripts in various locations for almost all the Typescript modules.

TODO: Embedded versions and tests have not been verified.

TODO: developer/server is not yet verified.

TODO: developer/js (needs a rename!) is not yet verified.

TODO: Currently, the predictive-text folder needs refactoring to move
the construction of the worker wrapper out of the Predictive Text build
and into the final assembly of keymanweb.js (as it should be valid to
run it as a separate .js anyway).

TODO: Most of the `<reference>` paths need to be re-verified. Ideally
there should be no references outside the current module for any given
.ts.

TODO: The embedded vs browser vs node (headless) builds should be tidied
up for consistency so that it's obvious what depends on what. This is
currently messiest in the predictive-text folder, where the output names
diverge from the filenames and the various files are mixed in the same
folder (as evidenced by the exclusions listed in each tsconfig.json).

TODO: `npm install` should be removed from most build scripts and
instead `npm ci` (#6196) should be run only once from the top-level
folder for any given build. I've had eliminated side-effects from the
`install` action for npm, which makes it easier to reason about state.

TODO: verify_npm_setup and related functions can probably be eliminated.

TODO: most of the build scripts should be largely eliminated for web.

TODO: several ts projects use inconsistent output folders.

TODO: it may be possible to generate a .d.ts for models/types so that
we can use a consistent reference for those as well.

TODO: build.sh, tsconfig.json should always be in the module's top-level
folder, not in a subfolder such as src (e.g. see input-processor/src,
keyboard-processor/src, web/source).

TODO: resources/web-environment should be in common/web.

TODO: other js node_modules imports should be wrapped like es6-shim.

TODO: fix up the publish code for npm modules

TODO: eliminate version numbers from package.json if possible?

Whew, that's most of the stuff I noticed!
2022-04-12 21:02:33 +10: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
Darcy Wong
cb10a4c4e3
Merge pull request #6477 from keymanapp/fix/android/engine/verify-count-surrogate-pairs
fix(android/engine): Update countSurrogatePairs()
2022-04-09 08:10:43 +07: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
a3984eab70 auto: increment master version to 16.0.8 2022-04-07 03:22:54 -04:00
Marc Durdin
4f32efb5a4 chore: Merge branch 'master' into chore/beta-to-master-B15S7 2022-04-07 11:21:54 +10:00
Darcy Wong
b9f6ac34e2 test(common/resources): Add Noto font to web_context_tests keyboard 2022-04-07 08:04:42 +07:00
Keyman Build Agent
588d0e8506 auto: increment master version to 16.0.7 2022-04-05 14:03:14 -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
ab5ab6938a auto: increment master version to 16.0.6 2022-04-04 14:05:42 -04:00
Keyman Build Agent
6e8a458c3b auto: increment beta version to 15.0.228 2022-04-04 14:03:57 -04:00
Marc Durdin
50d584f745
Merge pull request #6457 from keymanapp/fix/web/6005-modifier-breaks-suggestions
fix(web): rely on caller for unmatched keys
2022-04-04 19:28:42 +10:00
Marc Durdin
757e2f5365 chore: Merge branch 'master' into chore/beta-to-master-B15S6 2022-04-04 12:39:16 +10:00
Marc Durdin
29d32bc0e6 chore: Merge branch 'master' into chore/beta-to-master-B15S6 2022-04-04 12:37:15 +10: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