Antony Male
1915758c25
Fix StyleCop warnings
2015-02-24 12:38:57 +00:00
Antony Male
963751164f
Fix unit test failure in SingletonRegistration
2015-02-24 12:38:57 +00:00
Antony Male
00754e7bf7
Refactor CommandAction/EventAction to have a common base class
2015-02-24 12:38:56 +00:00
Antony Male
b98226b29f
Use a DependencyProperty in CommandAction/EventAction to watch ActionTarget for changes
...
Seems to work much better. Could probably remove quite a bit of code though
a sensible base class
2015-02-24 12:38:53 +00:00
Antony Male
f75833f508
Merge branch 'release/1.1.2' into develop
2015-02-23 11:30:24 +00:00
Antony Male
90887356bc
Bump version
2015-02-23 11:28:09 +00:00
Antony Male
7ecb4da8c6
Update changelog
2015-02-23 11:27:47 +00:00
Antony Male
ec9b7c1d74
Add link to 'Contributing' from the README
2015-02-23 11:26:07 +00:00
Antony Male
52b8da8ab6
Register IContainer with the builder
2015-02-23 10:47:56 +00:00
Antony Male
3ec42446b4
Sort out accessibility issue in RegistrationBase
2015-02-23 08:24:00 +00:00
Antony Male
c024a2dfd8
Write unit tests for DependencyPropertyChangeNotifier
2015-02-22 22:06:40 +00:00
Antony Male
6c8d9e8dbe
More improvements to PropertyChangeNotifier
2015-02-22 20:40:33 +00:00
Antony Male
cc4de1c852
CommandAction and EventAction no longer retain the View forever
...
Still needs a level of unit testing for PropertyChangeNotifier
2015-02-22 18:47:33 +00:00
Antony Male
b831444e67
Merge branch 'release/1.1.1' into develop
...
* release/1.1.1:
Bump version
Update changelog
2015-02-22 16:51:17 +00:00
Antony Male
7499579b93
Bump version
2015-02-22 16:49:51 +00:00
Antony Male
d7a153bc42
Update changelog
2015-02-22 16:49:26 +00:00
Antony Male
d2efcf48cb
WindowManager avoids creating a new View if ViewModel already has a View attached
2015-02-22 16:47:34 +00:00
Antony Male
e8b7bbcaac
Cheat to remove another line from failed coverage
2015-02-20 15:40:30 +00:00
Antony Male
558b8b70d4
Remove a bit of untested code through interface separation
2015-02-20 15:36:02 +00:00
Antony Male
25e90926a4
Tweak name of generated abstract factory implementations
2015-02-19 22:19:21 +00:00
Antony Male
9ab3655c5f
Improve test coverage slightly
2015-02-19 22:17:30 +00:00
Antony Male
ccc55dc800
Add DisposeChildren to IConductor, since it's really part of that...
2015-02-19 22:00:46 +00:00
Antony Male
4b462d28fa
Improve error message when a user shows a non-Window view as a window
2015-02-17 17:55:38 +00:00
Antony Male
07b61026e9
If the located View is derived from UIElement, then it can't be an interface
2015-02-17 16:11:26 +00:00
Antony Male
9f2c823ed2
Change 'as' to explicit cast, as we're not expecting it to fail
2015-02-17 16:11:01 +00:00
Antony Male
848900fb27
Merge branch 'release/1.1.0' into develop
2015-02-11 12:52:09 +00:00
Antony Male
b1059cf7ff
Bump version
2015-02-11 12:51:26 +00:00
Antony Male
b34a59f0fe
Update changelog
2015-02-11 12:50:49 +00:00
Antony Male
0b088b04fd
Get coverage up slightly
2015-02-09 12:48:18 +00:00
Antony Male
386b7cb035
Bring more sanity to the Bootstrapper
2015-02-09 12:39:21 +00:00
Antony Male
02175b6e67
Fix incorrect use of WeakEventManager in ScreenExtensions
2015-02-09 12:16:25 +00:00
Antony Male
91b925a458
Add AddModule and AddModules to IStyletIoCBuilder (oops)
2015-02-07 13:02:21 +00:00
Antony Male
68a826e66f
WindowManager does not set Title binding if Title has a value already
2015-01-20 10:24:12 +00:00
Antony Male
64e83c526b
Set WindowStartupLocation appropriately if the user hasn't set it themselves
2015-01-20 10:18:25 +00:00
Antony Male
4468740338
Implement proper state management in Screen
...
This takes the old flag-based state management in Screen, and replaces it
with one based on a ScreenState enum. This also gives a way for
interested parties to query the current state, and for an event which
notifies of any state transition.
This meant combining IActivate, IDeactivate, and IClose. This is a sensible
move: these interfaces were inextricably linked anyway, and separating
them had no advantages and a few disadvantages. If external parties are
using these interfaces directly, then migration is necessary, but these
are usually only used by Conductors
2015-01-19 13:08:10 +00:00
Antony Male
768509cacc
Actually add new Logger files to project
2015-01-19 12:08:22 +00:00
Antony Male
e2dc463d01
Sort logging classes into different files
2015-01-18 22:15:05 +00:00
Antony Male
2481cec3fa
Shuffle where hooks are called from in BootstrapperBase slightly
2015-01-18 22:11:21 +00:00
Antony Male
3785fbf2af
Add test to ensure guard method is propagated
2015-01-18 22:05:59 +00:00
Antony Male
b3601e6f81
Actions throw on execute of ActionTarget hasn't changed from the default
2015-01-18 22:02:06 +00:00
Antony Male
3efcb250cf
Merge branch 'release/1.0.7' into develop
2015-01-15 12:45:25 +00:00
Antony Male
81a1c66bbf
Bump version
2015-01-15 12:45:03 +00:00
Antony Male
45152d09db
Update changelog
2015-01-15 12:43:06 +00:00
Antony Male
1fd12fd54b
Keep ReSharper happy
2015-01-15 10:35:27 +00:00
Antony Male
3418fda5a2
Handle null/empty property name in ValidatingModelBase.ValidatePropertyAsync
...
In this case, we call ValidateAllProperties instead
2015-01-15 10:12:37 +00:00
Antony Male
07160aa4fe
Make BootstrapperBase non-generic
...
Instead, it has an abstract RootViewModel property, which bootstrapper
overrides to return an instance of TRootViewModel from the container.
This means that the root ViewModel is treated a singleton by the bootstrapper,
regardless of whether it's singleton in the container
2015-01-15 10:06:00 +00:00
Antony Male
46dc485eee
Add tests for new conductor Dispose behaviour
2015-01-15 09:54:05 +00:00
Antony Male
c0562205de
If a conductor receives a new ActiveItem, and it's not active, it will deactivate that item
...
This is needed because the item being activated might actually be in the
closed state, and we'll need to bring it into the deactive state
2015-01-15 09:33:09 +00:00
Antony Male
20c708ddbe
Conductor optionally disposes children, and WindowConductor never does
2015-01-15 09:28:24 +00:00
Antony Male
dca24b4d5e
Get unit test coverage back up
2015-01-14 20:30:51 +00:00