From: <fab...@us...> - 2009-05-16 00:59:52
|
Revision: 4324 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=4324&view=rev Author: fabiomaulo Date: 2009-05-16 00:59:51 +0000 (Sat, 16 May 2009) Log Message: ----------- - Actualization last NUnit + last Castle.DynProxy - some minor in related prj. Modified Paths: -------------- trunk/nhibernate/lib/net/2.0/Castle.Core.dll trunk/nhibernate/lib/net/2.0/Castle.DynamicProxy2.dll trunk/nhibernate/lib/net/2.0/Castle.DynamicProxy2.xml trunk/nhibernate/lib/net/2.0/nunit.core.dll trunk/nhibernate/lib/net/2.0/nunit.framework.dll trunk/nhibernate/lib/net/3.5/Castle.Core.dll trunk/nhibernate/lib/net/3.5/Castle.DynamicProxy2.dll trunk/nhibernate/lib/net/3.5/Castle.DynamicProxy2.xml trunk/nhibernate/lib/net/3.5/nunit.core.dll trunk/nhibernate/lib/net/3.5/nunit.framework.dll trunk/nhibernate/src/NHibernate.Everything.sln trunk/nhibernate/src/NHibernate.Example.Web/Web.Config trunk/nhibernate/src/NHibernate.Examples/App.config trunk/nhibernate/src/NHibernate.Examples/NHibernate.Examples.csproj trunk/nhibernate/src/NHibernate.Test.Performance/App.config trunk/nhibernate/src/NHibernate.Test.Performance/NHibernate.Test.Performance.csproj Modified: trunk/nhibernate/lib/net/2.0/Castle.Core.dll =================================================================== (Binary files differ) Modified: trunk/nhibernate/lib/net/2.0/Castle.DynamicProxy2.dll =================================================================== (Binary files differ) Modified: trunk/nhibernate/lib/net/2.0/Castle.DynamicProxy2.xml =================================================================== --- trunk/nhibernate/lib/net/2.0/Castle.DynamicProxy2.xml 2009-05-15 22:59:12 UTC (rev 4323) +++ trunk/nhibernate/lib/net/2.0/Castle.DynamicProxy2.xml 2009-05-16 00:59:51 UTC (rev 4324) @@ -294,32 +294,33 @@ </member> <member name="T:Castle.DynamicProxy.IProxyGenerationHook"> <summary> - Used during the target type inspection process. - Implementors have a chance to interfere in the - proxy generation process + Used during the target type inspection process. Implementors have a chance to customize the + proxy generation process. </summary> </member> <member name="M:Castle.DynamicProxy.IProxyGenerationHook.ShouldInterceptMethod(System.Type,System.Reflection.MethodInfo)"> <summary> - Invoked by the generation process to know if - the specified member should be proxied + Invoked by the generation process to determine if the specified method should be proxied. </summary> - <param name="type"></param> - <param name="memberInfo"></param> - <returns></returns> + <param name="type">The type which declares the given method.</param> + <param name="methodInfo">The method to inspect.</param> + <returns>True if the given method should be proxied; false otherwise.</returns> </member> <member name="M:Castle.DynamicProxy.IProxyGenerationHook.NonVirtualMemberNotification(System.Type,System.Reflection.MemberInfo)"> <summary> - Invoked by the generation process to notify that a - member wasn't marked as virtual. + Invoked by the generation process to notify that a member was not marked as virtual. </summary> - <param name="type"></param> - <param name="memberInfo"></param> + <param name="type">The type which declares the non-virtual member.</param> + <param name="memberInfo">The non-virtual member.</param> + <remarks> + Non-virtual members cannot be proxied. This method gives an opportunity to inspect + any non-virtual member of a type that has been requested to be proxied, and if + appropriate - throw an exception to notify the caller. + </remarks> </member> <member name="M:Castle.DynamicProxy.IProxyGenerationHook.MethodsInspected"> <summary> - Invoked by the generation process to notify - that the whole process is completed. + Invoked by the generation process to notify that the whole process has completed. </summary> </member> <member name="T:Castle.DynamicProxy.CacheMappingsAttribute"> @@ -440,6 +441,33 @@ </summary> <param name="scope">The module scope for generated proxy types.</param> </member> + <member name="T:Castle.DynamicProxy.IInterceptorSelector"> + <summary> + Provides an extension point that allows proxies to choose specific interceptors on + a per method basis. + </summary> + </member> + <member name="M:Castle.DynamicProxy.IInterceptorSelector.SelectInterceptors(System.Type,System.Reflection.MethodInfo,Castle.Core.Interceptor.IInterceptor[])"> + <summary> + Selects the interceptors that should intercept calls to the given <paramref name="method"/>. + </summary> + <param name="type">The type declaring the method to intercept.</param> + <param name="method">The method that will be intercepted.</param> + <param name="interceptors">All interceptors registered with the proxy.</param> + <returns>An array of interceptors to invoke upon calling the <paramref name="method"/>.</returns> + <remarks> + This method is called only once per proxy instance, upon the first call to the + <paramref name="method"/>. Either an empty array or null are valid return values to indicate + that no interceptor should intercept calls to the method. Although it is not advised, it is + legal to return other <see cref="T:Castle.Core.Interceptor.IInterceptor"/> implementations than these provided in + <paramref name="interceptors"/>. A better way to do this, is by passing all the required + interceptors to the appropriate method of <see cref="T:Castle.DynamicProxy.ProxyGenerator"/>. You can use this + method to influence the order in which interceptors will be called, by reordering the array. + Returning an array containing null references (Nothing in Visual Basic) is not legal, + and will result in a runtime exception. + </remarks> + <seealso cref="T:Castle.DynamicProxy.ProxyGenerationOptions"/> + </member> <member name="M:Castle.DynamicProxy.InternalsHelper.IsInternalToDynamicProxy(System.Reflection.Assembly)"> <summary> Determines whether this assembly has internals visible to dynamic proxy. Modified: trunk/nhibernate/lib/net/2.0/nunit.core.dll =================================================================== (Binary files differ) Modified: trunk/nhibernate/lib/net/2.0/nunit.framework.dll =================================================================== (Binary files differ) Modified: trunk/nhibernate/lib/net/3.5/Castle.Core.dll =================================================================== (Binary files differ) Modified: trunk/nhibernate/lib/net/3.5/Castle.DynamicProxy2.dll =================================================================== (Binary files differ) Modified: trunk/nhibernate/lib/net/3.5/Castle.DynamicProxy2.xml =================================================================== --- trunk/nhibernate/lib/net/3.5/Castle.DynamicProxy2.xml 2009-05-15 22:59:12 UTC (rev 4323) +++ trunk/nhibernate/lib/net/3.5/Castle.DynamicProxy2.xml 2009-05-16 00:59:51 UTC (rev 4324) @@ -294,32 +294,33 @@ </member> <member name="T:Castle.DynamicProxy.IProxyGenerationHook"> <summary> - Used during the target type inspection process. - Implementors have a chance to interfere in the - proxy generation process + Used during the target type inspection process. Implementors have a chance to customize the + proxy generation process. </summary> </member> <member name="M:Castle.DynamicProxy.IProxyGenerationHook.ShouldInterceptMethod(System.Type,System.Reflection.MethodInfo)"> <summary> - Invoked by the generation process to know if - the specified member should be proxied + Invoked by the generation process to determine if the specified method should be proxied. </summary> - <param name="type"></param> - <param name="memberInfo"></param> - <returns></returns> + <param name="type">The type which declares the given method.</param> + <param name="methodInfo">The method to inspect.</param> + <returns>True if the given method should be proxied; false otherwise.</returns> </member> <member name="M:Castle.DynamicProxy.IProxyGenerationHook.NonVirtualMemberNotification(System.Type,System.Reflection.MemberInfo)"> <summary> - Invoked by the generation process to notify that a - member wasn't marked as virtual. + Invoked by the generation process to notify that a member was not marked as virtual. </summary> - <param name="type"></param> - <param name="memberInfo"></param> + <param name="type">The type which declares the non-virtual member.</param> + <param name="memberInfo">The non-virtual member.</param> + <remarks> + Non-virtual members cannot be proxied. This method gives an opportunity to inspect + any non-virtual member of a type that has been requested to be proxied, and if + appropriate - throw an exception to notify the caller. + </remarks> </member> <member name="M:Castle.DynamicProxy.IProxyGenerationHook.MethodsInspected"> <summary> - Invoked by the generation process to notify - that the whole process is completed. + Invoked by the generation process to notify that the whole process has completed. </summary> </member> <member name="T:Castle.DynamicProxy.CacheMappingsAttribute"> @@ -440,6 +441,33 @@ </summary> <param name="scope">The module scope for generated proxy types.</param> </member> + <member name="T:Castle.DynamicProxy.IInterceptorSelector"> + <summary> + Provides an extension point that allows proxies to choose specific interceptors on + a per method basis. + </summary> + </member> + <member name="M:Castle.DynamicProxy.IInterceptorSelector.SelectInterceptors(System.Type,System.Reflection.MethodInfo,Castle.Core.Interceptor.IInterceptor[])"> + <summary> + Selects the interceptors that should intercept calls to the given <paramref name="method"/>. + </summary> + <param name="type">The type declaring the method to intercept.</param> + <param name="method">The method that will be intercepted.</param> + <param name="interceptors">All interceptors registered with the proxy.</param> + <returns>An array of interceptors to invoke upon calling the <paramref name="method"/>.</returns> + <remarks> + This method is called only once per proxy instance, upon the first call to the + <paramref name="method"/>. Either an empty array or null are valid return values to indicate + that no interceptor should intercept calls to the method. Although it is not advised, it is + legal to return other <see cref="T:Castle.Core.Interceptor.IInterceptor"/> implementations than these provided in + <paramref name="interceptors"/>. A better way to do this, is by passing all the required + interceptors to the appropriate method of <see cref="T:Castle.DynamicProxy.ProxyGenerator"/>. You can use this + method to influence the order in which interceptors will be called, by reordering the array. + Returning an array containing null references (Nothing in Visual Basic) is not legal, + and will result in a runtime exception. + </remarks> + <seealso cref="T:Castle.DynamicProxy.ProxyGenerationOptions"/> + </member> <member name="M:Castle.DynamicProxy.InternalsHelper.IsInternalToDynamicProxy(System.Reflection.Assembly)"> <summary> Determines whether this assembly has internals visible to dynamic proxy. Modified: trunk/nhibernate/lib/net/3.5/nunit.core.dll =================================================================== (Binary files differ) Modified: trunk/nhibernate/lib/net/3.5/nunit.framework.dll =================================================================== (Binary files differ) Modified: trunk/nhibernate/src/NHibernate.Everything.sln =================================================================== --- trunk/nhibernate/src/NHibernate.Everything.sln 2009-05-15 22:59:12 UTC (rev 4323) +++ trunk/nhibernate/src/NHibernate.Everything.sln 2009-05-16 00:59:51 UTC (rev 4324) @@ -78,7 +78,7 @@ Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "NHibernate.Example.Web", "NHibernate.Example.Web\", "{C5D6EE68-1760-4F97-AD31-42343593D8C1}" ProjectSection(WebsiteProperties) = preProject TargetFramework = "2.0" - ProjectReferences = "{5909BFE7-93CF-4E5F-BE22-6293368AF01D}|NHibernate.dll;" + ProjectReferences = "{5909BFE7-93CF-4E5F-BE22-6293368AF01D}|NHibernate.dll;{8289D6AD-9714-42D3-A94D-D4D9814D1281}|NHibernate.ByteCode.LinFu.dll;" Debug.AspNetCompiler.VirtualPath = "/NHibernate.Example.Web" Debug.AspNetCompiler.PhysicalPath = "NHibernate.Example.Web\" Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\NHibernate.Example.Web\" Modified: trunk/nhibernate/src/NHibernate.Example.Web/Web.Config =================================================================== --- trunk/nhibernate/src/NHibernate.Example.Web/Web.Config 2009-05-15 22:59:12 UTC (rev 4323) +++ trunk/nhibernate/src/NHibernate.Example.Web/Web.Config 2009-05-16 00:59:51 UTC (rev 4324) @@ -59,7 +59,8 @@ <property name="connection.connection_string"> Server=(local);initial catalog=nhibernate;Integrated Security=true </property> - <property name="dialect">NHibernate.Dialect.MsSql2000Dialect</property> + <property name="dialect">NHibernate.Dialect.MsSql2005Dialect</property> + <property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property> <property name="current_session_context_class">managed_web</property> <property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property> </session-factory> Modified: trunk/nhibernate/src/NHibernate.Examples/App.config =================================================================== --- trunk/nhibernate/src/NHibernate.Examples/App.config 2009-05-15 22:59:12 UTC (rev 4323) +++ trunk/nhibernate/src/NHibernate.Examples/App.config 2009-05-16 00:59:51 UTC (rev 4324) @@ -16,7 +16,10 @@ Server=(local);initial catalog=nhibernate;Integrated Security=SSPI </property> <property name="show_sql">true</property> - <property name="dialect">NHibernate.Dialect.MsSql2000Dialect</property> + <property name="dialect">NHibernate.Dialect.MsSql2005Dialect</property> + <property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property> + + <property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property> </session-factory> </hibernate-configuration> Modified: trunk/nhibernate/src/NHibernate.Examples/NHibernate.Examples.csproj =================================================================== --- trunk/nhibernate/src/NHibernate.Examples/NHibernate.Examples.csproj 2009-05-15 22:59:12 UTC (rev 4323) +++ trunk/nhibernate/src/NHibernate.Examples/NHibernate.Examples.csproj 2009-05-16 00:59:51 UTC (rev 4324) @@ -167,6 +167,10 @@ <EmbeddedResource Include="QuickStart\User.hbm.xml" /> </ItemGroup> <ItemGroup> + <ProjectReference Include="..\NHibernate.ByteCode.LinFu\NHibernate.ByteCode.LinFu.csproj"> + <Project>{8289D6AD-9714-42D3-A94D-D4D9814D1281}</Project> + <Name>NHibernate.ByteCode.LinFu</Name> + </ProjectReference> <ProjectReference Include="..\NHibernate\NHibernate.csproj"> <Project>{5909BFE7-93CF-4E5F-BE22-6293368AF01D}</Project> <Name>NHibernate</Name> Modified: trunk/nhibernate/src/NHibernate.Test.Performance/App.config =================================================================== --- trunk/nhibernate/src/NHibernate.Test.Performance/App.config 2009-05-15 22:59:12 UTC (rev 4323) +++ trunk/nhibernate/src/NHibernate.Test.Performance/App.config 2009-05-16 00:59:51 UTC (rev 4324) @@ -33,11 +33,12 @@ <property name="connection.connection_string"> Server=(local);initial catalog=nhibernate;Integrated Security=SSPI </property> - <property name="show_sql">false</property> - <property name="dialect">NHibernate.Dialect.MsSql2000Dialect</property> + <property name="dialect">NHibernate.Dialect.MsSql2005Dialect</property> <property name="use_outer_join">true</property> <property name="command_timeout">444</property> <property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property> + + <property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property> </session-factory> </hibernate-configuration> Modified: trunk/nhibernate/src/NHibernate.Test.Performance/NHibernate.Test.Performance.csproj =================================================================== --- trunk/nhibernate/src/NHibernate.Test.Performance/NHibernate.Test.Performance.csproj 2009-05-15 22:59:12 UTC (rev 4323) +++ trunk/nhibernate/src/NHibernate.Test.Performance/NHibernate.Test.Performance.csproj 2009-05-16 00:59:51 UTC (rev 4324) @@ -66,6 +66,10 @@ <None Include="NHibernate.Test.Performance.nunit" /> </ItemGroup> <ItemGroup> + <ProjectReference Include="..\NHibernate.ByteCode.LinFu\NHibernate.ByteCode.LinFu.csproj"> + <Project>{8289D6AD-9714-42D3-A94D-D4D9814D1281}</Project> + <Name>NHibernate.ByteCode.LinFu</Name> + </ProjectReference> <ProjectReference Include="..\NHibernate.DomainModel\NHibernate.DomainModel.csproj"> <Project>{5C649B55-1B3F-4C38-9998-1B043E94A244}</Project> <Name>NHibernate.DomainModel</Name> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |