Commit graph

24978 commits

Author SHA1 Message Date
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
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
Steven R. Loomis
9e828b1369
Merge branch 'master' into feat/core/10319-escaping-you-epic-ldml 2024-01-17 18:49:26 -06:00
Steven R. Loomis
b6a6b7e6b8 feat(core): ldml fix test case and parser 🙀
For: #10319
2024-01-17 18:32:39 -06:00
Steven R. Loomis
d08e7051cf feat(core): ldml updates per code review 🙀
- don't try to remove irregular sentinel sequences
- update test

For: #10319
2024-01-17 18:34:56 -06:00
Steven R. Loomis
763bc96739 feat(core): ldml updates per code review 🙀
- remove stray change to kmx_processevent.cpp
- fix escaping of syntax chars
- fix comment per review

For: #10319
2024-01-17 18:05:28 -06:00
Steven R. Loomis
792329fba0
chore(core): tag unused args 2024-01-17 17:30:48 -06:00
Steven R. Loomis
f484615450 chore(core): ldml don't use queue action functions 🌱 2024-01-17 16:16:56 -06:00
Keyman Server
68f9200e8a
Merge pull request #10418 from keymanapp/auto/version-master-17.0.247
auto: increment master version to 17.0.247
2024-01-18 01:03:43 +07:00
Keyman Build Agent
664171572e auto: increment master version to 17.0.247 2024-01-17 13:03:12 -05:00
sgschantz
6134dcb1fb remove XCGLogger from Keyman, replacing with calls directly to os_log API 2024-01-17 16:06:41 +07:00
Joshua A. Horton
f759ecef76 fix(ios): replicates TextView fix in TextField 2024-01-17 15:59:48 +07:00
Joshua A. Horton
51d5c87720 fix(web): keyboard-documentation rendering mode 2024-01-17 15:52:23 +07:00
Joshua Horton
71f8e5143a
Merge pull request #10406 from keymanapp/fix/web/coerce-trig-zeroes
fix(web): right-flick gesture-preview positioning
2024-01-17 14:45:01 +07:00
Eberhard Beilharz
e5387f3443
Merge pull request #10409 from keymanapp/docs/linux/10405_CoreApiVerificationDoc
docs(linux): Add documentation for Core API verification
2024-01-17 08:16:31 +01:00
Eberhard Beilharz
abc0e7c37e
Fix typo
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-01-17 08:16:17 +01:00
Darcy Wong
37bd9c09d6 docs(android): Add additional changes 2024-01-17 14:01:33 +07:00
Darcy Wong
3c0dbb4b3b
Merge pull request #10399 from keymanapp/darcywong00-patch-1
docs(common): Update website README.md
2024-01-17 13:52:30 +07:00
Darcy Wong
cf6a69be12
Merge pull request #10411 from keymanapp/chore/crowdin/km
chore(common): Update crowdin strings for Khmer
2024-01-17 13:51:57 +07:00
Marc Durdin
39f081391e chore(core): dedup set_context_from_string 2024-01-17 13:05:11 +07:00
Marc Durdin
7218f93ca9 chore(core): test typos 2024-01-17 12:07:38 +07:00
Joshua A. Horton
2296c9f4f4 change(web): inlined srcmaps only for debug, not release 2024-01-17 12:02:27 +07:00
Joshua A. Horton
5a0a79e93b chore(web): inlines app/webview sourcemap b/c Android WebView inspection reqt 2024-01-17 11:38:02 +07:00
Joshua A. Horton
bbf6ea5b20 chore(web): normalizes worker source paths in srcmap 2024-01-17 11:37:54 +07:00
Marc Durdin
40f0839a4a chore(core): remove bogus test_color.h inclusion 2024-01-17 11:03:42 +07:00
Darcy Wong
799117a6fa chore(common): Update crowdin strings for Khmer 2024-01-17 10:48:15 +07:00