Steven R. Loomis
f72c571696
Merge branch 'master' into chore/developer/9838-cldr44-epic-ldml
2023-10-26 18:38:14 -05:00
Steven R. Loomis
d349959dea
chore(core): ldml update to prefinal v44 🙀
...
- drop name section
- drop flick flags
- drop normalization,add name to meta
- debug printf fix
- assertion fix for display
For feat(developer): ldml re-sync with CLDR v44 spec 🙀 #9838
2023-10-26 18:35:55 -05:00
Marc Durdin
8475b68248
feat(core): make persist_options always point to a valid array
2023-10-25 05:46:43 +07:00
Marc Durdin
8223792404
chore(core): rename kbp to core
2023-10-25 05:30:22 +07:00
Steven R. Loomis
1ff2bfc4d7
chore(developer,common,core): ldml update to prefinal v44 🙀
...
- more data file updates
- now updating some developer files
- updating the KMX+ spec with some changes.
(vkey was dropped in #7135 , remove it from the spec)
For feat(developer): ldml re-sync with CLDR v44 spec 🙀 #9838
2023-10-24 17:28:08 -05:00
Marc Durdin
82177013e9
chore(core): Merge branch 'master' into feat/core/9720-actions-apis
2023-10-24 20:55:10 +07:00
Marc Durdin
40ca1d1ed8
chore(core): address review comments
2023-10-24 20:53:44 +07:00
Marc Durdin
69e92f312a
chore(core): rename to code_points_to_delete
2023-10-24 13:46:52 +07:00
Marc Durdin
243d1a8417
chore(core): cross-platform differences again
2023-10-24 12:33:52 +07:00
Marc Durdin
cd428ae412
feat(core): address review comments
...
* Renamed various functions and types
* Clarified return values
* Updated doc comments
2023-10-24 12:22:34 +07:00
Marc Durdin
0aa86501c6
chore(core): fix types and compile errors
...
Fixes #9832 . Addresses a couple of other cross-platform compile issues.
2023-10-24 09:25:08 +07:00
Marc Durdin
051e9f2b4d
chore(core): c++ ftw
2023-10-23 15:16:59 +07:00
Marc Durdin
61330ba06d
feat(core): new actions APIs
...
Fixes #9720 .
Note: this will deprecate a number of Keyman Core APIs -- pretty much
all existing action and context APIs. Deprecation marks will come in a
follow-up commit.
2023-10-23 15:01:55 +07:00
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
b177df2ceb
Merge pull request #9794 from keymanapp/chore/linux/9733_RenameDefines
...
chore(linux): Rename KBP to CORE 〽️
2023-10-20 12:29:24 +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