Commit graph

49 commits

Author SHA1 Message Date
Joshua A. Horton
80087aa92d Adds tracking to facilitate event handling termination during shutdown. 2018-03-08 14:36:17 +07:00
Joshua A. Horton
2b6ce9bb18 Fixed a shutdown bug that was the source of IE troubles. 2018-03-08 14:02:30 +07:00
Joshua A. Horton
300447150c Cleans up shared state information shutdown ,tweaks timeouts. 2018-03-07 10:07:20 +07:00
Joshua A. Horton
a3038f4cde Applies namespacing to the bulk of currently-refactored KMW code. 2018-03-05 09:51:20 +07:00
darcywong00
03611801b8 Check API endpoints for BCP-47
* Update `keymanCloudRequest` to query for `languageidtype=bcp47`
 * Change root Samples and Testing pages to use BCP-47 codes
2018-02-21 15:41:53 +07:00
Joshua A. Horton
744747b881 Implemented a chirality engine tests. Still fails on IE at present. 2018-02-16 09:42:31 +07:00
Joshua A. Horton
dc64f384a4 Modified 'shutdown' related code; adjusted initial definition of the 'keyman' variable to help the 'delete' succeed. 2018-02-13 08:31:35 +07:00
Joshua A. Horton
d35f8c9c97 Merge branch 'master' into web-350-attachment-tests 2018-02-09 11:05:15 +07:00
Joshua A. Horton
7465a5d0c2 Adds a KeymanWeb 'shutdown' API function for testing for a better engine reload/reset. Resolves IFrame problem. 2018-02-09 11:03:10 +07:00
Joshua A. Horton
b8432dfd92 Fixes an IFrame attachment idempotency bug, extends unit test resources. 2018-02-09 09:03:37 +07:00
Joshua A. Horton
4428df725e Object-orients the existing kmwkeymap infrastructure. 2018-02-02 14:14:33 +07:00
Joshua A. Horton
5c34137477 More PR fixes. 2018-02-02 14:37:07 +07:00
Joshua A. Horton
ed0e4fd106 As per PR review. 2018-02-02 09:53:41 +07:00
Joshua A. Horton
beadfc30ef Deals (partly?) with IE's .parentWindow property. 2018-01-26 08:32:41 +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
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
Joshua A. Horton
be86249124 A few fixes + moved a field. 2018-01-23 12:31:07 +07:00
Joshua A. Horton
51a1b886e2 Refactored ActiveElement, element focusing, and a few other methods. 2018-01-23 12:21:52 +07:00
Joshua A. Horton
5114da88ea Further refactoring + some bookkeeping after recent related PR merges/edits. 2018-01-23 09:50:35 +07:00
Joshua A. Horton
6f9ae4ffba Incorporates legacy KeymanWeb object API fixes from the 'typed-callbacks' branch. 2018-01-23 09:13:51 +07:00
Joshua A. Horton
d9c9ca268d Fixes legacy KeymanWeb object APIs. 2018-01-23 09:11:38 +07:00
Joshua A. Horton
d234be6a74 Merge branch 'web-typescript-typed-callbacks' into web-typescript-dom-module 2018-01-23 09:00:35 +07:00
Joshua A. Horton
a9ac39457a Merge branch 'master' into web-typescript-dom-module 2018-01-22 15:49:38 +07:00
Joshua A. Horton
07d18c3ddd Merge branch 'master' into web-typescript-typed-callbacks 2018-01-22 15:27:37 +07:00
Joshua A. Horton
193caedb5b Fixed Closure errors. 2018-01-22 14:56:12 +07:00
Joshua A. Horton
5b4c1b2666 Shifted some APIs, partially refactored 'init()' and the MutationObservers. 2018-01-12 14:31:38 +07:00
Joshua A. Horton
6b42827963 Refactored physical keyboard event handling functions to the DOM event objects. 2018-01-12 13:22:09 +07:00
Joshua A. Horton
64f237867a Restructured the DOM event objects, refactored the focus events and frame setup functions. 2018-01-12 11:33:16 +07:00
Joshua A. Horton
a4e671d8a6 Relocates some API wrapper definitions from keymanweb.ts to kmwbase.ts. 2018-01-11 12:24:51 +07:00
Joshua A. Horton
95068cec55 Moved core attachment functions into the new DOMManager object. 2018-01-11 11:05:06 +07:00
Joshua A. Horton
ecedc6825f Created kmwdom.ts to facilitate refactor testing, refactored control enable/disable functions. 2018-01-11 10:44:02 +07:00
Joshua A. Horton
90bd4c0a42 Minor tweaks, moved addEventListener API func. 2018-01-11 08:31:46 +07:00
Joshua A. Horton
9d01064fa9 Merge branch 'web-typescript-base-objects' into web-typescript-keyboard-management 2018-01-10 10:13:12 +07:00
Joshua A. Horton
98a8de13bd A couple minor tweaks. 2018-01-09 11:25:50 +07:00
Joshua A. Horton
b847b078db Merge branch 'web-typescript-base-objects' into web-typescript-typed-callbacks 2018-01-08 08:44:25 +07:00
Joshua A. Horton
5afeed8eb6 A couple minor tweaks. 2017-12-22 14:40:35 +07:00
Joshua A. Horton
7695636758 Almost all keyboard data management is now within KeyboardManager. Remaining: the events. 2017-12-22 13:18:08 +07:00
Joshua A. Horton
f4a134417a Moved the bulk of the cloud request keyboard functions into KeyboardManager. 2017-12-22 12:28:09 +07:00
Joshua A. Horton
046e9ebaf1 Moves the core keyboard management + data into the new KeyboardManager class. 2017-12-22 11:47:09 +07:00
Joshua A. Horton
2c9ac8603f Refactors keyboard stub management. 2017-12-22 10:08:52 +07:00
Joshua A. Horton
088de0e02d Converts the keyboard interface into its own class. 2017-12-21 16:00:30 +07:00
Joshua A. Horton
72f93ccea4 Refactored the base KMW object; performed work to support minification. 2017-12-21 13:20:11 +07:00
Joshua A. Horton
e1cc8a6416 Significant work performed for potential minification. 2017-12-19 18:07:27 +07:00
Joshua A. Horton
9d15891916 Figured out a way around Closure's issues with the new class-based Util object. 2017-12-19 10:34:21 +07:00
Joshua A. Horton
06817beb2f Refactored the util object, but Closure's not happy. 2017-12-19 10:09:48 +07:00
Joshua A. Horton
14f770158f Initial package.json for NPM dependency management. Handles TypeScript and Google Closure, includes edits to fix new warnings from updated Closure. 2017-12-18 12:22:47 +07:00
Joshua A. Horton
6856adb1c1 Fixes base TS compilation errors. 2017-12-15 09:46:37 +07:00
Joshua A. Horton
d8759e41fe Base conversion for kmwbase.ts. 2017-12-15 09:05:29 +07:00
Renamed from web/source/kmwbase.js (Browse further)