Marc Durdin
4838ba1ffe
chore: rename kmc-keyboard to kmc-ldml
...
Part of #8719 .
2023-05-09 14:08:45 +07:00
Steven R. Loomis
07392ed460
feat(developer): update tests and reader for transforms 🙀
...
- not working yet, but 'update' some XML
for #7377
2023-04-27 12:21:03 -05:00
Steven R. Loomis
f7499238a2
fix(core): ldml more TODO-LDML fixes 🙀
...
- drop some TODO-LDMLs, document others.
For: #8069
2023-03-14 18:54:28 -05:00
Steven R. Loomis
812fd1713a
spec(core): ldml tests for either shift/ctrl/alt 🙀
...
- lookup needs to handle either/neither/both cases for alt and ctrl
- and a bug in the test runner: would 'pass' if failed on exactly line 256 (0x100 & 0xFF == 0)
#7533
2023-03-02 17:13:47 -06:00
Steven R. Loomis
f7b2530f33
spec(core): ldml update spec for either shift/ctrl/alt 🙀
...
- match Keyman constanats
#7533
2023-02-25 08:20:12 -06:00
Steven R. Loomis
77a76a2f54
fix(developer): ldml TODO-LDML cleanup 🙀
...
- add check for missing flicks
- remove a tray #include
chore(common): ldml TODO-LDML cleanup 🙀 #8069
2023-02-24 18:55:28 -06:00
Steven R. Loomis
e1e5eea469
feat(core): ldml rename key2 to keys 🙀
...
- So in summary, since before #7532 basically keys was restructured, and the old 'keys' was moved into 'keys.kmap'.
#8069
2023-02-20 17:40:34 -06:00
Steven R. Loomis
8ea87aa828
feat(common): ldml: merge keys into key2 🙀
2023-02-16 12:29:19 -06:00
Steven R. Loomis
bf15661fd0
spec(core): ldml: merge keys into key2 🙀
...
- rename keys to key2.kmap (vkey+mod -> key)
- drop key2.keys.vkey
#7042
2023-02-16 12:02:08 -06:00
Steven R. Loomis
ac2366f460
feat(core): ldml C++ updates to modifiers 🙀
...
- spec: change caps value to 0x100 #7533
- add a 'mod_all' for validating valid modifier keys, plus tests
- add asserts on C++ side mapping modifiers to keyman constants
- use 'mod_all' to validate modifiers
- further fix modifier -> mod in binary
For: #7985 and related to #7533
2023-02-14 09:23:03 -06:00
Steven R. Loomis
7983fd9609
fix(developer): ldml spec: layr…mod needs to be a bitfield 🙀
...
- layr.layers.layer.mod needs to be a bit field just as keys.key.mod
Related to #7533
2023-02-14 09:23:03 -06:00
Steven R. Loomis
7c02ab85af
feat(core): ldml C++ feature support 🙀
...
- make ldml.cpp print FAILED on failure especially because of https://github.com/microsoft/vscode-cpptools/issues/487
- add vkey validation (#7135 )
- add disp validation
- fix: a latent bug in disp! disp.count was === vkey.count, oops. Fix and test cases.
For: #7985
2023-02-14 09:23:03 -06:00
Steven R. Loomis
5e445b32a1
feat(developer): ldml: modifier key updates 🙀
...
- per review comments
- drop opt, cmd, and shiftL/shiftR
For: #7533
2023-02-06 15:47:18 -06:00
Steven R. Loomis
af10312f84
feat(common): ldml modifier support 🙀
...
- spec: update spec for layr.mod field
- core/include/ldm: update constants
- bitfield modelled after s_modifier_names[] / LCTRLFLAG etc.
- new test case k_004_tinyshift, also update k_010_mt
- update const builder to ignore all *_map properties
- split utility out to utils, add test
For: #7533
(cherry picked from commit 0346bea488 )
2023-02-03 18:54:22 -06:00
Steven R. Loomis
1d7e0d1922
Merge pull request #8030 from keymanapp/spec/core/7986-hardware-enum-epic-ldml
...
spec(core): ldml: make hardware be an enum 🙀
2023-01-26 14:05:26 -06:00
Steven R. Loomis
5cf1a1fad3
spec(core): ldml: make hardware be an enum 🙀
...
- drop layers.flags as unneeded
- defer to UTS35 for hardware definitions
For: #7986
2023-01-18 18:20:08 -06:00
Steven R. Loomis
8a579a1650
Merge pull request #7992 from keymanapp/feat/core/7984-cxx-assert-on-invalid-epic-ldml
...
fix(core): ldml: add asserts to C++ 🙀
2023-01-18 08:58:34 -06:00
Steven R. Loomis
e58669008a
feat(core): ldml: Drop all padding: common,core 🙀
...
- not even 32 bit padding
For: #7987
2023-01-16 19:22:34 -06:00
Steven R. Loomis
c0541c40c7
spec(core): ldml: make hardware be an enum 🙀
...
For: #7986
2023-01-16 19:07:05 -06:00
Steven R. Loomis
fbbed6d970
spec(core): ldml: Drop padding 🙀
...
- only guarantee is 32 bit alignment
- also note a cross ref TODO for #7533
For: #7987
2023-01-09 15:08:11 -06:00
Steven R. Loomis
57d4dfea75
Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-01-07 22:46:41 -06:00
Steven R. Loomis
2f44780e87
fix(core): ldml: add asserts to C++ 🙀
...
- found a logic bug in kmx_plus.cpp
Fixes #7984
2023-01-06 16:54:24 -06:00
Steven R. Loomis
564f98cc30
Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-01-06 11:46:17 -06:00
Steven R. Loomis
343f234a8e
feat(core): ldml: updates to basic.txt and builders 🙀
...
- strs and ALL TESTS pass
For feat(developer): ldml: include all LDML data in kmx+ 🙀 #7532
2022-12-20 19:16:41 -06:00
Steven R. Loomis
2d7aa026af
feat(core): ldml: updating guide updates 🙀
...
- update notes on updating fixtures
For feat(developer): ldml: include all LDML data in kmx+ 🙀 #7532
2022-11-29 18:05:04 -06:00
Steven R. Loomis
e5ec3cbb6a
feat(core): ldml: spec updates 🙀
...
layr.keys is now a list of string ids
For feat(developer): ldml: include all LDML data in kmx+ 🙀 #7532
2022-11-25 18:01:41 -06:00
Steven R. Loomis
273075c1f3
feat(core): ldml: updates to layr compiler 🙀
...
- layr compiler working
For feat(developer): ldml: include all LDML data in kmx+ 🙀 #7532
2022-11-25 15:55:11 -06:00
Steven R. Loomis
8b77d1f764
feat(core): ldml: make sect builder an object 🙀
...
- remove one hardcoded list
For feat(developer): ldml: include all LDML data in kmx+ 🙀 #7532
2022-11-23 15:25:51 -06:00
Steven R. Loomis
e0dcb30b51
spec(core): ldml: more document KMXPlus update process 🙀
...
- add some comments to kmx-plus.ts
For feat(developer): ldml: include all LDML data in kmx+ 🙀 #7532
2022-11-22 19:11:53 -06:00
Steven R. Loomis
2d05c8f379
spec(core): ldml: document KMXPlus update process 🙀
...
For feat(developer): ldml: include all LDML data in kmx+ 🙀 #7532
2022-11-22 18:45:33 -06:00
Steven R. Loomis
3496939073
feat(core): ldml: steps for list/key2 🙀
...
- update kmx-plus.ts for key2 and list sections
- add tests for key2
- TODO: binary write, basic fixture, layr
For feat(developer): ldml: include all LDML data in kmx+ 🙀 #7532
2022-11-22 18:39:25 -06:00
Steven R. Loomis
bccb64c911
feat(core): ldml: kmx-plus.ts for layr/key2/list 🙀
...
- update kmx-plus for layr/key2/list
For #7532
2022-11-17 15:37:25 -06:00
Steven R. Loomis
06308a26da
feat(core): ldml: spec: correct length of list 🙀
...
For #7532
2022-11-17 14:17:07 -06:00
Steven R. Loomis
b639d80a01
feat(core): ldml: spec: correct padding key2 🙀
...
- also document key2.flicks.flags
For #7532
2022-11-16 19:05:14 -06:00
Steven R. Loomis
34013b3fe9
feat(core): ldml: spec, add 'list' section, others 🙀
...
- multiTap
- flicks
- longPress
New 'list' section for string lists
For #7532
2022-11-10 18:24:11 -06:00
Steven R. Loomis
57648d87a2
fix(core): ldml: spec WIP 🙀
...
For #7532
2022-11-07 15:30:23 -06:00
Steven R. Loomis
d2546060d5
Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-11-07 11:26:09 -06:00
Steven R. Loomis
670791d3a9
fix(core): ldml spec typo
2022-11-04 15:28:26 -05:00
Steven R. Loomis
a9daefb293
feat(core): ldml: updates to C7043.1 spec 🙀
...
- merge all but the kitchen sink into layr element :)
- update numbers
2022-11-04 13:24:05 -05:00
Steven R. Loomis
f140093088
Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-11-02 13:09:35 -05:00
Steven R. Loomis
c191fc7cc7
feat(core): ldml: updates to C7043.1 spec 🙀
...
merge layr into lyrs
2022-10-28 18:28:18 -05:00
Steven R. Loomis
87dc1f79bb
feat(core): ldml: updates to C7043.1 spec 🙀
...
- add layers, rows, display
- draft status
2022-10-28 18:28:18 -05:00
Marc Durdin
920d22795c
chore(core): additional cleanup
2022-10-21 15:33:09 +11:00
Steven R. Loomis
66a5cdb1f9
chore(developer): ldml: update tools and data for keyboard-preview 🙀
...
- update tooling in common and kmc
- update spec
- update test files
2022-10-18 11:32:41 -05:00
Steven R. Loomis
fc554c4901
fix(core): xstring/utf32 review feedback
...
For: #7418
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2022-10-13 17:05:39 -05:00
Steven R. Loomis
ab0f2c1b24
feat(core): ldml: basic transforms, utf32 fixes 🙀
...
for #7234
2022-10-12 19:31:05 -05:00
Steven R. Loomis
8127ec60d2
chore(core): ldml: transforms: documentation 🙀
...
- update per review comments
for #7234
2022-10-12 19:29:38 -05:00
Steven R. Loomis
5a6389deb8
feat(core): ldml: basic transforms, again 🙀
...
- new test file for transforms
- new class, ldml_transforms
for #7234
2022-10-12 19:29:37 -05:00
Steven R. Loomis
8a6b4a7fd4
feat(core): ldml: Use new UTF-16 to UTF-32 function 🙀
...
- also a test case with a 🙀 key on the tiny keyboard
For #7418
2022-10-12 19:26:42 -05:00
Steven R. Loomis
5970a46f87
fix(core): ldml: ldml_vkeys: fix for namespace 🙀
...
for #7234
2022-10-12 17:30:49 -05:00