Commit graph

3368 commits

Author SHA1 Message Date
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
Steven R. Loomis
612064f1b2 feat(developer): warn on empty keycaps
- add a hint and test for cases where no display matches a marker-only key

Fixes: #11054
2024-06-17 17:49:59 -05:00
Marc Durdin
83f9169e04
Merge branch 'master' into fix/developer/11643-prevent-non-bmp-chars-in-key-part-of-rule 2024-06-18 07:44:08 +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
a9f6f7baeb test(developer): add unit test for CERR_NonBMPCharactersNotSupportedInKeySection
Fixes: #11643
2024-06-18 07:18:05 +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
Nnyny
7fe2dfe0ef add language/reference 2024-06-17 14:23:19 +07: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
Dr Mark C. Sinclair
fe05d05858 fix(developer): cast to long for ftell size check 2024-06-13 18:22:39 +01:00
Dr Mark C. Sinclair
4ed7af0c6c fix(developer): cast to int for fread size check 2024-06-13 18:17:58 +01:00
Dr Mark C. Sinclair
7c0a422095 fix(developer): correct type of loop iterator 2024-06-13 17:41:55 +01:00
Dr Mark C. Sinclair
225fd8d29a fix(developer): remove ignored printf flag 2024-06-13 17:36:48 +01:00
Dr Mark C. Sinclair
421593bd72 fix(developer): rename shadowing local variables 2024-06-13 17:33:20 +01:00
Dr Mark C. Sinclair
6585d034c6 fix(developer): add <algorithm> include and std::reverse to kmx_u16.cpp 2024-06-13 17:25:31 +01:00
Dr Mark C. Sinclair
604d538875 fix(developer): add <cstring> include to kmx_u16.h 2024-06-13 17:10:59 +01:00
Dr Mark C. Sinclair
8a86cc373f fix(developer): add <cstring> include to kmcompxtest.cpp 2024-06-13 17:06:36 +01:00
Dr Mark C. Sinclair
328b7b70c3 fix(developer): add <cstddef> include to kmcompx.h 2024-06-13 16:59:47 +01:00