Commit graph

2411 commits

Author SHA1 Message Date
Dr Mark C. Sinclair
618e7a2d53 fix(developer): remove unnecessary include 2024-06-19 12:08:01 +01:00
Dr Mark C. Sinclair
7903258260 fix(developer): extend isIntegerWstring to handle full range of ints 2024-06-19 11:59:11 +01:00
Dr Mark C. Sinclair
f97000641e fix(developer): rename isuiw() to isIntegerWstring() 2024-06-19 11:32:44 +01:00
Dr Mark C. Sinclair
ee10283060 chore(developer): correct memory leak in isuiw() 2024-06-19 10:43:03 +01: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
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
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
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
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
Dr Mark C. Sinclair
721e38d52e fix(developer): change cast in kmcmp_CompileKeyboard to follow expected integer promotion 2024-06-14 11:54:36 +01:00
Dr Mark C. Sinclair
e51a516a78 fix(developer): user tertiary operator to keep pos_dot variable positive 2024-06-14 11:44:52 +01:00
Dr Mark C. Sinclair
822bd5f554 fix(developer): changed cast to follow expected integer promotion 2024-06-14 11:31:24 +01:00
Dr Mark C. Sinclair
20c5b7938a fix(developer): use const local variable for int type cxKeyArray 2024-06-14 11:12:45 +01:00
Dr Mark C. Sinclair
d2370a6381 fix(developer): Merge branch 'master' into kmcmplib-fails-native-compilation-under-linux 2024-06-14 10:53:15 +01:00
Dr Mark C. Sinclair
8c9813c488 fix(developer): remove unnecessary cast in GetCompilerErrorString return 2024-06-14 10:18:04 +01:00
Dr Mark C. Sinclair
b7780a56d2 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-14 10:10:34 +01:00
Dr Mark C. Sinclair
966ea478c7 fix(developer): change GetCompilerErrorString to return const 2024-06-14 10:09:36 +01:00
Joshua Horton
cb8919a85f
Merge pull request #11693 from keymanapp/change/common/update-esbuild
change(common): update esbuild to 0.18.9 🕐
2024-06-14 08:07:24 +07:00
Marc Durdin
021e999d79
Merge branch 'master' into contexthelp-final/keyboard-editor 2024-06-14 09:29:06 +10:00
Marc Durdin
21f6e128e2
Merge branch 'master' into contexthelp/select-bcp47-language 2024-06-14 09:28:24 +10:00
Marc Durdin
dba47e7075
Merge branch 'master' into contexthelp/new-project-parameters 2024-06-14 09:27:49 +10:00
Marc Durdin
60a4587c69
Merge pull request #11767 from Meng-Heng/contexthelp/new-project
docs(developer): context help in new-project section
2024-06-14 09:27:16 +10:00
Marc Durdin
222a141d77
Merge pull request #11754 from Meng-Heng/contexthelp/keyboard-editor
docs(developer): context help in keyboard-editor section
2024-06-14 09:27:09 +10:00
Marc Durdin
c01fceae7e
Merge pull request #11760 from Meng-Heng/contexthelp/package-editor
docs(developer): context help in package-editor and put the existing context help in their own tab comments
2024-06-14 09:26:45 +10:00
Marc Durdin
4a35e51a46
Merge pull request #11759 from keymanapp/fix/developer/11646-add-platform-no-more-platforms-builder
fix(developer): show message if no more platforms to add to touch layout editor
2024-06-14 08:48:41 +10:00
Dr Mark C. Sinclair
ecd4944a2b fix(developer): add terminating null to expected strings 2024-06-13 20:50:24 +01:00
Dr Mark C. Sinclair
3453319563 fix(developer): correct test that is always false 2024-06-13 20:35:07 +01:00
Dr Mark C. Sinclair
446661ae03 fix(developer): make explicit cast in mixed int type comparison 2024-06-13 20:25:08 +01:00
Dr Mark C. Sinclair
6a16837b47 fix(developer): catch error by reference 2024-06-13 20:17:36 +01:00
Dr Mark C. Sinclair
f1e3396249 fix(developer): add additional error if build cannot be read into buffer 2024-06-13 20:10:16 +01:00
Dr Mark C. Sinclair
1fa13c2b83 fix(developer): add -Wno-ignored-qualifiers flag to allow casting to override warnings with return type casts 2024-06-13 18:41:07 +01:00
Dr Mark C. Sinclair
272b3b1532 fix(developer) cast to int in mixed int type expression 2024-06-13 18:31:22 +01:00
Dr Mark C. Sinclair
46186c90e5 fix(developer): correct iterator type to KMX_DWORD 2024-06-13 18:27:13 +01:00
Dr Mark C. Sinclair
f0701c87cd fix(developer): correct iterator type 2024-06-13 18:25:35 +01:00