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
Ross
c875cdbc11
feat(windows): add MapUSCharToVK to kmx processor
2021-11-29 10:52:14 +10:00
Ross
58384ede0a
feat(windows): clean up old kbd kmx
2021-11-29 10:52:13 +10:00
rc-swag
3df288779e
feat(core): update copyright
...
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2021-11-29 10:52:12 +10:00
Ross
c95e565fbf
feat(windows): Replace magic numbers with constants
2021-11-29 10:52:11 +10:00
Ross
6f6600a501
feat(windows): Rename kbd file fix meson build for key list test
2021-11-29 10:52:09 +10:00
Ross
4d1eee983c
feat(windows): remove unused vk_count var
2021-11-29 10:52:08 +10:00
Ross
31d7200a63
feat(windows): replace insert_or_assign with[] for hashmap
...
Also update issue comment for future removal of winows processor code
2021-11-29 10:52:07 +10:00
Ross
2353590138
feat(windows): Make keyboad key list unique
2021-11-29 10:52:06 +10:00
rc-swag
4e1ccfdd4f
feat(windows): apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-11-29 10:52:04 +10:00
Ross
edfa9bcddd
feat(windows): Fix auto using int instead of uint
2021-11-29 10:52:03 +10:00
Ross
ac16abdb18
feat(windows): rename key_rules -> key_list
2021-11-29 10:52:02 +10:00
Ross
9f44cf49fc
feat(windows): fix pkeys index add comments
...
The pkeys was using the wrong counter as a index
in the map check therefore matching the incorrect key
2021-11-29 10:52:01 +10:00
Ross
72d8188a38
feat(windows): complete common core get rules api
2021-11-29 10:51:59 +10:00
Ross
9c1b6702b3
feat(windows): inital commit get rule keys api
2021-11-29 10:51:58 +10:00
Eberhard Beilharz
37e20c5cbb
fix(linux): Fix ibus-keyman integration tests
...
Previously we overwrote our test data, so we basically ran the same
test repeatedly under different names.
Properly running them showed some failures which this change also
fixes or skips.
2021-11-24 15:59:44 +01:00
Marc Durdin
b2566c948a
Merge branch 'master' into mdecxstr
2021-11-19 10:35:01 +11:00
Sabine
5a31959a55
Merge remote-tracking branch 'origin/master' into mdecxstr
2021-11-18 18:47:09 +01:00
Sabine
e578e43208
fix(common/core)-decxstr: included tests for newly defined behavior
2021-11-18 18:39:28 +01:00
Marc Durdin
65d5fdb56a
fix: rework decxstr for mid-sequence movement
2021-11-17 12:26:24 +11:00
Sabine
26243fc439
fix(common/core)-decxstr: changes for UC_SENTINEL_EXTENDEDEND; removed 0xF000-tests
2021-11-15 19:20:34 +01:00
Marc Durdin
33a2e230f6
chore(developer): enforce file versions for feature
2021-11-11 13:26:56 +11:00
Sabine
ba0092973e
fix(common/core)-decxstr: tidy up code
2021-11-09 21:22:22 +01:00
Sabine
d27e67b760
fix(common/core)-decxstr: requested changes eg. check boundaries for *(q+1) ; added more tests for sequences with 0xFFFF 0XF000
2021-11-08 13:12:21 +01:00
Eberhard Beilharz
cdee19e953
chore(linux): Add integration tests for ibus-keyman
...
This change adds integration/regression tests for ibus-keyman. It
re-uses the unit tests that we have for core.
Also modifies one test so that the context doesn't use characters
used in the keyboard. This makes it easier to setup in ibus-keyman
tests.
2021-11-04 09:22:28 +01:00
Eberhard Beilharz
b77cf9fa83
chore(common/core): Fix build paths on Windows
...
While adding nested subdirs to `meson.build` works it still adds the
directory with the wrong path separator on Windows. This suddenly
caused problems when building.
2021-11-03 15:44:23 +01:00
Eberhard Beilharz
509612a791
chore(common/core): fix build on Windows
2021-11-03 12:11:54 +01:00
Eberhard Beilharz
cde47f297d
chore(common/core): Compile test keyboards to .kmp
...
This change adds package templates to the test folder and compiles
a keyboard package for each of the test keyboards. These
packages are useful for manual testing in addition to the automated
tests.
2021-11-02 19:37:45 +01:00
Eberhard Beilharz
487455c865
chore(common/core): refactor kmx unit tests
...
Extract common code to separate file.
2021-10-29 17:50:56 +02:00
Sabine
f4c6654eb5
fix(common/core):in sequences with CODE_xxx checked for p<pstart ; added more tests to decxstr
2021-10-29 09:55:25 +02:00
Eberhard Beilharz
614ba114ef
chore(common): Work with older meson versions
...
The copy keyword inside of configure_file got added in meson 0.47.
However, we still support Bionic which comes with meson 0.45. This
change adds a workaround.
2021-10-28 15:06:40 +02:00