Eberhard Beilharz
165829beb5
Merge branch 'epic/web-core' into chore/merge-master-into-web-core
2024-08-30 15:17:47 +07:00
Eberhard Beilharz
e788bf5077
fix(web): enable tests to run on Ubuntu 24.04 Noble
...
Previously running the tests failed because it couldn't find ICU 70 when
running webkit. Ubuntu 24.04 Noble comes with ICU 74. Updating
playwright to 1.46 fixes this.
2024-08-26 16:22:15 +07:00
Eberhard Beilharz
b1fb8122c2
refactor(web): move gesture-processor tests under web/src/test
...
`gesture-processor/src/test/auto/browser/web-test-runner.config.mjs`
run the tests on iOS and Android. However, if we enable these browsers
in `web/src/test/auto/dom/web-test-runner.config.mjs` we get failing
tests in osk, therefore these browsers are commented for now.
2024-08-26 15:29:22 +07:00
Eberhard Beilharz
7dabd30cae
refactor(web): move gesture-recognizer → gesture-processor
...
Moves `common/web/gesture-recognizer/` →
`web/src/engine/osk/gesture-processor`.
Fixes : #12151
2024-08-26 15:29:21 +07:00
Eberhard Beilharz
eb33c53b9c
chore(core): address code review comments
2024-08-26 15:10:43 +07:00
Eberhard Beilharz
0abc250af3
feat(web): POC of Core WASM integration into Keyman Web
...
- add temporary function to Core for this POC
- add new CoreProcessor to access Keyman Core WASM
- add unit tests for new core processor
- add code to KeymanEngine and InputProcessor to load the new CoreProcessor
- add web server to manual tests and new action `start` to build script
This change requires the manual tests to be loaded from a web server
instead of loaded as file, because otherwise the wasm code won't be
loaded.
Currently we always load CoreProcessor. This should be improved in a future
change to only load when it is actually needed.
Part-of: #11293
2024-08-20 22:45:39 +02:00
Eberhard Beilharz
3c14a6ec0a
Merge pull request #12150 from keymanapp/refactor/web/12148_worker-thread
...
refactor(web): move `lm-worker` → `worker-thread` 🏗️
2024-08-19 10:10:11 +02:00
Eberhard Beilharz
ac0f4f6a83
refactor(web): run npm install
...
Addresses code review comments
2024-08-19 10:08:36 +02:00
Marc Durdin
40d5cb92c1
Merge pull request #12118 from keymanapp/dependabot/npm_and_yarn/75lb/deep-merge-1.1.2
...
chore(deps-dev): bump @75lb/deep-merge from 1.1.1 to 1.1.2
2024-08-19 14:07:49 +10:00
Eberhard Beilharz
ea62ac23e7
refactor(web): move lm-worker → worker-thread
...
Move `common/web/lm-worker/` →
`web/src/engine/predictive-text/worker-thread/`.
Fixes : #12148
2024-08-16 08:35:20 +02:00
Eberhard Beilharz
78857d96c9
refactor(web): move lm-message-types → predictive-text/types
...
Moves `common/web/lm-message-types/` →
`web/src/engine/predictive-text/types/`
Fixes : #12147
2024-08-16 08:31:21 +02:00
Eberhard Beilharz
b9aa9ccd8c
refactor(web): move predictive-text → worker-main
...
This moves `common/predictive-text/` →
`web/src/engine/predictive-text/worker-main/`.
This also moves `common/test/predictive-text/` →
`web/src/test/manual/predictive-text/`. Note though that this testing
tool is still broken.
Fixes : #12134
2024-08-15 12:26:50 +02:00
Eberhard Beilharz
d640dbe6ec
Merge branch 'master' into refactor/web/12110_keyboard
...
# Conflicts:
# package-lock.json
2024-08-15 08:30:59 +02:00
Eberhard Beilharz
46ecfd4466
refactor(web): move remaining parts of keyboard-processor → keyboard
...
move parts of `common/web/keyboard-processor/` →
`web/src/engine/keyboard/`.
Fixes : #12110
2024-08-12 19:40:15 +02:00
Marc Durdin
c1d3fea8ea
chore(developer): add eventemitter3 copy to Server build
2024-08-12 20:17:51 +08:00
Marc Durdin
a887015583
refactor(developer): add extra deps for Server
...
The way that Server is built for local distribution does not currently
handle transitive dependencies for @keymanapp dependencies well. So,
this adds four dependencies from @keymanapp/developer-utils to Server so
that they will be available in the packaged deployment.
A future improvement could be to package developer-utils using npm
packaging tools, but these struggled with bundling monorepo dependencies
in the past also.
2024-08-12 11:13:22 +07:00
Marc Durdin
2814ac995c
chore(developer): include common-types dep in developer-utils
2024-08-12 06:08:56 +07:00
Marc Durdin
d93f10ae3a
refactor(developer): use npm or local source for server addons instead of github references
...
Brings trayicon source into the repository, as the source repo appears
to be dead. Updates console source to latest version on npm.
Fixes : #12077
2024-08-12 06:08:51 +07:00
Eberhard Beilharz
faacf9de8a
refactor(web): Move common/web/recorder → web/src/tools/testing/recorder-core
...
Fixes : #12091
2024-08-08 16:34:01 +02:00
Marc Durdin
d55558fb31
Merge pull request #12101 from keymanapp/refactor/common/9665-move-xml2js-and-related-deps-to-developer
...
refactor(common): move xml2js and related deps to @keymanapp/developer-utils 🐉
2024-08-07 15:16:07 +10:00
Marc Durdin
ed143fb333
Merge branch 'master' into refactor/common/9665-move-ldml-keyboard-source-file-to-developer
2024-08-07 15:15:04 +10:00
Marc Durdin
ec72245575
Merge pull request #11765 from keymanapp/refactor/common/9665-move-keyman-touch-layout-file-to-developer
...
refactor(common): move .keyman-touch-layout reader/writer to @keymanapp/developer-utils 🐉
2024-08-07 15:14:06 +10:00
dependabot[bot]
88c538160a
chore(deps-dev): bump @75lb/deep-merge from 1.1.1 to 1.1.2
...
Bumps [@75lb/deep-merge](https://github.com/75lb/deep-merge ) from 1.1.1 to 1.1.2.
- [Commits](https://github.com/75lb/deep-merge/compare/v1.1.1...v1.1.2 )
---
updated-dependencies:
- dependency-name: "@75lb/deep-merge"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-07 05:13:47 +00:00
Marc Durdin
e9d054ab2c
Merge branch 'master' into refactor/common/9665-move-kvk-file-to-developer
2024-08-07 15:13:41 +10:00
Eberhard Beilharz
d608321566
Merge pull request #12066 from keymanapp/chore/web/12054_input-processor
...
chore(web): move `common/web/input-processor/` → `web/src/engine/main/` 🏗️
2024-08-06 09:05:59 +02:00
Marc Durdin
edf47d7f43
refactor(common): move xml2js and related deps to @keymanapp/developer-utils
...
Fixes : #9665
2024-08-06 05:19:30 +07:00
Marc Durdin
d7e4c214ff
Merge pull request #12069 from keymanapp/chore/common/11376-use-nvm-in-ci
...
chore(common): use nvm in builds to select a node version automatically
2024-08-03 11:52:29 +10:00
Marc Durdin
d3d3ac1eec
refactor(common): move LDML keyboard .xml reader/writer and kmx-plus builder to @keymanapp/developer-utils
...
Relates-to: #9665
2024-08-02 10:23:11 +07:00
Eberhard Beilharz
24159d680b
chore(web): move common/web/input-processor/ → web/src/engine/main/
...
Also:
- move `modelSpec.ts` and `PredictionContext.ts` →
`web/src/engine/interfaces`
- move `correction.ts` and `correctionLayout.ts` to `web/src/engine/osk/`
Relates-to: #12035
Fixes : #12054
2024-08-01 20:13:21 +02:00
Marc Durdin
bd070683f4
refactor(developer): move additional references for TouchLayoutFile
2024-08-01 13:18:32 +07:00
Marc Durdin
53551f5662
Merge branch 'refactor/common/9665-move-kps-file-type-to-developer' into refactor/common/9665-move-kvk-file-to-developer
2024-08-01 10:35:33 +10:00
Marc Durdin
d8986be12f
refactor(common): merge master into branch
2024-08-01 07:07:07 +07:00
Marc Durdin
37a168ec1a
chore(common): back to node 20.16.0
...
node 22.5.1 (or its corresponding npm version) breaks optional dependencies in
developer/server, so node-windows-trayicon is never installed. Needs investigation
and resolution before we move to that version, so conservatively moving back to
current LTS.
2024-08-01 06:19:02 +07:00
Marc Durdin
12ee391895
chore(common): use node v22.5.1
2024-08-01 05:10:41 +07:00
Eberhard Beilharz
1389d40965
Merge branch 'master' into change/web/11878_remove-es5
2024-07-31 15:28:38 +02:00
Marc Durdin
db904b5617
fix(developer): cleanup package.json and build.sh errant references
...
During analysis of root causes for #12027 , discovered a few package
relationship issues in package.json and build.sh.
analyzer-messages.ts ///<reference> is a mitigation for now.
Relates-to: #12027
2024-07-26 06:57:32 +07:00
Eberhard Beilharz
afe25eda24
change(web): remove support for es5
...
Fixes : #11878
2024-07-04 20:49:30 +02:00
Steven R. Loomis
dcead98f3e
chore(common): deps: update eslint typescript plugins
...
- replace eslint-config-standard-with-typescript with eslint-config-love (author's recommendation)
- bump to @typescript-eslint/eslint-plugin@7.13.1 which supports Typescript 5.4.x
2024-06-20 16:50:01 -05:00
Marc Durdin
14eeb00405
Revert "chore(common): update base-package node-engine setting"
2024-06-19 15:14:19 +10:00
Joshua Horton
a800c2f969
Merge pull request #11798 from keymanapp/chore/common/update-package-node-reqt
...
chore(common): update base-package node-engine setting
2024-06-19 08:11:53 +07:00
dependabot[bot]
aca6e1dfcc
chore(deps): bump ws from 8.16.0 to 8.17.1
...
Bumps [ws](https://github.com/websockets/ws ) from 8.16.0 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.16.0...8.17.1 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 22:02:42 +00:00
Marc Durdin
0d70b41cb9
Merge pull request #11756 from keymanapp/dependabot/npm_and_yarn/braces-3.0.3
...
chore(deps-dev): bump braces from 3.0.2 to 3.0.3
2024-06-19 08:01:47 +10:00
Joshua A. Horton
6b565cad93
change(common): set package to node 22 only
2024-06-17 15:11:57 +07:00
Joshua A. Horton
d57022cdc7
change(common): sets a minimum v20 b/c import attributes
2024-06-17 11:51:57 +07:00
Joshua A. Horton
1e13272d1b
chore(common): update base-package node-engine setting
...
Fixes : #11689
2024-06-17 11:45:37 +07:00
Joshua A. Horton
ace4eb25c4
chore(common): Merge branch 'master' into change/common/update-esbuild
2024-06-13 12:47:55 +07:00
Marc Durdin
1c74d9d713
refactor(common): move kvks-file to @keymanapp/developer-utils
...
Relates to #9665
2024-06-13 08:58:55 +10:00
Joshua Horton
ce49f12af9
Merge pull request #10432 from keymanapp/feat/web/package-kbd-renderer
...
feat(web): add bulk_render variant that loads and renders keyboards from local KMP
2024-06-12 12:56:40 +07:00
dependabot[bot]
20ea33ac13
chore(deps-dev): bump braces from 3.0.2 to 3.0.3
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-12 01:06:33 +00:00
Joshua A. Horton
b682f896ec
change(common): match original version from package-lock
2024-06-10 11:43:23 +07:00