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
Joshua A. Horton
7b67b2f095
fix(developer): keyman-version package reference
2023-05-12 11:53:34 +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
3ee1132200
Merge pull request #8757 from keymanapp/feat/developer/validate-package-name
...
feat(developer): validate package name in compiler
2023-05-12 13:22:58 +10:00
Marc Durdin
34ba77ff2b
Merge pull request #8755 from keymanapp/feat/developer/validate-content-file-names-in-packages
...
feat(developer): validate content file names in packages
2023-05-12 13:22:50 +10:00
Marc Durdin
25f3a42bd5
Merge pull request #8751 from keymanapp/feat/developer/validate-package-filename
...
feat(developer): add validation of package filenames
2023-05-12 12:25:33 +10:00
Marc Durdin
090170ce8d
Merge pull request #8740 from keymanapp/feat/developer/package-validation-in-kmc-package
...
feat(developer): add package validation
2023-05-12 12:25:26 +10: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
Marc Durdin
70279914a8
feat(developer): validate package name in compiler
2023-05-11 15:03:53 +07:00
Marc Durdin
b2be12c258
feat(developer): validate content file names in packages
2023-05-11 14:42:26 +07:00
Marc Durdin
88b31ba49e
feat(developer): add validation of package filenames
...
Adds `WARN_PackageNameDoesNotFollowKeyboardConventions` and
`WARN_PackageNameDoesNotFollowLexicalModelConventions`, refactoring as
required to test filenames, and adds unit tests for same.
2023-05-11 13:23:33 +07:00
Marc Durdin
a77aa8b54c
chore(developer): refactor checkForModelsAndKeyboardsInSamePackage into separate func
2023-05-11 12:44:45 +07:00
Marc Durdin
97b4e35ec6
Merge pull request #8742 from keymanapp/feat/common/builder-run-action
...
feat(common): add `builder_run_action` shorthand function
2023-05-10 18:58:22 +10:00
Marc Durdin
7cf891b7c0
chore(developer): add validation to kmlmi
2023-05-10 12:56:26 +07:00
Marc Durdin
97837d2021
feat(common): add builder_run_action shorthand function
2023-05-10 12:50:39 +07:00
Marc Durdin
6c17f4851a
feat(developer): add validation for keyboards in package
...
Adds validation for WARN_PackageShouldNotRepeatLanguages for keyboards
plus unit test.
2023-05-10 11:57:40 +07:00
Marc Durdin
dbc64bcbb0
feat(developer): add package validation
...
Adds a package-validation.ts module, plus adds a call to the validation
step in the compilers.
Rearranges the kmc-package files to match other compilers better.
Removes `default` from exports.
And finally, adds ERROR_PackageCannotContainBothModelsAndKeyboards and
WARN_PackageShouldNotRepeatLanguages messages, plus tests.
2023-05-10 11:50:54 +07:00
Marc Durdin
7d8416dc9e
chore(developer): fixup dependencies for kmc-model-info
...
Removes the ugly cross-dependency on kmc-package, as the metadata file
is now in common-types.
2023-05-10 09:07:23 +07: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
2f65acf268
chore(developer): additional kmc-ldml ref
2023-05-09 14:24:59 +07:00
Marc Durdin
4838ba1ffe
chore: rename kmc-keyboard to kmc-ldml
...
Part of #8719 .
2023-05-09 14:08:45 +07:00
Joshua A. Horton
797606d363
fix: model de-registration endpoint references
2023-05-05 09:19:32 +07:00
Steven R. Loomis
2374c94ceb
Merge pull request #8691 from keymanapp/feat/developer-7377-transform-format-epic-ldml2
2023-05-04 07:49:18 -05:00
Joshua A. Horton
fd21d267f3
fix(developer): right, gotta update keyman-version references from master
2023-05-03 08:45:48 +07: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
Steven R. Loomis
f2261c2243
fix(developer): partial Revert in test and json validator
...
This partially reverts commit 55405e5cf1 .
2023-05-01 21:36:45 -05:00
Steven R. Loomis
a1fea150bf
fix(developer): try again to unbreak windows kmcmplib 🙀
...
- use 'all objects' + icu for the test build
- this wasn't working in windows before
feat(developer): compiler updates for ldml transforms 🙀 #7377
2023-05-01 19:56:22 -05:00
Steven R. Loomis
9fdffdb7e3
fix(developer): try to unbreak windows kmcmplib 🙀
...
feat(developer): compiler updates for ldml transforms 🙀 #7377
2023-05-01 16:54:09 -05:00
Steven R. Loomis
6f568bbadf
feat(developer): uset api in kmcmplib 🙀
...
- another windows fix
For: #7377
2023-04-28 19:10:22 -05:00
Steven R. Loomis
3996bd0046
feat(developer): fix for kmcmplib 🙀
...
- fix build issue on windows
For: #7377
2023-04-28 15:58:15 -05:00
Steven R. Loomis
ea4da7fc92
feat(developer): fix for kmcmplib 🙀
...
- include icu static lib
For: #7377
2023-04-28 14:49:48 -05:00
Steven R. Loomis
13d34065c7
feat(developer): uset api in kmcmplib 🙀
...
- use a wrapped ICU
For: #7377
2023-04-28 14:25:26 -05:00
Steven R. Loomis
2efd503a03
fix(developer): updates to warning fixes in kmcmplib
...
- improvements per code review
For: #8688
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-04-28 12:31:41 -05:00
Steven R. Loomis
55405e5cf1
fix(developer): warning fixes in kmcmplib
...
- failing build on XCode
- fix sprintf, tmpnam, others
For: #8688
2023-04-27 15:31:23 -05:00
Steven R. Loomis
473d4e31d4
feat(developer): fix basic.xml… for now 🙀
...
- comment out much of the transform related content
- fix broken build-fixtures
for #7377
2023-04-27 12:21:04 -05: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
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
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
ccb84b0c20
chore(developer): kmc-keyboard should not use any node-specific modules
...
One of a set of updates for kmc-*, as all of them currently have either
wasm-fs or node core module references. This is the easiest patch.
2023-04-25 14:18:26 +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
Marc Durdin
9d75e0265a
Merge branch 'master' into chore/developer/8656-uniqueness-test-for-messages
2023-04-25 13:29:10 +10:00
Marc Durdin
f475176f8f
chore(developer): update dependency refs
2023-04-25 09:47:30 +07:00
Marc Durdin
c9bca0bff2
chore(developer): test message correctness in compiler modules
2023-04-25 07:51:07 +07:00
Marc Durdin
82a28f56f2
refactor(developer): move message correctness test into shared unit
2023-04-25 06:01:36 +07:00
Marc Durdin
71e5cb5b1a
Merge pull request #8652 from keymanapp/chore/developer/build-dependencies
...
chore(developer): fixup deps for kmc modules
2023-04-24 22:51:31 +10:00
Marc Durdin
ec3adcf9d6
chore(developer): additional messages
2023-04-24 12:43:23 +07:00
Marc Durdin
f11ff9d208
chore(developer): fixup deps for kmc modules
2023-04-24 09:01:29 +07:00
Marc Durdin
f9c818f103
chore(common): update dependency paths
2023-04-24 08:51:39 +07:00