Commit graph

33096 commits

Author SHA1 Message Date
Dr Mark C. Sinclair
8dd236c70c chore(developer): add initial four test cases for unicode in GetXStringImpl_type_u test 2024-08-26 12:12:05 +01:00
Dr Mark C. Sinclair
8522c57b6a chore(developer): add versions where omitted from some notany() test cases 2024-08-26 11:24:19 +01:00
Dr Mark C. Sinclair
437420d534 chore(developer): add test case for nul to GetXStringImpl_type_n test 2024-08-26 11:18:54 +01:00
Dr Mark C. Sinclair
8c79a04fce chore(developer): add test case for notany() with empty store 2024-08-26 10:59:36 +01:00
Dr Mark C. Sinclair
ef4a14bd48 chore(developer): add ten test cases for notany() to GetXStringImpl_type_n test 2024-08-26 10:53:09 +01:00
rc-swag
558636886c feat(windows): remove left modifier only bit flag 2024-08-26 19:39:47 +10:00
Dr Mark C. Sinclair
ec5a749484 chore(developer): initial GetXStringImpl_type_n test 2024-08-26 10:30:21 +01:00
Eberhard Beilharz
e788bf5077
fix(web): enable tests to run on Ubuntu 24.04 Noble
Previously running the tests failed because it couldn't find ICU 70 when
running webkit. Ubuntu 24.04 Noble comes with ICU 74. Updating
playwright to 1.46 fixes this.
2024-08-26 16:22:15 +07:00
Dr Mark C. Sinclair
758a398060 chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests-3
# Keyman Conventional Commit suggestions:
#
# - Link to a Sentry issue with git trailer:
#     Fixes: _MODULE_-_ID_
# - Give credit to co-authors:
#     Co-authored-by: _Name_ <_email_>
# - Use imperative, present tense ('attach' not 'attaches', 'attached' etc)
# - Don't include a period at the end of the title
# - Always include a blank line before trailers
# - More: https://github.com/keymanapp/keyman/wiki/Pull-Request-and-Commit-workflow-notes
2024-08-26 10:21:10 +01:00
Dr Mark C. Sinclair
fca939b172 chore(developer): Merge branch 'master' into fix/developer/12262-ensure-call-detects-invalid-store-in-kmcmplib-compiler
# Keyman Conventional Commit suggestions:
#
# - Link to a Sentry issue with git trailer:
#     Fixes: _MODULE_-_ID_
# - Give credit to co-authors:
#     Co-authored-by: _Name_ <_email_>
# - Use imperative, present tense ('attach' not 'attaches', 'attached' etc)
# - Don't include a period at the end of the title
# - Always include a blank line before trailers
# - More: https://github.com/keymanapp/keyman/wiki/Pull-Request-and-Commit-workflow-notes
2024-08-26 10:06:51 +01:00
Darcy Wong
793ef9306b
Merge pull request #12287 from keymanapp/chore/android/cleanup-stray-debug
chore(android): Cleanup stray debug statements in console
2024-08-26 15:43:01 +07:00
Eberhard Beilharz
663dbede4c
fix(web): fix build by calling correct script
`test.sh` got removed since it did the same as `build.sh test`.
2024-08-26 15:29:22 +07:00
Joshua A. Horton
6276b1ecc3
fix(web): fixes build issue due to unreferenced --ci flag inclusion in app/browser build 2024-08-26 15:29:22 +07:00
Eberhard Beilharz
b1fb8122c2
refactor(web): move gesture-processor tests under web/src/test
`gesture-processor/src/test/auto/browser/web-test-runner.config.mjs`
run the tests on iOS and Android. However, if we enable these browsers
in `web/src/test/auto/dom/web-test-runner.config.mjs` we get failing
tests in osk, therefore these browsers are commented for now.
2024-08-26 15:29:22 +07:00
Eberhard Beilharz
7dabd30cae
refactor(web): move gesture-recognizergesture-processor
Moves `common/web/gesture-recognizer/` →
`web/src/engine/osk/gesture-processor`.

Fixes: #12151
2024-08-26 15:29:21 +07:00
Darcy Wong
8c959f7eb2 chore(android): Cleanup stray debug statements in console 2024-08-26 14:35:54 +07:00
Marc Durdin
89d65adad0
Merge pull request #12278 from keymanapp/fix/developer/12056-find-last-key-in-ldml-keybag-for-kvk
fix(developer): find last matching key in LDML key bag when building KVK
2024-08-26 09:09:07 +02:00
Marc Durdin
6353f926ba
chore: Update developer/src/kmc-ldml/src/compiler/visual-keyboard-compiler.ts 2024-08-26 09:09:00 +02:00
Marc Durdin
f9b0dc5300
Merge pull request #12273 from keymanapp/chore/developer/12271-extend-test-timeouts-kmc-model
chore(developer): extend timeouts for lm compiler tests to 5 secs
2024-08-26 09:08:49 +02:00
Shawn Schantz
5a00aab825
Merge pull request #12233 from keymanapp/fix/mac/12197-invalid-version-string
fix(mac): limit short bundle version string to x.y.z format in info.plist
2024-08-26 14:03:41 +07:00
Shawn Schantz
2b752bf7ef
Merge branch 'master' into fix/mac/12197-invalid-version-string 2024-08-26 14:02:44 +07:00
Shawn Schantz
633abe32df
Merge pull request #11724 from keymanapp/fix/mac/11674-crash-during-compliance-check
test(mac): add unit tests to validate first calls to compliance check
2024-08-26 14:02:21 +07:00
Shawn Schantz
dd0173dc5e
Merge branch 'master' into fix/mac/11674-crash-during-compliance-check 2024-08-26 14:01:53 +07:00
Marc Durdin
f3461b3307 chore(windows): fix typo in environment.inc.sh
Co-authored-by: 58423624+rc-swag@users.noreply.github.com
2024-08-26 12:59:57 +07:00
Joshua Horton
fc2000ac22
Merge pull request #12210 from keymanapp/refactor/ios/optimize-font-registration
refactor(ios): optimize font registration
2024-08-26 09:28:49 +07:00
Joshua Horton
f7ba4e2a3d
Merge pull request #12190 from keymanapp/change/ios/defer-font-registration
change(ios): defer registration of fonts past initialization
2024-08-26 09:27:47 +07:00
Joshua A. Horton
be24a7d605 chore(common/models): moves data-compiler artifacts to /tools subfolder 2024-08-26 09:26:08 +07:00
Darcy Wong
7dbf4d09d1 fix(android): Remove use of mavenLocal() 2024-08-26 09:25:59 +07:00
Joshua A. Horton
ad91f6394b chore(web): Merge branch 'master' into feat/web/wordbreaker-property-data-gen 2024-08-26 08:46:09 +07:00
Keyman Server
b581ea2004
Merge pull request #12282 from keymanapp/auto/version-master-18.0.98
auto: increment master version to 18.0.98
2024-08-24 11:04:14 -07:00
Keyman Build Agent
b0e8b90374 auto: increment master version to 18.0.98 2024-08-24 14:03:24 -04:00
Marc Durdin
96f288a83d fix(core): properly support 'other' modifier state with uint32_t type
While the modifier state property in core's API is 16-bit, internally
ldml_processor supports the modifier flag LDML_KEYS_MOD_OTHER with a
value of `0x10000`, which requires widening the value (we match the
32-bit size of the KMX_DWORD value from KMX+).

Note: this is not yet well unit-tested.

Relates-to: #11072
Fixes: #12057
2024-08-24 12:26:52 +08:00
Eberhard Beilharz
50228a8266
fix(linux): properly deal with types of names
Names can be Unicode strings or byte arrays. This change allows for both
kinds. Also properly deal with the case when we can't get the name from
the .ttf file. And finally change the test so that we don't need the
`KbdKhmr.ttf` font.
2024-08-24 12:16:04 +08:00
Eberhard Beilharz
c8cbc2fefe
fix(linux): get font facename from .ttf file 2024-08-24 11:31:23 +08:00
Marc Durdin
e6ecc2d73e
Merge pull request #12272 from keymanapp/docs/developer/12270-update-build-documentation
docs(developer): update build documentation to refer to build.sh
2024-08-24 04:36:56 +02:00
Marc Durdin
3072444d97
Merge branch 'master' into docs/developer/12270-update-build-documentation 2024-08-24 04:36:46 +02:00
Marc Durdin
e1bf42ed31
Merge pull request #12274 from keymanapp/chore/windows/12247-remove-remaining-makefiles
chore(windows): remove remaining unused Makefiles
2024-08-24 04:34:14 +02:00
Marc Durdin
f5066174cd fix(developer): make LDML import path consistent for all bundlings of kmc
The default import path is relative to ldml-keyboard-xml-reader.js. The
bundling of kmc with Keyman Developer reduces the directory tree depth,
so we move the import path to be a subdirectory of the immediate parent
directory, rather than two levels up, so that
`C:\Program Files\Keyman\Keyman Developer\kmc` can refer to
`C:\Program Files\Keyman\Keyman Developer\import` when kmc is bundled.

Fixes: #12279
2024-08-24 10:28:48 +08:00
Eberhard Beilharz
c99e833c8e
fix(linux): Add font name without file extension 2024-08-24 10:25:57 +08:00
Eberhard Beilharz
16ce5b0408
fix(linux): get oskFont from kmp.json instead of UnicodeFont 2024-08-24 10:07:36 +08:00
Marc Durdin
e7d35274f3
Merge pull request #12264 from keymanapp/chore/common/build-tweaks-new-machine
chore(common): adjust build settings for windows clean builds
2024-08-24 03:03:56 +02:00
Marc Durdin
d028124ca9 fix(developer): find last matching key in LDML key bag when building KVK
Fixes: #12056
2024-08-24 00:15:33 +02:00
Eberhard Beilharz
64c657e470
Merge pull request #12276 from keymanapp/refactor/linux/kvk2ldml
refactor(linux): cleanup API of kvk2ldml.py
2024-08-23 23:31:47 +02:00
Eberhard Beilharz
a22a40fe2e
fix(linux): add keymanFacename to .ldml file
This change adds the `keymanFacename` attribute based on UnicodeFont
or AnsiFont to the root element of the generated .ldml file so that
onboard-keyman can display the proper font for the osk.

Fixes: #12019
2024-08-23 22:42:16 +02:00
Eberhard Beilharz
6bfa8a438f
refactor(linux): cleanup API of kvk2ldml.py
Make methods private that are only used inside of kvk2ldml.py.
2024-08-23 22:40:31 +02:00
Keyman Server
5380baa3f4
Merge pull request #12275 from keymanapp/auto/version-master-18.0.97
auto: increment master version to 18.0.97
2024-08-23 11:04:07 -07:00
Keyman Build Agent
91465f22b3 auto: increment master version to 18.0.97 2024-08-23 14:03:25 -04:00
Marc Durdin
9a8b6d1279 chore(windows): remove remaining unused Makefiles
Fixes: #12247
2024-08-23 18:12:06 +02:00
Marc Durdin
8457f9527a chore(developer): extend timeouts for lm compiler tests to 5 secs
Fixes: #12271
2024-08-23 17:53:48 +02:00
Marc Durdin
74f5865745 docs(developer): update build documentation to refer to build.sh
Fixes: #12270
2024-08-23 15:10:43 +02:00