Commit graph

3368 commits

Author SHA1 Message Date
Marc Durdin
038b913394
Merge pull request #12280 from keymanapp/fix/developer/12279-consistent-import-path-for-all-kmc-uses
fix(developer): make LDML import path consistent for all bundlings of kmc
2024-08-29 09:46:10 +02:00
Dr Mark C. Sinclair
2bd2697868 chore(developer): correct order of paramaters in EXPECT_EQ to expected, actual in ReportCompilerMessage test 2024-08-26 15:04:01 +01:00
Dr Mark C. Sinclair
b6282457cd chore(developer): unicode group checks in GetXStringImpl_type_u test 2024-08-26 14:55:42 +01:00
Dr Mark C. Sinclair
cb9b2c545b chore(developer): manual merging of the two GetXStringImpl_type_c tests 2024-08-26 14:37:41 +01:00
Dr Mark C. Sinclair
1fe11edb9c 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 14:19:50 +01:00
Dr Mark C. Sinclair
3cd34e260f chore(developer): add ERROR_InvalidCharacter and n1 only test cases to unicode in GetXStringImpl_type_u test 2024-08-26 12:27:46 +01:00
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
Dr Mark C. Sinclair
ec5a749484 chore(developer): initial GetXStringImpl_type_n test 2024-08-26 10:30:21 +01: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
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
Marc Durdin
3072444d97
Merge branch 'master' into docs/developer/12270-update-build-documentation 2024-08-24 04:36:46 +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
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
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
Marc Durdin
046bd25f63 chore(developer): improve build order of operations so builds work on new machines 2024-08-23 07:47:53 +02:00
Dr Mark C. Sinclair
2de7c26950 chore(developer): remove unnecesary local variables from two any test cases 2024-08-22 17:36:00 +01:00
Dr Mark C. Sinclair
c1c4c63b46 chore(developer): remove unnecesary local variables from two baselayout test cases 2024-08-22 17:34:41 +01:00
Dr Mark C. Sinclair
f92b2e1fd6 chore(developer): remove unnecesary local variables from two if test cases 2024-08-22 17:32:49 +01:00
Dr Mark C. Sinclair
64193bd604 chore(developer): remove unnecessary local variables in three index test cases 2024-08-22 17:29:02 +01:00
Dr Mark C. Sinclair
242ccee4f2 chore(developer): remove unnecessary local variables in two outs test cases 2024-08-22 17:25:22 +01:00
Dr Mark C. Sinclair
bd1d593a66 chore(developer): add a valid context test case, and remove unnecessary local variables for two others in GetXStringImpl_type_c test 2024-08-22 17:22:53 +01:00
Dr Mark C. Sinclair
a09dcffb03 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-22 17:13:00 +01:00
Dr Mark C. Sinclair
5fc7a26702 chore(developer): remove test cases for call() in GetXStringImpl_type_c test moved to #12263 2024-08-22 15:26:59 +01:00
Dr Mark C. Sinclair
862f0d9191 fix(developer): add test cases for spaces before and after valid store in call in GetXStringImpl_type_c test 2024-08-22 15:21:01 +01:00
Dr Mark C. Sinclair
b608e1ca84 fix(developer): add ERROR_InvalidCall and first valid test case to GetXStringImpl_type_c test 2024-08-22 15:15:32 +01:00
Dr Mark C. Sinclair
75508f46b4 fix(developer): add ERROR_StoreDoesNotExist test cases to GetXStringImpl_type_c test 2024-08-22 11:43:03 +01:00
Dr Mark C. Sinclair
7e2f797dd8 fix(developer): move check on store name search to just after search 2024-08-22 11:41:02 +01:00
Dr Mark C. Sinclair
b721ff6d5d fix(developer): add call test cases from #11990 to GetXStringImpl_type_c test 2024-08-22 11:19:37 +01:00
Marc Durdin
a0ebe130de chore(developer): enable build for emscripten 3.1.60+
Emscripten 3.1.60 made a breaking change to `BindingType::toWireType`
(why is this done in a patch version?) so this change ensures that we
can continue to build on 3.1.58 and 3.1.64 (which is needed for #12234),
as a bridging strategy. We will need to merge this into 17.0-stable as
well so that we can upgrade the build agents to 3.1.64.

Relates-to: emscripten-core/emscripten#21692
Relates-to: #12234
2024-08-21 14:24:10 +02:00
Eberhard Beilharz
ab3722ecfa
fix(core): look for emcc instead of emcc.py on Linux and Mac
`emcc.py` is not marked as executable in emcripten's git repo so the
build failed when trying to locate emscripten. However, it turns out
that `emcc` is marked as executable, so we use that instead.

On Windows however, we still need to use `emcc.py` because otherwise
Meson won't detect it as valid compiler.
2024-08-20 15:52:52 +02:00
Dr Mark C. Sinclair
eaa654c49d chore(developer): add six call test cases to GetXStringImpl_type_c test, but with ERROR_StoreDoesNotExist cases commented out due to bug 2024-08-19 15:36:23 +01:00
Steven R. Loomis
fb3bee1e90
Merge pull request #11858 from keymanapp/feat/developer/11054-improve-linter
fix(developer): remove redundant check in LdmlKeyboardCompiler.validate() 🙀
2024-08-19 08:44:51 -05:00
Dr Mark C. Sinclair
d552e5773a chore(developer): add first test case for call in GetXStringImpl_type_c test 2024-08-19 12:35:52 +01:00
Dr Mark C. Sinclair
06faa718cc chore(developer): add clearcontext test case to GetXStringImpl_type_c test 2024-08-19 10:49:18 +01:00
Dr Mark C. Sinclair
eddf51de94 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-19 10:38:25 +01:00
Marc Durdin
402b1964f2
Merge pull request #12119 from keymanapp/dependabot/npm_and_yarn/semver-7.6.0
chore(deps): bump semver from 7.5.4 to 7.6.0
2024-08-19 14:09:39 +10:00
Marc Durdin
2a21231aee
Merge pull request #12205 from keymanapp/fix/developer/12193-enforce-version-string-when-no-followkeyboardversion
fix(developer): enforce presence of Version field when FollowKeyboardVersion is not set, in package compiler
2024-08-16 23:12:30 +10:00
Marc Durdin
1cbd061c05 chore(developer): remove impossible test for missing version 2024-08-16 08:54:27 +02:00
Marc Durdin
ba96d26858 fix(developer): enforce presence of Version field when FollowKeyboardVersion is not set, in package compiler
Fixes: #12193
2024-08-16 08:24:37 +02:00
Marc Durdin
50d0107f38 fix(developer): enforce presence of kps Info.Description field in info compilers
The Description field should be required for published keyboards and
models, so this change means kmc-keyboard-info and kmc-model-info will
report an error if it is missing.

Relates-to: keymanapp/keyboards#3037
Relates-to: keymanapp/lexical-models#262
Fixes: #12202
2024-08-16 08:04:18 +02:00
Marc Durdin
02e500f3b5
Merge pull request #12168 from keymanapp/chore/developer/12161-update-sil-logo
chore(developer): update SIL logo
2024-08-14 21:24:57 +10:00
Marc Durdin
608011f500
Merge pull request #12166 from keymanapp/fix/developer/11978-ignore-scan-code-if-injected-key-event-doesnt-provide-it
fix(developer): fix crash with Windows Clipboard by ignoring zero scan code in debugger
2024-08-14 21:24:28 +10:00