Commit graph

36 commits

Author SHA1 Message Date
Shawn Schantz
cd59c298a8 chore(mac): remove NSString extension 2025-05-07 12:36:17 +07:00
Shawn Schantz
98232185ba fix(mac): improve detection of stale TextApiCompliance 2025-02-21 17:17:43 +07:00
sgschantz
6abd59bad5 feat(mac): renaming and moved adjustModifiers to KMModifierMapping
Fixes: #875
2024-09-27 16:17:31 +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
8dd258d485
Merge branch 'master' into change/mac/2542-store-keyboards-elsewhere 2024-08-27 13:09:25 +07:00
sgschantz
24f4a61ada change(mac): responded to review comments 2024-08-21 17:05:07 +07:00
sgschantz
a26389bfea test(mac): removed commented code 2024-08-21 11:12:43 +07:00
sgschantz
c2e2cf53c6 change(mac): successful migration but not loading from config 2024-08-02 15:21:56 +07:00
sgschantz
39ae61a835 fix(mac): add unit tests to confirm first calls to compliance check
Also makes public the description method used for logging.
A private description method may have been an issue with
the older logging code.
To build successfully with Xcode, it was necessary to
change runOnlyForDeploymentPostprocessing=1. This was
apparently needed because of the upgrade to Xcode 15
2024-06-06 16:31:11 +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
746149178a chore(mac): re-indenting to 2 spaces
phase two
2024-05-13 17:07:52 +07:00
sgschantz
984e6dc47a improve compliance detection, accounting for all delete and insert combinations 2024-04-08 16:24:22 +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
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
Marc Durdin
823b7722a0 refactor(mac): remove legacy Core context API calls
Relates to #9999.
2024-01-17 14:44:07 +11:00
sgschantz
ad34af7f74 remove action array optimizer and handler obsoleted by core improvements 2023-11-22 13:43:12 +07:00
sgschantz
707bed0ac3 fix unit test access to CoreAction 2023-10-23 13:09:43 +07:00
sgschantz
722ac1fd04 fix failed unit test, remove obsolete library references 2023-10-23 12:54:50 +07:00
sgschantz
615c9c23d2 limit most log statements to debug mode 2023-10-16 15:26:13 +07:00
sgschantz
08c1ac9fc1 rename from compatibility to compliance 2023-10-04 17:57:22 +07:00
sgschantz
682d99c2cb context simplification, legacy app determination integrated into TextCompatibilityCheck 2023-09-26 10:48:43 +07:00
sgschantz
bda03f4282 remove event and client from ActionHandler 2023-06-22 21:15:00 -04:00
sgschantz
0048dc1ab9 remove tests that fail to build 2023-06-21 17:21:14 -04:00
sgschantz
10bf9af6df fix isClientAppLegacy which was always returning true and add unit tests for it 2023-04-11 09:05:52 +07:00
Marc Durdin
8fd9bc7e74 [mac] Fix tests; add global workspace 2019-08-08 10:46:20 +10:00
Marc Durdin
c3376eba18 [Mac] Add notarization for 10.14.5 and later versions 2019-07-24 20:57:46 +10:00
Tom Bogle
0ff0ae2c88 [Mac] Fixed up remaining unit test 2018-06-25 21:24:43 -04:00
Tom Bogle
26ad29a744 [Mac] Added lots of IM tests (legacy, no-context, Apple-compliant [WIP])
Fixes #1005 (at least in part). Still one failing test.
2018-06-25 17:15:00 -04:00
Tom Bogle
0ce9fd1cd2 [Mac] Added some new passing unit tests and one still WIP
Need to make a delegate to test posting delete back.
2018-06-23 00:00:43 -04:00
Tom Bogle
90a080d449 [Mac] Fixes existing IM unit test. WIP for #1005 - unit test incomplete 2018-06-22 17:36:20 -04:00
Tom Bogle
fef69ced96 Removed commented out code and fixed a typo. 2018-03-02 01:32:26 -05:00
Tom Bogle
59b38a418e Use Carthage to pull OCMocks framework and added KMX file for testing 2018-01-30 12:19:29 -05:00
Tom Bogle
5f83ddeed6 [WIP] Added changes to use OCMocks to make unit test meaningful
This commit breaks compilation because it does not include the code to pull and build the OCMocks framework.
2018-01-29 22:24:43 -05:00
Tom Bogle
c2d7d3a8d0 Removed duplicate import that was causing linker failure. 2018-01-29 10:44:27 -05:00
Tom Bogle
eb7cab176f Added plumbing for unit testing IM.
This also slightly simplifies the logic in build.sh and even opens the possiblity of unit tests for the test app if that were ever to be desirable.
2018-01-26 12:31:38 -05:00