Commit graph

59 commits

Author SHA1 Message Date
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
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
Joshua Horton
2e30d8232b Fixes issues with UI focus handling that interfered with control-by-control handling of languages.
Also fixes issues with the Toggle UI displaying for API-disabled controls.
2017-06-14 10:34:39 +07:00
Joshua Horton
69a58ebea7 Refactoring remaining instances of lgCode -> PLgCode in _setActiveKeyboard. 2017-06-14 09:31:01 +07:00
Joshua Horton
92f4a0f5f4 Corrections as per code review. 2017-06-14 09:22:57 +07:00
Joshua Horton
89dc9b335f Inlined the old setDfltKeyboard() method that was only ever used in one place and was not part of the API. 2017-06-14 08:13:38 +07:00
Joshua Horton
98d8b78708 Fixes an issue where the default keyboard could not be set on page load if a different keyboard was triggered to load asynchronously. 2017-06-13 15:44:37 +07:00
Joshua Horton
8c489f53a4 Fixed an issue where setActiveKeyboard failed to do just that. 2017-06-13 14:08:15 +07:00
Joshua Horton
4199139e8c Fixes issue #88. 2017-06-13 09:36:11 +07:00
Joshua Horton
c731d71fc7 Fix for console log error; one variable was improperly located. 2017-06-05 12:22:01 +07:00
Joshua Horton
8e57fc998a Requested refactoring complete; also changed a return type on a new method to boolean to facilitate any future optimization code. 2017-06-05 10:38:19 +07:00
Joshua Horton
1d122317d1 Previously-mentioned issue now fixed. #63 ready to ship? 2017-06-05 09:36:32 +07:00
Joshua Horton
2d8a69b2a0 Fixed the re-added element problem, but found a new one: already-added elements don't reposition properly upon a text element resize (Triggered by language change, at minimum). 2017-06-05 09:30:47 +07:00
Joshua Horton
1c5fe171ff Consolidated timeout/updateInput code; the inputs now work and arrange themselves properly UNLESS readded to the page, which is the one remaining issue at the moment. 2017-06-05 09:14:52 +07:00
Joshua Horton
7320434b18 A few variables didn't fully keep up with recent refactoring. 2017-06-01 15:38:50 +07:00
Joshua Horton
f78af56025 Bringing the formatting up to preferred conventions. 2017-06-01 14:45:28 +07:00
Joshua Horton
ae92758a4b Merge branch 'master' into web-63-dynamic-input-removal. Includes some code prettification. 2017-06-01 14:31:19 +07:00
Joshua Horton
af91f66a38 Final reformatting in prep for the big pull request. 2017-05-31 11:36:37 +07:00
Joshua Horton
aaeb6a5dea Refactoring, documenting, cleaning up the code. 2017-05-31 10:31:50 +07:00
Joshua Horton
85fe72e451 Merge branch 'master' into web-62-dynamic-addition-for-touch 2017-05-31 10:05:11 +07:00
Joshua Horton
3613f6e780 Fixing up recent refactoring. 2017-05-31 09:50:46 +07:00
Joshua Horton
722cfd02fe ;
'\t'
2017-05-31 09:46:00 +07:00
Joshua Horton
8d27f85e39 Fixed up attachType:'manual' code and performed some requested refactoring. 2017-05-31 09:41:06 +07:00
Joshua Horton
26f824baef Code formatting. 2017-05-30 11:17:47 +07:00
Joshua Horton
beb0e882ea Merge branch 'master' into web-29-mutation-observers 2017-05-30 10:52:20 +07:00
Joshua Horton
50d030b2c4 Fixes as per PR review - #73 2017-05-30 10:28:37 +07:00
Joshua Horton
ea0395a13c Updated the version of Google Closure and patched up the code in accordance with its new warnings. 2017-05-30 09:19:06 +07:00
Joshua Horton
693cefd404 Tidying up the pull request. 2017-05-29 10:52:18 +07:00
Joshua Horton
f320d6fc2f Fixed up the odd tablet behavior when dynamically removed elements were readded. ... yes, that could be a thing. Issue #63 complete!
Also moved testing files from temporary 'testing' directory to /web/samples.
2017-05-29 10:44:11 +07:00