Commit graph

5162 commits

Author SHA1 Message Date
Eddie Antonio Santos
702939a8a8
Upgrade to karma-browserstack-launcher@^1.4.0. 2019-01-08 15:30:20 -07:00
Eddie Antonio Santos
88519d1497
Implement DummyModel future. 2019-01-08 15:27:55 -07:00
Eddie Antonio Santos
3f99dbb118
Test dummy model suggestion futures. 2019-01-08 15:20:59 -07:00
Eddie Antonio Santos
11f6685e70
DummyModel#predict() returns any injected suggestions immediately. 2019-01-08 15:18:40 -07:00
Eddie Antonio Santos
eb8aec564f
Import Transform, Context, and Suggestion types. Update predict() interface to match. 2019-01-08 14:51:08 -07:00
Eddie Antonio Santos
cc8a6f61e3
Test for injectable suggestions. 2019-01-08 13:54:45 -07:00
Eddie Antonio Santos
06555c3630
Implement simple, injectable configuration. 2019-01-08 13:54:36 -07:00
Eddie Antonio Santos
4939a93773
Test for depenency-injected configuration. 2019-01-08 13:21:53 -07:00
Eddie Antonio Santos
b2becde2ae
Add capabilities argument to WorkerInternalModel constructor. 2019-01-08 13:16:04 -07:00
Eddie Antonio Santos
f07c715d06
Embetter comments. 2019-01-08 13:03:14 -07:00
Eddie Antonio Santos
f1c6dca02d
Factor out worker interfaces and types into worker-interfaces.ts. 2019-01-08 12:54:26 -07:00
Eddie Antonio Santos
26ad83d52b
Put dummy model into its own file. 2019-01-07 14:57:57 -07:00
Eddie Antonio Santos
fc8f1eaa63
Add internal models to LMLayerWorker.models. 2019-01-07 14:49:11 -07:00
Eddie Antonio Santos
e4fba5036b
Test instantiation of worker-internal 'dummy' model. 2019-01-07 14:37:55 -07:00
Eddie Antonio Santos
43c8705c51
Make some testing TODOs and make way for new prediction interface. 2019-01-07 14:32:38 -07:00
Daniel Glassey
c71677f9a8
Merge pull request #1477 from keymanapp/common-keyboardprocessor-xenial
[common][linux] keyboardprocessor on xenial
2019-01-04 10:59:26 +07:00
glasseyes
30be8a13a1 add comment about meson for kmcomp.found 2019-01-03 16:31:40 +07:00
glasseyes
8558a22144 xenial doesn't like files in args
Error message is:
"Command line arguments must be strings, files or targets"

even though the arguments are files()
2019-01-03 15:57:18 +07:00
Tim Eves
a9512c206a Spevify meson project_version and libtool version number separately.
Set the default project version to 11.0.0
2019-01-03 14:52:06 +07:00
glasseyes
50c325b0ad ignore alphas in d/watch
set tier for launchpad.sh to get SHA256SUMS from right place
2019-01-03 12:57:02 +07:00
Joshua Horton
2736bdc36f
Merge pull request #1292 from keymanapp/lmlayer-init
[LMLayer] Start process of merging LMLayer (predictive text) code
2019-01-03 09:29:37 +07:00
Tim Eves
0514304076 Fix double staged option tests 035 & 036 test correct expected values 2018-12-19 12:36:16 +07:00
Tim Eves
2f2254ddca km_kbp_state_options_update should set the persisted cache copy as well. 2018-12-19 12:35:08 +07:00
Tim Eves
da815eb92e Fix use-after0free in abstract_processor::lookup_option() design
Since option was not assigned to non temporary storage the string was deleted and caused the API to return freed memory.
2018-12-19 12:15:24 +07:00
Tim Eves
f8f1407fb8 Rfactor options out of class state into virtual methods on abstract_processor 2018-12-19 11:20:28 +07:00
Marc Durdin
8e73a4d729 [Common] Update tests to validate that option persist actions are correctly handled. 2018-12-19 10:45:56 +11:00
Tim Eves
d2e9ef9d49 Enable test support for PERSIST action. 2018-12-18 18:54:06 +07:00
Tim Eves
dfcedcdb6c
Merge branch 'master' into common-refactor-actions-options 2018-12-18 17:27:31 +07:00
Tim Eves
02e2350a43
Merge pull request #1437 from keymanapp/common-refactor-processor-init
[wip] [Common] refactor processor init
2018-12-18 17:10:57 +07:00
Tim Eves
ed8799dbbb Fix FTBFS bug on Windows 2018-12-18 17:03:36 +07:00
Tim Eves
f3474dbaa5 Tidy up KMX_Option a bit and add persist action queuing to Save() 2018-12-18 16:39:07 +07:00
glasseyes
7e1c076079 put test back and make is use L and R keys 2018-12-18 12:50:41 +07:00
glasseyes
65457bd603 remove test for generic CTRL and ALT
which shouldn't be used for input
2018-12-18 12:06:00 +07:00
Tim Eves
86eafe9391
Merge pull request #1427 from keymanapp/common-refactor-path
[Common] refactor path
2018-12-18 10:39:46 +07:00
Tim Eves
6c98983155 Implement keyboard option saving test case 2018-12-18 10:16:59 +07:00
Tim Eves
9a991f9abc More tidy ups 2018-12-18 10:16:04 +07:00
Tim Eves
a1766f5405 Enable new kmx tests 2018-12-18 09:45:41 +07:00
Tim Eves
cf28753737 Add extra kmx test keyboards to exercise option processing better
Thanks to @mcdurdin for creating those
2018-12-18 09:11:07 +07:00
glasseyes
416aaec057 rename new tests to 038, 039 2018-12-18 08:41:21 +07:00
Tim Eves
57b01ad640 Implement new state API using existing machinery. 2018-12-18 08:39:37 +07:00
Tim Eves
568f1ebcd5 Fix state-api test to use action_item == operator and refactor test build script 2018-12-17 23:41:35 +07:00
Tim Eves
29a5fa6d2e Add more convert function use, psuh_persist actions and various tidy-ups 2018-12-17 23:40:44 +07:00
Tim Eves
8598daa447 Remove vkey and erased members of action_items union 2018-12-17 23:30:07 +07:00
Tim Eves
0bf44af891 Whitespace, warnings and header tidy ups 2018-12-17 23:28:59 +07:00
Tim Eves
fbecf51a1a Refactor direct access to actions context lists with objects and smart push methods 2018-12-17 23:21:38 +07:00
Tim Eves
9b9833e9b9 Merge branch 'common-refactor-path' into common-refactor-processor-init 2018-12-17 23:13:52 +07:00
glasseyes
1c2eca06f2 tests for punctuation keys and generic ctrlalt 2018-12-17 20:09:24 +07:00
Tim Eves
35a764ba51 Fix type deduction issue in path::join static function.
Will compile on Windows now and switch to normalised paths.
2018-12-17 15:39:10 +07:00
Joshua Horton
57fb1ac30b
Merge pull request #1397 from keymanapp/master
[LMLayer] Feature branch update - merge with master.
2018-12-17 10:56:58 +07:00
glasseyes
db3e12880b context for 020 deadkeys and backspace 2018-12-17 10:25:03 +07:00