What's New
1. Console String Formatting Improvements
- Introduced UTF-8 buffer-based formatting using
Utf8.TryWriteandEncoding.UTF8for debug messages and file names inProgram.cs. - Added a shared
debugBufferfor efficient string construction and output. - Implemented helper methods for formatted console output and buffer pooling.
2. Debug Image Saving Refactor
- Refactored debug image saving logic to use UTF-8 buffers for filename formatting, improving performance and consistency.
- Enhanced exception handling for image saving; now outputs errors via the new buffer-based method.
3. Cleanup and Comments
- Removed or condensed outdated comments and unused code, particularly in platform-specific sections.
- Cleaned up redundant comments and dead code related to fading and transition logic.
4. Platform Abstraction Cleanliness
- Simplified placeholder implementations for Linux and macOS screen capture (no new functionality added).
- Maintained fallback monitors and test patterns for non-Windows platforms with reduced code clutter.
5. Minor Logic and Readability Tweaks
- Improved logic clarity in fading and color transition code.
- Consolidated and simplified transition handling in
CPUImageProcessorfor better maintainability.
What's Changed
- 1.4.0 by @ModMaker101 in #3
Full Changelog: v1.3.0...v1.4.0