Commit graph

3787 commits

Author SHA1 Message Date
Marc Durdin
d55558fb31
Merge pull request #12101 from keymanapp/refactor/common/9665-move-xml2js-and-related-deps-to-developer
refactor(common): move xml2js and related deps to @keymanapp/developer-utils 🐉
2024-08-07 15:16:07 +10:00
Marc Durdin
32b4711659
Merge branch 'master' into refactor/common/9665-move-compiler-interfaces-to-developer 2024-08-07 15:15:45 +10:00
Marc Durdin
ed143fb333
Merge branch 'master' into refactor/common/9665-move-ldml-keyboard-source-file-to-developer 2024-08-07 15:15:04 +10:00
Marc Durdin
ec72245575
Merge pull request #11765 from keymanapp/refactor/common/9665-move-keyman-touch-layout-file-to-developer
refactor(common): move .keyman-touch-layout reader/writer to @keymanapp/developer-utils 🐉
2024-08-07 15:14:06 +10:00
Marc Durdin
e9d054ab2c
Merge branch 'master' into refactor/common/9665-move-kvk-file-to-developer 2024-08-07 15:13:41 +10:00
Marc Durdin
88506cea6b
Merge branch 'master' into refactor/common/9665-move-kps-file-type-to-developer 2024-08-07 15:13:10 +10:00
Marc Durdin
7849b7734b
Merge pull request #11531 from keymanapp/refactor/common/9665-move-project-file-type-to-developer
refactor(common): move kpj-related files into developer-utils 🐉
2024-08-07 15:12:31 +10:00
Marc Durdin
38ae01a1a4 chore(developer): build Server only on Windows 2024-08-07 10:58:55 +07:00
Marc Durdin
3d26c66bf6 chore(developer): start building Developer on linux,mac 2024-08-07 10:49:55 +07:00
Marc Durdin
c744cffc7c chore: move new build env to separate PR 2024-08-07 10:46:18 +07:00
Marc Durdin
581ba36ab8 chore(developer): add flag for CI to build on mac, linux 2024-08-07 10:29:11 +07:00
Marc Durdin
118a947882 chore(common): add support for build target platform exclusions
Add `builder_describe_platform` function to builder.inc.sh, associated
documentation and unit test, and use it in Developer and Common build
scripts.

Relates-to: #11755
2024-08-07 09:25:56 +07:00
Steven R. Loomis
4335f19a6a fix(developer): remove redundant check in linter
- simplify LdmlKeyboardCompiler.validate() by removing a redundant check
2024-08-06 09:22:28 -05:00
Marc Durdin
edf47d7f43 refactor(common): move xml2js and related deps to @keymanapp/developer-utils
Fixes: #9665
2024-08-06 05:19:30 +07:00
Marc Durdin
2b12c36feb
Merge pull request #11799 from Nnyny/language/reference
chore(developer): add language/reference
2024-08-05 14:25:36 +10:00
rc-swag
64efd2a7b4
Merge pull request #11973 from keymanapp/chore/windows/11925/deprecate-qit-vshiftdown
chore(windows): remove QIT_VSHIFTDOWN QIT _VSHIFTUP
2024-08-05 13:07:21 +10:00
Marc Durdin
0bd6990fc8
Merge pull request #12063 from keymanapp/refactor/developer/12047-remove-VERIFY_KEYBOARD_VERSION
refactor(developer): replace `VERIFY_KEYBOARD_VERSION()` calls with `VerifyKeyboardVersion()` 🌋
2024-08-03 21:02:54 +10:00
Marc Durdin
6d81177570
Merge pull request #12061 from keymanapp/chore/developer/support-message-filename-kmcmplib
chore(developer): support filename field in kmcmplib compiler messages 🌋
2024-08-03 20:56:58 +10:00
Marc Durdin
427d1970da
Merge pull request #12060 from keymanapp/refactor/developer/kmcmplib-rename-error-message-functions
refactor(developer): rename compiler error reporting functions in kmcmplib 🌋
2024-08-03 20:56:44 +10:00
Marc Durdin
29155a4edf chore(developer): fixup test namespaces 2024-08-03 15:58:35 +07:00
Marc Durdin
a9b066d956
Merge branch 'master' into refactor/developer/kmcmplib-construct-messages-in-kmc-kmn 2024-08-03 12:13:53 +10:00
Marc Durdin
15829a8e9d
Merge pull request #12048 from keymanapp/refactor/developer/kmcmplib-yak-shave-more-bools
refactor(developer): move error reporting inside `GetCompileTargetsFromTargetsStore` and `ProcessGroupFinish` 🌋
2024-08-03 12:13:08 +10:00
Marc Durdin
bdb8f65b1b
Merge branch 'master' into refactor/developer/kmcmplib-yak-shave-bools-instead-of-errors-returned 2024-08-03 12:12:21 +10:00
Marc Durdin
e476aaa7dd
Merge branch 'master' into refactor/developer/kmcmplib-compiler-error-code-alignment 2024-08-03 12:10:52 +10:00
Marc Durdin
bc4abad7bd
Merge pull request #12031 from keymanapp/refactor/developer/kmcmplib-compiler-interfaces
refactor(developer): improve the callbacks for kmcmplib 🌋
2024-08-03 12:08:15 +10:00
Marc Durdin
98560dd644
Merge pull request #12030 from keymanapp/refactor/developer/kmcmplib-compiler-errors
refactor(developer): move functions and variables into CompilerErrors.cpp 🌋
2024-08-03 12:07:49 +10:00
Marc Durdin
e67aed1606 refactor(common): move compiler-interfaces to @keymanapp/developer-utils
This should be the last step in the refactoring.

Fixes: #9665
2024-08-02 13:49:59 +07:00
Marc Durdin
cebd4138e6 refactor(developer): update imports 2024-08-02 10:38:38 +07:00
Marc Durdin
d3d3ac1eec refactor(common): move LDML keyboard .xml reader/writer and kmx-plus builder to @keymanapp/developer-utils
Relates-to: #9665
2024-08-02 10:23:11 +07:00
Marc Durdin
bd070683f4 refactor(developer): move additional references for TouchLayoutFile 2024-08-01 13:18:32 +07:00
Marc Durdin
924b1aad78 refactor(common): use developer-utils, not common-types for TouchLayoutFileReader/Writer 2024-08-01 12:38:28 +07:00
Marc Durdin
fad0a05155
Merge branch 'refactor/common/9665-move-kvk-file-to-developer' into refactor/common/9665-move-keyman-touch-layout-file-to-developer 2024-08-01 14:02:55 +10:00
Marc Durdin
261ced4f98
Merge branch 'refactor/common/9665-move-kps-file-type-to-developer' into refactor/common/9665-move-kvk-file-to-developer 2024-08-01 14:02:06 +10:00
Marc Durdin
1352558026
Merge branch 'refactor/common/9665-move-project-file-type-to-developer' into refactor/common/9665-move-kps-file-type-to-developer 2024-08-01 14:01:56 +10:00
Marc Durdin
b48ac789eb chore(developer): update git commit date test due to non-merge commit 2024-08-01 11:01:28 +07:00
Marc Durdin
08803111e5
Merge branch 'refactor/common/9665-move-kvk-file-to-developer' into refactor/common/9665-move-keyman-touch-layout-file-to-developer 2024-08-01 10:35:48 +10:00
Marc Durdin
53551f5662
Merge branch 'refactor/common/9665-move-kps-file-type-to-developer' into refactor/common/9665-move-kvk-file-to-developer 2024-08-01 10:35:33 +10:00
Marc Durdin
ad9ba1f188
Merge branch 'refactor/common/9665-move-project-file-type-to-developer' into refactor/common/9665-move-kps-file-type-to-developer 2024-08-01 10:34:05 +10:00
Marc Durdin
d8986be12f refactor(common): merge master into branch 2024-08-01 07:07:07 +07:00
Marc Durdin
eb43f81d43
Update developer/src/kmc-keyboard-info/build.sh 2024-08-01 09:16:29 +10:00
Marc Durdin
dbcc70cfa6
Update developer/src/kmc-keyboard-info/build.sh 2024-08-01 08:58:26 +10:00
Marc Durdin
d1e351a1ac
Revert "chore(developer): remove redundant references from tsconfig.json" 2024-08-01 08:57:27 +10:00
Eberhard Beilharz
1389d40965
Merge branch 'master' into change/web/11878_remove-es5 2024-07-31 15:28:38 +02:00
Dr Mark C. Sinclair
2d7683c395 chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests-3
# 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-31 11:29:43 +01:00
Dr Mark C. Sinclair
e8e28b60d4
Merge pull request #11894 from keymanapp/fix/developer/correct-use-of-u16chr-when-second-parameter-could-be-null
test(developer): check correct use of u16chr when second parameter could be null
2024-07-31 11:25:31 +01:00
Marc Durdin
6f62edf976
Merge pull request #12037 from keymanapp/chore/developer/12027-remove-references-from-tsconfig.json
chore(developer): remove redundant references from tsconfig.json
2024-07-31 07:55:39 +10:00
Dr Mark C. Sinclair
a53ea2ced4 chore(developer): add additional comment to LineTokenType test case for 'c' with no following space 2024-07-30 11:49:23 +01:00
Dr Mark C. Sinclair
298853bccb chore(developer): correct copy-paste error in finl test case of u16tok_str_compare_to_strtok 2024-07-30 11:30:59 +01:00
Dr Mark C. Sinclair
0e303cd38a 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-30 11:20:10 +01:00
Marc Durdin
dc459a0926 refactor(developer): replace VERIFY_KEYBOARD_VERSION() calls with VerifyKeyboardVersion()
Remove the `VERIFY_KEYBOARD_VERSION()` and
`VERIFY_KEYBOARD_VERSION_ret()` macros, and instead use
`VerifyKeyboardVersion()`. The DRYing out of this function call pattern
moved the return statement into a macro, which is an inappropriate way
to reduce repetition, because (a) it is hard for devs to spot function
exits, and (b) automated code analysis tools stumble on it.

Also means that we uncover more clearly the return mismatches between
`KMX_DWORD` and `KMX_BOOL` through the compiler source.

Fixes: #12047
2024-07-30 13:13:10 +07:00