Commit graph

4544 commits

Author SHA1 Message Date
Eddie Antonio Santos
8f28d07c37
Add a README describing how to build the code and vaguely what's going on here. 2018-11-28 14:46:04 -07:00
Eddie Antonio Santos
fa6c2f8e8f
Move worker communications docs to the docs/ directory. 2018-11-28 14:26:04 -07:00
Eddie Antonio Santos
8b7c606dd2
Remove TODOs from README. 2018-11-28 14:24:25 -07:00
Eddie Antonio Santos
ef452b8c58
Source the utilities in resources/ in the build.sh script. 2018-11-28 14:23:14 -07:00
Eddie Antonio Santos
61d2ea5381
Remove test model for abandoned model specification. 2018-11-28 14:22:36 -07:00
Eddie Antonio Santos
8404ef3c13
Comment ALL THE THINGS. 2018-11-28 14:20:09 -07:00
glasseyes
68aca71111 add km_kbp_context_items_from_utf8
avoids unnecessary conversions and string duplication

utf8codec private vars needed in cpp for
linker to find them?
2018-11-28 11:56:38 +07:00
glasseyes
be8f1449e8 Revert "add km_kbp_context_items_from_utf8"
This reverts commit 60619dc8de.
2018-11-28 11:33:39 +07:00
Eddie Antonio Santos
baea53826d
Clean top-level generated JS. 2018-11-27 18:55:38 -07:00
Eddie Antonio Santos
ef9f50563b
Merge pull request #1353 from keymanapp/lmlayer-top-level
[LMLayer] Begin implementing top-level code
2018-11-27 18:42:52 -07:00
Eddie Antonio Santos
14812ba5ff
Let main script be index.js (implitly). 2018-11-27 15:24:37 -07:00
Eddie Antonio Santos
7bac80943d
Compile worker code and interface code into one .js file. 2018-11-27 14:53:53 -07:00
Eddie Antonio Santos
bc73da7e0e
Link stage 1 and stage 2 code. 2018-11-27 14:45:38 -07:00
Eddie Antonio Santos
ac12cb6f28
Add example to docs for LMLayer.asBlobURI(). 2018-11-27 14:32:37 -07:00
Eddie Antonio Santos
6cc20cfd83
Make LMLayer.asBlobURI() test a bit more stringent. 2018-11-27 14:28:31 -07:00
Eddie Antonio Santos
16fad9e1af
Refactor test to use LMLayer.asBlobURI(). 2018-11-27 14:22:59 -07:00
Eddie Antonio Santos
022f34c030
Implement LMLayer.asBlobURI() utility function. 2018-11-27 14:20:33 -07:00
Eddie Antonio Santos
01f09c5cf8
Test LMLayer.asBlobURI(). 2018-11-27 14:13:13 -07:00
Eddie Antonio Santos
540d37fdd9
Refactor: use LMLayer.unwrap() instead of custom code in tests. 2018-11-27 14:07:48 -07:00
Eddie Antonio Santos
897ed01829
Implement function unwrapping code. 2018-11-27 14:05:21 -07:00
Eddie Antonio Santos
d5da85fde4
Test LMLayer.unwrap() utility function. 2018-11-27 14:01:11 -07:00
Eddie Antonio Santos
6e540f6b6b
Tests Blobs in the browser only. 2018-11-27 13:53:29 -07:00
Marc Durdin
319d5a800a [Common] Ignore kmcomp if not present and use prebuilt kmx files for tests 2018-11-28 06:28:45 +11:00
Eddie Antonio Santos
02521b1254
Tests that a blob is generated. 2018-11-27 11:20:39 -07:00
Eddie Antonio Santos
52566f48f8
Implement constructor with WorkerFactory. 2018-11-27 11:16:03 -07:00
Eddie Antonio Santos
b2a16abd1a
Basic compilation. 2018-11-27 11:10:46 -07:00
Eddie Antonio Santos
91e050f84d
Begin testing main LMLayer code. 2018-11-27 11:07:10 -07:00
Eddie Antonio Santos
c591eedeeb
Remove suggestion, prediction, transform, and message interfaces for now. 2018-11-27 10:57:36 -07:00
Eddie Antonio Santos
49bd430818
Move type definitions to top-level file. 2018-11-27 10:53:35 -07:00
Eddie Antonio Santos
dcd169dd4e
Alphebetize function names in build.sh. 2018-11-27 10:42:53 -07:00
Eddie Antonio Santos
fc69a08977
Move unit-test script to build.sh 2018-11-27 10:41:34 -07:00
Eddie Antonio Santos
614d577d7c
Use dashes to make names consistent. 2018-11-27 10:34:23 -07:00
Eddie Antonio Santos
bbf1c6e2b2
Move scripts from package.json to build.sh; revert tsc. 2018-11-27 10:19:40 -07:00
glasseyes
efd93ec5cd Merge branch 'windows-refactor-kmprocess-for-kpapi-daniel' into linux-ibus-keyman 2018-11-27 15:00:32 +07:00
glasseyes
e13e136009 Merge branch 'master' into linux-ibus-keyman 2018-11-27 14:59:02 +07:00
glasseyes
337e1ac5d0 Merge branch 'master' into windows-refactor-kmprocess-for-kpapi-daniel 2018-11-27 13:21:19 +07:00
Marc Durdin
8e24a55ad4 [common] Eliminate warnings on Linux build 2018-11-27 16:10:07 +11:00
Marc Durdin
e19cf983cb Merge branch 'master' into windows-refactor-kmprocess-for-kpapi 2018-11-26 11:56:52 +11:00
Marc Durdin
1c2f68ea76 [common] Cleanup const warnings 2018-11-24 12:47:58 +11:00
Marc Durdin
9c460e680d [common] Resolve g++ warnings 2018-11-24 12:31:54 +11:00
Marc Durdin
50e5a0d3b4 [common] renaming and cleanup 2018-11-24 12:04:09 +11:00
Marc Durdin
aa418517f0 [common] Address review comment -- move kmx processor into km::kbp::kmx namespace 2018-11-24 11:51:35 +11:00
Marc Durdin
827b00c43c [common] Addressing review comments 2018-11-24 11:33:05 +11:00
Marc Durdin
2a5295e4cd [common] Fix broken modifier test in VKeyToChar, start addressing review comments 2018-11-24 11:19:22 +11:00
Eddie Antonio Santos
7f877316b0
Rename function: build_wrapped_worker() -> wrap_worker(). 2018-11-23 00:00:01 -07:00
Eddie Antonio Santos
406f7ed4ea
Remove unused function: assert(). 2018-11-22 23:59:00 -07:00
Marc Durdin
5af7ec4999 [common] Support for caps lock 2018-11-23 14:00:10 +11:00
Marc Durdin
1da7c555cf [common] Test multiple groups, and test resulting actions 2018-11-23 10:52:49 +11:00
Marc Durdin
751557a41a [common] Add beep test, tweak test config for kmx 2018-11-23 10:36:21 +11:00
Marc Durdin
ce24cab902 [common] Test for SMP characters with KMX 2018-11-23 10:29:35 +11:00