Commit graph

24978 commits

Author SHA1 Message Date
Marc Durdin
38d2c92ecf
Merge pull request #9922 from keymanapp/fix/developer/7851-restore-selection-to-same-key-in-layout-builder
fix(developer): restore selection in layout builder even with duplicate ids
2023-11-02 15:06:32 +11:00
Marc Durdin
6be9fe6012
Merge pull request #9921 from keymanapp/fix/developer/8000-warn-if-layer-switch-key-missing-id
fix(developer): warn if layer switch key is missing ID
2023-11-02 15:06:23 +11:00
Marc Durdin
328f80847f
Merge pull request #9920 from keymanapp/chore/developer/rename-compiler-messages
chore(developer): rename messages.ts for clarity
2023-11-02 15:06:15 +11:00
Marc Durdin
e052178231
Merge pull request #9910 from keymanapp/feat/developer/7891-compile-button-in-toolbar
feat(developer): Compile button in TIKE toolbar
2023-11-02 15:06:03 +11:00
Marc Durdin
a98e5f6837
Merge pull request #9908 from keymanapp/fix/developer/7880-error-if-virtual-key-in-context
fix(developer): raise error if virtual key in context string
2023-11-02 15:05:54 +11:00
Marc Durdin
d9e759a8d2 chore(developer): address review comments 2023-11-02 11:05:23 +07:00
Marc Durdin
4341fc00b0
Merge pull request #9859 from keymanapp/feat/developer/9858-kmc-keyboard-info-extract-font-family
feat(developer): extract font family from .ttf in kmc-keyboard-info
2023-11-02 15:03:09 +11:00
Marc Durdin
c01a37145a chore(developer): address review comments 2023-11-02 11:02:20 +07:00
Marc Durdin
0dac92da57
Merge pull request #9914 from keymanapp/fix/developer/7852-layout-builder-maintain-presentation-during-undo
fix(developer): layout builder - maintain presentation during undo
2023-11-02 14:54:50 +11:00
Marc Durdin
539cfc18d3
Merge pull request #9907 from keymanapp/fix/developer/enable-and-update-tests
fix(developer): enable and update unit tests
2023-11-02 14:53:52 +11:00
Marc Durdin
067b7767c7
Merge pull request #9905 from keymanapp/fix/developer/9849-open-editor-links-in-new-window
fix(developer): open editor links in new window
2023-11-02 14:53:36 +11:00
Marc Durdin
7fec53af81
Merge pull request #9904 from keymanapp/chore/developer/9853-related-package-id-label
chore(developer): change field label to 'Related Package ID' in Related Packages dialog
2023-11-02 14:53:15 +11:00
Marc Durdin
2f227b61ed
Merge pull request #9903 from keymanapp/chore/common/9854-SchemaValidator-error-management
chore(common): fixup SchemaValidators error handling
2023-11-02 14:52:54 +11:00
Marc Durdin
edde4ed76d
Merge pull request #9902 from keymanapp/fix/developer/9899-project-mru
fix(developer): Project MRU now saves correctly
2023-11-02 14:51:33 +11:00
Marc Durdin
45b5db1974
Merge pull request #9844 from keymanapp/chore/developer/verify-kmp-json-output-from-kmc-package
chore(developer): verify kmp.json output from kmc-package
2023-11-02 14:50:50 +11:00
Marc Durdin
9dad46107a
Merge pull request #9901 from keymanapp/fix/developer/9885-debug-flag-not-working-in-tike
fix(developer): debug flag for compiling keyboards
2023-11-02 14:49:56 +11:00
Marc Durdin
e333632d81
Merge pull request #9898 from keymanapp/fix/developer/9889-compiler-crash-without-project
fix(developer): compiler crash when no project loaded
2023-11-02 14:49:43 +11:00
Marc Durdin
bb23a53678
Merge branch 'fix/developer/9885-debug-flag-not-working-in-tike' into fix/developer/8147-use-KeymanWeb.Codes 2023-11-02 14:48:13 +11:00
Marc Durdin
5e2a91b3bb
Merge branch 'fix/developer/9889-compiler-crash-without-project' into fix/developer/9885-debug-flag-not-working-in-tike 2023-11-02 14:47:54 +11:00
Marc Durdin
67ec7a5fa2
Merge branch 'master' into fix/developer/9889-compiler-crash-without-project 2023-11-02 14:47:40 +11:00
Joshua A. Horton
00cdbdf6e8 chore(web): Merge branch 'feat/web/flick-implementation' into feat/web/gesture-preview-host 2023-11-02 10:43:24 +07:00
Joshua A. Horton
7934d3fafd chore(web): Merge branch 'feat/web/modipress' into feat/web/flick-implementation 2023-11-02 10:43:05 +07:00
Marc Durdin
e2ecf5726c
chore: Apply suggestions from code review 2023-11-02 14:17:49 +11:00
Joshua Horton
b4843b25ab
Merge pull request #9891 from keymanapp/fix/web/default-layer-display-when-not-first
fix(web): fixes doc-kbd display of default layer when it's not defined first
2023-11-02 09:57:24 +07:00
Joshua A. Horton
b9d02cbe54 fix(web): automated-test patchup 2023-11-02 09:55:24 +07:00
Joshua A. Horton
3c9c036a9c fix(web): early off-the-top cancellation in app/webview mode 2023-11-01 15:48:06 +07:00
Joshua A. Horton
f4061f7609 chore(web): Merge branch 'feat/web/flick-implementation' into feat/web/gesture-preview-host 2023-11-01 13:18:33 +07:00
Joshua A. Horton
4dfba2cf49 chore(web): Merge branch 'feat/web/modipress' into feat/web/flick-implementation 2023-11-01 13:17:33 +07:00
Joshua A. Horton
dd52337fd8 chore(web): Merge branch 'feat/web/generalized-multitap' into feat/web/modipress 2023-11-01 13:16:35 +07:00
Marc Durdin
bd2315dbac fix(developer): restore selection in layout builder even with duplicate ids
Fixes #7851.

Note that this fixes the selection pop issue with duplicate ids in some
scenarios but not all. For example, the undo stack doesn't have enough
detail at this point to be able to track this. This fix addresses the
most egregious issue relating to key size adjustment and similar.
2023-11-01 10:43:48 +07:00
Marc Durdin
15523dfe11 fix(developer): warn if layer switch key is missing ID
Fixes #8000.

In earlier versions of KeymanWeb, it was assumed that layer switch keys
would not necessarily need an identifier, as they would not be
generating a standard KeymanWeb key event. However, this assumption does
not really hold, so we should be warning on missing identifiers for
layer switch keys.
2023-11-01 09:48:13 +07:00
Marc Durdin
0ec76f0761 chore(developer): rename messages.ts for clarity
Renames two messages.ts to kmn-compiler-messages.ts and
kmw-compiler-messages.ts, as otherwise confusion reigns.

Also a minor cleanup of the error messages from touch layout processing,
to clarify message names and return appropriate message for missing
layout file.
2023-11-01 09:30:31 +07:00
Joshua A. Horton
338af8f6e9 chore(web): Merge branch 'change/common/models/pred-text-context-tracking' into feat/web/generalized-multitap 2023-11-01 08:45:28 +07:00
Joshua A. Horton
cc29c89596 chore(common/models): Merge branch 'feat/web/test-kbd-prototyping' into change/common/models/pred-text-context-tracking 2023-11-01 08:43:38 +07:00
Joshua A. Horton
bfb31a6918 chore(web): Merge branch 'refactor/web/transcription-cache' into feat/web/test-kbd-prototyping 2023-11-01 08:42:51 +07:00
Joshua A. Horton
ccc4c0005a fix(web): multitaps with heterogenous nextLayer use 2023-11-01 08:42:31 +07:00
Joshua A. Horton
b3e8bdaa9b chore(web): Merge branch 'feat/web/custom-key-hints' into refactor/web/transcription-cache 2023-11-01 08:37:58 +07:00
Joshua A. Horton
b003e1bf09 fix(web): removes unneeded, problematic GestureMatcher check 2023-11-01 08:28:55 +07:00
Marc Durdin
4ce16a08fc fix(developer): don't use osk-always-visible on touch devices
Fixes #9845.

It seems that the logic for `osk-always-visible` is not quite right on
touch devices -- the OSK disappears on blur but remains touchable -- so
presses in the OSK region emit key events. For Keyman Developer Server,
the simple workaround is to only use `<body class="osk-always-visible">`
when on desktop devices.

We should review the logic for `osk-always-visible` in KeymanWeb, so
that this issue does not arise on touch devices. This patch addresses
the issue in Keyman Developer Server, and matches the behaviour we want
on touch devices in any case, as we don't really want the OSK visible
when blurred, unlike on desktop.
2023-11-01 05:57:13 +07:00
Marc Durdin
c759414e71 fix(developer): layout builder - maintain presentation during undo
Fixes #7852.

When undo is run in the layout builder, it is better to keep the user's
selected presentation if possible. (The selected presentation is not
stored in the undo stack, but is a view property affected by the
currently selected platform.)
2023-11-01 04:59:40 +07:00
Marc Durdin
b26b6a37d7 fix(developer): use KeymanWeb.Codes for 17.0+
Fixes #8147.

Keyboards debug-compiled for web 17.0+ will use `KeymanWeb.Codes.`
instead of `keyman.osk.`.
2023-11-01 04:43:42 +07:00
Joshua A. Horton
c4d29da66d chore(web): Merge branch 'fix/web/state-change-source-rewrite' into feat/web/custom-key-hints 2023-10-31 16:09:37 +07:00
Joshua A. Horton
b070c10b34 fix(web): CSS styling for tablet key-hints 2023-10-31 16:09:19 +07:00
Marc Durdin
5b9608438e feat(developer): Compile button in TIKE toolbar
Fixes #7891.
2023-10-31 14:20:18 +07:00
Joshua A. Horton
1715463fd6 fix(web): random viewport-size def bug 2023-10-31 14:11:11 +07:00
Joshua A. Horton
bb2250fdf0 fix(web): flick-scroll only for keys with flicks 2023-10-31 14:10:56 +07:00
Marc Durdin
8c1f3c4783 fix(developer): raise error if virtual key in context string
Fixes #7880.

Virtual keys have never been allowed in context. This should be an error
in a keyboard. Note: virtual keys in output are officially unsupported
but still kinda sorta a little bit work in Windows -- but I doubt they
will ever be officially supported.

Also includes small side journey to tidy up names and constants for two
other tests (error_duplicate_group and error_duplicate_store).
2023-10-31 14:04:26 +07:00
Marc Durdin
236b1ebc54 fix(developer): enable and update unit tests
Several unit tests were not running as they were not referenced in
developer/src/test/auto/Makefile. This meant that some tests were
outdated:

* two keyboard fixtures needed recompiling with kmcomp in order to match
* some interfaces had changed slightly, necessitating updates to
  corresponding unit tests.
2023-10-31 13:50:34 +07:00
Joshua A. Horton
6169ffe682 chore(web): post-rebase patchup 2023-10-31 13:36:15 +07:00
Joshua A. Horton
d3ad24e645 feat(web): flick-scroll clearing 2023-10-31 13:35:42 +07:00