1. Apr 24, 2023
    • Marc Durdin's avatar
      feat(developer): use CompilerEvent for messages in all of kmc · cf4022ac
      Marc Durdin authored
      Cleans up majority of remaining kmc-* modules to use CompilerEvent
      messages instead of console.log and friends, adding
      InfrastructureMessages class for kmc CLI messages.
      
      Consolidates schema loading functions into a single `loadSchema`
      function in the CompilerCallbacks interface and implementations.
      
      Moves responsibility for instantiating NodeCompilerCallbacks out of
      each individual BuildActivity and into higher level modules.
      
      Fixes return value for failing builds.
      cf4022ac
  2. Apr 23, 2023
  3. Apr 21, 2023
    • Marc Durdin's avatar
      feat(developer): support FollowKeyboardVersion in kmc-package · 66a7a6fc
      Marc Durdin authored
      Fixes #7340.
      
      Removes the unused <Version> element from <LexicalModel> element in the
      .kps schema. (This needs to be copied to api.keyman.com also.)
      
      Updates compiler to check for <FollowKeyboardVersion> and read the
      version data from the .kmx in that case.
      
      Unit tests updated. Some of the fixtures were incorrect as they had
      <FollowKeyboardVersion> set for model-type packages or packages that
      contained no keyboards. Fixed.
      66a7a6fc
    • Marc Durdin's avatar
      feat(common): kmx file reader · 8ec69471
      Marc Durdin authored
      Read a .kmx file into memory in Typescript. Currently only reads stores
      from the file, as these are the most common things needed for other
      processes. Will add support for reading other metadata and rules in
      future when required.
      8ec69471
    • Marc Durdin's avatar
      chore(developer): add missing dependency · e30c513f
      Marc Durdin authored
      e30c513f
  4. Apr 20, 2023
  5. Apr 19, 2023