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
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
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
Joshua Horton
afd43a4345
Fixes the potential layer generator to follow our planned chirality constraints.
2017-09-12 08:32:37 +07:00
darcywong00
00396767cf
Address review comments
...
* Fix formatting
* Remove unnecessary `osk.layerIndex = 0;` line
2017-09-11 12:52:44 +07:00
darcywong00
57deb5c235
Address initial review comments
...
* Change keyboard.html reference to resetContext()
* Fix javascript typo
* Change system keyboard check from `!SystemKeyboardShouldIgnoreSelectionChange` to `!SystemKeyboardShouldIgnoreTextChange`
* Remove unnecessary code in resetContext()
2017-09-08 10:18:10 +07:00
darcywong00
774802615b
remove temporary console.logs
2017-09-07 20:17:43 +07:00
darcywong00
f373695a0b
Update resetContext
...
move to keymanweb.js
Also clean up formatting
2017-09-07 15:06:11 +07:00
Joshua Horton
e539f4eaaf
Merge pull request #212 from keymanapp/web-remove-shims
...
[Web] Removes now-deprecated shim elements.
2017-08-23 12:14:29 +07:00
Joshua Horton
77a63e76ed
Attachment API rework ( #114 )
...
A massive rework for our attachment and enablement paradigms for web controls targetted for KeymanWeb 10.0, merged from #114 . This also more closely ties the control paths used for page initialization with those used by MutationObservers for dynamically-added elements in an aim to improve internal consistency and facilitate new and future extensions to KMW functionality.
2017-08-23 12:12:48 +07:00
Joshua Horton
a75dc68933
Ensuring previous changes got added.
2017-08-21 14:08:54 +07:00
Joshua Horton
abb9d7444f
Removes shim elements and references while deprecating the old shim API functions.
2017-08-21 13:39:30 +07:00
Joshua Horton
e3728c61fe
Addresses the comments of #106 .
2017-08-21 12:29:44 +07:00
Marc Durdin
7125e3a08e
KeymanWeb 10.0 alpha ( #124 )
...
* Fixes #107 - move __BUILD__ and dfltLayout variables into tavultesoft object
* Cherry-pick fix for error from attachment api rework #114
* Fixup missing __BUILD__ reference
* Update header version number
* Fixup broken getDefaultKeyObject() call so we can release 2.0
* Fixes #118 - longpress menu sometimes missing base key on phone devices (#134 )
* Add note to build scripts to remind devs to make changes to both scripts
2017-07-26 07:36:58 +07:00
Joshua Horton
152880b883
Wrapped most source files with conditional loading scheme in order to block accidentally redefining functionality and data if KMW is loaded multiple times.
...
A few of the simpler files (definitions of string functions, basic init) were left unchanged.
2017-07-04 09:17:27 +07:00
Joshua Horton
b617e0b22b
Relocated keyboard-error testing suite to own folder, replaced timeout example with a more universally-applicable one.
2017-06-27 09:22:52 +07:00
Joshua Horton
205d543546
Final touchups for the error-system renovation PR.
2017-06-26 11:08:20 +07:00
Joshua Horton
574ac97815
Added a kmwembedded flag to make the error output's condition more explicit, refactored in-PR code to match.
2017-06-26 10:13:02 +07:00
Joshua Horton
e3276228c1
Incorporated base PR review feedback, cleaned up the refactor of KR() in kmwcallback.js a bit.
2017-06-26 09:35:30 +07:00
Joshua Horton
980e9efc9d
Removed old globals that are no longer needed.
2017-06-23 15:56:23 +07:00
Joshua Horton
f5bd2bbf49
Fixed up some Closure errors and warnings.
2017-06-23 15:43:02 +07:00
Joshua Horton
f1afaad3af
Redesign of the keyboard loading process - prototype complete! Confirmed in Firefox, Chrome, IE, and Edge!
2017-06-23 15:43:02 +07:00
Marc Durdin
baab20dd34
Merge pull request #94 from keymanapp/web-set-keyboard-api-fix
...
Web set keyboard api fix
2017-06-14 14:24:24 +07:00
Joshua Horton
5700f646b2
Necessary support for how Google Closure operates. I'm a newb at it, so it's only going in now.
2017-06-14 12:20:26 +07:00