Commit graph

4544 commits

Author SHA1 Message Date
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
Eberhard Beilharz
8e6292e4ca
Merge pull request #5862 from keymanapp/chore/core/refactor-tests
chore(common/core): refactor kmx unit tests 🎫
2021-11-02 08:45:27 +01:00
Keyman Build Agent
52506b74c6 auto: increment master version to 15.0.139 2021-10-29 14:01:38 -04: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
Eberhard Beilharz
d5a889662d
Merge pull request #5860 from keymanapp/chore/common/kmpjson
chore(common/core): generate kmp.json
2021-10-29 17:28:26 +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
Keyman Build Agent
cf1ea0e71b auto: increment master version to 15.0.138 2021-10-28 14:01:16 -04: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
Keyman Build Agent
5334c0b71e auto: increment master version to 15.0.137 2021-10-23 14:01:23 -04:00
Keyman Build Agent
ee8bc76d49 auto: increment master version to 15.0.136 2021-10-20 14:01:23 -04: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
Keyman Build Agent
e2dea842e3 auto: increment master version to 15.0.135 2021-10-19 14:01:28 -04: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
Keyman Build Agent
fbbe812765 auto: increment master version to 15.0.134 2021-10-16 14:01:31 -04:00
Keyman Build Agent
c0d395beee auto: increment master version to 15.0.133 2021-10-15 14:01:14 -04:00