Commit graph

5162 commits

Author SHA1 Message Date
Joshua A. Horton
4fe874a383 Adds a basic WebWorker functionality test and the start of a testing subfolder. 2018-10-31 11:41:34 +07:00
Eddie Antonio Santos
ad3bd51707
Merge remote-tracking branch 'lmlayer/move' into lmlayer-init 2018-10-30 09:22:21 -06:00
Eddie Antonio Santos
5dcffe21d4
Move everything to common/predictive-text/ 2018-10-30 09:20:49 -06:00
Tim Eves
b9009bbc33 Add options-api to test to the kmnkbd test suite. 2018-10-30 17:07:48 +07:00
Tim Eves
0fdb64011f Fix bugs in options_set api
* Initialise cached option value with options_set's scope so correct 
scope is returned.
* Use unordered_map::operator[] as emplace never overwrites.
* Ensure that km_kbp_options_set_to_json() returns the document size 
including the null.
* correct scope_name_lut so scope names are in the right order.
2018-10-30 17:07:00 +07:00
Tim Eves
bbd67c7a9b Minor tidyup stop compiler complaining about unsused variables. 2018-10-30 13:12:30 +07:00
Tim Eves
aa7027fa66 Add keyboard-api test to kmnkmd unit tests 2018-10-30 13:09:31 +07:00
Tim Eves
9af3308ef3 Fix a compiler warnings in context_api under clang and statically link.
While dynamic linking works on linux & Mac OS due to rpath support 
Windows can't find the dll when debugging the test case unless it's 
copied into the tests builddir or it has it's working dir set to the 
DLL's builddir.
2018-10-29 16:05:06 +07:00
Tim Eves
5f45ea450e Minor fixups for build scripts
Also prevent compiler complaining about inconistent dllimport/dllexport 
linkage by ensuring KM_KBP_EXPORTING is defined on Windows too.
2018-10-29 16:02:19 +07:00
Tim Eves
f5d6dd4ce5 Fix windows compiler treating source as latin1 instead of utf-8. 2018-10-29 16:00:27 +07:00
Tim Eves
5ab060974f Fix build bugs on Windows 2018-10-29 13:20:36 +07:00
Tim Eves
ef548606aa Move keyboardprocessor into it's new toplevel under common/engine 2018-10-25 13:43:28 +07:00