Skip to content

fix: Various fixes - #32

Draft
MrBisquit wants to merge 32 commits into
Project-Axion:masterfrom
MrBisquit:fix/various-things
Draft

MrBisquit wants to merge 32 commits into
Project-Axion:masterfrom
MrBisquit:fix/various-things

Conversation

@MrBisquit

@MrBisquit MrBisquit commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

This PR fixes various things:

  • Plugin system
    • Implement dependency injection (everything is a service)
    • Fix unloading (should sort itself with the previous task)
  • CodeQL fixes
    • Fix Path.Combine potentially ignoring all previous arguments when encountering an absolute path (CodeQL)
    • Fix generic catch clauses (CodeQL)
    • Using Where (optimisation) (CodeQL)
    • Using Select (optimisation) (CodeQL)
    • Using TryGetValue (optimisation) (CodeQL)
    • Prevent loss of precision (CodeQL)
    • Using ternary (optimisation) (CodeQL)
    • Using readonly (CodeQL) - can probably be fixed with dotnet format
    • Fix static fields being modified by instance method (CodeQL)
  • Documention
  • Make the majority of tasks cancellable (with CancellationToken and catching OperationCancelled exceptions)
  • Better error handling (carries on from previous task)
  • File locking when writing to prevent potential future race condition
  • Concurrency
    • Multi-threading support
    • ConcurrentQueues for tasks
    • Locking/unlocking certain things when in use, i.e. data that is being modified should be read-only to everything else until the operation has completed or has been cancelled
    • Task timeouts (ties into the cancellable tasks part above)
  • Internal messaging (event system)
  • Internal/plugin command system (e.g. an external command can execute on a loaded plugin, plugins can register these commands)
  • Better exceptions
  • Better events
  • Improve core
    • Move things such as static classes to classes based on interfaces so they become services
    • Make everything a service
    • The core should only provide functionality not types
  • Make the UI system a service
    • A plugin must request the service, and then register its windows
  • Translation service (localisation)
  • Better logging
    • Error dialog with exception, and trace information

@MrBisquit MrBisquit added this to the OpenPuppet 1.0.0 milestone Nov 17, 2026
@MrBisquit MrBisquit self-assigned this Nov 17, 2026
@MrBisquit MrBisquit added documentation Improvements or additions to documentation run-ci Run tests area/plugins This issue/PR is about the plugins area labels Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/plugins This issue/PR is about the plugins area documentation Improvements or additions to documentation run-ci Run tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant