pulsar/ObservatoryExplorer
Repository files (latest commit first)
Filename Latest commit message Latest commit date
F K 4f4ba88878
Add event-based LogMonitor state changes to better handle batch reads (#59)
* Add event-based LogMonitor state changes to better handle batch reads

Pre-reading hackily used read-all to suppress notifications. But that broke some assumptions about what read-all meant. Furthermore, the Core UI told plugins about read-all rather than the log monitor telling them -- which is really what should be telling them.

To address these concerns, LogMonitor now provides an event that both the PluginCore and PluginEventHandler listens to or tracking logging state allowing more granular information about the activities of LogMonitor, including distinguishing between ReadAll and Pre-read batches. Plugins no longer need to track if LogMonitor is in batch-read mode or not -- PluginCore now provides it. 

I've also converted all built-in plugins to use the new event-based system. The old system is marked deprecated and will go away once other known contributed plugins have converted to the new system.

* Change LogMonitorState enum to [Flags], drop 'None' state

As requested, and did associated simplifications and cleanup that followed.
2022-03-03 16:39:49 -03:30
..
CriteriaLoadException.cs Reorganize all observatory core projects into monorepo (#25) 2021-10-21 19:31:32 -02:30
CustomCriteriaManager.cs handle nil values in lua iterators 2021-12-18 13:23:05 -03:30
DefaultCriteria.cs Revert "Close Ring Proximity criteria: Prevent it from triggering on a belt (#56)" (#58) 2022-02-26 20:10:29 -03:30
Explorer.cs Suppress body ordinal in results for system-wide checks 2021-11-22 11:18:33 -03:30
ExplorerSettings.cs Removing "multiple criteria" setting 2021-11-22 11:20:14 -03:30
ExplorerUIResults.cs Reorganize all observatory core projects into monorepo (#25) 2021-10-21 19:31:32 -02:30
ObservatoryExplorer.csproj more streamlining of linux build process 2021-10-27 22:37:37 -02:30
ObservatoryExplorer.sln Reorganize all observatory core projects into monorepo (#25) 2021-10-21 19:31:32 -02:30
Worker.cs Add event-based LogMonitor state changes to better handle batch reads (#59) 2022-03-03 16:39:49 -03:30