Commit graph

3368 commits

Author SHA1 Message Date
Dr Mark C. Sinclair
6f4e8a1366 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-08 10:01:08 +01:00
Marc Durdin
bf5b5af150 chore(developer): add more delimiter tests for u16tok 2024-07-05 18:10:18 +10:00
Marc Durdin
b15b10c9ec
Merge branch 'master' into fix/developer/11814-kmx_u16-buffer-overrun 2024-07-05 18:05:27 +10:00
Dr Mark C. Sinclair
82d041aa4a fix(developer): combine tests from #11910 and this PR 2024-07-04 11:21:54 +01:00
Dr Mark C. Sinclair
7efd46f5f3 chore(developer): merge #11910 into #11894
Merge branch 'fix/developer/11814-kmx_u16-buffer-overrun' into fix/developer/correct-use-of-u16chr-when-second-parameter-could-be-null
2024-07-04 11:05:56 +01:00
Dr Mark C. Sinclair
34859c3020 fix(developer): change file/class nomenclature to match #11910 2024-07-04 10:51:48 +01:00
Marc Durdin
63ca95ed76 fix(developer): prevent invalid values in targets store
Fixes: #11773
2024-07-03 08:33:15 +10:00
Dr Mark C. Sinclair
728537906b chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests-2 2024-07-02 17:20:16 +01:00
Marc Durdin
69d8b30d3b fix(developer): prevent buffer overrun in u16tok
Relates-to: #11814
See-also: #11894
2024-07-02 21:46:25 +10:00
Dr Mark C. Sinclair
093041f6b2 fix(developer): add two test cases for u16tok_delim test 2024-07-01 16:43:12 +01:00
Dr Mark C. Sinclair
dbdd2ef195 fix(developer): add three test cases for u16chr() 2024-07-01 12:32:32 +01:00
Dr Mark C. Sinclair
47d853e7c4 fix(developer): add gtest-kmxu16-test.cpp to meson.build 2024-07-01 11:31:04 +01:00
Dr Mark C. Sinclair
998e0ea860 fix(developer): add gtest-kmxu16-test.cpp for testing of kmx_u16.cpp 2024-07-01 11:09:13 +01:00
Dr Mark C. Sinclair
b1cd98b656 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-01 09:37:00 +01:00
Dr Mark C. Sinclair
963aecc5f3 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-07-01 09:33:09 +01:00
Marc Durdin
14abb312d1
Merge pull request #11806 from keymanapp/fix/developer/11643-prevent-non-bmp-chars-in-key-part-of-rule
fix(developer): prevent non-BMP characters in key part of rule
2024-07-01 11:37:59 +10:00
Dr Mark C. Sinclair
726531ed38 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-24 10:07:37 +01:00
Dr Mark C. Sinclair
0e029519c9 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-24 09:21:28 +01:00
Steven R. Loomis
f390de30da
Merge pull request #11843 from keymanapp/fix/developer/10553-reduce-bogus-unclear-errors
fix(developer): layr: fix modifier err message on layer w/o id 🙀
2024-06-21 08:25:08 -05:00
Steven R. Loomis
4dc02c4952 fix(developer): layr: fix modifier err message on layer w/o id
- the error message was broken when there wasn't a layer id (which is allowed)
- add a test case

Fixes: #10553
2024-06-20 17:19:44 -05:00
Steven R. Loomis
017e1f7e97
Merge branch 'master' into feat/developer/11054-warn-no-display 2024-06-20 16:03:26 -05:00
Steven R. Loomis
570766ca7c feat(developer): linter on blank keycaps
add a linter and hints to detect these cases:
- 'switch' key with no output and no matching display
- any other key whose only output is markers (so cannot otherwise display) and no matching display

Fixes: #11054
2024-06-20 16:02:43 -05:00
Dr Mark C. Sinclair
e2260feef7 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-19 15:20:15 +01:00
Dr Mark C. Sinclair
31598afbb7 fix(developer): add doc comments to isIntegerWstring(), plus whitespace tests 2024-06-19 15:15:11 +01:00
Dr Mark C. Sinclair
c7ecafa2c0 fix(developer): add additional white space test cases 2024-06-19 14:46:32 +01:00
Dr Mark C. Sinclair
975b2edb98 fix(developer): add ref to issue #11833 in relevant test case 2024-06-19 14:19:59 +01:00
Dr Mark C. Sinclair
facd5fb034 fix(developer): reverse the fix in u16tok where u16chr is used with *q==0 2024-06-19 13:52:24 +01:00
Dr Mark C. Sinclair
fbe735cb95 fix(developer): add check for offset < 1, plus tests 2024-06-19 12:14:20 +01:00
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
Marc Durdin
d15cda2d18
Merge pull request #11822 from keymanapp/dependabot/npm_and_yarn/ws-8.17.1
chore(deps): bump ws from 8.16.0 to 8.17.1
2024-06-19 10:35:29 +10:00
dependabot[bot]
aca6e1dfcc
chore(deps): bump ws from 8.16.0 to 8.17.1
Bumps [ws](https://github.com/websockets/ws) from 8.16.0 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.16.0...8.17.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 22:02:42 +00:00
Marc Durdin
5ecc3aa3e3 chore(developer): clarify project upgrade messages about file locations 2024-06-19 06:23:34 +10:00
Steven R. Loomis
174a2ae80b feat(developer): linter API
- add a Linter class that gets passed the compiled KMXPlus file, and the source file
2024-06-18 11:17:43 -05:00
Dr Mark C. Sinclair
b41aa51663 fix(developer): remove duplicate delete 2024-06-18 16:47:54 +01:00
Dr Mark C. Sinclair
6194911ca3 chore(developer): remove duplicate deletes 2024-06-18 16:45:56 +01:00
Steven R. Loomis
8deae5137c test(developer): shuffle tests
- split out test-strs from test-compiler-e2e
- split out test-linter from test-compiler-e2e
2024-06-18 10:15:28 -05:00
Steven R. Loomis
c614de0cd1
feat(developer): Update developer/src/kmc-ldml/src/compiler/messages.ts
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-06-18 09:59:40 -05: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
9a2eb59206 chore(developer): add deletes to clean up file_store 2024-06-18 14:08:48 +01:00
Dr Mark C. Sinclair
1d47042af6 chore(developer): delete index test cases now covered in #11815 2024-06-18 14:06:46 +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