Commit graph

33096 commits

Author SHA1 Message Date
Darcy Wong
992042e095 chore: update history from 17.0.326 2024-06-02 07:15:32 -05:00
Keyman Server
50a4ff9899
Merge pull request #11644 from keymanapp/auto/version-master-18.0.47
auto: increment master version to 18.0.47
2024-06-01 11:06:35 -07:00
Keyman Build Agent
5ca9d0c8e5 auto: increment master version to 18.0.47 2024-06-01 14:06:03 -04:00
Eberhard Beilharz
751da5541e
Merge pull request #11639 from keymanapp/fix/linux/apiverification
chore(linux): More debugging of API verification
2024-06-01 02:13:19 +02:00
Keyman Server
5643965423
Merge pull request #11642 from keymanapp/auto/version-master-18.0.46
auto: increment master version to 18.0.46
2024-05-31 16:25:48 -07:00
Keyman Build Agent
4728c5035f auto: increment master version to 18.0.46 2024-05-31 19:25:12 -04:00
Marc Durdin
26f68d0a35
Merge pull request #11635 from keymanapp/chore/developer/11632-increase-timeout-for-compiler-test
chore(developer): increase timeout for kmc-ldml compiler test
2024-06-01 06:19:44 +07:00
Marc Durdin
9e4b5b7b6f
Merge pull request #11633 from keymanapp/fix/developer/11625-support-windows-and-unicode-font-names
fix(developer): support Windows and Unicode names in .ttf
2024-06-01 06:19:36 +07:00
Marc Durdin
aeac822e51
Merge pull request #11631 from keymanapp/fix/developer/11630-bundle-ttfmeta-dependency-internally
fix(developer): bundle ttfmeta library internally with kmc-keyboard-info
2024-06-01 06:19:26 +07:00
Steven R. Loomis
31dedb7ca3 test(core): comments in get_block_unicode_ver() 2024-05-31 16:14:05 -05:00
Eberhard Beilharz
1ec7604f61
chore(linux): More debugging of API verification 2024-05-31 21:15:56 +02:00
Eberhard Beilharz
3ee8359f8f
refactor(web): Replace deprecated substr with slice
Also add a comment to `SourcemappedWorker` explaining the difference
to `DefaultWorker`.
2024-05-31 11:27:55 +02:00
Eberhard Beilharz
9cac9772dc
Update common/web/input-processor/src/text/prediction/languageProcessor.ts
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2024-05-31 10:57:04 +02:00
Marc Durdin
e622c1ba1b
Merge pull request #11629 from Nnyny/context/debug
chore(developer): add context/debug
2024-05-31 15:50:35 +07:00
Marc Durdin
75d39069ec chore(developer): increase timeout for kmc-ldml compiler test
Fixes: #11632
2024-05-31 15:44:40 +07:00
Joshua A. Horton
40733e4bec chore(web): fix web package.json's typescript entry
It should've been fixed previously, but maybe I messed things up with this while rebasing?
2024-05-31 15:25:48 +07:00
Marc Durdin
f9fa1a685e fix(developer): support Windows and Unicode names in .ttf
The ttfmeta library is extremely rudimentary. It does next to no error
checking, and supports only a small part of the TTF spec. It did not
support NAME platforms 0 or 3 (the most common platform, Windows), and
these are encoded in UTF-16BE. This patch adds support for those
platforms and throws if an unsupported platform/encoding is encountered.

Now, the ttfmeta library is unsupported and gone (#11630). It is based
on another library, ttfinfo, last updated 11 years ago. This is not
great. But the other Node libraries that I located introduce further
dependencies or complex builds (e.g. WASM) and that's not great either,
for a function used only in one place in our build environment.

https://learn.microsoft.com/en-us/typography/opentype/spec/name

The test-font-family.ts runs a basic test against Lateef font, and has
a skipped test that can be run (with minor edits) against all fonts in
the keyboard repository. I have done this to verify that there are no
fonts that return errors, but have disabled this test for deployment for
now.

Fixes: #11625
2024-05-31 15:24:47 +07:00
Joshua Horton
2b33d6c0a5
docs(web): tweaks comment regarding a @ts-ignore
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-05-31 15:14:33 +07:00
Joshua Horton
66bdc29f6e fix(common): revert accidental test-code inclusion 2024-05-31 15:08:36 +07:00
Joshua Horton
b6a06c6626 change(common): simplifies retry command-execution syntax 2024-05-31 15:01:33 +07:00
Joshua Horton
27a959dce8 Merge branch 'master' into chore/common/retry-npm-ci 2024-05-31 14:54:24 +07:00
Marc Durdin
76bd22b120 fix(developer): bundle ttfmeta library internally with kmc-keyboard-info
Remove ttfmeta from package.json, and copy only the relevant files into
ttfmeta/ under kmc-keyboard-info. This is a stopgap measure as we will
probably attempt to identify an alternate library in the future.

See also #11625 which is the driver for making this change now.

Fixes: #11630
2024-05-31 14:54:09 +07:00
Joshua Horton
6251faa23d fix(common): only retry the npm ci call itself 2024-05-31 14:52:31 +07:00
Nnyny
2d9ffcc288 add context/debug 2024-05-31 14:27:15 +07:00
Joshua A. Horton
5abd621ddc change(web): isKeyNotCorrected -> isFrameKey 2024-05-31 13:58:31 +07:00
Marc Durdin
4e29a97c9e
Merge pull request #11585 from keymanapp/change/common/git-commit-hooks
change(common): add extra commit message hints
2024-05-31 13:07:55 +07:00
Marc Durdin
4cc6c3699f
Merge pull request #11611 from keymanapp/chore/windows/support-port-in-httpuploader
chore(windows): support port in THTTPUploader
2024-05-31 13:07:46 +07:00
Marc Durdin
39509cc918
Merge pull request #11608 from keymanapp/chore/increase-fixture-build-test-timeout
chore: increase kmc-kmn build test timeout
2024-05-31 13:07:38 +07:00
Marc Durdin
ab1e916086
Merge pull request #11590 from keymanapp/fix/developer/11589-single-pixel-top-row-for-touch-on-character-map
fix(developer): make top row of Character Map 1 pixel to avoid DIV/0 in gestures
2024-05-31 13:07:21 +07:00
Marc Durdin
db5e8929ed
Merge pull request #11582 from keymanapp/fix/developer/11581-flicks-for-default-key-hints
fix(developer): correct the inference of default hint from flicks
2024-05-31 13:07:07 +07:00
Marc Durdin
f7b3e70895
Merge pull request #11577 from keymanapp/fix/developer/11574-fixup-flick-multitap-in-layer-props
fix(developer): use correct variable when fixing up flick and multitap in Layer Properties dialog
2024-05-31 13:06:55 +07:00
Marc Durdin
c1db67a95c
Merge pull request #11563 from keymanapp/fix/developer/11562-handle-missing-data-in-kps-keyboard
fix(developer): handle missing data in .kps `<Keyboard>`
2024-05-31 13:06:36 +07:00
Marc Durdin
4e5b59f016
Merge pull request #11555 from keymanapp/fix/developer/11554-handle-invalid-default-project-path
fix(developer): handle invalid default project path in options
2024-05-31 13:06:19 +07:00
Joshua A. Horton
ae0d96f504 feat(android): catch correct exception + add state-logging to help diagnose exception's impact
This aims to provide info needed to resolve potential issues underlying #11561.
2024-05-31 12:50:46 +07:00
Joshua A. Horton
c034bcab38 feat(android): add KMLog.LogBreadcrumb 2024-05-31 12:47:04 +07:00
Joshua Horton
c4932b7fd1
docs(web): adds suggested documentation from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-05-31 10:06:05 +07:00
Shawn Schantz
ac294154d1
Merge pull request #11613 from keymanapp/fix/ios/11602-file-error-on-startup
fix(ios): do not write to shared storage from system keyboard
2024-05-31 07:58:21 +07:00
Joshua Horton
7feea5fd6f
Merge pull request #11444 from keymanapp/chore/mac/main-build.sh-rework 2024-05-30 23:21:07 +07:00
Dr Mark C. Sinclair
5113f0d88d chore(developer): add GetXStringImpl_type2 test 2024-05-30 16:36:11 +01:00
Dr Mark C. Sinclair
a54bbdae1b chore(developer): add GetXStringImpl_type1 test 2024-05-30 16:32:49 +01:00
Dr Mark C. Sinclair
f412042d97 chore(developer): refactor GetXStringImpl test into two, seperating out type=0 2024-05-30 15:59:57 +01:00
Dr Mark C. Sinclair
7b742c5234 chore(developer): add additional five test cases to GetXStringImpl test, type=0 2024-05-30 15:51:45 +01:00
Dr Mark C. Sinclair
009450b562 chore(developer): add additional three test cases to GetXStringImpl test, type=0 2024-05-30 15:07:02 +01:00
Dr Mark C. Sinclair
b9b09a23f1 chore(developer): add additional four test cases to GetXStringImpl test, type=0 2024-05-30 12:22:40 +01:00
Joshua Horton
8f3569681b
docs(web): Update codes.ts with docs on use of the 50000 literal 2024-05-30 16:56:30 +07:00
Joshua Horton
006f15b225
change(web): minor simplification from review
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-05-30 16:53:17 +07:00
Joshua A. Horton
487a28da8e docs(web): for EncodedVisualKeyboard 2024-05-30 16:44:27 +07:00
Joshua A. Horton
10033f4dea docs(web): fixes detail about readonly keystroke params 2024-05-30 16:40:59 +07:00
Joshua A. Horton
61dfcc98f6 docs(web): documents KeyboardObject properties 2024-05-30 16:37:00 +07:00
Joshua Horton
ee0c107afe
fix(web): for...of, not for...in
We moved to the Object.keys() pattern, which means replacing the 'in'

Co-authored-by: Marc Durdin <marc@durdin.net>
2024-05-30 15:58:57 +07:00