Commit graph

27982 commits

Author SHA1 Message Date
Eddie Antonio Santos
a83a8dfcdc
Got JSON fixtures working correctly. 2019-01-11 15:07:48 -07:00
Eddie Antonio Santos
5e389cb3f0
Export to JSON fixture; not quite working yet. 2019-01-11 11:49:06 -07:00
Eddie Antonio Santos
39aa7b6ebe
Place { on same line as (. 2019-01-11 11:19:24 -07:00
Darcy Wong
77571ab555 Pass original eventModifiers to dispatchKey() 2019-01-11 15:20:24 +07:00
Joshua A. Horton
9410b33ce0 Relocates all OSK keystroke processing to the new Processor module. 2019-01-11 13:51:58 +07:00
Joshua A. Horton
5dfa059fe6 Fixes remaining references to key codes, starts some text-proc reorg. 2019-01-11 12:47:11 +07:00
Joshua A. Horton
2ef001f30f Moves keycode constants to their own file, starts 'text' namespace. 2019-01-11 12:27:06 +07:00
Joshua A. Horton
e780ec7ab3 A bit of reorganization, more reliance on KeyElement properties. 2019-01-11 11:37:58 +07:00
Darcy Wong
d03ab9fef1 Pass "tab" and "enter" back to Android app to handle
Instead of KMW inserting whitespace, pass those keys back to the embedded app to natively handle.
2019-01-11 11:24:13 +07:00
Joshua A. Horton
3800576965 Adds better typing for OSK keys, some related fixes. 2019-01-11 10:25:52 +07:00
Eddie Antonio Santos
6cf84f09b5
Send 'predict' message to worker. 2019-01-10 16:23:43 -07:00
Eddie Antonio Santos
9c4f92c427
Adapt integration tests to use current API. 2019-01-10 16:16:56 -07:00
Eddie Antonio Santos
0e1cb0d55b
Rearrange different message type definitions. 2019-01-10 15:56:30 -07:00
Eddie Antonio Santos
f2dde2a7f9
Refactor: extract method: setupInitialState(). 2019-01-10 15:39:56 -07:00
Eddie Antonio Santos
d943bdd54e
Refactor: LMLayerWorker now implements the state pattern: uninitialized and ready states. 2019-01-10 15:34:07 -07:00
Eddie Antonio Santos
0644dbeddd
In headless tests, specify a dummy model instead of a model code string. 2019-01-10 15:03:33 -07:00
Eddie Antonio Santos
c9d3b2eac8
Use sinon's failure reporting instead of ad hoc function. 2019-01-10 15:01:31 -07:00
Eddie Antonio Santos
bf60ea5e6d
Refactor: move global test helpers to unit_tests/helpers.js. 2019-01-10 14:58:00 -07:00
Eddie Antonio Santos
f2b1335c97
LMLayerWorker [message: predict] works. 2019-01-10 14:35:23 -07:00
Eddie Antonio Santos
94a8536400
Fix test assertion... again. 2019-01-10 14:31:56 -07:00
Eddie Antonio Santos
c35250c358
Fix how test was sending model. 2019-01-10 14:19:06 -07:00
Eddie Antonio Santos
3bae3faf5e
Change interfaces to allow for the dummy model. 2019-01-10 14:11:31 -07:00
Eddie Antonio Santos
a2330c7115
Create test for LMLayerWorker#predict(). 2019-01-10 09:11:18 -07:00
Daniel Glassey
0a3fdf67b2
Merge pull request #1521 from keymanapp/linux-buildxenial
[linux] more on restarting ibus
2019-01-10 16:35:27 +07:00
glasseyes
257bad5caa history for 1521 2019-01-10 15:56:19 +07:00
Joshua A. Horton
407d0e3349 Touches up the refactored language menu's event handling. 2019-01-10 15:51:56 +07:00
Joshua A. Horton
6e92f069a1 Fixes Android's copy of chirality.js. 2019-01-10 15:20:16 +07:00
Joshua A. Horton
9cd7f9a0ba Corrects the handwritten chirality test keyboard for KMW. 2019-01-10 15:19:06 +07:00
glasseyes
d061b4b9a9 only want pid of one process 2019-01-10 15:16:18 +07:00
glasseyes
7af2f0eb8c ibus exit on gnome-shell 2019-01-10 14:46:14 +07:00
Darcy Wong
5afcc8e4c3
Merge pull request #1520 from keymanapp/android-check-server
[Android] Change keyboard version comparison from Float to strings
2019-01-10 14:10:27 +07:00
Darcy Wong
ae4ccee4d5 Update history.md 2019-01-10 14:09:29 +07:00
Darcy Wong
f41cf328ab Update keyboard version comparison
Currently, keyboard versions as floats are compared for determining when to update the keyboard.
This doesn't work for the current default keyboard sil_euro_latin version 1.8.1

* Move compareVersions() from KMManager to FileUtils
2019-01-10 13:51:29 +07:00
Joshua A. Horton
7a3916241c Adds guards for stability when no VisualKeyboard exists. 2019-01-10 13:34:59 +07:00
Joshua A. Horton
f9ec78cc14 Tweaks another testing resource. 2019-01-10 13:21:24 +07:00
Joshua A. Horton
631d3b2e3e Fixes some testing resources, some embedded issues. 2019-01-10 13:20:20 +07:00
Joshua A. Horton
9522807ef7 Merge branch 'master' into web-osk-refactor-visual-kbd 2019-01-10 12:46:33 +07:00
Joshua A. Horton
635a56fb25 Fixes desktop regression + cleans oskManager.ts a bit. 2019-01-10 12:26:35 +07:00
Joshua A. Horton
a4c06df57b Fixes easily-noted mobile regressions. 2019-01-10 12:20:26 +07:00
Joshua A. Horton
2a80a1da6b Corrects next-layer regression. 2019-01-10 12:09:56 +07:00
Joshua A. Horton
e58aa60504 Initial reorganization of OSK code complete. Regressions exist, though. 2019-01-10 11:54:47 +07:00
Daniel Glassey
12dd8a7a1a
Merge pull request #1518 from keymanapp/linux-buildxenial
[linux] build ibus-keyman on xenial
2019-01-10 11:07:06 +07:00
glasseyes
a29f10b0eb history for building on xenial 2019-01-10 10:30:03 +07:00
glasseyes
e6d98a8e3e reduce version dep on json-glib to 1.0 2019-01-10 10:28:41 +07:00
Daniel Glassey
ae44d5b8f5
Merge pull request #1510 from keymanapp/linux-restart-ibus
[Linux] restart ibus using user
2019-01-10 10:27:39 +07:00
glasseyes
2c3ec5d41a update 11.0.105 history 2019-01-10 10:07:06 +07:00
glasseyes
a7d1056880 quote username for restart 2019-01-10 09:57:18 +07:00
Eddie Antonio Santos
9160d9b175
Move full prediction tests to integration tests. 2019-01-09 11:42:53 -07:00
Eddie Antonio Santos
14deb11008
Minor tweaks to dummy worker unit tests. 2019-01-09 11:17:47 -07:00
Darcy Wong
e7fdd0be78
Merge pull request #1515 from keymanapp/android-get-started
[Android] Fix "Get Started" status for default keyboard
2019-01-09 17:24:41 +07:00