Commit graph

33096 commits

Author SHA1 Message Date
Dr Mark C. Sinclair
f473b4ff0d fix(developer): googletest for compiler messages, plus refactor of CompMsg.cpp to use map 2024-06-07 11:03:01 +01:00
Sabine
b2d9e96488 feat(mac): tidy up code:
fixes #11334
use shiftstates consistently;
map shiftstates to mac shiftstates(mac, rgkey, win);
remove unneccessary functions;
rename functions to have more systematic
consolidate order of parameters in functions;
rename variables (casing), and also to clarify shiftstates;
handle unused positions in USVirtualKeyToScanCode+ScanCodeToUSVirtualKey;
use util_filesystem.cpp/h from Keyman instead of my own filesystem.cpp/h;
remove deadkey.cpp/h;
2024-06-07 11:41:32 +02:00
Sabine
cc8cb5de59 feat(mac): tidy up code:
use shiftstates consistently;
map shiftstates to mac shiftstates(mac, rgkey, win);
remove unneccessary functions;
rename functions to have more systematic
consolidate order of parameters in functions;
rename variables (casing), and also to clarify shiftstates;
handle unused positions in USVirtualKeyToScanCode+ScanCodeToUSVirtualKey;
use util_filesystem.cpp/h from Keyman instead of my own filesystem.cpp/h;
remove deadkey.cpp/h;
2024-06-07 11:17:00 +02:00
Marc Durdin
3d017bc0f5
Merge pull request #11729 from keymanapp/chore/merge-master-into-windows-updates
chore: merge master into windows-updates
2024-06-07 19:02:19 +10:00
Marc Durdin
60303791ac
Merge pull request #11728 from keymanapp/chore/merge-master-into-linux-mcompile
chore: merge master into linux-mcompile 🐘
2024-06-07 19:02:11 +10:00
Marc Durdin
43e63246d8
Merge branch 'master' into fix/developer/11362-verify-email-addresses-in-package 2024-06-07 17:59:10 +10:00
Marc Durdin
1a3828d6c2 feat(developer): support language reference in context help
Adds support for `<LanguageReference Name='keyword'>` in
contexthelp.xml.
2024-06-07 14:55:51 +07:00
Joshua A. Horton
062a867ecd change(android): removes unneeded conditionals 2024-06-07 14:24:41 +07:00
Joshua A. Horton
891928e10b fix(web): array.from polyfill scoping, fixes after extracted test 2024-06-07 14:05:12 +07:00
Shawn Schantz
a7fb4013cd
Merge pull request #11730 from keymanapp/fix/mac/11726-xcode-15-build-cycle-error
fix(mac): change build configuration to prevent cycle error in Xcode 15
2024-06-07 13:48:53 +07:00
Joshua Horton
2c2815b618
Merge pull request #11672 from keymanapp/chore/ios/remove-dead-gesture-code
chore(ios): remove dead Swift-side keyboard gesture code
2024-06-07 13:44:31 +07:00
Marc Durdin
e5638cef0d
Merge pull request #11711 from keymanapp/fix/developer/11710-handle-encoding-errors-when-loading-wordlists
fix(developer): handle encoding errors when loading wordlists
2024-06-07 16:40:20 +10:00
Marc Durdin
d774f10413
Merge pull request #11708 from keymanapp/chore/11702-add-cherry-information-in-commit-messages
chore: add cherry-pick information in commit messages
2024-06-07 16:40:06 +10:00
Marc Durdin
49b0fd2388
Merge pull request #11707 from keymanapp/chore/developer/11706-add-extra-logging-for-backspace-assertion
chore(developer): add extra logging for assertion failure when pressing backspace in debugger
2024-06-07 16:39:58 +10:00
Marc Durdin
2506ff7c01 fix(developer): verify email addresses in .kps and .keyboard_info
Add verification of email address formats to kmc-package,
kmc-keyboard-info, and kmc-model-info. Add corresponding unit tests for
kmc-package and kmc-keyboard-info (kmc-model-info unit tests will be a
later addition). Uses AJV's email validation regex, as we rely on AJV
for schema compliance tests.

Fixes: #11362
Fixes: KEYMAN-DEVELOPER-1XE
2024-06-07 13:30:21 +07:00
Joshua A. Horton
d66d474f64 fix(web): add limited Array.from polyfill for lm-worker use
Fixes: #11502
Fixes: KEYMAN-WEB-K4
2024-06-07 11:56:18 +07:00
Steven R. Loomis
51172c3284
Merge branch 'master' into feat/core/9467-devolve-norm-to-js3-epic-ldml 2024-06-06 22:35:07 -05:00
sgschantz
e1e58f2cef fix(mac): change build configuration to prevent cycle error in Xcode 15
Fixes: #11726
2024-06-07 10:15:46 +07:00
sgschantz
83c06299ba fix(mac): rollback runOnlyForDeploymentPostprocessing change
break into separate PR
2024-06-07 09:35:02 +07:00
Marc Durdin
1cc679bf8f
Merge branch 'master' into fix/developer/11719-handle-missing-osk-when-importing-windows-keyboard 2024-06-07 09:26:38 +07:00
Marc Durdin
614f957de5
Merge pull request #11723 from keymanapp/change/web/precompile-ts-tests
change(web): precompile all TS-based tests
2024-06-07 09:20:09 +07:00
Marc Durdin
8d3c66bb3f
Merge pull request #11718 from keymanapp/fix/common/11716-remove-allowJs-from-web-tsconfig
fix(common): remove allowJs from web's tsconfig.base.json
2024-06-07 09:20:00 +07:00
Marc Durdin
7d67ac5d6c
Merge branch 'master' into context/options 2024-06-07 09:15:21 +07:00
Marc Durdin
6fefc8f813
Merge pull request #11677 from Nnyny/context/new-model-project-parameters
chore(developer): add context/new-model-project-parameters
2024-06-07 08:35:12 +07:00
Marc Durdin
63a40e9934
Merge branch 'master' into context/new-model-project-parameters 2024-06-07 08:35:04 +07:00
Marc Durdin
4a7b766241
Merge pull request #11658 from Nnyny/context/wordlist-editor
chore(developer): add context/wordlist-editor
2024-06-07 08:34:09 +07:00
Marc Durdin
e1879deb96
Merge pull request #11656 from Nnyny/context/character-map
chore(developer): add context/character-map
2024-06-07 08:34:00 +07:00
Joshua Horton
9a78649f52
Merge pull request #11713 from keymanapp/fix/web/browser-keyboard-activation-deferral
fix(web): defer keyboard activation requests made during engine initialization
2024-06-07 07:59:44 +07:00
Joshua Horton
1fa19db0bf
Merge pull request #11705 from keymanapp/fix/web/osk-focus-tracking
fix(web): fix osk touch-focus tracking
2024-06-07 07:59:35 +07:00
Keyman Server
a49c891ff6
Merge pull request #11725 from keymanapp/auto/version-master-18.0.51
auto: increment master version to 18.0.51
2024-06-06 11:07:22 -07:00
Keyman Build Agent
7f3c58eda4 auto: increment master version to 18.0.51 2024-06-06 14:06:33 -04:00
Dr Mark C. Sinclair
1dc6ebf2cb chore(developer): add GetXStringImpl_type5 (eleven cases) 2024-06-06 16:03:27 +01:00
Dr Mark C. Sinclair
a920a2eae0 chore(developer): add baseloyout valid case to GetXStringImpl_type4 test 2024-06-06 11:52:27 +01:00
sgschantz
39ae61a835 fix(mac): add unit tests to confirm first calls to compliance check
Also makes public the description method used for logging.
A private description method may have been an issue with
the older logging code.
To build successfully with Xcode, it was necessary to
change runOnlyForDeploymentPostprocessing=1. This was
apparently needed because of the upgrade to Xcode 15
2024-06-06 16:31:11 +07:00
Joshua A. Horton
13476d48c8 change(web): precompile all TS-based tests 2024-06-06 15:48:58 +07:00
Joshua A. Horton
d86833783d fix(android): fix keyboard size after rotation and restore via onSizeChanged, after layout
Fixes: #10054
2024-06-06 14:02:18 +07:00
Marc Durdin
3f6ae0ade4 chore(web): re-enable allowJs for sourcemap-root 2024-06-06 13:51:58 +07:00
Marc Durdin
e9cb75fa4f fix(developer): handle missing OSK when importing a Windows keyboard into a touch-only project
Fixes: KEYMAN-DEVELOPER-1NN
Fixes: #11719
2024-06-06 12:47:53 +07:00
Marc Durdin
8123f4be56 refactor(developer): rename TouchLayoutToVisualKeyboardConverter to VisualKeyboardToTouchLayoutConverter
No change in functionality. But class and unit name now match what they
actually do.
2024-06-06 12:37:38 +07:00
Marc Durdin
6665cd0688
Merge pull request #11701 from keymanapp/fix/developer/11700-disable-example-edit-controls-if-no-examples
fix(developer): disable example edit controls if no examples in Package Editor
2024-06-06 12:05:04 +07:00
Marc Durdin
7eba4f9a69
Merge pull request #11698 from keymanapp/fix/developer/11687-ignore-javascript-files-with-bad-encodings
fix(developer): treat js files with unrecognized encodings as non-keyboard files
2024-06-06 12:04:49 +07:00
Marc Durdin
c6b5afda7d
Merge pull request #11587 from keymanapp/fix/developer/11586-handle-editor-init-after-debugger
fix(developer): handle editor initializing after debugger when setting execution point
2024-06-06 12:04:39 +07:00
Marc Durdin
3f3e3f9923 fix(common): remove allowJs from web's tsconfig.base.json
Fixes: #11716
2024-06-06 11:59:51 +07:00
Marc Durdin
33d7dca155 fix(developer): prevent two touch layout editors opening for the same file
The keyboard editor has a complex edit state machine, which has
grown a lot over time. This is a minimal patch to address one specific
edge case scenario on that state machine, without any attempt to improve
the state machine overall. The biggest change here is bubbling failure
up to the main form so that it can destroy (aka Release, which is an
asynchronous destroy) the editor window if it fails to load completely.

Fixes: #11715
Fixes: KEYMAN-DEVELOPER-1JC
2024-06-06 10:45:44 +07:00
Marc Durdin
32e92846a3
Merge pull request #11690 from keymanapp/chore/common/move-cldr-import-copy-to-build-step
chore(common): move CLDR import copy into build step for common/web/types
2024-06-06 10:08:39 +07:00
Marc Durdin
23f9391855
Merge pull request #11660 from keymanapp/chore/8616-bring-xml2js-into-repo
chore: move xml2js into the repo to eliminate npm git dependency
2024-06-06 10:02:32 +07:00
Marc Durdin
f2e0398c13
Merge pull request #11657 from keymanapp/chore/8616-remove-restructure-git-dep
chore: replace git dep on restructure with 3.0.1 in npm
2024-06-06 10:02:22 +07:00
Joshua Horton
fce791aa38
Merge pull request #11626 from keymanapp/feat/android/cloud-downloader-state-logging
fix(android): handle `IllegalArgumentException` when initializing `CloudDownloadMgr`, add logging to check for unhandled side-effects
2024-06-06 09:57:44 +07:00
Joshua A. Horton
8bc7da101e fix(web): defer keyboard activation requests made during engine initialization 2024-06-06 09:42:25 +07:00
Joshua A. Horton
dc00f791a2 fix(web): declares variable
This was originally developed before the TS-strictness PR set.  The variable was originally declared but unused at the time, and it was purged then as a result.
2024-06-06 09:25:22 +07:00