Commit graph

90 commits

Author SHA1 Message Date
Marc Durdin
356da843e6
Merge pull request #1348 from keymanapp/common-kpapi-linux-warnings
[common] Eliminate warnings on Linux build
2018-12-03 13:02:19 +11:00
Marc Durdin
5d16d508ff [common] Tweak casts and variable types (review comments) 2018-12-03 09:16:14 +11:00
Daniel Glassey
11639e0236
Merge pull request #1337 from keymanapp/linux-ibus-keyman
[Linux] ibus keyman initial work pre kmx keyboardprocessor
2018-11-30 16:26:56 +07:00
Daniel Glassey
f2c983b81b
Merge pull request #1356 from keymanapp/common-kpapi-utf8context
[common] add km_kbp_context_items_from_utf8 and to_utf8
2018-11-30 15:05:21 +07:00
Tim Eves
70b6310a19 Fix misnamed km_kbp_context_items_to_utf8 call & add test case.
And fix the type of the buffer to match the type in the definition.

Co-Authored-By: Daniel Glassey <glasseyes@users.noreply.github.com>
2018-11-30 15:02:07 +07:00
Tim Eves
4667c5bf84 Add all the missing files that should have been in the preceding commit
Co-Authored-By: Daniel Glassey <glasseyes@users.noreply.github.com>
2018-11-30 14:46:54 +07:00
Tim Eves
70ec24a6e1 Refactor context_items_{from,to}_utf{8,16}, fix utftest and sz_lut defns 2018-11-30 14:35:51 +07:00
Daniel Glassey
4229867288
Merge branch 'master' into linux-ibus-keyman 2018-11-30 14:27:11 +07:00
Daniel Glassey
18184afbaa
[linux] keyboardprocessor debian dir (#1362)
* initial debian dir for keyman-keyboardprocessor

* move install file back

* backport tmpsources target
2018-11-30 14:00:28 +07:00
Daniel Glassey
e0cee2b8ae
Merge branch 'master' into linux-ibus-keyman 2018-11-30 09:37:07 +07:00
glasseyes
ca27f40673 warning reminder to copy compiled keyboards 2018-11-30 09:32:59 +07:00
glasseyes
83b0fc4eb5 missing endforeach 2018-11-29 15:48:24 +07:00
glasseyes
a75ce4106b change kmx test to accept 2 arguments
'kmn' and either source root or build root
2018-11-29 15:29:23 +07:00
glasseyes
6c3bb00f41 revert kbp changes apart from prog_kmcomp check
they will be in another PR
2018-11-29 13:03:41 +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
Marc Durdin
319d5a800a [Common] Ignore kmcomp if not present and use prebuilt kmx files for tests 2018-11-28 06:28:45 +11: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
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
glasseyes
16dd44047e make kmx test optional
Debian and other automated buildds won't have kmcomp.exe so
don't let that fail the build
2018-11-20 13:00:09 +07:00
Daniel Glassey
1a7ce3f380
Merge branch 'windows-refactor-kmprocess-for-kpapi' into windows-refactor-kmprocess-for-kpapi-daniel 2018-11-20 09:39:44 +07: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
glasseyes
d62f2034c6 compile kmn in configure step 2018-11-19 11:10:36 +07:00
glasseyes
f5115174fe kmx to find tests in current dir, meson on bionic
to allow debugging it
meson 0.45 on Ubuntu bionic doesn't have configure_files:copy
or test:depends
2018-11-19 10:39:03 +07: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
13235bd623 [common] Remove old logging code 2018-11-19 07:52:06 +11:00
Marc Durdin
511e03bb91 [common] resolve hints and warnings 2018-11-19 07:23:31 +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
e1c83d9d33 [common] move inline function to header 2018-11-19 06:45:36 +11:00
Marc Durdin
8919595598 [common] include string.h for legacy string calls 2018-11-19 06:42:14 +11:00
Marc Durdin
bb9a8fb5ee [common] Resolve some Linux build errors 2018-11-19 06:39:22 +11:00
Marc Durdin
06341d79f7 [common] Remove VK_ defines and cleanup warnings 2018-11-19 06:26:46 +11:00