Dr Mark C. Sinclair
82c9fd8474
fix(developer): adjust comments for alignment
2024-09-10 12:09:50 +01:00
Dr Mark C. Sinclair
cc8fd7da2f
fix(developer): convert u16trim test to use map
2024-09-10 12:06:08 +01:00
Dr Mark C. Sinclair
06323b9dfa
fix(developer): convert u16rtrim test to use map
2024-09-10 11:59:51 +01:00
Dr Mark C. Sinclair
04c1b15c22
fix(developer): convert u16ltrim test to use map
2024-09-10 11:55:27 +01:00
Dr Mark C. Sinclair
9813e3d99c
fix(developer): add additional asserts to check pointer returned in u16trim
2024-09-10 11:28:52 +01:00
Dr Mark C. Sinclair
917a42a09c
fix(developer): add additional asserts to check pointer returned in u16rtrim
2024-09-10 11:19:11 +01:00
Dr Mark C. Sinclair
ea545dc05a
fix(developer): shorten u16ltrim code, and add additional asserts to check pointer returned
2024-09-10 10:58:24 +01:00
Dr Mark C. Sinclair
510e5aabd5
fix(developer): modify u16ltrim to copy non-trimmed characters to beginning of string
2024-09-10 10:56:53 +01:00
Marc Durdin
178325c019
chore(developer): use new npm publish for kmc-generate
2024-09-10 15:30:54 +07:00
Marc Durdin
edc5c93d69
chore(developer): add api-extractor for kmc-generate
2024-09-10 13:51:55 +07:00
Marc Durdin
021d4341e7
chore(developer): generate no longer needs to generate .model_info
2024-09-10 11:55:16 +07:00
Marc Durdin
4a2e6fd0a5
test(developer): add unit test for generate module
2024-09-10 10:54:22 +07:00
Eberhard Beilharz
c3e587193e
refactor(web): move model/types to web/types
...
Part-of: #12133
2024-09-09 19:59:01 +02:00
Eberhard Beilharz
9f4ca5070d
fix(developer): fix building with Ubuntu 24.04
...
For whatever reason I suddenly got compile errors on Ubuntu 24.04 when
building Developer. Including `cstdint` solves this.
See also #11926 .
2024-09-09 19:58:00 +02:00
Dr Mark C. Sinclair
8ee5d342db
correct comment on one test case in GetXStringImpl_type_i test
2024-09-09 09:52:39 +01:00
Marc Durdin
95d169f879
chore(developer): add developer-utils dep for kmc-generate
2024-09-09 09:17:32 +07:00
Marc Durdin
09e97cebc9
chore(developer): fixup imports
2024-09-09 08:57:39 +07:00
Marc Durdin
d2f99f69cb
chore(developer): refactor imports after merge
2024-09-09 06:30:26 +07:00
Dr Mark C. Sinclair
87a810e135
fix(developer): add additional test cases for multi-word trims
2024-09-05 14:32:25 +01:00
Dr Mark C. Sinclair
67b2050d8c
Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests-3
2024-09-03 10:09:51 +01:00
Marc Durdin
113b4f7ac8
feat(developer): comments for kmc-generate
2024-09-03 06:20:34 +07:00
Marc Durdin
1ab1ca5d78
chore(developer): fixup tests and scripts for kmc-generate
2024-09-03 06:20:34 +07:00
Marc Durdin
db904119f3
feat(developer): unit tests for kmc-generate
...
Note: these are more e2e than unit tests. It may be difficult to convert
them into solid unit tests due to the way that kmc-generate works based
on templates.
2024-09-03 06:20:33 +07:00
Marc Durdin
8274d30788
feat(developer): kmc generate cleanup
...
Cleanup various todo items for kmc generate. Outstanding TODO item is
icon generation for .kmn.
2024-09-03 06:20:28 +07:00
Marc Durdin
2994fe2aea
feat(developer): kmc-generate docs and tests started
2024-09-03 06:17:33 +07:00
Marc Durdin
939134a9a3
feat(developer): kmc-generate module
...
Plenty of todo items left but this is a mostly-functional module for the
kmc generate command for automatically creating keyboard and model
projects.
2024-09-03 06:15:33 +07:00
Dr Mark C. Sinclair
3ed83f8e33
chore(developer): clarify some comments in index() section of GetXStringImpl_type_i test
2024-08-29 19:24:33 +01:00
Dr Mark C. Sinclair
db06555719
fix(developer): use comma alone as seperator, and u16trim to remove white space
2024-08-29 18:40:12 +01:00
Dr Mark C. Sinclair
2c41d02c19
fix(developer): add u16trim test
2024-08-29 18:24:31 +01:00
Dr Mark C. Sinclair
03293bcede
fix(developer): add u16rtrim test
2024-08-29 18:18:27 +01:00
Dr Mark C. Sinclair
6dee928362
fix(developer): add test for u16ltrim
2024-08-29 16:51:07 +01:00
Dr Mark C. Sinclair
11a9338671
fix(developer): add test for u16ltrim
2024-08-29 16:40:41 +01:00
Dr Mark C. Sinclair
c8beeb9ab4
fix(developer): add two additional space test cases for index() in GetXStringImpl_type_i test
2024-08-29 10:56:17 +01:00
Marc Durdin
038b913394
Merge pull request #12280 from keymanapp/fix/developer/12279-consistent-import-path-for-all-kmc-uses
...
fix(developer): make LDML import path consistent for all bundlings of kmc
2024-08-29 09:46:10 +02:00
Dr Mark C. Sinclair
2bd2697868
chore(developer): correct order of paramaters in EXPECT_EQ to expected, actual in ReportCompilerMessage test
2024-08-26 15:04:01 +01:00
Dr Mark C. Sinclair
b6282457cd
chore(developer): unicode group checks in GetXStringImpl_type_u test
2024-08-26 14:55:42 +01:00
Dr Mark C. Sinclair
cb9b2c545b
chore(developer): manual merging of the two GetXStringImpl_type_c tests
2024-08-26 14:37:41 +01:00
Dr Mark C. Sinclair
1fe11edb9c
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-08-26 14:19:50 +01:00
Dr Mark C. Sinclair
3cd34e260f
chore(developer): add ERROR_InvalidCharacter and n1 only test cases to unicode in GetXStringImpl_type_u test
2024-08-26 12:27:46 +01:00
Dr Mark C. Sinclair
8dd236c70c
chore(developer): add initial four test cases for unicode in GetXStringImpl_type_u test
2024-08-26 12:12:05 +01:00
Dr Mark C. Sinclair
8522c57b6a
chore(developer): add versions where omitted from some notany() test cases
2024-08-26 11:24:19 +01:00
Dr Mark C. Sinclair
437420d534
chore(developer): add test case for nul to GetXStringImpl_type_n test
2024-08-26 11:18:54 +01:00
Dr Mark C. Sinclair
8c79a04fce
chore(developer): add test case for notany() with empty store
2024-08-26 10:59:36 +01:00
Dr Mark C. Sinclair
ef4a14bd48
chore(developer): add ten test cases for notany() to GetXStringImpl_type_n test
2024-08-26 10:53:09 +01:00
Dr Mark C. Sinclair
ec5a749484
chore(developer): initial GetXStringImpl_type_n test
2024-08-26 10:30:21 +01:00
Dr Mark C. Sinclair
758a398060
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-08-26 10:21:10 +01:00
Dr Mark C. Sinclair
fca939b172
chore(developer): Merge branch 'master' into fix/developer/12262-ensure-call-detects-invalid-store-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-08-26 10:06:51 +01:00
Marc Durdin
89d65adad0
Merge pull request #12278 from keymanapp/fix/developer/12056-find-last-key-in-ldml-keybag-for-kvk
...
fix(developer): find last matching key in LDML key bag when building KVK
2024-08-26 09:09:07 +02:00
Marc Durdin
6353f926ba
chore: Update developer/src/kmc-ldml/src/compiler/visual-keyboard-compiler.ts
2024-08-26 09:09:00 +02:00
Marc Durdin
f9b0dc5300
Merge pull request #12273 from keymanapp/chore/developer/12271-extend-test-timeouts-kmc-model
...
chore(developer): extend timeouts for lm compiler tests to 5 secs
2024-08-26 09:08:49 +02:00