Antony Male
2104aa8417
It's no longer DispatcherWrapper's responsibility to capture the current Dispatcher
2014-05-26 19:01:17 +01:00
Antony Male
7bdafdc04a
Change an exception to an assertion, since I can't hit it in tests
2014-05-26 19:00:10 +01:00
Antony Male
7203b02cdf
Add a load of missing XML documentation
2014-05-26 18:54:56 +01:00
Antony Male
a914d58668
Refactor the ViewManager, splitting out a few methods to make it easier to customize
2014-05-26 18:54:55 +01:00
Antony Male
2f4424a85d
Split IEventAggregator methods for dispatching into extension methods
2014-05-26 18:54:54 +01:00
Antony Male
bfd9ac3f06
Refactor Conductor.DetermineNextItemToActivate, so it's a bit more self-contained
2014-05-26 18:54:46 +01:00
Antony Male
956c9e970a
Modify SetParent so it only sets the parent, not clears it
2014-05-26 18:53:53 +01:00
Antony Male
5962c1c8bb
Fiddle with Condcutor.EnsureItem, so that it does one thing, rather than two
2014-05-26 18:53:30 +01:00
Antony Male
f5f406596d
Split out ViewManager a bit more
2014-05-26 17:05:58 +01:00
Antony Male
7b45e51919
Modify Rakefile to not fail if TestResult.xml doesn't exist
2014-05-23 13:31:21 +01:00
Antony Male
863bcf9b87
Actually fill in the blanks in the license
2014-05-23 13:08:19 +01:00
Antony Male
6d72e2d525
MessageBox supports MessageBoxOptions
2014-05-23 13:03:21 +01:00
Antony Male
97258d1511
Generate XML documentation, and add it to the nuget package
2014-05-22 09:16:19 +01:00
Antony Male
1beb6dc4d2
Cover a little more code
2014-05-21 12:27:01 +01:00
Antony Male
8a93640ad8
Catch another place were MessageBox.Show was used
2014-05-21 12:23:58 +01:00
Antony Male
0ba6061e59
Move BootstrapperBase's autoLaunch to Start
2014-05-21 12:22:13 +01:00
Antony Male
ac7c504d94
Write tests for the updated BoolToVisibilityConverter
2014-05-21 12:04:19 +01:00
Antony Male
a2aa1e43b7
Allow MessageBox users to override text on individual buttons on a per-case basis
2014-05-21 11:48:48 +01:00
Antony Male
719653079a
Use MessageBox in the integration tests and samples
2014-05-21 11:32:51 +01:00
Antony Male
d1ab2d3cbd
Style MessageBoxView a bit more.
...
BoolToVisibilityConverter can now handle any data type
2014-05-21 08:21:47 +01:00
Antony Male
59b484d8d4
Make MessageBoxView.xaml a bit more faithful
...
Just a little bit of vertical alignment to go
2014-05-20 21:36:26 +01:00
Antony Male
52543a2ef6
Merge branch 'feature/messagebox' into develop
...
* feature/messagebox:
Add more unit tests for MessageBox, and convert to use more system types
Start writing unit tests for the MessageBox stuff
Document MessageBox and friends
Simplify MessageBoxViewModel quite a bit
Start on MessageBox
2014-05-20 21:24:38 +01:00
Antony Male
99f79d1e29
Add more unit tests for MessageBox, and convert to use more system types
2014-05-20 21:24:29 +01:00
Antony Male
2093d9c3cb
Start writing unit tests for the MessageBox stuff
2014-05-20 21:24:28 +01:00
Antony Male
99a57578c4
Document MessageBox and friends
2014-05-20 21:24:27 +01:00
Antony Male
83efd02374
Simplify MessageBoxViewModel quite a bit
2014-05-20 21:24:26 +01:00
Antony Male
cd3afe56e0
Start on MessageBox
2014-05-20 21:24:25 +01:00
Antony Male
3a3f06ea3e
Only set a DisplayName binding if one doesn't already exist
2014-05-20 13:16:11 +01:00
Antony Male
1e6e0c4d98
Update validation rules in Stylet.Samples.ModelValidation
2014-05-20 09:11:11 +01:00
Antony Male
6c015ecd33
Display type's name as DisplayName by default
2014-05-17 12:32:50 +01:00
Antony Male
5823437a28
Support design-time application running
2014-05-16 09:46:16 +01:00
Antony Male
ba8d5f338c
Use PasswordBoxes in Stylet.Samples.ModelValidation
2014-05-14 12:16:37 +01:00
Antony Male
6b2c8d9583
Fix WindowManager tests
2014-05-13 17:57:15 +01:00
Antony Male
bac99ab647
Refactor ValidatingModelBase slightly to support easier overriding
2014-05-13 17:56:54 +01:00
Antony Male
779df6ebcc
More work on Stylet.Samples.ModelValidation
2014-05-13 13:29:02 +01:00
Antony Male
9dcce8e164
The validator might not return entries for successful properties. Make sure ValidatingModelBase handles these
2014-05-13 13:28:51 +01:00
Antony Male
43377bbe5d
Start work on ModelValidator sample
2014-05-12 17:42:07 +01:00
Antony Male
edea424e6b
Fix deadlock in ValidatingModelBase (oops)
2014-05-12 17:24:29 +01:00
Antony Male
be31aa3b88
Shut up FxCop
2014-05-12 09:55:03 +01:00
Antony Male
af06ee5019
Sort out the thread-safety
2014-05-11 22:35:21 +01:00
Antony Male
b89c61a91e
Move View into the Xaml namespace, so it's accessible through https://github.com/canton7/Stylet
2014-05-11 20:02:21 +01:00
Antony Male
0b75df35ef
Rename Execute methods
2014-05-11 19:59:23 +01:00
Antony Male
fc4a7fb61c
Push coverage up to 99.7%
2014-05-10 20:11:02 +01:00
Antony Male
256198d3c0
Fix Rakefile for people who haven't restored nuget packages yet
2014-05-10 13:39:25 +01:00
Antony Male
a39bcfbadb
Use Dispatcher instead of SynchronizationContext for synchronization.
...
It looks like the SynchronizationContext can now change on the same thread
(see http://msdn.microsoft.com/en-us/library/system.windows.basecompatibilitypreferences.reusedispatchersynchronizationcontextinstance%28v=vs.110%29.aspx )
meaning that we can no longer do a reference comparison between SynchronizationContext.Current
and the captured SynchronizationConext to check whether a dispatch is required.
It turns out we shouldn't have been doing this anyway.... So switch to using a Dispatcher,
which does support this stuff.
Additionally, Execute now uses an IDispatcher, which means the implementation can be switched
again in the future. It also makes unit testing easier....
2014-05-09 15:46:03 +01:00
Antony Male
5ca2508fc0
More test stuff
2014-05-09 15:43:55 +01:00
Antony Male
4a527c75d6
Push code coverage up to 98.7%, including integration tests
2014-05-09 14:40:40 +01:00
Antony Male
a96ec2a6e4
Add tests for CommandAction and EventAction
2014-05-09 13:59:38 +01:00
Antony Male
e38ebee6d1
Add support for running coverage for integration tests
2014-05-09 11:28:36 +01:00
Antony Male
55b23a61ed
Couple lines more coverage
2014-05-08 17:44:04 +01:00