Commit Graph

355 Commits

Author SHA1 Message Date
Antony Male 816df04f18 Add singleton disposing 2014-09-10 12:59:54 +01:00
Antony Male 3246f5db29 Add some unit tests 2014-09-10 12:49:28 +01:00
Antony Male a1c4c12030 That *should* be everything needed to create child containers... 2014-09-10 11:38:32 +01:00
Antony Male b12bdb0b59 Inject the IRegistrationContext everywhere it's needed... 2014-09-10 10:04:48 +01:00
Antony Male 1d3c68d01c WIP towards getting this righ 2014-09-10 08:34:41 +01:00
Antony Male dfd7939075 Make Registrations a bit simpler, by moving some stuff to RegistrationBase 2014-08-29 12:12:34 +01:00
Antony Male e246f7d983 Update BoolToVisibilityConverter to be a bit more efficient 2014-08-28 17:47:40 +01:00
Antony Male 3d8dc9c62c Extract easily-derived methods from IContainer into extension methods 2014-08-27 20:51:11 +01:00
Antony Male d214bbc270 Add rake task to extract a single file containing all of StyletIoC 2014-08-27 19:41:37 +01:00
Antony Male ac58ef8bde Allow StyletIoC to accept other scopes 2014-08-27 19:15:21 +01:00
Antony Male ea2a45e17d Remove failing tests, which can't be fixed 2014-08-27 18:57:53 +01:00
Antony Male a7becd1844 Sort out static analysis errors 2014-08-08 15:39:27 +01:00
Antony Male 5596ba272d Conductors will also Dispose their children if the're IDisposable 2014-08-04 17:35:16 +01:00
Antony Male 25e025f542 Fix warning in unit tests 2014-08-04 07:59:44 +01:00
Antony Male 5fe1c012de Fix Stylet.Samples.RedditBrowser 2014-08-02 18:04:55 +01:00
Antony Male 2d44237ef4 Change Stringable<T> to a struct, to avoid nullity issues 2014-08-02 17:59:22 +01:00
Antony Male 9532f3eca1 Change capitalisation of ValidationModeBase.AutoValidate 2014-08-02 17:54:15 +01:00
Antony Male d9db561494 Merge branch 'feature/loader' into develop
* feature/loader:
  Fix the samples
  Fix the integration tests
  Add unit tests for ApplicationLoader, and fix Bootstrapper tests
  Start of implementing ApplicationLoader
2014-08-02 17:50:29 +01:00
Antony Male f5d215b0b8 Fix the samples 2014-08-02 17:50:19 +01:00
Antony Male f45fe0fc9a Fix the integration tests 2014-08-02 17:50:18 +01:00
Antony Male db08349c02 Add unit tests for ApplicationLoader, and fix Bootstrapper tests 2014-08-02 17:50:18 +01:00
Antony Male fb9acc79c5 Start of implementing ApplicationLoader 2014-08-02 17:02:28 +01:00
Antony Male bc9362eeee Change DebugLogger to TraceLogger, which logs even in Release builds 2014-07-30 15:22:29 +01:00
Antony Male 2f250355ee Move OnStart to before the IViewManager is resolved, so the IViewManager gets a logger 2014-07-28 20:52:10 +01:00
Antony Male c657894fc3 Info, rather than Warn, when the ActionTarget is null 2014-07-28 20:44:33 +01:00
Antony Male 2372c2b5e0 Fix broken .csproj 2014-07-28 20:41:11 +01:00
Antony Male 14f1c4a4d5 Rename StyletLogManager -> LogManager and IStyletLogger -> ILogger, but put in Logger namespace 2014-07-27 18:21:14 +01:00
Antony Male 92002326b1 Merge branch 'release/0.9.11' into develop
* release/0.9.11:
  Bump version
  Update changelog
2014-07-26 18:21:58 +01:00
Antony Male 5778460c38 Bump version 2014-07-26 18:19:36 +01:00
Antony Male e24120c89a Update changelog 2014-07-26 18:19:08 +01:00
Antony Male 7952d15e83 Rename ILogger and LogManager to not conflict with NLog 2014-07-26 18:17:49 +01:00
Antony Male 642a038488 Add Execute.PostToUIThreadAsync 2014-07-26 11:51:46 +01:00
Antony Male a7a63d5ae1 Merge branch 'release/0.9.10' into develop 2014-07-25 13:20:30 +01:00
Antony Male a913ea3503 Bump version 2014-07-25 13:17:23 +01:00
Antony Male d8bfef242b Update changelog 2014-07-25 13:16:40 +01:00
Antony Male 61b3d3778b Remove and sort usings 2014-07-25 13:14:59 +01:00
Antony Male 4ed753e89e Bring unit test code coverage back to par 2014-07-25 13:11:51 +01:00
Antony Male 2fa14d3d7f Add LogManager, and logging 2014-07-25 12:46:10 +01:00
Antony Male 0fb379fc77 Correct unintentional change to StyletIntegrationTests/ShellView.xaml 2014-07-25 12:38:29 +01:00
Antony Male 7147f4cb43 ActionExtension.NullTarget and .ActionNotFound are no longer nullable, leading to clearer XAML 2014-07-25 12:36:15 +01:00
Antony Male 60aca05dd2 Simplify IViewManager, by aligning it to what someone actually wants the ViewManager to do 2014-07-24 16:39:26 +01:00
Antony Male b53d0f5195 Ensure that we don't throw if actions are bound before the ActionTarget is assigned 2014-07-24 16:30:57 +01:00
Antony Male 3e4e09a598 Prevent double closure of a Screen 2014-07-24 09:45:20 +01:00
Antony Male d51ef4a0a4 Avoid invalid binding notice when showing a MessageBox with the default title 2014-07-24 09:31:29 +01:00
Antony Male 240a543de8 Remove all instances of 'throw new Exception' 2014-07-23 15:21:02 +01:00
Antony Male b254f92fe8 Add OnStart hook for when Stylet starts up, and rename the existing hooks to avoid confusion 2014-07-23 13:24:12 +01:00
Antony Male e611367ab5 Replace the isSingleton bool with a RegistrationFactory lambda, which should more easily allow other scopes 2014-07-23 12:07:07 +01:00
Antony Male 092cf02599 Fix bug in BoolToVisibilityConverter, causing exception with some argument types 2014-07-21 11:20:29 +01:00
Antony Male 1d9a5d4248 Remove and sort usings 2014-07-21 11:04:08 +01:00
Antony Male 6533b34757 Split out the type which were all previously in StyletIoCContainer.cs 2014-07-21 10:57:18 +01:00