Marc Durdin
e3537e7bb7
fix(web): crash on focus before init
...
Fixes the following crash noted when testing on keymanweb.com, focusing
during the load process on a slow network.
```
helpers.ts:111 Uncaught TypeError: Cannot read properties of null (reading 'vkbd')
at g.pageFocusHandler (keymanweb.ts:125:44)
at sentryWrapped (helpers.ts:87:17)
```
2022-03-17 15:50:52 +11:00
Marc Durdin
f355722191
fix(web): back out caps lock and refix
...
The Caps Lock change I made in the previous commit broke
desktop Caps Lock handling. The fix was a little more
convoluted. Turns out that _UpdateVKShift is also pretty
crufty. I simplified it, removing dead code.
2022-03-10 13:31:06 +11:00
jahorton
3b902369ef
change(web): SMP processing now always enabled
2021-04-21 10:53:11 +07:00
jahorton
373196dded
change(web/engine): splits off the core/web/keyboard-processor module
2020-04-24 13:45:04 +07:00
jahorton
7a04baa9a5
change(web/engine): kbdProcessor.core => core.keyboardProcessor
2020-04-06 13:17:32 +07:00
jahorton
227062ba56
refactor(web/engine): InputProcessor/KeyboardProcessor split
2020-04-03 10:50:58 +07:00
jahorton
8fa4b1eaf1
refactor(web/engine): moves getOutputTarget() => DOM space
2020-03-31 11:48:14 +07:00
jahorton
603c4cd758
refactor(web/engine): Moves resetVKShift() -> DOM space
2020-03-31 11:29:59 +07:00
jahorton
fdb6ba0c4f
refactor(web/engine): moves kbd state management to Processor
2020-03-27 15:45:09 +07:00
jahorton
1b1a79fae6
refactor(web/engine): base layout now set on Processor
2020-03-21 23:11:51 +07:00
jahorton
fdc09c21b8
refactor(web/engine): KeyboardInterface now property of Processor
2020-03-20 20:39:53 +07:00
Joshua A. Horton
e56dc00ee8
Merge branch 'master' into web-touch-alias-refactor
2019-02-15 08:34:29 +07:00
Joshua A. Horton
ebce04fdca
Moves text-processing related files to text namespace.
2019-02-07 02:28:27 +07:00
Joshua A. Horton
ba769e67c3
Merge branch 'beta' into p5s2-merge
2019-02-04 21:02:15 +07:00
Joshua A. Horton
62bdfc6674
KeymanWeb - versioning update for beta.
2019-01-15 08:52:43 +07:00
Joshua A. Horton
e58aa60504
Initial reorganization of OSK code complete. Regressions exist, though.
2019-01-10 11:54:47 +07:00
Joshua A. Horton
4d17833d05
Adds page-focus event handlers to testing 'shutdown' method.
2019-01-04 14:46:07 +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
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
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
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
d234be6a74
Merge branch 'web-typescript-typed-callbacks' into web-typescript-dom-module
2018-01-23 09:00:35 +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
14b6a04d1a
Minor tweaks in response to PR review.
2018-01-22 13:19:40 +07:00
Joshua A. Horton
111321ff72
Bits of tidying up.
2018-01-12 14:46:07 +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
8ef4e16e01
Reworks the 'this' binding technique for events to use the .bind function. Much simpler.
2018-01-11 11:44:32 +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
84f76889da
A few tweaks to prior work.
2018-01-10 12:32:39 +07:00
Joshua A. Horton
1f4103f689
Merging recent base branch changes.
2018-01-10 12:01:36 +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
acc227dc53
Adjustment to util.addStyleSheet, merge of suggested changes from @mcdurdin
2018-01-10 10:10:50 +07:00
Joshua A. Horton
5f827e382c
PR comment revisions, round 1.
2018-01-10 10:06:00 +07:00
Joshua A. Horton
99fe0cc835
Patched up the firstTouch property.
2018-01-09 11:25:50 +07:00
Joshua A. Horton
81742b9ece
Moved remaining touch-alias functionality into new touch handling object.
2018-01-09 11:25:50 +07:00
Joshua A. Horton
a94d71f182
Abstracts out most of the differences between touch and desktop modes into objects.
2018-01-09 11:25:50 +07:00
Joshua A. Horton
efbd5b39a6
Fixes final minification issues for (at min) native-mode KMW. ADVANCED_OPTIMIZATIONS now possible.
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
dfc44c4214
Fixes final minification issues for (at min) native-mode KMW. ADVANCED_OPTIMIZATIONS now possible.
2017-12-22 14:20:37 +07:00
Joshua A. Horton
e74836e178
Extraction of keyboard data management code complete.
2017-12-22 13:31:40 +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