Dr Mark C. Sinclair
a920a2eae0
chore(developer): add baseloyout valid case to GetXStringImpl_type4 test
2024-06-06 11:52:27 +01:00
Marc Durdin
e9cb75fa4f
fix(developer): handle missing OSK when importing a Windows keyboard into a touch-only project
...
Fixes: KEYMAN-DEVELOPER-1NN
Fixes : #11719
2024-06-06 12:47:53 +07:00
Marc Durdin
8123f4be56
refactor(developer): rename TouchLayoutToVisualKeyboardConverter to VisualKeyboardToTouchLayoutConverter
...
No change in functionality. But class and unit name now match what they
actually do.
2024-06-06 12:37:38 +07:00
Marc Durdin
6665cd0688
Merge pull request #11701 from keymanapp/fix/developer/11700-disable-example-edit-controls-if-no-examples
...
fix(developer): disable example edit controls if no examples in Package Editor
2024-06-06 12:05:04 +07:00
Marc Durdin
7eba4f9a69
Merge pull request #11698 from keymanapp/fix/developer/11687-ignore-javascript-files-with-bad-encodings
...
fix(developer): treat js files with unrecognized encodings as non-keyboard files
2024-06-06 12:04:49 +07:00
Marc Durdin
c6b5afda7d
Merge pull request #11587 from keymanapp/fix/developer/11586-handle-editor-init-after-debugger
...
fix(developer): handle editor initializing after debugger when setting execution point
2024-06-06 12:04:39 +07:00
Marc Durdin
33d7dca155
fix(developer): prevent two touch layout editors opening for the same file
...
The keyboard editor has a complex edit state machine, which has
grown a lot over time. This is a minimal patch to address one specific
edge case scenario on that state machine, without any attempt to improve
the state machine overall. The biggest change here is bubbling failure
up to the main form so that it can destroy (aka Release, which is an
asynchronous destroy) the editor window if it fails to load completely.
Fixes : #11715
Fixes: KEYMAN-DEVELOPER-1JC
2024-06-06 10:45:44 +07:00
Marc Durdin
dbf577bb9a
fix(developer): handle encoding errors when loading wordlists
...
Fixes : #11710
Fixes: KEYMAN-DEVELOPER-1S4
2024-06-06 09:21:40 +07:00
Marc Durdin
52093720f4
chore(developer): add extra logging for assertion failure when pressing backspace in debugger
...
I have not been able to reproduce this problem, so adding some extra
debug logs in an attempt to determine what is causing the assertion
failure.
Relates to: #11706
2024-06-06 08:54:38 +07:00
Marc Durdin
6fba7c0159
fix(developer): disable example edit controls if no examples in Package Editor
...
Fixes : #11700
Fixes: KEYMAN-DEVELOPER-1FT
2024-06-06 08:14:12 +07:00
Marc Durdin
50b28ff3ff
fix(developer): treat js files with unrecognized encodings as non-keyboard files
...
Fixes: KEYMAN-DEVELOPER-201
Fixes : #11687
2024-06-06 06:51:11 +07:00
Joshua A. Horton
cb0a60165c
change(common): updates esbuild to 0.18.9
2024-06-05 12:09:53 +07:00
Nnyny
983aea1ba5
add context/new-model-project-parameters
2024-06-04 14:48:10 +07:00
Dr Mark C. Sinclair
cb9f5fe6de
chore(developer): fix for failing wasm build
2024-06-03 16:30:09 +01:00
Dr Mark C. Sinclair
d0b1e3097a
chore(developer): fix for failing wasm build, plus bug in type=4 case
2024-06-03 16:26:03 +01:00
Dr Mark C. Sinclair
ba4cb94bd5
chore(developer): correct comments in GetXStringImpl_type4 test
2024-06-03 15:26:28 +01:00
Dr Mark C. Sinclair
49d279ee21
chore(developer): add two additional cases to GetXStringImpl_type4 test
2024-06-03 15:17:55 +01:00
Dr Mark C. Sinclair
6ddcbb74ee
chore(developer): add initial GetXStringImpl_type4 test (four cases)
2024-06-03 14:55:02 +01:00
Dr Mark C. Sinclair
f11c66967d
chore(developer): add three additional cases to GetXStringImpl_type3 test
2024-06-03 14:21:46 +01:00
Dr Mark C. Sinclair
4dc34574fe
chore(developer): add initial GetXStringImpl_type3 test (three cases)
2024-06-03 11:57:58 +01:00
Dr Mark C. Sinclair
f8cda0ae28
chore(developer): correct TODO comment in type 1 & 2 GetXStringImpl tests
2024-06-03 11:38:43 +01:00
Dr Mark C. Sinclair
c0e298d2bd
chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests
...
# 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-06-03 11:09:30 +01:00
Marc Durdin
e6d59fc173
chore: move xml2js into the repo to eliminate npm git dependency
...
Small rewrites to the xml2js code as ES6 modules. Based on
https://github.com/keymanapp/dependency-node-xml2js
Fixes : #8616
2024-06-03 16:07:29 +07:00
Nnyny
423aa7ab94
add context/wordlist-editor
2024-06-03 15:36:07 +07:00
Marc Durdin
b874de25e8
chore: replace git dep on restructure with 3.0.1 in npm
...
3.0.1 includes our fix. However, 3.0.2 does not yet appear to have been
published, which has a patch for our fix?
Fixes : #8616
2024-06-03 14:58:39 +07:00
Nnyny
8608a26701
add context/character-map
2024-06-03 14:40:57 +07:00
Marc Durdin
b22bf72a91
Merge pull request #11575 from keymanapp/fix/developer/11573-save-selection-when-loading-state
...
fix(developer): save touch layout editor selection when loading state
2024-06-03 05:42:14 +07: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
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
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
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
Nnyny
2d9ffcc288
add context/debug
2024-05-31 14:27:15 +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
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
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
Marc Durdin
769c10ccf5
Merge pull request #11552 from keymanapp/fix/developer/11551-create-folder-for-mrulist
...
fix(developer): ensure folder for MRU list is always created
2024-05-30 13:36:31 +07:00
Nguonnyny Tan
6627d4e103
chore: remove 'chkShowStartupDialog' and 'chkAllowMultipleInstances'
2024-05-30 12:19:21 +07:00
Marc Durdin
e5e21e79cb
Merge pull request #11558 from keymanapp/fix/developer/11557-invalid-project-file-at-launch
...
fix(developer): handle invalid project file when scanning for owner project
2024-05-30 09:29:19 +07:00
Marc Durdin
84954063f3
Merge pull request #11546 from keymanapp/fix/developer/11545-nomatch-return-causes-exception
...
fix(developer): handle unsupported `return` statement in `match` and `nomatch` in web compiler
2024-05-30 09:28:47 +07:00