Commit graph

50 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
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
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
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
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
e82f8006d3 [linux] backspace 2018-12-17 09:47:49 +07:00
glasseyes
092db46071 rename marker to hasonlymarker
also reset hasonlymarker after committing char buffer
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
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
c4127d4457 get a max of MAXCONTEXT_ITEMS(128) of context 2018-12-17 09:46:57 +07:00
glasseyes
f06b25ef3f initialising zeroed utf8 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
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
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
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
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
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
4510bf3863 separate IBus engines for each language 2018-12-04 13:49:47 +07:00
glasseyes
2fdee08891 handle iso shift level 3 form of AltR 2018-12-03 13:56:19 +07:00
glasseyes
b884ad896d misc fixes from review 2018-11-29 11:54:14 +07:00
glasseyes
ee5822969d don't use km_kbp_context_items_from_utf8 yet 2018-11-28 11:27:08 +07:00
glasseyes
c9eca64161 re-enable OSK, more cleanup 2018-11-22 14:58:44 +07:00
glasseyes
d1215444da remove dead code 2018-11-22 14:11:03 +07:00
glasseyes
1847856510 get keyboards from json
instead of looking for .kmx files
put data from json into the engine
2018-11-22 14:01:22 +07:00
glasseyes
53422c5c36 WIP: keyboard management 2018-11-20 17:25:21 +07:00
glasseyes
4fe657959e don't pass lctrl or lalt states through to keyman 2018-11-13 14:08:08 +07:00
glasseyes
f32b083485 WIP: giving state the context
if ibus's client app/toolkit supports it
2018-11-09 16:53:36 +07:00
glasseyes
78becff952 get basic backspace working
more complicated things later
2018-11-08 17:24:21 +07:00
glasseyes
88f751f77d first pass at using dummy keyboard
base keys and shift keys are working

punctuation keys are switched around but that looks deliberate
2018-11-08 16:42:21 +07:00
glasseyes
3f60361d17 km_kbp_option_item[] is now what to use in creating state 2018-11-07 14:22:04 +07:00
glasseyes
67973cd89b WIP: setting up to use dummy keyboard 2018-11-07 10:15:25 +07:00
glasseyes
a2b30dc494 WIP: use keyboardprocessor.h
get pkg-config for JSON_GLIB and KEYMAN_PROC
2018-11-06 15:14:21 +07:00
glasseyes
168c693f32 make a copy of ibus-kmfl called ibus-keyman
This will be modified to use the new Keyman engine
2018-09-25 17:18:57 +07:00