Commit graph

4628 commits

Author SHA1 Message Date
Joshua Horton
924a97cec0 web - history.md. 2017-11-24 14:05:07 +07:00
Joshua Horton
1e7f37e21c Reformatted the touch-oriented 'setFocus' function. 2017-11-24 13:46:52 +07:00
Joshua Horton
986851cfda Created the _CommonFocusHelper to reduce copied code, refactored caret snapping for touch. 2017-11-24 13:44:29 +07:00
Joshua Horton
f8d4952d70 Creates helper functions for managing control keyboard preferences. 2017-11-24 13:17:14 +07:00
Joshua Horton
e97d8615bd A bit more deadkey refactoring, + removing one redundant line. 2017-11-24 12:08:57 +07:00
Joshua Horton
489611deba Possible resolution of the deadkey-related closure error? 2017-11-22 14:06:56 +07:00
Joshua Horton
a6602d4831 Some further refinement of the refactoring results. 2017-11-22 13:31:55 +07:00
Joshua Horton
a864c77827 Moved the basic fields of the kbdInterface to its initialization in kmwbase.js. 2017-11-22 13:01:07 +07:00
Joshua Horton
7f93d45810 Moved the core keyboard processing function to kmwcallback.js. 2017-11-22 12:56:04 +07:00
Joshua Horton
b927c66eb0 Refactored keystroke processing state vars into the keyman.interface object. 2017-11-22 12:41:49 +07:00
Joshua Horton
c4b549905a Reformats osk.showSubKeys and fixes #161. 2017-11-22 08:49:37 +07:00
Joshua Horton
2eb43591db
Merge pull request #421 from keymanapp/web-311-keystroke-control-paths
[Web] Keystroke control path rework
2017-11-22 08:17:56 +07:00
Joshua Horton
b5a6eeb101 Removes the old _FindCaret workaround for ancient versions of FF. 2017-11-21 10:46:48 +07:00
Joshua Horton
0dd68c2a3e Forgot to remove part of the unwanted changes! 2017-11-21 10:09:06 +07:00
Joshua Horton
5b7bfb5d5d Removed KeyboardEvent.code implementation, fixed Closure error. 2017-11-21 10:08:04 +07:00
Joshua Horton
71a50a929a Initial deprecation fixes. 2017-11-20 15:02:32 +07:00
Joshua Horton
33810d05a6 A little extra polish, for PR comments. 2017-11-20 08:50:42 +07:00
Joshua Horton
f917c0fa2b Comments on the prior function merge. 2017-11-20 08:47:44 +07:00
Joshua Horton
d49eb5f8db Merged processKeystroke with callKeyboardStartGroup. 2017-11-20 08:46:11 +07:00
Joshua Horton
45569b66c6 PR review tweaks, round 1. 2017-11-17 16:02:48 +07:00
Joshua Horton
736d22e8d7 history.md 2017-11-17 15:16:13 +07:00
Joshua Horton
b486b92ff9 A start for code to support additional key command manipulation for touch-alias elements. It's disabled since it's presently cluster-ignorant. 2017-11-17 15:07:24 +07:00
Joshua Horton
5ce9a96bf4 ENTER, SPACE, BACKSPACE, and TAB now work when typed within touch-aliased elements. 2017-11-17 14:42:38 +07:00
Joshua Horton
2d6f165dd0 Re-enables physical keyboard input for touch devices when not embedded. 2017-11-17 12:50:57 +07:00
Joshua Horton
871ab0c6d3 Split the keyboard + OSK control paths for keystroke processing. 2017-11-17 12:38:16 +07:00
Joshua Horton
0ac1377d76 Merge branch 'master' into web-349-core-refactoring 2017-11-13 13:05:52 +07:00
jahwsuf
cfb6a78bc1 The default sample languages left out a region for English, so it wasn't appearing in the toolbar UI. 2017-11-07 08:05:14 +07:00
Joshua Horton
cbbb9c2727 #271 -> history.md. 2017-11-06 14:49:50 +07:00
Joshua Horton
bd414939ac Addresses #271, disables 'indirect' check. 2017-11-06 14:48:40 +07:00
Joshua Horton
f0f9056e47 Fixes the keyboard-changing problem previously noted. 2017-11-06 12:08:46 +07:00
Joshua Horton
2f1265959e Mostly incorporates the 'only set active keyboard if old one was removed' request, though there's an occasional issue with the active keyboard mysteriously persisting. 2017-11-06 11:00:19 +07:00
Joshua Horton
64eea34ba2 history.md. 2017-11-06 10:43:39 +07:00
Joshua Horton
237a2bd31f Tweaks the new return value's behavior. 2017-11-06 10:42:00 +07:00
Joshua Horton
0a2b12e8c6 Checks for the ENTER keystroke explicitly. Whoops. 2017-11-06 10:21:53 +07:00
Joshua Horton
51f2ddb36e Fixes copy-pasted documentation comment in the testing header script. 2017-11-06 10:05:08 +07:00
Joshua Horton
cc8cf5be10 Extended the test slightly and implemented the 'return true/false' component mentioned in the issue. 2017-11-06 08:46:53 +07:00
Joshua Horton
89958d64ef Developed a test page for issue #5; the issue was no longer valid / was pre-fixed. 2017-11-06 08:43:34 +07:00
Joshua Horton
ab7aa85529 Merge branch 'web-349-core-refactoring' of https://github.com/keymanapp/keyman into web-349-core-refactoring 2017-10-31 09:46:32 +07:00
Joshua Horton
01f660d048 Merge branch 'master' into web-349-core-refactoring 2017-10-31 09:44:25 +07:00
Joshua Horton
7207c241a4
Merge pull request #387 from keymanapp/web-45-addKeyboards-API-consistency
addKeyboards parameter property:  'language' -> 'languages'.
2017-10-31 08:42:42 +07:00
Joshua Horton
9454c1d9d3
Merge pull request #385 from keymanapp/web-375-autoattach-default
Sets init param 'attachType' to 'auto' for all devices.
2017-10-31 07:44:20 +07:00
Joshua Horton
d2c89ee37a Addresses #45. 2017-10-27 09:14:39 +07:00
Joshua Horton
bc92846664 Right, history.md. 2017-10-25 13:21:23 +07:00
Joshua Horton
ba04eb956b Sets init param 'attachType' to 'auto' for all devices. 2017-10-25 13:13:53 +07:00
Marc Durdin
dc6329938c Move KMBM variable out of KV member in keyboards to match compiler behaviour 2017-10-20 10:42:54 +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