Commit graph

629 commits

Author SHA1 Message Date
glasseyes
eff3abd8bb add keypress_actions and sequence_step from LDTP
This file may be distributed and/or modified under the terms of the GNU Lesser General
Public License version 2 as published by the Free Software Foundation. This file
is distributed without any warranty; without even the implied warranty of
merchantability or fitness for a particular purpose.
2018-12-17 17:52:38 +07:00
Daniel Glassey
a7d8ba04b6
Merge pull request #1408 from keymanapp/linux-ibus-keyman
[linux] ibus keyman fix most things that failed using kmx test keyboards
2018-12-17 13:57:23 +07:00
glasseyes
32a6d9bb9b doc pynput dependency 2018-12-17 11:39:18 +07:00
glasseyes
06fb0ad807 doc for ibus-keyman tests 2018-12-17 11:37:30 +07:00
glasseyes
48dd46c602 README: add more packages to install for ibus-keyman and keyman-config 2018-12-17 11:28:09 +07:00
Daniel Glassey
ae650cfea5
Merge pull request #1438 from keymanapp/linux-osk
[linux] put underlying base "us" keyboard into LDML
2018-12-17 10:59:57 +07:00
glasseyes
f6bc8526ec slightly longer sleep more reliable 2018-12-17 10:25:03 +07:00
glasseyes
782ea67ce8 use thread Timer to start keypresses and close win
use sleep to slow down keypresses to more natural level
at full speed ibus_set_surrounding_text events were coming in
which got text 1 or 2 keypresses behind

changing the timing also allows initial context to work so
re-enabled test 5

all 20 tests now pass :)
2018-12-17 10:25:03 +07:00
glasseyes
ec8c135bab handle beep test 2018-12-17 10:25:03 +07:00
glasseyes
f0dbfaea6a run beep test again
some clean up of comments
reset to US keyboard before every test
2018-12-17 10:25:03 +07:00
glasseyes
24e488817a set xkb kb to us before test 2018-12-17 10:25:03 +07:00
glasseyes
4af0250dd2 WIP: ibus-keyman test program 2018-12-17 10:25:03 +07:00
glasseyes
2ca84cbda3 remember to unset hasonlymarker on next CHAR
BACK from buffer if available
2018-12-17 10:13:27 +07:00
glasseyes
de498bd80a Merge branch 'master' into linux-backspace 2018-12-17 10:00:20 +07:00
glasseyes
fb1cbec397 Merge branch 'master' into linux-ibus-keyman 2018-12-17 09:56:31 +07:00
glasseyes
e82f8006d3 [linux] backspace 2018-12-17 09:47:49 +07:00
glasseyes
c4127d4457 get a max of MAXCONTEXT_ITEMS(128) of context 2018-12-17 09:46:57 +07:00
glasseyes
092db46071 rename marker to hasonlymarker
also reset hasonlymarker after committing char buffer
2018-12-17 09:46:57 +07:00
glasseyes
f06b25ef3f initialising zeroed utf8 2018-12-17 09:46:57 +07:00
glasseyes
14639133d9 change marker from bool to char 2018-12-17 09:46:57 +07:00
glasseyes
e19c8c2c33 clear context in non-surroundingtext reset 2018-12-17 09:46:57 +07:00
glasseyes
76f2345a1d use XkbBell for ALERT for now 2018-12-17 09:46:57 +07:00
glasseyes
528bb80121 check if context has changed before setting it
use a buffer for multiple CHAR events
2018-12-17 09:46:57 +07:00
glasseyes
eeabae4b58 keep track of marker state
BACK clears marker state instead of deleting char if has it
2018-12-17 09:46:57 +07:00
glasseyes
19db11bc6a put underlying base "us" keyboard into LDML
for any unshifted or shifted key that isn't specified in the kvk
2018-12-17 09:05:42 +07:00
glasseyes
f5b14c4dd8 detect modifier key releases 2018-12-15 08:59:17 +07:00
glasseyes
b63575b465 [linux] remove X11 dependency from ibus-keyman
use gdk_display_beep instead of X11 beep
alternative strategy for detecting right mod keys
forward keycode instead of keysym
2018-12-14 14:09:23 +07:00
glasseyes
a8a960f0ee handle surrogate pairs coming from CHAR actions 2018-12-13 13:14:41 +07:00
glasseyes
9acc7ef52d use set-surrounding-text signal to refresh context 2018-12-13 13:14:41 +07:00
glasseyes
b790ee338f separate Lalt/ctrl from Ralt/ctrl 2018-12-13 13:14:40 +07:00
glasseyes
308c9216a9 'us' is the default us xkb keyboard not 'en' 2018-12-13 09:34:47 +07:00
glasseyes
cb56041b44 [linux] build scripts update launchpad,fix dist 2018-12-12 09:28:26 +07:00
Daniel Glassey
47b1e4a688
Merge pull request #1396 from keymanapp/linux-multipleversions
[linux] check if kmx already processed at >= version
2018-12-10 10:40:00 +07:00
Daniel Glassey
ba5b39f5fb
Merge pull request #1371 from keymanapp/linux-ibus-keyman
[linux] ibus-keyman initial fixes for using kmx keyboards
2018-12-07 13:16:06 +07:00
Daniel Glassey
0956621e0d
[linux] Linux jenkins exit too early (#1404)
* remove testing part of jenkins script
2018-12-07 13:03:58 +07:00
Daniel Glassey
bb1d5988fc
[linux] Linux jenkins cleanup sourcedir (#1402)
* clean up sourcedir for keyboardprocessor

* sanity check input to jenkins script
2018-12-07 11:54:02 +07:00
glasseyes
410175bdcb remove unnecessary break 2018-12-07 11:53:26 +07:00
glasseyes
d0ef038a89 Merge branch 'master' into linux-ibus-keyman 2018-12-07 09:34:04 +07:00
glasseyes
d2518f319e check if kmx already processed at >= version 2018-12-06 13:20:41 +07:00
Daniel Glassey
cf7b24b492
Merge pull request #1380 from keymanapp/linux-ibus-lang
[linux] separate IBus engines for each language
2018-12-06 11:46:09 +07:00
Daniel Glassey
5059aa4eb8
[linux] ibus-keyman dependencies (#1391)
* d/control add libjson-glib-dev build dep

* update keyman-config package dependencies
2018-12-06 07:41:33 +07:00
Daniel Glassey
0518ed6120
[linux] Linux jenkins (#1389)
CFLAGS and LIBS don't work if they are empty
2018-12-05 22:19:00 +07:00
Daniel Glassey
81ddee70d7
[keyman] Linux jenkins sourcedir (#1388)
set env to try to full configure when deps not there
2018-12-05 17:43:50 +07:00
Daniel Glassey
885dcdd935
Merge branch 'master' into linux-ibus-keyman 2018-12-05 13:20:35 +07:00
Daniel Glassey
7140126984
[linux] Linux jenkins (#1385)
keyboardprocessor and jenkins again
2018-12-05 11:13:52 +07: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
glasseyes
486b6dbb61 abort engine construction if name is empty 2018-12-05 09:41:39 +07:00
glasseyes
ac51b174b7 use search API to get list of keyboards
gets lists of all languages
then gets new keyboards from each language
2018-12-04 17:11:02 +07:00
glasseyes
41a7587107 enable surrounding context again 2018-12-04 15:25:53 +07:00
glasseyes
e454f6452e handle INVALIDATE_CONTEXT, EMIT_KEYSTROKE actions 2018-12-04 14:43:23 +07:00