1. Jul 13, 2023
  2. Jul 12, 2023
    • Marc Durdin's avatar
      chore(developer): fix tests and linting · 111de31f
      Marc Durdin authored
      111de31f
    • Marc Durdin's avatar
      feat(developer): deploy kmc as ES module · fa3980f5
      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.
      fa3980f5
  3. Jul 11, 2023
    • Marc Durdin's avatar
      chore(developer): workaround TS2367 · 8082f5f3
      Marc Durdin authored
      8082f5f3
    • Marc Durdin's avatar
      feat(developer): add sentry reporting for kmc · b435471b
      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 ...`).
      b435471b
    • Marc Durdin's avatar
      chore(developer): suppress excessive messages in kmc · d5aeecd7
      Marc Durdin authored
      Fixes #9147.
      d5aeecd7
    • Marc Durdin's avatar
      fix(developer): touch layout font test should be lower case · 53e2ae0a
      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
      ```
      53e2ae0a
    • Marc Durdin's avatar
      chore(developer): unit test for compilerWarningsAsErrors · 31083c2e
      Marc Durdin authored
      Also adds inverse option -W, --no-compiler-warnings-as-errors
      command line parameter.
      31083c2e
    • Marc Durdin's avatar
      chore(developer): handle compilerWarningsAsErrors option · 80421514
      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.
      80421514
    • Marc Durdin's avatar
      chore(developer): add --color switch to kmc · 02a1c48d
      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.
      02a1c48d
  4. Jul 10, 2023
  5. Jul 07, 2023
  6. Jul 06, 2023