Antony Male
5a5cfc5cfb
Fix ConductorOneActive to not deactivate activate item twice when closing
...
It closed each of its children individually, then cleared 'this.items',
which caused of all its children to be deactivated again,.
Fixes #14
2016-11-17 12:50:08 +00:00
Antony Male
135d6cb0af
Merge branch 'release/1.1.17' into develop
...
* release/1.1.17:
Update changelog
2016-11-13 17:17:09 +00:00
Antony Male
35a68b3fde
Update changelog
2016-11-13 17:16:39 +00:00
Antony Male
ffb218d666
Add default FlowDirection and TextAlignment to MessageBoxViweModel
...
This removes the MessageBoxOptions input to MessageBoxViewModel, and
replaces it with explicit FlowDirection and TextAlignment inputs.
I think this is fair enough - we weren't using most of the members
of MessageBoxOptions, so allowing them to be provided was misleading.
Fixes #12
2016-11-12 11:35:58 +00:00
Antony Male
6dd8c072c1
StyletIoC: Detect basic copy constructors, and don't attempt to call them
...
This doesn't do full recursion detection, but catches the simple case of
copy constructors.
2016-10-09 11:30:11 +01:00
Antony Male
e538bbbd8f
Dispose Instance bindings by default, but allow this to be configured
2016-09-23 11:20:55 +01:00
Antony Male
bc29dda5b7
Merge branch 'release/1.1.16' into develop
2016-08-26 11:48:34 +01:00
Antony Male
b92b9943f6
Update CHANGELOG
2016-08-26 11:46:48 +01:00
Antony Male
8ea889d749
Add ValidatingModelBase.RecordPropertyError
...
This can be used to manually change the state of properties, without using
the IModelValidator stuff. This handles more niche use-cases which don't
fit the pattern established by the IModelValidator.
2016-08-26 11:44:39 +01:00
Antony Male
4532a9859d
Properly use try/finally for releasing locks in ValidatingModelBase
2016-08-26 11:44:38 +01:00
Antony Male
7da6f8a363
Make ValidatingModelBase.HasErrors virtual
...
It really should have been....
2016-08-26 11:44:37 +01:00
Antony Male
3916c825ae
Deprecate Screen.State, in favour of Screen.ScreenState
...
It's confusing to have a property called 'State'
2016-08-26 11:44:35 +01:00
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