Commit graph

41 commits

Author SHA1 Message Date
Tom Bogle
ef08ff6f34 [Mac] #1090 - Cherry-picked subsequent fix to correct over-agressive fix 2018-08-13 15:09:10 -04:00
Tom Bogle
87a46a84c0 [Mac] #1090 - Moved check for no modifiers to also apply to context case
I attempted unsuccessfully to find an actual failing case so I could add a unit test for this. Even though I couldn't, I agree that it is the correct logic, so I'm making the change as Marc suggested.
2018-08-10 09:15:49 -04:00
Tom Bogle
3eb7a1002e [Mac] Fixes #1090 - Full set of unit tests and correct fix 2018-08-10 09:15:35 -04:00
Tom Bogle
50b87df84d [Mac] [WIP] - Added unit tests for #1090 2018-08-10 09:15:07 -04:00
Tom Bogle
ec811eb7f8 [Mac] Cherry-pick of commit to fix #1059 on stable-10.0
Avoid calls to unsupported selectors on old version of OS
2018-07-12 17:08:07 -04:00
Tom Bogle
28147b631c [Mac] [WIP] - Refactoring of target-action call from keyView 2018-07-03 10:14:23 -04:00
Tom Bogle
976d626671 [Mac] Added comment to explain ugly code. 2018-06-27 22:38:46 -04:00
Tom Bogle
12521fb7d2 [Mac] 894 - Oops, this is the actual fix 2018-06-27 15:10:38 -04:00
Tom Bogle
817d3e65c9 [Mac] Fixes #894 - Fixed invocation of keyAction (missing self param) 2018-06-27 15:06:29 -04:00
Tom Bogle
c840cedef9 [Mac] Prevent permanently hiding OSK when a menu is dropped down
This *might* possibly fix #894, but not likely
2018-06-27 01:32:18 -04:00
Tom Bogle
37c1201c7f [Mac] #894 - Added try/catch to prevent crash from key event Timer 2018-06-26 16:27:39 -04:00
Tom Bogle
be8cbe993f [Mac] Commented out NSLog statements added previously to debug #894 2018-06-19 14:36:23 -04:00
Tom Bogle
901a1f30fb [Mac] Fixes 894, Fixes 962 - Fixed timer problems in OSK
Ensured that timer is never instantiated for modifier keys, since they should never repeat. Made synchronizing more robust to ensure that there can never be timers simultaneously active (i.e., for two different keys on the same OSK). Removed deprecated finalize method that was never getting called anyway.
2018-06-19 14:22:52 -04:00
Tom Bogle
dd2830ea22 [Mac] Added unit tests for inverted platform logic 2018-06-17 23:56:54 -04:00
Tom Bogle
e89b0d5a6a [Mac] Fixed logic to handle inverted (NOT_EQUAL) platform check 2018-06-17 23:23:41 -04:00
Tom Bogle
3bb54d4943 [Mac] Added unit tests for checkPlatform 2018-06-15 02:34:03 -04:00
Tom Bogle
7857e34676 [Mac] Changed checkPlatform implementation to be regex-based 2018-06-15 00:53:22 -04:00
Tom Bogle
8f8170cbfb [Mac] #967 - Changed platform implementation to make spec change
Any unrecognized platform tokens will cause it to return false (not a match).
2018-06-14 23:35:07 -04:00
Tom Bogle
4ad7ade429 [Mac] #967 - Make platform tests case-insensitive. 2018-06-08 16:05:02 -04:00
Tom Bogle
1164cfa48f [Mac] #894 - Use thread synchronization to prevent crash from timer event 2018-06-04 13:57:27 -04:00
Tom Bogle
27e9591393 Made callback approach to engine's Easter-egg crash conditionally compile 2018-05-25 11:59:10 -04:00
Tom Bogle
30b90371f5 Fixed typos in comment 2018-05-25 11:26:23 -04:00
Tom Bogle
fdf9475d7d Changed copy command to prevent copying dSYM file into dSYM file 2018-05-24 22:40:03 -04:00
Tom Bogle
12d6a18012 Added build step to copy engine dSYM into proper location for uploading
Also made a lot of changes to the engine-based Easter egg code to force a crash. A lot of this is experimental and probably temporary.
2018-05-23 23:55:29 -04:00
Tom Bogle
e1f53bd599 Added NSLog statement to produce Console output to help with debugging 2018-05-22 23:38:56 -04:00
Tom Bogle
f7762ad4b3 Added dSYM file and prevented stripping of symbols for engine.
Also added code to enable forcing a test crash in the engine itself
2018-05-22 14:12:26 -04:00
Tom Bogle
6f7cb912ef [Mac] [WIP] #769 - Adding dSYM files for KM engine to support Crashlytics 2018-05-18 12:30:58 -04:00
Tom Bogle
7d725e3444 [Mac] #768 - Added "Use verbose Console logging" option. 2018-05-07 14:57:46 -04: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
6d111ae966 Upgraded settings and cleaned up warning in h file 2018-01-29 14:29:32 -05:00
Tom Bogle
8b0687d177 Added guards around all headers to prevent duplicate imports 2018-01-29 14:01:33 -05:00
Tom Bogle
db9475e0c6 Solved the chirality problem on Mac (#178)
Also made the Scheme for the IM build shared in preparation for adding unit tests to thta project.
2018-01-25 00:00:44 -05:00
Tom Bogle
604f589be4 Changed debug setting to be based on actual build type 2018-01-24 09:03:19 -05:00
Tom Bogle
7bdc476a83 Check for expected event type rather than a catch-all try/catch 2018-01-23 11:26:10 -05:00
Tom Bogle
5e36e5b996 Made scheme shared so tests can be run from command line 2018-01-23 11:04:09 -05:00
Tom Bogle
1e6aafd08d Missed files from previous commit 2018-01-22 11:36:39 -05:00
Tom Bogle
480d8b9b8b Added tests to Keyman engine
Added some basic unit tests for KMEngine and KMXFile classes.
2018-01-22 11:32:55 -05:00
Marc Durdin
766384820e Add version 10.0 keyboard support for Mac 2017-11-21 10:51:05 +07:00
Tom Bogle
629cbd8c58 Cherry picked a few small changes from "mac compatibility" branch to fix bug whereby command keys were sometimes causing characters to be output. 2017-10-23 22:44:57 -04:00
Tom Bogle
08c399d2e8 Made changes to allow CI to set version numbers dynamically (similar to changes made in previous repo, but with some refactoring and also included testapp). 2017-08-11 02:40:43 -04:00
Tom Bogle
87aa5057ef [Mac] Initial check-in to open-source repo 2017-08-10 13:11:52 +07:00