Commit graph

3957 commits

Author SHA1 Message Date
rc-swag
dbc3338d41 chore: Merge branch 'master' into feat/update-windows-engine-tests 2024-02-05 15:19:03 +10:00
Marc Durdin
e69bfe7e71 chore(windows): remove old code relating to actions lifecycle
After the changes to core in previous commit, Windows no longer needs to
dispose the actions struct. Also refactored the lifecycle of
core_actions to make ownership clearer.
2024-02-05 09:59:47 +07:00
Marc Durdin
aa80992fb8
Merge branch 'feat/windows/use-km-core-actions-struct' into chore/core/10520-hide-old-action-apis 2024-02-05 13:44:36 +11:00
rc-swag
7ad81f9440 feat(windows): revert kmshell.res 2024-02-05 11:03:31 +10:00
rc-swag
50b5d197b3 feat(windows): remove extra debug messages 2024-02-05 11:00:27 +10:00
Marc Durdin
f34976e8c0
Merge branch 'feat/windows/use-km-core-actions-struct' into chore/core/10520-hide-old-action-apis 2024-02-03 09:40:53 +11:00
rc-swag
8f2e0a76eb feat(windows): code comment 2024-02-02 16:55:28 +10:00
rc-swag
d34ba7e527 feat(windows): remove extra debugging 2024-02-02 16:48:09 +10:00
Marc Durdin
1c8ef09378
Merge pull request #10588 from keymanapp/chore/merge-master-into-windows-updates
chore: merge master into windows-updates
2024-02-01 17:31:25 +11:00
rc-swag
2b0950617d feat(windows): add cached actions 2024-02-01 15:11:23 +10:00
Marc Durdin
9ee5777e48 chore(core): move action apis into keyman_core_api_actions.h
Fixes #10520.

The definitions for `struct km_core_action_item`, `struct
km_core_backspace_item`, `enum km_core_backspace_type`, `enum
km_core_action_type`, `km_core_state_action_items()`,
`km_core_state_queue_action_items()`, `km_core_process_queued_actions()`
are now in keyman_core_api_actions.h rather than in the primary
keyman_core_api.h, as they should not be used by engines in general.

The current users of those APIs are the interactive kmx debugger, and
the IMX integration in Keyman Engine for Windows. Both of these depend
on the old action queue model rather than the actions struct.

In a future version, we may refactor these further to make them apply
directly to the KMX processor, and provide access via an interface to
the KMX processor rather than as a general Core API. Once this change is
made, then Core itself will no longer support action queues at all, and
will expect keyboard processors to fill in an action struct (this is
already done for LDML).
2024-01-31 11:32:09 +07:00
rc-swag
118466f6b2 feat(windows): use delete-context for backspace
Use the delete_context memember of the action struct to
check for surrogates and determine the code units to delete.
2024-01-31 10:31:59 +10:00
rc-swag
5ff8092bde chore(windows): Merge branch 'master' into feat/windows/use-km-core-actions-struct 2024-01-31 09:59:12 +10:00
rc-swag
1e554c8804 feat(windows): don't write persisted option back to core
When the action from the core is to persist an option there
is no need to write that value back to the core as it has already
been updated, by the core.
2024-01-30 15:42:17 +10:00
rc-swag
d8c232dc7c feat(windows): refactor to use km_core_actions struct 2024-01-30 14:07:55 +10:00
rc-swag
db18917a63 feat(windows): project file listing updated 2024-01-24 08:00:10 +10:00
rc-swag
e29e212eaf feat(windows): WIP - leave commit so work not lost 2024-01-24 07:58:45 +10:00
Marc Durdin
56a2b9e494
Merge pull request #10450 from keymanapp/chore/merge-master-into-windows-updates
chore: merge master into windows-updates
2024-01-19 17:42:58 +11:00
Marc Durdin
249ed77835
Merge branch 'epic/core/9999-normalization' into chore/merge-master-into-core/9999-normalization 2024-01-19 17:42:40 +11:00
Darcy Wong
799117a6fa chore(common): Update crowdin strings for Khmer 2024-01-17 10:48:15 +07:00
Marc Durdin
671973baab refactor(core): split context API from Core primary API
Relates to #9999.
Fixes #10384.

The context API endpoints should no longer be considered as part of the
standard Core API. The only consumers that have a need to access these
APIs are the IMX integration in Engine for Windows, and the Keyman
Developer Debugger.

These symbols are currently used by Developer:
* `km_core_context` struct
* `km_core_context_type` enum
* `km_core_context_item` struct
* `KM_CORE_CONTEXT_ITEM_END` macro
* `km_core_state_context()`
* `km_core_context_set()`
* `km_core_context_clear()`

These symbols are currently used by Windows IMX:
* `km_core_context` struct
* `km_core_context_type` enum
* `km_core_context_item` struct
* `KM_CORE_CONTEXT_ITEM_END` macro
* `km_core_context_items_dispose()`
* `km_core_context_item_list_size()`
* `km_core_state_get_intermediate_context()`

The following functions and symbols are moving to
keyman_core_api_context.h:
* `km_core_context` struct
* `km_core_context_type` enum
* `km_core_context_item` struct
* `KM_CORE_CONTEXT_ITEM_END` macro
* `km_core_state_context()` function
* `km_core_state_get_intermediate_context()` function
* `km_core_context_set()` function
* `km_core_context_clear()` function
* `km_core_context_get()` function
* `km_core_context_items_from_utf16()` function
* `km_core_context_items_from_utf8()` function
* `km_core_context_items_to_utf8()` function
* `km_core_context_items_to_utf16()` function
* `km_core_context_items_to_utf32()` function
* `km_core_context_items_dispose()` function
* `km_core_context_length()` function
* `km_core_context_append()` function
* `km_core_context_shrink()` function
* `km_core_context_item_list_size()` function
2024-01-17 14:44:25 +11:00
Marc Durdin
7cd7ab3346 refactor(windows): use km_core_state_context_debug
Relates to #10365.
2024-01-15 08:29:27 +07:00
Darcy Wong
0515f5c513 chore(common): Update crowdin for Spanish Latin America 2024-01-12 09:01:38 +07:00
Darcy Wong
f963d77546 chore(common): Update crowdin for German 2024-01-12 08:59:19 +07:00
Marc Durdin
06409e0c0b
Merge pull request #10312 from keymanapp/fix/windows/10308-readme-embedded-images
fix(windows): serve images for readme files in Keyboard Install
2024-01-11 18:39:46 +11:00
rc-swag
8454285557 chore(windows): Merge branch 'feat/windows/add-state-machine-o-updates' into feat/windows/add-apply-now-update 2024-01-11 11:14:02 +10:00
rc-swag
f7744f9a49 feat(windows): mark outstanding issues with feature 2024-01-11 10:41:56 +10:00
rc-swag
3dc3a250ec feat(windows): remove stub comments 2024-01-10 16:42:46 +10:00
rc-swag
2a6a7437f7 chore(windows): Merge branch 'epic/windows-updates' into feat/windows/add-state-machine-o-updates 2024-01-10 16:33:39 +10:00
rc-swag
2eab485c76 feat(windows): Add a installNow event to SM
Added an event for install now when the user wants to manual
start the install process straight away.
2024-01-10 16:23:54 +10:00
Nguonnyny Tan
4dc61300b0
Update character-map.md
add [
2024-01-10 12:23:18 +07:00
rc-swag
9d20067414
Merge pull request #10156 from keymanapp/feat/windows/remove-ui-com-onlineupdate-check
feat(windows): Remove UI com online-update check 📲 💽
2024-01-08 13:27:47 +10:00
Marc Durdin
126a657715 fix(windows): serve images for readme files in Keyboard Install
Fixes #10308.

When a file is requested without a tag parameter, we need to look to
the referer to find out what the tag is, so we can associate it with
the correct readme file.
2024-01-03 14:10:20 +07:00
rc-swag
486586dc8d feat(windows): apply now install for state machine
The event handling needs to be added for all the states
2023-12-22 17:27:40 +10:00
rc-swag
dd5767a372 feat(windows): integrate sm states and handlekmshell 2023-12-22 10:11:32 +10:00
rc-swag
6cb83989d5 feat(windows): WIP added keyman has run atom 2023-12-20 08:14:33 +10:00
rc-swag
bca532972a feat(windows): WIP merge sm 2023-12-14 10:18:56 +10:00
rc-swag
dee525fff4 chore(windows): Merge branch 'feat/windows/remove-ui-com-onlineupdate-check' into feat/windows/add-state-machine-o-updates 2023-12-13 15:50:02 +10:00
rc-swag
947b8299ce feat(windows): WIP 2023-12-13 15:36:42 +10:00
rc-swag
9909eb759a feat(windows): move exception for each file download 2023-12-13 10:36:07 +10:00
rc-swag
92ca7113fc feat(windows): Marking TODOs to be handled in next PR 2023-12-13 09:51:56 +10:00
rc-swag
1ea9bd71a5 feat(windows): Remove the with pattern 2023-12-13 09:35:43 +10:00
rc-swag
a945c08d73
feat(windows): address review comments
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-12-12 16:23:39 +10:00
rc-swag
e83b0022d2 feat(windows): WIP buc sm doesn't build just backup
background update state machine doesn't even build
2023-12-12 16:15:42 +10:00
Marc Durdin
3d5506ef3e chore(windows): move reportExceptions check in exception handler to caller 2023-12-11 20:44:53 +07:00
Marc Durdin
3a91c7d197 chore(developer): move IDEOptions key responsibility into KeymanDeveloperOptions
First part of addressing #10161 is to refactor the existing usage of the
registry values into the common KeymanDeveloperOptions unit. This was
mostly straightforward except for the changes to KeymanSentryClient,
which happens to be the most important part of this particular fix.
2023-12-11 13:48:43 +07:00
rc-swag
ed762c07c9 feat(windows): update XML render to use ucr 2023-12-11 12:06:11 +10:00
Marc Durdin
288b822ca8
Merge pull request #10189 from keymanapp/chore/merge-master-into-windows-updates
chore: merge master into windows-updates
2023-12-11 12:07:10 +11:00
rc-swag
78f75aded9 feat(windows): remove TRemoteUpdateCheckParams
Just using the TUpdateCheckResponse gives us enough detail
for now as we no longer have a UI set which packages to install
2023-12-08 13:25:45 +10:00
rc-swag
d11ee1a1e3 feat: remove tests cases - build not working 2023-12-08 09:55:37 +10:00