Daniel Glassey
a1dac0eb52
Merge pull request #1430 from keymanapp/linux-backspace
...
[linux] backspace
2018-12-18 09:22:42 +07:00
glasseyes
b8a199607f
wait until END to do EMIT_KEYSTROKE
...
in case there are other actions like INVALIDATE_CONTEXT after it
2018-12-18 09:10:43 +07:00
Daniel Glassey
0eefe8a41b
Merge pull request #1431 from keymanapp/linux-ibus-keyman-testprog
...
[linux] ibus-keyman test program
2018-12-18 08:50:57 +07:00
glasseyes
416aaec057
rename new tests to 038, 039
2018-12-18 08:41:21 +07:00
glasseyes
13a20b3350
set GTK_CFLAGS and GTK_LIBS for make dist on jenkins
2018-12-17 23:18:05 +07:00
glasseyes
4547ed2e49
remove hasonlymarker
2018-12-17 21:44:34 +07:00
glasseyes
fc023c8cf1
missing part of merge
2018-12-17 21:05:26 +07:00
glasseyes
2fda69b9f2
Merge branch 'master' into linux-backspace
2018-12-17 21:02:10 +07:00
glasseyes
4cadda4bbe
Merge branch 'master' into linux-ibus-keyman-testprog
2018-12-17 20:47:51 +07:00
glasseyes
e6b5c90a1f
cleanup change_keyboard
2018-12-17 20:17:49 +07:00
glasseyes
d87dc62dcf
use keypress_actions instead of pynput
2018-12-17 20:17:14 +07:00
glasseyes
334f2dacfc
keypress_actions: add ctrlr, port to python3
2018-12-17 20:14:36 +07:00
glasseyes
1c2eca06f2
tests for punctuation keys and generic ctrlalt
2018-12-17 20:09:24 +07:00
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