Commit graph

4331 commits

Author SHA1 Message Date
Steven R. Loomis
67838e60a2 fix(developer,core): fix for marker substitution in sets
- for bug(core): assert when matching markers #11045
- track raw and marker-substituted sets
2024-03-25 12:00:55 -05:00
Steven R. Loomis
18ba46d874 fix(common): fix an additional issue on illegal UnicodeSets
- similar fix to https://github.com/keymanapp/keyman/pull/9492
- again may be due to a wasm version variant
- also additional rangechecking on the input side
2024-03-25 10:26:33 -05:00
Dr Mark C. Sinclair
b542a8d133 chore(developer): add loadKmxFiles can handle two .kmx files test 2024-03-25 15:12:15 +00:00
Dr Mark C. Sinclair
5681eea27f chore(developer): Merge branch 'beta' into test/developer/keyboard-info-compiler-unit-tests 2024-03-25 10:08:11 +00:00
Marc Durdin
c5be180408
Merge pull request #11051 from keymanapp/fix/developer/11043-kmc-sourcemaps
fix(developer): correct path for kmc sourcemaps in sentry upload
2024-03-25 18:36:51 +11:00
Marc Durdin
69fdd697d1 refactor(developer): polish fixup function 2024-03-25 10:27:19 +07:00
Marc Durdin
2e2af5b0fa refactor(developer): tidy up the sourcemap path fixup 2024-03-25 10:23:14 +07:00
Marc Durdin
a0d99ba07f
Merge pull request #11049 from keymanapp/fix/developer/11036-capture-alt-shortcuts-in-debugger
fix(developer): capture alt shortcuts in LDML keyboard debugger
2024-03-25 14:05:56 +11:00
Marc Durdin
287a43ae91 chore(developer): try /dist path 2024-03-25 06:06:45 +07:00
Marc Durdin
2ce8dc5147 chore(developer): test alternate frame patchup 2024-03-22 13:27:53 +07:00
Marc Durdin
03491f5b7e chore(developer): use rewriteFrames integration in kmc 2024-03-22 11:55:04 +07:00
Marc Durdin
69f63d2f45 chore(developer): round two attempt to resolve sourcemaps 2024-03-22 10:36:24 +07:00
Marc Durdin
dafb3d8192 fix(developer): correct path for kmc sourcemaps in sentry upload
Fixes #11043 (hopefully).
2024-03-22 09:02:36 +07:00
Marc Durdin
b8291ec187 fix(developer): capture alt shortcuts in LDML keyboard debugger
Fixes #11036.

Also removes unused function ShortcutDisabled from both debuggers, to
avoid confusion.
2024-03-22 08:39:30 +07:00
Marc Durdin
523e5d4efb fix(developer): catch sharing violation when saving mru
Fixes #11041.

If two TIKE processes try to save the MRU at the same time, this can
result in a sharing violation. The relevant OLE error code is not
saved as a constant in Delphi lib, so I looked it up and added it here.
2024-03-22 06:11:34 +07:00
Marc Durdin
ab8d41c008
Merge pull request #11016 from keymanapp/fix/developer/return-await-exitprocess
fix(developer): return after calling await exitProcess
2024-03-22 09:18:35 +11:00
Dr Mark C. Sinclair
f316169d51
Merge pull request #10995 from keymanapp/fix/developer/font-file-meta-is-invalid-error
fix(developer): font file meta data is invalid error
2024-03-21 11:17:40 +00:00
Dr Mark C. Sinclair
29d565727b fix(developer): added further text to @throws comment in getFontFamily() 2024-03-21 10:18:30 +00:00
Dr Mark C. Sinclair
d0b29dfedd fix(developer): added @throws comment to getFontFamily() 2024-03-21 10:13:58 +00:00
Dr Mark C. Sinclair
9da1b12630 fix(developer): add comments wrt unused message codes 2024-03-21 09:44:43 +00:00
Dr Mark C. Sinclair
305e6f54dc chore(developer): recover from failed merge 2024-03-20 12:37:59 +00:00
Dr Mark C. Sinclair
9119256024 chore(developer): Merge branch 'test/developer/keyboard-info-compiler-unit-tests' 2024-03-20 12:35:12 +00:00
Dr Mark C. Sinclair
8abe3f6583 chore(developer): add loadKmxFiles throws error if .kmx file is missing from disk test 2024-03-20 12:30:38 +00:00
Dr Mark C. Sinclair
7353c3049a chore(developer): add loadKmxFiles throws error if .kmx file is missing from disk test 2024-03-20 12:24:03 +00:00
Dr Mark C. Sinclair
9c3e55e511 chore(developer): add loadKmxFiles returns empty array if .kmx file is missing from .kmp test 2024-03-20 11:45:59 +00:00
Dr Mark C. Sinclair
628ac27d08 chore(developer): add kmxFileVersionToString returns correct strings test 2024-03-19 12:25:49 +00:00
Dr Mark C. Sinclair
0e2ff2bdfe chore(developer): add mapKeymanTargetToPlatform returns correct platforms test 2024-03-19 11:51:57 +00:00
Dr Mark C. Sinclair
5d4a56f6d0 chore(developer): add write artifacts to disk test 2024-03-19 11:11:00 +00:00
Dr Mark C. Sinclair
5c1733e718 chore(developer): tighten up stub definitions in tests 2024-03-18 16:40:28 +00:00
Dr Mark C. Sinclair
e2088fd65f chore(developer): add KeyboardInfoCompiler returns null if fillLanguages fails test 2024-03-18 16:29:14 +00:00
Dr Mark C. Sinclair
dbc1e42ded chore(developer): add KeyboardInfoCompiler returns null if license is not MIT test 2024-03-18 16:20:52 +00:00
Dr Mark C. Sinclair
8a43aa56ef chore(developer): add KeyboardInfoCompiler returns null if loadJsFile fails test 2024-03-18 16:14:01 +00:00
Dr Mark C. Sinclair
79cd02169c chore(developer): add KeyboardInfoCompiler returns null if KmpCompiler.transformKpsToKmpObject fails test 2024-03-18 16:05:38 +00:00
Dr Mark C. Sinclair
daa6384da5 chore(developer): add KeyboardInfoCompiler returns null if KmpCompiler.init fails test 2024-03-18 15:48:21 +00:00
Dr Mark C. Sinclair
ca084c1e00 chore(developer): add KeyboardInfoCompiler init test 2024-03-18 12:35:52 +00:00
Marc Durdin
33386746ca fix(developer): return after calling await exitProcess
Because exitProcess is async, static analysis of the function does not
show process termination, even though it returns Promise<Never>. This
can lead to compiler warnings when it gets confused about missing return
values. So have moved to always returning the value from exitProcess,
even though it will never actually return!
2024-03-17 03:45:42 +03:00
Dr Mark C. Sinclair
badc47dbd4 chore(developer): ensure preinit is called indirectly (maintaining test independence) 2024-03-14 13:58:13 +00:00
Dr Mark C. Sinclair
c1b7f0053d chore(developer): use unitTestEndpoints to export langtagsByTag 2024-03-14 13:50:00 +00:00
Dr Mark C. Sinclair
7a9b47b394 chore(developer): add preinit test for keyboard info compiler 2024-03-14 13:35:05 +00:00
Dr Mark C. Sinclair
a51927206a fix(developer): add code coverage for ERROR_FontFileCannotBeRead due to difficulty in forcing this error 2024-03-14 10:45:02 +00:00
Dr Mark C. Sinclair
83dedaabf5 fix(developer): correct fixture names for ERROR_FontFileMetaDataIsInvalid test 2024-03-14 10:36:47 +00:00
Dr Mark C. Sinclair
b7bbd759a4 fix(developer): add ERROR_FontFileMetaDataIsInvalid error and corresponding test 2024-03-14 10:29:32 +00:00
Dr Mark C. Sinclair
d303ac52ca fix(developer): remove unused keyboard compiler messages 2024-03-14 09:48:08 +00:00
Marc Durdin
19719a0563
Merge pull request #10977 from keymanapp/fix/developer/10959-ldml-min-keyman-version
fix(developer): min Keyman version for LDML is 17.0
2024-03-14 03:20:15 +11:00
Dr Mark C. Sinclair
9ee45b9306 chore(developer): Merge branch 'beta' into fix/developer/font-family-returns-null-if-ttfMeta-promise-errors 2024-03-13 10:04:33 +00:00
Dr Mark C. Sinclair
90c028e1b0 fix(developer): getFontFamily now returns null if ttfMeta.promise errors (plus test) 2024-03-12 18:47:31 +00:00
Dr Mark C. Sinclair
b5a21bd4ad chore(developer): Merge branch 'beta' into test/developer/kmc-keyboard-info-unit-test 2024-03-12 17:47:30 +00:00
Marc Durdin
94ca4899c0 chore(developer): update basic.txt min keyman version 2024-03-12 09:49:14 -05:00
Steven R. Loomis
928da76ea2
Merge branch 'beta' into fix/developer/10894-expect-the-unexpected 2024-03-08 09:48:41 -06:00
Steven R. Loomis
e77a495477 fix(developer): remove extra fatal exception
- remove the fatal exception about a failed section compiler,
as it will always otherwise be propagated to the user

Fixes: #10894
2024-03-07 17:35:59 -06:00