Commit graph

26772 commits

Author SHA1 Message Date
Dr Mark C. Sinclair
8738ee3681 fix(developer): rename isuiw() to isIntegerWString() 2024-06-19 11:30:29 +01:00
Dr Mark C. Sinclair
defc1025fd chore(developer): Merge origin branch
'fix/developer/handle-second-parameter-of-index-correctly-in-kmcmplib-compiler' of https://github.com/keymanapp/keyman into fix/developer/handle-second-parameter-of-index-correctly-in-kmcmplib-compiler
2024-06-19 10:47:05 +01:00
Dr Mark C. Sinclair
ee10283060 chore(developer): correct memory leak in isuiw() 2024-06-19 10:43:03 +01:00
Marc Durdin
b68aae979b
Merge branch 'master' into fix/developer/handle-second-parameter-of-index-correctly-in-kmcmplib-compiler 2024-06-19 06:53:13 +10:00
Keyman Server
0c780dc37d
Merge pull request #11817 from keymanapp/auto/version-master-18.0.59
auto: increment master version to 18.0.59
2024-06-18 11:03:41 -07:00
Keyman Build Agent
473d17a4c6 auto: increment master version to 18.0.59 2024-06-18 14:03:09 -04:00
Dr Mark C. Sinclair
b41aa51663 fix(developer): remove duplicate delete 2024-06-18 16:47:54 +01:00
Dr Mark C. Sinclair
3df33c86fc chore(developer): add delete to clean up file_store 2024-06-18 14:10:25 +01:00
Dr Mark C. Sinclair
90a6fb6185 fix(developer): add isuiw() to check second index parameter, and adjust test 2024-06-18 11:55:34 +01:00
Dr Mark C. Sinclair
2a25c81751 fix(developer): add supporting tests for isuiw() 2024-06-18 11:50:14 +01:00
Dr Mark C. Sinclair
3b5f7f6e1b fix(developer): add isuiw() to test if a u16str contains an unsigned int 2024-06-18 11:25:05 +01:00
Dr Mark C. Sinclair
9eb465ab6f fix(developer): restore unnecessary line deletion 2024-06-18 10:59:02 +01:00
Dr Mark C. Sinclair
ad55c344b3 fix(developer): changes to prevent overrun when second parameter missing, plus update test 2024-06-18 10:54:33 +01:00
Dr Mark C. Sinclair
9a827af779 chore(developer): Merge branch 'master' into fix/developer/handle-second-parameter-of-index-correctly-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-06-18 10:46:05 +01:00
Dr Mark C. Sinclair
ede3c28f10 fix(developer): add index tests (in GetXStringImpl_type_i test) 2024-06-18 10:39:33 +01:00
Marc Durdin
4bc943c106
Merge pull request #11771 from Meng-Heng/contexthelp-final/keyboard-editor
docs(developer): extra context help for keyboard-editor (does not exist in Keyman Developer 17.0)
2024-06-18 17:12:15 +10:00
Marc Durdin
5ce15e9a0d
Merge pull request #11805 from keymanapp/fix/developer/11793-use-HISTORY-MD-for-last-commit-date
fix(developer): check HISTORY.md to get last modified date for keyboard_info and model_info
2024-06-18 15:36:14 +10:00
Steven R. Loomis
74750b755a
Merge pull request #11781 from keymanapp/test/core/10968-minimum-ldml-test
test(core): Add a minimal test that exercises the core API 🙀
2024-06-17 17:03:35 -05:00
Marc Durdin
ba59ae89f4
Merge branch 'master' into fix/developer/11793-use-HISTORY-MD-for-last-commit-date 2024-06-18 07:44:03 +10:00
Marc Durdin
d23208ac9e chore(developer): add msec in comment 2024-06-18 07:36:35 +10:00
Marc Durdin
e081e0c72e fix(developer): check HISTORY.md to get last modified date for keyboard_info and model_info
This updates the calculation of the lastModifiedDate property of the
.keyboard_info and .model_info file. It now looks for the most recent
commit to HISTORY.md, and then falls back to the project folder for
.keyboard_info and .model_info.

getLastGitCommitDate now also returns UTC date (it was giving TZ=0
which is affected by daylight saving), and works for a file rather than
just for a folder, and a corresponding unit test has been added.

The date strings returned will now always include '.000' msec suffix. I
have manually verified that the import into the api.keyman.com database
copes with this, and that this change still conforms to the expected
schema for .keyboard_info and .model_info files.

Last, but important, it turned out that the unit tests for kmc were not
running. This has been resolved in kmc/build.sh.

Fixes: #11793
2024-06-18 07:03:08 +10:00
Marc Durdin
72aa772e20 test(developer): add fixture for getLastGitCommitDate unit test 2024-06-18 06:44:20 +10:00
Keyman Server
2361ca489f
Merge pull request #11804 from keymanapp/auto/version-master-18.0.58
auto: increment master version to 18.0.58
2024-06-17 11:06:08 -07:00
Keyman Build Agent
5c98e86b58 auto: increment master version to 18.0.58 2024-06-17 14:03:54 -04:00
Eberhard Beilharz
2ebb0bd554
Merge pull request #11775 from keymanapp/fix/linux/restartibus
fix(linux): restart ibus after manual integration test run
2024-06-17 17:41:36 +02:00
Steven R. Loomis
a16608e229
Merge branch 'master' into test/core/10968-minimum-ldml-test 2024-06-17 08:24:11 -05:00
Steven R. Loomis
38c6fe1ba3
Merge pull request #11778 from keymanapp/feat/core/9467-remove-icu-for-wasm-epic-ldml
feat(core): remove ICU from core under wasm 🙀
2024-06-17 08:22:38 -05:00
Steven R. Loomis
e580043538
Merge pull request #11777 from keymanapp/feat/core/9467-devolve-regex-to-js2-epic-ldml
feat(core): devolve regex to javascript 🙀
2024-06-17 08:22:22 -05:00
Dr Mark C. Sinclair
1dd8c0e8ca 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-06-17 12:56:42 +01:00
Dr Mark C. Sinclair
628aa26c8b
Merge pull request #11779 from keymanapp/kmcmplib-fails-native-compilation-under-linux
fix(developer): make native compilation of kmcmplib under Linux possible
2024-06-17 12:54:54 +01:00
Dr Mark C. Sinclair
0806d5bd38 fix(developer): correct backslashes in gtest-compmsg-test.cpp 2024-06-17 10:39:14 +01:00
Dr Mark C. Sinclair
6808759488 fix(developer): Merge branch 'master' into kmcmplib-fails-native-compilation-under-linux 2024-06-17 10:32:47 +01:00
Dr Mark C. Sinclair
ef03237c2c fix(developer): minor changes from review 2024-06-17 10:28:04 +01:00
Dr Mark C. Sinclair
9582d130b5 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-06-17 10:06:05 +01:00
Dr Mark C. Sinclair
bed77111bb
Merge pull request #11738 from keymanapp/fix/developer/refactor-kmcmplib-compiler-messages-to-use-map
fix(developer): refactor kmcmplib compiler messages to use map
2024-06-17 10:03:33 +01:00
Dr Mark C. Sinclair
2e8bdb79be chore(developer): Merge branch 'master' into fix/developer/refactor-kmcmplib-compiler-messages-to-use-map
# 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-17 09:59:52 +01:00
Marc Durdin
d6992097fd
Merge pull request #11795 from keymanapp/fix/core/11794-serialize-core-tests-temporary-mitigation
fix(core): serialize tests for core/wasm on mac agents
2024-06-17 16:26:27 +10:00
Joshua Horton
e43adb0ad2
Merge pull request #11786 from keymanapp/fix/web/quick-addKeyboards-call
fix(web): prevent desktop OSK crash when addKeyboards is called before engine init
2024-06-17 11:21:58 +07:00
Joshua Horton
4da8b0a792
Merge pull request #11783 from keymanapp/fix/web/longpress-key-id-with-modifier
fix(web): fix id of longpress keys with modifier set in touch layout
2024-06-17 11:21:41 +07:00
Marc Durdin
db53ac1343 fix(core): serialize tests for core/wasm on mac agents
Mitigates: #11794
2024-06-16 16:42:38 +10:00
Steven R. Loomis
2c9c236c63
Merge branch 'master' into test/core/10968-minimum-ldml-test 2024-06-14 17:08:16 -05:00
Keyman Server
f31b05056a
Merge pull request #11790 from keymanapp/auto/version-master-18.0.57
auto: increment master version to 18.0.57
2024-06-14 11:05:10 -07:00
Keyman Build Agent
ab835547a3 auto: increment master version to 18.0.57 2024-06-14 14:04:35 -04:00
Steven R. Loomis
ed80095ab9
Merge branch 'master' into test/core/10968-minimum-ldml-test 2024-06-14 09:33:29 -05:00
Steven R. Loomis
2300571ad8 test(core): fix a type conversion issue in the minimal test
- need a null string for either narrow or wide chars

Fixes: #10968
2024-06-14 09:05:50 -05:00
Steven R. Loomis
ca34550a8d feat(core): update util_regex per review comments
- remove some TODOs that were obsolete
- copy/clarify/expand comments between the ICU and non-ICU sides

Fixes: #9467
2024-06-14 08:55:15 -05:00
Eberhard Beilharz
1e67022a44
change(linux): restart ibus only when manually running tests
If we try to restart ibus when we run the tests as part of a build we
run into a timeout in the test teardown.
2024-06-14 15:37:43 +02:00
Eberhard Beilharz
407cfa8f33
chore(linux): address code review comments
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-06-14 15:09:13 +02:00
Dr Mark C. Sinclair
09dd020a0c chore(developer): add terminating nulls to expected strings in ValidateMatchNomatchOutput test 2024-06-14 12:18:33 +01:00
Dr Mark C. Sinclair
15fd729706 fix(developer): change cast to follow expected integer promotion in loadfileProc 2024-06-14 12:00:22 +01:00