jahorton
510b667251
fix(common/lmlayer): patches up browser-based unit tests
2020-04-15 09:29:21 +07:00
jahorton
f4537c7967
fix(common/lmlayer): forgot in prior commit
2020-04-14 14:03:58 +07:00
jahorton
03d29e7755
refactor(common/lmlayer): abstracts interface b/t inner and outer layers
2020-04-14 13:58:19 +07:00
jahorton
e58914112e
fix(common/lmlayer): fixes worker sourcemaps
2020-04-14 11:22:14 +07:00
Eddie Antonio Santos
98a277089c
chore(common/lmlayer): do not run tests in IE11 in Windows
2020-04-09 08:29:04 -06:00
Eddie Antonio Santos
391657bb5e
docs(common/lmlayer): update comments with code
...
Uncle Bob Martin is shaking.
2020-04-08 11:13:06 -06:00
Eddie Antonio Santos
42bc0197fb
fix(common/lmlayer): arrow fn -> fn expr (IE11 compat)
2020-04-06 11:52:14 -06:00
Eddie Antonio Santos
aa1552fbe8
fix(common/lmlayer): use IE11-friendly syntax
2020-04-06 11:30:50 -06:00
Eddie Antonio Santos
e659d4df0d
fix(common/lmlayer): correct Unicode range in default key fn
2020-04-06 10:24:33 -06:00
Eddie Antonio Santos
77596b2c5c
test(common/lmlayer): reproduce issue reported in community forum
...
https://community.software.sil.org/t/search-term-to-key-in-lexical-model-not-working-both-ways-by-default/3133
2020-04-06 09:30:28 -06:00
Eddie Antonio Santos
fea6026f71
test(common/lmlayer): add regression test for searchTermToKey
2020-04-06 09:25:50 -06:00
Eberhard Beilharz
70472872ec
fix(linux): Fix building keyboardprocessor package
2020-03-17 16:49:45 +01:00
jahorton
47595027e3
fix(common/lmlayer): fixes findPrefix for SMP Tries
2020-03-12 12:54:32 +07:00
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