Commit graph

107 commits

Author SHA1 Message Date
Joshua Horton
b3b3922fb6 Added new error message for KMW for the embedded path. 2017-11-29 10:28:46 +07:00
Joshua Horton
7a4a81856e Fixes up KMW a bit; things aren't perfect yet, though. 2017-11-29 10:11:05 +07:00
darcywong00
e46f6a9cc0 Start moving to new asset structure
By design, kmp keyboards will unzip into /packages/packageID folders. 

1. Moving default eurolatin2 keyboard assets
2. Move old keyboards to new packages structure
2017-11-28 14:48:56 +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
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
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
237a2bd31f Tweaks the new return value's behavior. 2017-11-06 10:42:00 +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
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
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
Joshua Horton
bdfdb42208 Merge branch 'master' into web-103-registration-stub-decouple 2017-10-16 09:49:12 +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
9d748bf17c Fixes a bug in _GetDocumentEditables. 2017-10-11 15:53:48 +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
Joshua Horton
16048e5573 setIsChiral() is now operational. 2017-10-04 10:33:16 +07:00
Joshua Horton
d5cfe35927 Merge branch 'master' into web-9-modifier-chirality 2017-09-27 15:18:52 +07:00
Joshua Horton
5775f84269 Fixes up _KeyDown's original documentation comment. 2017-09-25 11:56:15 +07:00
Joshua Horton
e9a85cd2c4 Removed incomplete fix code that snuck in the prior commit. 2017-09-25 11:53:57 +07:00
Joshua Horton
d007a5a22b Undoes physical input support for touch devices while in native (not app-embedded) mode. 2017-09-25 11:50:24 +07:00
Joshua Horton
e61fa5673a Merge branch 'master' into web-9-modifier-chirality 2017-09-25 08:27:31 +07:00
Joshua Horton
7c9a3d6436 Undid Closure notation from added code where possible, enforced single-quotes for consistency/searchability, and polished chirality.js a bit. 2017-09-14 09:32:15 +07:00
Joshua Horton
18e08d2f87 Adds persistent tracking for state key activation, checks for any changes to the modfier state by simple integer comparison and updates OSK accordingly.
Removes `mousemove` based polling due to its potential performance overhead.
2017-09-12 09:46:37 +07:00
Joshua Horton
3d60004118 Patches up a Firefox bug with European layout AltGr presses and KMW OSK management. 2017-09-12 08:32:38 +07:00
Joshua Horton
b87dfe545e AltGr simulation is nearly ready, but has some issues with working properly on... actual European keyboards when the AltGr key is pressed. *sigh* 2017-09-12 08:32:38 +07:00
Joshua Horton
75f21e399c Fixes the handler-removal function name. 2017-09-12 08:32:38 +07:00
Joshua Horton
765ef90af6 Added code facilitating CAPS_LOCK OSK state management when KMW handling is out of focus.
Includes some commented-out prelim work on AltGr simulation... it's proving very tricky.
2017-09-12 08:32:38 +07:00
Joshua Horton
11bed888bc Incorporates most of the requested changes from @mcdurdin's recent PR review.
There's still a bit of work to do on supporting proper CAPS_LOCK state upon element refocusing, as with switching tabs.
2017-09-12 08:32:38 +07:00
Joshua Horton
5d86d1a3e9 Initial implementation of state key handling is now in place. The OSK version of state keys acts just like the OSK version of modifiers. Chiral keyboard now auto-caps all keys when CAPS LOCK is active. 2017-09-12 08:32:38 +07:00
Joshua Horton
b4cab07e22 Behold! Actual chiral output! Supported both by physical keystrokes and osk interaction.
Yet to do:  state keys, embedded integration.
2017-09-12 08:32:38 +07:00
Joshua Horton
71fe50048a Implements proper detection of the modifier state both from the OSK and the physical keyboard and also ensures that osk.clickKey operates as expected for existing keyboards. 2017-09-12 08:32:37 +07:00