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
e77853720f
fix(mac): also reset the corresponding keys when closing OSK
2024-12-17 15:13:14 +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
fcb3d4cc40
fix(mac): rename method in log statement
2024-12-16 13:02:41 +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
8acff153ef
fix(mac): rename properties and variables
2024-10-21 15:21:47 +07:00
sgschantz
d57ff48d31
fix(mac): rename flag properties of NKey value object
2024-10-21 15:07:25 +07:00
sgschantz
dc6f518694
fix(mac): support alt layers in OSK
...
Fixes : #5721
2024-10-18 15:27:57 +07:00
Shawn Schantz
d40ca934c6
create separate functions for managing UserData contents of CGEvent
2024-10-17 16:31:00 +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
Shawn Schantz
8821a81f19
Merge branch 'master' into feat/mac/933-alt-option-rules
2024-09-26 14:36:45 +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
0dc7baced6
feat(mac): get key_list from core
2024-09-20 17:11:15 +07:00
sgschantz
a14a988276
feat(mac): logging changes
2024-09-20 12:54:14 +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
sgschantz
b38700cb19
fix(mac): comment cleanup
2024-09-02 09:34:31 +07:00
sgschantz
569a8a8a49
fix(mac): eliminate all use of deprecated API beginSheetModalForWindow
...
beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:
was deprecated in macOS 10.10 and replaced by
beginSheetModalForWindow:completionHandler:
The newer API automatically closes the sheet.
Explicitly closing the sheet also seemed to be causing
the parent windows to close.
Fixes : #9308
2024-08-29 15:38:00 +07:00
sgschantz
1d5ef914ce
fix(mac): adopt unified logging
...
address review comments
2024-05-27 08:58:25 +07:00
sgschantz
ab98086003
fix(mac): adopt unified logging APIs
...
remove all references to NSLog
adjust log level for some calls to os_log
Fixes #10997
2024-05-23 15:50:50 +07:00
sgschantz
aff9a0e157
fix(mac): use unified logging APIS
...
remove logDebugMessage API which calls NSLog and call os_log instead
2024-05-22 19:32:40 +07:00
sgschantz
e4f7f1d1a1
fix(mac): added unified logging to Keyman Engine for mac
...
first draft, need to remove some debug statements and replace
others that would be more useful
2024-05-21 12:45:17 +07:00
sgschantz
8fa8275584
fix(mac): change to unified logging
...
delete commented out code and unimplemented method
2024-05-20 08:42:32 +07:00
sgschantz
746149178a
chore(mac): re-indenting to 2 spaces
...
phase two
2024-05-13 17:07:52 +07:00
Shawn Schantz
9dd227ff2d
Merge branch 'master' into chore/mac/11427-indent-2-spaces
2024-05-13 16:24:45 +07:00
sgschantz
67148475c1
chore(mac): re-indent files for tabs equal to two spaces
...
phase one
2024-05-13 16:16:30 +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
823b7722a0
refactor(mac): remove legacy Core context API calls
...
Relates to #9999 .
2024-01-17 14:44:07 +11:00
Marc Durdin
aea95c4f9d
chore(mac): use only debug context functions
2024-01-15 13:12:15 +07:00
sgschantz
ada74039e0
consuming actions struct from core
2023-11-03 08:43:37 +07:00
sgschantz
184f56c7aa
use core context instead of locally managed context
2023-10-26 15:38:19 +07:00
sgschantz
615c9c23d2
limit most log statements to debug mode
2023-10-16 15:26:13 +07:00
sgschantz
a28a7ac775
rename coreWrapper
2023-10-05 09:14:15 +07:00
Shawn Schantz
301ebc25c6
Merge branch 'feature-macos-core' into feature/core/add-core-wrapper
2023-10-05 08:01:50 +07:00
sgschantz
08c1ac9fc1
rename from compatibility to compliance
2023-10-04 17:57:22 +07:00
Marc Durdin
7adc9b5d95
feat(developer): support store(&version) '17.0'
...
Fixes #9541 .
Also adds version 16.0 support to the kmcmplib compiler constants, and
unit tests for both versions. Does not add any support for automatic
version feature detection, because that forces an inverted dependency on
the touch layout compilation phase (done in kmc-kmw), which would be a
significant refactor. This may be something we need to support in the
future.
2023-10-02 15:30:07 +07:00
sgschantz
9865c3d6ec
set context correctly for unit test
2023-09-27 15:19:16 +07:00
sgschantz
682d99c2cb
context simplification, legacy app determination integrated into TextCompatibilityCheck
2023-09-26 10:48:43 +07:00
sgschantz
f57b934257
use helper method for string to unichar string
2023-08-16 15:53:42 +07:00
sgschantz
2cb7458829
successfully loading setting options in core -- not behaving predictably until null terminator added
2023-08-15 14:57:30 +07:00
sgschantz
0b8e3f62b4
remove key processing code from engine and move virtual key map to CoreHelper
2023-08-02 16:01:19 +07:00
sgschantz
b2dce47b3f
update context with core when invalidated
2023-07-06 13:57:37 -04:00
sgschantz
7d7fc2e7bc
fix or disable failing unit tests
2023-06-01 08:34:31 +07:00
sgschantz
1566e06bea
broke out CoreActionHandler, new path through InputMethod for Keyman Core action processing
2023-05-05 12:52:18 +07:00
sgschantz
29bd741386
added action array optimizer unit tests
2023-03-27 14:33:07 +07:00
sgschantz
7a0eb338c4
added helper and wrapper unit tests
2023-03-21 08:41:41 +07:00
sgschantz
0251923ec8
set context in core at init time
2023-03-14 14:03:25 +07:00
sgschantz
bc3c8cdc6b
optimize array of actions returned by core to conform to expected actions list
2023-03-14 12:03:54 +07:00