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...> - 2005-04-04 12:36:22
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Caches/Prevalence In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24563/src/NHibernate.Caches/Prevalence Modified Files: AssemblyInfo.cs prevalencecache.build Log Message: Reversioned assemblies to what authors think it should be versioned as. Added CLSCompliantAttribute to all assemblies except hbm2net. Included version of NHibernate that assemblies are built against in the description. Index: prevalencecache.build =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Caches/Prevalence/prevalencecache.build,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** prevalencecache.build 4 Apr 2005 04:26:25 -0000 1.1 --- prevalencecache.build 4 Apr 2005 12:35:38 -0000 1.2 *************** *** 47,57 **** </imports> <attributes> <attribute type="AssemblyTitleAttribute" value="${nant.project.name} for ${current.runtime.description}" /> ! <attribute type="AssemblyDescriptionAttribute" value="Cache provider for NHibernate using Bamboo.Prevalence engine." /> <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="AssemblyKeyFileAttribute" value="${keyFile}" if="${sign}" /> </attributes> --- 47,59 ---- </imports> <attributes> + <attribute type="CLSCompliantAttribute" value="true" /> <attribute type="AssemblyTitleAttribute" value="${nant.project.name} for ${current.runtime.description}" /> ! <attribute type="AssemblyDescriptionAttribute" value="Cache provider for NHibernate ${project.version} using Bamboo.Prevalence engine." /> <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="1.0.0.0" /> ! <attribute type="AssemblyInformationalVersionAttribute" value="1.0" /> ! <attribute type="AssemblyFileVersionAttribute" value="1.0.0.0" /> <attribute type="AssemblyKeyFileAttribute" value="${keyFile}" if="${sign}" /> </attributes> Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Caches/Prevalence/AssemblyInfo.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AssemblyInfo.cs 4 Apr 2005 04:26:11 -0000 1.1 --- AssemblyInfo.cs 4 Apr 2005 12:35:38 -0000 1.2 *************** *** 8,12 **** // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.2032 // // Changes to this file may cause incorrect behavior and will be lost if --- 8,12 ---- // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.573 // // Changes to this file may cause incorrect behavior and will be lost if *************** *** 15,24 **** //------------------------------------------------------------------------------ [assembly: AssemblyTitleAttribute("NHibernate.Caches.Prevalence for Microsoft .NET Framework 1.1")] ! [assembly: AssemblyDescriptionAttribute("Cache provider for NHibernate using Bamboo.Prevalence engine.")] [assembly: AssemblyCompanyAttribute("nhibernate.sourceforge.net")] [assembly: AssemblyProductAttribute("NHibernate.Caches.Prevalence")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] ! [assembly: AssemblyVersionAttribute("0.8.0.0")] ! [assembly: AssemblyInformationalVersionAttribute("0.8")] --- 15,26 ---- //------------------------------------------------------------------------------ + [assembly: CLSCompliantAttribute(true)] [assembly: AssemblyTitleAttribute("NHibernate.Caches.Prevalence for Microsoft .NET Framework 1.1")] ! [assembly: AssemblyDescriptionAttribute("Cache provider for NHibernate 0.8.0.0 using Bamboo.Prevalence engine.")] [assembly: AssemblyCompanyAttribute("nhibernate.sourceforge.net")] [assembly: AssemblyProductAttribute("NHibernate.Caches.Prevalence")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] ! [assembly: AssemblyVersionAttribute("1.0.0.0")] ! [assembly: AssemblyInformationalVersionAttribute("1.0")] ! [assembly: AssemblyFileVersionAttribute("1.0.0.0")] |
From: Michael D. <mik...@us...> - 2005-04-04 12:36:22
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Caches/SysCache In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24563/src/NHibernate.Caches/SysCache Modified Files: AssemblyInfo.cs syscache.build Log Message: Reversioned assemblies to what authors think it should be versioned as. Added CLSCompliantAttribute to all assemblies except hbm2net. Included version of NHibernate that assemblies are built against in the description. Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Caches/SysCache/AssemblyInfo.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AssemblyInfo.cs 4 Apr 2005 04:27:23 -0000 1.1 --- AssemblyInfo.cs 4 Apr 2005 12:35:38 -0000 1.2 *************** *** 8,12 **** // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.2032 // // Changes to this file may cause incorrect behavior and will be lost if --- 8,12 ---- // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.573 // // Changes to this file may cause incorrect behavior and will be lost if *************** *** 15,24 **** //------------------------------------------------------------------------------ [assembly: AssemblyTitleAttribute("NHibernate.Caches.SysCache for Microsoft .NET Framework 1.1")] ! [assembly: AssemblyDescriptionAttribute("Cache provider for NHibernate using ASP.NET Cache object.")] [assembly: AssemblyCompanyAttribute("nhibernate.sourceforge.net")] [assembly: AssemblyProductAttribute("NHibernate.Caches.SysCache")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] ! [assembly: AssemblyVersionAttribute("0.8.0.0")] ! [assembly: AssemblyInformationalVersionAttribute("0.8")] --- 15,26 ---- //------------------------------------------------------------------------------ + [assembly: CLSCompliantAttribute(true)] [assembly: AssemblyTitleAttribute("NHibernate.Caches.SysCache for Microsoft .NET Framework 1.1")] ! [assembly: AssemblyDescriptionAttribute("Cache provider for NHibernate 0.8.0.0 using ASP.NET Cache object.")] [assembly: AssemblyCompanyAttribute("nhibernate.sourceforge.net")] [assembly: AssemblyProductAttribute("NHibernate.Caches.SysCache")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] ! [assembly: AssemblyVersionAttribute("1.0.0.0")] ! [assembly: AssemblyInformationalVersionAttribute("1.0")] ! [assembly: AssemblyFileVersionAttribute("1.0.0.0")] Index: syscache.build =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Caches/SysCache/syscache.build,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** syscache.build 4 Apr 2005 04:27:23 -0000 1.1 --- syscache.build 4 Apr 2005 12:35:38 -0000 1.2 *************** *** 47,57 **** </imports> <attributes> <attribute type="AssemblyTitleAttribute" value="${nant.project.name} for ${current.runtime.description}" /> ! <attribute type="AssemblyDescriptionAttribute" value="Cache provider for NHibernate using ASP.NET Cache object." /> <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="AssemblyKeyFileAttribute" value="${keyFile}" if="${sign}" /> </attributes> --- 47,59 ---- </imports> <attributes> + <attribute type="CLSCompliantAttribute" value="true" /> <attribute type="AssemblyTitleAttribute" value="${nant.project.name} for ${current.runtime.description}" /> ! <attribute type="AssemblyDescriptionAttribute" value="Cache provider for NHibernate ${project.version} using ASP.NET Cache object." /> <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="1.0.0.0" /> ! <attribute type="AssemblyInformationalVersionAttribute" value="1.0" /> ! <attribute type="AssemblyFileVersionAttribute" value="1.0.0.0" /> <attribute type="AssemblyKeyFileAttribute" value="${keyFile}" if="${sign}" /> </attributes> |
From: Michael D. <mik...@us...> - 2005-04-04 12:36:21
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Tasks In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24563/src/NHibernate.Tasks Modified Files: AssemblyInfo.cs NHibernate.Tasks.build Log Message: Reversioned assemblies to what authors think it should be versioned as. Added CLSCompliantAttribute to all assemblies except hbm2net. Included version of NHibernate that assemblies are built against in the description. Index: NHibernate.Tasks.build =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/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 30 Dec 2004 16:54:54 -0000 1.1 --- NHibernate.Tasks.build 4 Apr 2005 12:35:39 -0000 1.2 *************** *** 22,31 **** <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}" /> --- 22,33 ---- <asminfo output="AssemblyInfo.cs" language="CSharp"> <imports> + <import name="System" /> <import name="System.Reflection" /> <import name="System.Runtime.CompilerServices" /> </imports> <attributes> + <attribute type="CLSCompliantAttribute" value="true" /> <attribute type="AssemblyTitleAttribute" value="${nant.project.name} for ${current.runtime.description}" /> ! <attribute type="AssemblyDescriptionAttribute" value="NAnt Tasks for NHibernate ${project.version} Tools." /> <attribute type="AssemblyCompanyAttribute" value="nhibernate.sourceforge.net" /> <attribute type="AssemblyProductAttribute" value="${nant.project.name}" /> Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Tasks/AssemblyInfo.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AssemblyInfo.cs 4 Apr 2005 04:35:25 -0000 1.4 --- AssemblyInfo.cs 4 Apr 2005 12:35:38 -0000 1.5 *************** *** 1,2 **** --- 1,3 ---- + using System; using System.Reflection; using System.Runtime.CompilerServices; *************** *** 5,9 **** // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.2032 // // Changes to this file may cause incorrect behavior and will be lost if --- 6,10 ---- // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.573 // // Changes to this file may cause incorrect behavior and will be lost if *************** *** 12,17 **** //------------------------------------------------------------------------------ [assembly: AssemblyTitleAttribute("NHibernate.Tasks for Microsoft .NET Framework 1.1")] ! [assembly: AssemblyDescriptionAttribute("NAnt Tasks for NHibernate Tools.")] [assembly: AssemblyCompanyAttribute("nhibernate.sourceforge.net")] [assembly: AssemblyProductAttribute("NHibernate.Tasks")] --- 13,19 ---- //------------------------------------------------------------------------------ + [assembly: CLSCompliantAttribute(true)] [assembly: AssemblyTitleAttribute("NHibernate.Tasks for Microsoft .NET Framework 1.1")] ! [assembly: AssemblyDescriptionAttribute("NAnt Tasks for NHibernate 0.8.0.0 Tools.")] [assembly: AssemblyCompanyAttribute("nhibernate.sourceforge.net")] [assembly: AssemblyProductAttribute("NHibernate.Tasks")] |
From: Michael D. <mik...@us...> - 2005-04-04 12:35:54
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Tool.Net2Hbm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24563/src/NHibernate.Tool.Net2Hbm Modified Files: AssemblyInfo.cs NHibernate.Tool.Net2Hbm.build Log Message: Reversioned assemblies to what authors think it should be versioned as. Added CLSCompliantAttribute to all assemblies except hbm2net. Included version of NHibernate that assemblies are built against in the description. Index: NHibernate.Tool.Net2Hbm.build =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Tool.Net2Hbm/NHibernate.Tool.Net2Hbm.build,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NHibernate.Tool.Net2Hbm.build 30 Dec 2004 16:54:02 -0000 1.1 --- NHibernate.Tool.Net2Hbm.build 4 Apr 2005 12:35:40 -0000 1.2 *************** *** 44,59 **** <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 attribute library which provides support for custom attributes that can be used in the generation of NHibernate mapping 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="AssemblyKeyFileAttribute" value="${keyFile}" if="${sign}"/> </attributes> --- 44,61 ---- <asminfo output="AssemblyInfo.cs" language="CSharp"> <imports> + <import name="System" /> <import name="System.Reflection" /> <import name="System.Runtime.CompilerServices" /> </imports> <attributes> + <attribute type="CLSCompliantAttribute" value="true" /> <attribute type="AssemblyTitleAttribute" value="${nant.project.name} for ${current.runtime.description}" /> ! <attribute type="AssemblyDescriptionAttribute" value="An attribute library which provides support for custom attributes that can be used in the generation of NHibernate ${project.version} mapping 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="0.5.0.0" /> ! <attribute type="AssemblyInformationalVersionAttribute" value="0.5" /> ! <attribute type="AssemblyFileVersionAttribute" value="0.5.0.0" /> <attribute type="AssemblyKeyFileAttribute" value="${keyFile}" if="${sign}"/> </attributes> Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Tool.Net2Hbm/AssemblyInfo.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** AssemblyInfo.cs 4 Apr 2005 04:35:25 -0000 1.5 --- AssemblyInfo.cs 4 Apr 2005 12:35:40 -0000 1.6 *************** *** 1,2 **** --- 1,3 ---- + using System; using System.Reflection; using System.Runtime.CompilerServices; *************** *** 5,9 **** // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.2032 // // Changes to this file may cause incorrect behavior and will be lost if --- 6,10 ---- // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.573 // // Changes to this file may cause incorrect behavior and will be lost if *************** *** 12,23 **** //------------------------------------------------------------------------------ [assembly: AssemblyTitleAttribute("NHibernate.Tool.Net2Hbm for Microsoft .NET Framework 1.1")] [assembly: AssemblyDescriptionAttribute("An attribute library which provides support for custom attributes that can be use" + ! "d in the generation of NHibernate mapping files.")] [assembly: AssemblyCompanyAttribute("nhibernate.sourceforge.net")] [assembly: AssemblyProductAttribute("NHibernate.Tool.Net2Hbm")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] ! [assembly: AssemblyVersionAttribute("0.8.0.0")] ! [assembly: AssemblyInformationalVersionAttribute("0.8")] ! [assembly: AssemblyFileVersionAttribute("0.8.0.0")] --- 13,25 ---- //------------------------------------------------------------------------------ + [assembly: CLSCompliantAttribute(true)] [assembly: AssemblyTitleAttribute("NHibernate.Tool.Net2Hbm for Microsoft .NET Framework 1.1")] [assembly: AssemblyDescriptionAttribute("An attribute library which provides support for custom attributes that can be use" + ! "d in the generation of NHibernate 0.8.0.0 mapping files.")] [assembly: AssemblyCompanyAttribute("nhibernate.sourceforge.net")] [assembly: AssemblyProductAttribute("NHibernate.Tool.Net2Hbm")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] ! [assembly: AssemblyVersionAttribute("0.5.0.0")] ! [assembly: AssemblyInformationalVersionAttribute("0.5")] ! [assembly: AssemblyFileVersionAttribute("0.5.0.0")] |
From: Michael D. <mik...@us...> - 2005-04-04 12:35:54
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/Nullables In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24563/src/Nullables Modified Files: AssemblyInfo.cs Nullables.build Log Message: Reversioned assemblies to what authors think it should be versioned as. Added CLSCompliantAttribute to all assemblies except hbm2net. Included version of NHibernate that assemblies are built against in the description. Index: Nullables.build =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/Nullables/Nullables.build,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Nullables.build 6 Dec 2004 02:07:26 -0000 1.2 --- Nullables.build 4 Apr 2005 12:35:41 -0000 1.3 *************** *** 44,51 **** --- 44,53 ---- <asminfo output="AssemblyInfo.cs" language="CSharp"> <imports> + <import name="System" /> <import name="System.Reflection" /> <import name="System.Runtime.CompilerServices" /> </imports> <attributes> + <attribute type="CLSCompliantAttribute" value="true" /> <attribute type="AssemblyTitleAttribute" value="${nant.project.name} for ${current.runtime.description}" /> <attribute type="AssemblyDescriptionAttribute" value="A library of Nullable Primitive Types to serve as a bridge to .net-2.0." /> Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/Nullables/AssemblyInfo.cs,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** AssemblyInfo.cs 4 Apr 2005 04:35:26 -0000 1.10 --- AssemblyInfo.cs 4 Apr 2005 12:35:40 -0000 1.11 *************** *** 1,2 **** --- 1,3 ---- + using System; using System.Reflection; using System.Runtime.CompilerServices; *************** *** 5,9 **** // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.2032 // // Changes to this file may cause incorrect behavior and will be lost if --- 6,10 ---- // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.573 // // Changes to this file may cause incorrect behavior and will be lost if *************** *** 12,15 **** --- 13,17 ---- //------------------------------------------------------------------------------ + [assembly: CLSCompliantAttribute(true)] [assembly: AssemblyTitleAttribute("Nullables for Microsoft .NET Framework 1.1")] [assembly: AssemblyDescriptionAttribute("A library of Nullable Primitive Types to serve as a bridge to .net-2.0.")] |
From: Michael D. <mik...@us...> - 2005-04-04 12:35:53
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Tool.hbm2net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24563/src/NHibernate.Tool.hbm2net Modified Files: AssemblyInfo.cs NHibernate.Tool.hbm2net.build Log Message: Reversioned assemblies to what authors think it should be versioned as. Added CLSCompliantAttribute to all assemblies except hbm2net. Included version of NHibernate that assemblies are built against in the description. Index: NHibernate.Tool.hbm2net.build =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/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 30 Dec 2004 16:54:54 -0000 1.1 --- NHibernate.Tool.hbm2net.build 4 Apr 2005 12:35:39 -0000 1.2 *************** *** 24,39 **** <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> --- 24,46 ---- <asminfo output="AssemblyInfo.cs" language="CSharp"> <imports> + <import name="System" /> <import name="System.Reflection" /> <import name="System.Runtime.CompilerServices" /> </imports> <attributes> + <!-- + looks like NVelocity is not CLSCompliant, instead of going through and finding + each item that returns/uses NVelocity just mark this Assembly and non-compliant. + Mostly used from NAnt anyway and that doesn't seem to care about CLSCompliant + --> + <attribute type="CLSCompliantAttribute" value="false" /> <attribute type="AssemblyTitleAttribute" value="${nant.project.name} for ${current.runtime.description}" /> ! <attribute type="AssemblyDescriptionAttribute" value="Tool to Generate Classes from NHibernate ${project.version} 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="0.1.0.0" /> ! <attribute type="AssemblyInformationalVersionAttribute" value="0.1" /> ! <attribute type="AssemblyFileVersionAttribute" value="0.1.0.0" /> <attribute type="AssemblyDelaySignAttribute" value="false" /> </attributes> Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Tool.hbm2net/AssemblyInfo.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** AssemblyInfo.cs 4 Apr 2005 04:35:26 -0000 1.5 --- AssemblyInfo.cs 4 Apr 2005 12:35:39 -0000 1.6 *************** *** 1,2 **** --- 1,3 ---- + using System; using System.Reflection; using System.Runtime.CompilerServices; *************** *** 5,9 **** // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.2032 // // Changes to this file may cause incorrect behavior and will be lost if --- 6,10 ---- // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.573 // // Changes to this file may cause incorrect behavior and will be lost if *************** *** 12,23 **** //------------------------------------------------------------------------------ [assembly: AssemblyTitleAttribute("NHibernate.Tool.hbm2net for Microsoft .NET Framework 1.1")] ! [assembly: AssemblyDescriptionAttribute("Tool to Generate Classes from hbm.xml files.")] [assembly: AssemblyCompanyAttribute("nhibernate.sourceforge.net")] [assembly: AssemblyProductAttribute("NHibernate.Tool.hbm2net")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] ! [assembly: AssemblyVersionAttribute("0.8.0.0")] ! [assembly: AssemblyInformationalVersionAttribute("0.8")] ! [assembly: AssemblyFileVersionAttribute("0.8.0.0")] [assembly: AssemblyDelaySignAttribute(false)] --- 13,25 ---- //------------------------------------------------------------------------------ + [assembly: CLSCompliantAttribute(false)] [assembly: AssemblyTitleAttribute("NHibernate.Tool.hbm2net for Microsoft .NET Framework 1.1")] ! [assembly: AssemblyDescriptionAttribute("Tool to Generate Classes from NHibernate 0.8.0.0 hbm.xml files.")] [assembly: AssemblyCompanyAttribute("nhibernate.sourceforge.net")] [assembly: AssemblyProductAttribute("NHibernate.Tool.hbm2net")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] ! [assembly: AssemblyVersionAttribute("0.1.0.0")] ! [assembly: AssemblyInformationalVersionAttribute("0.1")] ! [assembly: AssemblyFileVersionAttribute("0.1.0.0")] [assembly: AssemblyDelaySignAttribute(false)] |
From: Michael D. <mik...@us...> - 2005-04-04 12:35:53
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/Nullables.NHibernate In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24563/src/Nullables.NHibernate Modified Files: AssemblyInfo.cs Nullables.NHibernate.build Log Message: Reversioned assemblies to what authors think it should be versioned as. Added CLSCompliantAttribute to all assemblies except hbm2net. Included version of NHibernate that assemblies are built against in the description. Index: Nullables.NHibernate.build =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/Nullables.NHibernate/Nullables.NHibernate.build,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Nullables.NHibernate.build 6 Dec 2004 02:07:26 -0000 1.2 --- Nullables.NHibernate.build 4 Apr 2005 12:35:41 -0000 1.3 *************** *** 1,3 **** ! <?xml version="1.0" ?> <project --- 1,3 ---- ! <?xml version="1.0" ?> <project *************** *** 43,52 **** <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 NHibernate Types for the Nullables." /> <attribute type="AssemblyCompanyAttribute" value="nhibernate.sourceforge.net" /> <attribute type="AssemblyProductAttribute" value="${nant.project.name}" /> --- 43,54 ---- <asminfo output="AssemblyInfo.cs" language="CSharp"> <imports> + <import name="System" /> <import name="System.Reflection" /> <import name="System.Runtime.CompilerServices" /> </imports> <attributes> + <attribute type="CLSCompliantAttribute" value="true" /> <attribute type="AssemblyTitleAttribute" value="${nant.project.name} for ${current.runtime.description}" /> ! <attribute type="AssemblyDescriptionAttribute" value="The NHibernate ${project.version} Types for the Nullables." /> <attribute type="AssemblyCompanyAttribute" value="nhibernate.sourceforge.net" /> <attribute type="AssemblyProductAttribute" value="${nant.project.name}" /> Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/Nullables.NHibernate/AssemblyInfo.cs,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** AssemblyInfo.cs 4 Apr 2005 04:35:26 -0000 1.9 --- AssemblyInfo.cs 4 Apr 2005 12:35:41 -0000 1.10 *************** *** 1,2 **** --- 1,3 ---- + using System; using System.Reflection; using System.Runtime.CompilerServices; *************** *** 5,9 **** // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.2032 // // Changes to this file may cause incorrect behavior and will be lost if --- 6,10 ---- // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.573 // // Changes to this file may cause incorrect behavior and will be lost if *************** *** 12,17 **** //------------------------------------------------------------------------------ [assembly: AssemblyTitleAttribute("Nullables.NHibernate for Microsoft .NET Framework 1.1")] ! [assembly: AssemblyDescriptionAttribute("The NHibernate Types for the Nullables.")] [assembly: AssemblyCompanyAttribute("nhibernate.sourceforge.net")] [assembly: AssemblyProductAttribute("Nullables.NHibernate")] --- 13,19 ---- //------------------------------------------------------------------------------ + [assembly: CLSCompliantAttribute(true)] [assembly: AssemblyTitleAttribute("Nullables.NHibernate for Microsoft .NET Framework 1.1")] ! [assembly: AssemblyDescriptionAttribute("The NHibernate 0.8.0.0 Types for the Nullables.")] [assembly: AssemblyCompanyAttribute("nhibernate.sourceforge.net")] [assembly: AssemblyProductAttribute("Nullables.NHibernate")] |
From: Michael D. <mik...@us...> - 2005-04-04 12:35:53
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/Nullables.Tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24563/src/Nullables.Tests Modified Files: AssemblyInfo.cs Log Message: Reversioned assemblies to what authors think it should be versioned as. Added CLSCompliantAttribute to all assemblies except hbm2net. Included version of NHibernate that assemblies are built against in the description. Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/Nullables.Tests/AssemblyInfo.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** AssemblyInfo.cs 4 Apr 2005 04:35:26 -0000 1.7 --- AssemblyInfo.cs 4 Apr 2005 12:35:41 -0000 1.8 *************** *** 5,9 **** // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.2032 // // Changes to this file may cause incorrect behavior and will be lost if --- 5,9 ---- // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.573 // // Changes to this file may cause incorrect behavior and will be lost if |
From: Kevin W. <kev...@us...> - 2005-04-04 04:48:13
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Caches/Prevalence In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1080/Prevalence Added Files: .cvsignore Log Message: add ignore flags --- NEW FILE: .cvsignore --- bin obj .#* *.user *.xsx |
From: Kevin W. <kev...@us...> - 2005-04-04 04:48:13
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Caches/SysCache In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1080/SysCache Added Files: .cvsignore Log Message: add ignore flags --- NEW FILE: .cvsignore --- bin obj .#* *.user *.xsx |
From: Kevin W. <kev...@us...> - 2005-04-04 04:35:35
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/Nullables.NHibernate In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30462/Nullables.NHibernate Modified Files: AssemblyInfo.cs Log Message: migrating cache implementations to new folder Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/Nullables.NHibernate/AssemblyInfo.cs,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** AssemblyInfo.cs 1 Apr 2005 20:45:46 -0000 1.8 --- AssemblyInfo.cs 4 Apr 2005 04:35:26 -0000 1.9 *************** *** 1,10 **** using System.Reflection; using System.Runtime.CompilerServices; - using System; //------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.573 // // Changes to this file may cause incorrect behavior and will be lost if --- 1,9 ---- using System.Reflection; using System.Runtime.CompilerServices; //------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.2032 // // Changes to this file may cause incorrect behavior and will be lost if *************** *** 13,17 **** //------------------------------------------------------------------------------ - [assembly: CLSCompliant(true)] [assembly: AssemblyTitleAttribute("Nullables.NHibernate for Microsoft .NET Framework 1.1")] [assembly: AssemblyDescriptionAttribute("The NHibernate Types for the Nullables.")] --- 12,15 ---- *************** *** 19,24 **** [assembly: AssemblyProductAttribute("Nullables.NHibernate")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] ! [assembly: AssemblyVersionAttribute("0.7.0.0")] ! [assembly: AssemblyInformationalVersionAttribute("0.7")] ! [assembly: AssemblyFileVersionAttribute("0.7.0.0")] ! //[assembly: AssemblyKeyFileAttribute("..\\NHibernate.snk")] --- 17,22 ---- [assembly: AssemblyProductAttribute("Nullables.NHibernate")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] ! [assembly: AssemblyVersionAttribute("0.8.0.0")] ! [assembly: AssemblyInformationalVersionAttribute("0.8")] ! [assembly: AssemblyFileVersionAttribute("0.8.0.0")] ! |
From: Kevin W. <kev...@us...> - 2005-04-04 04:35:35
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/Nullables.Tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30462/Nullables.Tests Modified Files: AssemblyInfo.cs Log Message: migrating cache implementations to new folder Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/Nullables.Tests/AssemblyInfo.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** AssemblyInfo.cs 26 Feb 2005 15:26:25 -0000 1.6 --- AssemblyInfo.cs 4 Apr 2005 04:35:26 -0000 1.7 *************** *** 5,9 **** // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.573 // // Changes to this file may cause incorrect behavior and will be lost if --- 5,9 ---- // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.2032 // // Changes to this file may cause incorrect behavior and will be lost if *************** *** 17,23 **** [assembly: AssemblyProductAttribute("Nullables.Tests")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] ! [assembly: AssemblyVersionAttribute("0.7.0.0")] ! [assembly: AssemblyInformationalVersionAttribute("0.7")] ! [assembly: AssemblyFileVersionAttribute("0.7.0.0")] [assembly: AssemblyDelaySignAttribute(false)] --- 17,23 ---- [assembly: AssemblyProductAttribute("Nullables.Tests")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] ! [assembly: AssemblyVersionAttribute("0.8.0.0")] ! [assembly: AssemblyInformationalVersionAttribute("0.8")] ! [assembly: AssemblyFileVersionAttribute("0.8.0.0")] [assembly: AssemblyDelaySignAttribute(false)] |
From: Kevin W. <kev...@us...> - 2005-04-04 04:35:35
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/Nullables In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30462/Nullables Modified Files: AssemblyInfo.cs Log Message: migrating cache implementations to new folder Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/Nullables/AssemblyInfo.cs,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** AssemblyInfo.cs 1 Apr 2005 20:49:58 -0000 1.9 --- AssemblyInfo.cs 4 Apr 2005 04:35:26 -0000 1.10 *************** *** 1,3 **** - using System; using System.Reflection; using System.Runtime.CompilerServices; --- 1,2 ---- *************** *** 6,10 **** // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.573 // // Changes to this file may cause incorrect behavior and will be lost if --- 5,9 ---- // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.2032 // // Changes to this file may cause incorrect behavior and will be lost if *************** *** 13,17 **** //------------------------------------------------------------------------------ - [assembly: CLSCompliant(true)] [assembly: AssemblyTitleAttribute("Nullables for Microsoft .NET Framework 1.1")] [assembly: AssemblyDescriptionAttribute("A library of Nullable Primitive Types to serve as a bridge to .net-2.0.")] --- 12,15 ---- *************** *** 19,24 **** [assembly: AssemblyProductAttribute("Nullables")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] ! [assembly: AssemblyVersionAttribute("0.6.0.0")] ! [assembly: AssemblyInformationalVersionAttribute("0.6")] ! [assembly: AssemblyFileVersionAttribute("0.6.0.0")] ! //[assembly: AssemblyKeyFileAttribute("..\\NHibernate.snk")] --- 17,22 ---- [assembly: AssemblyProductAttribute("Nullables")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] ! [assembly: AssemblyVersionAttribute("0.8.0.0")] ! [assembly: AssemblyInformationalVersionAttribute("0.8")] ! [assembly: AssemblyFileVersionAttribute("0.8.0.0")] ! |
From: Kevin W. <kev...@us...> - 2005-04-04 04:35:34
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Tool.hbm2net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30462/NHibernate.Tool.hbm2net Modified Files: AssemblyInfo.cs Log Message: migrating cache implementations to new folder Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Tool.hbm2net/AssemblyInfo.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AssemblyInfo.cs 1 Mar 2005 16:24:39 -0000 1.4 --- AssemblyInfo.cs 4 Apr 2005 04:35:26 -0000 1.5 *************** *** 5,9 **** // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.573 // // Changes to this file may cause incorrect behavior and will be lost if --- 5,9 ---- // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.2032 // // Changes to this file may cause incorrect behavior and will be lost if *************** *** 17,23 **** [assembly: AssemblyProductAttribute("NHibernate.Tool.hbm2net")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] ! [assembly: AssemblyVersionAttribute("0.6.0.0")] ! [assembly: AssemblyInformationalVersionAttribute("0.6")] ! [assembly: AssemblyFileVersionAttribute("0.6.0.0")] [assembly: AssemblyDelaySignAttribute(false)] --- 17,23 ---- [assembly: AssemblyProductAttribute("NHibernate.Tool.hbm2net")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] ! [assembly: AssemblyVersionAttribute("0.8.0.0")] ! [assembly: AssemblyInformationalVersionAttribute("0.8")] ! [assembly: AssemblyFileVersionAttribute("0.8.0.0")] [assembly: AssemblyDelaySignAttribute(false)] |
From: Kevin W. <kev...@us...> - 2005-04-04 04:35:34
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Tool.Net2Hbm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30462/NHibernate.Tool.Net2Hbm Modified Files: AssemblyInfo.cs Log Message: migrating cache implementations to new folder Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Tool.Net2Hbm/AssemblyInfo.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AssemblyInfo.cs 1 Mar 2005 16:24:38 -0000 1.4 --- AssemblyInfo.cs 4 Apr 2005 04:35:25 -0000 1.5 *************** *** 5,9 **** // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.573 // // Changes to this file may cause incorrect behavior and will be lost if --- 5,9 ---- // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.2032 // // Changes to this file may cause incorrect behavior and will be lost if *************** *** 18,24 **** [assembly: AssemblyProductAttribute("NHibernate.Tool.Net2Hbm")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] ! [assembly: AssemblyVersionAttribute("0.6.0.0")] ! [assembly: AssemblyInformationalVersionAttribute("0.6")] ! [assembly: AssemblyFileVersionAttribute("0.6.0.0")] ! //[assembly: AssemblyKeyFileAttribute("..\\NHibernate.snk")] --- 18,23 ---- [assembly: AssemblyProductAttribute("NHibernate.Tool.Net2Hbm")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] ! [assembly: AssemblyVersionAttribute("0.8.0.0")] ! [assembly: AssemblyInformationalVersionAttribute("0.8")] ! [assembly: AssemblyFileVersionAttribute("0.8.0.0")] |
From: Kevin W. <kev...@us...> - 2005-04-04 04:35:33
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Tasks In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30462/NHibernate.Tasks Modified Files: AssemblyInfo.cs Log Message: migrating cache implementations to new folder Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Tasks/AssemblyInfo.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AssemblyInfo.cs 26 Feb 2005 15:26:24 -0000 1.3 --- AssemblyInfo.cs 4 Apr 2005 04:35:25 -0000 1.4 *************** *** 5,9 **** // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.573 // // Changes to this file may cause incorrect behavior and will be lost if --- 5,9 ---- // <autogenerated> // This code was generated by a tool. ! // Runtime Version: 1.1.4322.2032 // // Changes to this file may cause incorrect behavior and will be lost if *************** *** 17,23 **** [assembly: AssemblyProductAttribute("NHibernate.Tasks")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] ! [assembly: AssemblyVersionAttribute("0.7.0.0")] ! [assembly: AssemblyInformationalVersionAttribute("0.7")] ! [assembly: AssemblyFileVersionAttribute("0.7.0.0")] [assembly: AssemblyDelaySignAttribute(false)] --- 17,23 ---- [assembly: AssemblyProductAttribute("NHibernate.Tasks")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] ! [assembly: AssemblyVersionAttribute("0.8.0.0")] ! [assembly: AssemblyInformationalVersionAttribute("0.8")] ! [assembly: AssemblyFileVersionAttribute("0.8.0.0")] [assembly: AssemblyDelaySignAttribute(false)] |
From: Kevin W. <kev...@us...> - 2005-04-04 04:35:33
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/BantamTech.SysCache In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30462/BantamTech.SysCache Removed Files: .cvsignore Log Message: migrating cache implementations to new folder --- .cvsignore DELETED --- |
From: Kevin W. <kev...@us...> - 2005-04-04 04:33:35
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/BantamTech.SysCache In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29964 Removed Files: AssemblyInfo.cs BantamTech.SysCache-1.1.csproj BantamTech.SysCache.Tests-1.1.csproj syscache.build syscache.config SysCache.cs syscache.nunit SysCacheFixture.cs SysCacheProvider.cs SysCacheProviderFixture.cs Log Message: migrating cache implementations to new folder --- syscache.config DELETED --- --- SysCacheProviderFixture.cs DELETED --- --- BantamTech.SysCache.Tests-1.1.csproj DELETED --- --- AssemblyInfo.cs DELETED --- --- syscache.nunit DELETED --- --- SysCacheFixture.cs DELETED --- --- SysCache.cs DELETED --- --- SysCacheProvider.cs DELETED --- --- BantamTech.SysCache-1.1.csproj DELETED --- --- syscache.build DELETED --- |
Update of /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Caches.Prevalence In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28806 Removed Files: AssemblyInfo.cs CacheEntry.cs CacheSystem.cs NHibernate.Caches.Prevalence-1.1.csproj NHibernate.Caches.Prevalence.Tests-1.1.csproj NHibernate.Caches.Prevalence.xml PrevalenceCache.cs PrevalenceCacheFixture.cs PrevalenceCacheProvider.cs PrevalenceCacheProviderFixture.cs prevalencecache.build prevalencecache.config prevalencecache.nunit Log Message: migrating cache implementations to new folder --- CacheSystem.cs DELETED --- --- CacheEntry.cs DELETED --- --- PrevalenceCacheProvider.cs DELETED --- --- NHibernate.Caches.Prevalence.Tests-1.1.csproj DELETED --- --- NHibernate.Caches.Prevalence-1.1.csproj DELETED --- --- NHibernate.Caches.Prevalence.xml DELETED --- --- prevalencecache.build DELETED --- --- PrevalenceCacheFixture.cs DELETED --- --- prevalencecache.nunit DELETED --- --- prevalencecache.config DELETED --- --- PrevalenceCacheProviderFixture.cs DELETED --- --- AssemblyInfo.cs DELETED --- --- PrevalenceCache.cs DELETED --- |
From: Kevin W. <kev...@us...> - 2005-04-04 04:27:47
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Caches/SysCache In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28543 Added Files: SysCache.cs syscache.nunit SysCacheFixture.cs SysCacheProvider.cs SysCacheProviderFixture.cs Log Message: migrating cache implementations to new folder --- NEW FILE: SysCacheFixture.cs --- #region License // // SysCache - A cache provider for NHibernate using System.Web.Caching.Cache. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // CLOVER:OFF // #endregion using System; using System.Collections; using NHibernate.Cache; using NUnit.Framework; namespace NHibernate.Caches.SysCache.Tests { [TestFixture] public class SysCacheFixture { private SysCacheProvider provider; private Hashtable props; [TestFixtureSetUp] public void FixtureSetup() { log4net.Config.DOMConfigurator.Configure(); props = new Hashtable(); props.Add( "relativeExpiration", 120 ); props.Add( "priority", 4 ); provider = new SysCacheProvider(); } [Test] public void TestPut() { string key = "key1"; string value = "value"; ICache cache = provider.BuildCache( "nunit", props ); Assert.IsNotNull( cache, "no cache returned" ); Assert.IsNull( cache.Get( key ), "cache returned an item we didn't add !?!" ); cache.Put( key, value ); object item = cache.Get( key ); Assert.IsNotNull( item ); Assert.AreEqual( value, item, "didn't return the item we added" ); } [Test] public void TestRemove() { string key = "key1"; string value = "value"; ICache cache = provider.BuildCache( "nunit", props ); Assert.IsNotNull( cache, "no cache returned" ); // add the item cache.Put( key, value ); // make sure it's there object item = cache.Get( key ); Assert.IsNotNull( item, "item just added is not there" ); // remove it cache.Remove( key ); // make sure it's not there item = cache.Get( key ); Assert.IsNull( item, "item still exists in cache" ); } [Test] public void TestClear() { string key = "key1"; string value = "value"; ICache cache = provider.BuildCache( "nunit", props ); Assert.IsNotNull( cache, "no cache returned" ); // add the item cache.Put( key, value ); // make sure it's there object item = cache.Get( key ); Assert.IsNotNull( item, "couldn't find item in cache" ); // clear the cache cache.Clear(); // make sure we don't get an item item = cache.Get( key ); Assert.IsNull( item, "item still exists in cache" ); } [Test] public void TestDefaultConstructor() { ICache cache = new SysCache(); Assert.IsNotNull( cache ); } [Test] public void TestNoPropertiesConstructor() { ICache cache = new SysCache( "nunit" ); Assert.IsNotNull( cache ); } [Test] [ExpectedException( typeof( IndexOutOfRangeException ) )] public void TestPriorityOutOfRange() { Hashtable h = new Hashtable(); h.Add( "priority", 7 ); new SysCache( "nunit", h ); } [Test] [ExpectedException( typeof( NotSupportedException ) )] public void TestDoubleException() { Hashtable h = new Hashtable(); h.Add( "staticExpiration", DateTime.Now ); h.Add( "relativeExpiration", 300 ); new SysCache( "nunit", h ); } [Test] [ExpectedException( typeof( ArgumentOutOfRangeException ) )] public void TestHistoricStaticExpiration() { Hashtable h = new Hashtable(); h.Add( "staticExpiration", DateTime.Parse( "1/1/1980") ); new SysCache( "nunit", h ); } [Test] [ExpectedException( typeof( ArgumentException ) )] public void TestBadStaticExpiration() { Hashtable h = new Hashtable(); h.Add( "staticExpiration", "foobar" ); new SysCache( "nunit", h ); } [Test] [ExpectedException( typeof( ArgumentException ) )] public void TestBadRelativeExpiration() { Hashtable h = new Hashtable(); h.Add( "relativeExpiration", "foobar" ); new SysCache( "nunit", h ); } [Test] public void TestEmptyProperties() { ICache cache = new SysCache( "nunit", new Hashtable() ); Assert.IsNotNull( cache ); } [Test] [ExpectedException( typeof( ArgumentNullException ) )] public void TestNullKeyPut() { ICache cache = new SysCache(); cache.Put( null, null ); } [Test] [ExpectedException( typeof( ArgumentNullException ) )] public void TestNullValuePut() { ICache cache = new SysCache(); cache.Put( "nunit", null ); } [Test] public void TestNullKeyGet() { ICache cache = new SysCache(); cache.Put( "nunit", "value" ); object item = cache.Get( null ); Assert.IsNull( item ); } [Test] [ExpectedException( typeof( ArgumentNullException ) )] public void TestNullKeyRemove() { ICache cache = new SysCache(); cache.Remove( null ); } [Test] public void TestRegions() { string key = "key"; ICache cache1 = provider.BuildCache( "nunit1", props ); ICache cache2 = provider.BuildCache( "nunit2", props ); string s1 = "test1"; string s2 = "test2"; cache1.Put( key, s1 ); cache2.Put( key, s2 ); object get1 = cache1.Get( key ); object get2 = cache2.Get( key ); Assert.IsFalse( get1 == get2 ); } } } --- NEW FILE: SysCache.cs --- #region License // // SysCache - A cache provider for NHibernate using System.Web.Caching.Cache. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // #endregion using System; using System.Collections; using System.Web; using AspCache = System.Web.Caching; // clash with new NHibernate namespace below using log4net; using NHibernate.Cache; namespace NHibernate.Caches.SysCache { /// <summary> /// Pluggable cache implementation using the System.Web.Caching classes /// </summary> public class SysCache : ICache { private static readonly ILog log = LogManager.GetLogger( typeof( SysCache ) ); private string _region; private AspCache.Cache _cache; private DateTime _absExpiration; private TimeSpan _slidingExpiration; private AspCache.CacheItemPriority _priority; private Hashtable _map; private static readonly TimeSpan _defaultRelativeExpiration = TimeSpan.FromSeconds( 300 ); private static readonly string _cacheKeyPrefix = "NHibernate-Cache:"; /// <summary> /// default constructor /// </summary> public SysCache() : this( null, null ) { } /// <summary> /// constructor with no properties /// </summary> /// <param name="region"></param> public SysCache( string region ) : this( region, null ) { } /// <summary> /// full constructor /// </summary> /// <param name="region"></param> /// <param name="properties">cache configuration properties</param> /// <remarks> /// There are three (3) configurable parameters: /// <ul> /// <li>staticExpiration = a specific DateTime to expire each item on</li> /// <li>relativeExpiration = number of seconds to wait before expiring each item</li> /// <li>priority = a numeric cost of expiring each item, where 1 is a low cost, 5 is the highest, and 3 is normal. Only values 1 through 5 are valid.</li> /// </ul> /// staticExpiration and relativeExpiration are exclusive - you can only specify one or the other, not both. /// All parameters are optional. The defaults are a relativeExpiration of 300 seconds and the default priority of 3. /// </remarks> /// <exception cref="IndexOutOfRangeException">The "priority" property is not between 1 and 5</exception> /// <exception cref="NotSupportedException">"staticExpiration" and "relativeExpiration" properties were both specified.</exception> /// <exception cref="ArgumentOutOfRangeException">The "staticExpiration" property is not in the future.</exception> /// <exception cref="ArgumentException">The "relativeExpiration" property could not be parsed.</exception> public SysCache( string region, IDictionary properties ) { _region = region; _map = new Hashtable(); _cache = HttpRuntime.Cache; Configure( properties ); } private void Configure( IDictionary props ) { if( props == null ) { if( log.IsDebugEnabled ) { log.Debug( "configuring cache with default values" ); } _absExpiration = AspCache.Cache.NoAbsoluteExpiration; _slidingExpiration = _defaultRelativeExpiration; _priority = AspCache.CacheItemPriority.Default; } else { if( props["priority"] != null ) { int priority = Convert.ToInt32( props["priority"] ); if( priority < 1 || priority > 5 ) { if( log.IsWarnEnabled ) { log.Warn( "priority value out of range: " + priority.ToString() ); } throw new IndexOutOfRangeException( "priority must be between 1 and 5" ); } _priority = (AspCache.CacheItemPriority)priority; if( log.IsDebugEnabled ) { log.Debug( "new priority: " + _priority.ToString() ); } } else { _priority = AspCache.CacheItemPriority.Default; } if( props["relativeExpiration"] == null && props["staticExpiration"] == null ) { if( log.IsDebugEnabled ) { log.Debug( "no expiration values given, using defaults" ); } _absExpiration = AspCache.Cache.NoAbsoluteExpiration; _slidingExpiration = _defaultRelativeExpiration; return; } if( props["relativeExpiration"] != null && props["staticExpiration"] != null ) { if( log.IsWarnEnabled ) { log.Warn( "both expiration types specified" ); } throw new NotSupportedException( "staticExpiration and relativeExpiration are exclusive - specify one or the other, not both." ); } if( props["relativeExpiration"] == null && props["staticExpiration"] != null ) { DateTime exp; if( props["staticExpiration"] is DateTime ) { exp = (DateTime)props["staticExpiration"]; } else { try { exp = DateTime.Parse( props["staticExpiration"].ToString() ); } catch( Exception ex ) { if( log.IsWarnEnabled ) { log.Warn( "could not parse static expiration" ); } throw new ArgumentException( "could not parse as DateTime", "staticExpiration", ex ); } } if( exp > DateTime.Now ) { _absExpiration = exp; if( log.IsDebugEnabled ) { log.Debug( "new static expiration value: " + _absExpiration.ToString() ); } } else { if( log.IsWarnEnabled ) { log.Warn( "static expiration not a future time or date" ); } throw new ArgumentOutOfRangeException( "staticExpiration", exp.ToString(), "staticExpiration must be in the future" ); } _slidingExpiration = _defaultRelativeExpiration; } else { _absExpiration = AspCache.Cache.NoAbsoluteExpiration; try { int seconds = Convert.ToInt32( props["relativeExpiration"] ); _slidingExpiration = TimeSpan.FromSeconds( seconds ); if( log.IsDebugEnabled ) { log.Debug( "new relative expiration value: " + seconds.ToString() ); } } catch( Exception ex ) { if( log.IsWarnEnabled ) { log.Warn( "error parsing relative expiration value" ); } throw new ArgumentException( "could not parse relativeException as a number of seconds", "relativeException", ex ); } } } } private string GetCacheKey( object key ) { return String.Concat( _cacheKeyPrefix, _region, ":", key.ToString() ); } /// <summary></summary> /// <param name="key"></param> /// <returns></returns> public object Get( object key ) { if( key == null ) { return null; } string cacheKey = GetCacheKey( key ); if( log.IsDebugEnabled ) { log.Debug( String.Format( "Fetching object '{0}' from the cache.", cacheKey ) ); } return _cache.Get( cacheKey ); } /// <summary></summary> /// <param name="key"></param> /// <param name="value"></param> public void Put( object key, object value ) { if( key == null ) { throw new ArgumentNullException( "key", "null key not allowed" ); } if( value == null ) { throw new ArgumentNullException( "value", "null value not allowed" ); } string cacheKey = GetCacheKey( key ); if( _cache[ cacheKey ] != null ) { if( log.IsDebugEnabled ) { log.Debug( String.Format("updating value of key '{0}' to '{1}'.", cacheKey, value.ToString() ) ); } _cache[ cacheKey ] = value; } else { if( log.IsDebugEnabled ) { log.Debug( String.Format("adding new data: key={0}&value={1}", cacheKey, value.ToString() ) ); } _map.Add( cacheKey, value ); _cache.Add( cacheKey, value, null, _absExpiration, _slidingExpiration, _priority, new AspCache.CacheItemRemovedCallback( this.CacheItemRemoved ) ); } } /// <summary> /// make sure the Hashtable is in sync with the cache by using the callback. /// </summary> /// <param name="key"></param> /// <param name="value"></param> /// <param name="reason"></param> public void CacheItemRemoved( string key, object value, AspCache.CacheItemRemovedReason reason ) { _map.Remove( key ); } /// <summary></summary> /// <param name="key"></param> public void Remove( object key ) { if( key == null ) { throw new ArgumentNullException( "key" ); } string cacheKey = GetCacheKey( key ); if( log.IsDebugEnabled ) { log.Debug( "removing item with key: " + cacheKey ); } _map.Remove( cacheKey ); // possibly not needed now that callbacks are used _cache.Remove( cacheKey ); } /// <summary></summary> public void Clear() { ArrayList keys = new ArrayList( _map.Keys ); foreach( object key in keys ) { _cache.Remove( key.ToString() ); } _map.Clear(); } /// <summary></summary> public void Destroy() { Clear(); } /// <summary></summary> public string Region { set { _region = value; } } } } --- NEW FILE: SysCacheProviderFixture.cs --- #region License // // SysCache - A cache provider for NHibernate using System.Web.Caching.Cache. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // CLOVER:OFF // #endregion using System; using System.Collections; using NHibernate.Cache; using NUnit.Framework; namespace NHibernate.Caches.SysCache.Tests { [TestFixture] public class SysCacheProviderFixture { private ICacheProvider provider; private Hashtable props; [TestFixtureSetUp] public void FixtureSetup() { log4net.Config.DOMConfigurator.Configure(); props = new Hashtable(); props.Add( "staticExpiration", DateTime.Parse( "1/1/3000" ) ); props.Add( "priority", 2 ); } [SetUp] public void Setup() { provider = new SysCacheProvider(); } [Test] public void TestBuildCacheNullNull() { ICache cache = provider.BuildCache( null, null ); Assert.IsNotNull( cache, "no cache returned" ); } [Test] public void TestBuildCacheStringNull() { ICache cache = provider.BuildCache( "a_region", null ); Assert.IsNotNull( cache, "no cache returned" ); } [Test] public void TestBuildCacheStringICollection() { ICache cache = provider.BuildCache( "another_region", props ); Assert.IsNotNull( cache, "no cache returned" ); } [Test] public void TestNextTimestamp() { long ts = provider.NextTimestamp(); Assert.IsNotNull( ts, "no timestamp returned" ); } } } --- NEW FILE: SysCacheProvider.cs --- #region License // // SysCache - A cache provider for NHibernate using System.Web.Caching.Cache. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // #endregion using System; using System.Collections; using System.Text; using log4net; using NHibernate.Cache; namespace NHibernate.Caches.SysCache { /// <summary> /// Cache provider using the System.Web.Caching classes /// </summary> public class SysCacheProvider : ICacheProvider { private static readonly ILog log = LogManager.GetLogger( typeof( SysCacheProvider ) ); /// <summary> /// build a new SysCache /// </summary> /// <param name="regionName"></param> /// <param name="properties"></param> /// <returns></returns> [CLSCompliant(false)] public ICache BuildCache( string regionName, IDictionary properties ) { if( regionName == null ) { regionName = ""; } if( properties == null ) { properties = new Hashtable(); } if( log.IsDebugEnabled ) { StringBuilder sb = new StringBuilder(); foreach( DictionaryEntry de in properties ) { sb.Append( "name=" ); sb.Append( de.Key.ToString() ); sb.Append( "&value=" ); sb.Append( de.Value.ToString() ); sb.Append( ";" ); } log.Debug( "building cache with region: " + regionName + ", properties: " + sb.ToString() ); } return new SysCache( regionName, properties ); } /// <summary></summary> /// <returns></returns> public long NextTimestamp() { return Timestamper.Next(); } } } --- NEW FILE: syscache.nunit --- <NUnitProject> <Settings activeconfig="Debug"/> <Config name="Debug"> <assembly path="bin\Debug\NHibernate.Caches.SysCache.Tests.dll"/> </Config> <Config name="Release"> <assembly path="bin\Release\NHibernate.Caches.SysCache.Tests.dll"/> </Config> </NUnitProject> |
Update of /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Caches/SysCache In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28499 Added Files: AssemblyInfo.cs NHibernate.Caches.SysCache-1.1.csproj NHibernate.Caches.SysCache.Tests-1.1.csproj syscache.build syscache.config Log Message: migrating cache implementations to new folder --- NEW FILE: syscache.config --- <?xml version="1.0" encoding="utf-8" ?> <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> <nhibernate> <!-- <add key="hibernate.connection.pool_size" value="2" /> <add key="hibernate.use_outer_join" value="false" /> --> <!-- The valid strings for Isolation can be found in the documentation for the System.Data.IsolationLevel Enumeration documentation. Use the member names - not the values. --> <!--add key="hibernate.connection.isolation" value="ReadCommitted" /--> <add key="hibernate.connection.provider" value="NHibernate.Connection.DriverConnectionProvider" /> <add key="hibernate.dialect" value="NHibernate.Dialect.MsSql2000Dialect" /> <add key="hibernate.connection.driver_class" value="NHibernate.Driver.SqlClientDriver" /> <add key="hibernate.connection.connection_string" value="Server=localhost;initial catalog=nhibernate;Integrated Security=SSPI" /> <add key="hibernate.cache.provider_class" value="NHibernate.Caches.SysCache.SysCacheProvider,NHibernate.Caches.SysCache" /> <add key="hibernate.cache.use_query_cache" value="true" /> </nhibernate> <log4net> <appender name="myFile" type="log4net.Appender.FileAppender,log4net" > <param name="File" value="log.txt" /> <param name="AppendToFile" value="false" /> <layout type="log4net.Layout.PatternLayout,log4net"> <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] <%X{auth}> - %m%n" /> </layout> </appender> <root> <priority value="DEBUG" /> <appender-ref ref="myFile" /> </root> <logger name="NHibernate"> <level value="WARN" /> </logger> </log4net> </configuration> --- NEW FILE: NHibernate.Caches.SysCache-1.1.csproj --- <VisualStudioProject> <CSHARP ProjectType = "Local" ProductVersion = "7.10.3077" SchemaVersion = "2.0" ProjectGuid = "{21FB1DFD-A6A9-4C8D-B4E2-CCB2EBDF8F16}" > <Build> <Settings ApplicationIcon = "" AssemblyKeyContainerName = "" AssemblyName = "NHibernate.Caches.SysCache" AssemblyOriginatorKeyFile = "" DefaultClientScript = "JScript" DefaultHTMLPageLayout = "Grid" DefaultTargetSchema = "IE50" DelaySign = "false" OutputType = "Library" PreBuildEvent = "" PostBuildEvent = "" RootNamespace = "NHibernate.Caches.SysCache" RunPostBuildEvent = "OnBuildSuccess" StartupObject = "" > <Config Name = "Debug" AllowUnsafeBlocks = "false" BaseAddress = "285212672" CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" DocumentationFile = "NHibernate.Caches.SysCache.xml" DebugSymbols = "true" FileAlignment = "4096" IncrementalBuild = "false" NoStdLib = "false" NoWarn = "" Optimize = "false" OutputPath = "bin\Debug\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" WarningLevel = "4" /> <Config Name = "Release" AllowUnsafeBlocks = "false" BaseAddress = "285212672" CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "TRACE" DocumentationFile = "NHibernate.Caches.SysCache.xml" DebugSymbols = "false" FileAlignment = "4096" IncrementalBuild = "false" NoStdLib = "false" NoWarn = "" Optimize = "true" OutputPath = "bin\Release\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" WarningLevel = "4" /> </Settings> <References> <Reference Name = "System" AssemblyName = "System" HintPath = "..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll" /> <Reference Name = "System.Data" AssemblyName = "System.Data" HintPath = "..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll" /> <Reference Name = "System.XML" AssemblyName = "System.Xml" HintPath = "..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll" /> <Reference Name = "System.Web" AssemblyName = "System.Web" HintPath = "..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Web.dll" /> <Reference Name = "NHibernate" AssemblyName = "NHibernate" HintPath = "..\..\..\lib\net\1.1\NHibernate.dll" /> <Reference Name = "log4net" AssemblyName = "log4net" HintPath = "..\..\..\lib\net\1.1\log4net.dll" /> </References> </Build> <Files> <Include> <File RelPath = "AssemblyInfo.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "SysCache.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "SysCacheProvider.cs" SubType = "Code" BuildAction = "Compile" /> </Include> </Files> </CSHARP> </VisualStudioProject> --- NEW FILE: AssemblyInfo.cs --- using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security.Permissions; //------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. // Runtime Version: 1.1.4322.2032 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </autogenerated> //------------------------------------------------------------------------------ [assembly: AssemblyTitleAttribute("NHibernate.Caches.SysCache for Microsoft .NET Framework 1.1")] [assembly: AssemblyDescriptionAttribute("Cache provider for NHibernate using ASP.NET Cache object.")] [assembly: AssemblyCompanyAttribute("nhibernate.sourceforge.net")] [assembly: AssemblyProductAttribute("NHibernate.Caches.SysCache")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] [assembly: AssemblyVersionAttribute("0.8.0.0")] [assembly: AssemblyInformationalVersionAttribute("0.8")] --- NEW FILE: NHibernate.Caches.SysCache.Tests-1.1.csproj --- <VisualStudioProject> <CSHARP ProjectType = "Local" ProductVersion = "7.10.3077" SchemaVersion = "2.0" ProjectGuid = "{53E01216-76B6-4920-A386-2486ACEE5AEA}" > <Build> <Settings ApplicationIcon = "" AssemblyKeyContainerName = "" AssemblyName = "NHibernate.Caches.SysCache.Tests" AssemblyOriginatorKeyFile = "" DefaultClientScript = "JScript" DefaultHTMLPageLayout = "Grid" DefaultTargetSchema = "IE50" DelaySign = "false" OutputType = "Library" PreBuildEvent = "" PostBuildEvent = "" RootNamespace = "NHibernate.Caches.SysCache.Tests" RunPostBuildEvent = "OnBuildSuccess" StartupObject = "" > <Config Name = "Debug" AllowUnsafeBlocks = "false" BaseAddress = "285212672" CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" DocumentationFile = "" DebugSymbols = "true" FileAlignment = "4096" IncrementalBuild = "false" NoStdLib = "false" NoWarn = "" Optimize = "false" OutputPath = "bin\Debug\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" WarningLevel = "4" /> <Config Name = "Release" AllowUnsafeBlocks = "false" BaseAddress = "285212672" CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "TRACE" DocumentationFile = "" DebugSymbols = "false" FileAlignment = "4096" IncrementalBuild = "false" NoStdLib = "false" NoWarn = "" Optimize = "true" OutputPath = "bin\Release\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" WarningLevel = "4" /> </Settings> <References> <Reference Name = "System" AssemblyName = "System" HintPath = "..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll" /> <Reference Name = "System.Data" AssemblyName = "System.Data" HintPath = "..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll" /> <Reference Name = "System.XML" AssemblyName = "System.Xml" HintPath = "..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll" /> <Reference Name = "syscache" Project = "{21FB1DFD-A6A9-4C8D-B4E2-CCB2EBDF8F16}" Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}" /> <Reference Name = "nunit.framework" AssemblyName = "nunit.framework" HintPath = "..\..\..\lib\net\1.1\nunit.framework.dll" /> <Reference Name = "log4net" AssemblyName = "log4net" HintPath = "..\..\..\lib\net\1.1\log4net.dll" /> <Reference Name = "NHibernate" AssemblyName = "NHibernate" HintPath = "..\..\..\lib\net\1.1\NHibernate.dll" /> </References> </Build> <Files> <Include> <File RelPath = "AssemblyInfo.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "syscache.nunit" BuildAction = "None" /> <File RelPath = "SysCacheFixture.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "SysCacheProviderFixture.cs" SubType = "Code" BuildAction = "Compile" /> </Include> </Files> </CSHARP> </VisualStudioProject> --- NEW FILE: syscache.build --- <?xml version="1.0"?> <project name="NHibernate.Caches.SysCache" default="build" description="NHibernate pluggable cache provider using ASP.NET Cache object" xmlns="http://nant.sourceforge.net/schemas/nant-0.84.win32.net-1.0.xsd"> <!-- Required properties: * build.dir - (path) root level to build to, assemblies will go in ${build.dir}/bin * 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 - (true|false)indicates if the Assembly should be signed. * clover.enabled - (true|false) indicates if Clover.NET should handle the build * clover.src - location of the clovered source to be stored at from the root of NHibernateContrib * clover.db - location of the coverage db from the root of NHibernateContrib --> <if propertytrue="clover.enabled"> <loadtasks assembly="${clover.home}/CloverNAnt-0.84.dll" /> </if> <property name="keyFile" value="..\NHibernate.snk" /> <target name="build"> <if propertytrue="clover.enabled"> <clover-setup initstring="..\..\${clover.db}" builddir="..\..\${clover.src}\${nant.project.name}" enabled="${clover.enabled}" flushinterval="1000" /> </if> <attrib file="AssemblyInfo.cs" readonly="false" /> <asminfo output="AssemblyInfo.cs" language="CSharp"> <imports> <import name="System" /> <import name="System.Reflection" /> <import name="System.Runtime.CompilerServices" /> <import name="System.Runtime.InteropServices" /> <import name="System.Security.Permissions" /> </imports> <attributes> <attribute type="AssemblyTitleAttribute" value="${nant.project.name} for ${current.runtime.description}" /> <attribute type="AssemblyDescriptionAttribute" value="Cache provider for NHibernate using ASP.NET Cache object." /> <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="AssemblyKeyFileAttribute" value="${keyFile}" if="${sign}" /> </attributes> </asminfo> <csc output="${build.dir}/bin/${nant.project.name}.dll" doc="${build.dir}/bin/${nant.project.name}.xml" target="library" debug="${build.debug}" define="${current.build.defines}" optimize="true" > <sources> <excludes name="**/*Fixture.cs" /> <includes name="**/*.cs" /> </sources> <references> <includes name="System.dll" /> <includes name="System.Data.dll" /> <includes name="System.Web.dll" /> <includes name="System.XML.dll" /> <includes name="${build.dir}/bin/NHibernate.dll" /> <includes name="${build.dir}/bin/log4net.dll" /> </references> </csc> <csc output="${build.dir}/bin/${nant.project.name}.Tests.dll" target="library" debug="${build.debug}" define="${current.build.defines}" optimize="true" > <sources> <includes name="**/AssemblyInfo.cs" /> <includes name="**/*Fixture.cs" /> </sources> <references> <includes name="System.dll" /> <includes name="System.Data.dll" /> <includes name="System.XML.dll" /> <includes name="${build.dir}/bin/${nant.project.name}.dll" /> <includes name="${build.dir}/bin/NHibernate.dll" /> <includes name="${build.dir}/bin/nunit.framework.dll" /> <includes name="${build.dir}/bin/log4net.dll" /> </references> </csc> </target> <target name="test" depends="build" description="run unit tests"> <copy file="syscache.config" tofile="${build.dir}/bin/${nant.project.name}.Tests.dll.config" /> <nunit2 failonerror="false"> <formatter type="Xml" usefile="true" extension=".xml" outputdir="${build.dir}/bin" /> <test assemblyname="${build.dir}/bin/${nant.project.name}.Tests.dll" appconfig="${build.dir}/${nant.project.name}.Tests.dll.config" /> </nunit2> <if propertytrue="nunit2report.installed"> <mkdir dir="${build.dir}/testresults" /> <nunit2report out="${build.dir}/testresults/syscache.html" todir="${build.dir}/testresults"> <fileset> <includes name="${build.dir}\bin\${nant.project.name}.Tests.dll-results.xml" /> </fileset> </nunit2report> </if> </target> </project> |
From: Kevin W. <kev...@us...> - 2005-04-04 04:26:33
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Caches/Prevalence In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28350 Added Files: prevalencecache.build prevalencecache.config PrevalenceCache.cs prevalencecache.nunit PrevalenceCacheFixture.cs PrevalenceCacheProvider.cs PrevalenceCacheProviderFixture.cs Log Message: migrating cache implementations to new folder --- NEW FILE: prevalencecache.build --- <?xml version="1.0"?> <project name="NHibernate.Caches.Prevalence" default="build" description="NHibernate pluggable cache provider using Bamboo.Prevalence engine" xmlns="http://nant.sourceforge.net/schemas/nant-0.84.win32.net-1.0.xsd"> <!-- Required properties: * build.dir - (path) root level to build to, assemblies will go in ${build.dir}/bin * 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 - (true|false)indicates if the Assembly should be signed. * clover.enabled - (true|false) indicates if Clover.NET should handle the build * clover.src - location of the clovered source to be stored at from the root of NHibernateContrib * clover.db - location of the coverage db from the root of NHibernateContrib --> <if propertytrue="clover.enabled"> <loadtasks assembly="${clover.home}/CloverNAnt-0.84.dll" /> </if> <property name="keyFile" value="..\NHibernate.snk" /> <target name="build"> <if propertytrue="clover.enabled"> <clover-setup initstring="..\..\${clover.db}" builddir="..\..\${clover.src}\${nant.project.name}" enabled="${clover.enabled}" flushinterval="1000" /> </if> <attrib file="AssemblyInfo.cs" readonly="false" /> <asminfo output="AssemblyInfo.cs" language="CSharp"> <imports> <import name="System" /> <import name="System.Reflection" /> <import name="System.Runtime.CompilerServices" /> <import name="System.Runtime.InteropServices" /> <import name="System.Security.Permissions" /> </imports> <attributes> <attribute type="AssemblyTitleAttribute" value="${nant.project.name} for ${current.runtime.description}" /> <attribute type="AssemblyDescriptionAttribute" value="Cache provider for NHibernate using Bamboo.Prevalence engine." /> <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="AssemblyKeyFileAttribute" value="${keyFile}" if="${sign}" /> </attributes> </asminfo> <csc output="${build.dir}/bin/${nant.project.name}.dll" doc="${build.dir}/bin/${nant.project.name}.xml" target="library" debug="${build.debug}" define="${current.build.defines}" optimize="true" > <sources> <excludes name="**/*Fixture.cs" /> <includes name="**/*.cs" /> </sources> <references> <includes name="System.dll" /> <includes name="System.Data.dll" /> <includes name="System.Web.dll" /> <includes name="System.XML.dll" /> <includes name="${build.dir}/bin/NHibernate.dll" /> <includes name="${build.dir}/bin/log4net.dll" /> <includes name="${build.dir}/bin/Bamboo.Prevalence.dll" /> </references> </csc> <csc output="${build.dir}/bin/${nant.project.name}.Tests.dll" target="library" debug="${build.debug}" define="${current.build.defines}" optimize="true" > <sources> <includes name="**/AssemblyInfo.cs" /> <includes name="**/*Fixture.cs" /> </sources> <references> <includes name="System.dll" /> <includes name="System.Data.dll" /> <includes name="System.XML.dll" /> <includes name="${build.dir}/bin/${nant.project.name}.dll" /> <includes name="${build.dir}/bin/NHibernate.dll" /> <includes name="${build.dir}/bin/nunit.framework.dll" /> <includes name="${build.dir}/bin/log4net.dll" /> <includes name="${build.dir}/bin/Bamboo.Prevalence.dll" /> </references> </csc> </target> <target name="test" depends="build" description="run unit tests"> <copy file="prevalencecache.config" tofile="${build.dir}/bin/${nant.project.name}.Tests.dll.config" /> <nunit2 failonerror="false"> <formatter type="Xml" usefile="true" extension=".xml" outputdir="${build.dir}/bin" /> <test assemblyname="${build.dir}/bin/${nant.project.name}.Tests.dll" appconfig="${build.dir}/${nant.project.name}.Tests.dll.config" /> </nunit2> <if propertytrue="nunit2report.installed"> <mkdir dir="${build.dir}/testresults" /> <nunit2report out="${build.dir}/testresults/prevalencecache.html" todir="${build.dir}/testresults"> <fileset> <includes name="${build.dir}\bin\${nant.project.name}.Tests.dll-results.xml" /> </fileset> </nunit2report> </if> </target> </project> --- NEW FILE: PrevalenceCacheProvider.cs --- using System; using System.Collections; using System.Text; using log4net; using NHibernate.Cache; namespace NHibernate.Caches.Prevalence { /// <summary> /// Cache provider using <a href="http://bbooprevalence.sourceforge.net/">Bamboo Prevalence</a>, /// a Prevayler implementation in .NET. /// </summary> public class PrevalenceCacheProvider : ICacheProvider { private static readonly ILog log = LogManager.GetLogger( typeof( PrevalenceCacheProvider ) ); /// <summary> /// build and return a new cache implementation /// </summary> /// <param name="regionName"></param> /// <param name="properties"></param> /// <returns></returns> [CLSCompliant(false)] public ICache BuildCache( string regionName, IDictionary properties ) { if( regionName == null ) { regionName = ""; } if( properties == null ) { properties = new Hashtable(); } if( log.IsDebugEnabled ) { StringBuilder sb = new StringBuilder(); foreach( DictionaryEntry de in properties ) { sb.Append( "name=" ); sb.Append( de.Key.ToString() ); sb.Append( "&value=" ); sb.Append( de.Value.ToString() ); sb.Append( ";" ); } log.Debug( "building cache with region: " + regionName + ", properties: " + sb.ToString() ); } return new PrevalenceCache( regionName, properties ); } /// <summary></summary> /// <returns></returns> public long NextTimestamp() { return Timestamper.Next(); } } } --- NEW FILE: PrevalenceCacheFixture.cs --- using System; using System.Collections; using NHibernate.Cache; using NUnit.Framework; namespace NHibernate.Caches.Prevalence.Tests { [TestFixture] public class PrevalenceCacheFixture { private PrevalenceCacheProvider provider; private Hashtable props; [TestFixtureSetUp] public void FixtureSetup() { log4net.Config.DOMConfigurator.Configure(); props = new Hashtable(); provider = new PrevalenceCacheProvider(); } [Test] public void TestPut() { string key = "key1"; string value = "value"; ICache cache = provider.BuildCache( "nunit", props ); Assert.IsNotNull( cache, "no cache returned" ); Assert.IsNull( cache.Get( key ), "cache returned an item we didn't add !?!" ); cache.Put( key, value ); object item = cache.Get( key ); Assert.IsNotNull( item ); Assert.AreEqual( value, item, "didn't return the item we added" ); } [Test] public void TestRemove() { string key = "key1"; string value = "value"; ICache cache = provider.BuildCache( "nunit", props ); Assert.IsNotNull( cache, "no cache returned" ); // add the item cache.Put( key, value ); // make sure it's there object item = cache.Get( key ); Assert.IsNotNull( item, "item just added is not there" ); // remove it cache.Remove( key ); // make sure it's not there item = cache.Get( key ); Assert.IsNull( item, "item still exists in cache" ); } [Test] public void TestClear() { string key = "key1"; string value = "value"; ICache cache = provider.BuildCache( "nunit", props ); Assert.IsNotNull( cache, "no cache returned" ); // add the item cache.Put( key, value ); // make sure it's there object item = cache.Get( key ); Assert.IsNotNull( item, "couldn't find item in cache" ); // clear the cache cache.Clear(); // make sure we don't get an item item = cache.Get( key ); Assert.IsNull( item, "item still exists in cache" ); } [Test] public void TestDefaultConstructor() { ICache cache = new PrevalenceCache(); Assert.IsNotNull( cache ); } [Test] public void TestNoPropertiesConstructor() { ICache cache = new PrevalenceCache( "nunit" ); Assert.IsNotNull( cache ); } [Test] public void TestEmptyProperties() { ICache cache = new PrevalenceCache( "nunit", new Hashtable() ); Assert.IsNotNull( cache ); } [Test] [ExpectedException( typeof( ArgumentNullException ) )] public void TestNullKeyPut() { ICache cache = new PrevalenceCache(); cache.Put( null, null ); } [Test] [ExpectedException( typeof( ArgumentNullException ) )] public void TestNullValuePut() { ICache cache = new PrevalenceCache(); cache.Put( "nunit", null ); } [Test] public void TestNullKeyGet() { ICache cache = new PrevalenceCache(); cache.Put( "nunit", "value" ); object item = cache.Get( null ); Assert.IsNull( item ); } [Test] [ExpectedException( typeof( ArgumentNullException ) )] public void TestNullKeyRemove() { ICache cache = new PrevalenceCache(); cache.Remove( null ); } [Test] public void TestRegions() { string key = "key"; ICache cache1 = provider.BuildCache( "nunit1", props ); ICache cache2 = provider.BuildCache( "nunit2", props ); string s1 = "test1"; string s2 = "test2"; cache1.Put( key, s1 ); cache2.Put( key, s2 ); object get1 = cache1.Get( key ); object get2 = cache2.Get( key ); Assert.IsFalse( get1 == get2 ); } } } --- NEW FILE: prevalencecache.nunit --- <NUnitProject> <Settings activeconfig="Debug"/> <Config name="Debug"> <assembly path="bin\Debug\NHibernate.Caches.Prevalence.Tests.dll"/> </Config> <Config name="Release"> <assembly path="bin\Release\NHibernate.Caches.Prevalence.Tests.dll"/> </Config> </NUnitProject> --- NEW FILE: prevalencecache.config --- <?xml version="1.0" encoding="utf-8" ?> <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> <nhibernate> <!-- <add key="hibernate.connection.pool_size" value="2" /> <add key="hibernate.use_outer_join" value="false" /> --> <!-- The valid strings for Isolation can be found in the documentation for the System.Data.IsolationLevel Enumeration documentation. Use the member names - not the values. --> <!--add key="hibernate.connection.isolation" value="ReadCommitted" /--> <add key="hibernate.connection.provider" value="NHibernate.Connection.DriverConnectionProvider" /> <add key="hibernate.dialect" value="NHibernate.Dialect.MsSql2000Dialect" /> <add key="hibernate.connection.driver_class" value="NHibernate.Driver.SqlClientDriver" /> <add key="hibernate.connection.connection_string" value="Server=localhost;initial catalog=nhibernate;Integrated Security=SSPI" /> <add key="hibernate.cache.provider_class" value="NHibernate.Caches.Prevalence.PrevalenceCacheProvider,NHibernate.Caches.Prevalence" /> <add key="hibernate.cache.use_query_cache" value="true" /> </nhibernate> <log4net> <appender name="myFile" type="log4net.Appender.FileAppender,log4net" > <param name="File" value="log.txt" /> <param name="AppendToFile" value="false" /> <layout type="log4net.Layout.PatternLayout,log4net"> <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] <%X{auth}> - %m%n" /> </layout> </appender> <root> <priority value="DEBUG" /> <appender-ref ref="myFile" /> </root> <logger name="NHibernate"> <level value="WARN" /> </logger> </log4net> </configuration> --- NEW FILE: PrevalenceCacheProviderFixture.cs --- using System; using System.Collections; using System.IO; using NHibernate.Cache; using NUnit.Framework; namespace NHibernate.Caches.Prevalence.Tests { [TestFixture] public class PrevalenceCacheProviderFixture { private PrevalenceCacheProvider provider; private Hashtable props; private string testDir; [TestFixtureSetUp] public void FixtureSetup() { log4net.Config.DOMConfigurator.Configure(); props = new Hashtable(); testDir = @"C:\temp\prevalence"; props.Add( "prevalenceBase", testDir ); } [SetUp] public void Setup() { provider = new PrevalenceCacheProvider(); } [TearDown] public void Teardown() { if( Directory.Exists( testDir ) ) { Directory.Delete( testDir ); } } [Test] public void TestBuildCacheNullNull() { ICache cache = provider.BuildCache( null, null ); Assert.IsNotNull( cache, "no cache returned" ); } [Test] public void TestBuildCacheStringNull() { ICache cache = provider.BuildCache( "a_region", null ); Assert.IsNotNull( cache, "no cache returned" ); } [Test] public void TestBuildCacheStringICollection() { Assert.IsFalse( Directory.Exists( testDir ) ); ICache cache = provider.BuildCache( "another_region", props ); Assert.IsTrue( Directory.Exists( testDir ) ); Assert.IsNotNull( cache, "no cache returned" ); } [Test] public void TestNextTimestamp() { long ts = provider.NextTimestamp(); Assert.IsNotNull( ts, "no timestamp returned" ); } } } --- NEW FILE: PrevalenceCache.cs --- using System; using System.Collections; using System.IO; using Bamboo.Prevalence; using log4net; using NHibernate.Cache; namespace NHibernate.Caches.Prevalence { /// <summary> /// Summary description for PrevalenceCache. /// </summary> public class PrevalenceCache : ICache, IDisposable { private static readonly ILog log = LogManager.GetLogger( typeof( PrevalenceCache ) ); private static readonly string _cacheKeyPrefix = "NHibernate-Cache:"; private string _region; private PrevalenceEngine _engine; private CacheSystem _system; /// <summary> /// default constructor /// </summary> public PrevalenceCache() : this( "nhibernate", null ) { } /// <summary> /// constructor with no properties /// </summary> /// <param name="region"></param> public PrevalenceCache( string region ) : this( region, null ) { } /// <summary> /// full constructor /// </summary> /// <param name="region"></param> /// <param name="properties">cache configuration properties</param> /// <remarks>There is only one configurable parameter: prevalenceBase. This is /// the directory on the file system where the Prevalence engine will save data. /// It can be relative to the current directory or a full path. If the directory /// doesn't exist, it will be created.</remarks> public PrevalenceCache( string region, IDictionary properties ) { _region = region; Configure( properties ); } private void Configure( IDictionary properties ) { string dataDir = Path.Combine( Environment.CurrentDirectory, _region ); if( properties != null ) { if( properties["prevalenceBase"] != null ) { string prevalenceBase = properties["prevalenceBase"].ToString(); if( Path.IsPathRooted( prevalenceBase ) ) { dataDir = prevalenceBase; } else { dataDir = Path.Combine( Environment.CurrentDirectory, prevalenceBase ); } } } if( Directory.Exists( dataDir ) == false ) { if( log.IsDebugEnabled ) { log.Debug( String.Format( "Data directory {0} doesn't exist: creating it.", dataDir ) ); } Directory.CreateDirectory( dataDir ); } if( log.IsDebugEnabled ) { log.Debug( String.Format( "configuring cache in {0}.", dataDir ) ); } _engine = PrevalenceActivator.CreateTransparentEngine( typeof( CacheSystem ), dataDir ); _system = _engine.PrevalentSystem as CacheSystem; } private string GetCacheKey( object key ) { return String.Concat( _cacheKeyPrefix, _region, ":", key.ToString() ); } /// <summary></summary> /// <param name="key"></param> /// <returns></returns> public object Get( object key ) { if( key == null ) { return null; } string cacheKey = GetCacheKey( key ); if( log.IsDebugEnabled ) { log.Debug( String.Format( "Fetching object '{0}' from the cache.", cacheKey ) ); } return _system.Get( cacheKey ); } /// <summary></summary> /// <param name="key"></param> /// <param name="value"></param> public void Put( object key, object value ) { if( key == null ) { if( log.IsErrorEnabled ) { log.Error( "null key passed to 'Put'" ); } throw new ArgumentNullException( "key", "null key not allowed" ); } if( value == null ) { if( log.IsErrorEnabled ) { log.Error( "null value passed to 'Put'" ); } throw new ArgumentNullException( "value", "null value not allowed" ); } string cacheKey = GetCacheKey( key ); if( log.IsDebugEnabled ) { log.Debug( String.Format( "setting value {1} for key {0}", cacheKey, value.ToString() ) ); } _system.Add( cacheKey, value ); } /// <summary></summary> /// <param name="key"></param> public void Remove( object key ) { if( key == null ) { if( log.IsErrorEnabled ) { log.Error( "null key passed to 'Remove'" ); } throw new ArgumentNullException( "key" ); } string cacheKey = GetCacheKey( key ); if( log.IsDebugEnabled ) { log.Debug( "removing item with key: " + cacheKey ); } _system.Remove( cacheKey ); } /// <summary></summary> public void Clear() { if( log.IsInfoEnabled ) { log.Info( "clearing all objects from system" ); } _system.Clear(); } /// <summary></summary> public void Destroy() { if( log.IsInfoEnabled ) { log.Info( "'Destroy' was called" ); } Clear(); } /// <summary></summary> public string Region { set { _region = value; } } #region IDisposable Members /// <summary> /// take snapshot before shutting down /// </summary> public void Dispose() { _engine.TakeSnapshot(); } #endregion } } |
Update of /cvsroot/nhibernate/NHibernateContrib/src/NHibernate.Caches/Prevalence In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28292 Added Files: AssemblyInfo.cs CacheEntry.cs CacheSystem.cs NHibernate.Caches.Prevalence-1.1.csproj NHibernate.Caches.Prevalence.Tests-1.1.csproj Log Message: migrating cache implementations to new folder --- NEW FILE: CacheSystem.cs --- using System; using System.Collections.Specialized; using Bamboo.Prevalence; namespace NHibernate.Caches.Prevalence { /// <summary> /// Summary description for CacheSystem. /// </summary> [Serializable] internal class CacheSystem : MarshalByRefObject { private HybridDictionary _items; /// <summary> /// default constructor /// </summary> public CacheSystem() { _items = new HybridDictionary(); } /// <summary> /// retrieve the value for the given key /// </summary> /// <param name="key"></param> /// <returns></returns> public object Get( object key ) { CacheEntry entry = _items[key] as CacheEntry; if( entry == null ) { return null; } return entry.Value; } /// <summary> /// add or update an object in the cache /// </summary> /// <param name="key"></param> /// <param name="value"></param> public void Add( object key, object value ) { CacheEntry entry = _items[key] as CacheEntry; if( entry == null ) { entry = new CacheEntry(); entry.Key = key; entry.Value = value; entry.DateCreated = PrevalenceEngine.Now; _items.Add( key, entry ); } else { entry.Value = value; _items[key] = entry; } } /// <summary> /// remove an item from the cache /// </summary> /// <param name="key"></param> public void Remove( object key ) { _items.Remove( key ); } /// <summary> /// clear the cache /// </summary> public void Clear() { _items.Clear(); } } } --- NEW FILE: NHibernate.Caches.Prevalence.Tests-1.1.csproj --- <VisualStudioProject> <CSHARP ProjectType = "Local" ProductVersion = "7.10.3077" SchemaVersion = "2.0" ProjectGuid = "{C04709C0-2FF9-424A-82FF-235312877853}" > <Build> <Settings ApplicationIcon = "" AssemblyKeyContainerName = "" AssemblyName = "NHibernate.Caches.Prevalence.Tests" AssemblyOriginatorKeyFile = "" DefaultClientScript = "JScript" DefaultHTMLPageLayout = "Grid" DefaultTargetSchema = "IE50" DelaySign = "false" OutputType = "Library" PreBuildEvent = "" PostBuildEvent = "" RootNamespace = "NHibernate.Caches.Prevalence.Tests" RunPostBuildEvent = "OnBuildSuccess" StartupObject = "" > <Config Name = "Debug" AllowUnsafeBlocks = "false" BaseAddress = "285212672" CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" DocumentationFile = "" DebugSymbols = "true" FileAlignment = "4096" IncrementalBuild = "false" NoStdLib = "false" NoWarn = "" Optimize = "false" OutputPath = "bin\Debug\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" WarningLevel = "4" /> <Config Name = "Release" AllowUnsafeBlocks = "false" BaseAddress = "285212672" CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "TRACE" DocumentationFile = "" DebugSymbols = "false" FileAlignment = "4096" IncrementalBuild = "false" NoStdLib = "false" NoWarn = "" Optimize = "true" OutputPath = "bin\Release\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" WarningLevel = "4" /> </Settings> <References> <Reference Name = "System" AssemblyName = "System" HintPath = "..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll" /> <Reference Name = "System.Data" AssemblyName = "System.Data" HintPath = "..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll" /> <Reference Name = "System.XML" AssemblyName = "System.Xml" HintPath = "..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll" /> <Reference Name = "NHibernate.Caches.Prevalence-1.1" Project = "{51179C23-5555-45A4-9BBB-8F6E24D05C2B}" Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}" /> <Reference Name = "log4net" AssemblyName = "log4net" HintPath = "..\..\..\lib\net\1.1\log4net.dll" /> <Reference Name = "NHibernate" AssemblyName = "NHibernate" HintPath = "..\..\..\lib\net\1.1\NHibernate.dll" /> <Reference Name = "nunit.framework" AssemblyName = "nunit.framework" HintPath = "..\..\..\lib\net\1.1\nunit.framework.dll" /> </References> </Build> <Files> <Include> <File RelPath = "AssemblyInfo.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "PrevalenceCacheFixture.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "PrevalenceCacheProviderFixture.cs" SubType = "Code" BuildAction = "Compile" /> </Include> </Files> </CSHARP> </VisualStudioProject> --- NEW FILE: NHibernate.Caches.Prevalence-1.1.csproj --- <VisualStudioProject> <CSHARP ProjectType = "Local" ProductVersion = "7.10.3077" SchemaVersion = "2.0" ProjectGuid = "{51179C23-5555-45A4-9BBB-8F6E24D05C2B}" > <Build> <Settings ApplicationIcon = "" AssemblyKeyContainerName = "" AssemblyName = "NHibernate.Caches.Prevalence" AssemblyOriginatorKeyFile = "" DefaultClientScript = "JScript" DefaultHTMLPageLayout = "Grid" DefaultTargetSchema = "IE50" DelaySign = "false" OutputType = "Library" PreBuildEvent = "" PostBuildEvent = "" RootNamespace = "NHibernate.Caches.Prevalence" RunPostBuildEvent = "OnBuildSuccess" StartupObject = "" > <Config Name = "Debug" AllowUnsafeBlocks = "false" BaseAddress = "285212672" CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" DocumentationFile = "" DebugSymbols = "true" FileAlignment = "4096" IncrementalBuild = "false" NoStdLib = "false" NoWarn = "" Optimize = "false" OutputPath = "bin\Debug\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" WarningLevel = "4" /> <Config Name = "Release" AllowUnsafeBlocks = "false" BaseAddress = "285212672" CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "TRACE" DocumentationFile = "" DebugSymbols = "false" FileAlignment = "4096" IncrementalBuild = "false" NoStdLib = "false" NoWarn = "" Optimize = "true" OutputPath = "bin\Release\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" WarningLevel = "4" /> </Settings> <References> <Reference Name = "System" AssemblyName = "System" HintPath = "..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll" /> <Reference Name = "System.Data" AssemblyName = "System.Data" HintPath = "..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll" /> <Reference Name = "System.XML" AssemblyName = "System.Xml" HintPath = "..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll" /> <Reference Name = "Bamboo.Prevalence" AssemblyName = "Bamboo.Prevalence" HintPath = "..\..\..\lib\Bamboo.Prevalence.dll" /> <Reference Name = "log4net" AssemblyName = "log4net" HintPath = "..\..\..\lib\net\1.1\log4net.dll" /> <Reference Name = "NHibernate" AssemblyName = "NHibernate" HintPath = "..\..\..\lib\net\1.1\NHibernate.dll" /> </References> </Build> <Files> <Include> <File RelPath = "AssemblyInfo.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "CacheEntry.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "CacheSystem.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "PrevalenceCache.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "PrevalenceCacheProvider.cs" SubType = "Code" BuildAction = "Compile" /> </Include> </Files> </CSHARP> </VisualStudioProject> --- NEW FILE: CacheEntry.cs --- using System; namespace NHibernate.Caches.Prevalence { /// <summary> /// An item in the cache /// </summary> [Serializable] public class CacheEntry { private object _key; private object _value; private DateTime _dateCreated; /// <summary> /// the unique identifier /// </summary> public object Key { get { return _key; } set { _key = value; } } /// <summary> /// the value /// </summary> public object Value { get { return _value; } set { _value = value; } } /// <summary> /// the unique timestamp /// </summary> public DateTime DateCreated { get { return _dateCreated; } set { _dateCreated = value; } } } } --- NEW FILE: AssemblyInfo.cs --- using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security.Permissions; //------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. // Runtime Version: 1.1.4322.2032 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </autogenerated> //------------------------------------------------------------------------------ [assembly: AssemblyTitleAttribute("NHibernate.Caches.Prevalence for Microsoft .NET Framework 1.1")] [assembly: AssemblyDescriptionAttribute("Cache provider for NHibernate using Bamboo.Prevalence engine.")] [assembly: AssemblyCompanyAttribute("nhibernate.sourceforge.net")] [assembly: AssemblyProductAttribute("NHibernate.Caches.Prevalence")] [assembly: AssemblyCopyrightAttribute("Licensed under LGPL.")] [assembly: AssemblyVersionAttribute("0.8.0.0")] [assembly: AssemblyInformationalVersionAttribute("0.8")] |
From: Kevin W. <kev...@us...> - 2005-04-04 04:25:29
|
Update of /cvsroot/nhibernate/NHibernateContrib/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28153 Modified Files: NHibernateContrib-1.1.sln Log Message: migrating cache implementations to new folder Index: NHibernateContrib-1.1.sln =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/NHibernateContrib-1.1.sln,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** NHibernateContrib-1.1.sln 13 Jan 2005 23:09:44 -0000 1.3 --- NHibernateContrib-1.1.sln 4 Apr 2005 04:25:13 -0000 1.4 *************** *** 12,20 **** EndProjectSection EndProject ! Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BantamTech.SysCache-1.1", "BantamTech.SysCache\BantamTech.SysCache-1.1.csproj", "{21FB1DFD-A6A9-4C8D-B4E2-CCB2EBDF8F16}" ProjectSection(ProjectDependencies) = postProject EndProjectSection EndProject ! Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BantamTech.SysCache.Tests-1.1", "BantamTech.SysCache\BantamTech.SysCache.Tests-1.1.csproj", "{53E01216-76B6-4920-A386-2486ACEE5AEA}" ProjectSection(ProjectDependencies) = postProject EndProjectSection --- 12,20 ---- EndProjectSection EndProject ! Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NHibernate.Caches.SysCache-1.1", "NHibernate.Caches\SysCache\NHibernate.Caches.SysCache-1.1.csproj", "{21FB1DFD-A6A9-4C8D-B4E2-CCB2EBDF8F16}" ProjectSection(ProjectDependencies) = postProject EndProjectSection EndProject ! Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NHibernate.Caches.SysCache.Tests-1.1", "NHibernate.Caches\SysCache\NHibernate.Caches.SysCache.Tests-1.1.csproj", "{53E01216-76B6-4920-A386-2486ACEE5AEA}" ProjectSection(ProjectDependencies) = postProject EndProjectSection *************** *** 32,40 **** EndProjectSection EndProject ! Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NHibernate.Caches.Prevalence-1.1", "NHibernate.Caches.Prevalence\NHibernate.Caches.Prevalence-1.1.csproj", "{51179C23-5555-45A4-9BBB-8F6E24D05C2B}" ProjectSection(ProjectDependencies) = postProject EndProjectSection EndProject ! Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NHibernate.Caches.Prevalence.Tests-1.1", "NHibernate.Caches.Prevalence\NHibernate.Caches.Prevalence.Tests-1.1.csproj", "{C04709C0-2FF9-424A-82FF-235312877853}" ProjectSection(ProjectDependencies) = postProject EndProjectSection --- 32,40 ---- EndProjectSection EndProject ! Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NHibernate.Caches.Prevalence-1.1", "NHibernate.Caches\Prevalence\NHibernate.Caches.Prevalence-1.1.csproj", "{51179C23-5555-45A4-9BBB-8F6E24D05C2B}" ProjectSection(ProjectDependencies) = postProject EndProjectSection EndProject ! Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NHibernate.Caches.Prevalence.Tests-1.1", "NHibernate.Caches\Prevalence\NHibernate.Caches.Prevalence.Tests-1.1.csproj", "{C04709C0-2FF9-424A-82FF-235312877853}" ProjectSection(ProjectDependencies) = postProject EndProjectSection |
From: Kevin W. <kev...@us...> - 2005-04-04 04:24:55
|
Update of /cvsroot/nhibernate/NHibernateContrib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28046 Modified Files: NHibernateContribSolution.build Log Message: migrating cache implementations to new folder Index: NHibernateContribSolution.build =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/NHibernateContribSolution.build,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** NHibernateContribSolution.build 26 Feb 2005 15:54:40 -0000 1.11 --- NHibernateContribSolution.build 4 Apr 2005 04:24:47 -0000 1.12 *************** *** 137,145 **** <nant target="build" buildfile="src/Nullables.NHibernate/Nullables.NHibernate.build" /> <nant target="build" buildfile="src/Nullables.Tests/Nullables.Tests.build" /> ! <nant target="build" buildfile="src/BantamTech.SysCache/syscache.build" /> <nant target="build" buildfile="src/NHibernate.Tool.Net2Hbm/NHibernate.Tool.Net2Hbm.build" /> <nant target="build" buildfile="src/NHibernate.Tool.hbm2net/NHibernate.Tool.hbm2net.build" /> <nant target="build" buildfile="src/NHibernate.Tasks/NHibernate.Tasks.build" /> ! <nant target="build" buildfile="src/NHibernate.Caches.Prevalence/prevalencecache.build" /> </target> --- 137,145 ---- <nant target="build" buildfile="src/Nullables.NHibernate/Nullables.NHibernate.build" /> <nant target="build" buildfile="src/Nullables.Tests/Nullables.Tests.build" /> ! <nant target="build" buildfile="src/NHibernate.Caches/SysCache/syscache.build" /> <nant target="build" buildfile="src/NHibernate.Tool.Net2Hbm/NHibernate.Tool.Net2Hbm.build" /> <nant target="build" buildfile="src/NHibernate.Tool.hbm2net/NHibernate.Tool.hbm2net.build" /> <nant target="build" buildfile="src/NHibernate.Tasks/NHibernate.Tasks.build" /> ! <nant target="build" buildfile="src/NHibernate.Caches/Prevalence/prevalencecache.build" /> </target> *************** *** 178,183 **** /> ! <nant target="test" buildfile="src/BantamTech.SysCache/syscache.build" /> ! <nant target="test" buildfile="src/NHibernate.Caches.Prevalence/prevalencecache.build" /> <!-- if this was a clover enabled build then generate the clover reports for it --> --- 178,183 ---- /> ! <nant target="test" buildfile="src/NHibernate.Caches/SysCache/syscache.build" /> ! <nant target="test" buildfile="src/NHibernate.Caches/Prevalence/prevalencecache.build" /> <!-- if this was a clover enabled build then generate the clover reports for it --> *************** *** 214,218 **** <ndoc> <assemblies basedir="${build.dir}/bin"> ! <includes name="BantamTech.SysCache.dll" /> <includes name="NHibernate.Caches.Prevalence.dll" /> <includes name="Nullables.dll" /> --- 214,218 ---- <ndoc> <assemblies basedir="${build.dir}/bin"> ! <includes name="NHibernate.Caches.SysCache.dll" /> <includes name="NHibernate.Caches.Prevalence.dll" /> <includes name="Nullables.dll" /> *************** *** 398,400 **** </target> ! </project> \ No newline at end of file --- 398,400 ---- </target> ! </project> |