Marc Durdin
34f144259a
fix(developer): strip paths from keymanweb sourcemaps when uploading to sentry
...
For keymanweb distribution only, strip all paths from sourcemaps when
uploading to Sentry, by running the sourcemap upload from the specific
folder. This maps to sentry-manager's stripping of paths in its
reporting.
2024-02-22 10:12:17 +07:00
Marc Durdin
5900ab4079
fix(developer): use --no-dedupe flag to avoid HTTP 414 in sentry-cli
...
Ref https://github.com/getsentry/sentry-cli/issues/1657
Seeing requests with > 16K URI (e.g. 48KB!) like:
GET https://sentry.io/api/0/projects/keyman/keyman-developer/releases/release@17.0.273-beta-test-10798/files/?cursor=&checksum=004512221481ac19e94117147b07f028ba6c31d4& ...
This will skip the de-dupe phase which is intended to reduce the number
of files being uploaded; as it was failing in some cases, and thus
uploading the files anyway, I am hopeful that it will have no
significant impact on the build time.
2024-02-22 05:53:15 +07:00
Marc Durdin
d66da2da91
fix(developer): improve uploading of sourcemaps to sentry
...
Fixes #10720 .
This makes three fixes:
* Uploads each sourcemap path separately to try and avoid the 413 error
noted in the issue above.
* Starts from the parent folder, as it is possible that paths starting
with .. may be ignored, as they were not being uploaded to sentry.
* Removes a number of unneeded test files and debug symbols, which
should reduce the size of each release's debug data upload, and
slightly speed up the build.
2024-02-21 15:49:20 +07:00
Marc Durdin
dc93c5495c
fix(developer): publish keymancore-1.dll symbols
...
Fixes #10737 .
Two parts to this: first, Keyman Core release build needs to generate
the .pdb file, and second, the build needs to put it and the .dll into
a place where the sentry-cli scan will find it.
2024-02-21 13:53:52 +07:00
Marc Durdin
978fb125e6
Merge pull request #10781 from keymanapp/fix/developer/10684-crash-opening-invalid-project
...
fix(developer): crash opening invalid project
2024-02-21 12:00:57 +07:00
Marc Durdin
6a2bc432d6
Merge pull request #10780 from keymanapp/fix/developer/10545-reset-debugger-after-compile
...
fix(developer): reset debugger after ldml keyboard compile
2024-02-21 12:00:49 +07:00
Marc Durdin
16ece15653
Merge pull request #10779 from keymanapp/chore/developer/10543-ldml-project-text
...
chore(developer): add LDML specific text to Project view
2024-02-21 12:00:42 +07:00
Marc Durdin
0eaabe0283
Merge pull request #10777 from keymanapp/fix/developer/10678-fatal-errors-losing-message
...
fix(developer): ensure fatal errors report message or made non-fatal
2024-02-21 12:00:35 +07:00
Marc Durdin
7601ac9fca
Merge pull request #10775 from keymanapp/fix/developer/10546-tike-ide-message-formatting
...
fix(developer): match kmc console formatting for messages in IDE
2024-02-21 12:00:28 +07:00
Marc Durdin
5881645042
fix(developer): crash opening invalid project
...
Fixes #10684 .
If a project .kpj file was not saved in UTF-8 or ANSI, or had a BOM,
then Keyman Developer would crash with an access violation due to an
uninitialized variable.
2024-02-20 13:04:07 +07:00
Marc Durdin
64c0a9c57c
Merge pull request #10759 from keymanapp/fix/developer/10751-kmc-parameters
...
fix(developer): allow more parameters in kmc.cmd
2024-02-20 12:52:32 +07:00
Marc Durdin
9045d2f970
fix(developer): reset debugger after ldml keyboard compile
...
Fixes #10545 .
2024-02-20 12:51:36 +07:00
Marc Durdin
8115c15c3a
chore(developer): add LDML specific text to Project view
...
Fixes #10543 . Very basic text relating to LDML keyboards. Tweaks the
remaining text to match our project development model.
2024-02-20 12:03:34 +07:00
Marc Durdin
457275e46f
fix(developer): ensure fatal errors report message or made non-fatal
...
Fixes #10678 .
Some messages have been reduced to ERROR instead of FATAL, as they are
not internal compiler errors.
Where fatal messages are raised, the message will now be reported
through correctly to Sentry.
2024-02-20 11:10:39 +07:00
Marc Durdin
320f5c7519
Merge pull request #10765 from keymanapp/fix/developer/10752-exit-for-buildTestData
...
fix(developer): return an error code if build-test-data fails
2024-02-20 10:40:07 +07:00
Marc Durdin
3743c02eaa
Merge pull request #10767 from keymanapp/fix/developer/10548-no-rename-in-new-project
...
fix(developer): prevent renaming of new project types in New Project dialog
2024-02-20 10:39:59 +07:00
Marc Durdin
85e04a4745
Merge pull request #10766 from keymanapp/chore/developer/10741-hint-not-warn-for-gesture-support
...
chore(developer): reduce WARN_TouchLayoutUsesUnsupportedGesturesDownlevel to HINT
2024-02-20 10:39:52 +07:00
Marc Durdin
e431f850a0
fix(developer): match kmc console formatting for messages in IDE
...
Fixes #10546 .
Format compiler messages in the same way as kmc, and match the colors
from kmc's console log messages.
2024-02-20 07:12:49 +07:00
Marc Durdin
0921ae0354
chore(developer): handle shift and root path in kmc.cmd
2024-02-20 06:18:15 +07:00
Steven R. Loomis
470a62aaaf
fix(developer): missing variables tests. everywhere.
...
Fixes #10731
2024-02-19 16:39:53 -06:00
Steven R. Loomis
349168f237
chore(developer): rename MarkerTracker to SubstitutionTracker
...
- preparing to track variables also
For #10731
2024-02-19 14:16:04 -06:00
Marc Durdin
013fdfaf0c
fix(developer): prevent renaming of new project types in New Project dialog
...
Fixes #10548 .
2024-02-19 15:32:31 +07:00
Marc Durdin
3219754a6a
chore(developer): reduce WARN_TouchLayoutUsesUnsupportedGesturesDownlevel to HINT
...
Fixes #10741 .
2024-02-19 14:10:13 +07:00
Marc Durdin
d0d1e5e6fe
fix(developer): return an error code if build-test-data fails
...
Fixes #10752 .
Also removes `console.log()` call and replaces with appropriate call to
`callbacks.reportMessage()`.
2024-02-19 14:06:03 +07:00
Marc Durdin
3b02db860d
fix(developer): allow more parameters in kmc.cmd
...
Fixes #10751 .
2024-02-19 07:39:47 +07:00
Marc Durdin
1b22019941
Merge pull request #10756 from keymanapp/chore/developer/kmc-unit-test-infrastructure-messages
...
chore(developer): add infrastructure messages tests
2024-02-19 06:00:50 +07:00
Dr Mark C. Sinclair
d670e47186
chore(developer): corrected assert message in both ERROR_InvalidProjectFolder tests
2024-02-17 15:58:37 +07:00
Dr Mark C. Sinclair
dc5a6aabb4
chore(developer): added missing underscore in filename in ERROR_CannotCreateFolder test
2024-02-17 15:58:36 +07:00
Dr Mark C. Sinclair
eff01fb3a1
chore(developer): corrected filename in ERROR_UnknownFileFormat unit test
2024-02-17 15:58:34 +07:00
Dr Mark C. Sinclair
429cad0703
chore(developer): change unnecessary template literals to single quotes in tests
2024-02-17 15:58:33 +07:00
Dr Mark C. Sinclair
62589599a0
chore(developer): rename fixture file in 'ERROR_FileTypeNotFound (BuildModelInfo; .model.ts)'
2024-02-17 15:58:32 +07:00
Dr Mark C. Sinclair
f4b1c968cc
chore(developer): changes to files that should have been added to previous commits
2024-02-17 15:58:31 +07:00
Dr Mark C. Sinclair
1e292c34dc
chore(developer): rename fixture file in 'ERROR_FileTypeNotFound (BuildModelInfo; .kps)' test
2024-02-17 15:58:29 +07:00
Dr Mark C. Sinclair
1a53c9d074
chore(developer): rename fixture file in 'ERROR_FileTypeNotFound (BuildKeyboardInfo)' test
2024-02-17 15:58:28 +07:00
Dr Mark C. Sinclair
f1fbb5a86a
chore(developer): change folder name in ERROR_InvalidProjectFolder (no source folder) test'
2024-02-17 15:58:27 +07:00
Dr Mark C. Sinclair
ec8d2339a6
chore(developer): add ERROR_CannotCreateFolder infrastructure message unit test
2024-02-17 15:58:26 +07:00
Dr Mark C. Sinclair
1023c7c902
chore(developer): add ERROR_InvalidProjectFolder (no source folder) unit test
2024-02-17 15:58:20 +07:00
Dr Mark C. Sinclair
eb68475d35
chore(developer): correct error message in ERROR_UnknownFileFormat test
2024-02-17 15:56:33 +07:00
Dr Mark C. Sinclair
9fa6d23a54
chore(developer): change to reflect addition of outfile parameter to build methods
2024-02-17 15:56:32 +07:00
Dr Mark C. Sinclair
91524edfa9
chore(developer): add additional file type asserts to ERROR_FileTypeNotFound BuildModelInfo tests
2024-02-17 15:56:30 +07:00
Dr Mark C. Sinclair
5ef356a194
chore(developer): correct .kpj fixtures for ERROR_FileTypeNotFound BuildModelInfo tests
2024-02-17 15:56:29 +07:00
Dr Mark C. Sinclair
ca3362469f
chore(developer): add ERROR_FileTypeNotFound (BuildModelInfo; .kps) unit test
2024-02-17 15:56:28 +07:00
Dr Mark C. Sinclair
8af4b93120
chore(developer): add ERROR_FileTypeNotFound (BuildModelInfo; .model.ts) unit test
2024-02-17 15:56:26 +07:00
Dr Mark C. Sinclair
f39ba347b2
chore(developer): add ERROR_FileTypeNotFound (BuildKeyboardInfo) unit test
2024-02-17 15:56:25 +07:00
Dr Mark C. Sinclair
e4821c872b
chore(developer): add ERROR_UnknownFileFormat unit test and supporting endpoint
2024-02-17 15:55:59 +07:00
Dr Mark C. Sinclair
85d95ffa4f
chore(developer): refactor to rename fixture/invalid-project to invalid-projects
2024-02-17 15:55:30 +07:00
Dr Mark C. Sinclair
015b81014c
chore(developer): add ERROR_NotAProjectFile unit test
2024-02-17 15:54:03 +07:00
Dr Mark C. Sinclair
24e7105a9b
chore(developer): add ERROR_InvalidProjectFile unit test
2024-02-17 15:52:27 +07:00
Dr Mark C. Sinclair
af6ccc4d83
chore(developer): add ERROR_OutFileNotValidForProjects unit test
2024-02-17 15:51:08 +07:00
Dr Mark C. Sinclair
3f383e64e3
chore(developer): correct typo in error_file_type_not_recognized.xxx
2024-02-17 15:49:45 +07:00