Commit graph

3787 commits

Author SHA1 Message Date
Dr Mark C. Sinclair
2f7096a810 chore(developer): add ten test cases on virtual key qualifiers 2024-10-10 10:47:18 +01:00
Marc Durdin
473fea9be0
Merge pull request #12464 from keymanapp/fix/developer/12454-use-richedit-for-debugger-memo
fix(developer): use richedit in debug memo to support Egyptian cartouches
2024-10-09 09:49:21 +02:00
Marc Durdin
76ebb5b02b
Merge branch 'master' into feat/common/12347-check-markdown-links 2024-10-09 05:16:31 +02:00
Marc Durdin
016a6f0225 chore(common): address review comments 2024-10-09 08:12:21 +07:00
Marc Durdin
e208d56419 fix(developer): use RichEdit 4.1 for debugger memos
Adds support for using RichEdit 4.1, and sets the richedit control into
the correct mode for rendering arbitrary Unicode correctly. Removes
some unnecessary per-character refresh for improved performance.

Fixes: #12454
2024-10-08 14:21:22 +07:00
Steven R. Loomis
9a4c7e5820 feat(developer): fast-xml-parser: typo fix in xml-utils.ts
Fixes: #12208
2024-10-07 13:05:50 -05:00
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
Marc Durdin
2e059e9730
Merge branch 'master' into feat/common/12347-check-markdown-links 2024-10-07 09:41:45 +02:00
Marc Durdin
2b7ceff3e1 chore(developer): add baseline tests for bcp47 codes to kmc-package
Relates-to: #12012
2024-10-07 14:27:15 +07:00
Steven R. Loomis
03a24a1506 feat(developer): fast-xml-parser: fix for ldml empty attributes
- because of the form to="" in ldml, we need to distinguish attributes and sub-elements in the ldml xml parsing
- use an attributePrefix, and fixup the object tree afterwards

Fixes: #12208
2024-10-03 12:41:08 -05:00
Steven R. Loomis
6c0d240e09
Merge branch 'master' into feat/common/12208-fast-xml-parser3 2024-10-03 11:04:11 -05: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
Steven R. Loomis
3e168aafb2 chore(developer,common): deps: xml2js / fast-xml-parser
- remove vendored xml2js
- add fast-xml-parser@4.5.0
- Rewire the KeymanXMLReader / KeymanXMLWriter to use fast-xml-parser

Four small changes to the test data on the generated .kvks:
- allow " for XML generation (" is legal)
- use the same XML prologue as the actual .kvks files.
- treat <key></key> as <key/> since we can't distinguish
  (removed a "_": "" entry)
- remove whitespace because we now can ("_": "\n  \n \n") on non-leaf nodes.
  This is ignored by the kvks code, but was difficult to maintain roundtrip.

Fixes: #12208
2024-10-03 08:34:24 -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
Darcy Wong
a85b701aed docs(developer): Fix image links in help 2024-09-30 15:28:08 +07:00
Marc Durdin
da8bad708e
Merge pull request #12478 from keymanapp/fix/developer/12476-warn-before-importing-over-touch-layout
fix(developer): warn before importing over touch layout
2024-09-28 04:34:31 +02:00
Marc Durdin
2d21b21135
Merge pull request #12427 from keymanapp/refactor/developer/12347-move-help-in-repo
refactor(developer): copy dev 17.0 help into repo
2024-09-28 04:34:13 +02: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
09979861ea chore(developer): fix kmc-generate test fixtures 2024-09-26 17:18:35 -07:00
Marc Durdin
58868474b1 chore(developer): cleanup targets and generated files in kmc-generate 2024-09-26 17:12:49 -07:00
Marc Durdin
025b9ed01f chore(developer): update eslint config path 2024-09-26 14:20:47 -07:00
Marc Durdin
10e4bba100
Merge branch 'master' into feat/developer/kmc-generate 2024-09-26 18:55:20 +02: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
640d3e5096 test(developer): add markdown link check test for product documentation
Adds check-markdown package that parses .md files, looks for links and
images, and verifies that they are valid links (for internal links).
2024-09-25 15:51:32 -07:00
Marc Durdin
87db5fbf9d chore(developer): fixup missing documentation images 2024-09-25 15:51:00 -07:00
Marc Durdin
18d31a86c8
Merge branch 'refactor/common/12347-reorg-help' into refactor/developer/12347-move-help-in-repo 2024-09-26 00:47:11 +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