Commit graph

203 commits

Author SHA1 Message Date
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
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
Eberhard Beilharz
4c5824fc6a
chore(common/core): generate kmp.json
This change generates kmp.json based on the test files specified in
meson.build. It will also generate .kmx files in the build directory
and copies the .kmn files to it as well.
2021-10-28 10:47:01 +02:00
Sabine
8670495c6e fix(common/core): resolved merge conflicts 2021-10-26 10:47:51 +02:00
Sabine
62af9c6a8d fix(common/core): decxstr another small layout change 2021-10-20 10:33:23 +02:00
Sabine
ecbd2a88e8 some layout changes to decxstr + tests 2021-10-20 09:58:34 +02:00
Sabine
cdce40eb56 first Version of Decxstr 2021-10-18 16:52:05 +02:00
Sabine
b385ca3096 first Version of Decxstr 2021-10-18 16:39:02 +02:00
rc-swag
3666a8b7f8
Merge pull request #5712 from SabineSIL/mxstr
fix(common/core): incxstr checks all character while incrementing
2021-10-11 16:30:37 +10:00
Sabine
c854aac91d fix(common/core) some layout+text changes done, all characters (exept surrogates) in 4 digits 2021-10-07 18:12:30 +02:00
Sabine
c402b463ea fix(common/core) compare size of CODE__SIZE to (CODE_LASTCODE+1) 2021-10-07 08:47:45 +02:00
Sabine
9671197dd0 fix(common/core) CODE__SIZE changed + more tests included 2021-10-06 15:32:10 +02:00
Sabine
660359e892 fix(common/core) second version with array, kmx restored plus changes requested 2021-09-30 15:47:53 +02:00
SabineSIL
96589cfaf0
Update kmx_processevent.h 2021-09-28 16:04:58 +02:00
Sabine
1d7091b025 fix(common/core):Changes with Marcs Proposals (included Array) 2021-09-28 11:09:09 +02:00
rc-swag
b71fde66f9
Merge branch 'master' into feat/windows/keyman-core-integration-2 2021-09-27 21:40:22 +10:00
Sabine
6aefca1fa4 delete kmx 2021-09-23 15:44:10 +02:00
Sabine
7859535c44 after some conflicts were solved 2021-09-21 22:12:31 +02:00
SabineSIL
7e29500861
Update kmx_xstring.cpp 2021-09-21 21:48:33 +02:00
SabineSIL
08220c61fd
Update kmx_processevent.h 2021-09-21 21:37:17 +02:00
Sabine
caf33cb215 new commit deltaptr changed to array 2021-09-21 21:28:50 +02:00
SabineSIL
705f798004
Update common/core/desktop/src/kmx/kmx_xstring.cpp
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-09-21 14:53:29 +02:00
SabineSIL
bdf946b65d
Update common/core/desktop/src/kmx/kmx_xstring.cpp
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-09-21 14:53:07 +02:00
SabineSIL
390169b868
Update meson.build 2021-09-21 14:05:53 +02:00
rc-swag
4cc9525d2b
Merge pull request #5669 from keymanapp/fix/common/core/list-size-endless-loop
fix(common/core): insure list pntr is incremented
2021-09-21 09:01:27 +10:00
SabineSIL
04f6a93288
Update common/core/desktop/tests/unit/kmnkbd/test_kmx_xstring.cpp
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-09-20 10:52:03 +02:00
SabineSIL
1fb93061dd
Update common/core/desktop/tests/unit/kmnkbd/test_kmx_xstring.cpp
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-09-20 10:49:03 +02:00
SabineSIL
c3f89bd868
Update common/core/desktop/tests/unit/kmnkbd/test_kmx_xstring.cpp
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-09-20 10:47:44 +02:00
SabineSIL
2f0f7c000f
Update common/core/desktop/tests/unit/kmnkbd/test_kmx_xstring.cpp
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-09-20 10:47:13 +02:00
SabineSIL
f02f4f8536
Update common/core/desktop/tests/unit/kmnkbd/test_kmx_xstring.cpp
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-09-20 10:46:06 +02:00
SabineSIL
e92a2bf557
Update common/core/desktop/tests/unit/kmnkbd/test_kmx_xstring.cpp
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-09-20 10:42:12 +02:00