Commit graph

41 commits

Author SHA1 Message Date
Marc Durdin
db5c4e6a26 fix(mac): osk shows unexpectedly
Fixes #2346. The OSK would show unexpectedly when switching
applications because the last active window was inconsistently
cleared.
2019-12-04 11:11:04 +01:00
Marc Durdin
256ba2ef1e [mac] Support Adobe products in legacy mode (and VS Code) 2019-08-08 19:36:27 +10:00
Marc Durdin
599482b818
Merge pull request #1840 from kamholz/selection-fix
[Mac] fix out-of-date context buffer after keyboard commands
2019-07-09 06:28:41 +10:00
David Kamholz
4d81f58903 fix CGEventTapCreate mask flags 2019-06-21 20:20:49 -07:00
David Kamholz
93e8361800 persist save() values across sessions 2019-06-21 11:18:58 -07: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
1dd76df471 [Mac] Code cleanup & history addition 2018-06-25 22:52:27 -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
3caf37e45c [Mac] #994 - Use keyboard names w/ native script from KMX instead of inf
It seems the *.inf files are not UTF-8, so any non-Roman characters used in keyboard names turn into question marks. The native script name is stored in the kmx file, so getting it from there seems to work.
2018-06-18 15:00:35 -04:00
Tom Bogle
1ba068994d
Merge pull request #884 from keymanapp/mac-769-add-dysm-for-engine
[Mac] #769 added dSYM for engine so symbols will be available in Crashlytics
2018-05-28 22:48:50 -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
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
d2ed7fc527 Improvements to event tap code
1) Enable/disable event tap depending on whether Keyman is the active IM; 2) Made code dealing with keeping track of activating/deactivating servers thread-safe; 3) Improved clean-up when event tap cannot be re-enabled; 4) Improved and cleaned up some comments and code aesthetics.
2018-05-23 14:16:41 -04:00
Tom Bogle
5a72d5499d [Mac] Prevented crash in eventTapFunction processing "out of band" event
When a special event comes in indicating the event tap has been disabled by timeout or by the user, we attempt to re-enable it. Otherwise, use fallback logic.
2018-05-22 16:20:56 -04:00
Tom Bogle
5ac9c10775 [Mac] [WIP] #769 - Added code to using Fabric with Crashlytics
This commit does not include the project and plist changes necessary to build/work because they have the APIKey in them and we don't want to publish that. Also, I haven't completely worked out where the frameworks should go or how that plumbing should be hooked up to work well on the build machines and for other developers.
2018-05-09 12:11:55 -04:00
Tom Bogle
7d725e3444 [Mac] #768 - Added "Use verbose Console logging" option. 2018-05-07 14:57:46 -04:00
Tom Bogle
fc0867f51a
Merge pull request #783 from keymanapp/mac-175-oppen-office-compatibility
[Mac] Issue 175: Solved compatibility problem with Open Office
2018-05-03 22:08:23 -04:00
Tom Bogle
4cb297a5e6 Got all the typing working in config windows and most link navigation
Still need to investigate why some links to help.keyman.com/... don't work in download window. Also, this check-in contains some commmented-out code to try to get mouse pointer to change over hyperlinks. Need to get it working or revert (possibly need to report as a separate issue). Also, it would be nice for there to be some user feedback when loading pages, which can be quite slow at times.
2018-05-01 16:58:07 -04:00
Tom Bogle
827d532265 [Mac] Issue 175: Solved compatibility problem with Open Office 2018-04-26 15:28:51 -04:00
Tom Bogle
71ed62558f If user presses command key, assume context may be out of date 2018-03-21 12:42:53 +07:00
Tom Bogle
0538bd29ef WIP: Moved code to release presenter so it happens either way. 2018-03-20 13:53:34 +07:00
Tom Bogle
904447ae18 Removed unnecessary event taps for "other" mouse button.
Also deleted commented-out code.
2018-03-05 15:14:12 -05:00
Tom Bogle
f06ca65c31 [WIP] Use low-level mouse events to detect likely context changes
Replaced logic in updateContextBufferIfNeeded to be based on tapping of low-level mouse events instead of relying on list of clients that might have unexpected selection changes.
2018-03-02 01:22:03 -05:00
Tom Bogle
594eda09b1 [WIP] Beginning of logic to detect low-level events that may signal a context change. 2018-03-02 01:22:03 -05:00
Tom Bogle
abb2010482 When KMP is unzipped, all keyboards now selected as active automatically 2018-02-14 22:48:39 -05:00
Tom Bogle
f97856f4d0 Added prompt to ask user whether to install KMP & opened config window
Also fixed issue to prevent duplicate copies of KMP getting installed and added some debugging info.
2018-02-14 14:12:53 -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
d9ef95f02b WIP: Implement chirality using CGEvent
Doesn't build
2018-01-24 09:26:17 -05:00
Tom Bogle
c3a6b1415f Set debugMode back to NO. 2018-01-18 14:09:50 -05:00
Tom Bogle
ecd7008246 Merge remote-tracking branch 'origin/master' into mac-compatibility-with-legacy-apps 2017-11-21 11:21:03 -05:00
Gabriel Wong
0e688c3324 Clean up log statements 2017-11-21 10:55:49 +07:00
Tom Bogle
02502f6f38 Fixed typo 2017-11-20 00:04:16 -05:00
Tom Bogle
2c024805a5 WIP: This is what I have tried so far. The config window does NOT display when accessed via the menu. It still works (the old/right way) in Sierra when accessed via the About window. If you first try to access it via the menu and then access it via the Configuration button on the About window, it displays twice! 2017-11-19 23:55:22 -05:00
Tom Bogle
55f451df68 Merge branch 'mac-use10dot7-compatible-methods' into mac-compatibility-with-legacy-apps 2017-11-09 11:43:50 -05:00
Tom Bogle
5831d3d4b4 Replaced try-catch with calls to respondsToSelector to make the check more explicit. 2017-11-09 11:37:59 -05:00
Tom Bogle
5f4dce6a0d Solved Mail compatibility problems using regex to ensure that "preChar" starts with a base character. Added MS Word as a "legacy" product to make it work correctly. 2017-11-01 22:11:24 -04:00
Tom Bogle
db8712bae8 Added fallback code to convert percent-escapes in URL for downloaded keyboard for version of OS where stringByRemovingPercentEncoding is not available. 2017-10-31 22:17:44 -04:00
Tom Bogle
21411263ad WIP: Work to deal with handling a Q_BACK that tries to insert a combining mark instead of a base character (along with its combining marks). This causes compatibility problems in some apps (e.g., Mail) 2017-10-30 22:33:19 -04:00
Tom Bogle
668948011e Major overhaul of processing to improve compatibility with apps (and certain sites withing certain browsers) that don't properly handle the "normal" IM methods. 2017-10-09 01:20:38 -04:00
Tom Bogle
87aa5057ef [Mac] Initial check-in to open-source repo 2017-08-10 13:11:52 +07:00