Commit graph

699 commits

Author SHA1 Message Date
Darcy
89a8f4abeb feat(linux): Use VERSION.md file for meson project_version 2020-03-02 08:26:13 +07:00
Darcy
5fb69a497b chore(linux): Update references from keyboardprocessor to desktop 2020-02-26 16:40:20 +07:00
Darcy
660a1459ff refactor(common): Rename keyboardprocessor to desktop 2020-02-26 16:34:29 +07:00
Darcy
a071b51a53 chore(linux): Update linux references from engine to core 2020-02-26 13:58:28 +07:00
Darcy
533ab2fc88 refactor(common): Rename engine to core 2020-02-26 13:49:08 +07:00
Marc Durdin
6f5a55cd65
Merge branch 'master' into chore/beta-to-master-p9s2-final 2020-02-19 14:35:29 +11:00
Darcy
cb08fcfd0f fix(linux): Address review comment
Add comment to watch file and simplify regex
2020-02-17 15:28:45 +07:00
Darcy Wong
9fec9a9ea4 Merge remote-tracking branch 'origin/beta' into fix/linux/2552-sed-tier-in-watch 2020-02-17 14:34:02 +07:00
Darcy
f965cbc092 change(linux): Replace tier in debian/watch files 2020-02-17 12:02:47 +07:00
Marc Durdin
255e4f4b7a chore: Merge branch 'master' into chore/beta-to-master-p9s2-1 2020-02-17 10:11:15 +11:00
Darcy
764b2b172b fix(linux): Fix macro for gcc
Verified on Bionic
2020-02-13 13:55:53 +07:00
Darcy Wong
acb8b6f325 fix(core): Update macro for fallthrough
fallthrough updated for compatibility with gcc 5.4.0 on Xenial
2020-02-13 12:03:48 +07:00
Marc Durdin
a03eb37f6d Update km_kbp_context_api.cpp 2020-02-10 13:58:10 +11:00
Marc Durdin
2159302620 fix(common/core): buffer overrun in context api
A static buffer for UTF-8 encoded characters used in debugging and test
logs did not provide enough space for SMP characters (require 6 bytes
rather than 4). This was used only for test cases and not in production
code -- outputting JSON text.

This should fix the failing keyboardprocessor test builds on Windows and
macOS.
2020-02-10 13:58:09 +11:00
Darcy Wong
ca5445dc19 chore(common): Add comments to tests
Fix comments per review
2020-02-10 09:33:21 +07:00
Marc Durdin
373709ec79 Update km_kbp_context_api.cpp 2020-02-10 12:29:44 +11:00
Marc Durdin
9c0e31c26b fix(common/core): buffer overrun in context api
A static buffer for UTF-8 encoded characters used in debugging and test
logs did not provide enough space for SMP characters (require 6 bytes
rather than 4). This was used only for test cases and not in production
code -- outputting JSON text.

This should fix the failing keyboardprocessor test builds on Windows and
macOS.
2020-02-10 11:23:58 +11:00
Darcy
ddcf601954 fix(common): Update kmp.json test file 2020-02-07 15:29:52 +07:00
Darcy
181b9959c7 fix(common): Fix window when setting context buffer
Fix adjustment of context buffer when buffer is full. This also accounts for deadkey or surrogate pairs.

* Also added 3 meson unit tests
2020-02-07 14:59:09 +07:00
Marc Durdin
6902f7bf1c
Merge branch 'master' into chore/beta-alpha-p9s1 2020-02-07 16:25:39 +11:00
Darcy
d127f08bed chore(common): Manually add kmx 2020-02-06 16:51:05 +07:00
Darcy Wong
704c6d8dbd fix(common): Adjust test keyboard
Using numbers so debugging context will be clearer
2020-02-06 16:50:03 +07:00
Darcy
21246a516d fix(common): Add unit test for testing long context (>= 64 chars)
Reproduces issue #2575 with a keyboardprcoessor unit test.

* Also fix build warning in `kmx_options.cpp` where  unsigned int `idx` is always `>= 0`
2020-02-06 11:12:30 +07:00
jahorton
becf2039a4 fix(common): model specification for isRTL 2020-01-30 14:23:31 +07:00
Marc Durdin
6f5f37ae82 chore(web): use new version infrastructure 2020-01-29 09:15:21 +11:00
jahorton
7561f04d40 fix(common): LMLayer test case fix 2020-01-15 12:28:05 +07:00
jahorton
5cc282c660 fix(common): more 'code unit' -> 'code point' work 2020-01-15 12:21:11 +07:00
jahorton
716a598b49 fix(common): addresses PR review comments for trie model SMP 2020-01-15 11:35:34 +07:00
jahorton
d0ab35d5d9 fix(common): Fixes #2469 2020-01-08 11:53:53 +07:00
jahorton
09d7a0e826 fix(common): adds string.startswith polyfill to lmlayer 2019-12-16 08:16:55 +07:00
jahorton
8be8403b60 fix(common): Actually adds polyfill (and fixes .gitignore) 2019-12-10 09:24:23 +07:00
jahorton
89bbf44139 fix(common): Adds array.from polyfill, the next thing to break 2019-12-10 09:24:22 +07:00
jahorton
4d347c3b3e fix(common): Re-enables two unit tests now functional b/c worker polyfill 2019-12-10 09:24:22 +07:00
jahorton
8d778b2a59 fix(common): adds polyfill for charCodeAt, fixes #2323 2019-12-10 09:24:22 +07:00
jahorton
1fbb093262 change(common): IE unit test bypass - return -> this.skip 2019-12-06 08:27:51 +07:00
Joshua A. Horton
7cab14b4c1 fix(common): lmlayer unit test failure in IE due to wordbreaker swap 2019-12-04 08:53:20 +07:00
Joshua A. Horton
02e57d80d9 fix(common): 'default' wordbreaker context-final null token 2019-12-04 08:42:51 +07:00
jahorton
cd55c90a2f change(common): makes LMLayer default wordBreaker the actual default 2019-12-03 10:43:28 +07:00
jahorton
a640fa76e2 fix(web): console obj validity check 2019-12-02 07:57:13 +07:00
jahorton
c2b011dc2f change(lmlayer): Fixes a few of the 'draft' tweaks to logging from previous commits of this PR 2019-12-02 07:55:38 +07:00
jahorton
4778819203 feat(lmlayer): adds basic error reporting from worker 2019-12-02 07:55:37 +07:00
jahorton
ecddb73862 change(android): gets API 23 working again, but not 19 or 21 (yet) 2019-12-02 07:55:37 +07:00
Eddie Antonio Santos
eb7e9f7722
Document @keymanapp/lexical-model-types. 2019-10-05 13:41:33 -06:00
Eddie Antonio Santos
377e018ceb
Fix other build.sh. 2019-10-02 09:31:49 -06:00
Eddie Antonio Santos
556d89b11e
Fix link before install in the event of ./build.sh -clean. 2019-10-02 09:26:03 -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
e14d1b0fba
Do not try to build anything in build.sh! 2019-10-01 14:10:07 -06:00
Eddie Antonio Santos
2d975138ac
Setup @keymanapp/lexical-model-types for publication. 2019-10-01 14:00:15 -06:00