Commit Graph

840 Commits

Author SHA1 Message Date
Antony Male 5e97f9e1ea Merge branch 'release/1.3.6' 2021-02-28 11:40:31 +00:00
Antony Male d8627b57bd Update changelog 2021-02-28 11:40:12 +00:00
Antony Male fb40c3ff0c Rename StyletIocBootstrapper to StyletIocBootstrapperBase 2021-02-28 11:39:47 +00:00
Antony Male 8684dc067f await Tasks returned from Actions
Fixes #53
2021-02-19 08:47:20 +00:00
Antony Male e195d29c01 Allow actions to have an explicit target
Relates to #177
2021-02-19 08:47:19 +00:00
Antony Male 6e2bc6e36c Allow actions to invoke static methods
Fixes #177
2021-02-16 08:43:04 +00:00
Antony Male c82cdb9321 Report guards as best we can if the target does not implement INPC
Fixes #214
2021-02-15 08:56:25 +00:00
Antony Male 3101fcd99a Add pull request template 2021-02-14 12:04:53 +00:00
Antony Male 6f67844970 Bootstrappers: Make RootViewModel strongly typed 2021-02-14 11:22:28 +00:00
Antony Male acf78533eb Convert Bootstrappers to PackageReference 2021-02-13 23:15:46 +00:00
Antony Male 53393a35eb Add bootstrapper for Microsoft.Extensions.DependencyInjection 2021-02-13 23:13:02 +00:00
Antony Male 520fe7416d Stop AutofacBootstrapper fighting Fody
See #211
2021-02-13 22:46:06 +00:00
mwdpb d228af4ccc Add StyletIoCBootstrapper between Bootstrapper<T> and BootstrapperBase
This covers the case where there's no root ViewModel
2021-02-13 22:42:59 +00:00
Antony Male 8974f8ad36 Add issue templates and funding 2021-02-13 22:23:26 +00:00
Antony Male 454269b88e Expose SynchronousDispatcher
See #217
2021-02-13 21:40:41 +00:00
Antony Male 66d68aed3e Allow starting the bootstrapper without an Application
Relates to #206
2021-02-03 21:28:43 +00:00
Antony Male f1f79e8caf Add Stylet.Samples.NavigationController 2021-01-24 10:54:59 +00:00
Antony Male ef52b7ef12 Update MSBuild.SDK.Extras, and remove warning suppressions 2021-01-21 20:05:01 +00:00
codest c3d31d0ad3 fix Stylet.Samples.HelloDialog 2020-12-31 12:16:03 +00:00
Antony Male 6aa2ae5edc Don't include non-portable pdbs in snupkg 2020-11-28 13:27:49 +00:00
Antony Male 8fbad6721a Merge branch 'release/1.3.5' into develop 2020-11-28 13:15:08 +00:00
Antony Male b2db34a801 Merge branch 'release/1.3.5' 2020-11-28 13:14:23 +00:00
Antony Male 41cc8a3724 Update changelog 2020-11-28 13:13:32 +00:00
Antony Male 0f67371ac8 Make sure the sample bootstrappers handle MessageBoxView 2020-11-28 13:13:02 +00:00
Antony Male e56eadca21 Stylet.Templates: target .NET 5, and give an option to target .NET Core 3.1 2020-11-28 12:57:31 +00:00
Antony Male 26d905c6f0 Explicitly target net5.0-windows
Things worked when referenced from a net5.0-windows project anyway, but might as
well keep with the times
2020-11-28 12:18:14 +00:00
taks 60347965b9 Throw a better-worded AmbiguousMatchException from ActionBase 2020-10-22 21:35:53 +01:00
Antony Male 4ada75c4d8 Upgrade template to netcoreapp3.1 2020-10-22 21:35:53 +01:00
Antony Male 021e3ee51c Fix namespaces in Stylet.Templates. Again. 2020-10-21 20:53:43 +01:00
Antony Male 5db234f950 Move to snupkg for symbols, and ditch SourceLink 2020-09-19 23:12:49 +01:00
Antony Male 97c0a29c5d Merge branch 'release/1.3.4' into develop 2020-07-26 19:21:58 +01:00
Antony Male bd196af55d Merge branch 'release/1.3.4' 2020-07-26 19:21:43 +01:00
Antony Male eedf9360ca Update changelog 2020-07-26 19:21:20 +01:00
T.M 6bc5f646f1 ConductorBaseWithActiveItem sets new item as ActiveItem before activating it
Up to now, ScreenExtemsions.TryActivate(newItem) was called
before Conductor.ActiveItem was set to the new item. This commit moves
setting ActiveItem to before TryActivate(newItem) call. This allows for
nested activation - that is, a scenario where newItem can "intercept"
its activation and force parent Conductor to immediately activate
another item inside its OnActivate() override, effectively skipping
newItem without displaying it.

Fixes #140
2020-07-26 19:11:52 +01:00
Antony Male d4b4fc2ee5 Merge branch 'release/1.3.3' into develop 2020-06-20 12:14:02 +01:00
Antony Male a40a27fd14 Merge branch 'release/1.3.3' 2020-06-20 12:13:45 +01:00
Antony Male 763f8a6860 Update changelog 2020-06-20 12:13:31 +01:00
Antony Male f5b72703c2 Fix bug in EventAggregator
Publishing to multiple channels would only deliver messages to
subscribers subcribed to all of those channels, not any of them.

Fixes #127
2020-06-20 12:05:18 +01:00
Antony Male 529cd140ee Ensure that exceptions from ActiveItem are rethrown
Conductor<T>.Collections.OneActive has its ActiveItem set from a binding
in most cases. However, bindings swallow exceptions encountered when
setting the source. This means that the user switched to a new
ViewModel, and its OnActivate/OnInitialActivate method threw an
exception (or the OnDeactivate method of the ViewModel being switched
away from threw an exception), this exception would be swallowed by the
binding.

Work around this by introducing RethrowingBinding, which explicitly
rethrows any exceptions encountered when setting the source on the
dispatcher. Use this for the ActiveItem binding on
StyletConductorTabControl.

Fixes #133
2020-06-20 11:53:50 +01:00
Antony Male 9675bc5d9b Merge branch 'release/1.3.2' 2020-04-23 18:03:54 +01:00
Antony Male c6224952ec Merge branch 'release/1.3.2' into develop 2020-04-23 18:03:42 +01:00
Antony Male 3269d26804 Update changelog 2020-04-23 18:03:28 +01:00
Antony Male 9f7b596a5e Throw a better exception than an NRE if they forget to call builder.Bind(..).To(..)
Fixes #114
2020-04-23 17:58:28 +01:00
Antony Male bc068f8b27 Make namespace of StyletIoC unit tests consistent 2020-04-23 17:52:45 +01:00
Antony Male 9fefbf1687 Expose extra methods on IWindowManager
Fixes #113
2020-04-23 17:52:45 +01:00
Antony Male f946b8b9ac Support building abstract factories for two interfaces with the same name
Fixes #123
2020-04-23 17:52:45 +01:00
Antony Male 2b80db4db7 Fix default namespace in .NET Core project template
Fixes #79
2020-03-12 21:25:22 +00:00
Antony Male 57c2996568 Merge branch 'release/1.3.1' 2020-02-04 21:34:59 +00:00
Antony Male 1ef62f568d Merge branch 'release/1.3.1' into develop 2020-02-04 21:34:43 +00:00
Antony Male b1e05da0c0 Update changelog 2020-02-04 21:34:35 +00:00