Antony Male
ee88316479
Move CreateViewForModel and BindViewToModel onto IViewManager
2015-01-14 20:27:01 +00:00
Antony Male
b4b24441aa
Rename TryClose to RequestClose, and put in IRequestClose
2015-01-14 20:25:01 +00:00
Antony Male
be88aed936
Merge branch 'release/1.0.6' into develop
2015-01-14 15:28:38 +00:00
Antony Male
395d0c9d76
Bump version
2015-01-14 15:28:09 +00:00
Antony Male
627b62d599
Update changelog
2015-01-14 15:28:08 +00:00
Antony Male
06b1d6f632
Improve coverage
2015-01-14 15:27:57 +00:00
Antony Male
66e6f9a925
Squash 'unused' warning in unit tests
2015-01-14 15:10:59 +00:00
Antony Male
9bdf9d15b3
Align style with ReSharper
2015-01-14 15:08:43 +00:00
Antony Male
c777d295af
ActionExtension: Handle attached events
2015-01-14 13:39:09 +00:00
Antony Male
f7a7654984
Merge branch 'release/1.0.5' into develop
2015-01-14 12:25:06 +00:00
Antony Male
79ba687fca
Bump version
2015-01-14 12:24:33 +00:00
Antony Male
69482188b4
Update changelog
2015-01-14 12:23:50 +00:00
Antony Male
5e40db124d
Update bootstrappers to dispose their containers
2015-01-14 12:23:43 +00:00
Antony Male
e119386335
Make ReSharper happy
2015-01-14 12:16:11 +00:00
Antony Male
185c49ad3d
Improve bootstapper's container disposing
2015-01-14 10:21:04 +00:00
Antony Male
a3d15cd958
Unwrap TargetInvocationException for EventAction
2015-01-14 10:10:49 +00:00
Antony Male
49f851e384
Accent any (reasonable) event signature for EventAction, not just RoutedEventHandler
2015-01-14 09:59:36 +00:00
Antony Male
68a60b0aee
CommandAction unwraps TargetInvocationException, preserving stack trace
2015-01-14 08:30:08 +00:00
Antony Male
407a646fdc
Dispose the container on exit
2015-01-12 13:15:10 +00:00
Antony Male
0b8c22fc08
Fix Resharper warnings, and downgrade unnecessary ones to Hint
2015-01-12 10:24:26 +00:00
Antony Male
fd69a61ed5
Add workaround to error showing dialog when main window closed
2015-01-10 17:13:59 +00:00
Antony Male
9e9355ffe0
Add StyleCop support
...
Most of the violations were documentation changes
2015-01-10 14:22:28 +00:00
Antony Male
487c288bd3
Stop View from being instantiated
2015-01-09 11:08:00 +00:00
Antony Male
6311176648
Avoid access exception when updating CanExecuteChanged from a non-UI thread
2015-01-07 21:24:28 +00:00
Antony Male
611474c014
Catch exception when application closed
2015-01-07 20:58:12 +00:00
Antony Male
c9d6fd0bb3
Make Bootstrapper.Container a property
2015-01-07 20:22:56 +00:00
Antony Male
234cc60933
Merge branch 'release/1.0.4' into develop
2015-01-07 12:50:12 +00:00
Antony Male
7081b08d5d
Bump version
2015-01-07 12:47:11 +00:00
Antony Male
87ef7d3539
Update changelog
2015-01-07 12:46:43 +00:00
Antony Male
445861ee53
Standardise on whether we allow inherit on InjectAttribute
2015-01-07 12:42:48 +00:00
Antony Male
37bf6e7084
Merge branch 'feature/collection-changing' into develop
2015-01-06 14:06:56 +00:00
Antony Male
0a169e6b69
Add unit tests for BindableCollection modifications
2015-01-06 14:06:14 +00:00
Antony Male
f26413f5a7
Catch corner-case with ConductorAllActive where AddRange / RemoveRange wouldn't handle added/removed items
2015-01-06 13:43:31 +00:00
Antony Male
0a541c769c
Modify BindableCollection to carry out all operations on the UI thread
...
This means the concept of a dispatcher for it is now out of date - remove
these
2015-01-05 17:27:39 +00:00
Antony Male
e73cd237dd
Fix up code analysis
2015-01-05 13:21:07 +00:00
Antony Male
260bfee4c3
Remove and sort usings in samples and bootstrappers
2015-01-05 13:14:33 +00:00
Antony Male
5633bf9fb3
Merge branch 'feature/design-time' into develop
...
Fixes #2
2015-01-05 13:08:04 +00:00
Antony Male
2032fdad77
Add a littl more text to the design-time example
2015-01-05 13:07:50 +00:00
Antony Male
a9e541c1a1
Get test coverage back up
2015-01-05 13:04:29 +00:00
Antony Male
2ce3545de2
Add design-time sample
2015-01-05 12:29:39 +00:00
Antony Male
da2964c250
Ensure Execute.Dispatcher is set even at Design Time
2015-01-05 12:29:39 +00:00
Antony Male
d49886c700
Command Actions don't disable if the ActionTarget is null and we're in design mode
...
Most of the time, the user won't bother binding s:View.ActionTarget, and it's
nice to show a more "normal" button in this case, rather than a disabled
one.
2015-01-05 12:29:11 +00:00
Antony Male
e0ee7f21ff
Support Design-mode in View
...
We don't try and resolve the actual View (and its ViewModel), but instead
display a little message message
2015-01-05 12:29:11 +00:00
Antony Male
3f2d298ba2
Add more descriptive exceptions to Action error cases
2015-01-05 12:28:26 +00:00
Antony Male
d62ea7a22d
Allow setting of Execute.InDesignMode, for obscure unit testing ONLY
2015-01-05 12:22:00 +00:00
Antony Male
b538f11453
Fix up previous commit
2015-01-05 12:21:46 +00:00
Antony Male
f36de34bb2
Execute.Dispatcher can never be null, and dispatches synchronously by default
...
The previous behaviour was to raise an exception unless Execute.Dispatcher
had been explicitly defined. This was to detect cases where the user hadn't
set up Execute correctly, and treat them as errors rather than simply going
ahead with some possibly-unexpected behaviour.
However, since BootstrapperBase sets Execute.Dispatcher automatically, it's
highly unlikely that itwould ever not be set when it needed to be. Exceptions
are design mode and unit tests, both of which want (or can cope with) a
synchronous dispatcher.
Hence the behaviour change. Execute.Dispatcher is a synchronous dispatcher
by default, but is overridden to one that uses Application.Current.Dispatcher
by the bootstrapper if we're in a real application.
2015-01-04 21:30:34 +00:00
Antony Male
27b80717ea
Make View name resolution a bit smarter
2015-01-04 17:05:16 +00:00
Antony Male
9f9e282fdd
Add bootstrapper which does not require an IoC container
2015-01-04 13:23:29 +00:00
Antony Male
9ee23f1469
Remove Execute.TestExecuteSynchronously, in favour of a synchronous IDispatcher implementation
2015-01-04 13:10:37 +00:00