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
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
2a5295e4cd
[common] Fix broken modifier test in VKeyToChar, start addressing review comments
2018-11-24 11:19:22 +11: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
Marc Durdin
b99cd600f6
[common] Full support for environment. Some refactoring of how environment options are set
2018-11-23 10:12:11 +11:00
Marc Durdin
37f424f090
[common] Working options model. Introduces some gunk around state and options which should be reviewed with TSE
2018-11-20 12:19:43 +11:00
Marc Durdin
09620cb311
[common] Basic options functionality (rework to match api model)
2018-11-20 10:00:29 +11:00
Marc Durdin
396d552c81
[common] Add test framework and tests for keyboard options (failing right now because no implementation)
2018-11-19 11:14:06 +11:00
Marc Durdin
f0f3f355de
[common] kmx tests uses list of kmn files in meson.build
2018-11-19 08:49:46 +11:00
Marc Durdin
a35fdeba00
[common] Add nul test source (not yet tested) and build .kmx files during tests
2018-11-19 08:45:03 +11:00
Marc Durdin
d0f84fa082
[common] resolve hints and warnings
2018-11-19 07:20:07 +11:00
Marc Durdin
becbfeda47
[common] Add <algorithm> for kmx.cpp
2018-11-19 06:47:56 +11:00
Marc Durdin
06341d79f7
[common] Remove VK_ defines and cleanup warnings
2018-11-19 06:26:46 +11:00
Marc Durdin
328552fae6
[common] fix some build warnings, move files, remove pch.h
2018-11-19 06:21:48 +11:00
Marc Durdin
27f09bbb50
[Common] Refactor and cleanup
2018-11-16 19:05:17 +11:00
Marc Durdin
4c1fc5edee
[Common] Cleanup kmx integration code
2018-11-16 18:47:01 +11:00
Marc Durdin
566796eaef
[Common] all but one test now passes. Refactoring to come, then cleanup
2018-11-16 13:39:35 +11:00
Marc Durdin
646c322b4c
[Common] First kmx test case (currently fails, as it should) and KMX integration started
2018-11-16 11:12:56 +11:00
Marc Durdin
ac4448f350
[Common] Refactor KPAPI to support multiple processors (kmx, mock, ldml?)
2018-11-14 11:58:44 +11:00
glasseyes
899a9ae1e6
dispose things in tests that were memleaks
2018-11-12 15:55:28 +07:00
Marc Durdin
9ca7bab5f9
[Common] Final checks
2018-11-12 19:23:54 +11:00
Marc Durdin
1ab04f681a
[Common] Code Review updates, some minor changes to API, mostly comments and tests; one bug fix
2018-11-12 19:12:59 +11:00
Tim Eves
61f90b172e
Fix path handling so it's wchar_t const * on windows and char const * on linux
2018-11-07 04:49:56 +07:00
Tim Eves
689e21856b
Explicitly declare test json doc strings as utf8 for Windows compiler
2018-11-07 04:30:09 +07:00
Tim Eves
4afe030627
Add number USVs erased to BACK action item
...
Possible but difficult to get from state object if not provided. IBus
will use this.
2018-11-07 04:26:49 +07:00
Tim Eves
d70fe629e8
Fix state API implmentation to use new options, keyboard and context objects.
2018-11-07 04:25:28 +07:00
Tim Eves
b27fc67259
Rework keyboard API and add more robust checking.
2018-11-07 03:04:45 +07:00
Tim Eves
242105216a
Rename options_set -> options and option -> option_item
2018-11-07 02:13:40 +07:00
Tim Eves
9cb22221c6
Rework options API per review
...
Additionally refactored option.hpp into option.hpp & option.cpp.
lookup now returns just the value since scope and key are fully
specified in the arguments, but updates and SAVE/RESET action items
still provide scope, key & value.
2018-11-07 01:37:32 +07:00
Tim Eves
93c76c14df
Move headers into include/keyman from include/
...
Necessary to allow keyboardprocessor.h to refer to auxillary headers as
<keyboard/header.h>
2018-11-06 16:19:14 +07:00
Tim Eves
333ef283c8
Make constext API more consistent and robust with use of km_kbp_status.
...
In addition:
Add asserts and checks to better validate the inputs.
Add documentation describing design patterns behind differet types of
call.
2018-11-06 14:53:33 +07:00
Tim Eves
4d4bb125b6
Add the last of the kmnkbd unit tests for state and engine api.
2018-10-31 16:05:17 +07:00
Tim Eves
b9009bbc33
Add options-api to test to the kmnkbd test suite.
2018-10-30 17:07:48 +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
ef548606aa
Move keyboardprocessor into it's new toplevel under common/engine
2018-10-25 13:43:28 +07:00