Commit graph

740 commits

Author SHA1 Message Date
sgschantz
64c4601fd6 fix(mac): check for macOS 11 for PostEvent access
cherry-picked from f567778
CGPreflightPostEventAccess API should be available
with macOS 10.15 (Catalina) but that does not appear
to be true in experience. Changing to check for 11.0
(Big Sur) before using that API instead.

Fixes: #12295
2024-09-05 09:26:56 +07:00
Darcy Wong
b6c898a7cd chore(common): Update Crowdin strings for Portuguese
Cherrypick of #11974 to stable-17.0
2024-07-18 08:49:15 -05:00
sgschantz
63dddfc042 fix(mac): change build configuration to prevent cycle error in Xcode 15
Fixes: #11726
2024-06-07 10:44:13 +07:00
sgschantz
4b627c0f9a fix(mac): handle command key without crashing
call to logDebugMessage was formatting the event type,
which is an integer value, as an object
removed reference to the event type in log statement
as it was not particularly useful

Fixes: #11673
Fixes: KEYMAN-MAC-FC
2024-06-04 13:00:36 +07:00
Darcy Wong
d3ba95bdc3 chore(mac): Update crowdin strings for DE 2024-05-22 13:59:53 +07:00
sgschantz
0288b72c84 fix(mac): made osk keys visible again
set clipsToBounds to true for osk and osk key views
This property began defaulting to false with the update to
macOS 14 sonoma causing the osk keys to become so large
that they obscured the entire osk view.
Also replaced and few more deprecated properties and functions.
2024-05-10 14:49:34 +07:00
sgschantz
0dbd47d683 fix(mac): replace deprecated API calls
With the move to Xcode 15.3, there are many APIs called from
Keyman for Mac that were deprecated before our minimum supported
version of macOS (now set to 10.13)
2024-05-07 16:29:04 +07:00
Marc Durdin
f41d1ad178
Merge pull request #11302 from keymanapp/chore/ios/10671-xcode-15-build
chore(ios,mac): support build on Apple Silicon using Xcode 15.3
2024-05-02 14:31:08 +10:00
sgschantz
e88380230d chore(mac): increase maximum size of dmg to 30MB
When upgrading to Xcode 15.3 and a newer version of Sentry, the dmg
template file was too small for the newly generated executable.
2024-04-26 14:57:04 +07:00
sgschantz
99be7c9c34 updated version of Sentry to 8.24.0 2024-04-26 14:30:09 +07:00
sgschantz
ebb6631ab6 change macOS target version to 10.13, update versions in markdown files and Podfile 2024-04-26 10:22:58 +07:00
sgschantz
f40e1ff8d8 change all mac project settings minimum supported version from 10.10 Yosemite to 10.13 High Sierra 2024-04-25 09:13:21 +07:00
sgschantz
5b9e5d80f2 correct method names in log statements 2024-04-19 14:19:58 +07:00
sgschantz
984e6dc47a improve compliance detection, accounting for all delete and insert combinations 2024-04-08 16:24:22 +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
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
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
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