Commit graph

4544 commits

Author SHA1 Message Date
Tim Eves
d985e7b7b7
Add explanatory comments to disabling kmcomp 2018-12-05 17:36:30 +07:00
Marc Durdin
8d0f85b7dd
Merge pull request #1384 from keymanapp/common-msvc-update-to-1916
[Common] Update VS version checks to 19.16 for latest release of VS2017 (bug in VS workaround)
2018-12-05 15:16:40 +11:00
Daniel Glassey
f1f5f85d85
[linux] keyboardprocessor shouldn't be reconfd on jenkins (#1383)
* keyboardprocessor shouldn't be reconfd on jenkins

update launchpad script for disco and new packages

* removed deprecated actions

* add new About Keyman to package descriptions
2018-12-05 10:46:55 +07:00
Marc Durdin
48f6c9d411 [Common] Tweak comment - to trigger agents 2018-12-05 14:22:50 +11:00
Marc Durdin
5a4d50ab8a [Common] Update VS version checks to 19.16 for latest release of VS2017 (bug in VS workaround) 2018-12-05 14:09:44 +11:00
Tim Eves
f7f1da8267 Fix disabler() being unavailable in meson < 0.45
Also handle moved kmn source directory
2018-12-04 17:52:53 +07:00
Tim Eves
b2f56e3072 Make the utf8 to work regardless of km_kbp_path_name defintiion
Use template deduction and inlines to allow automatic conversion base on 
type rather than system defines.
2018-12-04 17:48:42 +07:00
Tim Eves
b343357ae3 Fixes to get kmx building to work under Windows.
Fix encoding issue with refactored kmx.cpp test harness and utf8 to 
wchar_t strings conversion.
Fix meson.build so the wine prefix doesn't interfere with running kmcomp 
natively on Windows.
2018-12-04 17:48:21 +07:00
Tim Eves
9f98f9c22f Fixes to get meson to run kmcomp and place output in source dir.
This may rebuild a little more frequently than necessary, but not much.
Added support for running kmcomp.exe under wine on non-windows OS only 
if wine is available.
2018-12-04 17:48:01 +07:00
Marc Durdin
de6f7d681f [Common] Add KM_KBP_IT_INVALIDATE_CONTEXT to request that context buffer is flushed 2018-12-04 09:50:33 +11:00
Marc Durdin
8a2b55e58c [Common] Add support for KM_KBP_IT_EMIT_KEYSTROKE to allow the received key event to be passed on to the application 2018-12-04 09:46:04 +11:00
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
Joshua A. Horton
ea8b1de557 Minor npm update, adds promise polyfill for IE. 2018-12-03 08:58:11 +07:00
Marc Durdin
5d16d508ff [common] Tweak casts and variable types (review comments) 2018-12-03 09:16:14 +11:00
Eddie Antonio Santos
c751646b93
Rename _resolveInitialized to _declareLMLayerReady(). 2018-11-30 13:57:54 -07:00
Eddie Antonio Santos
f1382fe58c
Remove undeveloped "model" interface. 2018-11-30 13:44:58 -07:00
Eddie Antonio Santos
36e18e4019
Refactor: extract interfaces common to worker and top-level. 2018-11-30 13:43:29 -07:00
Eddie Antonio Santos
140efa7dc7
Require the capabilities object in the initialize message. 2018-11-30 13:35:40 -07:00
Eddie Antonio Santos
fe78283b92
Test integration of initialize() in LMLayer and Worker. 2018-11-30 13:07:50 -07:00
Eddie Antonio Santos
75f0fd41dc
Test that the configuration comes back. 2018-11-30 12:59:15 -07:00
Eddie Antonio Santos
31368751e9
Add callAsynchronous() helper for tests. 2018-11-30 12:49:52 -07:00
Eddie Antonio Santos
d6f9398ad2
Implement initialize callback/response. 2018-11-30 12:35:41 -07:00
Eddie Antonio Santos
ca510acd61
Revise tests to take fake postMessage() 2018-11-30 12:35:22 -07:00
Eddie Antonio Santos
d262c37025
Test sending the initialize message. 2018-11-30 12:10:37 -07:00
Eddie Antonio Santos
6ae59882bc
Refactor: extract createFakeWorker() in LMLayer tests. 2018-11-30 10:55:57 -07:00
Eddie Antonio Santos
ac4167d0be
Define initialize's interface. 2018-11-30 10:48:22 -07:00
Eddie Antonio Santos
c13ebe29ce
Test basic usage of LMLayer#initialize() 2018-11-30 09:31:03 -07: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
Eddie Antonio Santos
81b7510d8b
Implement requiring a Worker instead of a URI. 2018-11-29 20:07:53 -07:00
Eddie Antonio Santos
55ba9088be
Test that LMLayer consturctor takes in a worker instance. 2018-11-29 20:03:57 -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
Joshua A. Horton
cf13caa98e Merge branch 'lmlayer-init' into lmlayer-build-reorg 2018-11-29 23:35:37 +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
Joshua A. Horton
07bac875f4 A bit of cleaning for test.sh. 2018-11-29 10:51:51 +07:00
Joshua A. Horton
5bb166440b Merge branch 'master' into lmlayer-build-reorg 2018-11-29 10:51:08 +07:00
Joshua A. Horton
b60deb46b1 Establishes build-agent friendly runs and reporting for LMLayer tests. 2018-11-29 10:26:18 +07:00
Joshua A. Horton
18a19734db Gets headless tests working post-reorg, fixes Windows test bug. 2018-11-29 10:12:31 +07:00
Joshua A. Horton
32b834521e Reorganized the build structure into something simpler to -clean. 2018-11-29 09:11:26 +07:00
Eddie Antonio Santos
96bc08342c
Give more consistent, descriptive names to test files. 2018-11-28 15:27:14 -07:00
Eddie Antonio Santos
a0c07dfcb9
Do not use dirname to resolve script; assume build.sh is always run in one directory. 2018-11-28 15:23:20 -07:00
Eddie Antonio Santos
849089c9c6
Slightly improve the README text. 2018-11-28 14:54:03 -07:00