Commit graph

24978 commits

Author SHA1 Message Date
Gabriel Wong
631cb3d19a Migrate KMManager to Swift 2017-10-20 09:49:53 +07:00
Joshua A. Horton
b318249769 Removes the 'free' set of asset images and attaches the newly required 'marketing' 1024x1024 icon. Addresses #371. 2017-10-20 09:28:41 +07:00
Tom Bogle
30386abd6e Prevented processing of Command keys. Fixed timing related problems when repsonding to actions that require us to get the context again. In Safari Google Docs, fixed problem when typing replaces selected text (once we've managed to detect we're in Google Docs). Added Xcode to the list of apps that don't let KM know about arrow keys and/or mouse clicks that might affect the context. 2017-10-19 13:53:24 -04:00
Tom Bogle
f45fac7d03 WIP: Detect Google Docs, unreported context changes, refactoring
WIP: Most "legacy" app and Google Docs issues now dealt with pretty well. A few more issues to look at and some code cleanup to do.
2017-10-17 23:43:04 -04:00
Darcy Wong
c7471b4435 Merge pull request #357 from keymanapp/android-fix-longpress-keycode
Refactor longpress logic so key text is not confused with key code
2017-10-17 18:56:12 +07:00
darcywong00
0c560f308b Fix osk.defaultKeyOutput to handle characters beyond U_FFFF
`String.fromCharCode()` has a limitation to Unicode characters in the BMP. Change to `String.kmwFromCharCode()` to handle entire Unicode range.

Also clarified how default key codepoints are processed.

KeyboardHarness changes:
- Change text area font on keyboard change
- Added U_10481 to test longpress keyboard.
- Remove test tchad keyboard
2017-10-17 13:21:30 +07:00
darcywong00
ab78b63f62 Merge remote-tracking branch 'origin/master' into android-fix-longpress-keycode 2017-10-16 17:27:54 +07:00
darcywong00
ca89f90b86 Document which Unicode control codes are suppressed
Update comments explaning how control codes U_0000 to U_001F and U_0080 to U_009F are suppressed.

Also updated longpress test keyboard to test control codes.
2017-10-16 17:24:25 +07:00
darcywong00
6c040bb2fa Address review comments
* Fix accessing AltGr shift layer
* Fix AltGr OSK layer to display as "Alt Ctrl"
* Fix how Unicode control characters are filtered out, so U_00A0 can be displayed
2017-10-16 15:09:12 +07:00
Joshua Horton
cb369d7447 Merge branch 'master' into web-349-core-refactoring 2017-10-16 10:11:34 +07:00
Joshua Horton
57cab68e0c Merge pull request #343 from keymanapp/web-103-registration-stub-decouple
Rework of KMW keyboard registration + default keyboard selection.
2017-10-16 09:49:26 +07:00
Joshua Horton
bdfdb42208 Merge branch 'master' into web-103-registration-stub-decouple 2017-10-16 09:49:12 +07:00
Joshua Horton
231d3e97f2 Merge pull request #359 from keymanapp/web-358-default-shift-regression
Mobile default-layer shifting regression fix
2017-10-13 11:43:34 +07:00
Joshua Horton
468ce7d1f6 web: history.md 2017-10-13 09:57:12 +07:00
Joshua Horton
a7b33dade9 history.md. 2017-10-13 09:10:11 +07:00
Joshua Horton
453e5d56b9 Centralizes the layer-change operation of the OSK; fixes the regression mentioned in #358. 2017-10-13 09:07:55 +07:00
Joshua Horton
1d1a8fe928 Fixes the remaining tavultesoft.keymanweb reference in the samples pages. 2017-10-13 08:03:21 +07:00
Joshua Horton
8ba75693f3 Merge pull request #354 from keymanapp/web-352-autoattach-fix
Corrects KMW auto-attach behavior.
2017-10-12 18:04:51 +07:00
darcywong00
cdd75ccf5f Refactor longpress logic so key text is not confused with key code
A tchad keyboard has a diacritic rule that converts `=` (U_003D) into a combining macron (U_0304).
A longpress on `»` (U_00BB) was inadvertently triggering the diacritic rule, and outputting the macron.

The longpress code in KMEA and KMW needs to be refactored so they dont confuse key text (U_00BB is decimal 187) with underlying keyCodes (`=` is keyCode 187).

- fix KMW executePopupKey so key code is dictionary lookup instead of parsing the keyID.
- clean up JS call to executePopupKey since it only uses the keyID
2017-10-12 14:21:29 +07:00
Joshua Horton
9ca227626d Refactors the samples and testing pages appropriately to the new namespace. With a little housekeeping and bug fixes related to work on this issue. 2017-10-12 09:49:39 +07:00
Marc Durdin
f7046a0006 Merge pull request #351 from keymanapp/developer-web-compiler-code-regression
Fixup regression for debug-mode keyboards using touch keys (hexadecimal format error)
2017-10-12 09:34:25 +07:00
Joshua Horton
afd515901e Major refactor - base object name has been changed to keyman. 2017-10-12 09:03:28 +07:00
Joshua Horton
2180ca5206 Heavily refactored and reformatted the 'callbacks'/interface. 2017-10-12 09:03:28 +07:00
Joshua Horton
a791d024eb Initial refactor: KeymanWeb now distinct from tavultesoft.keymanweb. Functions properly. 2017-10-12 09:03:27 +07:00
Joshua Horton
4622ec00dd Merge pull request #353 from keymanapp/web-350-establish-testing
Refactors KeymanWeb sample & test pages.
2017-10-12 08:06:17 +07:00
Joshua Horton
5c1247fdc5 Adjusts Readme.md to match the new layout. 2017-10-11 16:04:52 +07:00
Joshua Horton
1fd7dd21c9 Oh yeah, history.md. 2017-10-11 15:55:04 +07:00
Joshua Horton
9d748bf17c Fixes a bug in _GetDocumentEditables. 2017-10-11 15:53:48 +07:00
Joshua Horton
61de8ffe3e Refactored the samples section to create a separate testing section. 2017-10-11 15:31:06 +07:00
Marc Durdin
fecb11d1f8 Fixup regression for debug-mode keyboards using touch keys (hexadecimal format error) 2017-10-11 12:11:25 +07:00
Marc Durdin
c319671f34 Merge pull request #347 from keymanapp/developer-chirality-wix-bug
Additional fix to wix file for Keyman Developer
2017-10-10 14:12:43 +07:00
Marc Durdin
7ed84bea44 Additional patch to wix file 2017-10-10 12:55:34 +07:00
Joshua Horton
b24e29390a Fixed super-shorthand variable name.
As per PR review.  No longer super-short, but it's more informative now.
2017-10-10 11:22:08 +07:00
Darcy Wong
dce43d6760 Merge pull request #346 from keymanapp/android-cleanup-longpress
Refactor longpress text when it's generated by Id
2017-10-10 09:06:40 +07: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
Marc Durdin
ae03f1afb9 Merge pull request #345 from keymanapp/developer-chirality-wix-bug
Fix build issue with hyphen in identifier in kmdev.wxs
2017-10-09 09:30:24 +07:00
darcywong00
f06c727e51 Refactor longpress text when it's generated by Id
Currently on the touch layout, longpress for K_SPACE causes the app to crash because it is attempting to parse `K_SPACE` as an int for generating the longpress text.

- Clean up when key text is empty how it is parsed from Id
-Change Unicode hex string delimiter from `,0x` to `\\u` which makes it easier to read `executePopupKey()` in the logs.
2017-10-09 09:04:30 +07:00
Marc Durdin
53440ac4e4 Fixup build issue with hyphen in identifier in wxs 2017-10-09 08:12:46 +07:00
Gabriel Wong
3125089602 Migrate KMURLProtocol to Swift 2017-10-06 15:03:33 +07:00
Gabriel Wong
5568672f42 Migrate KMTextView to Swift 2017-10-06 14:28:35 +07:00
Gabriel Wong
4544e71e6e Migrate KMTextView to Swift 2017-10-06 14:09:31 +07:00
Gabriel Wong
5fe6464177 Migrate KMTextFieldDelegate to Swift 2017-10-06 14:08:18 +07:00
Gabriel Wong
6de84cc35e Migrate KMTextField to Swift 2017-10-06 14:05:30 +07:00
Joshua Horton
00db5382e8 Added #103-related history documentation. 2017-10-06 13:37:51 +07:00
Joshua Horton
5245a556ec Fixed new work for Closure. 2017-10-06 13:06:16 +07:00
Joshua Horton
b01ee5542f Reworks the default keyboard selection that occurs on KMW initialization to be better specialized for each of the embedded and native control paths. 2017-10-06 13:04:00 +07:00
Joshua Horton
0214cb3690 Function reformatting. 2017-10-06 10:51:23 +07:00
Joshua Horton
602edbe11b Addresses point 1 of #103 - prevents duplicate requests for identical keyboard-language pairings. 2017-10-06 10:44:31 +07:00
Gabriel Wong
6e8fe32680 Migrate Sample2 app to Swift 2017-10-06 09:57:22 +07:00
Gabriel Wong
8c7fc5812e Migrate KMSample1 app to Swift 2017-10-06 09:54:09 +07:00