Commit graph

5162 commits

Author SHA1 Message Date
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
83eb8395d6 chore(web): cleanup sample test 3621 keyboard 2021-11-29 10:54:46 +11:00
Marc Durdin
f9b4be6883 chore(web): refactor constructNullKeyEvent 2021-11-29 10:54:28 +11:00
Marc Durdin
3f35cc0bf8 chore(web): Merge branch 'master' into feat/web/3621-newcontext-group 2021-11-29 10:22:22 +11:00
Marc Durdin
e98930dedb
Merge branch 'master' into fix/web/5779-font-scaling-in-osk 2021-11-29 09:12:15 +11:00
Keyman Build Agent
158faa8589 auto: increment master version to 15.0.157 2021-11-26 13:01:09 -05:00
Keyman Build Agent
9cdda14f9e auto: increment master version to 15.0.156 2021-11-24 13:01:44 -05: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
ce2aa9a166 feat(web): support for &layerChanged
Relates to #3621.

Add support for `&layerChanged` system store. This store is set to `1`
before a `begin postKeystroke`, if the keystroke it follows resulted in
a layer change, either programatically through a keyboard rule, or
through a `nextlayer` property of the touched key.
2021-11-24 06:45:20 +11:00
Marc Durdin
f5fc41712d feat(web): add support for begin postKeystroke
Relates to #3621.

This adds support for `begin postKeystroke` to KeymanWeb. This is now
close to final, apart from support for `&layerChanged`.
2021-11-23 16:56:16 +11:00
Marc Durdin
dcedb15b69 chore: cleanup comments and defines 2021-11-23 16:08:19 +11:00
Marc Durdin
bbbf1afce7 feat(web): basic support for newContext
Relates to #3621.

Adds basic support for `begin newContext`.
2021-11-23 15:00:47 +11:00
Marc Durdin
e803bed813 feat(web): start-of-sentence test keyboard
Relates to #3621.

Initial draft of keyboard to test start-of-sentence detection.
2021-11-23 10:11:10 +11:00
Keyman Build Agent
e0034044b0 auto: increment master version to 15.0.155 2021-11-22 13:02:01 -05:00
Keyman Build Agent
a5f2892c31 auto: increment master version to 15.0.154 2021-11-20 13:01:25 -05:00
Keyman Build Agent
ceadbb0fc5 auto: increment master version to 15.0.153 2021-11-19 13:01:24 -05:00
Marc Durdin
b2566c948a
Merge branch 'master' into mdecxstr 2021-11-19 10:35:01 +11:00
Keyman Build Agent
68328487d2 auto: increment master version to 15.0.152 2021-11-18 13:01:57 -05: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
Darcy Wong
1e50270b5b
Merge pull request #5913 from keymanapp/fix/android/2858-key-text
fix(android/engine): Support for U_xxxx_yyyy subkeys
2021-11-18 11:47:53 +07:00
Keyman Build Agent
b5475dd98a auto: increment master version to 15.0.151 2021-11-17 15:26:49 -05:00
Keyman Build Agent
420789a02d auto: increment master version to 15.0.150 2021-11-17 13:01:40 -05:00
Marc Durdin
65d5fdb56a fix: rework decxstr for mid-sequence movement 2021-11-17 12:26:24 +11:00
Keyman Build Agent
51117bb93b auto: increment master version to 15.0.149 2021-11-16 13:01:40 -05:00
Sabine
26243fc439 fix(common/core)-decxstr: changes for UC_SENTINEL_EXTENDEDEND; removed 0xF000-tests 2021-11-15 19:20:34 +01:00
Keyman Build Agent
e2753c89f1 auto: increment master version to 15.0.148 2021-11-15 13:01:48 -05:00
Darcy Wong
0a481c9f8f chore(web): Update U_XXXX_YYYY test keyboard 2021-11-15 15:34:51 +07:00
Marc Durdin
9da4ffa77a fix(web): font size was not consistently set
Fixes #5779.
Fixes #5731 (I believe mitigation is sufficient to close this issue).

A variety of interrelated font and font size display issues resolved:
1. KVK font was not applied early enough for size calculations, which
   meant that we were calculating font scaling per key based on a
   default font when transforming from the KVK data for desktop devices
   (defaultLayout.ts)
2. Font scaling for non-default layers was calculated when elements were
   not visible and had no size information, giving incorrect values. To
   resolve this, font scaling is now calculated when a layer is made
   visible, which had performance impacts; resolved by reducing
   unnecessary `layer.refreshLayout()` calls; see performance point 1
   below (oskView.ts:layerChangeHandler())
3. `getViewportScale()` would return an incorrect scaled value when
   emulating touch devices on a desktop browser (kmwutils.ts)
4. After switching keyboards, the device-specific scaling factor was not
   maintained (oskView.ts:refreshLayout())

Related performance improvements:
1. Multiple calls to `layer.refreshLayout()` in `refreshLayout()` have
   been eliminated, and only the currently visible layer is now
   refreshed. This dramatically reduces the number of calls to
   `getIdealFontSize()` which was the primary concern of #5731.
   (visualKeyboards.ts)
2. Unnecessary use of `innerHTML` replaced with `innerText`
   (oskBaseKey.ts)

Minor Keyman Developer performance improvement:
1. The web debugger no longer recalculates the OSK twice (test.js)
2021-11-15 10:08:18 +11:00
Keyman Build Agent
f6d8133a73 auto: increment master version to 15.0.147 2021-11-14 13:01:30 -05:00
Marc Durdin
a25b9cd8eb
Merge pull request #5894 from keymanapp/feat/developer/2858-u_xxxx_yyyy
feat(developer): support for U_xxxx_yyyy
2021-11-14 15:47:55 +11:00
Keyman Build Agent
85709945bb auto: increment master version to 15.0.146 2021-11-13 13:01:33 -05:00
Marc Durdin
97f60c7f40
Merge pull request #5895 from keymanapp/feat/developer/5464-validate-kps-file
feat(developer): validate .kps files during compile
2021-11-13 09:54:54 +11:00
Keyman Build Agent
a1faff2bc8 auto: increment master version to 15.0.145 2021-11-12 13:01:50 -05:00
Keyman Build Agent
11d53c4aa1 auto: increment master version to 15.0.144 2021-11-11 13:01:21 -05:00
Marc Durdin
b9c492a66b feat(developer): validate .kps files during compile
Fixes #5464.

The keyboards repository already has code to validate .xsd files, using
xmllint. This adds the same functionality directly into kmcomp and TIKE.
2021-11-11 14:41:04 +11:00
Marc Durdin
33a2e230f6 chore(developer): enforce file versions for feature 2021-11-11 13:26:56 +11:00
Marc Durdin
d704fc6233 feat(developer): test keyboard for U_xxxx_yyyy 2021-11-11 13:08:54 +11:00
Marc Durdin
66be206d96 feat(developer): support for U_xxxx_yyyy 2021-11-11 13:08:39 +11:00
Sabine
ba0092973e fix(common/core)-decxstr: tidy up code 2021-11-09 21:22:22 +01:00
Keyman Build Agent
5f8a25f55d auto: increment master version to 15.0.143 2021-11-08 13:01:45 -05: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
Keyman Build Agent
503d12ceec auto: increment master version to 15.0.142 2021-11-05 14:02:49 -04: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
Keyman Build Agent
906da08c47 auto: increment master version to 15.0.141 2021-11-03 14:01:32 -04: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
Keyman Build Agent
46a10d8f44 auto: increment master version to 15.0.140 2021-11-02 14:01:20 -04:00