Repository navigation
Prepare WPF Framework v1.0.5 release - #34
Merged
Merged
Conversation
Remove the stubbed response and consequence function elements, the orphaned undo and theme demo controls, and the unused generic element document/properties controls. The demo now focuses on a single fully implemented hazard function element.
Set the assembly title, product name, and version to WPF Framework Demo 1.0.0 so the framework shell reports the correct software name. Generate a multi-resolution application icon from the USACE castle logo, use it as the project image, and standardize the project file extension on .demo.
…demo Implement full project and element persistence following the parametric hazard function conventions: a Project table with additive column migration, a Hazard Functions table keyed by element name, G17 invariant formatting for doubles, pipe-delimited probability ordinates, the parent distribution as XML, and the bootstrap results as a compressed BLOB so parameter sets survive reopening. Move ownership of the frequency plot from the view to the hazard element so plot styling can be recorded for undo and persisted with the element. Port the PlotUndoManager, AggregateDisposable, and CollectionPersistenceHelper support classes, wire ordinate and plot undo bridges through SetupBridges, and refactor HazardControl to host the element-owned plot in a ContentControl with series looked up by name so user styling survives Save/Open. Also fix latent bugs: NameOnDisk, CreationDate, and LastModified were get-only auto-property overrides that never read the base backing fields, project name validation could never become valid, and the control's plot click handlers were never wired in XAML.
Replace the raster hazard PNG with a theme-aware 16x16 DrawingImage in a new demo icon dictionary, following the frequency-curve motif of the RMC-TotalRisk parametric hazard icon: plot axes, an ascending confidence band, and an accent diamond node marker. The element exposes ElementImageResourceKey so the project explorer re-resolves the icon on theme changes, and the New Hazard Element menu items bind their icons with SetResourceReference for the same reason. Also harden the element's Open path so scalar values that fail to parse leave the element defaults in place instead of zeroing them.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Prepare WPF Framework v1.0.5 with exception-safe SQLite connection ownership, compaction that remains active until its worker finishes, and immediate tab-caption refresh after rename undo/redo. Include the six existing hazard-function demo commits and coordinated Core, Models, Support and Controls package metadata.
Changes
Public APIs, SQLite provider/settings, Numerics dependency policy, database schemas and scientific behavior remain unchanged. The original intermittent database lock was not reproduced end to end; the connection-lifetime and compaction defects are independently demonstrated by regression tests.
Validation
v1.0.5resolves to merge commit05acb1e258730b0d1c3917f98df00fb5a83a262c. Release run 37693105011, attempt 1, passed; artifact ID 11514446974 was validated downstream without rebuilding.No optimizer, MCMC or broad numerical verification run was needed for this persistence change. Publication and fresh public-NuGet signature/payload validation remain separate final steps; the release is still a draft.