Eberhard Beilharz
2e5e586860
chore(linux): Rename libkmnkbp0-0 package
...
Also removes the temporary libkeymancore/libkmnkbp hack that we put in
for packaging GHA.
Closes #9733 .
2023-10-20 17:31:39 +02:00
Eberhard Beilharz
f4d8529789
chore(linux): rename keyboardprocessor_ldml.* to keyman_core_ldml
2023-10-20 17:30:10 +02:00
Eberhard Beilharz
7369b22599
chore(linux): Merge with chore/linux/9733_RenameLibknmkbp
...
# Conflicts:
# core/src/debuglog.h
# core/src/ldml/ldml_processor.cpp
# core/src/ldml/ldml_transforms.cpp
# core/src/ldml/ldml_transforms.hpp
# core/tests/unit/ldml/ldml.cpp
2023-10-20 12:52:38 +02:00
Eberhard Beilharz
fdc9baadb2
chore(linux): Merge remote-tracking branch 'origin/master' into chore/linux/9733_RenameLibknmkbp
2023-10-20 12:31:14 +02:00
Eberhard Beilharz
a126806597
Update core/src/version.rc
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-10-20 09:34:16 +02:00
Steven R. Loomis
4cdc2c3b54
fix(core): ldml more updates to normalization per review 🙀
...
- reduce function depth
- catch another gotcha (valid was being overwritten)
For: #9468
2023-10-19 17:10:01 -05:00
Steven R. Loomis
1d9820b020
fix(core): ldml more updates to normalization per review 🙀
...
- improve assert failure handling- fix a potential heap leak
For: #9468
2023-10-19 13:33:55 -05:00
Steven R. Loomis
4afe0387d6
fix(core): ldml more updates to normalization per review 🙀
...
- move meat of uassert_success() into an inline
For: #9468
2023-10-19 13:16:03 -05:00
Eberhard Beilharz
604fbc1a75
chore(linux): Rename namespace kbp to core
2023-10-19 10:39:55 +02:00
Eberhard Beilharz
52bb859817
chore(linux): Rename (lib)kmnkbp to (lib)keymancore
2023-10-19 10:35:09 +02:00
Eberhard Beilharz
2f073f7778
chore(linux): Rename KMN_CORE to KM_CORE_LIBRARY
2023-10-19 08:51:29 +02:00
Steven R. Loomis
3723e6b3d7
fix(core): ldml more updates to normalization per review 🙀
...
- consistency
For: #9468
2023-10-18 17:58:05 -05:00
Steven R. Loomis
c4c73611bd
Merge branch 'master' into feat/core/9468-normalization-epic-ldml
2023-10-18 17:55:29 -05:00
Steven R. Loomis
f1b12a1848
fix(core): ldml more updates to normalization per review 🙀
...
- refactor internal normalization call
For: #9468
2023-10-18 17:55:08 -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
Eberhard Beilharz
b5c6f31b05
chore(linux): Rename KBP to CORE
2023-10-18 15:48:21 +02:00
Eberhard Beilharz
141d44a439
Merge pull request #9775 from keymanapp/chore/linux/9733_RenameKbp
...
chore(linux): Rename `kbp_state_get_intermediate_context` to `km_core…` 〽️
2023-10-17 18:04:32 +02:00
Marc Durdin
af3ba1f07d
Merge pull request #9258 from keymanapp/fix/core-drop-newline-in-debug
...
fix(core): don't use double newlines in debuglog
2023-10-17 12:33:56 +11:00
Steven R. Loomis
93e1c18af2
fix(core): ldml update to normalization per review 🙀
...
For: #9468
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-10-16 20:22:52 -05:00
Steven R. Loomis
9ee183c0ee
fix(core): ldml update to normalization per review 🙀
...
- simplify normalize_nfc and normalize_nfd functions
For: #9468
2023-10-16 17:21:39 -05:00
Eberhard Beilharz
965b8e5ecc
chore(linux): Rename kbp_state_get_intermediate_context to km_core_...
...
A previous rename missed this.
2023-10-16 19:39:18 +02: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
e64f59613a
feat(core): ldml normalization 🙀
...
- split out 'process_key_string'
For: #9468
2023-10-12 10:10:51 -05: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
Marc Durdin
db76e2541d
chore: rename KM_KBP_ to KM_CORE_
2023-10-09 14:53:22 +07:00
Marc Durdin
5a3bf77bc5
chore: rename km_kbp_ filenames to km_core_
2023-10-09 14:53:20 +07:00
Marc Durdin
ba5f18defd
chore: rename km_kbp_ to km_core_
2023-10-09 14:53:13 +07:00
Marc Durdin
4e5cbc3b96
chore: fix typo
2023-10-09 14:51:51 +07:00
Marc Durdin
906a0a2ed7
chore: fix typo
2023-10-09 14:41:01 +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
2472a941cf
feat(core): match any marker 🙀
...
- add a regex form that matches any marker
For: #9119
2023-10-04 18:34:20 -05:00
Steven R. Loomis
17eba2d237
feat(developer): scancode and forms 🙀
...
- spec: 'hardware' is no longer an enum but a str.
Ripple effects here.
- custom scancodes and layouts are, interestingly, supported. But it's a warning.
- tests for bad scancodes.
Fixes : #9403
2023-09-30 22:06:39 -05:00
Steven R. Loomis
bdef1c48d3
fix(common): update keyman for removal of vkeys 🙀
...
dropped in upstream CLDR-17093
See #7135
2023-09-28 13:03:44 -05:00
Steven R. Loomis
ab29171b56
fix(core): regex set mapping support 🙀
...
- fix alignment
#9121
2023-08-24 14:09:31 -05:00
Steven R. Loomis
16beb4692b
feat(core): regex set mapping support 🙀
...
- remove a stray #include
#9121
2023-08-23 18:17:53 -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
935dec4304
feat(core): regex set mapping support 🙀
...
- restructured some things, loading and such seems to be in good shape
#9121
2023-08-23 15:03:44 -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
b6855e121f
feat(core): ldml: support <display id=...> in the 'disp' section 🙀
...
- "recent" addition to CLDR DTD
Fixes : #8717
2023-08-18 17:02:35 -05:00
Steven R. Loomis
e5bb22aedd
Merge branch 'master' into feat/core/9121-regex-epic-ldml
2023-08-14 11:17:19 -05:00
Steven R. Loomis
7a312520fb
feat(core): regex cleanup 🙀
...
- restructure to not allocate the Matcher twice, save a little processing
For: #9121
2023-08-11 16:32:09 -05:00
Steven R. Loomis
ad03a5cdcf
chore(core): regex cleanup 🙀
...
- more comments
For: #9121
2023-08-11 15:32:57 -05:00
Steven R. Loomis
548acaaf02
Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-08-11 15:29:17 -05:00
Steven R. Loomis
9f033278d4
feat(core): marker validation 🙀
...
- validate marker number when going in or out of the context
#9119
2023-08-11 15:09:54 -05:00
Steven R. Loomis
36c5b9d55b
Merge branch 'master' into feat/core/9119-marker-avoid-surrogate-cliff-epic-ldml
2023-08-11 15:02:17 -05:00
Steven R. Loomis
b572f60c9e
feat(core): limit max marker to 0xD7FF 🙀
...
- updates per review, off by one in max count
- updated the spec
2023-08-11 15:01:51 -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
4fc15c9175
Merge branch 'feat/core/9119-marker-core-epic-ldml' into feat/core/9121-regex-epic-ldml
2023-08-10 17:28:57 -05:00
Steven R. Loomis
2bf22c440d
feat(core): marker fixes per review comments 🙀
...
- simplify and improve context processing
For: #9119
Co-authored-by: rc-swag <58423624+rc-swag@users.noreply.github.com>
2023-08-10 13:30:29 -05:00
Steven R. Loomis
66ee68d2b3
Apply suggestions from code review
...
Co-authored-by: rc-swag <58423624+rc-swag@users.noreply.github.com>
2023-08-10 09:36:16 -05:00