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
Eberhard Beilharz
bba694c306
refactor(web): work around global in interface
2024-08-12 19:33:29 +02:00
Eberhard Beilharz
c09c895333
refactor(web): move parts of keyboard-processor → js-processor
...
Move parts of `common/web/keyboard-processor/` →
`web/src/engine/js-processor/`.
Note this temporarily disable tests for keyboard-processor which depend on
js-processor, until #12110 is fixed.
Fixes : #12067
2024-08-08 18:25:03 +02: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
32b4711659
Merge branch 'master' into refactor/common/9665-move-compiler-interfaces-to-developer
2024-08-07 15:15:45 +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
Marc Durdin
e9d054ab2c
Merge branch 'master' into refactor/common/9665-move-kvk-file-to-developer
2024-08-07 15:13:41 +10:00
Marc Durdin
88506cea6b
Merge branch 'master' into refactor/common/9665-move-kps-file-type-to-developer
2024-08-07 15:13:10 +10:00
Marc Durdin
7849b7734b
Merge pull request #11531 from keymanapp/refactor/common/9665-move-project-file-type-to-developer
...
refactor(common): move kpj-related files into developer-utils 🐉
2024-08-07 15:12:31 +10:00
Joshua Horton
460a9d7368
Merge pull request #12104 from keymanapp/fix/web/lm-worker-test
...
fix(web): fix lm-worker test broken by botched merge conflict resolution
2024-08-06 15:25:00 +07:00
Eberhard Beilharz
ebd2bf423a
Merge pull request #12072 from keymanapp/change/web/8146_moveCodes2
...
refactor(web): refactor and harmonize constants 🏗️
2024-08-06 09:06:31 +02: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
Joshua A. Horton
10b1de4765
fix(web): fix lm-worker test broken by botched merge conflict resolution
2024-08-06 13:50:40 +07:00
Joshua Horton
bf9c6836cc
Merge pull request #12082 from keymanapp/fix/web/worker-build-patchup
...
fix(web): patch up worker build to provide artifacts for its tests
2024-08-06 12:42:09 +07:00
Joshua A. Horton
5ab2a79547
chore(web): Merge branch 'master' into change/web/tokenization-awareness-for-predictions
2024-08-06 09:57:48 +07:00
Joshua Horton
7138778431
Merge pull request #11979 from keymanapp/change/web/full-context-tokenization-tracking
...
change(web): track whitespace-aware tokenization for context + correction-search caching 📚
2024-08-06 09:56:48 +07:00
Joshua Horton
303e0da3b4
Merge pull request #11998 from keymanapp/feat/web/transform-tokenization
...
feat(web): support transform tokenization when given a root context 📚
2024-08-06 09:56:39 +07:00
Joshua Horton
053e9bcd55
Merge pull request #11975 from keymanapp/change/common/models/tokenization
...
change(common/models): change model tokenization to also tokenize whitespace 📚
2024-08-06 09:56:31 +07:00
Joshua A. Horton
1d6ea1aff0
docs(web): adds function doc-comments per review on ancestor PR #11998
2024-08-06 08:33:06 +07: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
Eberhard Beilharz
66c74e067a
refactor(web): don't include new ModifierKeyConstants in modifierCodes
...
Keep `modifierCodes` as legacy API. This addresses a code review comment
(https://github.com/keymanapp/keyman/pull/12072#discussion_r1703685759 ).
2024-08-05 15:51:03 +02:00
Marc Durdin
42698eb96d
chore: Update common/web/types/build.sh
2024-08-05 09:45:27 +10:00
Marc Durdin
98560dd644
Merge pull request #12030 from keymanapp/refactor/developer/kmcmplib-compiler-errors
...
refactor(developer): move functions and variables into CompilerErrors.cpp 🌋
2024-08-03 12:07:49 +10:00
Marc Durdin
e67aed1606
refactor(common): move compiler-interfaces to @keymanapp/developer-utils
...
This should be the last step in the refactoring.
Fixes : #9665
2024-08-02 13:49:59 +07:00
Joshua A. Horton
90e7c5b612
fix(web): patch up worker build to provide artifacts for its tests
2024-08-02 10:31:51 +07: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
Joshua A. Horton
4d78ea9a3e
chore(common/models): defines Token type per review suggestion (from child PR)
2024-08-02 08:22:43 +07:00
Joshua A. Horton
bef70e6185
chore(web): drops unneeded '!.' mentioned in review
2024-08-02 08:17:55 +07:00
Eberhard Beilharz
2c2acbe863
refactor(web): refactor and harmonize constants
...
Note that this adds the keyCodes > 50000 to `USVirtualKeyCodes`.
Fixes : #8146
2024-08-01 20:36:43 +02: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
Joshua A. Horton
3cf13998ca
chore(web): minor typing improvement
2024-08-01 08:32:36 +07:00
Joshua A. Horton
3d278a33c7
chore(web): Merge branch 'change/web/full-context-tokenization-tracking' into change/web/tokenization-awareness-for-predictions
2024-08-01 08:31:55 +07:00
Joshua A. Horton
d09d90c41a
chore(web): minor cleanup for dropped code per review
2024-08-01 08:29:17 +07:00
Joshua A. Horton
e6cf85baf5
chore(common/models): defines Token type per review suggestion
2024-08-01 08:28:57 +07:00
Marc Durdin
08803111e5
Merge branch 'refactor/common/9665-move-kvk-file-to-developer' into refactor/common/9665-move-keyman-touch-layout-file-to-developer
2024-08-01 10:35:48 +10: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
ad9ba1f188
Merge branch 'refactor/common/9665-move-project-file-type-to-developer' into refactor/common/9665-move-kps-file-type-to-developer
2024-08-01 10:34:05 +10:00
Marc Durdin
d8986be12f
refactor(common): merge master into branch
2024-08-01 07:07:07 +07:00
Eberhard Beilharz
1389d40965
Merge branch 'master' into change/web/11878_remove-es5
2024-07-31 15:28:38 +02:00
Joshua A. Horton
9904a0c425
fix(web): improve post-punctuation, post-whitespace handling
2024-07-31 13:00:32 +07:00
Eberhard Beilharz
e42a895977
fix(web): export consts
2024-07-30 09:47:02 +02:00
Joshua Horton
32e1ed12ea
Merge pull request #11952 from keymanapp/refactor/web/correction-search-thresholding
...
refactor(web): spin off method for correction-search probability-thresholding check 📚
2024-07-30 08:47:30 +07:00
Eberhard Beilharz
fd8ffb5efc
chore(web): don't deep import and remove sub-export of util
...
Addresses code review comments and reverts eb9205f46e and
partially reverts 5552fdd5ad .
2024-07-29 17:43:34 +02:00
Joshua A. Horton
a966b7b8fc
chore(web): implement optional-chaining PR suggestion
2024-07-29 15:46:25 +07:00
Joshua A. Horton
612adf6fae
fix(web): prevents correction from deleting tokens
2024-07-29 15:40:56 +07:00
Joshua A. Horton
dd91671595
fix(web): prevents correction from deleting tokens
2024-07-29 15:38:27 +07:00
Joshua A. Horton
a5dc128975
chore(web): Merge branch 'master' into feat/web/case-detection-unit-tests
2024-07-29 15:04:40 +07:00
Joshua Horton
b29900ec59
Merge pull request #11949 from keymanapp/feat/web/prediction-lookup-unit-tests
...
feat(web): add unit tests for prediction lookup component 📚
2024-07-29 15:02:58 +07:00