Steven R. Loomis
e9e5665cb8
feat(core): ldml backspace transform 🙀
...
- refactor transform/normalization inner routine
For: #9450
2023-11-16 12:27:23 -06:00
Steven R. Loomis
d0c8ea5c88
feat(core): ldml backspace transform 🙀
...
- refactor keypress some (needs more)
- copypasta implementation of backspace transform
For: #9450
2023-11-16 12:25:15 -06:00
Steven R. Loomis
4bbafa6903
feat(core): marker normalization 🙀
...
- literally a bad assert. the error case is handled below, in fact the unit test tests for it.
- for some reason, assert.h wasn't included in some cases locally.
For: #9468
2023-11-16 12:11:41 -06:00
Steven R. Loomis
e28f35903a
feat(core): marker normalization 🙀
...
- test fix
For: #9468
2023-11-15 17:29:18 -06:00
Steven R. Loomis
5a04a812fa
feat(core): marker normalization 🙀
...
- temporarily remove a backspace test until #9450 is fixed.
For: #9468
2023-11-15 17:09:26 -06:00
Steven R. Loomis
07a4821336
feat(core): marker normalization 🙀
...
- a little further
- couple places where "it wasn't plugged in"
- adding some LDML-TODOs - marker creep
- fixed one unnecessary alloc/dealloc
For: #9468
2023-11-15 17:00:04 -06:00
Steven R. Loomis
2f843d98f3
feat(core): marker normalization 🙀
...
- go back to NFD for the context, for now
- anticipating when the privatecontext is NFD but the public context is NFC
- also update the test cases
For: #9468
2023-11-14 16:36:15 -06:00
Steven R. Loomis
7b481945e6
feat(core): test fix 🙀
...
- fix a cast
- fix some test cases
For: #9468
2023-11-14 07:28:57 -06:00
Steven R. Loomis
78c2ac4aec
feat(core): ldml marker normalization 🙀
...
- refactor out backspace processing into a function.
- for now, just drop any markers in the context when we're lopping off the end
For: #9468
2023-11-14 07:28:41 -06:00
Steven R. Loomis
72830edfad
Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-11-14 07:28:41 -06:00
Steven R. Loomis
a69feb583f
feat(core): ldml marker normalization 🙀
...
- km::kbp is soooo last month!
- test_transforms can run NFD with markers, with some caveats.
For: #9468
2023-11-14 07:28:10 -06:00
Steven R. Loomis
015a738226
feat(core): ldml marker normalization 🙀
...
- add a new remove_markers(std::u32string) function
- add test cases for text utils
- update (failing) test cases for transform
- improve documentation of append process
- support KM_CORE_BT_UNKNOWN in ldml test
- remove_markers with a map
- update normalize test
For: #9468
2023-11-14 07:26:47 -06:00
Steven R. Loomis
255960ecae
feat(core): ldml dx: dump vkey and modifier 🙀
...
For: #9468
2023-11-14 07:26:47 -06:00
Steven R. Loomis
efc8ef022f
feat(core): ldml normalization 🙀
...
- some failing marker tests
For: #9468
2023-11-14 07:26:47 -06:00
Steven R. Loomis
eb705ba312
feat(core): dx: 32 bit Debug_UnicodeString() 🙀
...
For: #10004
2023-11-14 07:17:01 -06:00
Steven R. Loomis
2913ba45a8
fix(common): dx: don't call exit(0) on failure 🙀
...
- always use std::exit(EXIT_FAILURE) if there is an error.
- use --print-errorlogs with meson to show errors to the log
Fixes : #10004
2023-11-14 07:16:32 -06:00
Steven R. Loomis
791a9aea44
Merge pull request #9919 from keymanapp/chore/developer/9838-cldr44-moredata-epic-ldml
...
feat(common): ldml update to WIP cldr data 🙀
2023-11-03 12:29:51 -05:00
Eberhard Beilharz
a5e6966d74
Merge pull request #9877 from keymanapp/chore/linux/9801_apiversion
...
chore(linux): Add Core API version number 🎬
2023-11-03 10:13:48 +07:00
Steven R. Loomis
09411eba33
feat(common): ldml update to WIP cldr data 🙀
...
- bn-bengali with a basic test
- fr-optimise
- note: disabling bengali reorders for now, not working properly due to tertiary reordering feat(core): tertiary reorders 🙀 #9707
For: #9916
2023-11-02 17:44:14 -05:00
Marc Durdin
39fe3f7ddd
Merge pull request #7857 from keymanapp/feature-macos-core
...
epic: Keyman Core for Mac 🍕
2023-10-30 19:30:33 +11:00
Marc Durdin
0e44cfdcaf
Merge pull request #9820 from keymanapp/fix/core/9816-build-test-params
...
fix(core): build: support -t parameter correctly
2023-10-28 17:50:05 +11:00
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
Steven R. Loomis
a45dc5c345
chore(developer): ldml update to prefinal v44 🙀
...
- fix binary size issue
- upstream: issue in abnt2 sample keyboard
For feat(developer): ldml re-sync with CLDR v44 spec 🙀 #9838
2023-10-26 18:21:56 -05:00
Steven R. Loomis
4d358cabda
chore(developer): ldml update to prefinal v44 🙀
...
- utilities for extracting key ids
- more key validation and munging
- touch layout
- fix basic.txt
For feat(developer): ldml re-sync with CLDR v44 spec 🙀 #9838
2023-10-26 12:57:07 -05:00
Eberhard Beilharz
7665ab35aa
chore(linux): Add Core API version number
...
Closes #9801 .
2023-10-26 17:16:06 +02:00
Shawn Schantz
b908c30b2c
Merge branch 'feature-macos-core' into feature/core/add-core-wrapper
2023-10-26 08:41:09 +07:00
Steven R. Loomis
a8e2be5e9e
chore(developer): ldml update to prefinal v44 🙀
...
- more tweaks
For feat(developer): ldml re-sync with CLDR v44 spec 🙀 #9838
2023-10-25 15:40:24 -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
Steven R. Loomis
870cf76049
chore(developer,core): ldml update to prefinal v44 🙀
...
- more data files
For feat(developer): ldml re-sync with CLDR v44 spec 🙀 #9838
2023-10-24 14:56:09 -05:00
Steven R. Loomis
5dbda001fc
chore(common,core): ldml update to prefinal v44 🙀
...
- common passes tests
- updated data files
For feat(developer): ldml re-sync with CLDR v44 spec 🙀 #9838
2023-10-24 14:47:22 -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
cbb708e74d
chore(core): bool to int for cross-platform
2023-10-24 09:48:08 +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
Marc Durdin
835e29363e
fix(core): build: support -t parameter correctly
...
Now allows any of the following. Quote marks are significant for
multiple tests with `-t`:
```bash
core/build.sh test:wasm --no-deps -- state-api debug-api
core/build.sh test:wasm --no-deps -- "state-api debug-api"
core/build.sh test:wasm --no-deps -t "state-api debug-api"
core/build.sh test:wasm --no-deps --test "state-api debug-api"
```
The `-t` / `--test` option takes a single string parameter which is
passed on to `meson test`, whereas the `--` "end of parameters" marker
allows arbitrary remaining parameters to be passed on to `meson test`.
2023-10-22 07:16:52 +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
38e5d34459
chore(linux): Rename namespace
...
Missed a few occurrences that sneaked in after merging with latest master.
2023-10-20 17:28:37 +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