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
glasseyes
2fa98de85e
Merge branch 'master' into linux-ibus-keyman
2018-12-04 14:04:48 +07:00
glasseyes
4510bf3863
separate IBus engines for each language
2018-12-04 13:49:47 +07:00
Daniel Glassey
e3bb055e59
Merge pull request #1360 from keymanapp/linux-keyman-config
...
[linux] use embed=linux and Linux user agent
2018-12-04 07:47:38 +07:00
glasseyes
2fdee08891
handle iso shift level 3 form of AltR
2018-12-03 13:56:19 +07:00
glasseyes
f72b8c477e
parameters changed in km-package-install
...
bash completion changed for that
2018-12-03 11:52:20 +07:00
glasseyes
8d1fe5d8f8
use download API fix
2018-12-03 11:47:36 +07:00