Antony Male
a480c484e7
Update changelog
2016-12-03 13:22:32 +00:00
Antony Male
151371f9f6
Conductor.OneActive should close children removed with items.Clear()
...
Conductor.AllActive reacts appropriately to the Reset event on its items
collection. Conductor.OneActive doesn't, and should.
Fixes #18
2016-12-03 13:15:14 +00:00
Antony Male
f100a130d8
Merge branch 'release/1.1.18' into develop
2016-11-25 17:21:52 +00:00
Antony Male
7403f0235a
Update changelog
2016-11-25 17:21:32 +00:00
Antony Male
f2a61493e3
Add a method to ValidatingModelBase allowing someone to clear all errors
...
Relates to #17
2016-11-25 17:12:43 +00:00
Antony Male
9e9514a795
Ensure that other IoC containers don't dispose things multiple times
...
Fixes #16
2016-11-25 17:05:06 +00:00
Antony Male
3fd89871b3
Conductor: copy items before calling into them
...
As a result of being activated/deactivated/closed, a child of a conductor
might do something which results in the conductor changing its items
collection. Therefore make sure that this collection is copied before
calling into the children while iterating.
Fixes #13
2016-11-17 20:44:39 +00:00
Antony Male
eedd886e3e
Remove usage of expression-based NotifyOfPropertyChange in library code
...
Using a string is faster. When I (finally) bring this project up to C# 6, I'll move to nameof
2016-11-17 13:03:12 +00:00
Antony Male
97567f9cc2
If a Screen is deactivated from closed, make sure it's activated again
...
Relates to #14
2016-11-17 12:50:08 +00:00
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