Commit graph

2654 commits

Author SHA1 Message Date
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
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
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
Dr Mark C. Sinclair
5301f7a176 chore(developer): add ERROR_FileTypeNotRecognized test 2024-02-17 15:49:44 +07:00
Dr Mark C. Sinclair
09739656ea chore(developer): add ERROR_FileDoesNotExist test 2024-02-17 15:49:42 +07:00
Steven R. Loomis
7cd2e2d4e0 fix(developer): fix for incorrectly-stateful regex
- take out the /g flag for regex used with .exec

For #10734
2024-02-15 15:47:41 -06:00
Steven R. Loomis
8121345e2c Merge remote-tracking branch 'origin/feat/developer/10389-bad-regex-no-biscuit' into feat/developer/10389-more-regex-test 2024-02-13 18:07:07 -06:00
Steven R. Loomis
099154553a feat(developer): errs on unparseable regex 🙀
- update per code review

For: #10389
2024-02-13 18:01:26 -06:00
Steven R. Loomis
8787073c40 feat(developer): errs on \uXXXX escapes 🙀
- note, some older test cases had to be fixed also.

For: #10389
2024-02-13 12:26:46 -06:00
Steven R. Loomis
da4b544471 feat(developer): errs on unparseable regex 🙀
- also, make sure NFD-incompliant ranges get mapped to escaped chars
- also, propagate UnicodeSet errs out

For: #10389
2024-02-12 18:16:34 -06:00
Marc Durdin
57468db5da
Merge pull request #10664 from keymanapp/fix/developer/10655-10663-web-target-keyboard-crashes-and-wrong-folders
fix(developer): keyboard that targets only web can cause crashes and other problems
2024-02-12 09:52:17 +11:00
Marc Durdin
a918cc182f fix(developer): keyboard that targets only web can cause crashes and other problems
Fixes #10655.
Fixes #10663.

If a .kmn file had only a .js target, then Keyman Developer would return
an empty string for the target (based on .kmx). This meant that the path
for the compiler was an empty string, the path for opening the build
folder was an empty string.

Refactored the relevant code to simplify the logic a little.
2024-02-07 13:15:51 +07:00
Marc Durdin
44abf2c41e
Merge pull request #10651 from markcsinclair/fix/developer/ensure-project-populate-files-actually-adds-files
fix(developer): ensure project populate files actually adds files
2024-02-07 16:01:56 +11:00
Marc Durdin
6c4d5ff7fa
Merge pull request #10585 from keymanapp/fix/core/10582-km_core_state_get_actions-idempotency
fix(core): make `km_core_state_get_actions()` idempotent
2024-02-07 14:42:50 +11:00
Steven R. Loomis
5360cff8e5 Merge branch 'feat/developer/10554-sometimes-no-norm' into feat/developer/10316-range-warning 2024-02-06 16:14:54 -06:00
Steven R. Loomis
50e0b31e9e feat(developer): support normalization=disabled 🙀
- fix check normalization state

#10554
2024-02-06 14:54:26 -06:00
Dr Mark C. Sinclair
29b6601018 fix(developer): ensure project populate files actually adds files and test 2024-02-06 10:39:47 +00:00