Commit graph

264 commits

Author SHA1 Message Date
Marc Durdin
b23df3fbc8 feat(web): &newLayer and &oldLayer
Fixes #6364.

Removes `&layerChanged` and adds `&newLayer` and `&oldLayer` system
stores with the additional nuances around values as described in #6364.
2022-03-13 08:29:15 +11:00
Steven R. Loomis
3658efa5f1 chore(common): remove rust (for now!) 🦀
Fixes #6290
2022-02-24 17:34:23 -06:00
Ross
1d2584bc64 fix(common): mask modifiers in process event call
Ensure that when calling the common core process_event call that the
modifiers variable only includes the Bits the core supports
2022-02-11 16:25:58 +10:00
Ross
cd48948e08 fix: update code comments to match change 2022-02-11 16:24:54 +10:00
Ross
2b99aa7f0c fix: add num and scroll lock mask to VKeyToChar 2022-02-11 16:24:41 +10:00
Ross
949cb7da40 chore(windows): Merge branch 'master' into feat/windows/6099-emit-keystrokes-from-imx 2022-01-24 16:05:48 +10:00
Ross
674c9e5d07 feat(windows): fix unused variable error 2022-01-24 11:21:25 +10:00
Ross
5aecca8314 feat(windows): remove extra qual from header 2022-01-24 11:09:32 +10:00
Ross
9dd342eace feat(windows): Turn imx synthesised actions to emti keystroke action 2022-01-21 14:12:00 +10:00
rc-swag
02e2cc7773
feat(windows): code review suggestion
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-01-20 15:05:35 +10:00
Ross
12b4b5cfe3 feat(windows): Check imx_list is allocated before delete 2022-01-20 15:02:35 +10:00
Ross
8c8859bcf1 feat(windows): add process_queued_actions 2022-01-20 14:33:00 +10:00
rc-swag
4ca65e4fdb
feat(windows): commit suggestions github
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-01-20 09:43:22 +10:00
Ross
1b624c3d56 feat(windows): Address Review comments 2022-01-19 13:47:49 +10:00
rc-swag
45d0abd81c
feat(windows): Improve ContextItemsFromAppContext
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-01-18 15:16:13 +10:00
rc-swag
87e34147e6
feat(windows): apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-01-18 09:25:03 +10:00
Ross
e1110ec037 feat(windows): revert built kmx files 2022-01-17 11:36:58 +10:00
Marc Durdin
0c0bb420b5
Merge pull request #5963 from keymanapp/feat/web/3621-newcontext-group
feat(web): Start of Sentence support - part 1 🕊
2022-01-17 12:04:29 +11:00
Ross
f91d4dca1b feat(windows): more clang fixes 2022-01-13 14:00:28 +10:00
Ross
1bae60e697 feat(windows): add casting to keep clang happy 2022-01-13 14:00:26 +10:00
Ross
0c3583c718 feat(windows): fix declaration compile errors 2022-01-13 14:00:26 +10:00
Ross
ca8108c642 feat(windows): remove extra logging add comments 2022-01-13 14:00:13 +10:00
Ross
7efb4b1756 feat(windows): add wm_kewm_keymanim_close for core
This commit adds call to the core keyboard processor
on wm_keymanim_close event. To get the latest actions.
It also changes the core to allow QIT BACK even when
the context is empty.
2022-01-13 13:59:43 +10:00
Ross
da56bc7a82 feat(windows): tweak tests after rebase master 2022-01-13 13:59:41 +10:00
Ross
f1f1d4e9b7 feat(windows): fix compile error 2022-01-13 13:59:40 +10:00
Ross
a72697423a feat(windows): add logging to be removed later 2022-01-13 13:59:39 +10:00
Ross
a078c2e577 feat(windows): add register callback 2022-01-13 13:59:31 +10:00
Ross
cec762bd16 feat(windows): add get intermediate context 2022-01-13 13:56:03 +10:00
Ross
8bdd252a77 feat(windows): stashed changes conflict 2022-01-13 13:56:02 +10:00
Ross
f2c52803eb feat(windows): Wip mod kmcontext 2022-01-13 13:56:01 +10:00
Ross
6f83d96bbb feat(windows): kmx.cpp missed the last commit 2022-01-13 13:56:00 +10:00
Ross
4a6d608a92 feat(windows): fix missing break in action items switch 2022-01-13 13:55:59 +10:00
Ross
9d320c6bd8 feat(windows): core queue_action_items unit test 2022-01-13 13:55:58 +10:00
Ross
993655d340 feat(windows): Some documentation 2022-01-13 13:55:56 +10:00
Ross
fd71876e26 feat(windows): Update KMSetOutput to use core processor 2022-01-13 13:55:49 +10:00
Ross
cd41989698 feat(windows): First cut queue action api WIP 2022-01-13 13:54:53 +10:00
Ross
490e6601bc feat(windows): Initial Commit 2022-01-13 13:54:30 +10:00
Ross
d7bc65ffa9 feat(windows): cast int64 to int 2022-01-06 11:06:46 +10:00
Eberhard Beilharz
7bfc622718
Merge pull request #6002 from keymanapp/refactor/core/usedefines
refactor(common/core): Use defines in all xstring tests
2021-12-07 17:19:32 +01:00
Ross
c26e1f3485 chore(common): buf now uses decxstr so remove comment
remove comment about it splitting surrogate pairs and
deadkeys
2021-12-06 10:37:49 +10:00
Eberhard Beilharz
e890bede2c
refactor(common/core): Use defines in all xstring tests 2021-12-03 18:14:35 +01:00
Eberhard Beilharz
cbf0155108
fix(common/core): Fix KMX_Context::Add()
When our context buffer is too small we now properly move the
content by a full xstring unit so that we don't end up with the
buffer starting with an invalid sequence (half of a dead key or
surrogate pair).
2021-12-03 17:26:15 +01:00
Eberhard Beilharz
7766718f7c
chore(linux): Add more core unit tests 2021-12-03 17:26:14 +01:00
Eberhard Beilharz
855cb9d916
refactor(linux): Refactor two core tests
This change refactors two tests to no longer rely on obscure internal
knowledge. This allows the tests to also run in ibus-keyman.
2021-12-03 17:23:36 +01:00
Eberhard Beilharz
e31cf4a1d8
chore(linux): add non-surrounding-text feature to tests
This also fixes a failing test (`048 - modifier keys keep context`)
if surrounding text is not supported. If the user presses the
capslock key we shouldn't reset the context if no rules match.

Fixes #5613.
2021-12-03 17:23:35 +01:00
rc-swag
faff079e2e
chore(common):fix typos in commments 2021-12-03 15:18:59 +10:00
Ross
884c249286 chore(common): add more description to Buf method
Also updated the doxy to remove the brief tag.
Made mirror change to appint.h
2021-12-03 10:01:53 +10:00
Eberhard Beilharz
30897811c0
Merge pull request #5966 from keymanapp/fix/linux/tests
fix(linux): Fix ibus-keyman integration tests 🎫
2021-11-29 09:55:30 +01:00
Ross
cfed6f1112 feat(windows): add comment for clarity 2021-11-29 10:52:17 +10:00
Ross
059af9efd1 feat(windows): add MapUSCharToVK to kmx processor 2021-11-29 10:52:16 +10:00