Tom Bogle
4f59e797e2
Updated history.md for beta release (and last alpha changes)
2018-03-22 09:57:31 +07:00
Tom Bogle
3f828feb3e
Added TestInput project for testing out various IM approaches in different apps.
2018-03-21 16:14:55 +07: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
darcywong00
b7adec3792
Update history.md for alpha 10.0
2018-02-16 13:15:16 +07:00
Tom Bogle
b6f0a5deae
Removed commented out code
2018-02-15 11:15:15 -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
7ea1188d8c
Fixed ATS problem with support dialog
...
It was not using https
2018-02-14 22:47:13 -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
835782fd7e
Updated version number and copyright year.
...
This isn't really related to this PR, but I didn't want it to fall through the cracks.
2018-02-14 14:10:16 -05:00
Tom Bogle
b13af7bd10
Working implementation of kmp file association
...
There is no UI feedback and the newly added keyboard is not selected (checked) by default.
2018-02-13 15:44:33 -05:00
Tom Bogle
30adeb61bd
WIP: Non-working explaratory code for associating KMP with Keyman IM
2018-02-13 13:41:33 -05:00
Tom Bogle
60790ee33b
Merge pull request #592 from keymanapp/mac-fix-local-deployment
...
[Mac] fix local deployment by running tests as a separate build step
2018-02-13 09:54:53 -05:00
Tom Bogle
9e9a08e6cd
Run IM tests as separate step to avoid interfering with local deploy
...
For some seemingly inexplicable reason, if the scheme is not specified, xcodebuild magically builds the app and puts it in the Debug or Release subfolder of the build folder. However, if the scheme is specified explicitly, then the app is built only in the DerivedData folder and not automatically copied to the build folder. Since the local deploy process expects to find it there, it fails. So I'm adding a subsequent step to run the tests. As an added bonus, I also suppress the IM tests for a release build since they fail to build.
2018-02-13 01:36:00 -05:00
Tom Bogle
016f0dc7f6
Re-added $BUILD_ACTIONS - maybe not needed
2018-02-12 23:15:04 -05:00
Marc Durdin
8c6eadb899
Fixup url and log download keyboard attempt
2018-02-12 20:30:53 +07:00
Marc Durdin
a7b2352304
In progress, changeover to using version and new url in download dialog
2018-02-12 19:41:58 +07:00
Tom Bogle
47cd28e523
Changed deployment target version to 10.7 for test target
...
This prevents compiler warnings for deprecated methods/properties.
2018-02-07 09:59:24 -05:00
Tom Bogle
8fc9cf8129
[Mac] Removed commented out code
...
These were changes I made but failed to stage in my final commit for the PR 550.
2018-02-06 22:32:58 -05:00
Tom Bogle
8991d0076d
Removed commented out code.
...
Also added a couple TODO comments not actually related to the work in this branch.
2018-02-06 22:21:04 -05:00
Tom Bogle
469257b046
Updated info in Readme re: Carthage & Homebrew
2018-02-05 13:33:37 -05:00
Tom Bogle
6c0d65298c
Made IM test target copy OCMocks to Frameworks folder of test bundle.
2018-02-05 09:58:02 -05:00
Tom Bogle
5a6533525d
Reverted some previous changes now unnecessary
...
This might fix the build problem on TeamCity
2018-02-02 13:51:20 -05:00
Tom Bogle
bcc527f696
Fixed up all the plumbing issues with unit tests for Keyman4MacIM
2018-02-02 13:35:42 -05:00
Tom Bogle
141c10cd47
Temporary addition of "which carthage"
2018-01-31 12:36:56 -05:00
Tom Bogle
3522e876c4
Only do carthage update (to get OCMocks) is -test is specified
2018-01-31 12:32:12 -05:00
Tom Bogle
a41286a051
Changed test target to manual signing.
2018-01-31 12:08:16 -05:00
Tom Bogle
cfecadbe33
Added missing escape characters
2018-01-31 11:38:22 -05:00
Tom Bogle
7bc22ad72f
Changed from update to bootstrap
2018-01-30 16:44:30 -05:00
Tom Bogle
1e730c6f5e
Changed build to run update carthage command and clean Carthage folder
2018-01-30 16:10:37 -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
0cf3cee56b
Removed call to [sender length] and debug call to [sender markedRange]
...
Turns out that length is not really a supported method/property on IMKTextInput, and it returns unreliable information. (It appears that perhaps this was actually causing Word to work incorrectly.) The diagnostic call to markedRange was pointless since Keyman keyboards to not compose text in this way.
2018-01-29 22:21:04 -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
c2d7d3a8d0
Removed duplicate import that was causing linker failure.
2018-01-29 10:44:27 -05:00
Tom Bogle
6b136ce9b0
Went back to separate variable for test action
...
Because there are no tests for Keyman4Mac, inlcuding the test target caused it to fail.
2018-01-29 10:21:16 -05:00