Commit graph

125 commits

Author SHA1 Message Date
Marc Durdin
46d2b09a10
Merge pull request #2502 from keymanapp/fix/developer/stable/2374-kmlmc-invalid-json-with-smp
fix(developer): kmlmc generates invalid json with smp 🍒
2020-01-20 14:56:13 +11:00
Marc Durdin
fa0ec95d88 fix(developer): kmlmc generates invalid json with smp 2020-01-20 11:07:36 +11:00
Marc Durdin
dfb184b1d5 chore: remove node as a dependency 2020-01-20 11:03:33 +11:00
Marc Durdin
c7e1d7bd2a chore: node engine version 2020-01-20 11:02:57 +11:00
Marc Durdin
695a8ad4c6 test: also test for REPLACEMENT CHARACTER 2020-01-20 11:02:56 +11:00
Marc Durdin
163c3d162f chore: node.js update to 12.13 2020-01-20 11:02:55 +11:00
Marc Durdin
0814cf05dd fix(developer): require nodejs 12
nodejs 12.0 includes well-formed JSON.stringify
which resolves the issues with unpaired
surrogates resulting in U+FFFD in output JSON
2020-01-20 11:02:48 +11:00
Marc Durdin
9fb8e58f86 chore: update comment 2020-01-20 11:00:43 +11:00
Eddie Antonio Santos
3431fd8fb2 fix(developer): check if author email exists 2020-01-19 08:34:55 +11:00
Marc Durdin
5da14fb040 [Developer] Remove extraneous version tag from test 2019-10-03 21:00:46 +10:00
Marc Durdin
bb49d4d375 Merge branch 'beta' into developer-remove-model-version-from-package-metadata 2019-10-03 09:47:37 +10:00
Marc Durdin
5e1ceb1083 [Developer] Remove model version from metadata in packages (kmlmp) 2019-10-03 06:00:08 +10:00
Eddie Antonio Santos
b5dcd025de
build.sh always installs deps, even when given -test. 2019-10-02 13:46:02 -06:00
Eddie Antonio Santos
377e018ceb
Fix other build.sh. 2019-10-02 09:31:49 -06:00
Eddie Antonio Santos
00ccc0080f
Add set -eu and failure messages in ./build.sh(s). 2019-10-02 08:45:44 -06:00
Eddie Antonio Santos
f2f511840e
Move npm link . to dependent build.sh scripts. 2019-10-01 14:55:58 -06:00
Eddie Antonio Santos
fc633ae94d
Rename WorkerInternalModel -> LexicalModel. 2019-10-01 14:31:40 -06:00
Eddie Antonio Santos
7d0a7137d6
Make it work with the developer tools. 2019-10-01 12:54:57 -06:00
Eddie Antonio Santos
6206c79112
Fix npm publish tier. 2019-09-30 13:51:15 -06:00
Eddie Antonio Santos
09615db5cc
Create publish script and document. 2019-09-30 13:24:51 -06:00
Eddie Antonio Santos
a9428ff8d4
Document the cli tools in @keymanapp/lexical-model-compiler 2019-09-30 10:11:37 -06:00
Eddie Antonio Santos
d7558ad74d
Start to document how npm packaging will work. 2019-09-30 09:59:55 -06:00
Eddie Antonio Santos
6c12526afd
Factor out set_npm_version to shellHelperFunctions. 2019-09-30 09:34:41 -06:00
Marc Durdin
85e0ab703b [Developer] Address review comments and fix error in copydev.in with VERSION variable 2019-09-25 06:03:54 +10:00
Marc Durdin
18d2626604 [Developer] Set the package version when building kmlmx during Developer build. Fixes #2124. 2019-09-24 17:10:12 +10:00
Eddie Antonio Santos
65a0e9d187
Remove class-based word breaker.
This method of specifying a word breaker was not fully implemented, and is undocumented.
2019-09-11 10:37:55 -06:00
jahorton
4f85e6e409 Removes final references to old wordBreaking prop 2019-09-06 08:24:21 +07:00
Marc Durdin
90fdff3b75 [Developer] Respond to review comments 2019-09-02 14:33:40 +10:00
Marc Durdin
89c1477c89 [Developer] Refactor index.ts and cleanup package.json 2019-09-02 10:52:00 +10:00
Marc Durdin
c02309791c [Developer] Add script links for kmlmp and kmlmi to Developer installer 2019-09-02 10:27:17 +10:00
Marc Durdin
582af4de4f [Developer] Address review comments, additional refactoring 2019-09-02 09:30:20 +10:00
Marc Durdin
ff337f3464 [Developer] Add first test for kmp compiler 2019-09-02 08:44:54 +10:00
Marc Durdin
52ec17e0fc [Developer] Add kmlmi and kmlmp. Next: tests 2019-09-01 11:59:27 +10:00
Eddie Antonio Santos
43e1bba5a6
Add TODO to DELETE ME comments. 2019-08-29 13:24:28 -06:00
Eddie Antonio Santos
0d3fc7bbf6
Test compiling with an explicit word breaker property. 2019-08-29 12:36:23 -06:00
Eddie Antonio Santos
1514af710a
Prefer 'wordBreaker' over 'wordBreaking'. 2019-08-29 12:27:47 -06:00
Eddie Antonio Santos
1bb59b3670
Test that it compiles 'wordBreaker' instead. 2019-08-29 11:58:06 -06:00
Eddie Antonio Santos
08637f2f16
Merge pull request #2009 from keymanapp/developer-add-wordbreaking-api
[Developer] Add Word Breaking API
2019-08-28 22:13:36 -06:00
Eddie Antonio Santos
7100879dc2
Support the word breaking API in the compiler. 2019-08-28 14:38:59 -06:00
Eddie Antonio Santos
ae6cbabc9a
Test that a custom wordbreaking function can be added. 2019-08-28 14:26:47 -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
a5cf6be5b0
Use parseWordListFromFilename() in createTrieDataStructure(). 2019-08-27 10:39:28 -06:00
Eddie Antonio Santos
2a20b6bbc7
Test that the actual word list gets parsed properly (UTF-16/UTF-8). 2019-08-27 10:29:52 -06:00
Eddie Antonio Santos
ddef37f7e6
Test a UTF-16LE file compiles properly. 2019-08-27 10:26:21 -06:00
Eddie Antonio Santos
9f62fc503f
Factor out detectEncoding() and spruce up documentation. 2019-08-27 10:22:32 -06:00
Eddie Antonio Santos
06c2996415
Implement 'detecting' UTF-8. 2019-08-27 10:12:27 -06:00
Eddie Antonio Santos
aa06ccda45
Test reading the wordlist from UTF-8. 2019-08-27 10:08:48 -06:00
Eddie Antonio Santos
ef481a5841
Explicitly DO NOT support UTF-16BE. 2019-08-27 10:07:47 -06:00
Eddie Antonio Santos
144cca2b2d
Never mind... UTF-16BE is not supported by Node ¯\_(ツ)_/¯ 2019-08-27 10:02:15 -06:00