Steven R. Loomis
13eed28a36
Merge branch 'feat/core/9468-normalization-epic-ldml' into feat/core/9468-test-improvement-epic-ldml
2023-10-19 14:00:38 -05:00
Steven R. Loomis
9dbf70c94e
fix(core): ldml more updates to normalization per review 🙀
...
- verify marker string as it's popped off
- add a missing pragma to debuglog.h
- move UErrorCode out of ldml_processor, change normalization functions to return true on success
For: #9468
2023-10-18 17:47:56 -05:00
Steven R. Loomis
55bf0642a5
feat(core): add backspace test 🙀
...
- test needs to be "t" not "ta"
For: #9760
2023-10-13 16:56:00 -05:00
Steven R. Loomis
6a62d01481
chore(core): dx: ldml test subselection 🙀
...
- add a filter option to run just one subtest
- support backspace event, revamp test JSON format
For: #9468
2023-10-13 16:45:56 -05:00
Steven R. Loomis
bf15feb116
feat(core): ldml normalization 🙀
...
- fix int -> auto
For: #9468
2023-10-12 19:13:52 -05:00
Steven R. Loomis
95ad1c47e4
feat(core): ldml normalization 🙀
...
- fix unnecessary test churn.
For: #9468
2023-10-12 17:46:41 -05:00
Steven R. Loomis
84b4836bbf
Merge branch 'master' into feat/core/9468-normalization-epic-ldml
2023-10-12 16:59:18 -05:00
Steven R. Loomis
a577bd2f53
feat(core): ldml normalization 🙀
...
- more progress in the normalization pipeline. Trying to keep it from leaking.
- normalize output to NFC.
- normalize json test data to NFC (both context and expected).
- we do NOT try to normalize the 'embedded' strings currently.
- yet more test data fixes (turns out u+00e0 ≠ u+00e8)
For: #9468
2023-10-12 16:57:37 -05:00
Steven R. Loomis
736af4b957
feat(core): ldml normalization 🙀
...
- change more tests to NFD for now
For: #9468
2023-10-12 15:12:25 -05:00
Steven R. Loomis
522d2ef583
feat(core): ldml normalization 🙀
...
- change tests to NFD for now
For: #9468
2023-10-12 10:10:37 -05:00
Marc Durdin
f61e65ceb9
Merge pull request #9736 from keymanapp/chore/merge-master-into-package-metadata
...
chore: merge master into package-metadata
2023-10-11 11:28:07 +11:00
Steven R. Loomis
daa0523dde
feat(core): ldml normalization 🙀
...
- 0 steps forward, 4294967294 steps back
For: #9468
2023-10-10 19:01:14 -05:00
Steven R. Loomis
15e6fb60db
chore(core): dx: improve test output 🙀
...
- colorize ldml test
For: #9468
2023-10-10 17:51:12 -05:00
Steven R. Loomis
8c4642ace3
Merge branch 'master' into feat/core/9468-normalization-epic-ldml
2023-10-10 17:16:42 -05:00
Steven R. Loomis
dcb6796d5b
chore(core): Some failing normalization transform tests 🙀
...
For: #9468
2023-10-09 18:45:17 -05:00
Marc Durdin
db76e2541d
chore: rename KM_KBP_ to KM_CORE_
2023-10-09 14:53:22 +07:00
Marc Durdin
ba5f18defd
chore: rename km_kbp_ to km_core_
2023-10-09 14:53:13 +07:00
Marc Durdin
4ef18f5e29
chore(core): rename keyboardprocessor.h to keyman_core_api.h
...
Fixes #9721 .
Also tweaks some documentation references to keyboardprocessor, but does
not touch those relating to debian/control.
2023-10-09 14:21:01 +07:00
Steven R. Loomis
8f4be0c592
feat(core): more marker 🙀
...
- reenable some tests
For: #9119
2023-10-04 18:45:45 -05:00
Steven R. Loomis
2472a941cf
feat(core): match any marker 🙀
...
- add a regex form that matches any marker
For: #9119
2023-10-04 18:34:20 -05:00
Marc Durdin
693aee5c99
Merge branch 'epic/package-metadata' into chore/merge-master-into-package-metadata
2023-10-04 19:34:16 +11:00
Marc Durdin
e0c2778199
Merge pull request #9644 from keymanapp/chore/merge-master-into-package-metadata
...
chore: merge master into package-metadata 🎺
2023-10-04 03:43:45 +02:00
Marc Durdin
f864f57d8b
Merge pull request #9607 from keymanapp/feat/developer/kmc-package-windows-installer
...
feat(developer): Windows package installer compiler 🎺
2023-10-03 15:35:43 +02:00
Steven R. Loomis
64eaf39bcb
chore(core): use sourcemaps when calling kmc for tests
2023-09-30 18:13:47 -05:00
Steven R. Loomis
5fa99f5314
fix(common): update keyman for removal of vkeys 🙀
...
dropped in upstream CLDR-17093
- missed changes
See #7135
2023-09-28 13:32:02 -05:00
Marc Durdin
6adf58de71
chore(core): update kmc call
2023-09-22 08:22:45 +07:00
Steven R. Loomis
60295cef70
chore(core): ldml update keyboard -> keyboard3 🙀
...
For: #9604
- DOCTYPE fixes (typos) to make the red squiggles go away
2023-09-20 18:56:29 -05:00
Steven R. Loomis
9add2cb99c
chore(core): ldml update keyboard -> keyboard3 🙀
...
For: #9604
- yes, C++ changes also
2023-09-20 18:55:49 -05:00
Steven R. Loomis
8be00cb482
chore(resources): code changes for keyboard to keyboard3 🙀
2023-09-18 19:00:32 -05:00
Steven R. Loomis
0f07caa7d6
feat(core): support \u{…} escapes in test data 🙀
...
#7042
2023-08-24 14:35:41 -05:00
Steven R. Loomis
4c9c7e49cd
feat(resources): add pcm keyboard 🙀
...
- keyman side of https://github.com/unicode-org/cldr/pull/3123
- validating that tests pass
#7042
2023-08-24 14:11:50 -05:00
Steven R. Loomis
09772bb18d
feat(core): regex set mapping support 🙀
...
- passes
- added some utilities on transform_element
- added more validation of transforms
- added tests of utility functions
#9121
2023-08-23 18:13:19 -05:00
Steven R. Loomis
b9bf313129
feat(core): regex set mapping support 🙀
...
- good failing test
2023-08-22 20:10:42 -05:00
Steven R. Loomis
5eec7176c3
chore(resources): ldml update 🙀
...
- re-instate abnt2 keyboard
2023-08-17 14:18:53 -05:00
Steven R. Loomis
75fcc5f3fe
chore(core): regex cleanup 🙀
...
- cache the icu::RegexPattern
- rename USet to avoid a conflict with the real one!
For: #9121
2023-08-10 18:35:06 -05:00
Steven R. Loomis
aecb7c5f5e
feat(core): regex apply-side 🙀
...
- apply side is working using replaceFirst()
- mapTo is a not-yet, that will be a special case
For: #9121
2023-08-09 18:08:25 -05:00
Steven R. Loomis
1aba900b01
feat(core): regex match-side 🙀
...
- match side is working
- lots of string 'schlepping!
For: #9121
2023-08-09 17:45:56 -05:00
Steven R. Loomis
022265e1b8
feat(core): regex 🙀
...
- update more test deps to link with ICU…
For: #9121
2023-08-09 16:27:56 -05:00
Steven R. Loomis
5c38b18395
feat(core): update icu dependencies 🙀
...
- enable icui18n
- .. without breaking anything else in ldml tests
For: #9121
2023-08-08 18:45:03 -05:00
Steven R. Loomis
1472bc56b1
feat(core): regex test 🙀
...
For: #9121
2023-08-08 18:44:27 -05:00
Steven R. Loomis
3db0220f43
feat(core): steps in marker imp 🙀
...
- fix a logic err in vars - premature optimization was skipping when we had markers but no other vars
- update marker output in keys, including to and longpress. TODO-LDML still do not handle markers in lists (longpress, multitap, or flicks). The tests are there but commented out.
For: #9119
2023-08-03 13:26:19 -05:00
Steven R. Loomis
22a65711f9
feat(core): starting in on marker implementation 🙀
...
- with a failing test case, of course
- basic test of markers
For: #9119
2023-08-02 18:56:18 -05:00
Steven R. Loomis
0d3ffbbe57
chore(core): marker - pt-abnt2 broken 🙀
...
- upstream in CLDR is incomplete in marker/transform implementation, disabling for now
#9119
2023-07-29 20:30:59 -05:00
Steven R. Loomis
08787ead56
Merge pull request #9344 from keymanapp/chore/developer-9236-vkey-warning-epic-ldml
...
chore(developer): make unknown vkey a hint, not error 🙀
2023-07-26 13:21:47 -05:00
Steven R. Loomis
2f381279af
chore(developer): make unknown vkey a hint, not error 🙀
...
Note that feat(core): ldml vkey support 🙀 #7135 is future,
in the future this may be an Error again.
- also, add an internal error to the visual-keyboard-compiler on missing keys
- also, update fr-t-k0-azerty to fix a missing key (simultaneous fix has been made in CLDR)
- also, reinstate CLDR's fr-t-k0-azerty - now all 'stock' keyboards build in keyman!
- keep the 'internal' azerty as k_020 - it has some additional transform goodies
Fixes : #9236
2023-07-25 17:52:19 -05:00
Steven R. Loomis
4d9fd28181
feat(core): fix UMR in Uset 🙀
...
- USet struct was depending on the COMP_KEYBOARD_EX (the .kmx data), but was used after load completed during processing
- Change the USet structure to contain a std::list<COMP_KMXPLUS_USET_RANGE> i.e. copying it
- but, while we're at it, added functions to validate that characters are within valid Unicode ranges.
#7375
2023-07-21 11:42:32 -05:00
Steven R. Loomis
7f07f951ae
feat(core): transform/reorder passing tests! 🙀
...
- reorder now handles runs, where a run starts at primary=0
- reorder still returns as if it had matched/altered the entire string
#7375
2023-07-19 18:07:19 -05:00
Steven R. Loomis
9fc62790b9
feat(core): transform/reorder processing a little less broken 🙀
...
#7375
2023-07-19 15:29:38 -05:00
Steven R. Loomis
bc378dcac6
feat(core): move transform processing to u32 🙀
...
- merge code paths…
#7375
2023-07-18 19:16:23 -05:00
Steven R. Loomis
47f75118d4
feat(core): load reorder from kmx+, test case 🙀
...
- load reorder groups and their usets from KMX+
- add a test case matching the nod-Lana spec entry
(the interesting cases commented out for now)
For: #7375
2023-07-12 18:09:53 -05:00