Repository navigation
v2.0.0
Major modernization of the codebase, bringing the application from .NET Framework to .NET 10 with extensive code and UI improvements.
Added
- Light/dark theme support with restart-to-apply behaviour
- High-DPI support with configurable DPI mode setting:
- Per-Monitor - Each monitor uses its own DPI scale; the application rescales when moved between monitors
- System - Uses the DPI of the primary monitor for all displays
- Disabled - No DPI scaling applied
- Option to hide the help text panel
- Dynamic listbox widths and aligned Settings dropdowns
- Unicode toolbar buttons
Changed
- Retargeted from .NET Framework 4.0 to .NET 10 (
net10.0-windows) - Migrated all 3 projects (~31,000 LOC) from classic
.csprojto SDK-style format - All forms switched to
AutoScaleMode.Dpiwith 96 DPI baseline for consistent scaling - Modern fonts: Segoe UI, Consolas, and Segoe UI Symbol
- Theme-aware system colors replacing hardcoded colour values
- C# records for data classes (
CellIdVobId,DemuxResult,EncodeMatch,CreateSubOptions,PartOfTitle) BinaryPrimitivesfor big-endian binary reads/writes, replacing manual bit shiftingSpan<T>and managed arrays replacingunsafepointer code- Task-based
ReadAsyncreplacing APMBeginRead/EndRead usingdeclarations andDispose()replacing manualClose()/try-finally- File-scoped namespaces and collection expressions
FrozenDictionaryfor static lookup tablesSortedSetreplacingSortedDictionarywith null values- Global usings to reduce per-file boilerplate
- Switch expressions, pattern matching, string interpolation, null-conditional event invocation
Removed
- Legacy ClickOnce and bootstrapper properties
- Visual Studio installer project
GC.Collect()calls and OOM-retry allocation patterns- Dead code and unused project files
- OcrMap seed build steps that required a local
OcrMap.binfile to build from source
Fixed
- Various layout fixes and control anchoring improvements