Commit Graph

678 Commits

Author SHA1 Message Date
Antony Male 6cd4546a80 Deprecate CanClose
There's no nice way to make it work alongside CanCloseAsync when you're
in a conductor hierarchy. There will always be difference between how
CanClose and CanCloseAsync behave when there are children which need
to be interrogated as well, and that's confusing.
2016-08-26 11:44:34 +01:00
Antony Male 35c1b3320f Fix the ValidatingModelBase, in the face of WPF asking for model-wide errors
Fixes #11
2016-08-26 11:27:37 +01:00
Antony Male b6b9811ab0 Conductors, which override CanCloseAsync, must call CanClose
Otherwise subclasses which override CanClose but not CanCloseAsync won't
work as expected.

Fixes #10
2016-07-09 12:50:51 +01:00
Antony Male 3286bf087e Fix up the Bootstrappers project 2016-07-09 12:21:02 +01:00
Antony Male 10c8fa4f3a Move to automatic nuget package restore 2016-07-09 12:15:32 +01:00
Antony Male b48487635c SetAndNotify returns a value indicating whether it raised a notification 2016-05-12 09:16:21 +01:00
Matthias Cavigelli ef42d147cb Fixed link to caliburn micro project 2016-05-10 22:04:31 +02:00
Antony Male 314a846701 Merge branch 'release/1.1.15' into develop 2016-04-05 12:32:22 +01:00
Antony Male a46c114686 Update changelog 2016-04-05 12:31:56 +01:00
Antony Male dfeda45ca5 Merge branch 'feature/stylet-start' into develop 2016-04-05 12:30:51 +01:00
Antony Male fbbee51aef Recreate App.xaml if NuGet removed it 2016-04-05 10:26:00 +01:00
Antony Male 623dcd6aca Handle MainWindow which isn't a Window (??), and nonexistent MainWindow.xaml.cs 2016-04-05 09:13:12 +01:00
Antony Male cb51322927 Be smarter about upgrading ShellView attributes 2016-04-04 17:16:32 +01:00
Antony Male 52aa536a2a Make printed messages clearer 2016-04-04 14:49:59 +01:00
Antony Male 6c70824d1a Remove content, move nuspec to tools 2016-04-04 14:48:17 +01:00
Antony Male a03803658c Use powershell, and powershell only, for Stylet.Start
NuGet's 'content' approach broke horribly when we tried to upgrade:
it removed App.xaml.cs.

Using powershell through and through is more powerful: we can have a
package which immediately uninstalls itself, which means it doesn't
remain part of the user's package set. We can also be smarter about
upgrading the project: we don't nuke anything that's in App.xaml, we
don't need the user to manually delete MainWindow.xaml, and we can keep
anything that's currently in MainWindow.xaml
2016-04-04 14:48:16 +01:00
Antony Male 16a61db659 Rewrite parts of the EventAggregator to avoid reentrancy issues 2016-03-24 10:21:49 +00:00
Antony Male f040533dbd Merge branch 'release/1.1.14' into develop
* release/1.1.14:
  Update changelog
2016-03-22 18:43:16 +00:00
Antony Male 5b94122832 Update changelog 2016-03-22 18:42:44 +00:00
Antony Male ffac9b6016 Fix bug in ViewManager when searching multiple assemblies
Also helpfully search the same assembly as the ViewModel was in
2016-03-22 18:40:50 +00:00
Antony Male 235504941f Throw (by default) if ToAllImplementations does not find any implementations
This will happen if someone takes a concrete class (with no subclasses), uses
ToAllImplementations on it (and InSingletonScope), and wonders why the singleton
registration didn't 'take': the ToAllImplementations didn't create any bindings,
so we fell back to auto-binding the type
2016-03-02 17:15:22 +00:00
Antony Male fc869b642a Fix typo in DesignMode sample 2016-02-26 14:35:37 +00:00
Antony Male 069753b696 Fix DesignMode sample 2016-02-26 14:32:08 +00:00
Antony Male 1b6adeefb8 Merge branch 'release/1.1.13' into develop 2016-02-02 09:15:28 +00:00
Antony Male 5ec221a13e Update changelog 2016-02-02 09:15:12 +00:00
Antony Male b9d1487e91 Fix access modifier on BootstrapperBase.Launch 2016-02-02 08:24:31 +00:00
Antony Male 78e7da40b4 Don't crash if Imaging.CreateBitmapSourceFromHIcon fails 2016-01-30 14:22:23 +00:00
Antony Male de14009358 Merge branch 'release/1.1.12' into develop 2016-01-29 12:51:30 +00:00
Antony Male 59d797522c Update changelog 2016-01-29 12:50:52 +00:00
Antony Male a5b10f1170 Take version to 0.0.0: AppVeyor bumps it on build 2016-01-29 12:49:31 +00:00
Antony Male 86896e97e5 Change the ViewManager to take a ViewManagerConfig configuration object
This means it possible for users to provide their own ViewManagers, without
having to use a .ToInstance() binding.
2016-01-29 12:47:16 +00:00
Antony Male 9ae20807e6 Fix the samples - they weren't building 2016-01-29 12:46:44 +00:00
Antony Male e0c7edd27a Rework slightly how the root VM is launched, to avoid it being created only to be disposed 2016-01-27 12:30:26 +00:00
Antony Male 7c6e148a17 Improve GetHashCode and Equals in LabelledValue<T> slightly 2016-01-27 11:33:05 +00:00
Antony Male 63f79b8f15 Add a 'Documentation' section again 2016-01-19 16:16:32 +00:00
Antony Male 3f7d3ec940 Fix cover report generation 2016-01-19 11:15:35 +00:00
Antony Male 5d752f1fa9 Dispose the RootViewModel when Bootstrapper disposed
The Bootstrapper owns the RootViewModel, so this is the right thing
to do
2016-01-08 11:47:37 +00:00
Antony Male 97c841178f Merge branch 'release/1.1.11' into develop
* release/1.1.11:
  Bump version
  Update changelog
2016-01-06 21:23:17 +00:00
Antony Male 650a3ed792 Bump version 2016-01-06 21:22:48 +00:00
Antony Male 55fbe5d811 Update changelog 2016-01-06 21:22:35 +00:00
Antony Male 3a6e82557a Allow initial activate after a close 2016-01-06 21:22:01 +00:00
Antony Male c3d5cbcbe4 Merge branch 'release/1.1.10' into develop
* release/1.1.10:
  Bump version
  Update changelog
2016-01-06 21:21:40 +00:00
Antony Male 3e4f4b1999 Bump version 2015-12-22 10:34:17 +00:00
Antony Male 5a3c912e2a Update changelog 2015-12-22 10:34:11 +00:00
Antony Male 10c1131bd8 Oops, fix up Stylet.Start 2015-12-22 10:30:07 +00:00
Antony Male 2e7b8f927c Merge branch 'release/1.1.9' into develop 2015-12-22 10:16:35 +00:00
Antony Male 1d7342feee Bump version 2015-12-22 10:16:27 +00:00
Antony Male 5b354ce089 Update changelog 2015-12-22 10:16:14 +00:00
Antony Male 06eedc101f Create a Stylet.Start NuGet package 2015-12-22 10:11:20 +00:00
Antony Male b320514d29 Don't add StyletReadme to the project, but display in the nuget-supported fashion 2015-12-21 17:06:55 +00:00