glasseyes
bc2ae0201e
fix forwarding backspace
2018-12-19 15:05:53 +07:00
glasseyes
4a80289d80
km_kbp_cp_dispose gone so cast and g_free instead
2018-12-19 13:23:17 +07:00
glasseyes
9dc84b83e5
get un/install from ibus working (for me at least!)
...
move get_metadata to kmpmetadata.py
some ibus utility functions for un/install, restart
and change keyboard
2018-12-19 12:55:26 +07:00
glasseyes
038dfd98c5
install and uninstall from ibus
2018-12-19 12:55:25 +07:00
Daniel Glassey
1a3bf282ca
Merge pull request #1446 from keymanapp/linux-options
...
[linux] Linux options
2018-12-18 21:31:17 +07:00
glasseyes
c7dc14bb13
baselayout kbdus.dll and alt en-US for now
2018-12-18 16:56:42 +07:00
glasseyes
1c1ca42301
baselayout only en-US for now
2018-12-18 15:51:37 +07:00
glasseyes
f2b6b9cf5c
default platform and baselayout for linux
...
baselayout is LANG changed to xx-CC format
also move linux code workspace
2018-12-18 15:49:56 +07:00
glasseyes
41139b6467
keyman package is section utils not python
2018-12-18 12:16:37 +07:00
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