Branch: refs/heads/master
Home: https://github.com/castleproject/Castle.Windsor
Commit: 3a30118195b8e4123d9cbbae84f229c7b88c8629
https://github.com/castleproject/Castle.Windsor/commit/3a30118195b8e4123d9cbbae84f229c7b88c8629
Author: Krzysztof Kozmic <[email protected]>
Date: 2010-12-11 (Sat, 11 Dec 2010)
Changed paths:
M BreakingChanges.txt
M src/Castle.Windsor/MicroKernel/Burden.cs
M src/Castle.Windsor/MicroKernel/Handlers/AbstractHandler.cs
M src/Castle.Windsor/MicroKernel/Handlers/DefaultGenericHandler.cs
M src/Castle.Windsor/MicroKernel/Handlers/DefaultHandler.cs
M src/Castle.Windsor/MicroKernel/Handlers/ExtendedHandler.cs
M src/Castle.Windsor/MicroKernel/Handlers/ParentHandlerWithChildResolver.cs
M src/Castle.Windsor/MicroKernel/Handlers/ReleaseInvocation.cs
M src/Castle.Windsor/MicroKernel/IHandler.cs
M src/Castle.Windsor/MicroKernel/ILifestyleManager.cs
M src/Castle.Windsor/MicroKernel/Lifestyle/AbstractLifestyleManager.cs
M src/Castle.Windsor/MicroKernel/Lifestyle/PerWebRequestLifestyleManager.cs
M src/Castle.Windsor/MicroKernel/Lifestyle/PoolableLifestyleManager.cs
M
src/Castle.Windsor/MicroKernel/Releasers/LifecycledComponentsReleasePolicy.cs
Log Message:
-----------
- some big changes in component releasing handling. see breakingchanges.txt
Commit: 5eed741d0c0fc4f51185bc20f4fc250cc4364fb8
https://github.com/castleproject/Castle.Windsor/commit/5eed741d0c0fc4f51185bc20f4fc250cc4364fb8
Author: Krzysztof Kozmic <[email protected]>
Date: 2010-12-11 (Sat, 11 Dec 2010)
Changed paths:
M src/Castle.Windsor.Tests/Components/CompA.cs
M src/Castle.Windsor.Tests/HandlerExtensionsTestCase.cs
M src/Castle.Windsor.Tests/Lifestyle/LifestyleManagerTestCase.cs
M src/Castle.Windsor.Tests/Pools/PoolableComponent1.cs
M src/Castle.Windsor.Tests/Pools/PooledLifestyleManagerTestCase.cs
Log Message:
-----------
- some refactoring and clean up in tests
Commit: 1145acbae9a510d30cf955cf8ee3238d21fd8e17
https://github.com/castleproject/Castle.Windsor/commit/1145acbae9a510d30cf955cf8ee3238d21fd8e17
Author: Krzysztof Kozmic <[email protected]>
Date: 2010-12-11 (Sat, 11 Dec 2010)
Changed paths:
M src/Castle.Windsor.Tests/Castle.Windsor.Tests.csproj
A src/Castle.Windsor.Tests/ClassComponents/HasCtorDependency.cs
A
src/Castle.Windsor.Tests/Windsor.Tests/LifecycledComponentsReleasePolicyComponentTrackingTestCase.cs
M src/Castle.Windsor/MicroKernel/Burden.cs
M src/Castle.Windsor/MicroKernel/Context/CreationContext.cs
M src/Castle.Windsor/MicroKernel/Lifestyle/PoolableLifestyleManager.cs
M src/Castle.Windsor/MicroKernel/Lifestyle/SingletonLifestyleManager.cs
M
src/Castle.Windsor/MicroKernel/Releasers/LifecycledComponentsReleasePolicy.cs
Log Message:
-----------
- Burden.RequiresDecommission is now settable, and if set to false
LifecycledComponentsReleasePolicy will not try to Release the burden, and
CreationContext will not add it as child to its potential parents. This enables
us:
- ILifestyleManager.Release is now called not whenever someone calls
kernel.ReleaseComponent or some external signal comes in. It has now more
stricter semantics - if it's called, it means that the component really should
be released, so { return false; } is rarely a good implementation idea now.
Commit: fb29d3cc0c7720ef815c6b8f030a6a28c62e2625
https://github.com/castleproject/Castle.Windsor/commit/fb29d3cc0c7720ef815c6b8f030a6a28c62e2625
Author: Krzysztof Kozmic <[email protected]>
Date: 2010-12-11 (Sat, 11 Dec 2010)
Changed paths:
M
src/Castle.Windsor.Tests/Windsor.Tests/LifecycledComponentsReleasePolicyComponentTrackingTestCase.cs
Log Message:
-----------
- one more important test case. We don't track objects that themselves are not
trackable, and have dependencies that are trackable, but can be handled
externally. This in particular fixes IOC-221
Commit: 212ed75acba25c9d819702f01f788096ca1c570c
https://github.com/castleproject/Castle.Windsor/commit/212ed75acba25c9d819702f01f788096ca1c570c
Author: Krzysztof Kozmic <[email protected]>
Date: 2010-12-13 (Mon, 13 Dec 2010)
Changed paths:
M src/Castle.Windsor.Tests/Lifestyle/Scope.cs
M src/Castle.Windsor/MicroKernel/Burden.cs
M src/Castle.Windsor/MicroKernel/Context/CreationContext.cs
M src/Castle.Windsor/MicroKernel/Handlers/DefaultGenericHandler.cs
M src/Castle.Windsor/MicroKernel/Handlers/DefaultHandler.cs
M src/Castle.Windsor/MicroKernel/ILifestyleManager.cs
M src/Castle.Windsor/MicroKernel/Lifestyle/AbstractLifestyleManager.cs
M src/Castle.Windsor/MicroKernel/Lifestyle/PerThreadLifestyleManager.cs
M src/Castle.Windsor/MicroKernel/Lifestyle/PerWebRequestLifestyleManager.cs
Log Message:
-----------
- removed Track method from ILifestyleManager (it stays as protected method on
AbstractLifestyleManager), and added Burden and IReleasePolicy as arguments to
Resolve method so that we don't have to correlate calls between Resolve/Track -
this is all happening in a single method now which should simplify the code in
managers
- renamed non-interface base Resolve in AbstractLifestyleScope to
CreateInstance, which is now a more appropriate name (well, it also pushes the
resolved object to burden, perhaps I should revisit the name to make that a bit
more explicit)
- renamed burden.RequiresDecommission to RequiresPolicyRelease which better
describe what it really means now.
Commit: fc2cbd7ebb9fe45cec3e61f624331590af8ea3b1
https://github.com/castleproject/Castle.Windsor/commit/fc2cbd7ebb9fe45cec3e61f624331590af8ea3b1
Author: Krzysztof Kozmic <[email protected]>
Date: 2010-12-13 (Mon, 13 Dec 2010)
Changed paths:
M src/Castle.Windsor.Tests/Lifestyle/DecomissioningResponsibilitiesTestCase.cs
M src/Castle.Windsor/MicroKernel/Lifestyle/PoolableLifestyleManager.cs
M src/Castle.Windsor/MicroKernel/Lifestyle/SingletonLifestyleManager.cs
M
src/Castle.Windsor/MicroKernel/Releasers/LifecycledComponentsReleasePolicy.cs
Log Message:
-----------
- removed Track method from ILifestyleManager (it stays as protected method on
AbstractLifestyleManager), and added Burden and IReleasePolicy as arguments to
Resolve method so that we don't have to correlate calls between Resolve/Track -
this is all happening in a single method now which should simplify the code in
managers
- renamed non-interface base Resolve in AbstractLifestyleScope to
CreateInstance, which is now a more appropriate name (well, it also pushes the
resolved object to burden, perhaps I should revisit the name to make that a bit
more explicit)
- renamed burden.RequiresDecommission to RequiresPolicyRelease which better
describe what it really means now.
Commit: 3844a735c01088c7a4fb23f8c81d4e88d591cb14
https://github.com/castleproject/Castle.Windsor/commit/3844a735c01088c7a4fb23f8c81d4e88d591cb14
Author: Krzysztof Kozmic <[email protected]>
Date: 2010-12-13 (Mon, 13 Dec 2010)
Changed paths:
M src/Castle.Windsor/MicroKernel/Lifestyle/PerThreadLifestyleManager.cs
M src/Castle.Windsor/MicroKernel/Lifestyle/PerWebRequestLifestyleManager.cs
M src/Castle.Windsor/MicroKernel/Lifestyle/PerWebRequestLifestyleModule.cs
M src/Castle.Windsor/MicroKernel/Lifestyle/SingletonLifestyleManager.cs
Log Message:
-----------
- reverted back, and reapplied some changes to per-web-request lifestyle. I
feel dirty know. If Linus Torvals saw what I did with Git he would howl to the
moon in despair.
Commit: b44fb4ed04d770f44e58b81c54125e0c6043b540
https://github.com/castleproject/Castle.Windsor/commit/b44fb4ed04d770f44e58b81c54125e0c6043b540
Author: Krzysztof Kozmic <[email protected]>
Date: 2010-12-14 (Tue, 14 Dec 2010)
Changed paths:
M src/Castle.Windsor/Core/Internal/GraphSets.cs
Log Message:
-----------
- minor cleanup
Commit: e4f7ca9e60f2f52fb2b7fb2c24c83280066b57d2
https://github.com/castleproject/Castle.Windsor/commit/e4f7ca9e60f2f52fb2b7fb2c24c83280066b57d2
Author: Krzysztof Kozmic <[email protected]>
Date: 2010-12-14 (Tue, 14 Dec 2010)
Changed paths:
M BreakingChanges.txt
M src/Castle.Windsor/MicroKernel/ILifestyleManager.cs
Log Message:
-----------
- updated doco and change desccription for Resolve method on ILifestyleManager
Commit: 88fea2238f244174b584ab4d29bf19eff5ed81c8
https://github.com/castleproject/Castle.Windsor/commit/88fea2238f244174b584ab4d29bf19eff5ed81c8
Author: Krzysztof Kozmic <[email protected]>
Date: 2010-12-14 (Tue, 14 Dec 2010)
Changed paths:
M
src/Castle.Windsor/MicroKernel/Releasers/LifecycledComponentsReleasePolicy.cs
Log Message:
-----------
- fixed locking on LifecycledComponentsReleasePolicy which ended up doing two
dictionary lookup unnecessarily.
--
You received this message because you are subscribed to the Google Groups
"Castle Project Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/castle-project-commits?hl=en.