Commit graph

33096 commits

Author SHA1 Message Date
Keyman Build Agent
a5987f832d auto: increment master version to 18.0.73 2024-07-22 14:03:46 -04:00
Eberhard Beilharz
98691e5759
change(web): improve casts
Addresses code review comment.
2024-07-22 19:31:56 +02:00
Eberhard Beilharz
6e41faec52
change(web): use different output directory for tests
Put production module and test modules in different output subdirectories.
This addresses code review comments.
2024-07-22 19:31:42 +02:00
Eberhard Beilharz
9de6818ed5
chore(web): output different build steps for keyboard-processor
This makes it easier to see which part of the build fails.
2024-07-22 18:36:58 +02:00
Eberhard Beilharz
918b7ab233
Update web/build.sh
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2024-07-22 17:52:16 +02:00
Dr Mark C. Sinclair
bd38faf8aa chore(developer): add two test cases for spaces around context offset 2024-07-22 15:37:29 +01:00
Dr Mark C. Sinclair
5349ab5c66 chore(developer): add six additional context test cases 2024-07-22 15:29:44 +01:00
Dr Mark C. Sinclair
90ec3313bd chore(developer): add initial context test cases in GetXStringImpl type c test 2024-07-22 14:06:29 +01:00
Dr Mark C. Sinclair
46842f59f0 fix(developer): add five additional whitespace test cases to LineTokenType() test 2024-07-22 11:42:12 +01:00
Dr Mark C. Sinclair
1568c040c3 chore(developer): Merge branch 'master' into fix/developer/correct-use-of-u16chr-when-second-parameter-could-be-null
# 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-07-22 10:59:46 +01:00
Dr Mark C. Sinclair
7db16a3ec4 chore(developer): Merge branch 'master' into fix/developer/11937-correct-handling-of-trailing-spaces-by-GetDelimitedString
# 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-07-22 10:56:50 +01:00
Dr Mark C. Sinclair
d814027755 chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests-2
# 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-07-22 10:53:56 +01:00
Marc Durdin
1b2ca768b7 chore(developer): rename kmc-package CompilerMessages to PackageCompilerMessages
It is easier to differentiate between all the compiler message classes
if each one has its own name.
2024-07-22 16:02:43 +07:00
Marc Durdin
cfa85d1cc8 chore(developer): rename kmc-ldml export LdmlKeyboardCompilerMessages to LdmlCompilerMessages
This makes the exported class name more consistent with the other
compiler message classes and removes one more unnecessary alias.
2024-07-22 15:58:39 +07:00
Marc Durdin
909b71b6fc chore(developer): rename kmc-ldml CompilerMessages to LdmlCompilerMessages
It is easier to differentiate between all the compiler message classes
if each one has its own name.
2024-07-22 15:52:37 +07:00
Marc Durdin
632f98d029 chore(developer): update unit test CompilerMessages references 2024-07-22 15:26:09 +07:00
Marc Durdin
4fd9678600 chore(developer): update unit test CompilerMessages references 2024-07-22 14:29:13 +07:00
Eberhard Beilharz
127a092971
Merge pull request #11911 from keymanapp/refactor/web/typescript
refactor(web): fix TypeScript errors and warnings
2024-07-22 08:11:49 +02:00
Joshua A. Horton
8f6c2d602d change(web): track whitespace-aware tokenization for context + correction-search caching 2024-07-22 10:30:52 +07:00
Joshua A. Horton
96185472f1 feat(web): add support for transform tokenization 2024-07-22 10:30:51 +07:00
Joshua Horton
714d590a9b
Merge pull request #11933 from keymanapp/fix/web/worker-unit-test-stability
fix(web): remedy unit-test stability issues
2024-07-22 09:05:28 +07:00
Marc Durdin
39cd3bd5ad chore(developer): remove CompilerMessages stub and use KmnCompilerMessages 2024-07-21 15:50:10 +10:00
Marc Durdin
c5799502dd fix(developer): kmc-keyboard-info: use default version 1.0 if version information missing
Also add unit test.

Fixes: #11856
2024-07-21 15:41:22 +10:00
Marc Durdin
1f0d51eec5 feat(developer): add searching for message identifiers to kmc message
Fixes: #10875
2024-07-21 14:50:33 +10:00
Marc Durdin
9f4fc70c35 refactor(developer): rename verifyMinimumKeymanVersion
Fixes: #11966
2024-07-21 13:38:32 +10:00
Marc Durdin
8a0005599c feat(developer): automatically upgrade version when gestures are found in the touch layout
When gestures are found in the touch layout file, the compiler will now
automatically upgrade the version to 17.0, if no `store(&VERSION)` rule
is found. Also adds corresponding unit tests.

Fixes: #11961
2024-07-21 13:33:09 +10:00
Marc Durdin
e3134a1c0f feat(developer): handle automatic versioning of special key caps on normal keys
Special key caps on normal keys in touch layout files are supported with
Keyman 14.0 and later versions. Handle automatic determination of the
version number if `store(&VERSION)` is not present. Add corresponding
unit tests.

Fixes: #11960
2024-07-21 13:22:33 +10:00
Marc Durdin
56aafe5b42 chore(developer): add note on removed error id 2024-07-21 11:01:31 +10:00
Darcy Wong
02f80fdc04 Merge branch 'master' into chore/fv/12-11 2024-07-20 13:52:23 -05:00
Darcy Wong
2718f36c4e Merge branch 'master' into fv-all/keyboards-json 2024-07-20 13:51:46 -05:00
Sabine
cb31cebb33 feat(mac): remove dublicate #include 2024-07-19 12:09:16 +02:00
Sabine
eae766673e feat(mac): ensureValidInputForKeyboardTranslation 2024-07-19 12:02:44 +02:00
Sabine
06d078336b feat(mac): remove all _S2 2024-07-19 11:21:34 +02:00
Keyman Server
49819bdca1
Merge pull request #11977 from keymanapp/auto/version-master-18.0.72
auto: increment master version to 18.0.72
2024-07-18 11:03:17 -07:00
Keyman Build Agent
2a0c5b980d auto: increment master version to 18.0.72 2024-07-18 14:02:44 -04:00
Sabine
e545402ab5 feat(mac): resolve conflicts 2024-07-18 19:33:58 +02:00
Sabine
e29c51c1e9 Merge branch 'feat/mac/mcompile-rework-keymap' into feat/mac/mcompile_mac
# Conflicts:
#	mac/mcompile/mc_import_rules.h
#	mac/mcompile/mcompile.h
2024-07-18 19:25:06 +02:00
Sabine
f71c4aa0de feat(mac): little edit 2024-07-18 17:50:18 +02:00
Sabine
3528e7160e Merge branch 'feat/mac/mcompile_mac' of https://github.com/keymanapp/keyman into feat/mac/mcompile_mac
# Conflicts:
#	mac/mcompile/keymap.cpp
#	mac/mcompile/keymap.h
#	mac/mcompile/mc_import_rules.cpp
#	mac/mcompile/mc_import_rules.h
#	mac/mcompile/mc_kmxfile.h
#	mac/mcompile/mcompile.cpp
#	mac/mcompile/mcompile.h
#	mac/mcompile/util_filesystem.cpp

Signed-off-by: Sabine <Sabine_SIL@web.de>
2024-07-18 16:01:32 +02:00
Darcy Wong
910cceb80e
Merge pull request #11974 from keymanapp/chore/crowdin-pt-update
chore(common): Update Crowdin strings for Portuguese
2024-07-18 08:47:01 -05:00
Dr Mark C. Sinclair
66b6fcfdf4 fix(developer): add four additional test cases to LineTokenType test, and remove unncessary prefix from two cases 2024-07-18 12:56:31 +01:00
Dr Mark C. Sinclair
caa3de138b fix(developer): add three more test cases to LineTokenType() test 2024-07-18 12:34:20 +01:00
Dr Mark C. Sinclair
3ea80a88d6 fix(developer): add LineTokenType test and initial three test cases 2024-07-18 11:52:57 +01:00
Dr Mark C. Sinclair
fbeeb3c5f0 chore(developer): Merge branch 'master' into fix/developer/correct-use-of-u16chr-when-second-parameter-could-be-null
# 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-07-18 11:06:07 +01:00
Dr Mark C. Sinclair
a398bb0b84 chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests-2
# 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-07-18 11:00:45 +01:00
Joshua A. Horton
21d21fb8f4 change(common/models): change model tokenization to also tokenize whitespace 2024-07-18 11:32:09 +07:00
rc-swag
a9fd916c8a feat(windows): small refactor of sm wip 2024-07-18 09:58:22 +10:00
Darcy Wong
75164e3099 chore(common): Update Crowdin strings for Portuguese 2024-07-17 17:10:57 -05:00
rc-swag
440997289c chore(windows): remove QIT_VSHIFTDOWN QITSHIFTUP
QIT_VSHIFTDOWN and QIT_VSHIFTUP is no longer sent out in the windows
engine. This commit cleans up any rement references to these
2024-07-17 14:20:43 +10:00
Joshua A. Horton
2562fd268b chore(web): comment tweak 2024-07-17 10:38:38 +07:00