Commit graph

718 commits

Author SHA1 Message Date
Shawn Schantz
8ca774ba25
use bullet list
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-02-20 09:10:00 +07:00
sgschantz
21d99f3b2b updated with changes for 17 2024-02-19 13:48:45 +07:00
Marc Durdin
1b88ab99be fix(core): make km_core_state_get_actions() idempotent
Fixes #10582.

Returned struct from the `km_core_state_get_actions()` API is now owned
by the state object. This is a change in API contract. The corresponding
`km_core_actions_dispose()` API has been made private, because there is
never any need for API consumers to call it. As this change is happening
in alpha, we won't bump the ABI version.

`state->app_context` is now guaranteed to be in sync with
`state->context` after `km_core_process_event()`, with the actions
struct populated at that point.

The next and final step in this refactor is to remove the actions queue
altogether from the Core and make that a kmn-only concept, but that will
wait until 18.0. The only consumers of the actions queue are the
kmn-specific interactive debugger in Keyman Developer, and kmn-specific
Input Method eXtensions in Keyman Engine for Windows.
2024-02-01 11:28:08 +07: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
cf2d6c4244 chore(mac): remove legacy Core action items references
Relates to #9999.
2024-01-17 14:44:34 +11:00
Marc Durdin
823b7722a0 refactor(mac): remove legacy Core context API calls
Relates to #9999.
2024-01-17 14:44:07 +11:00
Marc Durdin
c8ee73321b
chore: Apply suggestions from code review 2024-01-16 13:33:00 +11:00
Marc Durdin
e853a6859a chore(mac): another test typo 2024-01-15 19:51:56 +07:00
Marc Durdin
8334325316 chore(mac): typo in test 2024-01-15 15:49:41 +07:00
Marc Durdin
6aef3090e0 chore(mac): missing square brackets 2024-01-15 13:39:41 +07:00
Marc Durdin
6999b248bd chore(mac): update one more test 2024-01-15 13:26:43 +07:00
Marc Durdin
aea95c4f9d chore(mac): use only debug context functions 2024-01-15 13:12:15 +07:00
Marc Durdin
a1fbbd1ab5 refactor(mac): remove unused context calls 2024-01-15 08:39:30 +07:00
Eberhard Beilharz
67cf76362d
Merge pull request #10354 from keymanapp/refactor/linux/10212_set-context
refactor(linux): Use `km_core_state_context_set_if_needed`
2024-01-12 08:54:21 +01:00
Marc Durdin
9830f9ea24 refactor(core): use km_core_state_context_clear where possible
Relates to #10365.

Use `km_core_state_context_clear()` instead of `km_core_context_clear()`
as part of eliminating use of `km_core_state_context()`.
2024-01-12 12:05:00 +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
Darcy Wong
f839220b1a chore(mac): Update crowdin for French 2024-01-12 08:57:32 +07:00
Shawn Schantz
904f815653
Merge pull request #10275 from keymanapp/fix/mac/10273-persist-options
fix(mac): write persisted options returned from Core
2024-01-08 09:00:07 +07:00
Shawn Schantz
54989ef8e2
Merge pull request #10282 from keymanapp/fix/mac/10247-compliance-detection-upgrade
fix(mac): Improve detection of non-compliant apps
2023-12-20 09:56:49 +07:00
Shawn Schantz
a42a2f0d38
comment cleanup
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2023-12-19 15:48:50 +07:00
sgschantz
e34cc9c49f remove Atom editor from hard-coded non-compliant list 2023-12-19 15:26:11 +07:00
sgschantz
e62dd67273 comment changes 2023-12-19 12:47:41 +07:00
rc-swag
1cb288144c chore(core): Merge branch 'master' into fix/core/clear-core-context-invalidate 2023-12-19 09:13:43 +10:00
sgschantz
ccee68cf13 load persisted options and enable unit test 2023-12-18 15:50:39 +07:00
sgschantz
af850007cc fix unit tests for core update 2023-12-18 09:09:07 +07:00
sgschantz
5019904932 recalculate compliance on context change, improve auto detection of compliance 2023-12-15 15:11:41 +07:00
Shawn Schantz
55f69ae734
Merge pull request #10066 from keymanapp/chore/mac/use-core-actions-struct
chore(mac): use core actions struct
2023-12-14 11:58:34 +07:00
Shawn Schantz
4b5495e41b
Update mac/Keyman4MacIM/Keyman4MacIM/KeySender.m
add guard clause

Co-authored-by: Marc Durdin <marc@durdin.net>
2023-12-14 11:57:13 +07:00
sgschantz
71d4710d89 changes for review comments 2023-12-13 15:40:16 +07:00
Marc Durdin
fb2fbd2684 chore(mac): eval and non-eval codesign 2023-12-13 13:14:55 +07:00
Marc Durdin
789849a3b3 chore(mac): tweak codesign call 2023-12-13 12:28:43 +07:00
Marc Durdin
2b61bb8f47 fix(mac): improve code signing robustness 2023-12-13 12:08:29 +07:00
Darcy Wong
e59ef933f2
Merge pull request #10175 from keymanapp/chore/crowdin/mnw
chore(android,mac): Update Mon crowdin strings
2023-12-11 16:54:27 +07:00
Darcy Wong
24195b19c3
Merge pull request #10174 from keymanapp/chore/crowdin/ckl
chore(android,mac): Update Kibaku crowdin strings
2023-12-11 16:54:03 +07:00
Marc Durdin
473bc48ba7 chore(mac): force detach of disk image during build after 5 failures
Fixes #10200.

This is a two-part fix. First, with our normal `set -e` build
environment, the existing loop never ran more than once, so the 5
second delay pattern we used to use in the dim dark past was no longer
being applied. It is likely that in most cases, this will address the
failure to detach.

The second part is to escalate our detach with a `-force` parameter,
after 5 failed polite attempts. This is new and is addressing the
suggestion in #10200, so we'll have to see if it has any impact on
build stability.
2023-12-11 08:15:42 +07:00
sgschantz
27b1236d90 eventTap changes, add delay to queued text event 2023-12-08 11:40:21 +07:00
Darcy Wong
0a2318de81 chore(mac): Update Mon crowdin strings 2023-12-07 11:58:21 +07:00
Darcy Wong
e24a341a32 chore(mac): Update Kibaku crowdin strings 2023-12-07 11:53:02 +07:00
sgschantz
b909540dd3 pass through delete keystroke to avoid re-sending event 2023-11-23 14:51:36 +07:00
sgschantz
6879af00e7 remove some of the legacy backspace code 2023-11-23 14:26:46 +07:00
sgschantz
ad34af7f74 remove action array optimizer and handler obsoleted by core improvements 2023-11-22 13:43:12 +07:00
sgschantz
c966a62087 remove single backspace code and rely on emit from core 2023-11-22 12:29:21 +07:00
sgschantz
d20f636827 disable persist options unit test, enforce emit keystroke returned from keyman core 2023-11-22 10:35:59 +07:00
sgschantz
75a99a940f formatting changes 2023-11-21 10:22:02 +07:00
sgschantz
ada74039e0 consuming actions struct from core 2023-11-03 08:43:37 +07:00
sgschantz
79dc266064 increase disk image template size by 2MB 2023-10-30 15:11:22 +07:00
sgschantz
aace9fc9df proper unicode conversion when getting context stringthat containing SMP text; also other clean up in response to review comments 2023-10-30 12:29:51 +07:00
sgschantz
184f56c7aa use core context instead of locally managed context 2023-10-26 15:38:19 +07:00