Commit graph

730 commits

Author SHA1 Message Date
Darcy Wong
d6ee7f510c Merge remote-tracking branch 'origin/master' into chore/merge-beta-to-master-b17s5 2024-04-12 09:29:23 +07:00
Shawn Schantz
71359a7b8f
Merge pull request #11141 from keymanapp/fix/mac-11087-slow-typing
fix(mac): load only 80 characters from context when processing keystrokes
2024-04-04 13:17:56 +07:00
Shawn Schantz
4c881a13c8
fix typo in comment
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
2024-04-03 11:48:16 +07:00
sgschantz
6034033dae get a maximum of 80 characters from current context 2024-04-01 13:25:45 +07:00
Darcy Wong
c8395c4598 chore(common): Merge beta to master Sprint b17s4 2024-03-28 09:54:49 +07:00
sgschantz
62eec26901 replace characters during key processing by using deleted_context field from Core 2024-03-27 10:50:27 +07:00
sgschantz
9a8ea596be added issue # in comment 2024-03-11 14:29:42 -05:00
sgschantz
ca32ceb542 removed obsolete input method event handler class 2024-03-07 12:15:45 +07:00
Marc Durdin
f18d9aa6b8
Merge branch 'master' into chore/b17s2-merge-beta-to-master 2024-03-01 13:39:14 +07:00
sgschantz
07bf055edb mostly deletions of obsolete pre-core code 2024-02-28 13:25:03 +07:00
sgschantz
10b60006bd added lowLevelBackspaceCount, eliminated redundant keymanCode 0xFF event 2024-02-28 09:37:04 +07:00
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
7c8f109c33 chore: update doc versions to 18.0 2024-02-15 09:51:36 +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