Commit graph

24978 commits

Author SHA1 Message Date
Joshua A. Horton
2c24e7d187 Established a more long-term file structure for the tests. 2018-02-02 15:00:11 +07:00
Joshua A. Horton
bbd04e8963 Got a basic HTML 'fixture' working with the Karma system. We'll need to manually create an equivalent to the 'html2js' preprocessor for non-Karma testing to match it, though. 2018-01-30 09:08:19 +07:00
Joshua A. Horton
b32b255e5b Added Edge to the Karma/Mocha testing path. 2018-01-29 13:08:19 +07:00
Joshua A. Horton
b42e8d8e49 Merge branch 'master' into ios-debug-kmw 2018-01-29 12:58:37 +07:00
Joshua A. Horton
1cfcca6735 Initial web testing infrastructure. No real tests yet. 2018-01-29 12:46:16 +07:00
Tom Bogle
760bdb349f Made Keyman4Mac schem shared to avoid error on TeamCity 2018-01-28 21:58:01 -05:00
darcywong00
9bc7b43493 Handle kmp files passed from Android DownloadManager
Intents from the DownloadManager use paths like `/document/number/` so additional code needed to determine the kmp filename.

protocols also separated in switch statement for maintainability.
2018-01-28 23:04:14 +07:00
darcywong00
e4c88ed09b Try to refine intent filters for file:// and content:// 2018-01-28 23:01:40 +07:00
darcywong00
a7fa26e472 Add Toast notification when File access to KMP denied 2018-01-28 23:01:12 +07:00
darcywong00
0afd5796ba Improve UI and check kmp for touch keyboards
- Changed PackageProcessor to skip processing keyboard ID's if JS not found
- Fix a PackageProcessorTest to use the correct package ID
- Added a dialog for when Packge install fails
-
2018-01-27 20:20:00 +07:00
Tom Bogle
eb7cab176f Added plumbing for unit testing IM.
This also slightly simplifies the logic in build.sh and even opens the possiblity of unit tests for the test app if that were ever to be desirable.
2018-01-26 12:31:38 -05:00
Marc Durdin
317a05868d
Merge pull request #548 from keymanapp/developer-add-fields-for-kmw-cloud-api-to-keyboard-info
Add fileSize, rtl data to keyboard-info and remove support for raw kmx in repo for merging keyboard-info
2018-01-26 17:08:08 +07:00
darcywong00
0621354a44 Add clearer toast notification when reverting default keyboard 2018-01-26 16:30:23 +07:00
darcywong00
0e220c6797 Begin addressing review issues
- clean up stray code from earlier development
- give some clear notifications to user when package install fails
2018-01-26 16:07:53 +07:00
Joshua A. Horton
7448a41282 Huh. It seems that the old _kmw_block codepath is no more at this stage in the refactor. 2018-01-26 13:38:23 +07:00
Joshua A. Horton
c6358e473d More legacy cruft removal. 2018-01-26 13:27:51 +07:00
Joshua A. Horton
ffe033db91 A minor patch for the merge - it missed a couple of 'instanceof's. 2018-01-26 12:50:40 +07:00
Joshua A. Horton
2fafb08067 Forgot to save the documentation part. 2018-01-26 12:47:46 +07:00
Joshua A. Horton
a051f876a7 Merge branch 'web-544-iframe-instanceof' into web-typescript-legacy-refactor 2018-01-26 12:46:02 +07:00
Joshua A. Horton
a7f65dc2fb Tweaks documentation and provides a quick spot-check for Event instanceof checks. 2018-01-26 10:59:22 +07:00
Joshua A. Horton
3dbef51e9a Fixes #544. 2018-01-26 10:50:17 +07:00
Marc Durdin
06a814a65b Add fileSize, rtl data to keyboard-info and remove support for raw kmx in repo for merging keyboard-info 2018-01-26 10:12:39 +07:00
Joshua A. Horton
beadfc30ef Deals (partly?) with IE's .parentWindow property. 2018-01-26 08:32:41 +07:00
tom_bogle@sil.org
2142e97705 Fixed syntax of line to run to build. 2018-01-25 10:56:49 -05:00
Tom Bogle
635c0b9f5a
Merge pull request #545 from keymanapp/mac-implement-chirality
[Mac] implement chirality
2018-01-25 09:51:58 -05:00
Tom Bogle
db9475e0c6 Solved the chirality problem on Mac (#178)
Also made the Scheme for the IM build shared in preparation for adding unit tests to thta project.
2018-01-25 00:00:44 -05:00
Joshua A. Horton
1e11b4a9a0 A little extra build script polish. 2018-01-25 10:04:57 +07:00
Joshua A. Horton
488de66d89 Polishes up build.sh and integrates -no-minify into Developer. 2018-01-25 09:54:42 +07:00
Joshua A. Horton
6fdd2b6633 Merge branch 'master' into web-no-minify-build-option 2018-01-25 09:15:19 +07:00
Joshua Horton
df28c31535
Merge pull request #504 from keymanapp/web-typescript-typed-callbacks
Typescript Conversion:  Callbacks module
2018-01-25 09:11:22 +07:00
Joshua Horton
ffb94efe32
Merge pull request #516 from keymanapp/web-typescript-dom-module
Typescript conversion: page interface module
2018-01-25 09:11:07 +07:00
Joshua A. Horton
7aa7398a91 Adds a -no-minify CL argument to KMW's build.sh. 2018-01-25 09:10:15 +07:00
Joshua A. Horton
983fe8ca6a Removes document.selection and its codepaths from the KMW engine. 2018-01-25 08:36:54 +07:00
Joshua A. Horton
c65df69091 Merge branch 'web-typescript-dom-module' into web-typescript-legacy-refactor 2018-01-25 08:28:20 +07:00
Tom Bogle
d9ef95f02b WIP: Implement chirality using CGEvent
Doesn't build
2018-01-24 09:26:17 -05:00
Tom Bogle
7e5279907c
Merge pull request #537 from keymanapp/mac-add-engine-unit-tests
Mac add engine unit tests
2018-01-24 09:22:46 -05:00
Tom Bogle
604f589be4 Changed debug setting to be based on actual build type 2018-01-24 09:03:19 -05:00
Joshua A. Horton
cc3339af1c Future work documentation 2018-01-24 12:25:28 +07:00
Joshua A. Horton
a0e1783061 Outside of initialization code and the debug API, completes the keymanweb.ts refactor. 2018-01-24 12:20:09 +07:00
Joshua A. Horton
bfd041b5f9 Refactored hotkeys, window load/unload event handlers, _SelPos. 2018-01-24 11:02:55 +07:00
Marc Durdin
3f73a0b175
Merge pull request #541 from keymanapp/windows-readme-notes-for-kmw-build
Update readme to record additional prereq details for Windows build
2018-01-24 10:09:32 +07:00
Joshua A. Horton
ad228fbfbd Refactors numerous DOM-related state variables out of kmwbase.ts and into the appropriate DOM-related sources. 2018-01-24 10:07:04 +07:00
Marc Durdin
f9770b5744 Update readme to record additional prereq details for Windows build 2018-01-24 08:33:37 +07:00
Marc Durdin
2dee28bf34
Merge pull request #540 from keymanapp/developer-keymanweb-typescript-integrate-to-build
Integrate KeymanWeb TypeScript changes into Keyman Developer build
2018-01-24 08:27:28 +07:00
darcywong00
35c43da0f3 Associate kmp with keyman app
Add intent-filter and storage permissions so Keyman app will process keyman://, http://, https:// protocols, along with local KMP file. Also add external storage permission
2018-01-24 06:12:03 +07:00
Tom Bogle
7bdc476a83 Check for expected event type rather than a catch-all try/catch 2018-01-23 11:26:10 -05:00
Tom Bogle
5e36e5b996 Made scheme shared so tests can be run from command line 2018-01-23 11:04:09 -05:00
Marc Durdin
63e5d06378 Tweak developer installer for new files with KeymanWeb TypeScript conversion 2018-01-23 15:39:59 +07:00
Marc Durdin
db72822040 Build KeymanWeb when building Keyman Developer (TypeScript changes) 2018-01-23 14:59:18 +07:00
Marc Durdin
a39c2f1f7d Build KeymanWeb when building Keyman Developer (TypeScript changes) 2018-01-23 14:59:06 +07:00