Commit graph

5162 commits

Author SHA1 Message Date
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
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
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
d4c3dd89a3
Merge pull request #6918 from keymanapp/feat/developer/build-kmcomp-distributable-in-release
feat(developer): compiler regression support (build kmcomp-$version.zip during release build) 🚦
2022-07-14 10:52:45 +10:00
Sabine
0a66df6914 changes in meson + include-paths of several files 2022-07-13 14:36:27 +02:00
Joshua A. Horton
b320696a04 change(web): moves Nonoptional to its own file 2022-07-13 10:49:46 +07:00
Joshua A. Horton
537209a133 chore(web): Merge branch 'feat/web/gesture-recognizer-bounds' into feat/web/gesture-recognizer-rigging 2022-07-13 10:37:11 +07:00
Joshua A. Horton
5e60ff2482 docs(web): adds doc on recognizer configuration design 2022-07-13 10:32:53 +07:00
Joshua A. Horton
2266cb7802 change(web): edgePadding now object per PR comment 2022-07-13 10:04:18 +07:00
Joshua A. Horton
9e1db3a766 refactor(web): padded + viewport zone rework 2022-07-13 09:59:32 +07:00
Joshua A. Horton
33c1119c97 chore(web): addresses PR concerns re zoneBoundaryChecker 2022-07-13 09:38:50 +07:00
Joshua A. Horton
7d55df6425 chore(web): Merge branch 'feat/web/gesture-recognizer-base' into feat/web/gesture-recognizer-bounds 2022-07-13 09:19:45 +07:00
Joshua A. Horton
53837778fa chore(web): addresses some PR comments/suggestions 2022-07-13 09:13:35 +07:00
Sabine
3e58fa76b6 get keymans version
Merge branch 'master' of https://github.com/keymanapp/keyman into refactor/developer/6026-kmcompx-compiler-cross-platform-part-2-NEW_VERSION

# Conflicts:
#	common/core/desktop/src/kmx/kmx_context.h
#	common/core/desktop/src/kmx/kmx_processor.cpp
#	common/windows/cpp/include/keymanversion.h
#	common/windows/cpp/include/kkmnkbd/Compfile.h
#	common/windows/cpp/include/kmtip_guids.h
#	common/windows/cpp/src/kmtip_guids.cpp
#	core/src/kmx/kmx_conversion.cpp
#	core/src/kmx/kmx_conversion.h
#	core/src/kmx/kmx_file.cpp
#	core/src/kmx/kmx_processevent.cpp
#	core/src/kmx/kmx_processor.hpp
#	core/src/kmx/kmx_xstring.cpp
#	developer/js/.gitignore
#	developer/js/package-lock.json
#	developer/js/tests/tsconfig.json
#	developer/src/kmcmpdll/CasedKeys.cpp
#	developer/src/kmcmpdll/CheckFilenameConsistency.cpp
#	developer/src/kmcmpdll/CheckFilenameConsistency.h
#	developer/src/kmcmpdll/CheckForDuplicates.cpp
#	developer/src/kmcmpdll/CheckForDuplicates.h
#	developer/src/kmcmpdll/CheckNCapsConsistency.cpp
#	developer/src/kmcmpdll/CheckNCapsConsistency.h
#	developer/src/kmcmpdll/Compiler.cpp
#	developer/src/kmcmpdll/DeprecationChecks.cpp
#	developer/src/kmcmpdll/NamedCodeConstants.cpp
#	developer/src/kmcmpdll/UnreachableRules.cpp
#	developer/src/kmcmpdll/UnreachableRules.h
#	developer/src/kmcmpdll/compfile.h
#	developer/src/kmcmpdll/kcframe/kcframe.cpp
#	developer/src/kmcmpdll/kcframe/kcframe.vcxproj
#	developer/src/kmcmpdll/kcframe/kcframe.vcxproj.filters
#	developer/src/kmcmpdll/kmcmpdll.vcxproj
#	developer/src/kmcmpdll/kmcmpdll.vcxproj.filters
#	developer/src/kmcmpdll/version.rc
#	developer/src/kmcmpdll/versioning.cpp
#	developer/src/kmlmc/bundle.sh
#	developer/src/kmlmc/tests/test-join-word-breaker.ts
#	developer/src/kmlmc/tests/test-override-script-defaults.ts
#	developer/src/server/tsconfig.json
#	windows/src/developer/kmcmpdll/Makefile
#	windows/src/developer/kmcmpdll/vkeys.h
#	windows/src/engine/keyman32/keymanengine.h
#	windows/src/global/inc/Vkeys.h
#	windows/src/global/inc/rc4.h
#	windows/src/global/vc/rc4.cpp
2022-07-12 10:43:20 +02:00
Joshua A. Horton
6a4ab47beb chore(web): Merge branch 'feat/web/gesture-recognizer-bounds' into feat/web/gesture-recognizer-rigging 2022-07-12 12:41:38 +07:00
Joshua A. Horton
956e092fe8 chore(web): Merge branch 'feat/web/gesture-recognizer-base' into feat/web/gesture-recognizer-bounds 2022-07-12 12:41:15 +07:00
Joshua A. Horton
1b21994b2a chore(web): Merge branch 'feat/web/gesture-recognizer-main' into feat/web/gesture-recognizer-base 2022-07-12 12:40:51 +07:00
Joshua A. Horton
cca5be5d74 fix(web): moved build.sh lost its executable flag 2022-07-12 12:40:24 +07:00
Joshua A. Horton
c5832cf203 chore(web): Merge branch 'feat/web/gesture-recognizer-bounds' into feat/web/gesture-recognizer-rigging 2022-07-12 12:33:31 +07:00
Joshua A. Horton
c2e061b4f7 chore(web): Merge branch 'feat/web/gesture-recognizer-base' into feat/web/gesture-recognizer-bounds 2022-07-12 12:30:58 +07:00
Joshua A. Horton
0c7ac4ff3c chore(web): addresses PR concerns 2022-07-12 12:09:52 +07:00
Joshua A. Horton
f5257252ed chore(web): Merge branch 'master' into feat/web/gesture-recognizer-main 2022-07-12 12:09:11 +07:00
Joshua A. Horton
7db9743d8f chore(web): addresses PR concerns 2022-07-12 12:05:43 +07:00
Joshua A. Horton
4ba11ced92 chore(web): Merge branch 'master' into feat/web/gesture-recognizer-base 2022-07-12 11:48:26 +07:00
Joshua A. Horton
7342f7f9e6 fix(web): applies PR suggestions 2022-07-12 11:01:14 +07:00
Joshua A. Horton
ba7dd2f104 feat(web): visible safe-proximity, looser safe-zones 2022-07-11 13:07:45 +07:00
Joshua A. Horton
d4577698c9 change(web): moved recognizer host page to web/testing, retooled index 2022-07-11 13:02:02 +07:00
Joshua A. Horton
d1aa5a74b8 fix(web): mouse event sequence polishing 2022-07-11 13:02:02 +07:00
Joshua A. Horton
ecf03b915a feat(web): initial page integration! 2022-07-11 13:02:02 +07:00
Joshua A. Horton
9091d71682 feat(web): lightgray -> whitesmoke 2022-07-11 13:02:02 +07:00
Joshua A. Horton
e9d05fd254 feat(web): preps logging zone 2022-07-11 13:02:02 +07:00
Joshua A. Horton
7976e5242a change(web): mini-tweak 2022-07-11 13:02:02 +07:00
Joshua A. Horton
be037aee4d feat(web): auto-roam-range select on receiver form change 2022-07-11 13:02:02 +07:00
Joshua A. Horton
6e35523b76 feat(web): added popup modeling mode 2022-07-11 13:02:02 +07:00
Joshua A. Horton
163ec71ba6 feat(web): interactive selection for page config 2022-07-11 13:02:01 +07:00
Joshua A. Horton
ee63b55740 feat(web): initial skeleton for gesture-recognizer host page 2022-07-11 13:02:01 +07:00
Joshua A. Horton
70f6626392 fix(web): missed config type-check 2022-07-11 13:01:09 +07:00
Marc Durdin
1909d92b47 chore(common): keymansentry UNICODE for Winapi 2022-07-11 11:19:53 +10:00
Joshua Horton
be7c9c58a9
Merge pull request #6808 from keymanapp/fix/web/6792-chiral-modifier-mapping
fix(web): maps touch-layout chiral alt, ctrl to non-chiral when non-chiral keyboard is active
2022-07-11 08:12:46 +07:00
Marc Durdin
b700432583 fix(developer): kmdecomp stability tweaks
Adds kmdecomp to kmcomp-<version>.zip and fixes a couple of stability
issues:

* Increase buffer sizes (this fix very much a hack)
* Ensures that .bmp/.ico files are saved to correct output folder
* Disable loading sentry.dll when running on WINE
2022-07-11 10:42:33 +10:00
Marc Durdin
ace0cbd1d6 fix(web): ncaps rules not matching on touch
Fixes #6910.

Regression introduced in #6874 / #6849 (which themselves were improving
the Caps Lock situation).

Ensures that either `NO_CAPS` or `CAPS` is always set in the modifier
flags.
2022-07-08 16:09:28 +10:00
jahorton
648acc9273 chore(web): extra check for robustness 2022-07-08 10:14:35 +07:00
Marc Durdin
27eb1b9f19 fix(developer): add no-ops for symbol builds for components
Fixes the release build where we do `nmake symbols` for developer/src,
which was failing on calls to these two sets of components. (In
windows/src, the build structure is different due to an additional layer
of folders, so we end up with no `nmake symbols` call on the common
components).
2022-07-08 05:04:10 +10:00
Joshua Horton
620cbb54ab
chore(web): applies code suggestion
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-07-07 08:39:28 +07:00
Marc Durdin
8ba11f608d
Merge pull request #6890 from keymanapp/fix/web/improve-console-error-reporting
fix(web): improve `console.error()` reporting
2022-07-07 09:40:06 +10:00
Joshua A. Horton
a1a43f80c1 fix(web): doModifierPress layer handling 2022-07-06 13:20:14 +07:00
Joshua A. Horton
a4b32705d8 fix(web): reverts prior commit, adds related docs 2022-07-06 12:56:09 +07:00