- Jul 17, 2023
-
-
Marc Durdin authored
Fixes #9162. Adds support for `@files.txt` parameters in kmc. Files listed in this file, separated by line breaks, will be added to the input file list, relative to the path of files.txt. The file can include comments in lines starting with '#' and ignores whitespace before and after each filename.
-
Marc Durdin authored
-
- Jul 14, 2023
-
-
Marc Durdin authored
refactor(common): bundle schemas into web/types
🗜 -
Marc Durdin authored
-
Marc Durdin authored
fix(developer): use relative paths in kmc messages
🗜 -
Marc Durdin authored
feat(developer): add sentry reporting for kmc
🗜
-
- Jul 13, 2023
-
-
Marc Durdin authored
-
Marc Durdin authored
Co-authored-by:Joshua Horton <joshua_horton@sil.org>
-
Marc Durdin authored
chore(developer): suppress excessive messages in kmc
🗜 -
Marc Durdin authored
fix(developer): touch layout font test should be lower case
🗜 -
Marc Durdin authored
chore(developer): unit test for compilerWarningsAsErrors
🗜 -
Marc Durdin authored
-
Marc Durdin authored
-
Marc Durdin authored
-
Marc Durdin authored
-
Marc Durdin authored
-
Marc Durdin authored
-
- Jul 12, 2023
-
-
Marc Durdin authored
-
Marc Durdin authored
-
Marc Durdin authored
Removes the loadSchema function and instead resolves schema with import statements. Next commit will do the same work for Developer modules.
-
Marc Durdin authored
Fixes #9250.
-
Marc Durdin authored
-
Marc Durdin authored
Deploy kmc as an ES module, forced now by top-level await that we use in the sentry load. Moved NodeCompilerCallbacks to same util folder as schemas are found in, to avoid rewriting schema loading with imports in this PR. It belongs better there than messages/ anyway. Distributed files are now .mjs. Removed --enable-source-maps from launchers as logging will be managed with sentry anyway.
-
- Jul 11, 2023
-
-
Marc Durdin authored
-
Marc Durdin authored
chore(developer): handle compilerWarningsAsErrors option
🗜 -
Marc Durdin authored
chore(developer): add `--color` switch to kmc
🗜 -
Marc Durdin authored
chore(developer): cleanup compiler messages in kmc
🗜 -
Marc Durdin authored
Fixes #9113. Adds sentry reporting, plus helper functions, for kmc. Includes the now-standard `-sentry-client-test-exception` command line parameter, with `kmcmplib` and `event` sub-options available. Uploads kmc* sourcemaps to sentry on a release build. On Windows, honours the registry setting for error reporting. Also includes a command line option `--[no-]error-reporting` (must be used prior to initial command, e.g. `kmc --no-error-reporting build ...`).
-
Marc Durdin authored
Fixes #9147.
-
Marc Durdin authored
Fixes #9110. Also, `!=` has higher precedence than `??`. This returns a boolean result: ``` (platform.font?.toLowerCase() ?? '') != FTouchLayoutFont ``` But `!=` has higher precedence than `??` so this returns the font name: ``` platform.font?.toLowerCase() ?? '' != FTouchLayoutFont ```
-
Marc Durdin authored
Also adds inverse option -W, --no-compiler-warnings-as-errors command line parameter.
-
Marc Durdin authored
Fixes #9100. The `compilerWarningsAsErrors` option can be passed in as a command-line option or in the project options. Command-line option, if present, takes precedence over the project option. If neither is set, then the value is `false`. Handling of this is within kmc, rather than individual modules.
-
Marc Durdin authored
Fixes #9233. Adds --color and --no-color switches to kmc command line, with default being determined by console mode. Also ensures color initialization happens just once in NodeCompilerCallbacks and moves constants to top of file.
-
- Jul 10, 2023
-
-
Marc Durdin authored
-
Marc Durdin authored
Fixes #8795. Relates to #9090. Cleans up and makes consistent compiler messages in kmc, and related unit tests. Adds support for colorized messages. After installing chalk for ansi coloring in kmc, @types/node needed to be brought in sync with the Typescript version, per the suggestion of checking against `npm dist-tags @types/node`,found in a discussion at https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/64262#discussioncomment-4905069 Additional tidying up includes: * Deprecating a set of functions in compiler-interfaces, bringing them together under a new CompilerError class. Separating CompilerErrorSeverity and CompilerErrorMask enums. * Making CompilerError.formatEvent (formerly compilerEventFormat) print messages in the same format as NodeCompilerCallbacks (sans coloring). * Adding a wrapper class for CompilerCallbacks that manages the filename reporting, used currently exclusively by kmc itself.
-
Marc Durdin authored
chore: merge master into feature-kmc-kmw A17S16
-
Marc Durdin authored
-
- Jul 07, 2023
-
-
Marc Durdin authored
-
Keyman Server authored
auto: increment master version to 17.0.136
-
Keyman Build Agent authored
-