Commit graph

3506 commits

Author SHA1 Message Date
Dr Mark C. Sinclair
2a477c6d47 chore(developer): Merge branch 'master' into fix/developer/11833-index-requires-comma-between-parameters-in-kmcmplib-compiler 2024-09-12 09:18:03 +01:00
Eberhard Beilharz
1fe6a0370f
refactor(web): move common/web/eslintcommon/tools/eslint
Fixes: #12386
2024-09-10 19:16:52 +02:00
Eberhard Beilharz
91bbc250a8
refactor(web): move model/templates to web/src/engine/predictive/text
Part-of: #12133
2024-09-10 17:10:12 +02:00
Dr Mark C. Sinclair
bcead57ad5 fix(developer): change to eliminate the possibility of an extra parameter, and add matching test 2024-09-10 14:46:17 +01:00
Dr Mark C. Sinclair
82c9fd8474 fix(developer): adjust comments for alignment 2024-09-10 12:09:50 +01:00
Dr Mark C. Sinclair
cc8fd7da2f fix(developer): convert u16trim test to use map 2024-09-10 12:06:08 +01:00
Dr Mark C. Sinclair
06323b9dfa fix(developer): convert u16rtrim test to use map 2024-09-10 11:59:51 +01:00
Dr Mark C. Sinclair
04c1b15c22 fix(developer): convert u16ltrim test to use map 2024-09-10 11:55:27 +01:00
Dr Mark C. Sinclair
9813e3d99c fix(developer): add additional asserts to check pointer returned in u16trim 2024-09-10 11:28:52 +01:00
Dr Mark C. Sinclair
917a42a09c fix(developer): add additional asserts to check pointer returned in u16rtrim 2024-09-10 11:19:11 +01:00
Dr Mark C. Sinclair
ea545dc05a fix(developer): shorten u16ltrim code, and add additional asserts to check pointer returned 2024-09-10 10:58:24 +01:00
Dr Mark C. Sinclair
510e5aabd5 fix(developer): modify u16ltrim to copy non-trimmed characters to beginning of string 2024-09-10 10:56:53 +01:00
Eberhard Beilharz
c3e587193e
refactor(web): move model/types to web/types
Part-of: #12133
2024-09-09 19:59:01 +02:00
Eberhard Beilharz
9f4ca5070d
fix(developer): fix building with Ubuntu 24.04
For whatever reason I suddenly got compile errors on Ubuntu 24.04 when
building Developer. Including `cstdint` solves this.

See also #11926.
2024-09-09 19:58:00 +02:00
Dr Mark C. Sinclair
8ee5d342db correct comment on one test case in GetXStringImpl_type_i test 2024-09-09 09:52:39 +01:00
Dr Mark C. Sinclair
87a810e135 fix(developer): add additional test cases for multi-word trims 2024-09-05 14:32:25 +01:00
Dr Mark C. Sinclair
db06555719 fix(developer): use comma alone as seperator, and u16trim to remove white space 2024-08-29 18:40:12 +01:00
Dr Mark C. Sinclair
2c41d02c19 fix(developer): add u16trim test 2024-08-29 18:24:31 +01:00
Dr Mark C. Sinclair
03293bcede fix(developer): add u16rtrim test 2024-08-29 18:18:27 +01:00
Dr Mark C. Sinclair
6dee928362 fix(developer): add test for u16ltrim 2024-08-29 16:51:07 +01:00
Dr Mark C. Sinclair
11a9338671 fix(developer): add test for u16ltrim 2024-08-29 16:40:41 +01:00
Dr Mark C. Sinclair
c8beeb9ab4 fix(developer): add two additional space test cases for index() in GetXStringImpl_type_i test 2024-08-29 10:56:17 +01:00
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
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
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
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
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
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
dependabot[bot]
6fad148466
chore(deps): bump semver from 7.5.4 to 7.6.0
Bumps [semver](https://github.com/npm/node-semver) from 7.5.4 to 7.6.0.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.5.4...v7.6.0)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-14 11:22:58 +00:00