Commit graph

27982 commits

Author SHA1 Message Date
Joshua A. Horton
99170862c6 fix(web): pred-text test page path to model 2024-01-19 08:17:44 +07:00
Joshua Horton
706c60e387
Merge pull request #10434 from keymanapp/fix/web/unicode-id-preprocessing
fix(web): U_ key id -> text for all subkeys; is now preprocessed
2024-01-19 08:04:26 +07:00
Joshua Horton
4cbe34f6aa
Merge pull request #10362 from keymanapp/fix/ios/kbd-multi-slide-in
fix(ios): multiple keyboard slide-in animations on app start
2024-01-19 08:02:22 +07:00
Marc Durdin
a26e21aba7 chore(core): address review comments 2024-01-19 08:01:45 +07:00
Joshua Horton
b56c71d09f
Merge pull request #10417 from keymanapp/fix/web/doc-kbd-rendering
fix(web): keyboard-documentation rendering mode
2024-01-19 08:01:14 +07:00
Joshua Horton
9e1d5fe8d2
Merge pull request #10352 from keymanapp/fix/web/keyboard-swap-gesture-cancel 2024-01-19 07:12:51 +07:00
Darcy Wong
4263d8e1c3
Merge pull request #10393 from keymanapp/chore/android/target-sdk-34
chore(android): Update targetSdkVersion to 34
2024-01-19 06:35:31 +07:00
Steven R. Loomis
ae00eda4a0 chore(core): ldml shuffle some deck chairs 🌱
- move the emit_ and context functions into an ldml_event_state object

For #10410
2024-01-18 15:47:15 -06:00
Steven R. Loomis
6e2030b3b8 feat(developer): ldml marker normalization in ts 🙀
- intial parsing

For: #10317
2024-01-18 12:39:19 -06:00
Keyman Server
2b03f8f9ee
Merge pull request #10438 from keymanapp/auto/version-master-17.0.248
auto: increment master version to 17.0.248
2024-01-19 01:11:26 +07:00
Keyman Build Agent
cf244e9b13 auto: increment master version to 17.0.248 2024-01-18 13:10:52 -05:00
Joshua Horton
9e5264b7ea
Update local-renderer.html
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2024-01-19 00:51:49 +07:00
Steven R. Loomis
0f5dbd2b68
Merge pull request #10391 from keymanapp/feat/developer/10319-remove-old-escape-epic-ldml
chore(developer,core): change sample and test files to use \u{…} 🙀
2024-01-18 10:38:05 -06:00
Steven R. Loomis
215bbfc4ac
Merge pull request #10356 from keymanapp/feat/core/10319-escaping-you-epic-ldml
feat(core): unescape u 🙀
2024-01-18 10:37:36 -06:00
Steven R. Loomis
973cf5d044 feat(core): ldml use action struct in tests 🌱
- clarify warnings in ldml.cpp for assertions we are skipping for now
- remove unused parameter

For: #10410
2024-01-18 08:48:50 -06:00
Steven R. Loomis
8095977bec feat(core): ldml action struct test runner changes 🌱
- change ldml test suite, with TODOs
- backspace validation is different, as we don't know the expected char.

For: #10410
2024-01-18 22:55:06 -06:00
Steven R. Loomis
4c322ddb8a feat(core): ldml action struct 🌱
- update km_core_actions.output to be a const*
- for now, call state->actions().commit() from ldml_event_state::commit()

For: #10410
2024-01-18 22:26:46 -06:00
Steven R. Loomis
20a13fa682 feat(core): ldml attempt to use action struct 🌱
- not quite working

For: #10410
2024-01-18 17:00:04 -06:00
Steven R. Loomis
16d641fc3b feat(developer): ldml marker normalization in ts 🙀
- scaffolding and tests

For: #10317
2024-01-18 05:43:44 -06:00
Steven R. Loomis
64c808c4cc feat(core): ldml marker segments: fix build errs 🙀
- remove unused function

For: #10369
2024-01-18 02:54:55 -06:00
Steven R. Loomis
f9831377a3
Merge branch 'master' into feat/core/10369-marker-sequence-again-epic-ldml 2024-01-18 14:40:31 -06:00
Steven R. Loomis
2c56223f53 feat(core): ldml marker: improve segment algorithm 🙀
- easier to understand loop
- comments

For: #10369
2024-01-18 14:39:10 -06:00
Steven R. Loomis
3ccffe9430 feat(core): ldml marker: refactor, use nfd props 🙀
- split out parse_next_marker()
- use NFD safe boundaries to segment marker interaction

For: #10369
2024-01-18 13:51:40 -06:00
Joshua A. Horton
9bbfc4667f fix(web): osk responsiveness to held modifiers on legacy kbds 2024-01-18 15:45:25 +07:00
Marc Durdin
2b02d73347 feat(developer): New LDML Keyboard Project form
Fixes #10135.

Adds a new LDML Keyboard Project template and form, and allows
instantiation from kmconvert command-line and from the New Project
dialog in Keyman Developer IDE.
2024-01-18 15:19:41 +07:00
Joshua A. Horton
dc368c9168 fix(web): U_ key id -> text for all subkeys; is now preprocessed 2024-01-18 12:56:21 +07:00
Marc Durdin
91f5177e0c
chore(linux): update symbols 2024-01-18 16:41:15 +11:00
Marc Durdin
83f80c061a refactor(core): remove unused context APIs
Fixes #10431.

The `km_core_` prefix has been removed from internal-only functions, and
these function declarations moved to context.hpp.

The functions have not been moved from km_core_context_api.cpp at this
stage.

Rewrote the function documentation in Javadoc style comments for the
internal use functions.
2024-01-18 12:18:07 +07:00
Joshua Horton
f6e87ef798
Merge pull request #10337 from keymanapp/fix/ios/banner-image-timing
fix(ios): banner image management
2024-01-18 12:16:58 +07:00
Joshua A. Horton
b429a0cabb fix(web): better _legacyLayoutSpec filtering 2024-01-18 12:12:19 +07:00
Joshua A. Horton
d8767b1bee chore(web): error handling 2024-01-18 11:05:23 +07:00
Joshua A. Horton
1e6a83ab32 docs(web): child project readme update 2024-01-18 10:57:12 +07:00
Joshua A. Horton
21266dd109 feat(web): bulk_render variant - loads and renders keyboards from local KMP 2024-01-18 10:53:32 +07:00
Marc Durdin
c6acf86629
Merge pull request #10419 from keymanapp/chore/core/10410-ldml-just-say-no-to-action-queues
chore(core): ldml assert if queue functions are called 🌱
2024-01-18 14:47:04 +11:00
Marc Durdin
293a7a5bbe
Merge pull request #10402 from keymanapp/chore/mac/9999-remove-legacy-action-items-references
chore(mac): remove legacy Core action items references 🌱
2024-01-18 14:46:54 +11:00
Marc Durdin
d1e1bafd50
Merge pull request #10401 from keymanapp/refactor/core/9999-split-context-apis
refactor(core): split context API from Core primary API 🌱
2024-01-18 14:46:45 +11:00
Marc Durdin
93b46b7710
Merge pull request #10398 from keymanapp/refactor/mac/9999-remove-legacy-context-api-calls
refactor(mac): remove legacy Core context API calls 🌱
2024-01-18 14:46:38 +11:00
Marc Durdin
eece9716b7 refactor(core): additional comments 2024-01-18 10:42:18 +07:00
Marc Durdin
8b3c247520 chore(core): add surrogate pair tests to test_actions_normalize
Fixes #10424.
2024-01-18 09:48:29 +07:00
Marc Durdin
63574f8513 chore(core): add assertions to context helpers 2024-01-18 09:31:13 +07:00
Marc Durdin
b3261b8dc4 refactor(core): move context helpers to a new module
Fixes #10423.
2024-01-18 09:26:58 +07:00
Joshua A. Horton
d58260b4d6 fix(web): bulk renderer interface for recent-version targeting keyboards 2024-01-18 09:17:47 +07:00
Marc Durdin
3878394787 chore(core): remove todo comment 2024-01-18 08:53:55 +07:00
Marc Durdin
425ebe36b0 feat(core): synchronize app_context for non-normalizing keyboardprocessors
Fixes #10421.
2024-01-18 08:52:59 +07:00
Marc Durdin
4ab47ea435 chore(core): further debug assertions for actions_normalize 2024-01-18 08:39:53 +07:00
Marc Durdin
823120b0c4 chore(core): simplify input assumptions for actions_normalize
Per discussion in #10422, we can assume that input cached_context is
always NFD. However input actions->output may not start at a
normalization boundary, so we still need to backtrack to a normalization
boundary in order to get our NFC output. But cached_context never need
change.

This makes no change to the algorithm, but tweaks some of the unit tests
to adhere to this input assumption.

Note: we could consider adding a debug assertion that cached_context is
NFD.
2024-01-18 08:25:15 +07:00
Steven R. Loomis
7bc8831267 feat(core): updates to add_back_markers 🙀
- support out-of-order re-adding
- test for updated marker map
2024-01-17 19:04:11 -06:00
Steven R. Loomis
2e46bfea81 chore: reformat 2024-01-17 19:04:05 -06:00
Steven R. Loomis
990635eb09 feat(core): WIP attempt at cross segment markers 🙀
#10369
2024-01-17 19:03:43 -06:00
Steven R. Loomis
e4e7d9fd27
Merge branch 'feat/core/10319-escaping-you-epic-ldml' into feat/developer/10319-remove-old-escape-epic-ldml 2024-01-17 18:49:50 -06:00