Commit graph

2926 commits

Author SHA1 Message Date
Marc Durdin
5658a177a2
Merge pull request #11276 from keymanapp/fix/developer/11274-use-strict-for-downlevel-browsers
fix(developer): "use strict" for downlevel browsers in Server
2024-04-23 18:55:33 +10:00
Marc Durdin
83b925310a
Merge pull request #11271 from keymanapp/fix/developer/11262-crash-when-closing-in-help-form
fix(developer): report missing help to sentry instead of local xml
2024-04-23 18:55:20 +10:00
Marc Durdin
85fccb35f6
Merge pull request #11269 from keymanapp/fix/developer/11233-ne-plus-ultra
fix(developer): keep escaped plus-sign escaped 🙀
2024-04-22 23:42:57 +10:00
Dr Mark C. Sinclair
2f43362e6c chore(developer): Merge branch 'beta' into test/developer/keyboard-info-compiler-unit-tests-2 2024-04-22 10:33:13 +01:00
Marc Durdin
d3c2ddf671
Merge pull request #11275 from keymanapp/fix/developer/11273-initdroparea-lazy-init
fix(developer): lazy initialization of test window
2024-04-22 18:29:05 +10:00
Marc Durdin
90b7e3161f
Merge pull request #11272 from keymanapp/fix/developer/11261-handle-multiple-server-instances
fix(developer): handle multiple instances of Server starting
2024-04-22 18:28:58 +10:00
Marc Durdin
f199c6aec2
Merge pull request #11270 from keymanapp/fix/developer/11260-handle-invalid-unicode-values-in-layout-builder
fix(developer): handle invalid Unicode values in touch layout builder
2024-04-22 14:18:02 +10:00
Marc Durdin
50f2547436
Merge pull request #11252 from keymanapp/fix/developer/11194-avoid-crash-if-mru-project-is-missing
fix(developer): test that MRU project exists before attempting to reference on startup
2024-04-22 14:17:55 +10:00
Marc Durdin
f870e912f3 fix(developer): "use strict" for downlevel browsers in Server
Fixes #11274.
2024-04-22 10:57:53 +07:00
Marc Durdin
d296100feb fix(developer): lazy initialization of test window
Fixes #11273.

On some devices, the fetch() would return faster than the remaining
script loads, which caused this script error. Lazy initialization should
address this.
2024-04-22 10:56:01 +07:00
Marc Durdin
dfdda1a4b2 fix(developer): handle multiple instances of Server starting
Fixes #11261.
2024-04-22 10:32:55 +07:00
Marc Durdin
65c056cb26 fix(developer): report missing help to sentry instead of local xml
Fixes #11262.

Avoid the crash by reporting missing help pages to Sentry instead of
attempting to write to a local .xml file. This gives us more data of
which help is missing from Keyman Developer, which is more useful to
us.
2024-04-22 09:21:53 +07:00
Marc Durdin
007f0bdc28 fix(developer): handle invalid Unicode values in touch layout builder
Fixes #11260.
2024-04-22 08:26:03 +07:00
Steven R. Loomis
7fb97efa43 fix(developer): escape plus and asterisk sign
- additional tests for asterisk and plus

Fixes: #11233
2024-04-19 16:37:16 -05:00
Dr Mark C. Sinclair
687fcee296 chore(developer): remove placeholder comment 2024-04-18 09:57:17 +01:00
Marc Durdin
5f7f9e905c fix(developer): test that MRU project exists before attempting to reference on startup
Fixes #11194.

If the last-used project file no longer exists (e.g. has been renamed),
then Keyman Developer would crash as it did not test that the file had
been loaded successfully before attempting to reference it.
2024-04-18 14:05:39 +07:00
Marc Durdin
787d5f5a01 fix(developer): prevent xmlns for ldml keyboard template child elements
Fixes #11228.
2024-04-18 13:49:38 +07:00
Dr Mark C. Sinclair
c7f2916f23 chore(developer): add additional test cases to platform test 2024-04-16 11:38:37 +01:00
Dr Mark C. Sinclair
9903972a30 chore(developer): combine three run platform tests into one multi-case 2024-04-16 11:21:37 +01:00
Dr Mark C. Sinclair
cfcc091be1 chore(developer): add check run sets platforms correctly if no targets provided (with .js file in sources but not .kps) test 2024-04-16 10:49:03 +01:00
Dr Mark C. Sinclair
db6af170d6 chore(developer): add check run sets platforms correctly if no targets provided (with .js file in sources and .kps) test 2024-04-15 12:45:35 +01:00
Dr Mark C. Sinclair
3d0c18c1fb chore(developer): add additional assert to check run sets platforms correctly if kmx file provided test 2024-04-15 12:25:35 +01:00
Dr Mark C. Sinclair
33d6668915 chore(developer): add initial check run sets platforms correctly if kmx file provided test 2024-04-15 12:00:37 +01:00
Dr Mark C. Sinclair
be1a0302d7 chore(developer): add test case numbers to multi-case tests 2024-04-15 10:43:23 +01:00
Dr Mark C. Sinclair
d63a2413de chore(developer): moved test cases out of two tests to avoid sync problems 2024-04-11 18:31:38 +01:00
Dr Mark C. Sinclair
193401e15e chore(developer): add check run sets minKeymanVersion correctly test 2024-04-11 14:17:05 +01:00
Dr Mark C. Sinclair
adac3c5ee2 chore(developer): refactor check kmxFileVersionToString returns correct strings test to use testCases variable 2024-04-11 11:38:22 +01:00
Dr Mark C. Sinclair
46bd1d21ea chore(developer): add addtional test cases to check run sets packageIncludes correctly test 2024-04-11 11:34:55 +01:00
Dr Mark C. Sinclair
9f5e4c065d chore(developer): add check run sets packageIncludes correctly test 2024-04-11 11:23:12 +01:00
Dr Mark C. Sinclair
639253940b chore(developer): Merge branch 'beta' into test/developer/keyboard-info-compiler-unit-tests-2 2024-04-11 10:01:54 +01:00
Dr Mark C. Sinclair
051fc4bd9f chore(developer): add two author.info tests and adjust code coverage comment 2024-04-08 15:54:35 +01:00
Dr Mark C. Sinclair
bb92f569fb chore(developer): add check run sets keyboard_info.isRTL if set in jsFile test 2024-04-08 11:58:28 +01:00
Dr Mark C. Sinclair
4d418606c2 chore(developer): check run leaves keyboard_info.isRTL undefined if not set in jsFile test 2024-04-08 11:14:16 +01:00
Dr Mark C. Sinclair
b3ed94b346 chore(developer): add check fontSourceToKeyboardInfoFont handles font file names with backslashes test 2024-04-08 10:44:35 +01:00
Dr Mark C. Sinclair
001b2e3800 chore(developer): add check fillLanguages throws error if Intl.DisplayNames.of throws error that is not RangeError test 2024-04-05 16:14:08 +01:00
Dr Mark C. Sinclair
3533f60175 chore(developer): add check fillLanguages gives region/script from tag if Intl.DisplayNames.of throws RangeError1 test 2024-04-05 15:58:19 +01:00
rc-swag
d711856f72
Merge pull request #11152 from keymanapp/fix/windows/11005/decode-uri-packageid
fix(windows): decode uri for Package ID and filename
2024-04-05 12:57:54 +10:00
rc-swag
fdc1db4c78
fix(windows): IDE introduce project file deployment path 2024-04-05 08:41:32 +10:00
Dr Mark C. Sinclair
08a1cd5341 chore(developer): add check fontSourceToKeyboardInfoFont returns first font if none of those supplied is a valid type test 2024-04-04 17:15:44 +01:00
Dr Mark C. Sinclair
f46cd28ffe chore(developer): add check fillLanguages handles displayName, region and script correctly with private-use subtag test 2024-04-04 16:34:49 +01:00
Dr Mark C. Sinclair
8362149c27 chore(developer): add check fillLanguages handles displayName correctly with no script test 2024-04-04 11:42:25 +01:00
Dr Mark C. Sinclair
25517d43f2 chore(developer): refactor some of the stubs to use tertiary operator 2024-04-04 11:36:02 +01:00
Dr Mark C. Sinclair
2cca69e6d3 chore(developer): add check fillLanguages handles displayName correctly with no region test 2024-04-04 11:28:21 +01:00
rc-swag
e85074a675 fix(windows): add utilhttp to developer projects 2024-04-04 19:21:02 +10:00
Marc Durdin
268332b608 chore(developer): fix sentry-cli path 2024-04-03 11:58:39 +07:00
Marc Durdin
debb799caa fix(common): upgrade sentry-cli to 2.31.0
Fixes #11091.

Updating to latest sentry-cli on all projects, reviewed release notes
and there do not appear to be any breaking changes.

sentry-cli 2.19.4 had a bug with uploading wasm symbols:
https://github.com/getsentry/sentry-cli/issues/1682

It was fixed in 2.20.0:
https://github.com/getsentry/sentry-cli/releases/tag/2.20.0
2024-04-03 10:48:35 +07:00
Marc Durdin
ed608e98e9
Merge pull request #11137 from keymanapp/fix/developer/11092-memory-buffer-overflow-in-compiler
fix(developer): handle buffer boundaries in four cases
2024-04-03 14:08:15 +11:00
Dr Mark C. Sinclair
9963f0342f chore(developer): Merge branch 'beta' into test/developer/keyboard-info-compiler-unit-tests-2 2024-04-02 14:15:46 +01:00
Dr Mark C. Sinclair
3feefabb65 chore(developer): Merge branch 'beta' into test/developer/keyboard-info-compiler-unit-tests-2 2024-04-02 14:10:45 +01:00
Dr Mark C. Sinclair
401cb3cf59 chore(developer): Merge branch 'beta' into test/developer/keyboard-info-compiler-unit-tests 2024-04-02 14:07:47 +01:00