Commit graph

110 commits

Author SHA1 Message Date
Darcy Wong
a148463dca feat(linux): Save new options into DConf 2020-02-01 17:04:09 +07:00
Darcy
12a6d5e95c feat(linux): Start refactoring the dconf utilities 2020-01-31 17:35:49 +07:00
Darcy Wong
c83b390601 feat(linux): Add ability to configure keyboard options 2020-01-31 11:43:58 +07:00
Darcy Wong
941f342311 Merge branch 'beta' into linux-361-appdata 2019-02-15 06:16:51 +07:00
glasseyes
69cc40f11c avoid potential memleak 2019-02-14 16:37:14 +00:00
glasseyes
4bdeb22e47 add appstream metadata for ibus-keyman and ibus-kmfl 2019-02-07 16:33:36 -06:00
glasseyes
a8417670b8 add test/kmp.json to EXTRA_DIST 2019-01-28 09:59:33 -06:00
glasseyes
d061b4b9a9 only want pid of one process 2019-01-10 15:16:18 +07:00
glasseyes
7af2f0eb8c ibus exit on gnome-shell 2019-01-10 14:46:14 +07:00
glasseyes
e6d98a8e3e reduce version dep on json-glib to 1.0 2019-01-10 10:28:41 +07:00
glasseyes
a7d1056880 quote username for restart 2019-01-10 09:57:18 +07:00
glasseyes
fde1954148 restart ibus as user owning process 2019-01-09 08:21:53 +07:00
glasseyes
50c325b0ad ignore alphas in d/watch
set tier for launchpad.sh to get SHA256SUMS from right place
2019-01-03 12:57:02 +07:00
glasseyes
9467d8a827 only restart IBus if it is already running 2019-01-03 11:10:28 +07:00
glasseyes
6dd1008dbf add d/postinst and postrm to restart IBus 2019-01-03 11:10:28 +07:00
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
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
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
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
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
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