1. Nov 14, 2023
    • Marc Durdin's avatar
      chore(developer): handle project version checks cleanly in kmc · 65b7b20d
      Marc Durdin authored
      Relates to #9948.
      
      While the schema validation does check the version already, it gives a
      fairly obtuse message, and we can do better.
      
      Found a secondary issue with a iterator type guard needed in
      kpj-file-reader when preparing unit test, which was probably masked in
      other tests by not verifying all messages generated, so updated all
      infrastructure message tests to verify the full set of messages
      generated.
      65b7b20d
    • Marc Durdin's avatar
      chore(developer): show only source path files in project views · 4fe5df1e
      Marc Durdin authored
      Relates to #9948.
      
      For v2.0 projects, only show .kmn, .kps, .model.ts, .tsv, and .xml files
      if they are source files within Options.SourcePath.
      4fe5df1e
  2. Nov 13, 2023
    • Marc Durdin's avatar
      feat(developer): handle errors loading projects · 53b57939
      Marc Durdin authored
      Relates to #9948.
      
      Prevents loading of projects other than v1.0, v2.0, and also handles
      error cases when attempting to load projects.
      53b57939
    • Marc Durdin's avatar
      chore(developer): manage SourcePath in project upgrade · c488460c
      Marc Durdin authored
      Relates to #9948.
      
      When upgrading a project to v2.0, it is important that all source files
      are in the same folder. This change makes the upgrade process verify
      that this is the case and blocks the upgrade if there are source files
      in multiple folders.
      
      Source files are .kmn, .xml (ldml keyboard), .kps, and .model.ts.
      c488460c
  3. Nov 12, 2023
    • Marc Durdin's avatar
      chore(developer): only build source files · d39af4ed
      Marc Durdin authored
      For batch builds (e.g. project/compile all) of v2.0 projects, we only
      want to build files that are listed in the project's $SOURCEPATH, so
      that the project can contain extra folders with source file types that
      won't break a project-level build.
      
      Any source file types in extra folders can still be built one-by-one,
      which is helpful for investigation and test for keyboard authors, but
      will not be built if project build is selected.
      
      This commit also formalizes the source/ SourcePath for upgraded projects
      which contain a source/ folder. If the project to be upgraded does not
      contain the source/ folder, then no SourcePath is assigned, and any
      source file in any folder will be built.
      d39af4ed
    • Marc Durdin's avatar
      f9272aac
  4. Nov 08, 2023
  5. Nov 07, 2023
  6. Nov 02, 2023