Commit graph

2311 commits

Author SHA1 Message Date
Marc Durdin
b48ac789eb chore(developer): update git commit date test due to non-merge commit 2024-08-01 11:01:28 +07:00
Marc Durdin
d8986be12f refactor(common): merge master into branch 2024-08-01 07:07:07 +07:00
Marc Durdin
071fe5ccb5 chore(developer): fixup reference to xml2js 2024-06-13 08:57:27 +10:00
Marc Durdin
185c020bf1 chore(developer): update xml2js reference for kpj-file-reader 2024-06-12 16:43:28 +07:00
Marc Durdin
74e2a8ccea refactor(common): move kpj test fixtures and cleanup post-move
Moves the kpj test fixtures into developer-utils, moves from let to
const in code where required by eslint, and reduces the coverage
threshold in order to get tests to pass for developer-utils.
2024-06-12 16:31:53 +07:00
Marc Durdin
9cf09a5140 refactor(common): move kpj-related files into developer-utils
Relates to #9665.
2024-06-12 16:31:52 +07:00
Marc Durdin
4ed88d8fa6 refactor(developer): move developer-utils files into src/ and sub-folder
In preparation for moving source file types into developer-utils, move
the existing developer-utils files into src/ and src/utils subfolders.
2024-06-12 16:31:50 +07:00
Joshua A. Horton
2340048a27 fix(developer): run compiled version of dev-server's unit test 2024-06-10 14:39:08 +07:00
Joshua A. Horton
e87395038d chore(common): Merge branch 'fix/common/update-subpackage-ts-entries' into chore/common/remove-ts-node 2024-06-10 14:35:22 +07:00
Joshua A. Horton
813d39b12e chore(common): Merge branch 'fix/developer/include-path-slashes' into fix/common/update-subpackage-ts-entries 2024-06-10 14:34:06 +07:00
Joshua A. Horton
fb67d1ddf5 fix(developer): fix include paths
Backslashes in paths are Windows-only, may have caused recent *nix CI-build failures.
2024-06-10 13:58:17 +07:00
Joshua A. Horton
d07fa7e953 chore(common): eliminate ts-node ref from most subpackages 2024-06-10 10:07:58 +07:00
Joshua A. Horton
cb9ac807e0 change(developer): precompile create-override-script-regexp.ts 2024-06-10 09:43:56 +07:00
Joshua A. Horton
e527317d3a fix(common): remove subpackge entries for older TS version 2024-06-10 09:14:03 +07:00
Dr Mark C. Sinclair
6ffbe9a80a chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests
# Keyman Conventional Commit suggestions:
#
# - Link to a Sentry issue with git trailer:
#     Fixes: _MODULE_-_ID_
# - Give credit to co-authors:
#     Co-authored-by: _Name_ <_email_>
# - Use imperative, present tense ('attach' not 'attaches', 'attached' etc)
# - Don't include a period at the end of the title
# - Always include a blank line before trailers
# - More: https://github.com/keymanapp/keyman/wiki/Pull-Request-and-Commit-workflow-notes
2024-06-08 13:26:19 +01:00
Dr Mark C. Sinclair
f1ad109b6f chore(developer): add comment on deadkeys 2024-06-08 13:09:47 +01:00
Dr Mark C. Sinclair
467b768ef0 chore(developer): replace type int literals in GetXStringImpl test names with char names 2024-06-08 12:50:50 +01:00
Dr Mark C. Sinclair
cdb71f4329 chore(developer): add initFileKeyboard() method 2024-06-08 12:36:11 +01:00
Dr Mark C. Sinclair
c1d5d45b8f chore(developer): generalise googletest line in .gitignore 2024-06-08 12:20:58 +01:00
Marc Durdin
c6d298d737
Merge pull request #11737 from keymanapp/feat/developer/support-language-reference-in-context-help
feat(developer): support language reference in context help
2024-06-08 10:46:47 +10:00
Marc Durdin
577986bb50
Merge pull request #11523 from keymanapp/chore/common/8399-cleanup-meson-warnings
chore(common): cleanup meson deprecations and warnings
2024-06-08 10:46:41 +10:00
Marc Durdin
eb0fff2363
Merge pull request #11717 from keymanapp/fix/developer/11715-prevent-two-touch-layout-editors-opening-for-same-file
fix(developer): prevent two touch layout editors opening for the same file
2024-06-08 10:44:31 +10:00
Dr Mark C. Sinclair
2ad8a76a9d chore(developer): delete commented out code 2024-06-07 19:04:26 +01:00
Dr Mark C. Sinclair
f4dabd1ccc chore(developer): add fileKeyboard fixture and initFileKeyboard() method 2024-06-07 18:14:32 +01:00
Dr Mark C. Sinclair
e3b18d3800 chore(developer): add initGlobals() method 2024-06-07 12:09:55 +01:00
Dr Mark C. Sinclair
f5a7d73c73 chore(developer): moved CompMsg.cpp refactor to fix #11738 2024-06-07 11:26:26 +01: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
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
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
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
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
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
dbf577bb9a fix(developer): handle encoding errors when loading wordlists
Fixes: #11710
Fixes: KEYMAN-DEVELOPER-1S4
2024-06-06 09:21:40 +07:00
Marc Durdin
52093720f4 chore(developer): add extra logging for assertion failure when pressing backspace in debugger
I have not been able to reproduce this problem, so adding some extra
debug logs in an attempt to determine what is causing the assertion
failure.

Relates to: #11706
2024-06-06 08:54:38 +07:00
Marc Durdin
6fba7c0159 fix(developer): disable example edit controls if no examples in Package Editor
Fixes: #11700
Fixes: KEYMAN-DEVELOPER-1FT
2024-06-06 08:14:12 +07:00
Marc Durdin
50b28ff3ff fix(developer): treat js files with unrecognized encodings as non-keyboard files
Fixes: KEYMAN-DEVELOPER-201
Fixes: #11687
2024-06-06 06:51:11 +07:00
Nnyny
983aea1ba5 add context/new-model-project-parameters 2024-06-04 14:48:10 +07:00
Dr Mark C. Sinclair
cb9f5fe6de chore(developer): fix for failing wasm build 2024-06-03 16:30:09 +01:00
Dr Mark C. Sinclair
f8cda0ae28 chore(developer): correct TODO comment in type 1 & 2 GetXStringImpl tests 2024-06-03 11:38:43 +01:00
Dr Mark C. Sinclair
c0e298d2bd chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests
# Keyman Conventional Commit suggestions:
#
# - Link to a Sentry issue with git trailer:
#     Fixes: _MODULE_-_ID_
# - Give credit to co-authors:
#     Co-authored-by: _Name_ <_email_>
# - Use imperative, present tense ('attach' not 'attaches', 'attached' etc)
# - Don't include a period at the end of the title
# - Always include a blank line before trailers
# - More: https://github.com/keymanapp/keyman/wiki/Pull-Request-and-Commit-workflow-notes
2024-06-03 11:09:30 +01:00
Marc Durdin
e6d59fc173 chore: move xml2js into the repo to eliminate npm git dependency
Small rewrites to the xml2js code as ES6 modules. Based on
https://github.com/keymanapp/dependency-node-xml2js

Fixes: #8616
2024-06-03 16:07:29 +07:00
Nnyny
423aa7ab94 add context/wordlist-editor 2024-06-03 15:36:07 +07:00
Marc Durdin
b874de25e8 chore: replace git dep on restructure with 3.0.1 in npm
3.0.1 includes our fix. However, 3.0.2 does not yet appear to have been
published, which has a patch for our fix?

Fixes: #8616
2024-06-03 14:58:39 +07:00
Nnyny
8608a26701 add context/character-map 2024-06-03 14:40:57 +07:00
Marc Durdin
b22bf72a91
Merge pull request #11575 from keymanapp/fix/developer/11573-save-selection-when-loading-state
fix(developer): save touch layout editor selection when loading state
2024-06-03 05:42:14 +07:00
Marc Durdin
26f68d0a35
Merge pull request #11635 from keymanapp/chore/developer/11632-increase-timeout-for-compiler-test
chore(developer): increase timeout for kmc-ldml compiler test
2024-06-01 06:19:44 +07:00