Commit graph

157 commits

Author SHA1 Message Date
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
darcywong00
a985588a6b Rename embedded artifact to keyman.js
Android projects are expecting the web embedded artifact to be named keyman.js instead of keymanweb.js
2017-06-13 14:50:09 +07:00
Joshua Horton
8c489f53a4 Fixed an issue where setActiveKeyboard failed to do just that. 2017-06-13 14:08:15 +07:00
Marc Durdin
aafc0ed5e8 Merge pull request #89 from keymanapp/web-88-disabled-control-reformatting
[Fix] Disabled element reformatting no longer occurs on desktop implementations.
2017-06-13 09:43:08 +07:00
Joshua Horton
4199139e8c Fixes issue #88. 2017-06-13 09:36:11 +07:00
darcywong00
7a9bba153c Remove build number from embedded artifacts
Now that the CI build server publishes web (output) and embedded artifacts, the build.bat file can be updated to leave the build number out of artifact names.
2017-06-12 14:19:38 +07:00
Marc Durdin
f04823ddb4 Merge pull request #84 from keymanapp/web-keycode-cleanup
web - Housekeeping:  OSK keymapping
2017-06-09 13:24:45 +07:00
Joshua Horton
048449727f More keycode kleanup. 2017-06-09 11:10:41 +07:00
Joshua Horton
6669d1b1b8 Removed dead condition from the OSK's default keymapping function, swapped from using raw numbers to keycode references. 2017-06-09 10:05:00 +07:00
darcywong00
08b299c0d6 Fix SPACEBAR and ENTER key on external keyboard
Fix for sillsdev/keyman/issues/12 where SPACEBAR and ENTER key on an external keyoard weren't registering a keystroke.
2017-06-08 16:23:02 +07:00
Joshua Horton
ff621c4065 Better documentation on the fix. 2017-06-08 12:33:06 +07:00
Joshua Horton
b57131ab29 Disables touch-based behavior when KeymanWeb cannot detect a supported path for handling touch. (When it gives up and says "It's a desktop.") 2017-06-08 11:57:41 +07:00
Joshua Horton
c731d71fc7 Fix for console log error; one variable was improperly located. 2017-06-05 12:22:01 +07:00
Marc Durdin
dcb28ef32d Merge pull request #80 from keymanapp/web-63-dynamic-input-removal
Dynamic input removal, other bookkeeping
2017-06-05 10:42:12 +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
6ef1a64c06 Shifted the definition of compile path information for use by all routes through the batch file (error from prior version).
Also created internal constants for the source and output folders.  The relative paths have been stress-tested under various conditions and are all stable.
2017-06-02 11:48:18 +07:00
Joshua Horton
966b13fea6 Initial merger with the KMEA/KMEI build.bat complete, all build paths tested.
May not handle the BUILD variable properly and doesn't yet have constants for the relative path directories.
2017-06-02 11:01:35 +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
81bf91346f Restructured testing page structure & added testing pages to the samples index.html page. 2017-06-01 14:40: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
Marc Durdin
b40b938930 Merge pull request #78 from keymanapp/web-53-touch-layer-layouts
A quick *.gitignore fix.
2017-06-01 14:19:09 +07:00
Joshua Horton
7318cf07de A better *.gitignore fix. 2017-06-01 14:15:47 +07:00
Joshua Horton
f21fcb8ba0 Modified .gitignore to exclude *.kpj.user files from direct subdirectories of the samples folder. 2017-06-01 14:10:14 +07:00
Marc Durdin
a9eb671c96 Merge pull request #76 from keymanapp/web-53-touch-layer-layouts
Correction for touch layout rotation with layers of differing row counts.
2017-06-01 14:02:05 +07:00
Joshua Horton
fa8f8fff00 Added a small measure to prevent div-by-0 errors in osk.adjustHeights. 2017-06-01 08:59:04 +07:00
Joshua Horton
a1c7fc72af Included full debug keyboard source, moved issue58.html and its dependencies to their own subfolder. 2017-06-01 08:51:56 +07:00
Joshua Horton
af91f66a38 Final reformatting in prep for the big pull request. 2017-05-31 11:36:37 +07:00
Joshua Horton
3295723890 Merge branch 'master' into web-53-touch-layer-layouts 2017-05-31 10:32:30 +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
5e434005cc Allows dynamic row height adjustments for different layers on the keyboard. 2017-05-30 15:09:19 +07:00
Joshua Horton
d95e052579 Initial setup of a testing environment for the issue. 2017-05-30 14:43:55 +07:00
Joshua Horton
352cb66de5 Merge branch 'web-72-closure-upgrade' into web-29-mutation-observers,
fixing remaining Google Closure warning messages that were missed by
PR #73.
2017-05-30 12:56:27 +07:00
Joshua Horton
68ab46fd7b Resolved remaining Closure warning messages. 2017-05-30 12:55:41 +07:00
Joshua Horton
fe012a482e Corrects new warnings from kmwuitoolbar.js. 2017-05-30 11:37:35 +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