Commit graph

20 commits

Author SHA1 Message Date
Marc Durdin
2f2f998da6 fix(developer): schema conformance for model package compiler
Fixes #3199.

Ensures that the model package compiler passes schema validation for
kmp.json. Three problems were corrected:

1. `followKeyboardVersion` is a source-only property; it should not be
   in deployable kmp.json.
2. `copyLocation` should have been a number not a string (in XML
   everything is a string... but JSON has more control here)
3. `fileType` is a source-only property; it also should not be in
   deployable kmp.json.

I have checked that the resulting files validate against the package
kmp.json schema version 1.1.0 defined at
https://github.com/keymanapp/api.keyman.com/blob/master/schemas/package/1.1.0/package.json.

None of these fixes should impact the use of these packages in target
apps. `followKeyboardVersion` and `fileType` are used only in the source
at package development time, and `copyLocation` is unused (and should be
eliminated from Keyman altogether in the future).
2021-03-01 10:57:49 +11:00
Eddie Antonio Santos
78a3bb0862
feat(developer/compilers): compile script overrides 2020-08-24 16:01:42 -06:00
Eddie Antonio Santos
0885829a44
test(developer/compilers): test compile model with script overrides 2020-08-24 15:45:17 -06:00
Eddie Antonio Santos
1cdf911e5e
test(common/lmlayer): specify join word breaker 2020-04-27 15:59:52 -06:00
Eddie Antonio Santos
791d4797b0
docs(common/lmlayer): correct Keyman version
Co-Authored-By: Marc Durdin <marc@durdin.net>
2020-04-23 16:22:00 -06:00
Eddie Antonio Santos
fb79d5fd6d
docs(common/lmlayer): spruce up comments 2020-04-23 13:50:12 -06:00
Eddie Antonio Santos
79395d15be
test(common/lmlayer): test file with new word breaker syntax 2020-04-23 12:13:05 -06:00
Marc Durdin
45c0ea105e fix(developer): kmlmc generates invalid json with smp 2019-12-09 13:37:51 +00:00
Marc Durdin
5da14fb040 [Developer] Remove extraneous version tag from test 2019-10-03 21:00:46 +10:00
Marc Durdin
90fdff3b75 [Developer] Respond to review comments 2019-09-02 14:33:40 +10:00
Marc Durdin
ff337f3464 [Developer] Add first test for kmp compiler 2019-09-02 08:44:54 +10:00
Eddie Antonio Santos
0d3fc7bbf6
Test compiling with an explicit word breaker property. 2019-08-29 12:36:23 -06:00
Eddie Antonio Santos
0926a99420
Test that all valid example models compile correctly. 2019-08-28 10:20:00 -06:00
Eddie Antonio Santos
1c7d438f52
Rename all *.model.ts files following new convention. 2019-08-28 10:15:46 -06:00
Eddie Antonio Santos
06c2996415
Implement 'detecting' UTF-8. 2019-08-27 10:12:27 -06:00
Eddie Antonio Santos
3e030debd3
Test for reading in UTF-16BE. 2019-08-27 09:57:04 -06:00
Eddie Antonio Santos
d84d6ac18d
Test reading from UTF-16LE wordlist. 2019-08-27 09:45:13 -06:00
Eddie Antonio Santos
8b4bb6dec5
Make fixture path relative to model.ts. 2019-08-22 09:44:54 -06:00
Eddie Antonio Santos
e9b2027520
Place command line in the path. 2019-08-20 09:43:31 -06:00
Eddie Antonio Santos
f7a14943a9
Add a simple assertion for testing the trie compiler. 2019-07-04 09:42:53 -06:00