Commit graph

27982 commits

Author SHA1 Message Date
Joshua A. Horton
10e3378e63 feat(web): extractable fixture matching host page 2022-07-15 08:40:25 +07:00
Joshua A. Horton
426cfd7398 change(web): InputSample now tracks both client & target coords 2022-07-15 08:12:42 +07:00
Marc Durdin
c8971a457c
chore: Apply suggestions from code review 2022-07-15 08:58:12 +10:00
Marc Durdin
d2cfd5cc7e chore(developer): address review comments 2022-07-15 06:13:44 +10:00
Keyman Server
04b8ae1ed1
Merge pull request #6944 from keymanapp/auto/version-master-16.0.34
auto: increment master version to 16.0.34
2022-07-15 04:02:18 +10:00
Keyman Build Agent
a9a5e46d02 auto: increment master version to 16.0.34 2022-07-14 14:01:35 -04:00
Joshua A. Horton
55df8507f3 fix(web): missed type replacement post-rebase 2022-07-14 15:41:29 +07:00
Joshua A. Horton
6342d4359c change(web): sequence events now use target-relative coords 2022-07-14 15:37:06 +07:00
Joshua A. Horton
0ddb6be8db change(web): minor logging-related tweaks 2022-07-14 15:37:05 +07:00
Joshua A. Horton
ffcccd160a feat(web): event-wrapper cleanup 2022-07-14 15:37:03 +07:00
Joshua A. Horton
75702577a2 fix(web): cleanup triggered by event 2022-07-14 15:37:02 +07:00
Joshua A. Horton
dedcc2880d feat(web): InputSequence JSON round-tripping 2022-07-14 15:37:01 +07:00
Joshua A. Horton
2b8d0d83b8 chore(web): minor cleanup 2022-07-14 15:37:00 +07:00
Joshua A. Horton
2e75b0b35e refactor(web): retooled input sequence event infrastructure 2022-07-14 15:36:54 +07:00
Joshua A. Horton
1e231d1a6f feat(web): start of multi-touchpoint tracking 2022-07-14 15:36:25 +07:00
Joshua Horton
e55809737a
Merge pull request #6843 from keymanapp/feat/web/gesture-recognizer-base
feat(web): start of the GestureRecognizer class, use of event-based paradigm 🐵
2022-07-14 15:30:24 +07:00
Joshua Horton
58496402bb
Merge pull request #6838 from keymanapp/chore/ios/app-browser-wkwebview-conversion
chore(ios): updates core internals for the in-app browser
2022-07-14 15:29:25 +07:00
Marc Durdin
307b052f2f refactor(developer): fixup path to tests 2022-07-14 17:47:53 +10:00
Marc Durdin
da5fc1da2b chore: move headers and refs 2022-07-14 17:46:11 +10:00
Marc Durdin
ca9a9922db chore: remove unnecessary files 2022-07-14 16:54:52 +10:00
Marc Durdin
d548125b15 chore: remove common/core 2022-07-14 16:48:40 +10:00
Marc Durdin
45f97988cf fix(developer): reduce timeouts if server shut down
If Server is shut down, Keyman Developer now handles this better
and offers to restart it in UI interactions, and backs out quietly
in non-UI processes.
2022-07-14 16:28:39 +10:00
Marc Durdin
e42d50a6da fix(developer): crash when switching back a tab
In rare circumstances, Keyman Developer can crash during startup if you
try and switch back to a tab which is not yet available
(Ctrl+Shift+Tab).
2022-07-14 16:24:39 +10:00
Marc Durdin
1659dde17a fix(developer): crash on exit when checking for updates
Fixes #6928.
2022-07-14 16:22:36 +10:00
Marc Durdin
6cf8eb7807 fix(developer): kmdecomp virtual character key output
Virtual character keys were being written as garbage, for example:

```
store(store17) [RALT ""] [RALT SHIFT ""] [RALT ""] [RALT SHIFT ''] [RALT SHIFT ""] [RALT SHIFT ""] [RALT SHIFT ""] [RALT SHIFT ""] [RALT SHIFT ""] [RALT ""] [RALT SHIFT ""] [RALT SHIFT ""] [RALT SHIFT ""] [RALT ""] [RALT SHIFT ""] [RALT ""] [RALT ""] [RALT ""] [RALT SHIFT ""]
store(store18) [RCTRL ""] [RCTRL SHIFT ""] [RCTRL ""] [RCTRL SHIFT ''] [RCTRL SHIFT ""] [RCTRL SHIFT ""] [RCTRL SHIFT ""] [RCTRL SHIFT ""] [RCTRL SHIFT ""] [RCTRL ""] [RCTRL SHIFT ""] [RCTRL SHIFT ""] [RCTRL SHIFT ""] [RCTRL ""] [RCTRL SHIFT ""] [RCTRL ""] [RCTRL ""] [RCTRL ""] [RCTRL SHIFT ""]
```

Picked up in regression testing the compiler.
2022-07-14 16:19:03 +10:00
Joshua A. Horton
7b4fdc7338 docs(web): updates recognizer-config doc to reference host page 2022-07-14 10:55:26 +07:00
Joshua A. Horton
a5349f99b9 feat(web): host page safe-zone options 2022-07-14 10:16:55 +07:00
Joshua A. Horton
68869aa5c3 feat(web): host page now directly sets padded safe zone 2022-07-14 09:59:54 +07:00
Joshua A. Horton
d254922819 fix(web): didn't handle scrolled page well 2022-07-14 09:59:16 +07:00
Joshua A. Horton
3722c5d009 chore(web): Merge branch 'feat/web/gesture-recognizer-bounds' into feat/web/gesture-recognizer-rigging 2022-07-14 09:46:34 +07:00
Joshua A. Horton
42641d0662 chore(web): drops super-specific "Finalized" config type 2022-07-14 09:45:25 +07:00
Joshua A. Horton
19ee93ea2d chore(web): Merge branch 'feat/web/gesture-recognizer-base' into feat/web/gesture-recognizer-bounds 2022-07-14 09:18:59 +07:00
Joshua A. Horton
268ba2a082 chore(web): removes duplicate def for Mutable 2022-07-14 08:47:54 +07:00
Joshua Horton
8918f4c64b
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-07-14 08:44:10 +07:00
Joshua A. Horton
5476c7b1c3 chore(web): applies PR suggestion (manually) 2022-07-14 08:42:04 +07:00
Marc Durdin
6032181e18 feat(developer): rework displayHint to defaultHint
After a demo of the Touch Layout Editor @jahorton suggested using a
"default hint" model instead of the "display hint" from the design spec.
I liked this and have reworked the design accordingly. With the default
hint model, a source for the hint text can be specified, such as the
default longpress key, or a specific flick key. This can then be
overridden on a key level.

The hint input element now shows a placeholder to indicate the default
hint for the key, and if a hint has been customised for a given key, it
is shown in green on the key cap.

Changing the default hint does not impact any customised hints.
2022-07-14 10:58:59 +10:00
Marc Durdin
02d03588b2 chore(developer): simplify dialog workflow
Most dialogs in touch layout editor can now have just a Close
button with changes taking effect immediately. This helps users
visualize how the options they've chosen will work.
2022-07-14 10:58:58 +10:00
Marc Durdin
1738f12428 feat(developer): add displayHint property to touch layout editor
Moves the top toolbar to the left to make more room, and tidy it up,
and moves various controls into sub-dialogs to make them clearer.

Shortcut buttons to prepopulate the Hint property will come in a
subsequent PR.
2022-07-14 10:58:57 +10:00
Marc Durdin
a362f27dda feat(developer): add hint property to touch layout editor
Also fixes a couple of minor issues with character map integration and
Unicode text fields.
2022-07-14 10:58:56 +10:00
Marc Durdin
54a655e92e feat(developer): add hint and displayHint to touch layout validation and parsing 2022-07-14 10:58:55 +10:00
Marc Durdin
11d8a3ad65 feat(developer): add hint properties to touch layout schema 2022-07-14 10:58:54 +10:00
Marc Durdin
51a94a1d7d feat(developer): cleanup touch layout files on load and save
Improves the .keyman-touch-layout clean schema and adds additional
cleanup during load and save in the Touch Layout Editor.

The compiler already does transforms for the relevant fields to the
formats that KeymanWeb is expecting (in particular, width, pad to
string).

This is preparation for adding hint data to the format as well.
2022-07-14 10:57:39 +10:00
Marc Durdin
60dabb5284 feat(developer): add support for flick and multitap to compiler 2022-07-14 10:57:25 +10:00
Marc Durdin
b702b7dbc3 fix(developer): fix issues with template and presentation 2022-07-14 10:55:03 +10:00
Marc Durdin
d29468441d chore(developer): remove multitap icon cleanly 2022-07-14 10:55:02 +10:00
Marc Durdin
f9241f4cd7 chore(developer): minor cleanup 2022-07-14 10:55:01 +10:00
Marc Durdin
268ba98219 feat(developer): Support new touch layout definitions in Delphi
Also minor tweaks to allow jquery-ui images to load, fixup for broken
file path for node.exe.
2022-07-14 10:55:01 +10:00
Marc Durdin
feee081f6f feat(developer): tweaks ui for selected key cap
* Separates out the 'command' icon key cap controls
* Fixes selection of last active element with undo
2022-07-14 10:55:00 +10:00
Marc Durdin
a637b58066 feat(developer): rework touch layout editor
* Restrucure touch layout editor to make space for additional gesture
  types:
  * Move control bar to right hand side
  * Move key cap edits to control bar.
* Adds flick and multitap gestures:
  * Adds buttons to add longpress keys, flicks or multitaps.
* Adds Unicode value boxes which mirror the key cap text box.
* Updates key width values in real time when resizing
* Maintain selected key as far as possible across layer switch, platform
  switch and presentation view switch.
* Starts to split 'special' key cap icons from normal key caps.
2022-07-14 10:54:59 +10:00
Marc Durdin
5875cf504f chore(developer): update jquery-ui version to 1.13.1 2022-07-14 10:54:58 +10:00