Commit graph

137 commits

Author SHA1 Message Date
Marc Durdin
8d7629a40f Fix for #160 2017-08-17 14:30:09 +07:00
Darcy Wong
2fc20b6ce6 Fix build scripts for Linux
n trying to build Keyman for Android on Linux, the following issues needed to be fixed:

Set `build.sh` and `gradlew` scripts to executable

KMEA/build.sh needs an OS check so build.bat is only called on Windows

web/source/build.sh needs $compiler and $copmiler_warnings values in quotes
2017-07-31 08:36:10 +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
Marc Durdin
77ac8bc786 KMW: Treat warnings as errors (#120)
* Test CI

* Test CI again

* Test CI again

* Test CI again

* Test CI again

* Turn warnings into errors (but don't turn on all warnings)
2017-07-19 09:54:30 +07:00
Marc Durdin
cb296d9411 Merge pull request #117 from keymanapp/web-longpress-numeric-issue-115
Long press in numeric/symbol layers does not work
2017-07-10 10:45:27 +07:00
Joshua A. Horton
a1c123efbe Turns out Windows msys and Linux cp -R behavior is identical - OS X is the odd one out. So, redid the filtering. 2017-07-10 10:21:45 +07:00
Marc Durdin
b26781f44d Long press in numeric/symbol layers does not work 2017-07-10 10:14:19 +07:00
Joshua A. Horton
59dab88ae1 Merge remote-tracking branch 'origin/web-build.sh' into web-build.sh 2017-07-10 09:52:48 +07:00
Joshua A. Horton
1b47c77753 Fixes the shell build for Mac systems - the resource copy path behavior appears to differ on the two OSes. 2017-07-10 09:50:37 +07:00
Joshua Horton
67f92028f2 Merge remote-tracking branch 'origin/web-build.sh' into web-build.sh 2017-07-05 15:10:38 +07:00
Joshua Horton
d41cca7368 Changes as per code review. 2017-07-05 15:09:01 +07:00
Darcy Wong
7a90a7440e Make build.sh executable
Add sha-bang and set file to +x
2017-07-05 14:11:39 +07:00
Joshua Horton
c381a40702 Restores build.bat for now. 2017-07-05 13:57:39 +07:00
Joshua Horton
d81e4b6231 Converted the Windows-dependent build.bat into a build.sh shell script. 2017-07-05 13:33:34 +07:00
Joshua Horton
c7fbac0d84 'util' -> 'ui' in the re-init check. 2017-07-04 10:21:43 +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
f71c7e56fd Initial work toward bookmarklet issues #108 & #109. 2017-07-03 15:58:11 +07:00
Joshua Horton
7af8b93cf8 Corrects issue #110 - fixes the embedded control path for hardware keyboard input and adds a layer of protection to prevent future touchable-mode breakage. 2017-06-29 10:35:57 +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
c81ca7e41e Use BUILD_COUNTER variable instead of BUILD_NUMBER from TeamCity 2017-06-21 14:41:52 +07:00
Marc Durdin
840299a786 Merge pull request #96 from keymanapp/web-fixup-copyrights
Fixup copyright messages and links to remove references to Tavultesoft
2017-06-15 09:59:38 +07:00
Marc Durdin
ac5f0830c1 Merge pull request #95 from keymanapp/web-build-artifacts-to-match-deploy-layout
Change build.bat to create output/ folder artifact layout that matches deployment layout
2017-06-15 09:58:41 +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
Marc Durdin
487354810e Fixup copyright messages and links to remove references to Tavultesoft 2017-06-14 14:09:12 +07:00
Marc Durdin
a13583d539 Change build.bat to create output/ folder artifact layout that matches deployment layout 2017-06-14 13:55:33 +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
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