Marc Durdin
2c383cabe4
fix(developer): downgrade additional let and arrow functions
2021-03-18 17:51:59 +11:00
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
jahorton
761494996b
chore(common/models/types): CasingEnum -> CasingForm
2020-11-11 08:55:26 +07:00
jahorton
60113a3147
change(developer/compilers): ModelPseudoclosure -> ModelDefinitions
2020-11-10 10:51:06 +07:00
jahorton
7e2f977a92
fix(developer/compilers): restores accidentally removed file
2020-11-05 10:01:39 +07:00
jahorton
5ff0a8cab3
feat(developer/compilers): more test cases, extra rigor
2020-11-05 09:56:12 +07:00
jahorton
addc387bf1
feat(developer/compilers): model compilation test
2020-11-05 09:22:49 +07:00
jahorton
0605777846
feat(developer/compilers): pseudoclosure compile-time unit tests
2020-11-04 15:08:21 +07:00
jahorton
82d5f6a80c
fix(developer/compilers): removes committed testing .only
2020-11-04 15:08:21 +07:00
jahorton
9fbb6fb0d1
feat(developer/compilers): defaultApplyCase, defaultSearchToKey unit tests
2020-11-04 15:08:20 +07:00
jahorton
5c9c2bd8e6
feat(developer/compilers): initial applyCasing compilation, new code reorg
2020-11-04 15:08:20 +07:00
Eddie Antonio Santos
1d1a9fa238
test(developer/compilers): strong assertions for script overrides breaker
2020-08-26 10:11:46 -06: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
8ce05a93ed
feat(developer/compilers): join at letters and marks
2020-08-24 15:11:35 -06:00
Eddie Antonio Santos
ba65d63be5
feat(developer/compilers): [in progress] figure out API for script overrides
2020-08-24 14:02:12 -06:00
Eddie Antonio Santos
7a9ce07cf3
test(developer/compilers): basic usage of script overrides decorator
2020-08-24 13:46:12 -06:00
Eddie Antonio Santos
2d36f4aeb7
test(developer/compilers): assert new error does not get logged
2020-07-23 09:00:13 -06:00
Eddie Antonio Santos
84a4047ee4
feat(developer/compilers): stop logging after a maximum has been reached
2020-07-22 16:08:01 -06:00
Eddie Antonio Santos
fb514ee384
refactor(developer/compilers): change warning names to have CWARN_ prefixes
2020-07-22 15:20:27 -06:00
Eddie Antonio Santos
ffda8e7e67
refactor(developer/compilers): extract enum: LogLevel
2020-07-22 11:35:20 -06:00
Eddie Antonio Santos
60a869131a
test(developer/compilers): assert reading another file
2020-07-22 10:12:15 -06:00
Eddie Antonio Santos
2c5f38c7a8
docs(developer/compilers): better docs for LogHoarder
2020-07-22 10:03:01 -06:00
Eddie Antonio Santos
6b4eb14c7b
test(developer/compilers): add assertions about logged warnings
2020-07-22 09:52:37 -06:00
Eddie Antonio Santos
43404068ca
change(developer/compilers): change invocations from parseWordList -> parseWordListFromContents
2020-07-20 15:24:25 -06:00
Marc Durdin
3ac7877330
chore(developer): cleanup test constants
2020-07-15 07:00:03 +10:00
Joshua Horton
19d19891ba
refactor(developer): PR suggestion: NFC literal
...
Co-authored-by: Eddie Antonio Santos <Eddie.Santos@nrc-cnrc.gc.ca>
2020-07-14 07:52:02 +07:00
jahorton
a9f106ea54
refactor(developer): hashmap-based wordlist compile
2020-07-13 08:53:22 +07:00
Marc Durdin
ec0855b298
test(developer): add test for duplicates merging
2020-07-13 08:36:33 +10:00
Eddie Antonio Santos
938ea5e22d
change(common/models): import default wordbreaker from package
2020-05-25 08:45:48 -06:00
Eddie Antonio Santos
cc5bfd5f2b
fix(common/models): use correct paths for models-types
2020-05-22 11:42:28 -06:00
Eddie Antonio Santos
fd5bd1a70c
chore(common/lmlayer): requisite lerna-fu
2020-05-04 10:53:57 -06:00
Eddie Antonio Santos
e79edc58ac
change(common/lmlayer): move joiner implementation to developer/js
2020-05-02 09:32:15 -06:00
Eddie Antonio Santos
a835684180
change(common/lmlayer): move test cases
2020-05-02 09:16:59 -06:00
Eddie Antonio Santos
3878ce5850
Merge pull request #3032 from keymanapp/feat/common/lmlayer/compile-join-words-at
...
feat(common/lmlayer): compile joinWordsAt property
2020-04-30 08:07:52 -06:00
Eddie Antonio Santos
9adb876dfc
Merge pull request #3024 from keymanapp/change/common/lmlayer/nfkd-default-searchtermtokey
...
change(common/lmlayer): improvements to default searchTermToKey
2020-04-28 08:56:32 -06:00
Eddie Antonio Santos
0f82e2bf94
feat(common/lmlayer): stub word breakers in tests
2020-04-27 16:29:35 -06:00
Eddie Antonio Santos
1cdf911e5e
test(common/lmlayer): specify join word breaker
2020-04-27 15:59:52 -06:00
Eddie Antonio Santos
8eae8d52c5
test(common/lmlayer): correct dz test
2020-04-24 09:39:53 -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
d654032ac1
test(common/lmlayer): add DŽ test case
2020-04-23 16:18:03 -06:00
Eddie Antonio Santos
967cbb103b
test(common/lmlayer): context-insensitive lowercasing
2020-04-23 15:41:41 -06:00
Eddie Antonio Santos
02852f5a6a
test(common/lmlayer): various NFKD tests
2020-04-23 15:40:37 -06:00
Eddie Antonio Santos
48c3262987
test(common/lmlayer): vaporwave test case
2020-04-23 15:01:16 -06:00
Eddie Antonio Santos
0b2f4eb3b0
refactor(common/lmlayer): generate searchTermToKey test cases
2020-04-23 14:55:33 -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
Eddie Antonio Santos
a9069a1a3a
Merge branch 'master' into lmlayer-default-searchtermtokey
2020-04-22 08:24:21 -06:00
Eddie Antonio Santos
87f35da404
test(common/lmlayer): fix expecations for Turkic orthography
2020-04-21 15:44:18 -06:00
Eddie Antonio Santos
f8bfba5e85
test(common/lmlayer): fix import for defaultSearchTermToKey
2020-04-21 15:30:59 -06:00