Commit graph

3254 commits

Author SHA1 Message Date
Joshua A. Horton
5bd3f962d3 chore(web): Merge branch 'fix/web/browser-toolbar-ui' into fix/web/browser-float-ui 2023-05-29 13:11:35 +07:00
Joshua A. Horton
f0b84adf75 chore(web): Merge branch 'fix/web/dom-keyevent-recorder' into fix/web/integrated-test-restoration 2023-05-29 10:23:10 +07:00
Joshua A. Horton
60a4a88af3 fix(web): input-processor unit test - param missing 2023-05-26 15:19:19 +07:00
Joshua A. Horton
6d1a0b15ae fix(web): reverts prop name update 2023-05-25 09:10:02 +07:00
Joshua A. Horton
bc51f813e2 fix(common/models): predictive-text sourcemap fix 2023-05-24 15:47:23 +07:00
Joshua A. Horton
6ffd4a4c89 chore(web): Merge branch 'feature-esmodule-web-engine' into refactor/web/alerts-and-waits 2023-05-23 11:55:30 +07:00
Joshua A. Horton
2fe0d3c33a chore(web): Merge branch 'feature-esmodule-web-engine' into chore/web/hardware-event-keyboard 2023-05-23 11:50:54 +07:00
Joshua A. Horton
ca894d0991 chore(web): Merge branch 'master' into chore/web/merge-master-esmodule-a17s13-mid 2023-05-22 13:49:45 +07:00
Joshua A. Horton
5547944991 fix(web): missed a needed .js -> .cjs 2023-05-18 08:24:20 +07:00
Joshua A. Horton
2e3bf2f552 fix(web): restores other test suites, aside from KMW UI modules 2023-05-17 11:46:11 +07:00
Ross
1d3fc99b28 chore(windows): Merge branch 'master' into chore/windows/5442/remove-legacy-keyman-core 2023-05-17 10:27:56 +10:00
Joshua A. Horton
1999c6cc12 chore(web): reimplements keyboard-related alerts and waits 2023-05-16 10:45:03 +07:00
Joshua A. Horton
096bbeedf7 chore(web): sorts out hardware key-event construction 2023-05-16 10:43:53 +07:00
Joshua A. Horton
1308e74833 chore(web): Merge branch 'feature-esmodule-web-engine' into fix/web/webview-android-launch 2023-05-15 08:50:28 +07:00
Steven R. Loomis
1937552f39 Merge remote-tracking branch 'upstream/master' into feat/developer-234-uset-wasm-epic-ldml 2023-05-12 08:44:19 -05:00
Joshua A. Horton
84cf3fdca5 fix(web): banner state management after predict-mode toggling 2023-05-12 14:25:21 +07:00
Joshua A. Horton
d9425bb1ff chore: Merge branch 'master' into feature-esmodule-as17s12-end-update 2023-05-12 11:53:12 +07:00
Marc Durdin
7982bd955c
Merge pull request #8729 from keymanapp/chore/developer/move-package-formats-to-common-types
chore(developer): move package formats to common/web/types
2023-05-12 12:25:19 +10:00
Steven R. Loomis
6317583528 feat(developer): kmc-kmn: wasm and error message updates 🙀
developer:
- update wasm machinery in kmc-kmn to be more self contained
- improve exception situation in wasm functions

common:
- compilerErrorFormatCode() for formatting the raw code such as for tests
- compilerExceptionToString() for formatting exceptions in messages

for: #7234
2023-05-11 10:37:46 -05:00
Marc Durdin
53ccdbe241 chore(developer): move package formats to common/web/types
Package file interfaces were stored in developer/kmc-package but belong
better now in common/web/types.
2023-05-09 15:48:50 +07:00
Marc Durdin
4838ba1ffe chore: rename kmc-keyboard to kmc-ldml
Part of #8719.
2023-05-09 14:08:45 +07:00
Eberhard Beilharz
b84915f745
Merge pull request #8510 from keymanapp/fix/linux/tests
fix(linux): Fix linux tests
2023-05-08 11:14:36 +02:00
Eberhard Beilharz
a7630a0265
fix(linux): Fix linux tests 2023-05-05 10:55:45 +02:00
Marc Durdin
292886479f
Merge pull request #8698 from keymanapp/chore/common/8693-set-eu-all-build-scripts
chore(common): `set -eu` in build-utils.sh
2023-05-05 13:18:52 +10:00
Marc Durdin
4a2062ecfb
fix(common): predictive-text unit_tests further builder_term fixes 2023-05-02 21:35:42 +10:00
Joshua A. Horton
b39011be73 chore(web): Merge branch 'feature-esmodule-web-engine' into fix/web/webview-android-launch 2023-05-02 16:03:40 +07:00
Joshua A. Horton
e42fa70aa8 chore(web): Merge branch 'feature-esmodule-web-engine' into chore/web/update-feature-esmodule-a17s12-start 2023-05-02 12:59:35 +07:00
Joshua A. Horton
4a2beb9a38 fix(web): model display-state issues 2023-05-02 12:53:36 +07:00
Marc Durdin
57cf6e07db chore(common): fix typo in build script 2023-05-02 12:41:38 +07:00
Marc Durdin
4eca9c3ecf
Merge pull request #8692 from keymanapp/chore/common/8485-common-and-resources-tests
chore(common): run common and resources tests
2023-05-02 15:17:38 +10:00
Marc Durdin
74f9276695 chore(common): run common and resources tests
This sets us up to run all common/ and resources/ tests from a single
script, common/build.sh. This test will be run on each platform for all
changes made in common/ or resources/.

Also renamed files and paths for consistency in resources/ and updated
tests accordingly.
2023-04-28 14:07:34 +07:00
Steven R. Loomis
07392ed460 feat(developer): update tests and reader for transforms 🙀
- not working yet, but 'update' some XML

for #7377
2023-04-27 12:21:03 -05:00
Marc Durdin
f2bc55bb31
Merge pull request #8674 from keymanapp/refactor/developer/callbacks-instead-of-direct-fs
refactor(developer): use callbacks to avoid direct fs access in kmc-package
2023-04-27 17:56:47 +10:00
Marc Durdin
983d5076f9
Merge pull request #8666 from keymanapp/chore/developer/kmc-keyboard-web-compatible
chore(developer): kmc-keyboard should not use any node-specific modules
2023-04-27 17:56:23 +10:00
Marc Durdin
e02f4670a7
Merge pull request #8665 from keymanapp/chore/developer/add-eslint-baseline
chore(developer): add eslint devDependency for kmc
2023-04-27 17:56:14 +10:00
Marc Durdin
6fb9b72437 fix(developer): project relative path calculation and add test 2023-04-26 15:56:00 +07:00
Marc Durdin
5e0471f0b7 refactor(developer): use callbacks to avoid direct fs access in kmc-package
Fixes #8644.

This is a signficant cleanup and refactor of code that was accessing the
fs or path modules in Node directly. Given we want to be able to run
these modules on web as well in the future, it is important that we
avoid that.

This also redesigns the CompilerCallback interfaces to provide Node-like
interfaces for path and fs, with a minimal set of functions. The aim
here is to provide a surface that will hopefully match a future
web-based component such as path-browserify without significant
retooling of the kmc-* modules.

Enables linting for common/web/types and turns on the
eslintNoNodeImports checks for that module and kmc-package.

Note: Buffer is still in use in a few places also, so we'll need to
refactor that in a future commit.
2023-04-26 12:31:50 +07:00
Steven R. Loomis
79afbd75ae fix(developer): fix jis scan codes 🙀
- also see discussion in https://github.com/keymanapp/keyman/pull/8513

for #8552
2023-04-25 17:40:20 -05:00
Marc Durdin
5f9ccab4ce refactor(common): move basename func to common/web/types
This is the best place for it for now. Later we may move elsewhere.
2023-04-25 14:49:45 +07:00
Marc Durdin
ac39427f60 chore(developer): add eslint devDependency for kmc
Adds eslint, effectively disabled, to infrastructure for all of kmc.

Note that eslintNoNodeImports.js will be used in the next commit, for
verifying #8644.
2023-04-25 13:44:56 +07:00
Darcy Wong
1189482569 Merge pull request #8660 from keymanapp/chore/common/move-the-99-keyboard
chore(common): Move the_99 test fixture keyboard
2023-04-25 10:51:00 +07:00
Darcy Wong
a3e685d12a chore(common): Rename folder 2023-04-25 09:51:03 +07:00
Darcy Wong
64c6bfbbe9 chore(common): Ignore build/ folders 2023-04-25 09:10:30 +07:00
Darcy Wong
3d221381fe chore(common): Skip issue folder 2023-04-25 07:33:41 +07:00
Darcy Wong
91c9cbf61d chore(common): Skip issue folder 2023-04-25 07:18:23 +07:00
Darcy Wong
aa218d4896 chore(common): cd to $THIS_DIR 2023-04-25 07:09:28 +07:00
Darcy Wong
92670f4100 chore(common): Fix issue number 2023-04-24 15:30:41 +07:00
Darcy Wong
f216673f54 chore(common): Update path 2023-04-24 15:09:00 +07:00
Darcy Wong
23f1e79d2f chore(common): Move the_99 test keyboard to issue folder 2023-04-24 15:06:53 +07:00
Marc Durdin
f9c818f103 chore(common): update dependency paths 2023-04-24 08:51:39 +07:00