Dr Mark C. Sinclair
d269edb20c
chore(developer): add initial three test cases to GetXStringImpl_type_osb test, plus initVKDictionary()
2024-10-07 16:25:42 +01:00
Dr Mark C. Sinclair
ebb6f87fb3
chore(developer): add return() test case to GetXStringImpl_type_r test
2024-10-07 14:10:06 +01:00
Dr Mark C. Sinclair
eee9cf49dd
chore(developer): add ten use cases for reset() in GetXStringImpl_type_r test
2024-10-07 13:48:38 +01:00
Dr Mark C. Sinclair
6871b35f05
chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests-4
2024-10-07 13:28:43 +01:00
Steven R. Loomis
e483318597
Merge pull request #12482 from keymanapp/feat/common/12208-unified-xml-parse
...
feat(common): unified XML parser/writer
2024-10-03 10:52:35 -05:00
Dr Mark C. Sinclair
b8d2fad56e
chore(developer): add reset() ERROR_80FeatureOnly test case
2024-10-03 12:31:18 +01:00
Dr Mark C. Sinclair
54b5781b11
chore(developer): add eight test cases for commands without expected delimiters
2024-10-03 12:24:13 +01:00
Dr Mark C. Sinclair
947932fbfe
chore(developer): add GetXStringImpl_type_r test and first test case
2024-10-03 12:10:49 +01:00
Dr Mark C. Sinclair
fc9a97dba3
chore(developer): add three use() test cases for valid group
2024-10-03 12:04:14 +01:00
Dr Mark C. Sinclair
8c96f13cf1
chore(developer): change initFileGroupArray() to take names; add three use() test cases for non-existent group
2024-10-03 11:55:36 +01:00
Steven R. Loomis
158c4a7637
feat(developer): update the unified xml parser per review
...
- declarative syntax for options
- workaround an issue where xml2js is mutating our options objects
- improve tests
Fixes : #12208
2024-09-30 13:25:38 -05:00
Steven R. Loomis
eba7079694
chore(developer): update per style guide
...
Fixes : #12208
2024-09-30 10:00:46 -05:00
Dr Mark C. Sinclair
3bb60fead4
chore(developer): fix to initFileStoreArray due to Linux build failure
2024-09-30 12:15:17 +01:00
Dr Mark C. Sinclair
b79c6895bb
chore(developer): use initFileStoreArray() in GetXStringImpl_type_a test
2024-09-30 12:04:52 +01:00
Dr Mark C. Sinclair
7b26c54b11
chore(developer): use initFileStoreArray() in GetXStringImpl_type_n test
2024-09-30 12:00:16 +01:00
Dr Mark C. Sinclair
016c464ad7
chore(developer): use initFileStoreArray() in GetXStringImpl_type_c test
2024-09-30 11:57:57 +01:00
Dr Mark C. Sinclair
85a40b695f
chore(developer): use initFileStoreArray() in GetXStringImpl_type_o test
2024-09-30 11:52:07 +01:00
Dr Mark C. Sinclair
4d4e79007b
chore(developer): add initFileStoreArray() and use it in GetXStringImpl_type_i test
2024-09-30 11:45:57 +01:00
Dr Mark C. Sinclair
00eb02e597
chore(developer): add first three use() test cases in GetXStringImpl_type_u test
2024-09-30 10:26:48 +01:00
Steven R. Loomis
1780b1ebf3
feat(developer,common): use unified xml writer
...
Fixes : #12208
2024-09-27 18:53:54 -05:00
Steven R. Loomis
d540e4cda0
feat(common): unified xml writer test
...
Fixes : #12208
2024-09-27 18:37:40 -05:00
Steven R. Loomis
3832ca1c12
feat(developer,common): use unified xml parser
...
Subsystems changed:
- ldml keyboard reader (main and test)
- kpj
- kvks
- kmp compiler
test: made the test-xml-utils less verbose about the pathnames
Fixes : #12208
2024-09-27 17:49:32 -05:00
Steven R. Loomis
7da7375ee5
feat(common): xml: map \r\n to \n
...
- help make the parsed form identical across platforms
Fixes : #12208
2024-09-27 17:31:00 -05:00
Steven R. Loomis
609faf8047
feat(common): unified xml parser reader test
...
Fixes : #12208
2024-09-27 16:52:21 -05:00
Steven R. Loomis
7e631c1a73
feat(common): unified xml parser scaffolding
...
Fixes : #12208
2024-09-27 14:09:52 -05:00
Marc Durdin
7ff8c707e9
fix(developer): warn before importing over touch layout
...
Fixes : #12476
2024-09-26 17:31:43 -07:00
Marc Durdin
60d888aad6
Merge pull request #12471 from keymanapp/fix/developer/12426-publish-developer-utils
...
fix(developer): publish developer-utils package during build
2024-09-26 18:34:58 +02:00
Marc Durdin
870dcabc90
Merge pull request #12468 from keymanapp/fix/developer/12449-row-keys-whitespace
...
fix(developer): ignore excess whitespace in `<row keys>` attribute
2024-09-26 00:32:06 +02:00
Marc Durdin
0b09ffabe5
Merge branch 'master' into context/options
2024-09-26 00:17:07 +02:00
Marc Durdin
035af7271c
docs: tweak content
2024-09-26 00:15:52 +02:00
Marc Durdin
87aff8d4a3
fix(developer): publish developer-utils package during build
...
Fixes : #12426
2024-09-25 14:22:03 -07:00
Marc Durdin
71f3d912a4
fix(developer): ignore excess whitespace in <row keys> attribute
...
Fixes : #12449
2024-09-25 07:33:42 -07:00
Marc Durdin
2c3ae9eba7
fix(developer): prevent invalid string ids
...
Adds checks for invalid string IDs and corresponding unit tests.
Fixes : #12451
2024-09-24 19:29:10 -07:00
Marc Durdin
4ed865c128
Merge pull request #12432 from keymanapp/chore/developer/remove-js-from-ldml-compiler
...
chore(developer): remove .js output from LDML compiler
2024-09-19 18:58:47 +02:00
Eberhard Beilharz
090a331de4
Merge pull request #12438 from keymanapp/fix/core/dependency
...
fix(core): add missing dependency for core
2024-09-19 13:53:15 +07:00
Eberhard Beilharz
0dbae5c199
fix(core): add missing dependency for core
...
Core depends on `kmc` which in turn depends on `core/include/ldml`. This
change adds the missing dependency to the build script and fixes building
core from a clean `core` subdirectory.
# 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-09-17 18:28:02 +02:00
Marc Durdin
96f6654a90
chore(developer): remove .js output from LDML compiler
2024-09-17 16:06:59 +07:00
Nguonnyny Tan
7c365e35a3
chore: update contexthelp.xml
2024-09-17 14:31:38 +07:00
Marc Durdin
201f48a1f0
Merge pull request #12404 from keymanapp/fix/developer/12403-validate-string-use-before-definition
...
fix(developer): check vars string usage before definition
2024-09-17 00:40:24 +02:00
Marc Durdin
6b83589987
Merge pull request #12402 from keymanapp/fix/developer/12395-rewrite-ldml-visual-keyboard-compiler
...
fix(developer): rewrite ldml visual keyboard compiler
2024-09-17 00:40:15 +02:00
Dr Mark C. Sinclair
ff504ad0f7
chore(developer): corrected issue references that mistakenly referenced old issue tracking system
2024-09-16 09:43:59 +01:00
Dr Mark C. Sinclair
b50a16b2c3
chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests-3
2024-09-16 09:35:40 +01:00
Dr Mark C. Sinclair
5497e9c9e8
Update developer/src/kmcmplib/tests/gtest-compiler-test.cpp
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-09-16 09:33:45 +01:00
Dr Mark C. Sinclair
d91ca9b669
Update developer/src/kmcmplib/tests/gtest-compiler-test.cpp
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-09-16 09:33:27 +01:00
Dr Mark C. Sinclair
ae62390ffa
Update developer/src/kmcmplib/tests/gtest-compiler-test.cpp
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-09-16 09:32:57 +01:00
Marc Durdin
f4321b38d7
fix(developer): LDML compiler, add TSS_VISUALKEYBOARD store when compiling visual keyboard
...
Fixes : #12395
2024-09-16 14:00:39 +07:00
Marc Durdin
bf25a6ee56
Merge pull request #12396 from keymanapp/dependabot/npm_and_yarn/express-4.20.0
...
chore(deps): bump express from 4.19.2 to 4.20.0
2024-09-14 03:39:35 +02:00
Dr Mark C. Sinclair
f0be2acdec
chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests-3
2024-09-12 10:45:49 +01:00
Dr Mark C. Sinclair
2a477c6d47
chore(developer): Merge branch 'master' into fix/developer/11833-index-requires-comma-between-parameters-in-kmcmplib-compiler
2024-09-12 09:18:03 +01:00
Marc Durdin
b7810bdd2e
fix(developer): check vars string usage before definition
...
Validation of vars was not properly checking for forward references to
string variables. This, coupled with a null vs undefined bug in
subsequent use, meant that forward reference variables were ending up
with a literal string value of 'undefined'.
This also fixes the test for visual-keyboard-compiler, where the fixture
was actually buggy and was the trigger for investigating this problem.
Fixes : #12403
Relates-to: #12395
2024-09-12 09:18:06 +07:00