Commit graph

118 commits

Author SHA1 Message Date
Tom Bogle
4f0010a941 [Mac] Added switches to control Keyman4MacIM build destination 2018-06-05 14:34:48 -04:00
Tom Bogle
c26f44f5dc [Mac] Added pod install command to build and updated supporting files. 2018-06-04 10:29:17 -04:00
Tom Bogle
191d72a6ef [Mac] #769 - Switched to using Cocoapods to get Crashlytics framework
This also gets the upload-symbols script, which seems to be necessary to upload the dSYM file for the Keyman Engine.
2018-06-01 16:00:22 -04:00
Tom Bogle
fc6f895ed7
Merge pull request #930 from keymanapp/mac-872-make-pages-and-keynote-legacy
[Mac] #872 - Added Pages and Keynote as legacy apps
2018-06-01 09:37:46 -04:00
Tom Bogle
186c1b2f65 Added explanatory comment 2018-05-31 16:40:30 -04:00
Tom Bogle
70b1af08c3 [Mac] #872 - Added Pages and Keynote as legacy apps
This allows them to retain font/style information when a character sequence causes the character(s) holding that info to be replaced.
2018-05-31 16:25:27 -04:00
Tom Bogle
aa81dc16b6 [Mac] #675 - Double-clicking KMP shows config window with msg visible 2018-05-31 11:42:51 -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
2862bb7671 Put setting back to strip debugging symbols from linked product 2018-05-25 12:16:46 -04:00
Tom Bogle
200dc30193
Merge pull request #883 from keymanapp/mac-882-fix-crash-in-eventTapFunction
[Mac] Prevented crash in eventTapFunction processing "out of band" event
2018-05-25 12:03:53 -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
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
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
0cdb3d46c4
Merge pull request #876 from keymanapp/mac-782-InDesign-issues
[Mac] #782 - Improvements to TestInput to illustrate issues with InDesign
2018-05-22 16:24:59 -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
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
b75eb7272f Changed hardcoded KMX file name for "Easter egg" to constant 2018-05-17 09:15:19 -04:00
Tom Bogle
953ba5d9c9 Added diagnostics and experimenting with things related to InDesign 2018-05-17 09:10:42 -04:00
Tom Bogle
c589bef9b0 Suppressed output of all environment variable when running build script
Also show Fabric API key in Console when forcing crash via Easter egg.
2018-05-15 17:39:50 -04:00
Tom Bogle
e13918c4b5 Made Crashlytics "Easter egg" only happen when verbose logging is on. 2018-05-15 16:59:08 -04:00
Tom Bogle
53ad23f219 Added crash-reporting frameworks to test target also. 2018-05-10 22:42:27 -04:00
Tom Bogle
632088bbad Got Fabric and Crashlytics via Carthage and segmented crash anylytics
Added code to build script and custom shell script in project to use hardcoded APIKey for debug builds but allow the release APIKey to be kept secret (supplied via environment variable during build).
2018-05-10 16:56:41 -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
7e3d78a44d
Merge pull request #844 from keymanapp/mac-770-hide-osk-when-keyman-is-not-active
[Mac] #770 Added logic to hide OSK when Keyman is no longer active IM.
2018-05-08 22:06:56 -04:00
Tom Bogle
4afd3c10bd Added logic to hide OSK when Keyman is no longer active IM. 2018-05-08 16:50:16 -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
cfc609c011 Removed (commented-out) code to change mouse pointer when over links 2018-05-02 13:22:59 -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
f388d19fed Fixed the previous fix so it actually works. 2018-05-01 15:13:10 -04:00
Tom Bogle
dce4f02a92 Fixed mess caused by previous check-in 2018-04-30 17:03:03 -04:00
Tom Bogle
fe06753df3 [Mac] 709:Added code to detect link that should open in browser
This allows "Go to keyman.com" button to work correctly.
2018-04-30 15:43:01 -04:00
Tom Bogle
827d532265 [Mac] Issue 175: Solved compatibility problem with Open Office 2018-04-26 15:28:51 -04:00
Tom Bogle
3e210d3e53 Call respondsToSelector before calling methods that might not be implemented. 2018-03-21 12:42:53 +07: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
9c368664ba Documented infelicity with config window if user clicks NO 2018-03-21 12:21:48 +07:00
Tom Bogle
f341b7fb7b Removed commented out code and moved comments to correct location. 2018-03-21 08:17:59 +07:00
Tom Bogle
bf542eab76 Change to ensure config window does not pop up ininvited. 2018-03-20 16:13:40 +07:00
Tom Bogle
92442c25e6 Successful code to show config window IFF user chooses to install 2018-03-20 14:26:14 +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
925dad3a56 [Mac] WIP - attempt to prevent auto display of config window and locking KMP file 2018-03-19 03:26:28 -04: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
fef69ced96 Removed commented out code and fixed a typo. 2018-03-02 01:32:26 -05:00
Tom Bogle
98ad59a86c Removed commented-out code 2018-03-02 01:22:03 -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
fe8fccbf51 Limited context to 80 chars in KMInputMethodBrowserClientEventHandler
I had previously made a change to do this in the base class but overloooked that it was also a factor in this subclass, so I refactored a little to have a single method  in the base class that handles this. (Note: the base class method also checks to be sure that the client responds to the attributedSubstringFromRange method before calling it. This used to be done only in the subclass, but it seems like a useful safeguard in case some other client fails to implement this.
2018-03-01 12:07:13 -05:00
Tom Bogle
846dacd889 Limited context to a maximum of 80 characters
This improves performance and prevents failures in some apps, which return no context at all if the total document size is too great.
2018-02-28 02:09:33 -05:00