313 Commits

Author SHA1 Message Date
Dan Siegel 7952acda84 Update Prism Uno to Uno 7 SDK and compatible packages 2026-10-19 09:37:19 -06:00
Dan Siegel b415719253 Fix MAUI test references and XAML items across targets 2026-10-15 14:26:37 -06:00
Dan Siegel 9f16fd123c Fix optional Windows window resolution during toolbar image updates 2026-10-15 14:03:35 -06:00
Dan Siegel 65530d2237 Merge pull request #3446 from PrismLibrary/fix/lifetime-retained-roots
Fix retained lifetimes and expand collection coverage
2026-10-14 09:02:27 -07:00
Dan Siegel bf36a4d339 fix: handle reentrant lifetime callbacks and isolate test state 2026-10-14 07:27:12 -06:00
Dan Siegel 9a87cab71e test: model nullable state in module lifetime loader 2026-10-14 07:06:44 -06:00
Dan Siegel 11aad2b6e4 Merge pull request #3444 from PrismLibrary/refactor/avalonia-wpf-source-sharing
Share Avalonia bootstrapper and property contracts with WPF
2026-10-14 05:53:25 -07:00
Dan Siegel e83e379a30 test: expand lifetime coverage across core and MAUI
Carry over weak/strong subscription, queued delivery, composite/async command, journal payload and static factory controls. Keep existing observer regressions once, exercise MAUI scoped teardown through a retained mock root, and serialize dispatcher-sensitive tests with the existing lifecycle collection. Retain current-master DefaultView coverage without duplicating it.

Validation: Core net10 355 passed; MAUI managed net10 356 passed; WPF net472 491 passed; Avalonia net10 435 passed and 41 existing skips; Uno desktop/headless suite 451 passed with existing duplicate API-inventory IDs. No new skips or KnownRetention exclusions. Native/device/real-container paths remain unqualified. Production fix scope is unchanged.
2026-10-14 06:39:14 -06:00
Dan Siegel 35b30f465b fix: release retained observer, region and module lifetimes
Clear detached observer sources and ignore callbacks already captured before detachment. Untrack delayed region behaviors even when the weak host has died, using a shared tracker lock. Detach module-loader subscriptions before disposing loaders, make disposal idempotent, ignore late callbacks, and reject new work after disposal.

Validation: Core net10 342 passed; WPF net472 targeted lifecycle suites 43 passed; Avalonia net10 40 passed with 3 pre-existing skips. All 23 new lifetime cases passed across those hosts. Uno managed net10 library builds. Baseline failing regressions are preserved in the preceding test commit. No device or native Uno UI qualification.
2026-10-14 06:21:55 -06:00
Dan Siegel a78384d5fb test: reproduce retained observer and desktop lifetimes
Unchanged master: observer fixture has 2 collection failures and 2 passing controls; WPF lifetime fixtures have 5 failures and 4 passing controls. Covers abandoned tracker, disposed-manager collection, loader replacement, disposal order, late callbacks and nested observer recreation.

# Conflicts:
#	tests/Avalonia/Prism.Avalonia.Tests/Prism.Avalonia.Tests.csproj
#	tests/Wpf/Prism.Wpf.Tests/Prism.Wpf.Tests.csproj
2026-10-14 06:21:55 -06:00
Dan Siegel 60f8ec8c9a Merge pull request #3442 from PrismLibrary/ds/default-view-lifecycle-3246
Add host-local DefaultView population and lifecycle coverage
2026-10-14 05:06:42 -07:00
Dan Siegel 53233e6183 refactor(avalonia): share observable and region metadata source 2026-10-13 17:14:33 +00:00
Dan Siegel cd4d881160 refactor(avalonia): link shared bootstrapper and dialog contracts 2026-10-13 17:13:28 +00:00
Dan Siegel cacd165e5e Support repeated UsePrism and library ConfigurePrism (#3274) 2026-10-12 14:35:39 -06:00
Dan Siegel b5716edb57 Fix nullability in shared default-view lifecycle tests 2026-10-12 10:47:56 -06:00
Dan Siegel 9288aafaa4 Run default view lifecycle tests on the Uno desktop runtime 2026-10-11 20:47:10 -06:00
Dan Siegel fb9800f736 Tighten default view identity and document lifecycle validation 2026-10-11 20:31:50 -06:00
Dan Siegel 741c227043 Spike host-local DefaultView population and lifecycle tests 2026-10-11 20:31:50 -06:00
Dan Siegel 17dd42479c Prepare inherited binding metadata and NativeAOT playground checks
Mark BindableBase for inherited discovery and extend the existing MAUI and Uno playgrounds with synthetic nested-model, collection and navigation checks. Keep explicit local NativeAOT validation on the real Microsoft container with matching package versions. No new projects or CI changes; native execution remains unverified.
2026-10-07 15:28:12 -07:00
Dan Siegel 8014e4f165 Clarify cancellation token factory parameter name
Rename the parameter and XML documentation to cancellationTokenFactory on both async command types. Exercise the named argument in the existing factory tests.
2026-10-07 08:59:32 -07:00
Dan Siegel 2d06b830c0 Rename async command cancellation token factory
Rename the token-returning factory on both async command types for Prism 10 and cover fluent configuration, lazy factory invocation, explicit token precedence, and interface execution.

Fixes #3251.
2026-10-07 07:57:32 -07:00
Dan Siegel 10eb8ed4d2 Consume qualified Containers 10.0.82 and bound module-test cleanup 2026-10-05 21:31:56 -07:00
Dan Siegel d961a6dc14 Preserve active async command state on suppressed execution (#3434) 2026-10-05 08:36:23 -07:00
Dan Siegel e867a3280b Add async command execution-state regression coverage (#3434) 2026-10-05 08:34:39 -07:00
Dan Siegel cefa89536a Merge pull request #3431 from PrismLibrary/ds/uno-xaml-namespaces
Add canonical and global Prism XAML namespaces for Uno
2026-10-04 18:55:33 -07:00
Dan Siegel 62c207d351 Configure Uno namespace tests as a single-project app 2026-10-04 16:17:34 -07:00
Dan Siegel b389253dcd Keep Uno global namespace aggregation in application heads 2026-10-04 15:54:28 -07:00
Dan Siegel f5d6f80e62 Support MAUI global XAML namespaces with an MSBuild opt-out (#3433)
* Enable consumer-side MAUI global XAML aggregation

* Verify global namespace collision disambiguation and document opt-out

* Add packed MAUI XAML consumer regressions for global namespaces and opt-out

* Avoid MAUI TabbedPage collision and isolate consumer package restores

* Keep MAUI namespace coverage in existing tests and demo

* Remove root README additions from MAUI namespace PR
2026-10-04 14:49:18 -07:00
Dan Siegel 6d45fc20ba Compile Uno namespace coverage in existing tests 2026-10-04 15:45:07 -06:00
Dan Siegel addd88292b Validate namespace mappings in external Uno consumers 2026-10-04 14:43:16 -06:00
Dan Siegel 0507b85512 Allow Uno consumers to disable global XAML mappings 2026-10-04 14:24:20 -06:00
Dan Siegel 7cfe491591 Align nullable parameter and dialog contracts 2026-10-04 14:16:41 -06:00
Dan Siegel 9809ca571d Remove legacy URI rejection fixtures from Uno 2026-10-04 13:48:57 -06:00
Dan Siegel f9afec2c1e Simplify Uno namespace registrations and documentation 2026-10-04 13:07:23 -06:00
Dan Siegel c7594f5aa2 Resolve convention ViewModels from preserved container metadata 2026-10-04 12:55:53 -06:00
Dan Siegel 9cb045cec3 Preserve parameter and ViewModel metadata and compile region bindings 2026-10-04 12:55:53 -06:00
Dan Siegel f4042f4982 Document and verify Uno implicit namespace opt-out behavior 2026-10-04 12:40:09 -06:00
Dan Siegel 5d5c0f05c1 Add canonical and global Prism XAML namespaces for Uno 2026-10-04 12:36:07 -06:00
Dan Siegel 6f216cef27 Stop nested tab container paths at their scoped selection 2026-10-04 11:35:41 -06:00
Dan Siegel 2edcd01741 Expand navigation path coverage and fix nested container traversal 2026-10-04 11:17:49 -06:00
Dan Siegel b856234cd1 Expose navigation URI paths directly on INavigationService 2026-10-04 10:47:47 -06:00
Dan Siegel 7d2dac9b37 Restore scoped MAUI navigation URI paths (#3092) 2026-10-04 10:03:05 -06:00
Dan Siegel 2f0fc09b93 Merge pull request #3426 from PrismLibrary/ds/fix-wpf-ci-signatures
Fix WPF CI discovery for signed .NET Framework assemblies
2026-10-03 21:01:28 -07:00
Dan Siegel 2fe0d139a8 Fix signed WPF test discovery under CI coverage collection 2026-10-03 21:41:17 -06:00
Dan Siegel 300213669e Use collectible assembly load contexts for directory module discovery 2026-10-03 20:18:20 -07:00
Dan Siegel ea6594600f Support relative navigation across modal stacks 2026-10-03 18:41:56 -07:00
Dan Siegel 4b288395b3 Preserve concurrent navigation during named-source recovery 2026-10-03 15:35:08 -07:00
Dan Siegel 022cb2b1a2 Add retained-source NavigateFromAsync navigation (#3118) 2026-10-03 14:51:39 -07:00
Dan Siegel 268538a3f8 Preserve dialog state until native removal succeeds 2026-10-03 12:01:34 -07:00
Dan Siegel 453ce4faad Fix dialog close ownership and lifecycle races 2026-10-03 11:40:06 -07:00