Commit graph

3368 commits

Author SHA1 Message Date
Dr Mark C. Sinclair
46efc97833 chore(developer): add fixture class and symbolic constants for KMX_WCHARs 2024-05-09 10:52:15 +01:00
Joshua A. Horton
8d7721545a chore(web): updates sinon to a version with fully-ESM artifact 2024-05-09 08:49:51 +07:00
Steven R. Loomis
5a45e80806 chore(developer): update nlohmann/json@v3.11.13
- Update from https://github.com/nlohmann/json/releases/tag/v3.11.3
- Needed for C++17

Fixes: #8800
2024-05-08 17:30:11 -05:00
Steven R. Loomis
18afd44b44 Merge branch 'chore/core/11033-points-not-units' of https://github.com/keymanapp/keyman into chore/core/11033-points-not-units 2024-05-08 09:07:12 -05:00
Steven R. Loomis
ca05471520 chore(windows): more updates for libkeymancore version 2024-05-08 09:07:01 -05:00
Steven R. Loomis
1fe76bcd26
Merge branch 'master' into chore/core/11033-points-not-units 2024-05-07 09:26:07 -05:00
Dr Mark C. Sinclair
aad39d5e60 chore(developer): add global thread compilation argument for emscripten to overcome wasm build problem 2024-05-07 13:21:17 +01:00
Joshua A. Horton
398b9e0ae2 chore(common): drops package-specific 'chai', '@types/chai' versions
chore(web): missed leaving these out of the rebase
2024-05-07 14:35:09 +07:00
Dr Mark C. Sinclair
fa8d3a4a65 chore(developer): change IsValidKeyboardVersion to use more specific expects 2024-05-06 16:14:45 +01:00
Dr Mark C. Sinclair
421ce40f3c chore(developer): add IsValidKeyBoardVersion test 2024-05-06 16:03:06 +01:00
Dr Mark C. Sinclair
7dc33d1f7a chore(developer): Merge branch 'master' into test/developer/keyboard-info-compiler-unit-tests-3 2024-05-06 11:16:00 +01:00
Marc Durdin
8474372baa fix(developer): define lastSelLength variable
Fixes #11361.
2024-05-06 10:25:04 +07:00
Marc Durdin
4fc94a9e70 fix(developer): handle missing Description element for File element in package compiler
Fixes #11353.
2024-05-03 14:31:10 +07:00
Marc Durdin
78902e3891 fix(developer): handle missing Name element for File element in package compiler
Fixes #11351.
2024-05-03 14:25:35 +07:00
Steven R. Loomis
6706ae0957 chore(core): km_core_cp -> km_core_cu
- km_core_cp represents a 16 bit code unit, not a code point.

Fixes: #11033
2024-05-02 17:39:15 -05:00
Marc Durdin
cd8121ef65 chore(common): builder scripts now use /resources/build/builder.inc.sh
Note: there is a bit of potential confusion about the difference between
/resources/builder.inc.sh (the full implementation for builder scripts),
and /resources/build/builder.inc.sh (the source script that builder
scripts should always use).

This allows us to make assumptions that will always be true for builder
scripts that may not be true for other scripts, such as setting base
folder.
2024-05-02 15:54:31 +07:00
Marc Durdin
0f390d47cc chore(common): maintenance on build scripts - cd
Fixes #11324.

* Always `cd "$THIS_SCRIPT_PATH"`
* Remove unnecessary `cd` from all build.sh
* Remove unnecessary `set -eu` from all build.sh (and `# set -x`)
* Replace old build-utils.sh incantation in a few build.sh scripts
2024-05-02 15:54:29 +07:00
Marc Durdin
f119682cf0
Merge branch 'master' into chore/a18s1-merge-beta-into-master 2024-05-02 14:48:58 +10:00
Marc Durdin
d019707a65
Merge pull request #11244 from keymanapp/fix/developer/11199-export-osk-without-keyman-installed
fix(developer): support export of visual keyboard when Keyman for Windows not installed
2024-04-26 17:08:58 +10:00
Darcy Wong
3838e88afa chore(common): Merge beta' into master for Sprint B17S6 (part 2) 2024-04-26 06:34:43 +07:00
Dr Mark C. Sinclair
90e9999657 chore(developer): replace some local variables with constants 2024-04-25 11:36:54 +01:00
Dr Mark C. Sinclair
e2ba026313 chore(developer): rmove unnecessary async from preinit test 2024-04-25 11:09:37 +01:00
Dr Mark C. Sinclair
9cb29b06da chore(developer): Merge branch 'beta' into test/developer/keyboard-info-compiler-messages-unit-tests-2 2024-04-23 12:24:54 +01:00
Dr Mark C. Sinclair
e742926dba chore(developer): some further elimination of code redundancy 2024-04-23 11:58:04 +01:00
Dr Mark C. Sinclair
a1c1452615 chore(developer): Merge branch 'beta' into test/developer/keyboard-info-compiler-unit-tests-3 2024-04-23 11:34:20 +01:00
Dr Mark C. Sinclair
0f0b51f80e chore(developer): clarify element tag name in platforms test 2024-04-23 11:30:45 +01:00
Marc Durdin
e8d3600e60 chore: Merge branch 'master' into chore/merge-beta-into-master-B17S6 2024-04-23 16:41:44 +07:00
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
Dr Mark C. Sinclair
81c5ff4207 chore(developer): correct ERROR_CharacterRangeTooLong test following fix #11137 2024-04-22 17:04:40 +01:00
Dr Mark C. Sinclair
5fcf92df32 chore(developer): correct ERROR_VirtualKeyExpansionTooLong test following fix #11137 2024-04-22 16:49:54 +01:00
Dr Mark C. Sinclair
92fb9cded0 chore(developer): correct ERROR_ExtendedStringTooLong test following fix #11137 2024-04-22 16:28:11 +01:00
Dr Mark C. Sinclair
5ec3589e07 chore(developer): correct ERROR_OutsTooLong test following fix #11137 2024-04-22 15:44:34 +01: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
1d7849bba7 chore(developer): correct two test descriptions 2024-04-22 11:44:32 +01:00
Dr Mark C. Sinclair
00d7b6ccc7 chore(developer): Merge branch 'beta' into test/developer/keyboard-info-compiler-messages-unit-tests-2 2024-04-22 10:38:37 +01: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
Marc Durdin
57fb66a53a chore(developer): ignore missing folder when cleaning 2024-04-19 10:08:52 +07:00
Marc Durdin
1f616a875d chore(developer): temporary copy of osk xml when building installer 2024-04-19 06:39:23 +07:00
Dr Mark C. Sinclair
a001bbd105 chore(developer): add code coverage for schema validation failure 2024-04-18 12:46:57 +01:00