Commit graph

532 commits

Author SHA1 Message Date
Shawn Schantz
0fd03cbdc6 chore(mac): remove empty options tab from configuration 2025-02-07 11:55:20 +07:00
sgschantz
ca2fec729c fix(mac): comment changes 2025-01-31 09:44:08 +07:00
sgschantz
7ba30224ff fix(mac): resolve build error 2025-01-30 16:00:44 +07:00
Shawn Schantz
f556b3a524
Merge branch 'master' into fix/mac/12997-restore-notifications 2025-01-29 13:12:21 +07:00
Darcy Wong
3e6cae6b12
Merge pull request #13056 from keymanapp/chore/common/crowdin-pt
chore(common): Update crowdin strings for Portuguese
2025-01-29 07:46:13 +07:00
Shawn Schantz
1309eb9d2a
Merge pull request #12988 from keymanapp/fix/mac/12928-open-osk-on-activation
fix(mac): show and hide OSK consistently for all keyboards
2025-01-28 12:10:44 +07:00
Darcy Wong
4c3bf93a0d chore(common): Update crowdin strings for Portuguese 2025-01-28 07:21:49 +07:00
Shawn Schantz
f0d290aed0
Merge branch 'fix/mac/12928-open-osk-on-activation' into fix/mac/12997-restore-notifications 2025-01-27 13:44:24 +07:00
sgschantz
e5820f5322 chore(mac): remove extraneous code 2025-01-27 12:52:41 +07:00
sgschantz
938d3ab61e fix(mac): OSK window default state must be not visible
to be certain that it only opens due to settings
or in response to a user action
2025-01-27 12:30:18 +07:00
sgschantz
077229e89c chore(mac): added comments and renamed function 2025-01-27 09:21:26 +07:00
sgschantz
a69426f2f5 fix(mac): properly manage lifecycle
moves handling of all KMInputMethodLifeCycle notifications to
KMInputMethodAppDelegate and out of KMInputController
because KMInputController instances are being cached
by the OS and swapped in when the input method changes
state

Fixes: #12997
2025-01-23 16:28:48 +07:00
sgschantz
c9c47e8438 chore(mac): fixed else statement for architecture tag 2025-01-23 11:42:47 +07:00
sgschantz
a2e6947eb1 fix(mac): opening OSK does not require existence of KVK
Fixes: #12928
2025-01-22 15:40:55 +07:00
sgschantz
0ec2664126 chore(mac): clean up comments 2025-01-22 12:52:44 +07:00
sgschantz
b0776a41d0 chore(mac): Merge branch 'chore/mac/11623-add-breadcrumbs' of https://github.com/keymanapp/keyman into chore/mac/11623-add-breadcrumbs 2025-01-22 11:32:31 +07:00
Shawn Schantz
4a0493798c
Merge branch 'master' into chore/mac/11623-add-breadcrumbs 2025-01-22 11:32:11 +07:00
sgschantz
d6ce0af77e chore(mac): added tag for lifecycleState
Fixes: #11623
2025-01-22 11:28:50 +07:00
sgschantz
2b390274c8 chore(mac): add KMSentryHelper to test project
resolves link error when running unit tests
2025-01-20 16:17:36 +07:00
sgschantz
162dc40f2c chore(mac): added architecture tag, more breadcrumbs 2025-01-20 14:17:15 +07:00
sgschantz
76d0d69e6b chore(mac): add KMSentryHelper class, and new tags and breadcrumbs 2025-01-16 15:26:03 +07:00
Darcy Wong
9736f1ba3a chore(common): Update crowdin strings for Spanish 2025-01-14 11:08:02 +07:00
sgschantz
8e833c8314 chore(mac): reworked sentry testing
can now force crashes or send messages by typing a
single character when sentry testing is enabled
in the UserDefaults
2025-01-13 14:08:22 +07:00
sgschantz
31280ecee7 fix(mac): apply OSK modifiers to typing on physical keyboard
Fixes: #12584
2024-12-19 15:52:19 +07:00
sgschantz
b9b1786986 fix(mac): renaming and refactoring 2024-12-18 16:51:09 +07:00
sgschantz
803a218cbd fix(mac): clear the modifier keys when the OSK window is closed 2024-12-17 13:52:09 +07:00
sgschantz
03b925a209 fix(mac): break up timerAction function 2024-12-13 15:53:42 +07:00
sgschantz
f0cd0c67e7 fix(mac): osk and physical keyboard modifiers kept in sync
additional logic applied to keep two modifier types
consistent with each other
also lots of refactoring to keep naming clear

Fixes: #12582
2024-12-13 13:56:02 +07:00
sgschantz
4629cd11eb chore(mac): draw three-color stripe correctly in About box
due to Sonoma change of default setting in UIView
where clipsToBounds is defaulting to false, the
stripe in the About box was appearing much taller
than the expected 7 points
2024-12-05 09:51:43 +07:00
sgschantz
3dd5207252 chore(mac): update SIL logo in About window to include Andika glyph
Fixes: #12159
2024-12-04 10:47:12 +07:00
Shawn Schantz
d40ca934c6 create separate functions for managing UserData contents of CGEvent 2024-10-17 16:31:00 +07:00
Shawn Schantz
622a0aa698 chore(mac) upgrade sentry to support xcode 16 build 2024-10-17 11:45:12 +07:00
sgschantz
bfeaebfcb8 fix(mac): pass modifier keys with keydown event generated by OSK
Fixes: #6578
2024-10-16 15:02:49 +07:00
sgschantz
6abd59bad5 feat(mac): renaming and moved adjustModifiers to KMModifierMapping
Fixes: #875
2024-09-27 16:17:31 +07:00
Shawn Schantz
8821a81f19
Merge branch 'master' into feat/mac/933-alt-option-rules 2024-09-26 14:36:45 +07:00
sgschantz
70ed0b5dd4 feat(mac): transform left option modifier to right option 2024-09-26 14:30:09 +07:00
sgschantz
71079a20c5 feat(mac): encapsulate option to alt logic in KMModifierMapping 2024-09-25 16:47:17 +07:00
sgschantz
813da7d618 feat(mac): created CoreKeyboardInfo to analyze key mappings 2024-09-23 14:50:36 +07:00
sgschantz
becea93fa9 change(mac): remove verbose logging option
also remove related debug mode code, debug logging
is controlled solely by universal logging settings

Fixes: #11525
2024-09-17 15:36:41 +07:00
Shawn Schantz
492baead2c
Merge pull request #12355 from keymanapp/change/mac/12342-remove-always-show-osk
change(mac): remove 'Always show OSK' option
2024-09-17 08:50:18 +07:00
sgschantz
24830f4bc6 change(mac): improved comments and increased delay to 0.25 2024-09-16 10:55:21 +07:00
sgschantz
4ec6144c64 change(mac): added delays before inputmethod state transition 2024-09-13 14:53:16 +07:00
sgschantz
d664797359 change(mac): attempt to fix sequoia failure to deactivate 2024-09-13 13:53:08 +07:00
Shawn Schantz
a50a089f63
Merge branch 'master' into change/mac/12342-remove-always-show-osk 2024-09-12 20:21:44 +07:00
Shawn Schantz
a99ca4f120 change(mac): overhauled logic for determining input method state
uses Carbon APIs to determine current input source
This, combined with text input client is used to determine
whether Keyman is truly active or not.
Removed all code executing on delays and immediately
checks state and shows/hides OSK and
enables/disables eventTap.
2024-09-12 19:57:10 +07:00
Darcy Wong
84dbc1042c chore(common): Update crowdin strings for Italian 2024-09-12 15:56:22 +07:00
sgschantz
b3651f0dfa change(mac): renamed property and cleaned up comments
Fixes: #12342
2024-09-11 11:03:47 +07:00
sgschantz
b8cbf04ff7 change(mac): added KMInputMethodLifecycle
clearly manages the state of the input method and notifies
any observers of changes

Fixes: #12342
2024-09-10 16:06:33 +07:00
sgschantz
78fd4ee19b change(mac): renaming, use client map instead of servers array 2024-09-06 16:41:07 +07:00
sgschantz
a032f80230 change(mac): read and write new osk window state
persists state whenever user opens or closes OSK
also records location and size

Fixes: #12342
2024-09-04 16:04:59 +07:00