Commit graph

38 commits

Author SHA1 Message Date
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
Joshua Horton
1b650db120 Testing setup + #63 fix. There's some funky formatting issues on mobile/touch-based devices, though that may be hesitancy on their part to work well with dynamic elements. 2017-05-29 10:44:02 +07:00
Joshua Horton
173ad56f0e The issue #62 fix is now absolutely usable in its present form; the only hangup at present is a quickly self-correcting cosmetic one.
Also reorganized testing file layout.
2017-05-29 10:31:57 +07:00
Joshua Horton
e61f5f83a3 Major progress on #62 - Android Chrome, Android Internet, and iPhone Safari are (mostly) working with dynamic elements!
Problem:  if the inputs are resized due to language, a scrolling event is necessary for proper display?
2017-05-29 10:31:57 +07:00
Joshua Horton
7159467b4e Developed testing pages and infrastructure for the issue; performed initial refactoring for dynamic touch support. Confirmed safe on Android Chrome + iPhone Safari. 2017-05-29 10:31:26 +07:00
Joshua Horton
fc718b34d7 Issue #29 - now handles the potential iframe loading race condition for desktop browsers. 2017-05-29 09:48:02 +07:00
Joshua Horton
f446eecbf6 Issue #29 - MutationObserver code is now in place and tested. Potential race condition remains. 2017-05-29 09:47:43 +07:00
Joshua Horton
ee3669028e Potential fix for issue #29 is in place. It's confirmed in Firefox, at present... gotta test it out in other environments still. 2017-05-29 09:40:43 +07:00
Joshua Horton
15939a34a9 Refactored setupDesktopPage() to allow for setup of dynamically-added inputs after page initialization, added setup for solving #29.
Includes present code for testing the issue.
2017-05-29 09:38:10 +07:00
Marc Durdin
16ef06a879 Move KeymanWeb project to web/ 2017-05-26 11:00:34 +07:00
Renamed from source/keymanweb.js (Browse further)