Joshua Horton
497ec8657f
Merge pull request #8051 from keymanapp/change/common/models/lmlayer-modularization
...
change(common/models): predictive-text worker interface package conversion to ES modules 🧩
2023-02-02 14:21:07 +07:00
Joshua Horton
bf914fe2f1
Merge pull request #8050 from keymanapp/change/common/models/lm-worker-modularization
...
change(common/models): lm-worker package conversion to ES modules 🧩
2023-02-02 14:14:22 +07:00
Joshua Horton
41e5119c0b
chore(common/models): Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-02-02 14:14:10 +07:00
Joshua Horton
caa4165aaf
Merge pull request #7809 from keymanapp/change/common/web/keyboard-processor-modularization
...
change(common/web): keyboard processor package modularization 🧩
2023-02-02 14:07:32 +07:00
Joshua A. Horton
fab0dd5820
change(common/web): another legacy endpoint tweak
2023-02-02 14:01:03 +07:00
Joshua A. Horton
9e45b4936f
fix(web): oh yeah, old keyman.osk endpoint for Codes properties
2023-02-02 13:41:24 +07:00
Joshua A. Horton
857bc80e4a
fix(common/web): debug endpoints to com.keyman.text.Codes
2023-02-02 13:36:36 +07:00
Joshua Horton
b0504394dd
chore(common/models): Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-02-02 13:24:25 +07:00
Joshua A. Horton
dc6a2b909d
change(common/web): cleaner import paths between in-repo packages
2023-02-02 12:41:51 +07:00
Joshua A. Horton
07f43cb4ba
fix(common/web): weird path in utils' package.json
2023-02-02 11:56:39 +07:00
Joshua A. Horton
1d29b9adf3
chore(web): Merge branch 'feature-esmodule-web-engine' into change/web/util-modularization
2023-02-02 10:16:19 +07:00
Joshua A. Horton
61a789a9ca
chore(web): Merge branch 'master' into chore/web/top-level-build-script-rework
2023-02-02 08:58:44 +07:00
Steven R. Loomis
709c1ccca5
fix(common) make common/web/types kvk tests pass 🙀
...
- use hexy and git-diff to show a rich diff when files are changed
- add additional round trip tests
- initialize the underlyingLayout to undefined to promote round tripping
- fix an issue with the CompilerCallbacks in the xml tests (broken in #8107 )
- fix an issue with the kvk file writer where it should set strings irregardless (#7955 )
Fixes #7967 , again
2023-01-31 12:15:39 -06:00
Joshua A. Horton
73e5333145
change(common/models): lm-worker declaration bundling
2023-01-31 12:33:24 +07:00
Joshua A. Horton
fa42b66d68
chore(common/models): Merge branch 'change/common/models/template-modularization' into change/common/models/lm-worker-modularization
2023-01-31 12:29:42 +07:00
Joshua A. Horton
2a40534d3e
change(common/web): better dev-mode declaration bundling
2023-01-31 11:54:49 +07:00
Joshua A. Horton
e789479c5c
chore(common/web): Merge branch 'change/web/util-modularization' into change/common/web/keyboard-processor-modularization
2023-01-31 10:31:46 +07:00
Joshua A. Horton
4bc1345f68
change(common/web): rely on tsc for declaration bundling
2023-01-31 10:31:25 +07:00
Joshua A. Horton
4f4842d67f
feat(web): more OSK unit tests, makes ManagedPromise a web-util
2023-01-31 10:10:08 +07:00
Steven R. Loomis
80a001520c
chore(common): imports: Apply suggestions from code review 🙀
...
- rename compiler.ts to compiler-interfaces.ts
applies to 5a4b44f2d7
Co-authored-by: Marc Durdin <marc@durdin.net>
For: #7534
2023-01-30 21:04:05 -06:00
Joshua A. Horton
d97f2b0bef
change(common/web): dependency builds should also make CJS version artifact
2023-01-30 12:38:45 +07:00
Joshua A. Horton
c99eb79968
chore(common/web): Merge branch 'feat/common/models/lm-worker-sourcemapping' into change/common/web/input-processor-modularization
2023-01-30 12:31:56 +07:00
Joshua A. Horton
1b0d167d45
feat(common/models): differentiated worker constructors
2023-01-30 12:20:26 +07:00
Steven R. Loomis
a40ee01767
feat(developer): ldml import/implied keys : review comment 🙀
...
- add a TODO comment about using a custom error class
2023-01-27 13:06:00 -06:00
Steven R. Loomis
bbd850c03b
feat(common): ldml: imports: use cldr version from constants 🙀
...
- common: more robustness in importing.
- build: don't copy imports to kmc which doesn't need it
supports #7964
2023-01-27 12:45:00 -06:00
Steven R. Loomis
a0b184a022
feat(common): ldml: use cldr version from constants 🙀
...
- update several config files
supports #7964
2023-01-27 12:45:00 -06:00
Steven R. Loomis
e5c5fd025e
feat(common): ldml: change importer to use callbacks for fs 🙀
...
supports #7964
2023-01-27 12:45:00 -06:00
Steven R. Loomis
3eb7f05df6
feat(developer): ldml implied keys work 🙀
...
- update test cases per review
- review comment
2023-01-27 12:42:18 -06:00
Steven R. Loomis
727056cb87
feat(developer): ldml support implied keys 🙀
...
- automatically add the import
Fixes : #7964
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-01-27 12:41:39 -06:00
Steven R. Loomis
6fd2e418bc
feat(common): ldml implement imports 🙀
...
add tests:
- k_100, k_101, k_102 all failed for different reasons.
- rename test cases from 'fail' to 'keytest' since they don't fail anymore
For: #7401
- update k101_fail.xml / k102_fail.xml to use an implied import
- update build.sh to bring over the imports from CLDR
For #7534
2023-01-27 12:40:22 -06:00
Steven R. Loomis
5a4b44f2d7
chore(common): move CompilerEvent, CompilerCallbacks into types 🙀
...
- make CompilerCallbacks an interface
- concrete implementations for Node (CLI) and for Testing
- change loadFile to take a string|URL 🙀
supports #7964
2023-01-27 12:37:54 -06:00
Joshua A. Horton
0536182fb0
feat(common/models): lm-worker minification, reduced sourcemap option
2023-01-27 16:11:15 +07:00
Joshua A. Horton
bc3f32f90d
chore(common/models): Merge branch 'change/common/models/lm-worker-modularization' into feat/common/models/lm-worker-sourcemapping
2023-01-27 12:28:00 +07:00
Joshua A. Horton
f6e124c722
chore(common/models): Merge branch 'change/common/models/lm-worker-modularization' into change/common/models/lmlayer-modularization
2023-01-27 12:26:14 +07:00
Joshua A. Horton
47afa8e4bb
chore(common/models): minor cleanup
2023-01-27 12:22:27 +07:00
Joshua A. Horton
b171ff342e
chore(common/web): cleans up cross-module imports, drops namespaced export setup
2023-01-27 11:45:30 +07:00
Joshua A. Horton
2c133dfe5d
chore(common/web): Merge branch 'change/web/util-modularization' into change/common/web/keyboard-processor-modularization
2023-01-27 10:41:28 +07:00
Joshua A. Horton
0783516216
fix(common/web): generates a parallel CommonJS output for KEYMAN_VERSION
2023-01-27 10:40:58 +07:00
Steven R. Loomis
592d4b0b5e
Merge pull request #7969 from keymanapp/feat/developer-7965-epic-ldml-spacebar
...
fix(common): update USVirtualKeyMap to actually be US🙀
2023-01-26 17:02:57 -06:00
Steven R. Loomis
70b351347a
Merge pull request #7570 from keymanapp/fix/core/7569-unicode-escaping-epic-ldml
...
fix(developer): ldml: fix for unescaping Unicode values 🙀
2023-01-26 14:29:17 -06:00
Steven R. Loomis
1d7e0d1922
Merge pull request #8030 from keymanapp/spec/core/7986-hardware-enum-epic-ldml
...
spec(core): ldml: make hardware be an enum 🙀
2023-01-26 14:05:26 -06:00
Steven R. Loomis
a1cfd7253d
fix(common): update USVirtualKeyMap to actually be US 🙀
...
comon/web/types:
- the USVirtualKeyMap was actually somewhat ISO-ish. Correct it.
- also, add the spacebar row.
- create a new ISOVirtualKeyMap, but not linked in anywhere.
core/tests:
- add a new test keyboard, k_010_mt.xml which is Maltese 47-key
- update k_003 which was impacted by this
For: #7965
2023-01-26 13:49:49 -06:00
Joshua A. Horton
9e3de80989
feat(common/web): unit tests for spun-off PredictionContext class: banner state management
2023-01-26 12:48:48 +07:00
Joshua A. Horton
182ed34f1d
feat(common/web): adds a few unit tests for KeyboardProperties
2023-01-25 12:39:45 +07:00
Joshua A. Horton
9741c3a6d2
docs(common/web): minor addendum to doc-comment for moved class
2023-01-25 10:23:29 +07:00
Joshua A. Horton
33e0739b01
refactor(web): moves KeyboardProperties, SpacebarText enum to keyboard-processor
2023-01-25 10:21:33 +07:00
Joshua A. Horton
ffb614f52c
chore(web): post-refactor fixes to keyboard-processor, input-processor unit tests
2023-01-25 09:14:23 +07:00
Joshua A. Horton
7dbc473d4b
chore(web): Merge branch 'change/web/element-wrapper-modularization' into change/web/osk-modularization
2023-01-23 14:31:30 +07:00
Joshua A. Horton
c81b423d6c
chore(common/web): Merge branch 'feat/common/models/lm-worker-sourcemapping' into change/common/web/input-processor-modularization
2023-01-23 14:26:55 +07:00
Joshua A. Horton
3c5ed3247a
fix(web): sourcemap-path-remapper needed a build.sh
2023-01-23 08:22:29 +07:00