GenWND v2.6.0 - Core Stability
GenWND v2.6.0 - Core Stability & Validation Update
✨ Added
- Element Naming Constraints: Implemented strict validation for window element names. The editor now ensures all element names begin with the root filename, are under 64 characters in length, and remain absolutely unique across the entire WND structure.
- Hierarchy Export Tool: Added a new intenal tool to export the WND hierarchy, complete with robust CLI error handling for external integrations.
🐛 Fixed
- Cross-File Undo Stack Bleed (Critical): Fixed a severe state-sync issue where the
QUndoStackpersisted between files. Loading a new.wndfile now cleanly flushes the stack, preventing accidental data corruption from previous sessions. - Invalid USER Control Defaults: Corrected the default creation factory for
USERcontrols. TheSTATUSandSTYLEtypes are now correctly generated, preventing invalid "char-joined" outputs in the raw data. - Missing SCROLLLISTBOX Properties: Fixed the internal data schema to explicitly include the
SCROLLIFATENDattribute withinLISTBOXDATAand ensuring its presence when working withSCROLLLISTBOXelements. - Empty Template Pollution: Fixed a parser/writer bug where an empty
HEADERTEMPLATEwould be unnecessarily included in the final file output.
♻️ Changed
- Enhanced Data Validation: Upgraded the internal error handling mechanisms, specifically adding stronger validation checks for font assignments and bounding rectangle dimensions to prevent silent failures.