Commit graph

33096 commits

Author SHA1 Message Date
Darcy Wong
c9281f4676
Merge pull request #9040 from keymanapp/chore/common/crowdin-es
chore(common): Update crowdin strings for Spanish (es-ES and es-419)
2023-06-23 11:09:19 -05:00
Steven R. Loomis
8a3a08dcf7 feat(core): update documentation and builder for uset 🙀
- pre-sort the uset items instead of copying the patterns and re-finding
- update docs on the uset subtable

#7377
2023-06-23 10:52:34 -05:00
Steven R. Loomis
d7e0c286e4
Update core/src/ldml/ldml_processor.cpp
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-06-23 10:32:33 -05:00
Steven R. Loomis
f8233bb2a7 chore(windows): update coment on CopyKeyboard 🙀
- CopyFile not CopyFileW
- clarify CopyFIle third argument, that we want overwrite semantics

#9064
2023-06-23 10:30:39 -05:00
Marc Durdin
c9e3adb27c chore: Merge branch 'feature-macos-core' into chore/merge-master-into-feature-macos-core 2023-06-23 15:45:38 +07:00
Marc Durdin
d6721f68ba chore: Merge branch 'feature-kmc-kmw' into chore/merge-master-into-feature-kmc-kmw 2023-06-23 15:44:06 +07:00
Marc Durdin
da51f545e1 fix(developer): support readonly groups in kmc-kmn/kmw-compiler
Adds support for readonly groups and corresponding unit test. Again
required more metadata from kmcmplib; this metadata is now fairly
straightforward to patch in without side-effects, which is encouraging.
2023-06-23 15:26:21 +07:00
Marc Durdin
0e89711210 chore(windows): remove dead if 2023-06-23 14:32:05 +07:00
Marc Durdin
dee046e647 chore(developer): tweak comments 2023-06-23 14:29:14 +07:00
Marc Durdin
8432b06547 fix(developer): support option stores in kmc-kmn/kmw
Adds support for option stores to kmc-kmn/kmw-compiler. This required
adding the relevant store metadata into the output from kmcmplib, and
so I also tidied up the corresponding WASM interfaces slightly more in
the process.

Added unit test for the options store.

While testing this, ran into a second bug with the way I ported a
constant from Delphi to Typescript in constants.ts, so fixed that and
added a corresponding unit test. Small steps, but good ones.
2023-06-23 14:21:30 +07:00
Marc Durdin
2cc45dfa75 chore(windows): disable wix compression for debug builds
Also affects developer builds.
2023-06-23 14:18:46 +07:00
Marc Durdin
80551d85f8
Merge pull request #9059 from keymanapp/chore/developer/cleanup-wasm-data-passing
chore(developer): cleanup data passing from wasm 🗜
2023-06-23 13:25:50 +10:00
Marc Durdin
c67c21d489
Merge branch 'feature-kmc-kmw' into chore/developer/cleanup-wasm-data-passing 2023-06-23 13:25:41 +10:00
Marc Durdin
3730f2db53
Merge pull request #9058 from keymanapp/chore/developer/kmw-support-embed-files
chore(developer): support embedded files in kmw compiler 🗜
2023-06-23 13:25:23 +10:00
Marc Durdin
fd640288fb
Merge pull request #9057 from keymanapp/chore/developer/wasm-load-only-once
chore(developer): load wasm module only once per process 🗜
2023-06-23 13:25:03 +10:00
Marc Durdin
2222e875c9
Merge pull request #9056 from keymanapp/chore/developer/cleanup-display-underlying-flag
chore(developer): cleanup displayUnderlying flag in kmw compiler 🗜
2023-06-23 13:24:52 +10:00
Marc Durdin
6928188d13
Merge pull request #9054 from keymanapp/chore/developer/cleanup-font-style-in-kvk
chore(developer): remove font style/color from kvk 🗜
2023-06-23 13:24:41 +10:00
Marc Durdin
82256d06ac
Merge pull request #9048 from keymanapp/chore/common/fix-common-web-types-coverage
chore(common): fixup tests for common/web/ci 🗜
2023-06-23 13:24:32 +10:00
Marc Durdin
23ef2da1be
Merge pull request #9046 from keymanapp/chore/developer/kmc-web-compiler-cleanup
refactor(developer): move constants and globals for kmw compiler 🗜
2023-06-23 13:24:26 +10:00
Marc Durdin
9216a69636
chore: Update developer/src/kmc-kmn/src/compiler/compiler.ts
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2023-06-23 13:23:29 +10:00
Marc Durdin
557c400d57
chore: Apply suggestions from code review
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2023-06-23 13:21:23 +10:00
sgschantz
bda03f4282 remove event and client from ActionHandler 2023-06-22 21:15:00 -04:00
Steven R. Loomis
9ce4f0eaa8 fix(core): fix ldml enter 🙀
- pass unknown keys back to OS

#7377
2023-06-22 18:43:34 -05:00
Steven R. Loomis
6e97c40f26 fix(core): fix ldml backspace 🙀
- don't pop state->context() if we know it is empty

#7377
2023-06-22 18:09:53 -05:00
Steven R. Loomis
877070d07e fix(core): fix ldml transforms 🙀
- document transform calling code in ldml_transform
- remove obsolete portions
- optimize keystroke code when no transforms are present
2023-06-22 17:55:18 -05:00
Steven R. Loomis
da244a9323 fix(windows): Don't break KMXPlus on install
mcompile:
- copy keyboards if KMXPlus is detected
- give an error if -u is used on a KMXPlus file
2023-06-22 16:04:34 -05:00
Darcy Wong
d33e3e9a34 chore(android/engine): Remove extra text from image_button 2023-06-22 13:12:14 -05:00
Darcy Wong
ba1bc2c2e2 chore(android/app): Add contentDescription to text slider 2023-06-22 13:11:50 -05:00
Keyman Server
875878c157
Merge pull request #9069 from keymanapp/auto/version-master-17.0.129
auto: increment master version to 17.0.129
2023-06-23 01:02:54 +07:00
Keyman Build Agent
699fc6773b auto: increment master version to 17.0.129 2023-06-22 14:02:17 -04:00
Joshua A. Horton
c889f802ec chore(web): segment class can also be cut 2023-06-22 15:47:16 +07:00
Joshua A. Horton
6b4766ffdd chore(web): disconnects subsegmentation from core gesture engine 2023-06-22 15:34:40 +07:00
Joshua A. Horton
7aa6d474ac chore(web): reorganizes gesture-recognizer source in prep for chopping subsegmentation 2023-06-22 14:25:10 +07:00
rc-swag
c8cc8a1fef
Merge pull request #9063 from keymanapp/docs/windows/update-testhosts-readme
docs(windows): add more steps for clarity
2023-06-22 11:37:23 +10:00
Marc Durdin
8cd28bdc97 chore(developer): rename data to extra 2023-06-22 07:47:39 +07:00
Steven R. Loomis
0e4ace462d
Merge pull request #9061 from keymanapp/fix/windows-improve-testhost-msg 2023-06-21 19:20:51 -05:00
Steven R. Loomis
28befb82ad
Update windows/src/engine/testhost/testhost.cpp
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-06-21 19:19:17 -05:00
Ross
f955dd3533 docs(windows): add more steps for clarity 2023-06-22 10:09:51 +10:00
sgschantz
0048dc1ab9 remove tests that fail to build 2023-06-21 17:21:14 -04:00
sgschantz
c45fbb8e48 NSNotFound is valid selection result for compatibility check 2023-06-21 16:57:48 -04:00
Keyman Server
d05a659704
Merge pull request #9062 from keymanapp/auto/version-master-17.0.128
auto: increment master version to 17.0.128
2023-06-22 01:03:01 +07:00
Keyman Build Agent
6b2d7520dc auto: increment master version to 17.0.128 2023-06-21 14:02:18 -04:00
Steven R. Loomis
149f06f2f4 fix(windows): testhost improve error message
if dwError is 0, don't try to format it
avoid "Error starting Keyman: The operation completed successfully.  [0]"
2023-06-21 09:51:28 -05:00
Marc Durdin
24910fb25a chore(developer): cleanup data passing from wasm
Reorganizes the data structures passed out of kmcmplib via WASM to make
it easier to work with the extra metadata and reduce the number of
places we have to touch when we add extra metadata fields.

Preparation for supporting the metadata that the kmw compiler requires.
2023-06-21 15:33:09 +07:00
Marc Durdin
165dcbe4aa chore(developer): support embedded files in kmw compiler
Adds support for `&kmw_embedcss`, `&kmw_embedjs`, `&kmw_helpfile`.
2023-06-21 12:29:51 +07:00
Marc Durdin
2c2e6feaa3 chore(developer): load wasm module only once per process
Improves performance, and also resolves warning from node:

(node:21032) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 uncaughtException listeners added to [process]. Use emitter.setMaxListeners() to
increase limit
2023-06-21 11:52:57 +07:00
Marc Durdin
a67abadb2f chore(developer): cleanup displayUnderlying flag in kmw compiler 2023-06-21 11:46:24 +07:00
Marc Durdin
164823a643
chore: fix comment in common 2023-06-21 14:31:50 +10:00
Marc Durdin
3f507f974a chore(developer): remove font style/color from kvk
While .kvk includes a font color field, it is essentially unused. There
was also some sort of support provided for font style in the KeymanWeb
keyboard compiler, but this was never streamed into .kvk or .kvks files,
so was always a no-op.

Thus, this PR removes any semblance of support for font style and color
from the .kvk and .kvks readers and writers. When we write the font
color field which is present in .kvk, we always use the default
TColor.clWindowText which is what the legacy Delphi-based writer would
always have written.

Also sorted out the default font size and name in the .kvk transform
from .kvks, and in so doing cleaned up the basic.kvk and basic.js in
LDML keyboard compiler to match what we are doing in the .kmn compiler.
2023-06-21 10:53:45 +07:00
Joshua Horton
29cfd6269c
Merge pull request #9036 from keymanapp/docs/web/public-api-clarity
docs(web): demarcation of methods supporting Web's public API 🧩
2023-06-21 10:20:48 +07:00