Commit Graph

747 Commits

Author SHA1 Message Date
Antony Male 1ef62f568d Merge branch 'release/1.3.1' into develop 2020-02-04 21:34:43 +00:00
Antony Male b1e05da0c0 Update changelog 2020-02-04 21:34:35 +00:00
Antony Male 24ab49208f Fix suspected race condition in SingletonRegistration
This could trigger if the first two requests for a singleton were on
different threads, and executed veyr close together
2020-02-04 21:27:49 +00:00
Antony Male 4fa7b9ca1a Fix typo in README 2019-09-26 12:28:41 +01:00
Antony Male 84dc301d1a Merge branch 'release/1.3.0' into develop 2019-09-26 12:10:58 +01:00
Antony Male c3f7f7c080 Update changelog 2019-09-26 12:10:14 +01:00
Antony Male a4428f6436 Tweak nuspcs and README 2019-09-25 12:36:16 +01:00
Antony Male 385452170f Embed the PDB, see if that improves things 2019-09-24 16:28:57 +01:00
Antony Male 5c2e921a50 ViewManager should be singleton
Fixes #71
2019-09-24 14:54:19 +01:00
Antony Male d6c2f8e7df Add a .NET Core template 2019-09-24 14:51:33 +01:00
Antony Male 2b3294e5ed Merge branch 'feature/netcore' into develop
* feature/netcore:
  Update the README
  More attempts to get sourcelink working
  Actually, seems that the SourceLink advice is *not* to create a snupkg
  Change how the nupkg is generated; integrate sourcelink
  Fix up the Rakefile
  Fix up the failing unit tests
  Turns out it is possible to have a single csproj targetting both core and framework
  Move Framework projects over to SDK-style using https://github.com/onovotny/MSBuildSdkExtras
  WIP towards getting unit tests working
  Split Stylet and IntegrationTests projects into Framework and Core
2019-09-22 17:13:48 +01:00
Antony Male a22dd2b3dd Update the README 2019-09-22 17:12:55 +01:00
Antony Male c17c50d782 More attempts to get sourcelink working 2019-09-22 17:12:55 +01:00
Antony Male ca0a840b66 Actually, seems that the SourceLink advice is *not* to create a snupkg 2019-09-22 17:12:54 +01:00
Antony Male 882d231db2 Change how the nupkg is generated; integrate sourcelink 2019-09-22 17:12:54 +01:00
Antony Male 9b5da1f82e Fix up the Rakefile
We no longer generate test code coverage, as that's hard on .net core

Also remove GitLink
2019-09-22 17:12:54 +01:00
Antony Male b3064171c1 Fix up the failing unit tests 2019-09-22 17:12:54 +01:00
Antony Male 3c7639bdc8 Turns out it is possible to have a single csproj targetting both core and framework
<EnableDefaultItems>false</EnableDefaultItems> along with
<Compile Include="**\*.cs" Exclude="obj\**" /> and <None Remove="**\*.cs" />
is needed, though.
2019-09-22 17:12:54 +01:00
Antony Male 5184df214d Move Framework projects over to SDK-style using https://github.com/onovotny/MSBuildSdkExtras 2019-09-22 17:12:53 +01:00
Antony Male f7ec7a255a WIP towards getting unit tests working 2019-09-22 17:12:53 +01:00
Antony Male f4e6e3ecf5 Split Stylet and IntegrationTests projects into Framework and Core
Annoyingly we need to have two separate projects in two separate directories,
since Framework WPF projects aren't supported in sdk-style csprojs. The
Framework and Core projects also stamp over each others' bin and obj
directories, even if you set IntermediateFilePath, hence the need to put
them in entirely separate places
2019-09-22 17:12:53 +01:00
Antony Male 392e06a44a Merge branch 'release/1.2.0' into develop
* release/1.2.0:
  Update changelog
2019-05-28 20:17:38 +01:00
Antony Male 1877faae2b Update changelog 2019-05-28 20:15:34 +01:00
Antony Male f74f5c745d Update NuGet packages to fix Fody breakage in newer VS versions
Fixes #61
2019-01-10 12:33:05 +00:00
Antony Male 24ad06ada2 Add XmlnsPrefix attribute
Fixes #57
2018-12-18 12:40:29 +00:00
Antony Male bc9578e8ea Update the FluentModelValidator in Samples 2018-11-23 12:50:51 +00:00
Antony Male aae13a8193 Fix disposal in NoIoCContainerBootstrapper
Fixes #42
2018-09-30 18:57:32 +01:00
Antony Male 8183c83190 Add BindAndInvoke
Fixes #43
2018-09-30 18:50:55 +01:00
Antony Male eb2da81b9d Deprecate BindWeak
Weak event subscriptions are basically impossible to get right, if
you allow anonymous delegates.

Fixes #38
2018-09-30 18:43:31 +01:00
Antony Male d32045b518 Allow the owner of a dialog/window to be explicitly set
Fixes #36
2018-09-30 18:29:10 +01:00
Antony Male 93dbfd1482 Make Master/Detail sample not rely on WPF magic
Fixes #33
2018-09-30 18:12:35 +01:00
Felipe Martínez 1a6e5c26e0 Fix typo 2018-09-30 18:06:13 +01:00
Antony Male 4da2d39999 Stylet.Start should create files as UTF-8 with BOM
It looks like VS uses UTF-8, not UTF-16, and UTF-16 really doesn't
play well with git (which thinks they're binary)
2018-09-30 18:04:43 +01:00
Antony Male 2027fad730 Add support for CommandBinding in Actions
CommandBinding isn't a DependencyObject, so we can't get its DataContext
or View.ActionTarget -- we can only use the
IRootObjectProvider.RootObject. This should be good enough for most cases,
as these tend to get installed at the root of a window.

Fixes #50
2018-09-30 17:56:51 +01:00
Antony Male 61fcf4617c Merge branch 'release/1.1.22' into develop 2018-09-05 12:10:26 +01:00
Antony Male d4b5f77a1a Update changelog 2018-09-05 12:06:09 +01:00
Antony Male 132f550124 Allow custom MessageBoxViews to be used
I broke this a while back when removing Stylet's assembly from the IoC
container.

Fixes #34
2017-06-25 13:24:53 +01:00
Antony Male c99a826cf9 Merge branch 'release/1.1.21' into develop 2017-06-12 13:00:53 +01:00
Antony Male eef86cc893 Update changelog 2017-06-12 13:00:06 +01:00
Antony Male 272b408bc6 Don't try and uninstall Stylet.Start in install.ps1
VS2015 now throws an error (it thinks Stylet.Start doesn't exist), and VS2017
deadlocks. Neither is a great outcome.

The best we can do is to ask the user to uninstall Stylet.Start

Fixes #32
2017-06-12 12:57:54 +01:00
Antony Male 95ec850fce Don't override window's StartupLocation if Top or Left are bound
We checked to see whether Top or Left were set, but not if they had a
DataBinding. This meant you couldn't explicitly set the location through
a binding.

Fixes #31
2017-06-12 12:35:25 +01:00
Antony Male b7e79f5f6c Stylet.Start should save files in UTF-16 with BOM
This is the encoding which VS uses, so let's be consistent. We were
previously saving as UTF-8 without a BOM, which VS seemed to be interpreting
as ASCII, and was throwing a wobbly if non-ASCII characters were later
added.

Fixes #30
2017-06-05 13:02:41 +01:00
Antony Male 41527ff7e9 Merge branch 'release/1.1.20' into develop
* release/1.1.20:
  Update changelog
2017-05-20 17:56:23 +01:00
Antony Male 840aa34ffa Update changelog 2017-05-20 17:55:38 +01:00
Antony Male e01e6e41f3 If a ConductorOneActive item is closed, don't dispose it twice
Fixes #28
2017-05-18 10:09:21 +01:00
Antony Male e4941c1c66 When removing ConductorOneActive's ActiveItem, don't Close then Deactivate
Closing and then Deactivating causes the ActiveItem to be reactivated, in order
to deactivate it. Not good.

Fixes #27
2017-05-15 13:04:44 +01:00
Antony Male 2c2466e611 Rename FuncNoKeyRegistration, since there is no FuncWithKeyRegistration any more 2017-04-05 12:22:05 +01:00
Antony Male ea39d499f8 Merge branch 'release/1.1.19' into develop
* release/1.1.19:
  Update changelog
2016-12-03 13:23:07 +00:00
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