You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
(248) |
May
(82) |
Jun
(90) |
Jul
(177) |
Aug
(253) |
Sep
(157) |
Oct
(151) |
Nov
(143) |
Dec
(278) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(152) |
Feb
(107) |
Mar
(177) |
Apr
(133) |
May
(259) |
Jun
(81) |
Jul
(119) |
Aug
(306) |
Sep
(416) |
Oct
(240) |
Nov
(329) |
Dec
(206) |
2006 |
Jan
(466) |
Feb
(382) |
Mar
(153) |
Apr
(162) |
May
(133) |
Jun
(21) |
Jul
(18) |
Aug
(37) |
Sep
(97) |
Oct
(114) |
Nov
(110) |
Dec
(28) |
2007 |
Jan
(74) |
Feb
(65) |
Mar
(49) |
Apr
(76) |
May
(43) |
Jun
(15) |
Jul
(68) |
Aug
(55) |
Sep
(63) |
Oct
(59) |
Nov
(70) |
Dec
(66) |
2008 |
Jan
(71) |
Feb
(60) |
Mar
(120) |
Apr
(31) |
May
(48) |
Jun
(81) |
Jul
(107) |
Aug
(51) |
Sep
(80) |
Oct
(83) |
Nov
(83) |
Dec
(79) |
2009 |
Jan
(83) |
Feb
(110) |
Mar
(97) |
Apr
(91) |
May
(291) |
Jun
(250) |
Jul
(197) |
Aug
(58) |
Sep
(54) |
Oct
(122) |
Nov
(68) |
Dec
(34) |
2010 |
Jan
(50) |
Feb
(17) |
Mar
(63) |
Apr
(61) |
May
(84) |
Jun
(81) |
Jul
(138) |
Aug
(144) |
Sep
(78) |
Oct
(26) |
Nov
(30) |
Dec
(61) |
2011 |
Jan
(33) |
Feb
(35) |
Mar
(166) |
Apr
(221) |
May
(109) |
Jun
(76) |
Jul
(27) |
Aug
(37) |
Sep
(1) |
Oct
(4) |
Nov
(2) |
Dec
(1) |
2012 |
Jan
|
Feb
|
Mar
(2) |
Apr
(2) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2013 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
(3) |
Oct
(2) |
Nov
|
Dec
(1) |
2014 |
Jan
(1) |
Feb
(1) |
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Michael D. <mik...@us...> - 2004-08-11 11:49:42
|
Update of /cvsroot/nhibernate/nhibernate In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8226 Modified Files: releasenotes.txt Log Message: Another minor tweak Index: releasenotes.txt =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/releasenotes.txt,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** releasenotes.txt 10 Aug 2004 23:42:36 -0000 1.7 --- releasenotes.txt 11 Aug 2004 11:49:17 -0000 1.8 *************** *** 6,11 **** - ConnectionProvider uses settings passed to it by ConnectionProviderFactory instead of default settings. - Hbm2Net moved from NHibernate folder to its own folder and NAnt Tasks for it contributed by Kevin Williams. ! - Adding properties to Cfg instead of using app.config/web.config or hbm.cfg.xml now supported. ! - In hbm.cfg.xml, an assembly where the resource can be found is now needed - ie: <mapping resource="" assembly="" />. - nhibernate-configuration-2.0.xsd schema was updated to .net friendly names and all cfg.xml files are now validated. - Fixed bug with classes having dynamic-insert and dynamic-update causing IndexOutOfRangeExceptions. --- 6,11 ---- - ConnectionProvider uses settings passed to it by ConnectionProviderFactory instead of default settings. - Hbm2Net moved from NHibernate folder to its own folder and NAnt Tasks for it contributed by Kevin Williams. ! - Adding properties to Cfg instead of using app.config/web.config or cfg.xml now supported. ! - In cfg.xml, an assembly where the resource can be found is now needed - ie: <mapping resource="" assembly="" />. - nhibernate-configuration-2.0.xsd schema was updated to .net friendly names and all cfg.xml files are now validated. - Fixed bug with classes having dynamic-insert and dynamic-update causing IndexOutOfRangeExceptions. *************** *** 22,26 **** - Fixed bug with sending a one-to-many collection to be updated that involves inserting a new row. - PreAlpha Build 6 ======================== --- 22,25 ---- |
From: Michael D. <mik...@us...> - 2004-08-11 11:46:44
|
Update of /cvsroot/nhibernate/nhibernate In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7798/nhibernate Modified Files: NHibernateSolution.build Log Message: Getting an error while deleting the build.dir from my machine. Only a clean up step and not needed for the build to be considered succesful. Index: NHibernateSolution.build =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/NHibernateSolution.build,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** NHibernateSolution.build 10 Aug 2004 16:40:43 -0000 1.9 --- NHibernateSolution.build 11 Aug 2004 11:46:33 -0000 1.10 *************** *** 303,307 **** <!-- delete the directory that was used to create the zip --> ! <delete dir="${build.dir}" /> <echo message="Create a '${project.config}' package as file://${project.zip-path}" /> --- 303,307 ---- <!-- delete the directory that was used to create the zip --> ! <!--<delete dir="${build.dir}" />--> <echo message="Create a '${project.config}' package as file://${project.zip-path}" /> |
From: Michael D. <mik...@us...> - 2004-08-10 23:42:47
|
Update of /cvsroot/nhibernate/nhibernate In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29434/nhibernate Modified Files: releasenotes.txt Log Message: Updated the Serializing a Session item. Index: releasenotes.txt =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/releasenotes.txt,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** releasenotes.txt 10 Aug 2004 17:35:20 -0000 1.6 --- releasenotes.txt 10 Aug 2004 23:42:36 -0000 1.7 *************** *** 19,23 **** - Added ObjectType to TypeFactory and NHibernate. - Fixed problem with hql subselects referencing a class in main query. ! - Session is now Serializable. - Fixed bug with sending a one-to-many collection to be updated that involves inserting a new row. --- 19,23 ---- - Added ObjectType to TypeFactory and NHibernate. - Fixed problem with hql subselects referencing a class in main query. ! - Limited support for Serializing a Session. Sometimes a Refresh() is needed after Deserialization. - Fixed bug with sending a one-to-many collection to be updated that involves inserting a new row. |
From: Michael D. <mik...@us...> - 2004-08-10 17:35:29
|
Update of /cvsroot/nhibernate/nhibernate In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23523 Modified Files: readme.html releasenotes.txt Log Message: minor changes in prep for build. Index: readme.html =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/readme.html,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** readme.html 23 Jul 2004 13:21:49 -0000 1.10 --- readme.html 10 Aug 2004 17:35:20 -0000 1.11 *************** *** 21,29 **** <p> We will ride the coat tails of Hibernate's excellent documentation for a while. ! The Hibernate documentation for the version we are porting can be found at ! <a href="http://nhibernate.sourceforge.net/h2.0.3-docs/reference/html/"> http://nhibernate.sourceforge.net/h2.0.3-docs/reference/html/ </a>. ! The first few docs will be describing the subtle differences ! between NHibernate and Hibernate - including the features found in Hibernate ! that have not been developed in NHibernate (yet). </p> <h2>Bug Reports</h2> --- 21,29 ---- <p> We will ride the coat tails of Hibernate's excellent documentation for a while. ! The Hibernate documentation for the version we are porting can be found at <a href="http://nhibernate.sourceforge.net/h2.0.3-docs/reference/html/"> ! http://nhibernate.sourceforge.net/h2.0.3-docs/reference/html/ </a>. The ! first few docs will be describing the subtle differences between NHibernate and ! Hibernate - including the features found in Hibernate that have not been ! developed in NHibernate (yet). </p> <h2>Bug Reports</h2> *************** *** 39,43 **** </p> <p> ! This product includes software developed by the Apache Software Foundation (http://www.apache.org/). </p> --- 39,43 ---- </p> <p> ! This product uses software developed by the Apache Software Foundation (http://www.apache.org/). </p> *************** *** 57,59 **** </body> </html> - --- 57,58 ---- Index: releasenotes.txt =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/releasenotes.txt,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** releasenotes.txt 9 Aug 2004 21:11:53 -0000 1.5 --- releasenotes.txt 10 Aug 2004 17:35:20 -0000 1.6 *************** *** 1,7 **** PreAlpha Build 0.1.0.0 ======================== - Many more Tests implemented. - Added Examples into CVS and zip. ! - ConnectionProvider use settings passed to it by ConnectionProviderFactory instead of default settings. - Hbm2Net moved from NHibernate folder to its own folder and NAnt Tasks for it contributed by Kevin Williams. - Adding properties to Cfg instead of using app.config/web.config or hbm.cfg.xml now supported. --- 1,8 ---- PreAlpha Build 0.1.0.0 ======================== + - NHibernate and HashCodeProvider are now strong named assemblies. The key used to sign the assemblies is not in CVS. - Many more Tests implemented. - Added Examples into CVS and zip. ! - ConnectionProvider uses settings passed to it by ConnectionProviderFactory instead of default settings. - Hbm2Net moved from NHibernate folder to its own folder and NAnt Tasks for it contributed by Kevin Williams. - Adding properties to Cfg instead of using app.config/web.config or hbm.cfg.xml now supported. |
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Tool/hbm2net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21391 Removed Files: AbstractRenderer.cs BasicRenderer.cs ClassMapping.cs ClassName.cs CodeGenerator.cs DOMRenderer.cs FieldProperty.cs FinderRenderer.cs Generator.cs JavaTool.cs MappingElement.cs MetaAttributeHelper.cs MethodSignatureBuilder.cs QueryBuilder.cs Renderer.cs StringResourceLoader.cs SupportClass.cs VelocityRenderer.cs convert.vm Log Message: Files were moved to NHibernate.Tool.hbm2net --- Renderer.cs DELETED --- --- MetaAttributeHelper.cs DELETED --- --- FinderRenderer.cs DELETED --- --- ClassName.cs DELETED --- --- CodeGenerator.cs DELETED --- --- Generator.cs DELETED --- --- BasicRenderer.cs DELETED --- --- JavaTool.cs DELETED --- --- FieldProperty.cs DELETED --- --- ClassMapping.cs DELETED --- --- QueryBuilder.cs DELETED --- --- MappingElement.cs DELETED --- --- MethodSignatureBuilder.cs DELETED --- --- DOMRenderer.cs DELETED --- --- convert.vm DELETED --- --- VelocityRenderer.cs DELETED --- --- AbstractRenderer.cs DELETED --- --- SupportClass.cs DELETED --- --- StringResourceLoader.cs DELETED --- |
From: Michael D. <mik...@us...> - 2004-08-10 16:40:52
|
Update of /cvsroot/nhibernate/nhibernate In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12222 Modified Files: NHibernateSolution.build Log Message: Updated build files for dynamically generating AssemblyInfo.cs files. Index: NHibernateSolution.build =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/NHibernateSolution.build,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** NHibernateSolution.build 25 Jul 2004 11:46:05 -0000 1.8 --- NHibernateSolution.build 10 Aug 2004 16:40:43 -0000 1.9 *************** *** 6,13 **** xmlns="http://nant.sf.net/schemas/nant-0.84.win32.net-1.0.xsd" > ! ! <!-- global project settings --> <property name="project.name" value="nhibernate" /> ! <property name="project.version" value="0.0.5000.6" /> <!-- default configuration --> --- 6,26 ---- xmlns="http://nant.sf.net/schemas/nant-0.84.win32.net-1.0.xsd" > ! <!-- ! Use this to determine if the key file NHibernate.key should be used to ! sign the Assemblies. This defaults to false since users doing their own ! build have _no_ copy of the private key. If they do their own private ! builds then they should make their own key ! --> ! <property name="sign" value="false" /> ! ! <!-- ! These are used to set the correct Attributes in AssemblyInfo.cs. ! --> <property name="project.name" value="nhibernate" /> ! <property name="project.version.major" value="0" /> ! <property name="project.version.minor" value="1" /> ! <property name="project.version.build" value="0" /> ! <property name="project.version.revision" value="0" /> ! <property name="project.version" value="${project.version.major}.${project.version.minor}.${project.version.build}.${project.version.revision}" /> <!-- default configuration --> *************** *** 22,26 **** <property name="build.debug" value="true" /> <property name="build.name" value="${project.name}-${project.version}-${project.config}" /> ! <property name="build.dir" value="${nant.project.basedir}/build/${build.name}" /> </target> --- 35,39 ---- <property name="build.debug" value="true" /> <property name="build.name" value="${project.name}-${project.version}-${project.config}" /> ! <property name="build.dir" value="${nant.project.basedir}/build/${project.name}-${project.version}" /> </target> *************** *** 29,33 **** <property name="build.debug" value="false" /> <property name="build.name" value="${project.name}-${project.version}" /> ! <property name="build.dir" value="${nant.project.basedir}/build/${build.name}" /> </target> --- 42,46 ---- <property name="build.debug" value="false" /> <property name="build.name" value="${project.name}-${project.version}" /> ! <property name="build.dir" value="${nant.project.basedir}/build/${project.name}-${project.version}" /> </target> *************** *** 256,260 **** </target> - <target name="package" depends="test sdkdoc" description="Creates Zip files for the File Release System on SourceForge"> <copy todir="${build.dir}"> --- 269,272 ---- *************** *** 276,279 **** --- 288,294 ---- <excludes name="**/bin/**" /> <excludes name="**/obj/**" /> + + <!-- exclude any keys that exist on the build machine --> + <excludes name="**/*.snk" /> </fileset> *************** *** 287,290 **** --- 302,308 ---- </zip> + <!-- delete the directory that was used to create the zip --> + <delete dir="${build.dir}" /> + <echo message="Create a '${project.config}' package as file://${project.zip-path}" /> |
From: Michael D. <mik...@us...> - 2004-08-10 16:40:24
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Tool.hbm2net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12079/src/NHibernate.Tool.hbm2net Modified Files: NHibernate.Tool.hbm2net.build Log Message: Updated build files for dynamically generating AssemblyInfo.cs files. Index: NHibernate.Tool.hbm2net.build =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Tool.hbm2net/NHibernate.Tool.hbm2net.build,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NHibernate.Tool.hbm2net.build 25 Jul 2004 11:41:03 -0000 1.1 --- NHibernate.Tool.hbm2net.build 10 Aug 2004 16:40:15 -0000 1.2 *************** *** 12,19 **** --- 12,42 ---- * build.debug - (true|false) debug build? * current.build.defines - framework-specific build defines + * project.version - full project version + * project.version.major - the major number of the build + * project.version.minor - the minor number of the build + * project.version.build - the build number --> <target name="build" description="Tool to Generate Classes from hbm.xml files."> + <!-- ensure the AssemblyInfo is writable --> + <attrib file="AssemblyInfo.cs" readonly="false" /> + <asminfo output="AssemblyInfo.cs" language="CSharp"> + <imports> + <import name="System.Reflection" /> + <import name="System.Runtime.CompilerServices" /> + </imports> + <attributes> + <attribute type="AssemblyTitleAttribute" value="${nant.project.name} for ${current.runtime.description}" /> + <attribute type="AssemblyDescriptionAttribute" value="Tool to Generate Classes from hbm.xml files." /> + <attribute type="AssemblyCompanyAttribute" value="nhibernate.sourceforge.net" /> + <attribute type="AssemblyProductAttribute" value="${nant.project.name}" /> + <attribute type="AssemblyCopyrightAttribute" value="Licensed under LGPL." /> + <attribute type="AssemblyVersionAttribute" value="${project.version}" /> + <attribute type="AssemblyInformationalVersionAttribute" value="${project.version.major}.${project.version.minor}" /> + <attribute type="AssemblyFileVersionAttribute" value="${project.version}" /> + <attribute type="AssemblyDelaySignAttribute" value="false" /> + </attributes> + </asminfo> <csc |
From: Michael D. <mik...@us...> - 2004-08-10 16:40:24
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12079/src/NHibernate.Test Modified Files: NHibernate.Test.build Log Message: Updated build files for dynamically generating AssemblyInfo.cs files. Index: NHibernate.Test.build =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/NHibernate.Test.build,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** NHibernate.Test.build 25 Jul 2004 11:44:42 -0000 1.6 --- NHibernate.Test.build 10 Aug 2004 16:40:15 -0000 1.7 *************** *** 11,18 **** * build.debug - (true|false) debug build? * current.build.defines - framework-specific build defines --> <target name="build"> ! <csc target="library" --- 11,42 ---- * build.debug - (true|false) debug build? * current.build.defines - framework-specific build defines + * project.version - full project version + * project.version.major - the major number of the build + * project.version.minor - the minor number of the build + * project.version.build - the build number --> <target name="build"> ! <!-- ensure the AssemblyInfo is writable --> ! <attrib file="AssemblyInfo.cs" readonly="false" /> ! ! <asminfo output="AssemblyInfo.cs" language="CSharp"> ! <imports> ! <import name="System.Reflection" /> ! <import name="System.Runtime.CompilerServices" /> ! </imports> ! <attributes> ! <attribute type="AssemblyTitleAttribute" value="${nant.project.name} for ${current.runtime.description}" /> ! <attribute type="AssemblyDescriptionAttribute" value="The Unit Tests for NHibernate." /> ! <attribute type="AssemblyCompanyAttribute" value="nhibernate.sourceforge.net" /> ! <attribute type="AssemblyProductAttribute" value="${nant.project.name}" /> ! <attribute type="AssemblyCopyrightAttribute" value="Licensed under LGPL." /> ! <attribute type="AssemblyVersionAttribute" value="${project.version}" /> ! <attribute type="AssemblyInformationalVersionAttribute" value="${project.version.major}.${project.version.minor}" /> ! <attribute type="AssemblyFileVersionAttribute" value="${project.version}" /> ! <attribute type="AssemblyDelaySignAttribute" value="false" /> ! </attributes> ! </asminfo> ! <csc target="library" |
From: Michael D. <mik...@us...> - 2004-08-10 16:40:24
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Tasks In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12079/src/NHibernate.Tasks Modified Files: NHibernate.Tasks.build Log Message: Updated build files for dynamically generating AssemblyInfo.cs files. Index: NHibernate.Tasks.build =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Tasks/NHibernate.Tasks.build,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NHibernate.Tasks.build 25 Jul 2004 11:41:34 -0000 1.1 --- NHibernate.Tasks.build 10 Aug 2004 16:40:15 -0000 1.2 *************** *** 10,16 **** --- 10,40 ---- * build.debug - (true|false) debug build? * current.build.defines - framework-specific build defines + * project.version - full project version + * project.version.major - the major number of the build + * project.version.minor - the minor number of the build + * project.version.build - the build number --> <target name="build" description="NAnt Tasks that use NHibernate's Toolset."> + <!-- ensure the AssemblyInfo is writable --> + <attrib file="AssemblyInfo.cs" readonly="false" /> + + <asminfo output="AssemblyInfo.cs" language="CSharp"> + <imports> + <import name="System.Reflection" /> + <import name="System.Runtime.CompilerServices" /> + </imports> + <attributes> + <attribute type="AssemblyTitleAttribute" value="${nant.project.name} for ${current.runtime.description}" /> + <attribute type="AssemblyDescriptionAttribute" value="NAnt Tasks for NHibernate Tools." /> + <attribute type="AssemblyCompanyAttribute" value="nhibernate.sourceforge.net" /> + <attribute type="AssemblyProductAttribute" value="${nant.project.name}" /> + <attribute type="AssemblyCopyrightAttribute" value="Licensed under LGPL." /> + <attribute type="AssemblyVersionAttribute" value="${project.version}" /> + <attribute type="AssemblyInformationalVersionAttribute" value="${project.version.major}.${project.version.minor}" /> + <attribute type="AssemblyFileVersionAttribute" value="${project.version}" /> + <attribute type="AssemblyDelaySignAttribute" value="false" /> + </attributes> + </asminfo> <csc |
From: Michael D. <mik...@us...> - 2004-08-10 16:40:24
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12079/src/NHibernate.DomainModel Modified Files: NHibernate.DomainModel.build Log Message: Updated build files for dynamically generating AssemblyInfo.cs files. Index: NHibernate.DomainModel.build =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/NHibernate.DomainModel.build,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** NHibernate.DomainModel.build 25 Jul 2004 11:44:08 -0000 1.3 --- NHibernate.DomainModel.build 10 Aug 2004 16:40:14 -0000 1.4 *************** *** 12,17 **** --- 12,41 ---- * build.debug - (true|false) debug build? * current.build.defines - framework-specific build defines + * project.version - full project version + * project.version.major - the major number of the build + * project.version.minor - the minor number of the build + * project.version.build - the build number --> <target name="build" description="Build the DomainModel that will be used by the Tests"> + <!-- ensure the AssemblyInfo is writable --> + <attrib file="AssemblyInfo.cs" readonly="false" /> + + <asminfo output="AssemblyInfo.cs" language="CSharp"> + <imports> + <import name="System.Reflection" /> + <import name="System.Runtime.CompilerServices" /> + </imports> + <attributes> + <attribute type="AssemblyTitleAttribute" value="${nant.project.name} for ${current.runtime.description}" /> + <attribute type="AssemblyDescriptionAttribute" value="The Domain Model used by the Unit Tests." /> + <attribute type="AssemblyCompanyAttribute" value="nhibernate.sourceforge.net" /> + <attribute type="AssemblyProductAttribute" value="${nant.project.name}" /> + <attribute type="AssemblyCopyrightAttribute" value="Licensed under LGPL." /> + <attribute type="AssemblyVersionAttribute" value="${project.version}" /> + <attribute type="AssemblyInformationalVersionAttribute" value="${project.version.major}.${project.version.minor}" /> + <attribute type="AssemblyFileVersionAttribute" value="${project.version}" /> + <attribute type="AssemblyDelaySignAttribute" value="false" /> + </attributes> + </asminfo> <csc |
From: Michael D. <mik...@us...> - 2004-08-10 16:40:23
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12079/src/NHibernate Modified Files: nhibernate.build Log Message: Updated build files for dynamically generating AssemblyInfo.cs files. Index: nhibernate.build =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/nhibernate.build,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** nhibernate.build 22 Jul 2004 13:35:02 -0000 1.12 --- nhibernate.build 10 Aug 2004 16:40:14 -0000 1.13 *************** *** 12,20 **** --- 12,50 ---- * build.debug - (true|false) debug build? * current.build.defines - framework-specific build defines + * project.version - full project version + * project.version.major - the major number of the build + * project.version.minor - the minor number of the build + * project.version.build - the build number + * sign - indicates if the Assembly should be signed --> + <property name="keyFile" value="" /> <target name="build" description="Build NHibernate"> + <!-- ensure the AssemblyInfo is writable --> + <attrib file="AssemblyInfo.cs" readonly="false" /> + <if propertytrue="sign"> + <property name="keyFile" value="..\NHibernate.snk" /> + </if> + + <asminfo output="AssemblyInfo.cs" language="CSharp"> + <imports> + <import name="System.Reflection" /> + <import name="System.Runtime.CompilerServices" /> + </imports> + <attributes> + <attribute type="AssemblyTitleAttribute" value="${nant.project.name} for ${current.runtime.description}" /> + <attribute type="AssemblyDescriptionAttribute" value="An object persistence library for relational databases." /> + <attribute type="AssemblyCompanyAttribute" value="nhibernate.sourceforge.net" /> + <attribute type="AssemblyProductAttribute" value="${nant.project.name}" /> + <attribute type="AssemblyCopyrightAttribute" value="Licensed under LGPL." /> + <attribute type="AssemblyVersionAttribute" value="${project.version}" /> + <attribute type="AssemblyInformationalVersionAttribute" value="${project.version.major}.${project.version.minor}" /> + <attribute type="AssemblyFileVersionAttribute" value="${project.version}" /> + <attribute type="AssemblyKeyFileAttribute" value="${keyFile}" /> + </attributes> + </asminfo> + <csc target="library" |
From: Michael D. <mik...@us...> - 2004-08-10 16:15:51
|
Update of /cvsroot/nhibernate/nhibernate/external-bin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7092/external-bin Modified Files: HashCodeProvider.dll Log Message: HashCodeProvider is now signed. Index: HashCodeProvider.dll =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/external-bin/HashCodeProvider.dll,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvstsZr6M and /tmp/cvsobPm8f differ |
From: Michael D. <mik...@us...> - 2004-08-10 16:14:56
|
Update of /cvsroot/nhibernate/nhibernate/src/HashCodeProvider In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6822/src/HashCodeProvider Modified Files: HashCodeProvider.build Log Message: Added /key switch. Did not make this capable of building without a key because I don't see why anyone would need to rebuild this. If they know what they are doing with IL then I assume they know how to edit nant or just use the command line since there is only 1 file. Index: HashCodeProvider.build =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/HashCodeProvider/HashCodeProvider.build,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HashCodeProvider.build 22 Jul 2004 13:30:01 -0000 1.1 --- HashCodeProvider.build 10 Aug 2004 16:14:47 -0000 1.2 *************** *** 10,14 **** <exec program="${nant.settings.currentframework.frameworkdirectory}\ilasm" ! commandline="HashCodeProvider.il /dll /output:..\..\external-bin\HashCodeProvider.dll" /> <copy file="HashCodeProvider.license.txt" todir="../../external-bin" /> --- 10,14 ---- <exec program="${nant.settings.currentframework.frameworkdirectory}\ilasm" ! commandline="HashCodeProvider.il /dll /output:..\..\external-bin\HashCodeProvider.dll /key:..\NHibernate.snk" /> <copy file="HashCodeProvider.license.txt" todir="../../external-bin" /> |
From: Michael D. <mik...@us...> - 2004-08-10 16:12:19
|
Update of /cvsroot/nhibernate/nhibernate/src/HashCodeProvider In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6364/src/HashCodeProvider Modified Files: HashCodeProvider.il Log Message: Remove attributes dealing with Keys and Signing. Index: HashCodeProvider.il =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/HashCodeProvider/HashCodeProvider.il,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** HashCodeProvider.il 9 Aug 2004 03:16:09 -0000 1.2 --- HashCodeProvider.il 10 Aug 2004 16:12:09 -0000 1.3 *************** *** 6,12 **** .assembly HashCodeProvider { - .custom instance void [mscorlib]System.Reflection.AssemblyKeyNameAttribute::.ctor(string) = ( 01 00 00 00 00 ) - .custom instance void [mscorlib]System.Reflection.AssemblyKeyFileAttribute::.ctor(string) = ( 01 00 00 00 00 ) - .custom instance void [mscorlib]System.Reflection.AssemblyDelaySignAttribute::.ctor(bool) = ( 01 00 00 00 00 ) .custom instance void [mscorlib]System.Reflection.AssemblyFileVersionAttribute::.ctor(string) = ( 01 00 05 31 2E 30 2E 30 00 00 ) // ...1.0.0.. .custom instance void [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute::.ctor(string) = ( 01 00 03 31 2E 30 00 00 ) // ...1.0.. --- 6,9 ---- |
From: Michael D. <mik...@us...> - 2004-08-10 15:58:20
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3699 Removed Files: NHibernate.snk Log Message: This is an old key that was used for some testing. The snk for NHibernate is not going to be in cvs. The build file defaults to not signing NHibernate unless the "sign" property is set to "true". --- NHibernate.snk DELETED --- |
From: Michael D. <mik...@us...> - 2004-08-09 21:12:02
|
Update of /cvsroot/nhibernate/nhibernate In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26549 Modified Files: releasenotes.txt Log Message: preparing for next build. Index: releasenotes.txt =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/releasenotes.txt,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** releasenotes.txt 23 Jul 2004 13:21:50 -0000 1.4 --- releasenotes.txt 9 Aug 2004 21:11:53 -0000 1.5 *************** *** 1,2 **** --- 1,25 ---- + PreAlpha Build 0.1.0.0 + ======================== + - Many more Tests implemented. + - Added Examples into CVS and zip. + - ConnectionProvider use settings passed to it by ConnectionProviderFactory instead of default settings. + - Hbm2Net moved from NHibernate folder to its own folder and NAnt Tasks for it contributed by Kevin Williams. + - Adding properties to Cfg instead of using app.config/web.config or hbm.cfg.xml now supported. + - In hbm.cfg.xml, an assembly where the resource can be found is now needed - ie: <mapping resource="" assembly="" />. + - nhibernate-configuration-2.0.xsd schema was updated to .net friendly names and all cfg.xml files are now validated. + - Fixed bug with classes having dynamic-insert and dynamic-update causing IndexOutOfRangeExceptions. + - Modified length of string for CultureInfoType. + - Added Firebird fixes contributed by Carlos Guzmán Álvarez. + - Changed TimestampType.Set to behaive like hibernate. Will not write a null value anymore - instead replaces it with DateTime.Now. + - Removed IVersionType interface from DecimalType. + - Add PropertyExpressions contributed by Carlos Guzmán Álvarez. + - Fixed bug with referencing joined classes properties in hql. + - Fixed IndexOutOfRangeException with NormalizedEntityPersister for versioned entities. + - Added ObjectType to TypeFactory and NHibernate. + - Fixed problem with hql subselects referencing a class in main query. + - Session is now Serializable. + - Fixed bug with sending a one-to-many collection to be updated that involves inserting a new row. + + PreAlpha Build 6 ======================== |
From: Michael D. <mik...@us...> - 2004-08-09 18:45:03
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30029/NHibernate.Test Modified Files: FooBarTest.cs Log Message: Finished [Test] that had Serialization code in it. Index: FooBarTest.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/FooBarTest.cs,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -d -r1.53 -r1.54 *** FooBarTest.cs 6 Aug 2004 14:50:34 -0000 1.53 --- FooBarTest.cs 9 Aug 2004 18:44:54 -0000 1.54 *************** *** 1113,1124 **** baz = (Baz)s.Find("select baz from baz in class NHibernate.DomainModel.Baz order by baz")[0]; Assert.AreEqual( 2, baz.StringSet.Count ); ! int i = 0; foreach(string key in baz.StringSet.Keys ) { // h2.0.3 doesn't have this because the Set has a first() and last() method ! i++; ! if(i==1) Assert.AreEqual( "one", key ); ! if(i==2) Assert.AreEqual( "two", key ); ! if(i>2) Assert.Fail("should not be more than 2 items in StringSet"); } Assert.AreEqual( 5, baz.Bag.Count ); --- 1113,1124 ---- baz = (Baz)s.Find("select baz from baz in class NHibernate.DomainModel.Baz order by baz")[0]; Assert.AreEqual( 2, baz.StringSet.Count ); ! int index = 0; foreach(string key in baz.StringSet.Keys ) { // h2.0.3 doesn't have this because the Set has a first() and last() method ! index++; ! if(index==1) Assert.AreEqual( "one", key ); ! if(index==2) Assert.AreEqual( "two", key ); ! if(index>2) Assert.Fail("should not be more than 2 items in StringSet"); } Assert.AreEqual( 5, baz.Bag.Count ); *************** *** 1140,1144 **** GlarchProxy g = new Glarch(); s.Save(g); ! baz.TopGlarchez['g'] = g; Hashtable map = new Hashtable(); map[bar] = g; --- 1140,1144 ---- GlarchProxy g = new Glarch(); s.Save(g); ! baz.TopGlarchez['G'] = g; Hashtable map = new Hashtable(); map[bar] = g; *************** *** 1175,1179 **** enumer = baz.FooToGlarch.Keys.GetEnumerator(); ! for( int j=0; j<2; j++ ) { enumer.MoveNext(); --- 1175,1179 ---- enumer = baz.FooToGlarch.Keys.GetEnumerator(); ! for( int i=0; i<2; i++ ) { enumer.MoveNext(); *************** *** 1202,1207 **** s.Disconnect(); ! //TODO: add test for deserialization of ISession here! s.Close(); } --- 1202,1281 ---- s.Disconnect(); ! // serialize and then deserialize the session. ! System.IO.Stream stream = new System.IO.MemoryStream(); ! System.Runtime.Serialization.IFormatter formatter = new System.Runtime.Serialization.Formatters.Binary.BinaryFormatter(); ! formatter.Serialize(stream, s); ! stream.Position = 0; ! s = (ISession)formatter.Deserialize(stream); ! stream.Close(); ! ! s.Reconnect(); ! baz = (Baz)s.Load( typeof(Baz), baz.Code ); ! s.Delete(baz); ! s.Delete(baz.TopGlarchez['G']); ! s.Delete(baz.TopGlarchez['H']); ! ! IDbCommand cmd = s.Connection.CreateCommand(); ! cmd.CommandText = "update " + dialect.QuoteForTableName("glarchez") + " set baz_map_id=null where baz_map_index='a'"; ! int rows = cmd.ExecuteNonQuery(); ! Assert.AreEqual( 1, rows ); ! Assert.AreEqual( 1, s.Delete("from bar in class NHibernate.DomainModel.Bar") ); ! FooProxy[] arr = baz.FooArray; ! Assert.AreEqual( 4, arr.Length ); ! Assert.AreEqual( foo.Key, arr[1].Key ); ! for(int i=0; i<arr.Length; i++) ! { ! if(arr[i]!=null) ! { ! s.Delete(arr[i]); ! } ! } ! ! //TODO: once proxies is implemented get rid of the try-catch and notFound ! bool notFound = false; ! try ! { ! s.Load( typeof(Qux), (long)666 ); //nonexistent ! } ! catch(ObjectNotFoundException onfe) ! { ! notFound = true; ! Assert.IsNotNull(onfe, "should not find a Qux with id of 666 when Proxies are not implemented."); ! } ! Assert.IsTrue( ! notFound, ! "without proxies working - an ObjectNotFoundException should have been thrown. " + ! "If Proxies are implemented then you need to change this code" ! ); + Assert.AreEqual( 1, s.Delete("from g in class Glarch") ); + s.Flush(); + s.Disconnect(); + + // serialize and then deserialize the session. + stream = new System.IO.MemoryStream(); + formatter.Serialize( stream, s ); + stream.Position = 0; + s = (ISession)formatter.Deserialize(stream); + stream.Close(); + + //TODO: once proxies is implemented get rid of the try-catch and notFound + notFound = false; + try + { + s.Load( typeof(Qux), (long)666 ) ; //nonexistent + } + catch(HibernateException he) + { + notFound = true; + Assert.IsNotNull( he, "should have a session disconnected error when finding a Qux with id of 666 and Proxies are not implemented."); + } + Assert.IsTrue( + notFound, + "without proxies working - an ADOException/HibernateException should have been thrown. " + + "If Proxies are implemented then you need to change this code because the ISession does " + + "not need to be connected to the db when building a Proxy." + ); + s.Close(); } |
From: Michael D. <mik...@us...> - 2004-08-09 18:43:11
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Collection In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29592/NHibernate/Collection Modified Files: CollectionPersister.cs Log Message: Fixed bug with sending a one-to-many collection to be updated that involves inserting a new row. Index: CollectionPersister.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Collection/CollectionPersister.cs,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** CollectionPersister.cs 25 Jun 2004 20:37:26 -0000 1.23 --- CollectionPersister.cs 9 Aug 2004 18:43:01 -0000 1.24 *************** *** 871,875 **** //TODO: this is hackish for expected row count int expectedRowCount = 1; ! int rowCount = rmvst.ExecuteNonQuery(); //negative expected row count means we don't know how many rows to expect --- 871,875 ---- //TODO: this is hackish for expected row count int expectedRowCount = 1; ! int rowCount = insst.ExecuteNonQuery(); //negative expected row count means we don't know how many rows to expect |
From: Michael D. <mik...@us...> - 2004-08-09 18:33:21
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Collection In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26970/NHibernate/Collection Modified Files: List.cs Map.cs Set.cs Log Message: Removed implementation of GetHashCode and Equals to conform to .net standard and to resolve problems with those methods being called during Deserialization and having no session to do a Read() from yet. Index: Map.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Collection/Map.cs,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Map.cs 9 Aug 2004 03:11:45 -0000 1.11 --- Map.cs 9 Aug 2004 18:33:11 -0000 1.12 *************** *** 271,282 **** return ((DictionaryEntry)entry).Key; } - public override bool Equals(object other) { - Read(); - return map.Equals(other); - } - public override int GetHashCode() { - Read(); - return map.GetHashCode(); - } public override bool EntryExists(object entry, int i) { --- 271,274 ---- Index: Set.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Collection/Set.cs,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Set.cs 9 Aug 2004 03:11:45 -0000 1.10 --- Set.cs 9 Aug 2004 18:33:11 -0000 1.11 *************** *** 396,412 **** } - //TODO: find out if this is behaiving as Hibernate expects it to. If I - // read the Java docs correctly these methods are actually implemented. In - // .NET Collections I believe they just delegate to the Object.Equals() & .GetHashCode() - // which would not be a consitent interface for Hibernate. - public override bool Equals(object other) { - Read(); - return map.Equals(other); - } - public override int GetHashCode() { - Read(); - return map.GetHashCode(); - } - /// <summary> /// <see cref="PersistentCollection.EntryExists"/> --- 396,399 ---- Index: List.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Collection/List.cs,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** List.cs 9 Aug 2004 03:11:45 -0000 1.11 --- List.cs 9 Aug 2004 18:33:11 -0000 1.12 *************** *** 253,265 **** } - public override bool Equals(object other) { - Read(); - return list.Equals(other); - } - - public override int GetHashCode() { - Read(); - return list.GetHashCode(); - } public override bool EntryExists(object entry, int i) { --- 253,256 ---- |
From: Michael D. <mik...@us...> - 2004-08-09 18:31:59
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26696/NHibernate.Test Modified Files: App.config Log Message: changed NameValueSectionHandler to 1.1 framework version. Index: App.config =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/App.config,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** App.config 31 Jul 2004 19:18:55 -0000 1.6 --- App.config 9 Aug 2004 18:31:51 -0000 1.7 *************** *** 2,6 **** <configuration> <configSections> ! <section name="nhibernate" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.3300.0,Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" /> </configSections> --- 2,6 ---- <configuration> <configSections> ! <section name="nhibernate" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0,Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" /> </configSections> |
From: Michael D. <mik...@us...> - 2004-08-09 18:28:13
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Impl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25607/NHibernate/Impl Modified Files: SessionImpl.cs Log Message: Reorganized the using section of code. Index: SessionImpl.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Impl/SessionImpl.cs,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** SessionImpl.cs 9 Aug 2004 03:25:55 -0000 1.37 --- SessionImpl.cs 9 Aug 2004 18:28:04 -0000 1.38 *************** *** 1,18 **** using System; - using System.Data; - using System.Text; using System.Collections; using System.Runtime.Serialization; using System.Text.RegularExpressions; ! using NHibernate.Type; using NHibernate.Cache; using NHibernate.Collection; using NHibernate.Engine; using NHibernate.Loader; using NHibernate.Persister; using NHibernate.Proxy; ! using NHibernate.Hql; using NHibernate.Util; - using NHibernate.Id; namespace NHibernate.Impl --- 1,19 ---- using System; using System.Collections; + using System.Data; using System.Runtime.Serialization; + using System.Text; using System.Text.RegularExpressions; ! using NHibernate.Cache; using NHibernate.Collection; using NHibernate.Engine; + using NHibernate.Hql; + using NHibernate.Id; using NHibernate.Loader; using NHibernate.Persister; using NHibernate.Proxy; ! using NHibernate.Type; using NHibernate.Util; namespace NHibernate.Impl |
From: Michael D. <mik...@us...> - 2004-08-09 18:26:50
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25277/NHibernate.DomainModel Modified Files: Abstract.cs Log Message: Added [Serializable] to domain classes. Index: Abstract.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Abstract.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Abstract.cs 25 Jun 2004 20:29:15 -0000 1.3 --- Abstract.cs 9 Aug 2004 18:26:41 -0000 1.4 *************** *** 4,7 **** --- 4,8 ---- namespace NHibernate.DomainModel { + [Serializable] public abstract class Abstract : Foo, AbstractProxy { |
From: Michael D. <mik...@us...> - 2004-08-09 18:26:32
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25186/NHibernate.DomainModel Modified Files: Bar.cs Qux.cs Qux.hbm.xml Super.cs Trivial.cs Log Message: Added [Serializable] to domain classes. Index: Qux.hbm.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Qux.hbm.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Qux.hbm.xml 11 Jul 2004 21:07:24 -0000 1.6 --- Qux.hbm.xml 9 Aug 2004 18:26:22 -0000 1.7 *************** *** 6,10 **** > <!-- ! proxy doesn't work yet proxy="NHibernate.DomainModel.Qux, NHibernate.DomainModel" --> --- 6,11 ---- > <!-- ! proxy doesn't work yet - once proxy is working remove the ! [Serializable] attribute from the class. proxy="NHibernate.DomainModel.Qux, NHibernate.DomainModel" --> Index: Bar.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Bar.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Bar.cs 29 Jun 2004 14:26:27 -0000 1.4 --- Bar.cs 9 Aug 2004 18:26:21 -0000 1.5 *************** *** 4,7 **** --- 4,8 ---- namespace NHibernate.DomainModel { + [Serializable] public class Bar : Abstract, BarProxy { Index: Trivial.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Trivial.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Trivial.cs 8 Apr 2004 16:44:19 -0000 1.1 --- Trivial.cs 9 Aug 2004 18:26:22 -0000 1.2 *************** *** 3,6 **** --- 3,7 ---- namespace NHibernate.DomainModel { + [Serializable] public class Trivial : Foo { Index: Qux.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Qux.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Qux.cs 6 Jul 2004 04:32:49 -0000 1.4 --- Qux.cs 9 Aug 2004 18:26:22 -0000 1.5 *************** *** 4,7 **** --- 4,8 ---- namespace NHibernate.DomainModel { + [Serializable] public class Qux : ILifecycle { Index: Super.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Super.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Super.cs 3 Jun 2004 14:54:40 -0000 1.2 --- Super.cs 9 Aug 2004 18:26:22 -0000 1.3 *************** *** 1,4 **** --- 1,7 ---- + using System; + namespace NHibernate.DomainModel { + [Serializable] public class Super { |
From: Michael D. <mik...@us...> - 2004-08-09 03:51:33
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Impl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13179/NHibernate/Impl Modified Files: SessionFactoryImpl.cs Log Message: Removed some commented out code that was hanging around for no good reason. Index: SessionFactoryImpl.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Impl/SessionFactoryImpl.cs,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** SessionFactoryImpl.cs 9 Aug 2004 03:25:55 -0000 1.23 --- SessionFactoryImpl.cs 9 Aug 2004 03:51:23 -0000 1.24 *************** *** 188,200 **** System.Type persisterClass = model.Persister; IClassPersister cp; - //TODO: H2.0.3 created a PersisterFactory cp = PersisterFactory.Create(model, this); - // if (persisterClass==null || persisterClass==typeof(EntityPersister)) { - // cp = new EntityPersister(model, this); - // } else if (persisterClass==typeof(NormalizedEntityPersister)) { - // cp = new NormalizedEntityPersister(model, this); - // } else { - // cp = InstantiatePersister(persisterClass, model); - // } classPersisters[model.PersistentClazz] = cp; classPersistersByName[model.Name] = cp ; --- 188,192 ---- *************** *** 536,543 **** } - //TODO: Serialization stuff - // will have to do a diff serialization object and then deserialization - // private void readObject() - // private void writeObject() #region System.Runtime.Serialization.IObjectReference Members --- 528,531 ---- |
From: Michael D. <mik...@us...> - 2004-08-09 03:40:54
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12072/NHibernate.Test Modified Files: MasterDetailTest.cs Log Message: Serialize test now works as expected. Index: MasterDetailTest.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/MasterDetailTest.cs,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** MasterDetailTest.cs 6 Aug 2004 15:37:13 -0000 1.8 --- MasterDetailTest.cs 9 Aug 2004 03:40:41 -0000 1.9 *************** *** 281,285 **** [Test] - //[Ignore("ISession not fully serializable - http://jira.nhibernate.org:8080/browse/NH-60")] public void Serialization() { --- 281,284 ---- *************** *** 305,313 **** System.IO.MemoryStream stream = new System.IO.MemoryStream(); System.Runtime.Serialization.Formatters.Binary.BinaryFormatter f = new System.Runtime.Serialization.Formatters.Binary.BinaryFormatter(); ! // f.Serialize(stream, s); ! // stream.Position = 0; ! // Console.WriteLine(stream.Length); ! //TODO ! // s = (Session) new ObjectInputStream( new ByteArrayInputStream(bytes) ).readObject(); s.Reconnect(); Master m2 = (Master) s.Load(typeof(Master), mid); --- 304,313 ---- System.IO.MemoryStream stream = new System.IO.MemoryStream(); System.Runtime.Serialization.Formatters.Binary.BinaryFormatter f = new System.Runtime.Serialization.Formatters.Binary.BinaryFormatter(); ! f.Serialize(stream, s); ! stream.Position = 0; ! ! s = (ISession)f.Deserialize(stream); ! stream.Close(); ! s.Reconnect(); Master m2 = (Master) s.Load(typeof(Master), mid); *************** *** 321,325 **** s.Delete(d); } ! catch (Exception e) {} } s.Delete(m2); --- 321,328 ---- s.Delete(d); } ! catch (Exception e) ! { ! Assert.IsTrue( e is Exception, "just getting rid of a compiler warning." ); ! } } s.Delete(m2); *************** *** 332,341 **** s.Flush(); s.Disconnect(); ! // stream = new System.IO.MemoryStream(); ! // f.Serialize(stream, s); ! // stream.Position = 0; ! // Console.WriteLine(stream.Length); ! //TODO ! // s = (Session) new ObjectInputStream( new ByteArrayInputStream(bytes) ).readObject(); s.Reconnect(); s.Delete( s.Load(typeof(Master), mid) ); --- 335,345 ---- s.Flush(); s.Disconnect(); ! stream = new System.IO.MemoryStream(); ! f.Serialize(stream, s); ! stream.Position = 0; ! ! s = (ISession)f.Deserialize(stream); ! stream.Close(); ! s.Reconnect(); s.Delete( s.Load(typeof(Master), mid) ); *************** *** 357,360 **** --- 361,368 ---- return; } + finally + { + stream.Close(); + } Assert.IsTrue(false, "serialization should have failed"); } |