Commit graph

3368 commits

Author SHA1 Message Date
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
Dr Mark C. Sinclair
75531d70e4 chore(developer): remove unnecessary fixture files from no-kmp 2024-03-07 16:14:45 +00:00
Dr Mark C. Sinclair
c340af85b9 chore(developer): remove unnecessary fixture files from no-license-in-kmp-sources 2024-03-07 16:08:10 +00:00
Dr Mark C. Sinclair
fa89f06187 chore(developer): add ERROR_NoLicenseFound test 2024-03-07 15:55:47 +00:00
Dr Mark C. Sinclair
911cae686e chore(developer): add ERROR_CannotBuildWithoutKmpFile test 2024-03-07 12:01:26 +00:00
Dr Mark C. Sinclair
be8ab1d4e4 chore(developer): refactor to place keyboard info message unit tests in correct test file 2024-03-07 11:33:05 +00:00
Dr Mark C. Sinclair
37b26baf22 chore(developer): correct test description for ERROR_FileDoesNotExist (.kmp fileSize) test 2024-03-07 11:21:04 +00:00
Dr Mark C. Sinclair
e91766477d chore(developer): Merge branch 'beta' into test/developer/kmc-keyboard-info-unit-test 2024-03-07 11:14:11 +00:00
Marc Durdin
ffe43d29ef
Merge branch 'beta' into fix/developer/10942-normalize-paths-in-kmc-package 2024-03-07 18:13:43 +07:00
Marc Durdin
4a7af6299c
Merge pull request #10924 from keymanapp/docs/developer/kmc-package-docs
docs(developer): kmc-package api documentation
2024-03-07 18:13:23 +07:00
Marc Durdin
62bd84e8e7
Merge pull request #10923 from keymanapp/docs/developer/kmc-keyboard-info-docs
docs(developer): kmc-keyboard-info api documentation
2024-03-07 18:13:18 +07:00