You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(23) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|
From: <co...@us...> - 2006-05-20 14:14:49
|
Revision: 22 Author: corts Date: 2006-05-20 07:14:33 -0700 (Sat, 20 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=22&view=rev Log Message: ----------- ignore resharper files and cache directories Property Changed: ---------------- trunk/src/ Property changes on: trunk/src ___________________________________________________________________ Name: svn:ignore - _ReSharper.NVelocity + _ReSharper.NVelocity *.resharperoptions *.suo *.user _ReSharper.NVelocity-vs2005 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <co...@us...> - 2006-05-20 13:50:51
|
Revision: 21 Author: corts Date: 2006-05-20 06:50:39 -0700 (Sat, 20 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=21&view=rev Log Message: ----------- ignore ReSharper cache directories Property Changed: ---------------- trunk/src/ Property changes on: trunk/src ___________________________________________________________________ Name: svn:ignore - _ReSharper.NVelocity-vs2005 + _ReSharper.NVelocity This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <co...@us...> - 2006-05-20 13:49:39
|
Revision: 20 Author: corts Date: 2006-05-20 06:49:26 -0700 (Sat, 20 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=20&view=rev Log Message: ----------- ingore build and ReSharper cache directories Property Changed: ---------------- trunk/ trunk/src/ Property changes on: trunk ___________________________________________________________________ Name: svn:ignore - bin + build Property changes on: trunk/src ___________________________________________________________________ Name: svn:ignore - Ankh.NoLoad NVelocity.suo bin NVelocity-vs2005.suo + _ReSharper.NVelocity-vs2005 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <co...@us...> - 2006-05-19 17:02:21
|
Revision: 19 Author: corts Date: 2006-05-19 10:02:06 -0700 (Fri, 19 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=19&view=rev Log Message: ----------- additional part of NAnt build configuration Added Paths: ----------- trunk/common.inc Added: trunk/common.inc =================================================================== --- trunk/common.inc (rev 0) +++ trunk/common.inc 2006-05-19 17:02:06 UTC (rev 19) @@ -0,0 +1,75 @@ +<?xml version="1.0"?> +<project name="Common Build Properties"> + + <!-- Common properties that allow overrides --> + + <property name="rootbuild.dir" value="${directory::get-current-directory()}" /> + + <property name="build.dir" value="${rootbuild.dir}/build/${framework::get-target-framework()}" /> + + <property name="strong" value="STRONG" unless="${property::exists('strong')}" /> + <property name="debug" value="false" unless="${property::exists('debug')}" /> + <property name="optimize" value="true" unless="${property::exists('optimize')}" /> + <property name="doc.dir" value="${base.dir}/docs" /> + <property name="nunit.formatter" value="Plain" unless="${property::exists('nunit.formatter')}" /> + <property name="os" value="${operating-system::to-string(environment::get-operating-system())}" /> + <property name="isWindows" value="${string::starts-with(os, 'Microsoft Windows')}" /> + <property name="isMono" value="${string::starts-with(framework::get-target-framework(),'mono')}" /> + + <!-- properties used to connect to database for testing --> + <property name="ar.dialect" value="NHibernate.Dialect.MsSql2000Dialect" overwrite="false" /> + <property name="ar.connection.driver_class" value="NHibernate.Driver.SqlClientDriver" overwrite="false" /> + <property name="ar.connection.connection_string.1" value="Server=(local);initial catalog=test;Integrated Security=SSPI" overwrite="false" /> + <property name="ar.connection.connection_string.2" value="Server=(local);initial catalog=test2;Integrated Security=SSPI" overwrite="false" /> + + <!-- find out where gacutil is --> + + <property name="gacutil.framework.file" value="${framework::get-framework-directory( framework::get-target-framework() )}\gacutil.exe"/> + <property name="gacutil.sdk.file" value="${framework::get-sdk-directory( framework::get-target-framework() )}\gacutil.exe"/> + + <description>Find "gacutil" and show error message if it was not found.</description> + <if test="${( not property::exists( 'gacutil.file' )) and file::exists( gacutil.framework.file )}"> + <property name="gacutil.file" value="${gacutil.framework.file}"/> + </if> + <if test="${( not property::exists( 'gacutil.file' )) and file::exists( gacutil.sdk.file )}"> + <property name="gacutil.file" value="${gacutil.sdk.file}"/> + </if> + <if test="${not property::exists( 'gacutil.file' )}"> + <echo>Could not find "gacutil" to install Castle.MonoRail.TestSupport server to GAC.</echo> + <echo>To run the tests you have to install it manually: gacutil /i Castle.MonoRail.TestSupport</echo> + </if> + + <!-- set up caspol.exe location --> + + <property name="caspol.file" value="${framework::get-framework-directory( framework::get-target-framework() )}\caspol.exe"/> + + <!-- find out where nunit.framework.dll is --> + + <property name="lib.dir" + value="${path::combine(nant::get-base-directory(), 'lib')}" + dynamic="true" /> + + <property name="lib.family.dir" + value="${path::combine(lib.dir,framework::get-family(framework::get-target-framework()))}" + dynamic="true" /> + + <!-- for nant 0.85 rc2 or higher --> + + <property name="lib.framework.dir" + value="${path::combine(lib.family.dir, version::to-string(framework::get-version(framework::get-target-framework())))}" + dynamic="true" /> + + <!-- Uncomment this block for nant backward compatibility + <property name="lib.framework.dir" + value="${path::combine(lib.family.dir, framework::get-version(framework::get-target-framework()))}" + dynamic="true" /> + --> + + <property name="nunit.framework.dll" + value="${path::combine(lib.framework.dir, 'nunit.framework.dll')}" /> + + <property name="nant.tasks.nunit2" + value="False" + unless="${property::exists('nant.tasks.nunit2')}" /> + +</project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <co...@us...> - 2006-05-19 17:00:10
|
Revision: 18 Author: corts Date: 2006-05-19 09:59:46 -0700 (Fri, 19 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=18&view=rev Log Message: ----------- update output path to be outside of src tree and to include the framework version Modified Paths: -------------- trunk/nvelocity.build trunk/src/NVelocity/NVelocity-vs2005.csproj trunk/src/NVelocity/NVelocity.csproj trunk/src/NVelocity.Tests/NVelocity.Test-vs2005.csproj trunk/src/NVelocity.Tests/NVelocity.Test.csproj trunk/src/NVelocity.Tests/Test/BaseTestCase.cs trunk/src/NVelocity.Tests/Test/ParserTest.cs Modified: trunk/nvelocity.build =================================================================== --- trunk/nvelocity.build 2006-05-19 16:50:16 UTC (rev 17) +++ trunk/nvelocity.build 2006-05-19 16:59:46 UTC (rev 18) @@ -1,7 +1,13 @@ <?xml version="1.0" encoding='iso-8859-1' ?> <project name="nvelocity" default="build"> - <property name="base.dir" value="." /> + <property name="base.dir" value="${path::get-full-path( project::get-base-directory() )}" /> + <property name="skipcaspol" value="true" /> + <property name="sharedlibrary.dir" value="${base.dir}/SharedLibs" /> + <property name="tempdir" value="tempdir" /> + + +<!-- <property name="base.dir" value="." /> --> <property name="bin.dir" value="${base.dir}/src/bin" /> <property name="mbin.dir" value="${base.dir}/bin" /> <property name="library.dir" value="${base.dir}/lib" /> @@ -16,25 +22,31 @@ <property name="strong" value="STRONG" unless="${property::exists('strong')}" /> <property name="debug" value="false" overwrite="false" /> <property name="optimize" value="true" /> - <property name="version" value="1.0.0.0" /> + <property name="version" value="0.5.0.0" /> - <include buildfile="../../common.inc" /> + <include buildfile="common.inc" /> <target name="clean"> - <delete dir="${bin.dir}" failonerror="false" /> - <mkdir dir="${bin.dir}" /> - - <delete dir="${mbin.dir}" failonerror="false" /> - <mkdir dir="${mbin.dir}" /> + <delete dir="${build.dir}" failonerror="false" /> </target> + + <target name="init"> + <mkdir dir="${build.dir}" /> + <call target="copydistdependencies" /> + </target> - <target name="init" depends="clean"> - + <target name="copydistdependencies"> + <copy todir="${build.dir}"> + <fileset basedir="${sharedlibrary.dir}/log4net"> + <include name="*.dll" /> + </fileset> + </copy> </target> - <target name="build" depends="init,tests.run,copytobuilddir" /> + + <target name="build" depends="clean,init,tests.run" /> - <target name="copytobuilddir"> +<!-- <target name="copytobuilddir"> <copy todir="${build.dir}"> <fileset basedir="${bin.dir}"> <include name="${assembly.name}" /> @@ -42,7 +54,7 @@ <include name="${name}.pdb" if="${debug}" /> </fileset> </copy> - </target> + </target> --> <target name="compile" depends="init"> <csc @@ -50,7 +62,7 @@ target="library" debug="${debug}" optimize="${optimize}" - output="${bin.dir}/${assembly.name}"> + output="${build.dir}/${assembly.name}"> <nowarn> <warning number="1591" /> @@ -81,7 +93,7 @@ <csc target="library" debug="${debug}" - output="${bin.dir}/${test.assembly.name}"> + output="${build.dir}/${test.assembly.name}"> <sources basedir="${test.src.dir}" defaultexcludes="true"> <include name="**/*.cs" /> @@ -95,7 +107,7 @@ <warning number="0162" /> </nowarn> - <references basedir="${bin.dir}"> + <references basedir="${build.dir}"> <include name="${nunit.framework.dll}" /> <include name="${assembly.name}" /> </references> @@ -105,7 +117,7 @@ <target name="tests.run" depends="tests.compile"> <nunit2 > <formatter type="${nunit.formatter}" /> - <test assemblyname="${bin.dir}/${test.assembly.name}" /> + <test assemblyname="${build.dir}/${test.assembly.name}" /> </nunit2> </target> Modified: trunk/src/NVelocity/NVelocity-vs2005.csproj =================================================================== --- trunk/src/NVelocity/NVelocity-vs2005.csproj 2006-05-19 16:50:16 UTC (rev 17) +++ trunk/src/NVelocity/NVelocity-vs2005.csproj 2006-05-19 16:59:46 UTC (rev 18) @@ -1,4 +1,4 @@ -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <ProjectType>Local</ProjectType> <ProductVersion>8.0.50727</ProductVersion> @@ -29,7 +29,7 @@ <SignAssembly>true</SignAssembly> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> - <OutputPath>bin\Debug\</OutputPath> + <OutputPath>..\..\build\net-2.0</OutputPath> <AllowUnsafeBlocks>false</AllowUnsafeBlocks> <BaseAddress>285212672</BaseAddress> <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> @@ -52,7 +52,7 @@ <ErrorReport>prompt</ErrorReport> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - <OutputPath>bin\Release\</OutputPath> + <OutputPath>..\..\build\net-2.0</OutputPath> <AllowUnsafeBlocks>false</AllowUnsafeBlocks> <BaseAddress>285212672</BaseAddress> <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> Modified: trunk/src/NVelocity/NVelocity.csproj =================================================================== --- trunk/src/NVelocity/NVelocity.csproj 2006-05-19 16:50:16 UTC (rev 17) +++ trunk/src/NVelocity/NVelocity.csproj 2006-05-19 16:59:46 UTC (rev 18) @@ -36,7 +36,7 @@ NoStdLib = "false" NoWarn = "" Optimize = "false" - OutputPath = "bin\Debug\" + OutputPath = "..\..\build\net-1.1\NVelocity\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" Modified: trunk/src/NVelocity.Tests/NVelocity.Test-vs2005.csproj =================================================================== --- trunk/src/NVelocity.Tests/NVelocity.Test-vs2005.csproj 2006-05-19 16:50:16 UTC (rev 17) +++ trunk/src/NVelocity.Tests/NVelocity.Test-vs2005.csproj 2006-05-19 16:59:46 UTC (rev 18) @@ -28,7 +28,7 @@ </UpgradeBackupLocation> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> - <OutputPath>bin\Debug\</OutputPath> + <OutputPath>..\..\build\net-2.0\</OutputPath> <AllowUnsafeBlocks>false</AllowUnsafeBlocks> <BaseAddress>285212672</BaseAddress> <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> @@ -52,7 +52,7 @@ <ErrorReport>prompt</ErrorReport> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - <OutputPath>bin\Release\</OutputPath> + <OutputPath>..\..\build\net-2.0\</OutputPath> <AllowUnsafeBlocks>false</AllowUnsafeBlocks> <BaseAddress>285212672</BaseAddress> <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> Modified: trunk/src/NVelocity.Tests/NVelocity.Test.csproj =================================================================== --- trunk/src/NVelocity.Tests/NVelocity.Test.csproj 2006-05-19 16:50:16 UTC (rev 17) +++ trunk/src/NVelocity.Tests/NVelocity.Test.csproj 2006-05-19 16:59:46 UTC (rev 18) @@ -36,7 +36,7 @@ NoStdLib = "false" NoWarn = "" Optimize = "false" - OutputPath = "bin\Debug\" + OutputPath = "..\..\build\net-2.0\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" @@ -56,7 +56,7 @@ NoStdLib = "false" NoWarn = "" Optimize = "false" - OutputPath = "bin\Release\" + OutputPath = "..\..\build\net-2.0" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" Modified: trunk/src/NVelocity.Tests/Test/BaseTestCase.cs =================================================================== --- trunk/src/NVelocity.Tests/Test/BaseTestCase.cs 2006-05-19 16:50:16 UTC (rev 17) +++ trunk/src/NVelocity.Tests/Test/BaseTestCase.cs 2006-05-19 16:59:46 UTC (rev 18) @@ -31,7 +31,7 @@ /// Path for templates. This property will override the /// value in the default velocity properties file. /// </summary> - public const String FILE_RESOURCE_LOADER_PATH = "../../../../test/templates"; + public const String FILE_RESOURCE_LOADER_PATH = "../../test/templates"; /// <summary> /// Properties file that lists which template tests to run. Modified: trunk/src/NVelocity.Tests/Test/ParserTest.cs =================================================================== --- trunk/src/NVelocity.Tests/Test/ParserTest.cs 2006-05-19 16:50:16 UTC (rev 17) +++ trunk/src/NVelocity.Tests/Test/ParserTest.cs 2006-05-19 16:59:46 UTC (rev 18) @@ -104,7 +104,7 @@ VelocityEngine ve = new VelocityEngine(); ExtendedProperties ep = new ExtendedProperties(); - ep.SetProperty(RuntimeConstants.FILE_RESOURCE_LOADER_PATH, "../../../../test/templates"); + ep.SetProperty(RuntimeConstants.FILE_RESOURCE_LOADER_PATH, "../../test/templates"); ve.Init(ep); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2006-05-19 16:50:26
|
Revision: 17 Author: mikelbridge Date: 2006-05-19 09:50:16 -0700 (Fri, 19 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=17&view=rev Log Message: ----------- Added strong naming to VS2003 and VS2005 compilation using original NVelocity.snk. Modified Paths: -------------- trunk/src/NVelocity/AssemblyInfo.cs trunk/src/NVelocity/NVelocity-vs2005.csproj trunk/src/NVelocity-vs2005.sln trunk/src/NVelocity.sln Property Changed: ---------------- trunk/ trunk/src/ Property changes on: trunk ___________________________________________________________________ Name: svn:ignore + bin Property changes on: trunk/src ___________________________________________________________________ Name: svn:ignore - Ankh.NoLoad NVelocity.suo + Ankh.NoLoad NVelocity.suo bin NVelocity-vs2005.suo Modified: trunk/src/NVelocity/AssemblyInfo.cs =================================================================== --- trunk/src/NVelocity/AssemblyInfo.cs 2006-05-17 22:09:57 UTC (rev 16) +++ trunk/src/NVelocity/AssemblyInfo.cs 2006-05-19 16:50:16 UTC (rev 17) @@ -9,8 +9,7 @@ [assembly : AssemblyCulture("")] #if STRONG -//[assembly: AssemblyKeyFile("../../CastleKey.snk")] +[assembly: AssemblyKeyFile("../../../NVelocity.snk")] #elif VISUALSTUDIO7 -//[assembly: AssemblyKeyFile(@"../../../../../../CastleKey.snk")] -//[assembly: AssemblyKeyFile(@"../../svn/CastleKey.snk")] +[assembly: AssemblyKeyFile("../../../NVelocity.snk")] #endif Modified: trunk/src/NVelocity/NVelocity-vs2005.csproj =================================================================== --- trunk/src/NVelocity/NVelocity-vs2005.csproj 2006-05-17 22:09:57 UTC (rev 16) +++ trunk/src/NVelocity/NVelocity-vs2005.csproj 2006-05-19 16:50:16 UTC (rev 17) @@ -26,6 +26,7 @@ </FileUpgradeFlags> <UpgradeBackupLocation> </UpgradeBackupLocation> + <SignAssembly>true</SignAssembly> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <OutputPath>bin\Debug\</OutputPath> @@ -34,7 +35,7 @@ <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> <ConfigurationOverrideFile> </ConfigurationOverrideFile> - <DefineConstants>VISUALSTUDIO7</DefineConstants> + <DefineConstants>VISUALSTUDIO8</DefineConstants> <DocumentationFile> </DocumentationFile> <DebugSymbols>true</DebugSymbols> @@ -57,7 +58,7 @@ <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> <ConfigurationOverrideFile> </ConfigurationOverrideFile> - <DefineConstants>VISUALSTUDIO7</DefineConstants> + <DefineConstants>VISUALSTUDIO8</DefineConstants> <DocumentationFile> </DocumentationFile> <DebugSymbols>false</DebugSymbols> Modified: trunk/src/NVelocity-vs2005.sln =================================================================== --- trunk/src/NVelocity-vs2005.sln 2006-05-17 22:09:57 UTC (rev 16) +++ trunk/src/NVelocity-vs2005.sln 2006-05-19 16:50:16 UTC (rev 17) @@ -6,6 +6,7 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{53ED5FFE-04BF-4FBF-AEA7-454502DAE200}" ProjectSection(SolutionItems) = preProject + NVelocity.snk = NVelocity.snk ToDo.txt = ToDo.txt EndProjectSection EndProject Modified: trunk/src/NVelocity.sln =================================================================== --- trunk/src/NVelocity.sln 2006-05-17 22:09:57 UTC (rev 16) +++ trunk/src/NVelocity.sln 2006-05-19 16:50:16 UTC (rev 17) @@ -26,6 +26,7 @@ ..\ChangeLog.txt = ..\ChangeLog.txt ..\LICENSE.txt = ..\LICENSE.txt ..\nvelocity.build = ..\nvelocity.build + NVelocity.snk = NVelocity.snk ToDo.txt = ToDo.txt EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2006-05-17 22:10:10
|
Revision: 16 Author: mikelbridge Date: 2006-05-17 15:09:57 -0700 (Wed, 17 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=16&view=rev Log Message: ----------- Moved license and changelog to the trunk Added Paths: ----------- trunk/ChangeLog.txt trunk/LICENSE.txt Added: trunk/ChangeLog.txt =================================================================== --- trunk/ChangeLog.txt (rev 0) +++ trunk/ChangeLog.txt 2006-05-17 22:09:57 UTC (rev 16) @@ -0,0 +1,2686 @@ + +- Add support to Math operations on context variables of the types + + . Double + . Single + . Decimal + . Int64,32,16 + . SByte + . Byte + + +2005-01-01 Saturday 10:35 corts + + * ChangeLog.txt: + + update change log + +2005-01-01 Saturday 09:32 corts + + * src/Test/CommonsExtPropTestCase.cs: + + remove update todo comment that was handled + +2005-01-01 Saturday 09:31 corts + + * src/Commons/Collections/ExtendedProperties.cs: + + Handle commas found in already parsed properties files when using + the convert method + +2004-12-26 Sunday 23:27 corts + + * java/: readme.txt, velocity.zip: + + updated with some of the changes for version 1.4, mainly the + changes for Uberspect so far. + +2004-12-26 Sunday 23:21 corts + + * www/.cvsignore: + + no message + +2004-12-26 Sunday 23:16 corts + + * src/NVelocity.csproj: + + updates to support Uberspect (Velocity 1.4) + +2004-12-26 Sunday 23:16 corts + + * src/NVelocity.sln: + + no message + +2004-12-26 Sunday 23:14 corts + + * src/.cvsignore: + + ignore resharper add in files + +2004-12-26 Sunday 23:12 corts + + * src/IO/VelocityWriter.cs: + + handle possible null string + +2004-12-26 Sunday 23:11 corts + + * src/App/VelocityEngine.cs: + + add new constructors that will also initialize the instance + +2004-12-26 Sunday 23:09 corts + + * src/Test/VTLTest.cs: + + tests for stange VTL problems -- currently has a failing test that + identifies a problem in Velocity as well as NVelocity + +2004-12-26 Sunday 23:07 corts + + * src/Test/Commons/: KeyedListTest.cs, LRUMapTest.cs: + + tests for new Commons.Collections classes + +2004-12-26 Sunday 23:06 corts + + * src/Test/ContextTest.cs: + + test to make sure that case insensative contexts could be created + +2004-12-26 Sunday 23:05 corts + + * src/NVelocity.Test.csproj: + + add new tests + +2004-12-26 Sunday 23:01 corts + + * src/Test/TemplateTestCase.cs: + + reformatting + +2004-12-26 Sunday 22:59 corts + + * src/: Runtime/RuntimeInstance.cs, Runtime/RuntimeServices.cs, + Runtime/RuntimeSingleton.cs, SupportClass.cs: + + updates to support Uberspect (Velocity 1.4) + +2004-12-26 Sunday 22:55 corts + + * src/: Util/ArrayIterator.cs, Util/EnumerationIterator.cs, + Util/Introspection/ClassMap.cs, Util/Introspection/Info.cs, + Util/Introspection/Introspector.cs, + Util/Introspection/MethodMap.cs, Util/Introspection/Uberspect.cs, + Util/Introspection/UberspectImpl.cs, + Util/Introspection/UberspectLoggable.cs, + Util/Introspection/VelMethod.cs, + Util/Introspection/VelPropertyGet.cs, + Util/Introspection/VelPropertySet.cs, + Runtime/Parser/Node/ASTIdentifier.cs, + Runtime/Parser/Node/AbstractExecutor.cs, + Runtime/Parser/Node/BooleanPropertyExecutor.cs, + Runtime/Parser/Node/GetExecutor.cs, + Runtime/Parser/Node/PropertyExecutor.cs: + + updates to support Uberspect (Velocity 1.4) + +2004-12-26 Sunday 22:50 corts + + * src/Runtime/Parser/Node/ASTMap.cs: + + minor reformatting + +2004-12-26 Sunday 22:48 corts + + * src/Runtime/Parser/Node/ASTMap.cs: + + add new node type for creating maps (part of Velocity 1.4) + +2004-12-23 Thursday 01:15 corts + + * src/Runtime/Defaults/nvelocity.properties: + + minor reformatting + +2004-12-23 Thursday 01:14 corts + + * src/Runtime/Resource/ResourceCacheImpl.cs: + + change internal cache to use a least recently used dictionary where + a max cache size can be enforced + +2004-12-23 Thursday 01:10 corts + + * src/: Commons/Collections/IOrderedDictionary.cs, + Commons/Collections/KeyedList.cs, + Commons/Collections/KeyedListEnumerator.cs, + Commons/Collections/LRUMap.cs, Commons.csproj: + + add collections needed for a limited (max size) ResourceCache + +2004-12-22 Wednesday 09:16 corts + + * examples/SimpleHttp/Web.config: + + correct assembly name for NVelocityHandlerFactory + +2004-12-22 Wednesday 08:54 corts + + * examples/SimpleHttp/SimpleHttp.csproj: + + modifications made by VS2003 ide + +2004-12-22 Wednesday 08:33 corts + + * src/Template.cs: + + fix problem with correctly creating an encoded stream reader + causing anything but UTF-8 to work + +2004-12-22 Wednesday 08:32 corts + + * src/Test/EncodingTestCase.cs: + + update test so that it can be added to the project as an active + test + +2004-11-27 Saturday 11:36 corts + + * examples/ViewHandler/Global.asax.cs: + + reformatting + +2004-07-12 Monday 17:32 corts + + * src/nvelocity.build: + + reflect change in location of DAO classes when updating projects + +2004-07-11 Sunday 21:10 corts + + * src/Http/HandlerSkeleton.cs: + + minor reformatting + +2004-02-09 Monday 13:06 corts + + * src/Runtime/Resource/Loader/ResourceLocator.cs: + + avoid trying to get the resource filenames from dynamic assemblies + (derived from AssemblyBuilder) as that is not supported. Fix per + bug #893569 reported by Daniel Cazzulino (dcazzulino). + +2004-02-09 Monday 12:38 corts + + * src/Runtime/RuntimeConstants.cs: + + change constants for default runtime directives and properties to + use resource name format (dotted). remove unused log4net constants + add constant that will be needed for defining the uberspect class + +2004-02-09 Monday 12:35 corts + + * src/Runtime/RuntimeInstance.cs: + + load default runtime properties and directives directly from + assembly resource + +2004-01-19 Monday 13:33 corts + + * src/Runtime/Resource/: ResourceManager.cs, + ResourceManagerImpl.cs: + + update of comments + +2004-01-19 Monday 13:24 corts + + * src/Test/CommonsTest.cs: + + text fix to Combine so that strings with the delimeter character + are not converted to a list + +2004-01-19 Monday 13:23 corts + + * src/Commons/Collections/ExtendedProperties.cs: + + add fix to Combine so that strings with the delimeter character are + not converted to a list + +2004-01-01 Thursday 17:13 corts + + * src/Runtime/Resource/Resource.cs: + + reformatting + +2004-01-01 Thursday 17:12 corts + + * src/Runtime/Log/LogManager.cs: + + change logging level of message when a logger class can't be + found...configuration continues + +2004-01-01 Thursday 17:09 corts + + * src/Runtime/Resource/ContentResource.cs: + + documentation fixes make sure reader is closed + +2004-01-01 Thursday 17:07 corts + + * src/NAnt/Anakia/AnakiaTask.cs: + + add comments for future work + +2004-01-01 Thursday 17:06 corts + + * src/NVelocity.sln: + + add NAnt build file to solution + +2004-01-01 Thursday 17:04 corts + + * src/: NVelocity.csproj, Runtime/RuntimeLogger.cs: + + add RuntimeLogger interface + +2003-11-04 Tuesday 21:57 corts + + * src/: Commons.csproj, NVelocity.Http.csproj, + NVelocity.NAnt.csproj, NVelocity.Test.csproj, NVelocity.csproj: + + VS IDE added subtype to AssemblyVersionInfo.cs files added + previously (why now, I don't know) + +2003-11-04 Tuesday 21:54 corts + + * src/IO/VelocityWriter.cs: + + simplfy min evaluation + +2003-11-04 Tuesday 21:53 corts + + * src/App/Velocity.cs: + + make TemplateExists obsolete in favor of ResourceExists (change in + terminology) + +2003-11-04 Tuesday 21:16 corts + + * src/Runtime/Defaults/nvelocity.properties: + + default introspector + +2003-11-04 Tuesday 21:15 corts + + * src/App/Tools/VelocityFormatter.cs: + + minor refactoring change use of ArrayList to IList + +2003-11-04 Tuesday 20:57 corts + + * src/Util/SimplePool.cs: + + fix get() so that it removes the instance when retrieved + +2003-11-04 Tuesday 20:56 corts + + * src/Runtime/RuntimeInstance.cs: + + use assembly version instead of relying on this being changed for + each version + +2003-10-29 Wednesday 00:37 corts + + * src/Makefile: + + only package stuff that really needs to be in the package (i.e. no + need for previous dist packages or the java source) + +2003-10-28 Tuesday 23:54 corts + + * src/dist.sh: + + missed binaries that needed to be made executable + +2003-10-28 Tuesday 23:51 corts + + * src/AssemblyVersionInfo.cs: + + update to next version + +2003-10-28 Tuesday 23:33 corts + + * src/dist.sh: + + use make release instead of make package (from testing) + +2003-10-28 Tuesday 23:32 corts + + * xdocs/index.xml: + + announce 0.4.2 release as well as Velocity 1.4-rc1 release. + +2003-10-28 Tuesday 23:12 corts + + * xdocs/changelog.xml: + + add changes since 0.4.1 release + +2003-10-28 Tuesday 22:51 corts + + * ChangeLog.txt: + + update change log + +2003-10-28 Tuesday 22:50 corts + + * src/dist.sh: + + updated to use make targets to get most of work done + +2003-10-28 Tuesday 22:34 corts + + * src/AssemblyVersionInfo.cs: + + set version to last released version + +2003-10-28 Tuesday 22:12 corts + + * src/Makefile: + + add targets to help with versioning and release process + +2003-10-28 Tuesday 21:50 corts + + * src/nvelocity.build: + + use binary from /build directory + +2003-10-28 Tuesday 19:02 corts + + * bin/MSDN.css: + + moved to /bin/NDoc + +2003-10-28 Tuesday 18:39 corts + + * src/getversion.sh: + + shell script to extract the version number from + AssemblyVersionInfo.cs + +2003-10-28 Tuesday 18:32 corts + + * src/: Commons.csproj, NVelocity.Http.csproj, + NVelocity.NAnt.csproj, NVelocity.Test.csproj, NVelocity.csproj, + Commons/AssemblyInfo.cs, Http/AssemblyInfo.cs, + NAnt/AssemblyInfo.cs, Test/AssemblyInfo.cs: + + seperate version information from the rest of the assembly + information so that the version can be shared across projects + +2003-10-28 Tuesday 18:27 corts + + * src/: AssemblyInfo.cs, AssemblyVersionInfo.cs: + + seperate version information from the rest of the assembly + information so that the version can be shared across projects + +2003-10-28 Tuesday 14:01 corts + + * ChangeLog.txt: + + update change log + +2003-10-28 Tuesday 13:57 corts + + * ChangeLog.txt: + + update change log + +2003-10-28 Tuesday 08:28 corts + + * java/: .cvsignore, readme.txt, velocity.zip: + + This folder contains the source and comparable files from the + Apache Jakarta Velocity project that the NVelocity source is based + on. The goal of the NVelocity project is to keep as close to the + original project as possible. I use this source to compare to the + current CVS head to help know what has changed. As source is + matched, this zip will be updated. The contents of this zip may or + may not match a known Velocity version and may not contain released + code. + + The current zip contains the original source that was used to + create NVelocity - it is prior to version 1.3.1. + +2003-10-27 Monday 08:37 corts + + * src/Runtime/VelocimacroFactory.cs: + + fix formatting of comments + +2003-10-27 Monday 07:35 corts + + * ChangeLog.txt: + + update change log + +2003-10-27 Monday 07:14 corts + + * src/Makefile: + + modify paths to /bin stuff to reflect changes in structure add + target to style cs source files add targets to convert project + files between VS2002 and VS2003 formats + +2003-10-27 Monday 07:13 corts + + * examples/App/App-Examples.sln, + examples/App/Example1/Example1.csproj, + examples/App/Example2/Example2.csproj, + examples/SimpleHttp/SimpleHttp.csproj, + examples/SimpleHttp/SimpleHttp.sln, + examples/ViewHandler/ViewHandler.csproj, + examples/ViewHandler/ViewHandler.sln, src/NVelocity.Http.csproj, + src/NVelocity.NAnt.csproj, src/NVelocity.Tools.Dvsl.csproj, + src/NVelocity.Tools.csproj, src/NVelocity.csproj: + + update to VS2003 project/solution files + +2003-10-27 Monday 07:12 corts + + * examples/ViewHandler/Global.asax.cs: + + formatting done by style + +2003-10-27 Monday 07:11 corts + + * bin/style.sh: + + shell script to style source code using astyle and unexpand + +2003-10-27 Monday 07:10 corts + + * src/updatechangelog.sh: + + ignore of ChangeLog.txt.bak is missing (probably because cvs2cl.pl + failed to connect - which seems to happen a lot lately) + +2003-10-27 Monday 06:54 corts + + * examples/App/Example1/AssemblyInfo.cs, + examples/App/Example1/Example1.cs, + examples/App/Example2/AssemblyInfo.cs, + examples/App/Example2/Example2.cs, + examples/SimpleHttp/AssemblyInfo.cs, + examples/SimpleHttp/Default.aspx.cs, + examples/SimpleHttp/SimpleNVelocityHandler.cs, + examples/ViewHandler/AssemblyInfo.cs, + examples/ViewHandler/Default.aspx.cs, + examples/ViewHandler/Global.asax.cs, + examples/ViewHandler/ToyTool.cs, src/AssemblyInfo.cs, + src/SupportClass.cs, src/Template.cs, src/VelocityContext.cs, + src/App/AppSupportClass.cs, src/App/FieldMethodizer.cs, + src/App/Velocity.cs, src/App/VelocityEngine.cs, + src/App/Events/EventCartridge.cs, src/App/Events/EventHandler.cs, + src/App/Events/MethodExceptionEventHandler.cs, + src/App/Events/NullSetEventHandler.cs, + src/App/Events/ReferenceInsertionEventHandler.cs, + src/App/Tools/VelocityFormatter.cs, src/Commons/AssemblyInfo.cs, + src/Commons/Collections/CollectionsUtil.cs, + src/Commons/Collections/ExtendedProperties.cs, + src/Commons/Collections/PropertiesReader.cs, + src/Commons/Collections/PropertiesTokenizer.cs, + src/Commons/Collections/StringTokenizer.cs, + src/Context/AbstractContext.cs, src/Context/IContext.cs, + src/Context/InternalContextAdapter.cs, + src/Context/InternalContextAdapterImpl.cs, + src/Context/InternalContextBase.cs, + src/Context/InternalEventContext.cs, + src/Context/InternalHousekeepingContext.cs, + src/Context/InternalWrapperContext.cs, src/Context/VMContext.cs, + src/Dvsl/Dvsl.cs, src/Dvsl/DvslContext.cs, src/Dvsl/DvslNode.cs, + src/Dvsl/DvslNodeContext.cs, src/Dvsl/DvslNodeImpl.cs, + src/Dvsl/TemplateHandler.cs, src/Dvsl/TransformTool.cs, + src/Dvsl/Transformer.cs, src/Dvsl/Directive/MatchDirective.cs, + src/Dvsl/Directive/NameDirective.cs, + src/Exception/MethodInvocationException.cs, + src/Exception/ParseErrorException.cs, + src/Exception/ResourceNotFoundException.cs, + src/Exception/VelocityException.cs, src/Http/AssemblyInfo.cs, + src/Http/HandlerSkeleton.cs, src/Http/NVelocityHandler.cs, + src/Http/NVelocityHandlerFactory.cs, + src/Http/NVelocityViewHandler.cs, + src/Http/Context/ChainedContext.cs, + src/Http/Context/IViewContext.cs, + src/Http/Context/ToolboxContext.cs, + src/Http/Resource/Loader/IWebappLoaderAppContext.cs, + src/Http/Resource/Loader/WebappLoadAppContext.cs, + src/Http/Resource/Loader/WebappLoader.cs, + src/Http/Tool/IToolboxManager.cs, src/Http/Tool/IViewTool.cs, + src/Http/Tool/MultiViewsTool.cs, src/Http/Tool/ServletToolInfo.cs, + src/Http/Tool/ServletToolboxManager.cs, + src/Http/Tool/ViewToolInfo.cs, src/Http/Tool/XMLToolboxManager.cs, + src/IO/VelocityWriter.cs, src/NAnt/AssemblyInfo.cs, + src/NAnt/Anakia/AnakiaTask.cs, + src/NAnt/Anakia/AnakiaXmlDocument.cs, + src/NAnt/Anakia/AnakiaXmlElement.cs, src/NAnt/Anakia/Escape.cs, + src/NAnt/Anakia/NodeList.cs, src/NAnt/Anakia/OutputWrapper.cs, + src/NAnt/Anakia/TreeWalker.cs, src/NAnt/Anakia/XPathTool.cs, + src/NAnt/Dvsl/DvslTask.cs, src/NAnt/Texen/FileUtil.cs, + src/NAnt/Texen/Generator.cs, src/NAnt/Texen/PropertiesUtil.cs, + src/NAnt/Texen/SupportClass.cs, src/NAnt/Texen/TexenTask.cs, + src/Runtime/RuntimeConstants.cs, src/Runtime/RuntimeInstance.cs, + src/Runtime/RuntimeServices.cs, src/Runtime/RuntimeSingleton.cs, + src/Runtime/VelocimacroFactory.cs, + src/Runtime/VelocimacroManager.cs, + src/Runtime/Directive/Directive.cs, + src/Runtime/Directive/DirectiveConstants.cs, + src/Runtime/Directive/Foreach.cs, src/Runtime/Directive/Include.cs, + src/Runtime/Directive/Literal.cs, src/Runtime/Directive/Macro.cs, + src/Runtime/Directive/Parse.cs, + src/Runtime/Directive/ParseDirectiveException.cs, + src/Runtime/Directive/VMProxyArg.cs, + src/Runtime/Directive/VelocimacroProxy.cs, + src/Runtime/Exception/NodeException.cs, + src/Runtime/Exception/ReferenceException.cs, + src/Runtime/Log/AvalonLogSystem.cs, + src/Runtime/Log/Log4JLogSystem.cs, + src/Runtime/Log/Log4NetExtensionLogSystem.cs, + src/Runtime/Log/LogManager.cs, src/Runtime/Log/LogSystem.cs, + src/Runtime/Log/NullLogSystem.cs, + src/Runtime/Log/PrimordialLogSystem.cs, + src/Runtime/Log/SimpleLog4NetLogSystem.cs, + src/Runtime/Log/VelocityFormatter.cs, + src/Runtime/Parser/CharStream.cs, + src/Runtime/Parser/JJTParserState.cs, + src/Runtime/Parser/ParseException.cs, src/Runtime/Parser/Parser.cs, + src/Runtime/Parser/ParserConstants.cs, + src/Runtime/Parser/ParserTokenManager.cs, + src/Runtime/Parser/ParserTreeConstants.cs, + src/Runtime/Parser/Token.cs, src/Runtime/Parser/TokenMgrError.cs, + src/Runtime/Parser/VelocityCharStream.cs, + src/Runtime/Parser/Node/ASTAddNode.cs, + src/Runtime/Parser/Node/ASTAndNode.cs, + src/Runtime/Parser/Node/ASTAssignment.cs, + src/Runtime/Parser/Node/ASTBlock.cs, + src/Runtime/Parser/Node/ASTComment.cs, + src/Runtime/Parser/Node/ASTDirective.cs, + src/Runtime/Parser/Node/ASTDivNode.cs, + src/Runtime/Parser/Node/ASTEQNode.cs, + src/Runtime/Parser/Node/ASTElseIfStatement.cs, + src/Runtime/Parser/Node/ASTElseStatement.cs, + src/Runtime/Parser/Node/ASTEscape.cs, + src/Runtime/Parser/Node/ASTEscapedDirective.cs, + src/Runtime/Parser/Node/ASTExpression.cs, + src/Runtime/Parser/Node/ASTFalse.cs, + src/Runtime/Parser/Node/ASTGENode.cs, + src/Runtime/Parser/Node/ASTGTNode.cs, + src/Runtime/Parser/Node/ASTIdentifier.cs, + src/Runtime/Parser/Node/ASTIfStatement.cs, + src/Runtime/Parser/Node/ASTIncludeStatement.cs, + src/Runtime/Parser/Node/ASTIntegerRange.cs, + src/Runtime/Parser/Node/ASTLENode.cs, + src/Runtime/Parser/Node/ASTLTNode.cs, + src/Runtime/Parser/Node/ASTMethod.cs, + src/Runtime/Parser/Node/ASTModNode.cs, + src/Runtime/Parser/Node/ASTMulNode.cs, + src/Runtime/Parser/Node/ASTNENode.cs, + src/Runtime/Parser/Node/ASTNotNode.cs, + src/Runtime/Parser/Node/ASTNumberLiteral.cs, + src/Runtime/Parser/Node/ASTObjectArray.cs, + src/Runtime/Parser/Node/ASTOrNode.cs, + src/Runtime/Parser/Node/ASTParameters.cs, + src/Runtime/Parser/Node/ASTReference.cs, + src/Runtime/Parser/Node/ASTSetDirective.cs, + src/Runtime/Parser/Node/ASTStringLiteral.cs, + src/Runtime/Parser/Node/ASTSubtractNode.cs, + src/Runtime/Parser/Node/ASTText.cs, + src/Runtime/Parser/Node/ASTTrue.cs, + src/Runtime/Parser/Node/ASTVariable.cs, + src/Runtime/Parser/Node/ASTWord.cs, + src/Runtime/Parser/Node/ASTprocess.cs, + src/Runtime/Parser/Node/AbstractExecutor.cs, + src/Runtime/Parser/Node/BooleanPropertyExecutor.cs, + src/Runtime/Parser/Node/GetExecutor.cs, + src/Runtime/Parser/Node/INode.cs, + src/Runtime/Parser/Node/NodeUtils.cs, + src/Runtime/Parser/Node/ParserVisitor.cs, + src/Runtime/Parser/Node/PropertyExecutor.cs, + src/Runtime/Parser/Node/SimpleNode.cs, + src/Runtime/Resource/ContentResource.cs, + src/Runtime/Resource/Resource.cs, + src/Runtime/Resource/ResourceCache.cs, + src/Runtime/Resource/ResourceCacheImpl.cs, + src/Runtime/Resource/ResourceFactory.cs, + src/Runtime/Resource/ResourceManager.cs, + src/Runtime/Resource/ResourceManagerImpl.cs, + src/Runtime/Resource/Loader/DataSourceResourceLoader.cs, + src/Runtime/Resource/Loader/FileResourceLoader.cs, + src/Runtime/Resource/Loader/ResourceLoader.cs, + src/Runtime/Resource/Loader/ResourceLoaderFactory.cs, + src/Runtime/Resource/Loader/ResourceLocator.cs, + src/Runtime/Visitor/BaseVisitor.cs, + src/Runtime/Visitor/NodeViewMode.cs, + src/Runtime/Visitor/VMReferenceMungeVisitor.cs, + src/Test/AnakiaTestCase.cs, src/Test/AssemblyInfo.cs, + src/Test/BaseTestCase.cs, src/Test/ClassloaderChangeTest.cs, + src/Test/ClasspathResourceTest.cs, + src/Test/CommonsExtPropTestCase.cs, src/Test/CommonsTest.cs, + src/Test/ConfigurationTestCase.cs, + src/Test/ContextSafetyTestCase.cs, src/Test/EncodingTestCase.cs, + src/Test/EventHandlingTestCase.cs, src/Test/ExternalLoggerTest.cs, + src/Test/InlineScopeVMTestCase.cs, + src/Test/IntrospectorTestCase.cs, + src/Test/IntrospectorTestCase2.cs, + src/Test/MethodInvocationExceptionTest.cs, + src/Test/MiscTestCase.cs, src/Test/MultiLoaderTestCase.cs, + src/Test/MultipleFileResourcePathTest.cs, src/Test/ParserTest.cs, + src/Test/TemplateTestCase.cs, src/Test/TexenClasspathTestCase.cs, + src/Test/TexenTestCase.cs, src/Test/VelocimacroTestCase.cs, + src/Test/VelocityAppTestCase.cs, src/Test/VelocityTest.cs, + src/Test/Dvsl/TransformTest.cs, src/Test/Dvsl/XPathTest.cs, + src/Test/Misc/Test.cs, src/Test/Provider/BoolObj.cs, + src/Test/Provider/Child.cs, src/Test/Provider/Person.cs, + src/Test/Provider/TestProvider.cs, + src/Test/View/TemplateNodeView.cs, src/Tool/DataInfo.cs, + src/Tool/IToolInfo.cs, src/Tool/ToolLoader.cs, + src/Tools/AssemblyInfo.cs, src/Tools/DataInfo.cs, + src/Tools/IToolInfo.cs, src/Tools/SupportClass.cs, + src/Tools/ToolLoader.cs, src/Util/ArrayIterator.cs, + src/Util/EnumerationIterator.cs, src/Util/Iterator.cs, + src/Util/SimplePool.cs, src/Util/StringUtils.cs, + src/Util/Introspection/AmbiguousException.cs, + src/Util/Introspection/ClassMap.cs, + src/Util/Introspection/IntrospectionCacheData.cs, + src/Util/Introspection/Introspector.cs, + src/Util/Introspection/IntrospectorBase.cs, + src/Util/Introspection/MethodMap.cs, + src/Util/Introspection/Twonk.cs: + + formatting done by style + +2003-10-26 Sunday 06:21 corts + + * src/ToDo.txt: + + mark upgrade of NUnit as done + +2003-10-26 Sunday 06:21 corts + + * src/Makefile: + + remove the last of the references to NUnitRunner and add a target + for running all of the tests + +2003-10-26 Sunday 06:18 corts + + * test/: configuration/.cvsignore, templates/.cvsignore: + + ignore results output directories + +2003-10-26 Sunday 06:16 corts + + * lib/: NUnitConsole.dll, NUnitCore.dll, nunit.framework.dll: + + update to version 2.0 of NUnit + +2003-10-26 Sunday 06:10 corts + + * bin/: NAnt/.cvsignore, NAnt/NAnt.Console.Tests.dll, + NAnt/NAnt.Console.Tests.pdb, NAnt/NAnt.Core.Tests.dll, + NAnt/NAnt.Core.Tests.pdb, NAnt/NAnt.Core.dll, NAnt/NAnt.Core.pdb, + NAnt/NAnt.DotNetTasks.Tests.dll, NAnt/NAnt.DotNetTasks.Tests.pdb, + NAnt/NAnt.DotNetTasks.dll, NAnt/NAnt.DotNetTasks.pdb, + NAnt/NAnt.NUnit1Tasks.dll, NAnt/NAnt.NUnit1Tasks.pdb, + NAnt/NAnt.NUnit2Tasks.dll, NAnt/NAnt.NUnit2Tasks.pdb, + NAnt/NAnt.NUnitFormatters.dll, NAnt/NAnt.NUnitFormatters.pdb, + NAnt/NAnt.VisualCppTasks.dll, NAnt/NAnt.VisualCppTasks.pdb, + NAnt/NAnt.ZipTasks.Tests.dll, NAnt/NAnt.ZipTasks.Tests.pdb, + NAnt/NAnt.ZipTasks.dll, NAnt/NAnt.ZipTasks.pdb, NAnt/NAnt.exe, + NAnt/NAnt.exe.config, NAnt/NAnt.pdb, NAnt/NDoc.Core.dll, + NAnt/NDoc.Documenter.Msdn.dll, NAnt/NDoc.Documenter.NAnt.dll, + NAnt/NDoc.Documenter.NAnt.pdb, NAnt/NUnitCore.dll, + NAnt/SharpZipLib.dll, NAnt/nunit.framework.dll, + NAnt/taskdef.Tasks.dll, NAnt/taskdef.Tasks.pdb, NUnit/NUnit V2.0 + ReadMe.pdf, NUnit/mock-assembly.dll, + NUnit/nonamespace-assembly.dll, NUnit/nunit-console.exe, + NUnit/nunit-console.exe.config, NUnit/nunit-gui.exe, + NUnit/nunit-gui.exe.config, NUnit/nunit.extensions.dll, + NUnit/nunit.framework.dll, NUnit/nunit.tests.dll, + NUnit/nunit.tests.dll.config, NUnit/nunit.uikit.dll, + NUnit/nunit.util.dll, NUnit/timing-tests.dll: + + add that binaries for NUnit and NAnt this project are expected to + work with - make it easier for people dealing with the source + +2003-10-26 Sunday 06:09 corts + + * bin/UpdateVersion.exe: + + utility that will update version numbers in AssemblyInfo.cs files + +2003-10-26 Sunday 06:08 corts + + * bin/VSConvert.exe: + + utility to convert VS projects between 2002 and 2003 formats + +2003-10-26 Sunday 06:07 corts + + * bin/: NDoc.Core.dll, NDoc.Documenter.JavaDoc.dll, + NDoc.Documenter.Latex.dll, NDoc.Documenter.Msdn.dll, + NDoc.Documenter.Xml.dll, NDoc.VisualStudio.dll, NDocConsole.exe, + NDocGui.exe, NDocGui.exe.manifest, tags.html, NDoc/MSDN.css, + NDoc/NDoc.Core.dll, NDoc/NDoc.Documenter.JavaDoc.dll, + NDoc/NDoc.Documenter.Latex.dll, NDoc/NDoc.Documenter.Msdn.dll, + NDoc/NDoc.Documenter.Xml.dll, NDoc/NDoc.VisualStudio.dll, + NDoc/NDocConsole.exe, NDoc/NDocGui.exe, NDoc/NDocGui.exe.manifest, + NDoc/tags.html: + + move NDoc to it's own directory + +2003-10-09 Thursday 05:02 corts + + * src/NVelocity.Test.csproj: + + change to use NUnit 2.x framework assembly remove unneeded classes + and suites + +2003-10-09 Thursday 05:01 corts + + * src/NVelocity.sln: + + removal of NUnitRunner + +2003-10-09 Thursday 05:00 corts + + * src/Test/Provider/TestProvider.cs: + + cleanup + +2003-10-09 Thursday 04:57 corts + + * src/Test/: BaseTestCase.cs, CommonsExtPropTestCase.cs, + CommonsTest.cs, IntrospectorTest.cs, ParserTest.cs, + TemplateTestBase.cs, TemplateTestCase.cs, TestSupportClass.cs, + VelocimacroTestCase.cs, VelocityAppTestCase.cs, VelocityTest.cs, + Dvsl/TransformTest.cs, Dvsl/XPathTest.cs: + + update test for NUnit 2.x cleanup of test + +2003-10-09 Thursday 04:48 corts + + * src/Test/: AllTests.cs, TemplateTestSuite.cs: + + remove suites that will no longer be needed with NUnit 2.x + +2003-10-09 Thursday 04:47 corts + + * src/Runtime/Log/SimpleLog4NetLogSystem.cs: + + use most common interface between using category and creating new + logger in new domain of log4net.spi.ILogger + +2003-10-09 Thursday 04:43 corts + + * src/: NUnitRunner.csproj, Test/App.ico, Test/NUnitRunner.cs: + + remove old NUnit runner app (use NUnitAddin or connecting with + NUnit GUI) + +2003-08-30 Saturday 05:01 corts + + * src/Runtime/Resource/Loader/ResourceLocator.cs: + + ignore problems loading an assembly (i.e. ADODB is not the expected + version) + +2003-08-30 Saturday 05:01 corts + + * src/Runtime/Log/PrimordialLogSystem.cs: + + wihile messages are being queued, write to DefaultTraceListener + incase there is a problem getting a logger going + +2003-08-30 Saturday 05:00 corts + + * src/Runtime/RuntimeInstance.cs: + + write to DefaultTraceListener instead of relying on console.out + +2003-08-29 Friday 17:43 corts + + * src/Runtime/VelocimacroFactory.cs: + + minor reformatting + +2003-08-29 Friday 17:42 corts + + * src/Runtime/Log/SimpleLog4NetLogSystem.cs: + + update finalizer method to use Repository shutdown method + +2003-08-29 Friday 17:41 corts + + * src/Runtime/Log/LogManager.cs: + + handle case where no logger classes are defined + +2003-08-28 Thursday 00:12 corts + + * src/: AssemblyInfo.cs, Commons/AssemblyInfo.cs: + + remove UseDefaultDomain attribute since that is now the log4net + default add strong name key so that assemblies will be signed + +2003-08-28 Thursday 00:11 corts + + * examples/ViewHandler/AssemblyInfo.cs, src/Http/AssemblyInfo.cs: + + remove UseDefaultDomain attribute since that is now the log4net + default + +2003-08-28 Thursday 00:10 corts + + * src/Runtime/Log/SimpleLog4NetLogSystem.cs: + + reflect changes found in log4net 1.2.0 beta 8 + +2003-08-28 Thursday 00:09 corts + + * lib/log4net.dll: + + upgrade to 1.2.0 beta 8, net 1.1, release version + +2003-08-28 Thursday 00:07 corts + + * src/NUnitRunner.csproj, src/NVelocity.csproj, + examples/ViewHandler/ViewHandler.csproj, src/NVelocity.Http.csproj, + src/NVelocity.NAnt.csproj, src/NVelocity.Test.csproj, + src/NVelocity.sln, src/Commons.csproj: + + upgrade to VS 2003 + +2003-02-17 Monday 00:55 corts + + * src/Runtime/Resource/Loader/: ResourceLocator.cs, + FileResourceLoader.cs: + + -search calling, entry and executing assemblies, plus any in + current app domain -search for resource name without path when + searching assembly resources + +2003-02-17 Monday 00:53 corts + + * src/: NAnt/Texen/Generator.cs, Runtime/RuntimeInstance.cs: + + remove hack of using ; when specifying fully qualified class and + assembly names + +2003-02-17 Monday 00:52 corts + + * src/Runtime/Defaults/: directive.properties, + nvelocity.properties: + + fully qualify class names + +2003-02-17 Monday 00:49 corts + + * src/: Http/NVelocityViewHandler.cs, Dvsl/Dvsl.cs: + + correctly escape a proper class and assembly name + +2003-02-17 Monday 00:47 corts + + * src/Commons/Collections/: PropertiesReader.cs, + PropertiesTokenizer.cs: + + minor reformatting + +2003-01-18 Saturday 09:28 corts + + * src/: NVelocity.Test.csproj, NVelocity.sln, Test.csproj: + + rename Test project to NVelocity.Test + +2003-01-16 Thursday 10:58 corts + + * xdocs/index.xml: + + update to announce Opt-NVelocity + +2003-01-11 Saturday 12:10 corts + + * ChangeLog.txt: + + update change log + +2003-01-11 Saturday 12:08 corts + + * src/dist.sh: + + updates to build cleaner distribution + +2003-01-11 Saturday 12:07 corts + + * src/Makefile: + + reflect current location of ndoc output + +2003-01-11 Saturday 12:07 corts + + * xdocs/: changelog.xml, index.xml, nant/index.xml, + stylesheets/project.xml: + + update site to announce build 0.4.1 + +2003-01-11 Saturday 11:39 corts + + * ChangeLog.txt: + + update change log + +2003-01-11 Saturday 09:54 corts + + * ChangeLog.txt: + + update change log + +2003-01-11 Saturday 09:46 corts + + * ChangeLog.txt: + + update change log + +2003-01-11 Saturday 09:44 corts + + * src/.cvsignore: + + no message + +2003-01-11 Saturday 09:44 corts + + * src/Dvsl/DvslNodeImpl.cs: + + fixed and simplified Copy + +2003-01-11 Saturday 07:13 corts + + * build/.cvsignore: + + ignore temporay build directories + +2003-01-11 Saturday 07:11 corts + + * src/ToDo.txt: + + no message + +2003-01-01 Wednesday 05:43 corts + + * ChangeLog.txt: + + update change log + +2003-01-01 Wednesday 05:29 corts + + * src/: Makefile, updatechangelog.sh: + + update changelog target to update and then commit ChangeLog.txt + +2003-01-01 Wednesday 05:27 corts + + * ChangeLog.txt: + + update change log + +2003-01-01 Wednesday 05:14 corts + + * src/ToDo.txt: + + no message + +2003-01-01 Wednesday 05:13 corts + + * src/Runtime/RuntimeInstance.cs: + + change version in preparation of another release + +2003-01-01 Wednesday 05:11 corts + + * xdocs/changelog.xml: + + update changes notes + +2003-01-01 Wednesday 05:10 corts + + * src/Test/ParserTest.cs: + + NVelocity.App.Velocity no longer has a get accessor for the + internal extended properties, reflect that change in this test (was + originally added when this test was created) + +2003-01-01 Wednesday 05:08 corts + + * www/.cvsignore: + + no message + +2003-01-01 Wednesday 05:08 corts + + * src/Runtime/Log/SimpleLog4NetLogSystem.cs: + + fix problem where category and appender were not being setup + correctly for internal logging + +2003-01-01 Wednesday 05:07 corts + + * src/App/: Velocity.cs, VelocityEngine.cs: + + change methods that took StreamWriter as an argument to TextWriter + code cleanup + +2003-01-01 Wednesday 05:02 corts + + * examples/App/: .cvsignore, App-Examples.sln, Example1/.cvsignore, + Example1/App.ico, Example1/AssemblyInfo.cs, Example1/Example1.cs, + Example1/Example1.csproj, Example1/example.vm, + Example1/nvelocity.properties, Example2/.cvsignore, + Example2/App.ico, Example2/AssemblyInfo.cs, Example2/Example2.cs, + Example2/Example2.csproj, Example2/example2.vm: + + examples of how to use NVelocity in an application + +2002-12-29 Sunday 17:03 corts + + * src/Tool/: DataInfo.cs, IToolInfo.cs, ToolLoader.cs: + + needed for tool support + +2002-12-29 Sunday 11:18 corts + + * test/templates/: foreach-map.vm, foreach-type.vm: + + change tests to match current functionality - IDictionary based + collections iterate over the IDictionaryItem collection, not the + Values collection + +2002-12-29 Sunday 11:13 corts + + * src/Runtime/RuntimeInstance.cs: + + change to version 0.4 + +2002-12-29 Sunday 11:12 corts + + * src/: ToDo.txt, Makefile: + + no message + +2002-12-29 Sunday 11:11 corts + + * xdocs/: changelog.xml, index.xml, nant/index.xml, + stylesheets/project.xml, stylesheets/site.vsl: + + updated documentation for version 0.4 + +2002-12-29 Sunday 11:10 corts + + * src/: Example.cs, Example2.cs, changelog.sh: + + examples to be moved to correct directory and unneeded script + +2002-12-25 Wednesday 12:20 corts + + * src/Http/Resource/Loader/WebappLoader.cs: + + changed to support all of the functionality of the + FileResourceLoader by not overriding any of the inheirted methods + except init() + +2002-12-25 Wednesday 12:17 corts + + * src/Runtime/Resource/Loader/FileResourceLoader.cs: + + code cleanup make more extendable by making private variables + protected + +2002-12-23 Monday 13:06 corts + + * src/Dvsl/Dvsl.cs: + + Allow for complete VelocityEngine configuration with configuration + map (not sure I understood why the limitation was made to the few + things that were allowed) - this allowed for Opt-NVelocity to + configure the WebappLoader as the resource loader + +2002-12-23 Monday 13:03 corts + + * src/Http/Resource/Loader/WebappLoader.cs: + + add fallback option for the WebappLoader configuration - try using + HttpContext.Current if not otherwise configured + +2002-12-11 Wednesday 03:37 corts + + * src/NVelocity.ndoc: + + updated NDoc project file + +2002-12-11 Wednesday 02:43 corts + + * src/Runtime/Exception/NodeException.cs: + + correct namespace + +2002-12-11 Wednesday 02:42 corts + + * bin/: MSDN.css, NDoc.Core.dll, NDoc.Documenter.JavaDoc.dll, + NDoc.Documenter.Latex.dll, NDoc.Documenter.Msdn.dll, + NDoc.Documenter.Xml.dll, NDoc.Gui.AboutForm.resources, + NDoc.Gui.AssemblySlashDocForm.resources, + NDoc.Gui.ErrorForm.resources, NDoc.Gui.MainForm.resources, + NDoc.Gui.NamespaceSummariesForm.resources, + NDoc.Gui.SolutionForm.resources, NDoc.VisualStudio.dll, + NDocConsole.exe, NDocGui.exe, NDocGui.exe.manifest, tags.html: + + update to NDoc 1.1c + +2002-12-11 Wednesday 01:57 corts + + * xdocs/stylesheets/site.vsl: + + update to reflect changes made to AnakiaXmlElement + +2002-12-11 Wednesday 01:56 corts + + * src/NAnt/Anakia/AnakiaXmlElement.cs: + + code cleanup use .Net style method names remove methods that hid + XmlNode methods (allowing them to show through and be used) + +2002-12-11 Wednesday 01:52 corts + + * src/Runtime/RuntimeConstants.cs: + + change log4j reference to log4net (comments and constant names) + +2002-12-11 Wednesday 01:51 corts + + * src/NVelocity.NAnt.csproj: + + change xml comments file to match assebly name + +2002-12-11 Wednesday 01:50 corts + + * src/NVelocity.Http.csproj: + + reflect new classes + +2002-12-11 Wednesday 01:49 corts + + * examples/SimpleHttp/SimpleHttp.csproj: + + add reference to NVelocity.Http (since breakup) + +2002-12-11 Wednesday 01:48 corts + + * src/Runtime/Defaults/nvelocity.properties: + + fix comments from conversion + +2002-12-11 Wednesday 01:47 corts + + * src/Runtime/Log/SimpleLog4NetLogSystem.cs: + + fix initialization problem when using a category change internal + field to ILog interface instead of Logger + +2002-12-11 Wednesday 01:45 corts + + * src/Http/Resource/Loader/WebappLoadAppContext.cs: + + context for setting up the WebappLoader + +2002-12-11 Wednesday 01:44 corts + + * src/Http/Resource/Loader/WebappLoader.cs: + + code cleanup + +2002-12-11 Wednesday 01:43 corts + + * src/Http/: HandlerSkeleton.cs, NVelocityHandler.cs, + NVelocityViewHandler.cs: + + move common functionality to skeleton base class - enable some + reuse in Opt-NVelocity classes + +2002-12-11 Wednesday 01:41 corts + + * src/Commons.csproj: + + add reference to log4net + +2002-12-11 Wednesday 01:41 corts + + * lib/log4net.dll: + + use same 1.2 beta version as Maverick.Net (to remove possible + problems while finishing up Opt-NVelocity) + +2002-12-11 Wednesday 01:39 corts + + * examples/ViewHandler/nvelocity-web.properties: + + use category instead of a new log file so that logging can all go + to one log + +2002-12-11 Wednesday 01:38 corts + + * examples/ViewHandler/Global.asax.cs: + + move log4net configuration to assembly remove configuration of + Log4NetExtensionLogSystem (can simply use a log4net category) + +2002-12-11 Wednesday 01:36 corts + + * examples/ViewHandler/AssemblyInfo.cs: + + web applications need to use the default logging domain if they + want to control logging for other shared assemblies that will use + the default logging domain as well + +2002-12-11 Wednesday 01:35 corts + + * src/: Http/AssemblyInfo.cs, AssemblyInfo.cs: + + use default logging domain remove assembly key file until there is + a released signed log4net dll + +2002-12-11 Wednesday 01:33 corts + + * examples/ViewHandler/ToyTool.cs: + + add some logging to show that logging is working through all layers + +2002-12-11 Wednesday 01:33 corts + + * src/Dvsl/Dvsl.cs: + + allow for specification of log4net category in configuration + +2002-12-11 Wednesday 01:32 corts + + * src/Commons/AssemblyInfo.cs: + + use default logging domain remove assembly key file until there is + a released signed log4net dll + +2002-11-04 Monday 08:10 corts + + * src/Tools/: DataInfo.cs, IToolInfo.cs, ToolLoader.cs: + + initial port of tools package needed for tool support + +2002-11-04 Monday 08:09 corts + + * src/Runtime/Log/Log4NetExtensionLogSystem.cs: + + LogSystem to extend log4net logging across appdomain boundaries + (i.e. when using HttpHandlers that get started by IIS instead of by + the webapp) + +2002-11-04 Monday 08:07 corts + + * src/: NVelocity.Http.csproj, Http/AssemblyInfo.cs, + Http/NVelocityViewHandler.cs, Http/Context/ChainedContext.cs, + Http/Context/IViewContext.cs, Http/Context/ToolboxContext.cs, + Http/Resource/Loader/IWebappLoaderAppContext.cs, + Http/Resource/Loader/WebappLoader.cs, Http/Tool/IToolboxManager.cs, + Http/Tool/IViewTool.cs, Http/Tool/MultiViewsTool.cs, + Http/Tool/ServletToolInfo.cs, Http/Tool/ServletToolboxManager.cs, + Http/Tool/ViewToolInfo.cs, Http/Tool/XMLToolboxManager.cs: + + initial port of VelocityViewServlet (to an HttpHandler) new + NVelocity.Http project for all of the web related stuff - break out + from the core NVelocity stuff + +2002-11-04 Monday 08:01 corts + + * src/Runtime/Log/: SimpleLog4JLogSystem.cs, + SimpleLog4NetLogSystem.cs: + + rename log4j references to log4net + +2002-11-04 Monday 08:00 corts + + * src/Test.csproj: + + because of VS IDE bug, make sure that this project references all + other projects - even it not test modules exist so that all + asseblies are correctly copied to the /build folder + +2002-11-04 Monday 07:59 corts + + * src/NVelocity.sln: + + reflect addition of NVelocity.Http project + +2002-11-04 Monday 07:58 corts + + * src/NVelocity.csproj: + + reflect relocation and renaming of some classes + +2002-11-04 Monday 07:55 corts + + * src/Runtime/Resource/Loader/ResourceLoaderFactory.cs: + + source reformatting since properties with commas (,) are + interpreted as a list, allow for fully qualified assebly names + using semicolon (;) instead of comma. + +2002-11-04 Monday 07:51 corts + + * src/Runtime/Resource/: ResourceManagerImpl.cs, + Loader/FileResourceLoader.cs: + + source reformatting + +2002-11-04 Monday 07:50 corts + + * src/Runtime/Defaults/nvelocity.properties: + + change log4j references to log4net + +2002-11-04 Monday 07:48 corts + + * src/Runtime/Log/LogManager.cs: + + allow for passing in of LogSystem class work actually work change + Velocity default fallback of AvalonLogSystem to + SimpleLog4NetLogSystem source reformatting + +2002-11-04 Monday 07:46 corts + + * src/Runtime/Log/LogSystem.cs: + + minor reformatting + +2002-11-04 Monday 07:41 corts + + * src/Runtime/Log/PrimordialLogSystem.cs: + + initial functional port default to use of PrimordialLogSystem + durring startup + +2002-11-04 Monday 07:41 corts + + * src/Runtime/RuntimeInstance.cs: + + default to use of PrimordialLogSystem durring startup + +2002-11-04 Monday 07:38 corts + + * src/: Http/NVelocityHandler.cs, Runtime/RuntimeConstants.cs: + + minor reformatting + +2002-11-04 Monday 07:36 corts + + * src/dist.sh: + + change co to export so that dist binary does not have CVS turds + +2002-11-04 Monday 07:31 corts + + * src/Commons/AssemblyInfo.cs: + + change relative location of signing key + +2002-11-04 Monday 07:29 corts + + * src/ToDo.txt: + + no message + +2002-11-04 Monday 07:27 corts + + * lib/log4net.dll: + + updated log4net 1.2.0 Beta3 (built from CVS source and signed) + +2002-11-04 Monday 07:24 corts + + * src/changelog.sh: + + util script to create ChangeLog.txt from cvs commit history + +2002-11-04 Monday 07:22 corts + + * src/AssemblyInfo.cs: + + change relative location of signing key + +2002-11-04 Monday 07:18 corts + + * examples/ViewHandler/ViewHandler.csproj: + + change in references and addition of Global.asax page + +2002-11-04 Monday 07:16 corts + + * examples/ViewHandler/Web.config: + + add log4net logging config reference NVelocity.Http + +2002-11-04 Monday 07:15 corts + + * examples/ViewHandler/: Global.asax, Global.asax.cs, + Global.asax.resx: + + add global.asax page to handle initialtion of logging + +2002-10-23 Wednesday 01:42 corts + + * src/Http/NVelocityHandler.cs: + + implement IRequiresSessionState so that sessions will be enabled + implement missing implementation of LoadConfiguration + (nvelocity.properties) + +2002-10-23 Wednesday 01:39 corts + + * examples/ViewHandler/: .cvsignore, AssemblyInfo.cs, Default.aspx, + Default.aspx.cs, Default.aspx.resx, README.txt, ToyTool.cs, + ViewHandler.csproj, ViewHandler.csproj.webinfo, ViewHandler.sln, + Web.config, nvelocity-web.properties, sample.vm, toolbox.xml: + + first pass at example using NVelocityViewHandler + (VelocityViewServlet) + +2002-10-23 Wednesday 01:34 corts + + * examples/SimpleHttp/SimpleNVelocityHandler.cs: + + update exception text to correct method signature + +2002-10-22 Tuesday 08:25 corts + + * examples/SimpleHttp/SimpleNVelocityHandler.cs: + + reflect method signiture changes to base class + +2002-10-22 Tuesday 08:23 corts + + * examples/SimpleHttp/sample.vm: + + reflect change to context keys for request and response + +2002-10-22 Tuesday 08:22 corts + + * examples/SimpleHttp/SimpleHttp.csproj: + + rename ASP.NET form to match one of the default documents + +2002-10-22 Tuesday 08:20 corts + + * examples/SimpleHttp/: README.txt, SimpleHttp.csproj.webinfo, + SimpleHttp.sln: + + document change to new root for all NVelocity web examples + +2002-10-22 Tuesday 08:18 corts + + * examples/SimpleHttp/: Default.aspx, Default.aspx.cs, + Default.aspx.resx, WebForm1.aspx, WebForm1.aspx.cs, + WebForm1.aspx.resx: + + rename ASP.NET form to match one of the default documents + +2002-10-22 Tuesday 08:17 corts + + * src/Http/: NVelocityHandler.cs, NVelocityHandlerFactory.cs: + + cleanup of code and documentation favor passing around HttpContext + instead of response and request objects + +2002-10-22 Tuesday 08:15 corts + + * src/: NVelocity.NAnt.csproj, nvelocity.build: + + output NVelocity.NAntTasks.dll so that NAnt will recognize it + automatically when placed in the NAnt.exe directory. + +2002-10-22 Tuesday 08:13 corts + + * src/.cvsignore: + + no message + +2002-10-19 Saturday 04:34 corts + + * src/ToDo.txt: + + no message + +2002-10-19 Saturday 04:31 corts + + * src/Test.csproj: + + add Dvsl tests + +2002-10-19 Saturday 04:30 corts + + * src/Runtime/Directive/Foreach.cs: + + change IDictionary classes to retun the enumerator over the + IDictionaryItem collection as opposed to the Values collection - + otherwise there is no way to get to the keys + +2002-10-19 Saturday 04:26 corts + + * src/Runtime/Resource/: Loader/FileResourceLoader.cs, + ResourceCacheImpl.cs: + + minor reformatting + +2002-10-19 Saturday 04:24 corts + + * src/Runtime/RuntimeInstance.cs: + + reflect changes to LogSystem interface + +2002-10-19 Saturday 04:23 corts + + * src/Runtime/Parser/Node/PropertyExecutor.cs: + + look for differently cased properties as well as method with no + arguments + +2002-10-19 Saturday 04:22 corts + + * src/Runtime/Parser/Node/ASTMethod.cs: + + look for differently cased methods as well as a property if there + were no arguments + +2002-10-19 Saturday 04:21 corts + + * src/Runtime/Parser/Node/GetExecutor.cs: + + look for Get/get methods as well as indexers + +2002-10-19 Saturday 04:20 corts + + * src/Runtime/Log/: LogManager.cs, LogSystem.cs, NullLogSystem.cs, + SimpleLog4JLogSystem.cs: + + make method names more .Net like + +2002-10-19 Saturday 04:17 corts + + * src/: Dvsl/Dvsl.cs, Dvsl/DvslContext.cs, Dvsl/DvslNode.cs, + Dvsl/DvslNodeContext.cs, Dvsl/DvslNodeImpl.cs, + Dvsl/TemplateHandler.cs, Dvsl/TransformTool.cs, + Dvsl/Transformer.cs, Dvsl/Directive/MatchDirective.cs, + Dvsl/Directive/NameDirective.cs, NAnt/Dvsl/DvslTask.cs: + + clean up code, make more .Net like + +2002-10-19 Saturday 04:16 corts + + * src/Test/: Dvsl/TransformTest.cs, Dvsl/XPathTest.cs, AllTests.cs: + + simple tests for Dvsl + +2002-10-19 Saturday 01:54 corts + + * src/Context/IContext.cs: + + minor reformatting + +2002-09-24 Tuesday 03:31 corts + + * src/Runtime/Directive/Foreach.cs: + + check for IEnumerable when checking for enumeration types - that + way classes like XmlNodeList can be used properly. + +2002-09-24 Tuesday 03:29 corts + + * src/NAnt/Anakia/AnakiaTask.cs: + + default resource caching on + +2002-09-11 Wednesday 03:46 corts + + * src/nvelocity.build: + + cleanup + +2002-09-11 Wednesday 03:45 corts + + * src/Makefile: + + call nant for documentation + +2002-09-11 Wednesday 01:58 corts + + * www/index.html: + + www content is now rendered by anakia. + +2002-09-11 Wednesday 01:56 corts + + * examples/Texen/: additional.props, default.build, license.txt, + service.props, templates/Control.vm, + templates/ServiceImplementation.vm, templates/ServiceInterface.vm, + templates/ServiceStaticHelper.vm, templates/book.vm, + templates/Test.vm, templates/test.props: + + initial example based on Velocity test case + +2002-09-11 Wednesday 01:55 corts + + * examples/Dvsl/nant/default.build: + + reflect updated DvslTask + +2002-09-11 Wednesday 01:44 corts + + * xdocs/: index.xml, css/nant-task.css, css/nvelocity.css, + images/favicon.ico, nant/anakia.xml, nant/dvsl.xml, nant/texen.xml, + stylesheets/project.xml, stylesheets/site.vsl: + + initial import of site in xdocs format (to be rendered using the + NAnt anakia task). + +2002-09-11 Wednesday 01:37 corts + + * src/ToDo.txt: + + updated ToDone stuff + +2002-09-11 Wednesday 01:37 corts + + * src/NAnt/Texen/Generator.cs: + + use NAnt static log class replace ; for , in class names + +2002-09-11 Wednesday 01:36 corts + + * src/NVelocity.NAnt.csproj: + + set properties file to be embedded resource + +2002-09-11 Wednesday 01:35 corts + + * src/NAnt/Dvsl/DvslTask.cs: + + completed initial port + +2002-09-11 Wednesday 01:34 corts + + * src/NAnt/Anakia/AnakiaTask.cs: + + use NAnt static log class use of Path.DirecotyrSeparatorChar + +2002-09-11 Wednesday 01:34 corts + + * src/NAnt/Texen/TexenTask.cs: + + use NAnt static log class + +2002-09-11 Wednesday 01:32 corts + + * src/NAnt/Texen/texen.properties: + + specify fully qualified class names + +2002-09-11 Wednesday 01:28 corts + + * src/.cvsignore: + + ignore the .xml files output for documentation + +2002-09-08 Sunday 01:59 corts + + * src/Runtime/Resource/ResourceManagerImpl.cs: + + fix bug loading ResourceCache manager reformatting + +2002-09-08 Sunday 01:57 corts + + * src/Runtime/RuntimeInstance.cs: + + change version id + +2002-09-08 Sunday 01:56 corts + + * src/Makefile: + + update default target + +2002-09-08 Sunday 01:52 corts + + * src/: NUnitRunner.csproj, NVelocity.NAnt.csproj, + NVelocity.Tools.Dvsl.csproj, NVelocity.Tools.csproj, + NVelocity.csproj, NVelocity.sln, Test.csproj: + + no message + +2002-09-08 Sunday 01:52 corts + + * src/ToDo.txt: + + list of stuff to be done + +2002-09-08 Sunday 01:50 corts + + * src/nvelocity.build: + + nant build file + +2002-09-08 Sunday 01:47 corts + + * src/Tools/SupportClass.cs: + + no message + +2002-09-08 Sunday 01:46 corts + + * src/Test/: AnakiaTestCase.cs, CommonsTest.cs: + + reformatting + +2002-09-08 Sunday 01:31 corts + + * src/NAnt/: AssemblyInfo.cs, Anakia/AnakiaTask.cs, + Anakia/AnakiaXmlDocument.cs, Anakia/AnakiaXmlElement.cs, + Anakia/Escape.cs, Anakia/NodeList.cs, Anakia/OutputWrapper.cs, + Anakia/TreeWalker.cs, Anakia/XPathTool.cs, Dvsl/DvslTask.cs, + Texen/FileUtil.cs, Texen/Generator.cs, Texen/PropertiesUtil.cs, + Texen/SupportClass.cs, Texen/TexenTask.cs, Texen/texen.properties: + + move all NAnt related stuff to a NAnt namespace + +2002-09-08 Sunday 01:25 corts + + * src/Dvsl/: Dvsl.cs, DvslContext.cs, DvslNode.cs, + DvslNodeContext.cs, DvslNodeImpl.cs, TemplateHandler.cs, + TransformTool.cs, Transformer.cs, Directive/MatchDirective.cs, + Directive/NameDirective.cs, Resource/defaultroot.dvsl: + + move from Tools to core + +2002-09-08 Sunday 01:22 corts + + * examples/Anakia/: default.build, xdocs/index.xml, + xdocs/stylesheets/project.xml, xdocs/stylesheets/site.vsl: + + simple Anakia example + +2002-09-07 Saturday 17:29 corts + + * www/index.html: + + no message + +2002-08-31 Saturday 16:31 corts + + * lib/: NAnt.Core.dll, NAnt.DotNetTasks.dll, NAnt.ZipTasks.dll, + NAnt.exe, NDoc.Core.dll, NDoc.Documenter.Msdn.dll, SharpZipLib.dll, + taskdef.Tasks.dll: + + updated references including the addition of NAnt + +2002-08-31 Saturday 16:28 corts + + * examples/Dvsl/nant/: default.build, xdocs/example1.dvsl, + xdocs/example1.xml: + + simple example of using DvslTask with NAnt + +2002-08-31 Saturday 16:20 corts + + * src/Runtime/RuntimeInstance.cs: + + provide escaping for comma in fullly qualified Type names + +2002-08-31 Saturday 16:09 corts + + * src/: App/VelocityEngine.cs, Runtime/Exception/NodeException.cs: + + initial port + +2002-08-31 Saturday 16:08 corts + + * src/Runtime/Log/SimpleLog4JLogSystem.cs: + + minor reformatting + +2002-08-31 Saturday 16:08 corts + + * src/Runtime/Resource/Loader/ResourceLocator.cs: + + corrected shortcomming of being able to find a resource in an + assebly that is reference but not referenced at compile time (i.e. + loaded programatically) + +2002-08-31 Saturday 16:04 corts + + * src/: NVelocity.Tools.Dvsl.csproj, NVelocity.sln, + Tools/AssemblyInfo.cs: + + addition of Tools.Dvsl project + +2002-08-31 Saturday 16:03 corts + + * src/Test/Provider/TestProvider.cs: + + minor reformatting + +2002-08-31 Saturday 16:01 corts + + * src/Test.csproj: + + add reference to Dvsl - for later testing (also helps with build + order and file locks) + +2002-08-31 Saturday 15:58 corts + + * src/NVelocity.csproj: + + addition of VelocityEngine and NodeException change output + directory to get over VS.Net bug with intermediate files being in + use + +2002-08-31 Saturday 15:54 corts + + * src/Makefile: + + add publishwww and publicapi targets for publishing updated site + +2002-08-31 Saturday 15:53 corts + + * src/dist.sh: + + assume that anyone doing this process will already have their + CVSROOT setup correctly - either as a developer or anonymously + +2002-08-31 Saturday 15:51 corts + + * src/Commons.csproj: + + change output directory to get over VS.Net bug with intermediate + files being in use + +2002-08-16 Friday 17:30 corts + + * ChangeLog.txt: + + start a changelog + +2002-08-16 Friday 17:29 corts + + * build/.cvsignore, .cvsignore: + + ignore more temporary files + +2002-08-16 Friday 17:28 corts + + * LICENSE.txt: + + Apache license text (stolen right from the velocity distribution) + +2002-08-16 Friday 17:27 corts + + * src/: Makefile, dist.sh, package.sh: + + change package to dist (more in line with the apache project layout + doc) + +2002-08-16 Friday 17:26 corts + + * www/index.html: + + start of nvelocity.sourceforge.net + +2002-08-16 Friday 16:06 corts + + * docs/api/: NVelocity/Context/AbstractContext.html, + NVelocity/Context/IContext.html, + NVelocity/Context/InternalContextAdapter.html, + NVelocity/Context/InternalContextAdapterImpl.html, + NVelocity/Context/InternalContextBase.html, + NVelocity/Context/InternalEventContext.html, + NVelocity/Context/InternalHousekeepingContext.html, + NVelocity/Context/InternalWrapperContext.html, + NVelocity/Context/VMContext.html, + NVelocity/Context/namespace-summary.html, + NVelocity/Runtime/Parser/Node/ASTAddNode.html, + NVelocity/Runtime/Parser/Node/ASTAndNode.html, + NVelocity/Runtime/Parser/Node/ASTAssignment.html, + NVelocity/Runtime/Parser/Node/ASTBlock.html, + NVelocity/Runtime/Parser/Node/ASTComment.html, + NVelocity/Runtime/Parser/Node/ASTDirective.html, + NVelocity/Runtime/Parser/Node/ASTDivNode.html, + NVelocity/Runtime/Parser/Node/ASTEQNode.html, + NVelocity/Runtime/Parser/Node/ASTElseIfStatement.html, + NVelocity/Runtime/Parser/Node/ASTElseStatement.html, + NVelocity/Runtime/Parser/Node/ASTEscape.html, + NVelocity/Runtime/Parser/Node/ASTEscapedDirective.html, + NVelocity/Runtime/Parser/Node/ASTExpression.html, + NVelocity/Runtime/Parser/Node/ASTFalse.html, + NVelocity/Runtime/Parser/Node/ASTGENode.html, + NVelocity/Runtime/Parser/Node/ASTGTNode.html, + NVelocity/Runtime/Parser/Node/ASTIdentifier.html, + NVelocity/Runtime/Parser/Node/ASTIfStatement.html, + NVelocity/Runtime/Parser/Node/ASTIncludeStatement.html, + NVelocity/Runtime/Parser/Node/ASTIntegerRange.html, + NVelocity/Runtime/Parser/Node/ASTLENode.html, + NVelocity/Runtime/Parser/Node/ASTLTNode.html, + NVelocity/Runtime/Parser/Node/ASTMethod.html, + NVelocity/Runtime/Parser/Node/ASTModNode.html, + NVelocity/Runtime/Parser/Node/ASTMulNode.html, + NVelocity/Runtime/Parser/Node/ASTNENode.html, + NVelocity/Runtime/Parser/Node/ASTNotNode.html, + NVelocity/Runtime/Parser/Node/ASTNumberLiteral.html, + NVelocity/Runtime/Parser/Node/ASTObjectArray.html, + NVelocity/Runtime/Parser/Node/ASTOrNode.html, + NVelocity/Runtime/Parser/Node/ASTParameters.html, + NVelocity/Runtime/Parser/Node/ASTReference.html, + NVelocity/Runtime/Parser/Node/ASTSetDirective.html, + NVelocity/Runtime/Parser/Node/ASTStringLiteral.html, + NVelocity/Runtime/Parser/Node/ASTSubtractNode.html, + NVelocity/Runtime/Parser/Node/ASTText.html, + NVelocity/Runtime/Parser/Node/ASTTrue.html, + NVelocity/Runtime/Parser/Node/ASTVariable.html, + NVelocity/Runtime/Parser/Node/ASTWord.html, + NVelocity/Runtime/Parser/Node/ASTprocess.html, + NVelocity/Runtime/Parser/Node/AbstractExecutor.html, + NVelocity/Runtime/Parser/Node/BooleanPropertyExecutor.html, + NVelocity/Runtime/Parser/Node/GetExecutor.html, + NVelocity/Runtime/Parser/Node/INode.html, + NVelocity/Runtime/Parser/Node/NodeUtils.html, + NVelocity/Runtime/Parser/Node/ParserVisitor.html, + NVelocity/Runtime/Parser/Node/PropertyExecutor.html, + NVelocity/Runtime/Parser/Node/SimpleNode.html, + NVelocity/Runtime/Parser/Node/namespace-summary.html, + NVelocity/Test/AllTests.html, NVelocity/Test/BaseTestCase.html, + NVelocity/Test/CommonsExtPropTestCase.html, + NVelocity/Test/CommonsTest.html, + NVelocity/Test/IntrospectorTest.html, + NVelocity/Test/NUnitRunner.html, NVelocity/Test/ParserTest.html, + NVelocity/Test/TemplateTestBase.html, + NVelocity/Test/TemplateTestBase_Fields.html, + NVelocity/Test/TemplateTestCase.html, + NVelocity/Test/TemplateTestSuite.html, + NVelocity/Test/TestSupportClass.html, + NVelocity/Test/VelocimacroTestCase.html, + NVelocity/Test/VelocityAppTestCase.html, + NVelocity/Test/VelocityTest.AddressData.html, + NVelocity/Test/VelocityTest.ContactData.html, + NVelocity/Test/VelocityTest.html, + NVelocity/Test/namespace-summary.html, + NVelocity/Util/Introspection/AmbiguousException.html, + NVelocity/Util/Introspection/ClassMap.html, + NVelocity/Util/Introspection/IntrospectionCacheData.html, + NVelocity/Util/Introspection/Introspector.html, + NVelocity/Runtime/Parser/CharStream.html, + NVelocity/Runtime/Parser/ParseException.html, + NVelocity/Runtime/Parser/Parser.html, + NVelocity/Runtime/Parser/ParserConstants.html, + NVelocity/Runtime/Parser/ParserTokenManager.html, + NVelocity/Runtime/Parser/ParserTreeConstants.html, + NVelocity/Runtime/Parser/Token.html, + NVelocity/Runtime/Parser/TokenMgrError.html, + NVelocity/Runtime/Parser/VelocityCharStream.html, + NVelocity/Runtime/Parser/namespace-summary.html, + NVelocity/Runtime/Visitor/BaseVisitor.html, + NVelocity/Runtime/Visitor/NodeViewMode.html, + NVelocity/Runtime/Visitor/VMReferenceMungeVisitor.html, + NVelocity/Runtime/Visitor/namespace-summary.html, + NVelocity/Test/Provider/BoolObj.html, + NVelocity/Test/Provider/Child.html, + NVelocity/Test/Provider/Person.html, + NVelocity/Test/Provider/TestProvider.html, + NVelocity/Test/Provider/namespace-summary.html, + NVelocity/Util/Introspection/IntrospectorBase.html, + NVelocity/Util/Introspection/MethodMap.html, + NVelocity/Util/Introspection/namespace-summary.html, + Commons/Collections/CollectionsUtil.html, + Commons/Collections/ExtendedProperties.html, + Commons/Collections/StringTokenizer.html, + Commons/Collections/namespace-summary.html, + NVelocity/App/FieldMethodizer.html, NVelocity/App/Velocity.html, + NVelocity/App/namespace-summary.html, + NVelocity/App/Events/EventCartridge.html, + NVelocity/App/Events/EventHandler.html, + NVelocity/App/Events/MethodExceptionEventHandler.html, + NVelocity/App/Events/NullSetEventHandler.html, + NVelocity/App/Events/ReferenceInsertionEventHandler.html, + NVelocity/App/Events/namespace-summary.html, + NVelocity/Runtime/Directive/Directive.html, + NVelocity/Runtime/Directive/DirectiveConstants.html, + NVelocity/Runtime/Directive/DirectiveConstants_Fields.html, + NVelocity/Runtime/Directive/Foreach.html, + NVelocity/Runtime/Directive/Include.html, + NVelocity/Runtime/Directive/Literal.html, + NVelocity/Runtime/Directive/Macro.html, + NVelocity/Runtime/Directive/Parse.html, + NVelocity/Runtime/Directive/ParseDirectiveException.html, + NVelocity/Runtime/Directive/VMProxyArg.html, + NVelocity/Runtime/Directive/VelocimacroProxy.html, + NVelocity/Runtime/Directive/namespace-summary.html, + NVelocity/Runtime/Resource/ContentResource.html, + NVelocity/Runtime/Resource/Resource.html, + NVelocity/Runtime/Resource/ResourceCache.html, + NVelocity/Runtime/Resource/ResourceCacheImpl.html, + NVelocity/Runtime/Resource/ResourceFactory.html, + NVelocity/Runtime/Resource/ResourceManager.html, + NVelocity/Runtime/Resource/ResourceManagerImpl.html, + NVelocity/Runtime/Resource/ResourceManager_Fields.html, + NVelocity/Runtime/Resource/namespace-summary.html, + NVelocity/App/Tools/VelocityFormatter.VelocityAlternator.html, + NVelocity/App/Tools/VelocityFormatter.VelocityAutoAlternator.html, + NVelocity/App/Tools/VelocityFormatter.html, + NVelocity/App/Tools/namespace-summary.html, + NVelocity/Exception/MethodInvocationException.html, + NVelocity/Exception/ParseErrorException.html, + NVelocity/Exception/ResourceNotFoundException.html, + NVelocity/Exception/VelocityException.html, + NVelocity/Exception/namespace-summary.html, + NVelocity/Http/NVelocityHandler.html, + NVelocity/Http/NVelocityHandlerFactory.html, + NVelocity/Http/namespace-summary.html, + NVelocity/Runtime/Log/LogManager.html, + NVelocity/Runtime/Log/LogSystem.html, + NVelocity/Runtime/Log/LogSystem_Fields.html, + NVelocity/Runtime/Log/NullLogSystem.html, + NVelocity/Runtime/Log/SimpleLog4JLogSystem.html, + NVelocity/Runtime/Log/namespace-summary.html, + NVelocity/Runtime/Resource/Loader/FileResourceLoader.html, + NVelocity/Runtime/Resource/Loader/ResourceLoader.html, + NVelocity/Runtime/Resource/Loader/ResourceLoaderFactory.html, + NVelocity/Runtime/Resource/Loader/ResourceLocator.html, + NVelocity/Runtime/Resource/Loader/namespace-summary.html, + NVelocity/Util/Iterator.html, NVelocity/Util/SimplePool.html, + NVelocity/Util/StringUtils.html, + NVelocity/Util/namespace-summary.html, + NVelocity/SupportClass.DateTimeFormatManager.DateTimeFormatHashTabl + e.html, NVelocity/SupportClass.DateTimeFormatManager.html, + NVelocity/SupportClass.TextNumberFormat.html, + NVelocity/SupportClass.Tokenizer.html, + NVelocity/SupportClass.TransactionManager.ConnectionHashTable.html, + NVelocity/SupportClass.TransactionManager.html, + NVelocity/SupportClass.html, NVelocity/Template.html, + NVelocity/VelocityContext.html, NVelocity/namespace-summary.html, + NVelocity/IO/VelocityWriter.html, + NVelocity/IO/namespace-summary.html, + NVelocity/Runtime/RuntimeConstants.html, + NVelocity/Runtime/RuntimeConstants_Fields.html, + NVelocity/Runtime/RuntimeInstance.html, + NVelocity/Runtime/RuntimeServices.html, + NVelocity/Runtime/RuntimeSingleton.html, + NVelocity/Runtime/VelocimacroFactory.html, + NVelocity/Runtime/VelocimacroManager.MacroEntry.html, + NVelocity/Runtime/VelocimacroManager.html, + NVelocity/Runtime/namespace-summary.html, + NVelocity/Runtime/Exception/ReferenceException.html, + NVelocity/Runtime/Exc... [truncated message content] |
From: <mik...@us...> - 2006-05-17 21:52:38
|
Revision: 15 Author: mikelbridge Date: 2006-05-17 14:52:31 -0700 (Wed, 17 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=15&view=rev Log Message: ----------- Added MathUtil to proj file, changed to standard VS compilation destination directories Modified Paths: -------------- trunk/src/NVelocity/NVelocity-vs2005.csproj trunk/src/NVelocity.Tests/NVelocity.Test-vs2005.csproj Property Changed: ---------------- trunk/src/ Property changes on: trunk/src ___________________________________________________________________ Name: svn:ignore - Ankh.NoLoad + Ankh.NoLoad NVelocity.suo Modified: trunk/src/NVelocity/NVelocity-vs2005.csproj =================================================================== --- trunk/src/NVelocity/NVelocity-vs2005.csproj 2006-05-17 21:42:43 UTC (rev 14) +++ trunk/src/NVelocity/NVelocity-vs2005.csproj 2006-05-17 21:52:31 UTC (rev 15) @@ -28,7 +28,7 @@ </UpgradeBackupLocation> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> - <OutputPath>..\bin\debug\</OutputPath> + <OutputPath>bin\Debug\</OutputPath> <AllowUnsafeBlocks>false</AllowUnsafeBlocks> <BaseAddress>285212672</BaseAddress> <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> @@ -51,7 +51,7 @@ <ErrorReport>prompt</ErrorReport> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - <OutputPath>..\bin\</OutputPath> + <OutputPath>bin\Release\</OutputPath> <AllowUnsafeBlocks>false</AllowUnsafeBlocks> <BaseAddress>285212672</BaseAddress> <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> @@ -373,6 +373,7 @@ <SubType>Code</SubType> </Compile> <Compile Include="Runtime\Parser\Node\IParserVisitor.cs" /> + <Compile Include="Runtime\Parser\Node\MathUtil.cs" /> <Compile Include="Runtime\Parser\Node\NodeUtils.cs"> <SubType>Code</SubType> </Compile> Modified: trunk/src/NVelocity.Tests/NVelocity.Test-vs2005.csproj =================================================================== --- trunk/src/NVelocity.Tests/NVelocity.Test-vs2005.csproj 2006-05-17 21:42:43 UTC (rev 14) +++ trunk/src/NVelocity.Tests/NVelocity.Test-vs2005.csproj 2006-05-17 21:52:31 UTC (rev 15) @@ -28,7 +28,7 @@ </UpgradeBackupLocation> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> - <OutputPath>..\bin\</OutputPath> + <OutputPath>bin\Debug\</OutputPath> <AllowUnsafeBlocks>false</AllowUnsafeBlocks> <BaseAddress>285212672</BaseAddress> <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> @@ -52,7 +52,7 @@ <ErrorReport>prompt</ErrorReport> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - <OutputPath>..\bin\</OutputPath> + <OutputPath>bin\Release\</OutputPath> <AllowUnsafeBlocks>false</AllowUnsafeBlocks> <BaseAddress>285212672</BaseAddress> <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2006-05-17 21:42:49
|
Revision: 14 Author: mikelbridge Date: 2006-05-17 14:42:43 -0700 (Wed, 17 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=14&view=rev Log Message: ----------- Modified Paths: -------------- trunk/src/NVelocity.Tests/NVelocity.Test.csproj Added Paths: ----------- trunk/src/NVelocity.Tests/Test/Dvsl/ Property Changed: ---------------- trunk/src/ trunk/src/NVelocity.Tests/ trunk/test/templates/ Property changes on: trunk/src ___________________________________________________________________ Name: svn:ignore + Ankh.NoLoad Property changes on: trunk/src/NVelocity.Tests ___________________________________________________________________ Name: svn:ignore + bin obj NVelocity.Test.csproj.user Modified: trunk/src/NVelocity.Tests/NVelocity.Test.csproj =================================================================== --- trunk/src/NVelocity.Tests/NVelocity.Test.csproj 2006-05-17 21:38:50 UTC (rev 13) +++ trunk/src/NVelocity.Tests/NVelocity.Test.csproj 2006-05-17 21:42:43 UTC (rev 14) @@ -36,7 +36,7 @@ NoStdLib = "false" NoWarn = "" Optimize = "false" - OutputPath = "..\bin2\" + OutputPath = "bin\Debug\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" @@ -56,7 +56,7 @@ NoStdLib = "false" NoWarn = "" Optimize = "false" - OutputPath = "..\bin\" + OutputPath = "bin\Release\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" @@ -81,15 +81,15 @@ AssemblyName = "mscorlib" /> <Reference - Name = "nunit.framework" - AssemblyName = "nunit.framework" - HintPath = "..\lib\nunit.framework.dll" - /> - <Reference Name = "NVelocity" Project = "{10AE9F9A-C23F-44D0-9E78-B4C125597ECE}" Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}" /> + <Reference + Name = "nunit.framework" + AssemblyName = "nunit.framework" + HintPath = "..\..\..\..\Program Files\NUnit 2.2.8\bin\nunit.framework.dll" + /> </References> </Build> <Files> Property changes on: trunk/test/templates ___________________________________________________________________ Name: svn:ignore + results This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2006-05-17 21:38:57
|
Revision: 13 Author: mikelbridge Date: 2006-05-17 14:38:50 -0700 (Wed, 17 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=13&view=rev Log Message: ----------- Changed compilation destination for VS to VS default Modified Paths: -------------- trunk/src/NVelocity/NVelocity.csproj Property Changed: ---------------- trunk/src/NVelocity/ Property changes on: trunk/src/NVelocity ___________________________________________________________________ Name: svn:ignore + bin NVelocity.csproj.user obj Modified: trunk/src/NVelocity/NVelocity.csproj =================================================================== --- trunk/src/NVelocity/NVelocity.csproj 2006-05-17 21:37:09 UTC (rev 12) +++ trunk/src/NVelocity/NVelocity.csproj 2006-05-17 21:38:50 UTC (rev 13) @@ -36,7 +36,7 @@ NoStdLib = "false" NoWarn = "" Optimize = "false" - OutputPath = "..\bin\debug2\" + OutputPath = "bin\Debug\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" @@ -56,7 +56,7 @@ NoStdLib = "false" NoWarn = "" Optimize = "false" - OutputPath = "..\bin\" + OutputPath = "bin\Release\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2006-05-17 21:37:16
|
Revision: 12 Author: mikelbridge Date: 2006-05-17 14:37:09 -0700 (Wed, 17 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=12&view=rev Log Message: ----------- Removed Strong Naming for the moment Modified Paths: -------------- trunk/src/NVelocity/AssemblyInfo.cs Modified: trunk/src/NVelocity/AssemblyInfo.cs =================================================================== --- trunk/src/NVelocity/AssemblyInfo.cs 2006-05-17 21:35:29 UTC (rev 11) +++ trunk/src/NVelocity/AssemblyInfo.cs 2006-05-17 21:37:09 UTC (rev 12) @@ -9,8 +9,8 @@ [assembly : AssemblyCulture("")] #if STRONG -[assembly: AssemblyKeyFile("../../CastleKey.snk")] +//[assembly: AssemblyKeyFile("../../CastleKey.snk")] #elif VISUALSTUDIO7 -[assembly: AssemblyKeyFile(@"../../../../../../CastleKey.snk")] +//[assembly: AssemblyKeyFile(@"../../../../../../CastleKey.snk")] //[assembly: AssemblyKeyFile(@"../../svn/CastleKey.snk")] #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2006-05-17 21:35:37
|
Revision: 11 Author: mikelbridge Date: 2006-05-17 14:35:29 -0700 (Wed, 17 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=11&view=rev Log Message: ----------- Changed template search location to reflect new directory structure Modified Paths: -------------- trunk/src/NVelocity.Tests/Test/ParserTest.cs trunk/src/NVelocity.Tests/Test/TemplateTestCase.cs Modified: trunk/src/NVelocity.Tests/Test/ParserTest.cs =================================================================== --- trunk/src/NVelocity.Tests/Test/ParserTest.cs 2006-05-17 21:34:14 UTC (rev 10) +++ trunk/src/NVelocity.Tests/Test/ParserTest.cs 2006-05-17 21:35:29 UTC (rev 11) @@ -104,7 +104,7 @@ VelocityEngine ve = new VelocityEngine(); ExtendedProperties ep = new ExtendedProperties(); - ep.SetProperty(RuntimeConstants.FILE_RESOURCE_LOADER_PATH, "../../test/templates"); + ep.SetProperty(RuntimeConstants.FILE_RESOURCE_LOADER_PATH, "../../../../test/templates"); ve.Init(ep); Modified: trunk/src/NVelocity.Tests/Test/TemplateTestCase.cs =================================================================== --- trunk/src/NVelocity.Tests/Test/TemplateTestCase.cs 2006-05-17 21:34:14 UTC (rev 10) +++ trunk/src/NVelocity.Tests/Test/TemplateTestCase.cs 2006-05-17 21:35:29 UTC (rev 11) @@ -71,7 +71,7 @@ } catch (Exception e) { - throw new Exception("Cannot setup TemplateTestSuite!"); + throw new Exception("Cannot setup TemplateTestSuite! ("+e.Message+")"); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2006-05-17 21:34:21
|
Revision: 10 Author: mikelbridge Date: 2006-05-17 14:34:14 -0700 (Wed, 17 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=10&view=rev Log Message: ----------- Fixed scoping problem for the StringWriter variable which occurs when re-running NUnit GUI multiple times. Modified Paths: -------------- trunk/src/NVelocity.Tests/Test/VelocityAppTestCase.cs Modified: trunk/src/NVelocity.Tests/Test/VelocityAppTestCase.cs =================================================================== --- trunk/src/NVelocity.Tests/Test/VelocityAppTestCase.cs 2006-05-17 21:25:52 UTC (rev 9) +++ trunk/src/NVelocity.Tests/Test/VelocityAppTestCase.cs 2006-05-17 21:34:14 UTC (rev 10) @@ -16,7 +16,7 @@ [TestFixture] public class VelocityAppTestCase : BaseTestCase { - private StringWriter compare1 = new StringWriter(); + private String input1 = "My name is $name -> $Floog"; private String result1 = "My name is jason -> floogie woogie"; @@ -39,6 +39,7 @@ [Test] public virtual void Test_Run() { + StringWriter compare1 = new StringWriter(); VelocityContext context = new VelocityContext(); context.Put("name", "jason"); context.Put("Floog", "floogie woogie"); @@ -54,11 +55,11 @@ StringWriter result3 = new StringWriter(); Velocity.invokeVelocimacro("floog", "test", new String[2], context, result3);*/ - - if (!result1.Equals(compare1.ToString())) - { - Assert.Fail("Output incorrect."); - } + Assert.AreEqual(result1, compare1.ToString()); + //if (!result1.Equals(compare1.ToString())) + //{ + //Assert.Fail("Output incorrect."); + //} } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2006-05-17 21:25:57
|
Revision: 9 Author: mikelbridge Date: 2006-05-17 14:25:52 -0700 (Wed, 17 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=9&view=rev Log Message: ----------- Modified FILE_RESOURCE_LOADER_PATH to reflect the removal of two levels of directories from CP repository Modified Paths: -------------- trunk/src/NVelocity.Tests/Test/BaseTestCase.cs Modified: trunk/src/NVelocity.Tests/Test/BaseTestCase.cs =================================================================== --- trunk/src/NVelocity.Tests/Test/BaseTestCase.cs 2006-05-17 21:05:19 UTC (rev 8) +++ trunk/src/NVelocity.Tests/Test/BaseTestCase.cs 2006-05-17 21:25:52 UTC (rev 9) @@ -31,7 +31,7 @@ /// Path for templates. This property will override the /// value in the default velocity properties file. /// </summary> - public const String FILE_RESOURCE_LOADER_PATH = "../../test/templates"; + public const String FILE_RESOURCE_LOADER_PATH = "../../../../test/templates"; /// <summary> /// Properties file that lists which template tests to run. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2006-05-17 21:07:28
|
Revision: 8 Author: mikelbridge Date: 2006-05-17 14:05:19 -0700 (Wed, 17 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=8&view=rev Log Message: ----------- Import from Castle Project Added Paths: ----------- trunk/nvelocity.build trunk/src/ trunk/src/Makefile trunk/src/NVelocity/ trunk/src/NVelocity/App/ trunk/src/NVelocity/App/Events/ trunk/src/NVelocity/App/Events/EventCartridge.cs trunk/src/NVelocity/App/Events/EventHandler.cs trunk/src/NVelocity/App/Events/MethodExceptionEventHandler.cs trunk/src/NVelocity/App/Events/NullSetEventHandler.cs trunk/src/NVelocity/App/Events/ReferenceInsertionEventHandler.cs trunk/src/NVelocity/App/FieldMethodizer.cs trunk/src/NVelocity/App/Tools/ trunk/src/NVelocity/App/Tools/VelocityFormatter.cs trunk/src/NVelocity/App/Velocity.cs trunk/src/NVelocity/App/VelocityEngine.cs trunk/src/NVelocity/AssemblyInfo.cs trunk/src/NVelocity/AssemblyVersionInfo.cs trunk/src/NVelocity/Commons/ trunk/src/NVelocity/Commons/Collections/ trunk/src/NVelocity/Commons/Collections/CollectionsUtil.cs trunk/src/NVelocity/Commons/Collections/ExtendedProperties.cs trunk/src/NVelocity/Commons/Collections/IOrderedDictionary.cs trunk/src/NVelocity/Commons/Collections/KeyedList.cs trunk/src/NVelocity/Commons/Collections/KeyedListEnumerator.cs trunk/src/NVelocity/Commons/Collections/LRUMap.cs trunk/src/NVelocity/Commons/Collections/PropertiesReader.cs trunk/src/NVelocity/Commons/Collections/PropertiesTokenizer.cs trunk/src/NVelocity/Commons/Collections/StringTokenizer.cs trunk/src/NVelocity/Context/ trunk/src/NVelocity/Context/AbstractContext.cs trunk/src/NVelocity/Context/IContext.cs trunk/src/NVelocity/Context/IInternalContextAdapter.cs trunk/src/NVelocity/Context/IInternalEventContext.cs trunk/src/NVelocity/Context/IInternalHousekeepingContext.cs trunk/src/NVelocity/Context/IInternalWrapperContext.cs trunk/src/NVelocity/Context/InternalContextAdapterImpl.cs trunk/src/NVelocity/Context/InternalContextBase.cs trunk/src/NVelocity/Context/VMContext.cs trunk/src/NVelocity/Exception/ trunk/src/NVelocity/Exception/MethodInvocationException.cs trunk/src/NVelocity/Exception/ParseErrorException.cs trunk/src/NVelocity/Exception/ResourceNotFoundException.cs trunk/src/NVelocity/Exception/VelocityException.cs trunk/src/NVelocity/NVelocity-vs2005.csproj trunk/src/NVelocity/NVelocity.csproj trunk/src/NVelocity/Runtime/ trunk/src/NVelocity/Runtime/Defaults/ trunk/src/NVelocity/Runtime/Defaults/directive.properties trunk/src/NVelocity/Runtime/Defaults/nvelocity.properties trunk/src/NVelocity/Runtime/Directive/ trunk/src/NVelocity/Runtime/Directive/BlockComponent.cs trunk/src/NVelocity/Runtime/Directive/Component.cs trunk/src/NVelocity/Runtime/Directive/Directive.cs trunk/src/NVelocity/Runtime/Directive/DirectiveManager.cs trunk/src/NVelocity/Runtime/Directive/Foreach.cs trunk/src/NVelocity/Runtime/Directive/IDirectiveManager.cs trunk/src/NVelocity/Runtime/Directive/Include.cs trunk/src/NVelocity/Runtime/Directive/Literal.cs trunk/src/NVelocity/Runtime/Directive/Macro.cs trunk/src/NVelocity/Runtime/Directive/Parse.cs trunk/src/NVelocity/Runtime/Directive/ParseDirectiveException.cs trunk/src/NVelocity/Runtime/Directive/VMProxyArg.cs trunk/src/NVelocity/Runtime/Directive/VelocimacroProxy.cs trunk/src/NVelocity/Runtime/Exception/ trunk/src/NVelocity/Runtime/Exception/NodeException.cs trunk/src/NVelocity/Runtime/Exception/ReferenceException.cs trunk/src/NVelocity/Runtime/IRuntimeLogger.cs trunk/src/NVelocity/Runtime/IRuntimeServices.cs trunk/src/NVelocity/Runtime/Log/ trunk/src/NVelocity/Runtime/Log/ILogSystem.cs trunk/src/NVelocity/Runtime/Log/LogManager.cs trunk/src/NVelocity/Runtime/Log/NullLogSystem.cs trunk/src/NVelocity/Runtime/Log/PrimordialLogSystem.cs trunk/src/NVelocity/Runtime/Parser/ trunk/src/NVelocity/Runtime/Parser/ICharStream.cs trunk/src/NVelocity/Runtime/Parser/Node/ trunk/src/NVelocity/Runtime/Parser/Node/ASTAddNode.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTAndNode.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTAssignment.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTBlock.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTComment.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTDirective.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTDivNode.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTEQNode.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTElseIfStatement.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTElseStatement.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTEscape.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTEscapedDirective.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTExpression.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTFalse.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTGENode.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTGTNode.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTIdentifier.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTIfStatement.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTIncludeStatement.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTIntegerRange.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTLENode.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTLTNode.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTMap.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTMethod.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTModNode.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTMulNode.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTNENode.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTNotNode.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTNumberLiteral.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTObjectArray.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTOrNode.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTParameters.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTReference.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTSetDirective.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTStringLiteral.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTSubtractNode.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTText.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTTrue.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTVariable.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTWord.cs trunk/src/NVelocity/Runtime/Parser/Node/ASTprocess.cs trunk/src/NVelocity/Runtime/Parser/Node/AbstractExecutor.cs trunk/src/NVelocity/Runtime/Parser/Node/BooleanPropertyExecutor.cs trunk/src/NVelocity/Runtime/Parser/Node/GetExecutor.cs trunk/src/NVelocity/Runtime/Parser/Node/INode.cs trunk/src/NVelocity/Runtime/Parser/Node/IParserVisitor.cs trunk/src/NVelocity/Runtime/Parser/Node/MathUtil.cs trunk/src/NVelocity/Runtime/Parser/Node/NodeUtils.cs trunk/src/NVelocity/Runtime/Parser/Node/ObjectComparer.cs trunk/src/NVelocity/Runtime/Parser/Node/PropertyExecutor.cs trunk/src/NVelocity/Runtime/Parser/Node/SimpleNode.cs trunk/src/NVelocity/Runtime/Parser/ParseException.cs trunk/src/NVelocity/Runtime/Parser/Parser.cs trunk/src/NVelocity/Runtime/Parser/ParserConstants.cs trunk/src/NVelocity/Runtime/Parser/ParserState.cs trunk/src/NVelocity/Runtime/Parser/ParserTokenManager.cs trunk/src/NVelocity/Runtime/Parser/ParserTreeConstants.cs trunk/src/NVelocity/Runtime/Parser/Token.cs trunk/src/NVelocity/Runtime/Parser/TokenMgrError.cs trunk/src/NVelocity/Runtime/Parser/VelocityCharStream.cs trunk/src/NVelocity/Runtime/Resource/ trunk/src/NVelocity/Runtime/Resource/ContentResource.cs trunk/src/NVelocity/Runtime/Resource/Loader/ trunk/src/NVelocity/Runtime/Resource/Loader/AssemblyResourceLoader.cs trunk/src/NVelocity/Runtime/Resource/Loader/FileResourceLoader.cs trunk/src/NVelocity/Runtime/Resource/Loader/ResourceLoader.cs trunk/src/NVelocity/Runtime/Resource/Loader/ResourceLoaderFactory.cs trunk/src/NVelocity/Runtime/Resource/Resource.cs trunk/src/NVelocity/Runtime/Resource/ResourceCache.cs trunk/src/NVelocity/Runtime/Resource/ResourceCacheImpl.cs trunk/src/NVelocity/Runtime/Resource/ResourceFactory.cs trunk/src/NVelocity/Runtime/Resource/ResourceManager.cs trunk/src/NVelocity/Runtime/Resource/ResourceManagerImpl.cs trunk/src/NVelocity/Runtime/RuntimeConstants.cs trunk/src/NVelocity/Runtime/RuntimeInstance.cs trunk/src/NVelocity/Runtime/RuntimeSingleton.cs trunk/src/NVelocity/Runtime/VelocimacroFactory.cs trunk/src/NVelocity/Runtime/VelocimacroManager.cs trunk/src/NVelocity/Runtime/Visitor/ trunk/src/NVelocity/Runtime/Visitor/BaseVisitor.cs trunk/src/NVelocity/Runtime/Visitor/NodeViewMode.cs trunk/src/NVelocity/Runtime/Visitor/VMReferenceMungeVisitor.cs trunk/src/NVelocity/SupportClass.cs trunk/src/NVelocity/Template.cs trunk/src/NVelocity/Tool/ trunk/src/NVelocity/Tool/DataInfo.cs trunk/src/NVelocity/Tool/IToolInfo.cs trunk/src/NVelocity/Tool/ToolLoader.cs trunk/src/NVelocity/Util/ trunk/src/NVelocity/Util/Introspection/ trunk/src/NVelocity/Util/Introspection/AmbiguousException.cs trunk/src/NVelocity/Util/Introspection/ClassMap.cs trunk/src/NVelocity/Util/Introspection/IUberspect.cs trunk/src/NVelocity/Util/Introspection/IVelMethod.cs trunk/src/NVelocity/Util/Introspection/IVelPropertyGet.cs trunk/src/NVelocity/Util/Introspection/IVelPropertySet.cs trunk/src/NVelocity/Util/Introspection/Info.cs trunk/src/NVelocity/Util/Introspection/IntrospectionCacheData.cs trunk/src/NVelocity/Util/Introspection/Introspector.cs trunk/src/NVelocity/Util/Introspection/IntrospectorBase.cs trunk/src/NVelocity/Util/Introspection/MethodMap.cs trunk/src/NVelocity/Util/Introspection/Twonk.cs trunk/src/NVelocity/Util/Introspection/UberspectImpl.cs trunk/src/NVelocity/Util/Introspection/UberspectLoggable.cs trunk/src/NVelocity/Util/SimplePool.cs trunk/src/NVelocity/Util/StringUtils.cs trunk/src/NVelocity/VelocityContext.cs trunk/src/NVelocity-vs2005.sln trunk/src/NVelocity.Tests/ trunk/src/NVelocity.Tests/NVelocity.Test-vs2005.csproj trunk/src/NVelocity.Tests/NVelocity.Test.csproj trunk/src/NVelocity.Tests/Test/ trunk/src/NVelocity.Tests/Test/AjaxHelper2.cs trunk/src/NVelocity.Tests/Test/AssemblyInfo.cs trunk/src/NVelocity.Tests/Test/BaseTestCase.cs trunk/src/NVelocity.Tests/Test/Commons/ trunk/src/NVelocity.Tests/Test/Commons/KeyedListTest.cs trunk/src/NVelocity.Tests/Test/Commons/LRUMapTest.cs trunk/src/NVelocity.Tests/Test/CommonsTest.cs trunk/src/NVelocity.Tests/Test/ComponentDirectiveTestCase.cs trunk/src/NVelocity.Tests/Test/ContextTest.cs trunk/src/NVelocity.Tests/Test/DictHelper.cs trunk/src/NVelocity.Tests/Test/EncodingTestCase.cs trunk/src/NVelocity.Tests/Test/Extensions/ trunk/src/NVelocity.Tests/Test/Extensions/CustomRenderingTestCase.cs trunk/src/NVelocity.Tests/Test/ForeachTest.cs trunk/src/NVelocity.Tests/Test/IntrospectorTest.cs trunk/src/NVelocity.Tests/Test/ObjectComparisonTestCase.cs trunk/src/NVelocity.Tests/Test/ParserTest.cs trunk/src/NVelocity.Tests/Test/Provider/ trunk/src/NVelocity.Tests/Test/Provider/BoolObj.cs trunk/src/NVelocity.Tests/Test/Provider/Child.cs trunk/src/NVelocity.Tests/Test/Provider/Person.cs trunk/src/NVelocity.Tests/Test/Provider/TestProvider.cs trunk/src/NVelocity.Tests/Test/StringInterpolationTestCase.cs trunk/src/NVelocity.Tests/Test/TemplateTestCase.cs trunk/src/NVelocity.Tests/Test/VTLTest.cs trunk/src/NVelocity.Tests/Test/VelocimacroTestCase.cs trunk/src/NVelocity.Tests/Test/VelocityAppTestCase.cs trunk/src/NVelocity.Tests/Test/VelocityTest.cs trunk/src/NVelocity.ndoc trunk/src/NVelocity.sln trunk/src/NVelocity.snk trunk/src/ToDo.txt trunk/src/dist.sh trunk/src/getversion.sh trunk/src/updatechangelog.sh trunk/test/ trunk/test/templates/ trunk/test/templates/VM_global_library.vm trunk/test/templates/arithmetic.vm trunk/test/templates/array.vm trunk/test/templates/block.vm trunk/test/templates/comment.vm trunk/test/templates/compare/ trunk/test/templates/compare/arithmetic.cmp trunk/test/templates/compare/array.cmp trunk/test/templates/compare/block.cmp trunk/test/templates/compare/comment.cmp trunk/test/templates/compare/context_safety1.cmp trunk/test/templates/compare/context_safety2.cmp trunk/test/templates/compare/diabolical.cmp trunk/test/templates/compare/directive.cmp trunk/test/templates/compare/encodingtest.cmp trunk/test/templates/compare/encodingtest2.cmp trunk/test/templates/compare/encodingtest3.cmp trunk/test/templates/compare/encodingtest_ISO-8859-1.cmp trunk/test/templates/compare/encodingtest_KOI8-R.cmp trunk/test/templates/compare/equality.cmp trunk/test/templates/compare/escape.cmp trunk/test/templates/compare/escape2.cmp trunk/test/templates/compare/foreach-array.cmp trunk/test/templates/compare/foreach-introspect.cmp trunk/test/templates/compare/foreach-map.cmp trunk/test/templates/compare/foreach-method.cmp trunk/test/templates/compare/foreach-type.cmp trunk/test/templates/compare/foreach-variable.cmp trunk/test/templates/compare/formal.cmp trunk/test/templates/compare/get.cmp trunk/test/templates/compare/if.cmp trunk/test/templates/compare/ifstatement.cmp trunk/test/templates/compare/include.cmp trunk/test/templates/compare/interpolation.cmp trunk/test/templates/compare/literal.cmp trunk/test/templates/compare/logical.cmp trunk/test/templates/compare/loop.cmp trunk/test/templates/compare/map.cmp trunk/test/templates/compare/math.cmp trunk/test/templates/compare/method.cmp trunk/test/templates/compare/parse.cmp trunk/test/templates/compare/pedantic.cmp trunk/test/templates/compare/quotes.cmp trunk/test/templates/compare/range.cmp trunk/test/templates/compare/reference.cmp trunk/test/templates/compare/sample.cmp trunk/test/templates/compare/shorthand.cmp trunk/test/templates/compare/string-interpolation.cmp trunk/test/templates/compare/subclass.cmp trunk/test/templates/compare/test.cmp trunk/test/templates/compare/velocimacro.cmp trunk/test/templates/compare/velocimacro2.cmp trunk/test/templates/compare/vm_test1.cmp trunk/test/templates/compare/vm_test2.cmp trunk/test/templates/componentusage1.vm trunk/test/templates/context_safety.vm trunk/test/templates/diabolical.vm trunk/test/templates/dicthelper.vm trunk/test/templates/ed.bat trunk/test/templates/encodingtest.vm trunk/test/templates/encodingtest2.vm trunk/test/templates/encodingtest3.vm trunk/test/templates/encodingtest_ISO-8859-1.vm trunk/test/templates/encodingtest_KOI8-R.vm trunk/test/templates/equality.vm trunk/test/templates/escape.vm trunk/test/templates/escape2.vm trunk/test/templates/example1.vm trunk/test/templates/foreach-array.vm trunk/test/templates/foreach-introspect.vm trunk/test/templates/foreach-map.vm.disabled trunk/test/templates/foreach-method.vm trunk/test/templates/foreach-type.vm.disabled trunk/test/templates/foreach-variable.vm trunk/test/templates/formal.vm trunk/test/templates/get.vm trunk/test/templates/if.vm trunk/test/templates/ifstatement.vm trunk/test/templates/include.vm trunk/test/templates/interpolation.vm trunk/test/templates/literal.vm trunk/test/templates/logical.vm trunk/test/templates/loop.vm trunk/test/templates/map.vm trunk/test/templates/math.vm trunk/test/templates/method.vm trunk/test/templates/parse.vm trunk/test/templates/parse1.vm trunk/test/templates/parse2.vm trunk/test/templates/pedantic.vm trunk/test/templates/quotes.vm trunk/test/templates/range.vm trunk/test/templates/reference.vm trunk/test/templates/sample.vm trunk/test/templates/shorthand.vm trunk/test/templates/subclass.vm trunk/test/templates/subdir/ trunk/test/templates/subdir/test.txt trunk/test/templates/templates.properties trunk/test/templates/test.txt trunk/test/templates/test.vm trunk/test/templates/velocimacro.vm trunk/test/templates/velocimacro2.vm trunk/test/templates/vm_test1.vm trunk/test/templates/vm_test2.vm Added: trunk/nvelocity.build =================================================================== --- trunk/nvelocity.build (rev 0) +++ trunk/nvelocity.build 2006-05-17 21:05:19 UTC (rev 8) @@ -0,0 +1,140 @@ +<?xml version="1.0" encoding='iso-8859-1' ?> +<project name="nvelocity" default="build"> + + <property name="base.dir" value="." /> + <property name="bin.dir" value="${base.dir}/src/bin" /> + <property name="mbin.dir" value="${base.dir}/bin" /> + <property name="library.dir" value="${base.dir}/lib" /> + <property name="doc.dir" value="${base.dir}/docs" /> + + <property name="name" value="NVelocity" /> + <property name="src.dir" value="${base.dir}/src/NVelocity" /> + <property name="assembly.name" value="${name}.dll" /> + <property name="test.src.dir" value="${src.dir}/../${name}.Tests" /> + <property name="test.assembly.name" value="${name}.Tests.dll" /> + + <property name="strong" value="STRONG" unless="${property::exists('strong')}" /> + <property name="debug" value="false" overwrite="false" /> + <property name="optimize" value="true" /> + <property name="version" value="1.0.0.0" /> + + <include buildfile="../../common.inc" /> + + <target name="clean"> + <delete dir="${bin.dir}" failonerror="false" /> + <mkdir dir="${bin.dir}" /> + + <delete dir="${mbin.dir}" failonerror="false" /> + <mkdir dir="${mbin.dir}" /> + </target> + + <target name="init" depends="clean"> + + </target> + + <target name="build" depends="init,tests.run,copytobuilddir" /> + + <target name="copytobuilddir"> + <copy todir="${build.dir}"> + <fileset basedir="${bin.dir}"> + <include name="${assembly.name}" /> + <include name="${name}.xml" /> + <include name="${name}.pdb" if="${debug}" /> + </fileset> + </copy> + </target> + + <target name="compile" depends="init"> + <csc + define="${strong}" + target="library" + debug="${debug}" + optimize="${optimize}" + output="${bin.dir}/${assembly.name}"> + + <nowarn> + <warning number="1591" /> + <warning number="1572" /> + <warning number="0168" /> + <warning number="0164" /> + <warning number="0162" /> + </nowarn> + + <resources basedir="${src.dir}" prefix="NVelocity" dynamicprefix="true"> + <include name="**/*.dvsl" /> + <include name="**/*.properties" /> + </resources> + + <sources basedir="${src.dir}" defaultexcludes="true"> + <include name="**/*.cs" /> + </sources> + </csc> + + <copy todir="${mbin.dir}"> + <fileset basedir="${bin.dir}"> + <include name="${assembly.name}" /> + </fileset> + </copy> + </target> + + <target name="tests.compile" depends="compile"> + <csc + target="library" + debug="${debug}" + output="${bin.dir}/${test.assembly.name}"> + + <sources basedir="${test.src.dir}" defaultexcludes="true"> + <include name="**/*.cs" /> + </sources> + + <nowarn> + <warning number="1591" /> + <warning number="1572" /> + <warning number="0168" /> + <warning number="0164" /> + <warning number="0162" /> + </nowarn> + + <references basedir="${bin.dir}"> + <include name="${nunit.framework.dll}" /> + <include name="${assembly.name}" /> + </references> + </csc> + </target> + + <target name="tests.run" depends="tests.compile"> + <nunit2 > + <formatter type="${nunit.formatter}" /> + <test assemblyname="${bin.dir}/${test.assembly.name}" /> + </nunit2> + </target> + + <target name="packfiles"> + <zip zipfile="${name}.bin.${version}.zip"> + <fileset basedir="${base.dir}"> + <include name="${bin.dir}/${assembly.name}" /> + <include name="${base.dir}/../License.txt" /> + <include name="${base.dir}/../Readme.txt" /> + <include name="Changes.txt" /> + </fileset> + </zip> + + <zip zipfile="${name}.src.${version}.zip"> + <fileset basedir="${base.dir}"> + <include name="${base.dir}/../License.txt" /> + <include name="${base.dir}/../Readme.txt" /> + <include name="Changes.txt" /> + <include name="*.build" /> + <include name="*.sln" /> + <include name="${src.dir}/**/*.*" /> + <include name="${test.src.dir}/**/*.*" /> + + <exclude name="**/Debug/*" /> + <exclude name="**/obj/*" /> + <exclude name="**/*.user" /> + <exclude name="**/*.suo" /> + </fileset> + </zip> + </target> + +</project> Added: trunk/src/Makefile =================================================================== --- trunk/src/Makefile (rev 0) +++ trunk/src/Makefile 2006-05-17 21:05:19 UTC (rev 8) @@ -0,0 +1,115 @@ +# +# Location of the source and destination folders. +# +SRCDIR := ../src +LIBDIR := ../lib +BINDIR := ../bin +BUILDDIR := ../build +TMPDIR := ../tmp + +default: build + +help: + @echo make build - build all binary files + @echo make clean - removes all files that are created durring make processes + @echo make docs - creates api and msdn docs + @echo make dist - builds package for upload to SourceForge + @echo make regress - run the unit tests + +MODULES := $(shell /usr/bin/find -name module.mk) +#include $(MODULES) + +.DELETE_ON_ERROR: + +build: + @rm -rf build.log + @devenv NVelocity.sln /rebuild Debug /out build.log /nologo + @tail -n 6 build.log + # remove directories created by VS IDE + @rm -rf ../build/commons + @rm -rf ../build/http + @rm -rf ../build/nant + @rm -rf ../build/nvelocity + @rm -rf build.log + +changelog: + @updatechangelog.sh + +docs: + @../bin/NAnt/nant + ../bin/NDoc/NDocConsole.exe -documenter=JavaDoc -project=NVelocity.ndoc + +clean: + -@rm -rf ../bin/NAnt/*.log* + -@rm -rf ../build/temp + -@rm -rf ../build/*dll + -@rm -rf ../build/*pdb + -@rm -rf ../build/*exe + -@rm -rf ../build/*xml + -@rm -rf ../build/*log + -@rm -rf ../build/*properties + -@rm -rf ../build/*.log* + -@rm -rf ../www/api/ + -@rm -rf ../www/css/ + -@rm -rf ../www/images/ + -@rm -rf ../www/nant/ + -@rm -rf ../www/*.html + -@rm -rf NVelocity.xml + -@rm -rf NVelocity.NAnt.xml + -@rm -rf NVelocity.Test.xml + -@rm -rf Commons.xml + -@rm -rf build.log + +all: build regress docs + +regress: + ../bin/NUnit/nunit-console.exe ../build/NVelocity.Test.dll + +## TODO: compile astyle with fix so that -T8 or --force-indent=tab=8 works +style: + @cd ..; find -iname '*.cs' -print -exec bin/style.sh {} \; + +dist: clean all + ./dist.sh + cvs -q update -Pd + +publishwww: + scp -r ../www/* co...@nv...:/home/groups/n/nv/nvelocity/htdocs + +publishapi: + scp -r ../www/api/* co...@nv...:/home/groups/n/nv/nvelocity/htdocs/api + + +# +# Rule for displaying debug information. +# +.PHONY : debug + +debug: + @echo MODULES = $(MODULES) + +convert2002: + @cd ..; ./bin/VSConvert /2002 "**/*.sln" + @cd ..; ./bin/VSConvert /2002 "**/*.csproj" + +convert2003: + @cd ..; ./bin/VSConvert /2003 "**/*.sln" + @cd ..; ./bin/VSConvert /2003 "**/*.csproj" + +version: + sed -e "s/##_DATE_##/$(shell date)/" -e "s/##_BUILD_##/$(shell getversion.sh)/" -e "s/##_COMPUTER_##/$(COMPUTERNAME)/" -e "s/##_USER_##/$(USERNAME)/" webapp/version.thtml > webapp/version.aspx + +package: clean build regress docs + mkdir -p ../dist + cd ..; jar -cMvf dist/NVelocity-$(shell getversion.sh).zip *.txt bin build examples lib src test www xdocs + +tagversion: + cd ..; cvs tag RELEASE_$(subst .,_,$(shell ./getversion.sh)) + ${BINDIR}/UpdateVersion -b Increment -i AssemblyVersionInfo.cs -o AssemblyVersionInfo.cs + +updateversion: + ${BINDIR}/UpdateVersion -b Increment -i AssemblyVersionInfo.cs -o AssemblyVersionInfo.cs + +release: changelog updateversion package tagversion + cvs commit -m "update to next version" AssemblyVersionInfo.cs + Added: trunk/src/NVelocity/App/Events/EventCartridge.cs =================================================================== --- trunk/src/NVelocity/App/Events/EventCartridge.cs (rev 0) +++ trunk/src/NVelocity/App/Events/EventCartridge.cs 2006-05-17 21:05:19 UTC (rev 8) @@ -0,0 +1,96 @@ +namespace NVelocity.App.Events +{ + using System; + using System.Collections; + using NVelocity.Context; + using NVelocity.Exception; + + /// <summary> + /// 'Package' of event handlers... + /// </summary> + public class EventCartridge + { + public event ReferenceInsertionEventHandler ReferenceInsertion; + public event NullSetEventHandler NullSet; + public event MethodExceptionEventHandler MethodExceptionEvent; + + /// <summary> + /// Called during Velocity merge before a reference value will + /// be inserted into the output stream. + /// </summary> + /// <param name="referenceStack">the stack of objects used to reach this reference</param> + /// <param name="reference">reference from template about to be inserted</param> + /// <param name="value"> value about to be inserted (after toString() )</param> + /// <returns> + /// Object on which toString() should be called for output. + /// </returns> + internal Object ReferenceInsert(Stack referenceStack, String reference, Object value) + { + if (this.ReferenceInsertion != null) + { + ReferenceInsertionEventArgs args = new ReferenceInsertionEventArgs(referenceStack, reference, value); + this.ReferenceInsertion(this, args); + value = args.NewValue; + } + + return value; + } + + /// <summary> + /// Called during Velocity merge to determine if when + /// a #set() results in a null assignment, a warning + /// is logged. + /// </summary> + /// <returns>true if to be logged, false otherwise</returns> + internal bool ShouldLogOnNullSet(String lhs, String rhs) + { + if (this.NullSet == null) + return true; + + NullSetEventArgs e = new NullSetEventArgs(lhs, rhs); + this.NullSet(this, e); + + return e.ShouldLog; + } + + /// <summary> + /// Called during Velocity merge if a reference is null + /// </summary> + /// <param name="claz">Class that is causing the exception</param> + /// <param name="method">method called that causes the exception</param> + /// <param name="e">Exception thrown by the method</param> + /// <returns>Object to return as method result</returns> + /// <exception cref="Exception">exception to be wrapped and propogated to app</exception> + internal Object HandleMethodException(Type claz, String method, Exception e) + { + // if we don't have a handler, just throw what we were handed + if (this.MethodExceptionEvent == null) + throw new VelocityException(e.Message, e); + + MethodExceptionEventArgs mea = new MethodExceptionEventArgs(claz, method, e); + this.MethodExceptionEvent(this, mea); + + if (mea.ValueToRender != null) + return mea.ValueToRender; + else + throw new VelocityException(e.Message, e); + } + + /// <summary> + /// Attached the EventCartridge to the context + /// </summary> + /// <param name="context">context to attach to</param> + /// <returns>true if successful, false otherwise</returns> + public bool AttachToContext(IContext context) + { + if (context is IInternalEventContext) + { + IInternalEventContext iec = (IInternalEventContext) context; + iec.AttachEventCartridge(this); + return true; + } + else + return false; + } + } +} Added: trunk/src/NVelocity/App/Events/EventHandler.cs =================================================================== --- trunk/src/NVelocity/App/Events/EventHandler.cs (rev 0) +++ trunk/src/NVelocity/App/Events/EventHandler.cs 2006-05-17 21:05:19 UTC (rev 8) @@ -0,0 +1,14 @@ +namespace NVelocity.App.Events +{ + /// <summary> Base interface for all event handlers + /// * + /// </summary> + /// <author> <a href="mailto:ge...@op...">Geir Magnusson Jr.</a> + /// </author> + /// <version> $Id: EventHandler.cs,v 1.3 2003/10/27 13:54:07 corts Exp $ + /// + /// </version> + public interface EventHandler + { + } +} \ No newline at end of file Added: trunk/src/NVelocity/App/Events/MethodExceptionEventHandler.cs =================================================================== --- trunk/src/NVelocity/App/Events/MethodExceptionEventHandler.cs (rev 0) +++ trunk/src/NVelocity/App/Events/MethodExceptionEventHandler.cs 2006-05-17 21:05:19 UTC (rev 8) @@ -0,0 +1,38 @@ +namespace NVelocity.App.Events +{ + using System; + + /// <summary> + /// Called when a method throws an exception. This gives the + /// application a chance to deal with it and either + /// return something nice, or throw. + /// + /// Please return what you want rendered into the output stream. + /// </summary> + public delegate void MethodExceptionEventHandler(Object sender, MethodExceptionEventArgs e); + + public class MethodExceptionEventArgs : EventArgs + { + Object valueToRender; + Exception exceptionThrown; + Type targetClass; + String targetMethod; + + public MethodExceptionEventArgs(Type targetClass, String targetMethod, Exception exceptionThrown) + { + this.targetClass = targetClass; + this.targetMethod = targetMethod; + this.exceptionThrown = exceptionThrown; + } + + public Object ValueToRender + { + get { return valueToRender; } + set { valueToRender = value; } + } + + public Exception ExceptionThrown { get { return exceptionThrown; } } + public Type TargetClass { get { return targetClass; } } + public String TargetMethod { get { return targetMethod; } } + } +} \ No newline at end of file Added: trunk/src/NVelocity/App/Events/NullSetEventHandler.cs =================================================================== --- trunk/src/NVelocity/App/Events/NullSetEventHandler.cs (rev 0) +++ trunk/src/NVelocity/App/Events/NullSetEventHandler.cs 2006-05-17 21:05:19 UTC (rev 8) @@ -0,0 +1,37 @@ +namespace NVelocity.App.Events +{ + using System; + + /// <summary> + /// Lets an app approve / veto writing a log message when RHS of #set() is null. + /// </summary> + public delegate void NullSetEventHandler(Object sender, NullSetEventArgs e); + + public class NullSetEventArgs : EventArgs + { + private Boolean shouldLog = true; + private String lhs, rhs; + + public NullSetEventArgs(String lhs, String rhs) + { + this.lhs = lhs; + this.rhs = rhs; + } + + /// <summary> + /// reference literal of left-hand-side of set statement + /// </summary> + public String LHS { get { return lhs; } } + + /// <summary> + /// reference literal of right-hand-side of set statement + /// </summary> + public String RHS { get { return rhs; } } + + public Boolean ShouldLog + { + get { return shouldLog; } + set { shouldLog = value; } + } + } +} \ No newline at end of file Added: trunk/src/NVelocity/App/Events/ReferenceInsertionEventHandler.cs =================================================================== --- trunk/src/NVelocity/App/Events/ReferenceInsertionEventHandler.cs (rev 0) +++ trunk/src/NVelocity/App/Events/ReferenceInsertionEventHandler.cs 2006-05-17 21:05:19 UTC (rev 8) @@ -0,0 +1,47 @@ +namespace NVelocity.App.Events +{ + using System; + using System.Collections; + + public class ReferenceInsertionEventArgs : EventArgs + { + Stack referenceStack; + Object originalValue, newValue; + String rootString; + + public ReferenceInsertionEventArgs(Stack referenceStack, String rootString, Object value) + { + this.rootString = rootString; + this.referenceStack = referenceStack; + this.originalValue = this.newValue = value; + } + + public Stack GetCopyOfReferenceStack() + { + return (Stack) referenceStack.Clone(); + } + + public String RootString + { + get { return rootString; } + } + + public Object OriginalValue + { + get { return originalValue; } + } + + public Object NewValue + { + get { return newValue; } + set { newValue = value; } + } + } + + /// <summary> + /// Reference 'Stream insertion' event handler. Called with object + /// that will be inserted into stream via value.toString(). + /// Make sure you return an Object that will toString() without throwing an exception. + /// </summary> + public delegate void ReferenceInsertionEventHandler(Object sender, ReferenceInsertionEventArgs e); +} \ No newline at end of file Added: trunk/src/NVelocity/App/FieldMethodizer.cs =================================================================== --- trunk/src/NVelocity/App/FieldMethodizer.cs (rev 0) +++ trunk/src/NVelocity/App/FieldMethodizer.cs 2006-05-17 21:05:19 UTC (rev 8) @@ -0,0 +1,146 @@ +namespace NVelocity.App +{ + using System; + using System.Collections; + using System.Reflection; + + /// <summary> + /// <p>This is a small utility class allow easy access to static fields in a class, + /// such as string constants. Velocity will not introspect for class + /// fields (and won't in the future :), but writing setter/getter methods to do + /// this really is a pain, so use this if you really have + /// to access fields. + /// + /// <p>The idea it so enable access to the fields just like you would in Java. + /// For example, in Java, you would access a static field like + /// <blockquote><pre> + /// MyClass.STRING_CONSTANT + /// </pre></blockquote> + /// and that is the same thing we are trying to allow here. + /// + /// <p>So to use in your Java code, do something like this : + /// <blockquote><pre> + /// context.put("runtime", new FieldMethodizer( "NVelocity.Runtime.Runtime" )); + /// </pre></blockquote> + /// and then in your template, you can access any of your static fields in this way : + /// <blockquote><pre> + /// $runtime.RUNTIME_LOG_WARN_STACKTRACE + /// </pre></blockquote> + /// + /// <p>Right now, this class only methodizes <code>public static</code> fields. It seems + /// that anything else is too dangerous. This class is for convenience accessing + /// 'constants'. If you have fields that aren't <code>static</code> it may be better + /// to handle them by explicitly placing them into the context. + /// </summary> + /// <author> <a href="mailto:ge...@op...">Geir Magnusson Jr.</a> + /// </author> + /// <version>$Id: FieldMethodizer.cs,v 1.3 2003/10/27 13:54:07 corts Exp $</version> + public class FieldMethodizer + { + /// <summary> + /// Hold the field objects by field name + /// </summary> + private Hashtable fieldHash = new Hashtable(); + + /// <summary> + /// Hold the class objects by field name + /// </summary> + private Hashtable classHash = new Hashtable(); + + /// <summary> + /// Allow object to be initialized without any data. You would use + /// addObject() to add data later. + /// </summary> + public FieldMethodizer() + { + } + + /// <summary> + /// Constructor that takes as it's arg the name of the class + /// to methodize. + /// </summary> + /// <param name="s">Name of class to methodize.</param> + public FieldMethodizer(String s) + { + try + { + AddObject(s); + } + catch (Exception e) + { + Console.Out.WriteLine(e); + } + } + + /// <summary> + /// Constructor that takes as it's arg a living + /// object to methodize. Note that it will still + /// only methodized the public static fields of + /// the class. + /// </summary> + /// <param name="o">object to methodize.</param> + public FieldMethodizer(Object o) + { + try + { + AddObject(o); + } + catch (Exception e) + { + Console.Out.WriteLine(e); + } + } + + /// <summary> + /// Add the Name of the class to methodize + /// </summary> + public void AddObject(String s) + { + Type type = Type.GetType(s); + Inspect(type); + } + + /// <summary> Add an Object to methodize + /// </summary> + public void AddObject(Object o) + { + Inspect(o.GetType()); + } + + /// <summary> + /// Accessor method to get the fields by name. + /// </summary> + /// <param name="fieldName">Name of static field to retrieve</param> + /// <returns>The value of the given field.</returns> + public Object Get(String fieldName) + { + try + { + FieldInfo f = (FieldInfo) fieldHash[fieldName]; + if (f != null) + return f.GetValue((Type) classHash[fieldName]); + } + catch (Exception e) + { + } + return null; + } + + /// <summary> Method that retrieves all public static fields + /// in the class we are methodizing. + /// </summary> + private void Inspect(Type clas) + { + FieldInfo[] fields = clas.GetFields(); + for (int i = 0; i < fields.Length; i++) + { + // only if public and static + if (fields[i].IsPublic && fields[i].IsStatic) + { + fieldHash[fields[i].Name] = fields[i]; + classHash[fields[i].Name] = clas; + } + } + } + } +} \ No newline at end of file Added: trunk/src/NVelocity/App/Tools/VelocityFormatter.cs =================================================================== --- trunk/src/NVelocity/App/Tools/VelocityFormatter.cs (rev 0) +++ trunk/src/NVelocity/App/Tools/VelocityFormatter.cs 2006-05-17 21:05:19 UTC (rev 8) @@ -0,0 +1,359 @@ +namespace NVelocity.App.Tools +{ + using System; + using System.Collections; + using System.Globalization; + using System.Text; + using NVelocity.Context; + + /// <summary> + /// Formatting tool for inserting into the Velocity WebContext. Can + /// format dates or lists of objects. + /// + /// <p>Here's an example of some uses: + /// <code><pre> + /// $formatter.formatShortDate($object.Date) + /// $formatter.formatLongDate($db.getRecord(232).getDate()) + /// $formatter.formatArray($array) + /// $formatter.limitLen(30, $object.Description) + /// </pre></code> + /// </summary> + /// <author><a href="mailto:se...@so...">Sean Legassick</a></author> + /// <author><a href="mailto:dl...@co...">Daniel Rall</a></author> + /// <version>$Id: VelocityFormatter.cs,v 1.5 2003/11/05 04:15:02 corts Exp $</version> + public class VelocityFormatter + { + internal IContext context = null; + internal SupportClass.TextNumberFormat nf = SupportClass.TextNumberFormat.getTextNumberInstance(); + + /// <summary> + /// Constructor needs a backpointer to the context. + /// </summary> + /// <param name="context">A Context.</param> + public VelocityFormatter(IContext context) + { + this.context = context; + } + + /// <summary> + /// Formats a date in 'short' style. + /// </summary> + /// <param name="date">A Date.</param> + /// <returns>A String.</returns> + public String FormatShortDate(DateTime date) + { + return SupportClass.FormatDateTime(SupportClass.GetDateTimeFormatInstance(3, -1, CultureInfo.CurrentCulture), date); + } + + /// <summary> + /// Formats a date in 'long' style. + /// </summary> + /// <param name="date">A Date.</param> + /// <returns>A String.</returns> + public String FormatLongDate(DateTime date) + { + return SupportClass.FormatDateTime(SupportClass.GetDateTimeFormatInstance(1, -1, CultureInfo.CurrentCulture), date); + } + + /// <summary> + /// Formats a date/time in 'short' style. + /// </summary> + /// <param name="date">A Date.</param> + /// <returns>A String.</returns> + public String FormatShortDateTime(DateTime date) + { + return SupportClass.FormatDateTime(SupportClass.GetDateTimeFormatInstance(3, 3, CultureInfo.CurrentCulture), date); + } + + /// <summary> + /// Formats a date/time in 'long' style. + /// </summary> + /// <param name="date">A Date.</param> + /// <returns>A String.</returns> + public String FormatLongDateTime(DateTime date) + { + return SupportClass.FormatDateTime(SupportClass.GetDateTimeFormatInstance(1, 1, CultureInfo.CurrentCulture), date); + } + + /// <summary> + /// Formats an array into the form "A, B and C". + /// </summary> + /// <param name="array">An Object.</param> + /// <returns>A String.</returns> + public String FormatArray(Object array) + { + return FormatArray(array, ", ", " and "); + } + + /// <summary> + /// Formats an array into the form + /// "A<delim>B<delim>C". + /// </summary> + /// <param name="array">An Object.</param> + /// <param name="delim">A String.</param> + /// <returns>A String.</returns> + public String FormatArray(Object array, String delim) + { + return FormatArray(array, delim, delim); + } + + /// <summary> + /// Formats an array into the form + /// "A<delim>B<finaldelim>C". + /// </summary> + /// <param name="array">An Object.</param> + /// <param name="delim">A String.</param> + /// <param name="finalDelim">A String.</param> + /// <returns>A String.</returns> + public String FormatArray(Object array, String delim, String finaldelim) + { + // TODO: if this is not right - it will blow up + Array a = (Array) array; + + StringBuilder sb = new StringBuilder(); + int arrayLen = ((double[]) array).Length; + for (int i = 0; i < arrayLen; i++) + { + // Use the Array.get method as this will automatically + // wrap primitive types in a suitable Object-derived + // wrapper if necessary. + //UPGRADE_TODO: The equivalent in .NET for method 'java.Object.toString' may return a different value. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1043"' + //UPGRADE_ISSUE: Method 'java.lang.reflect.Array.get' was not converted. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1000_javalangreflectArrayget_javalangObject_int"' + + //TODO: not sure if this is right + //sb.Append(Array.get(array, i).ToString()); + sb.Append(a.GetValue(i).ToString()); + + if (i < arrayLen - 2) + { + sb.Append(delim); + } + else if (i < arrayLen - 1) + { + sb.Append(finaldelim); + } + } + return sb.ToString(); + } + + /// <summary> + /// Formats a list into the form "A, B and C". + /// </summary> + /// <param name="list">A list.</param> + /// <returns>A String.</returns> + public String FormatVector(IList list) + { + return FormatVector(list, ", ", " and "); + } + + /// <summary> + /// Formats a list into the form "A<delim>B<delim>C". + /// </summary> + /// <param name="list">A list.</param> + /// <param name="delim">A String.</param> + /// <returns>A String.</returns> + public String FormatVector(IList list, String delim) + { + return FormatVector(list, delim, delim); + } + + /// <summary> + /// Formats a list into the form + /// "Adelim>B<finaldelim>C". + /// </summary> + /// <param name="list">A list.</param> + /// <param name="delim">A String.</param> + /// <param name="finalDelim">A String.</param> + /// <returns>A String.</returns> + public String FormatVector(IList list, String delim, String finaldelim) + { + StringBuilder sb = new StringBuilder(); + Int32 size = list.Count; + for (int i = 0; i < size; i++) + { + sb.Append(list[i].ToString()); + if (i < size - 2) + { + sb.Append(delim); + } + else if (i < size - 1) + { + sb.Append(finaldelim); + } + } + return sb.ToString(); + } + + /// <summary> + /// Limits 'string' to 'maxlen' characters. If the string gets + /// curtailed, "..." is appended to it. + /// </summary> + /// <param name="maxlen">An int with the maximum length.</param> + /// <param name="string">A String.</param> + /// <returns>A String.</returns> + public String LimitLen(int maxlen, String value) + { + return LimitLen(maxlen, value, "..."); + } + + /// <summary> + /// Limits 'string' to 'maxlen' character. If the string gets + /// curtailed, 'suffix' is appended to it. + /// </summary> + /// <param name="maxlen">An int with the maximum length.</param> + /// <param name="string">A String.</param> + /// <param name="suffix">A String.</param> + /// <returns>A String.</returns> + public String LimitLen(int maxlen, String value, String suffix) + { + String ret = value; + if (value.Length > maxlen) + { + ret = value.Substring(0, (maxlen - suffix.Length) - (0)) + suffix; + } + return ret; + } + + /// <summary> + /// Class that returns alternating values in a template. It stores + /// a list of alternate Strings, whenever alternate() is called it + /// switches to the next in the list. The current alternate is + /// retrieved through toString() - i.e. just by referencing the + /// object in a Velocity template. For an example of usage see the + /// makeAlternator() method below. + /// </summary> + public class VelocityAlternator + { + protected internal String[] alternates = null; + protected internal int current = 0; + + /// <summary> + /// Constructor takes an array of Strings. + /// </summary> + /// <param name="alternates">A String[]. + /// </param> + public VelocityAlternator(params String[] alternates) + { + this.alternates = alternates; + } + + /// <summary> + /// Alternates to the next in the list. + /// </summary> + /// <returns>The current alternate in the sequence.</returns> + public String Alternate() + { + current++; + current %= alternates.Length; + return ""; + } + + /// <summary> + /// Returns the current alternate. + /// </summary> + /// <returns>A String.</returns> + public override String ToString() + { + return alternates[current]; + } + } + + /// <summary> + /// As VelocityAlternator, but calls <code>alternate()</code> + /// automatically on rendering in a template. + /// </summary> + public class VelocityAutoAlternator : VelocityAlternator + { + /// <summary> + /// Constructor takes an array of Strings. + /// </summary> + /// <param name="alternates">A String[]. + /// + /// </param> + public VelocityAutoAlternator(params String[] alternates) + : base(alternates) + { + } + + /// <summary> + /// Returns the current alternate, and automatically alternates + /// to the next alternate in its sequence (trigged upon + /// rendering). + /// </summary> + /// <returns>The current alternate in the sequence.</returns> + public override String ToString() + { + String s = alternates[current]; + Alternate(); + return s; + } + } + + /// <summary> + /// Makes an alternator object that alternates between two values. + /// + /// <p>Example usage in a Velocity template: + /// + /// <code> + /// <table> + /// $formatter.makeAlternator("rowcolor", "#c0c0c0", "#e0e0e0") + /// #foreach $item in $items + /// <tr><td bgcolor="$rowcolor">$item.Name</td></tr> + /// $rowcolor.alternate() + /// #end + /// </table> + /// </code> + /// </summary> + /// <param name="name">The name for the alternator int the context.</param> + /// <param name="alt1">The first alternate.</param> + /// <param name="alt2">The second alternate.</param> + /// <returns>The newly created instance.</returns> + public String MakeAlternator(String name, String alt1, String alt2) + { + context.Put(name, new VelocityAlternator(alt1, alt2)); + return ""; + } + + /// <summary> + /// Makes an alternator object that alternates between three values. + /// </summary> + /// <seealso cref="#makeAlternator(String name, String alt1, String alt2)"/> + public String MakeAlternator(String name, String alt1, String alt2, String alt3) + { + context.Put(name, new VelocityAlternator(alt1, alt2, alt3)); + return ""; + } + + /// <summary> + /// Makes an alternator object that alternates between four values. + /// </summary> + /// <seealso cref="#makeAlternator(String name, String alt1, String alt2)"/> + public String MakeAlternator(String name, String alt1, String alt2, String alt3, String alt4) + { + context.Put(name, new VelocityAlternator(alt1, alt2, alt3, alt4)); + return ""; + } + + /// <summary> + /// Makes an alternator object that alternates between two values + /// automatically. + /// </summary> + /// <seealso cref="#makeAlternator(String name, String alt1, String alt2)"/> + public String MakeAutoAlternator(String name, String alt1, String alt2) + { + context.Put(name, new VelocityAutoAlternator(alt1, alt2)); + return ""; + } + + /// <summary> + /// Returns a default value if the object passed is null. + /// </summary> + public Object IsNull(Object o, Object dflt) + { + if (o == null) + return dflt; + else + return o; + } + } +} \ No newline at end of file Added: trunk/src/NVelocity/App/Velocity.cs =================================================================== --- trunk/src/NVelocity/App/Velocity.cs (rev 0) +++ trunk/src/NVelocity/App/Velocity.cs 2006-05-17 21:05:19 UTC (rev 8) @@ -0,0 +1,443 @@ +using NVelocity.Runtime.Resource; + +namespace NVelocity.App +{ + using System; + using System.IO; + using System.Text; + using Commons.Collections; + using NVelocity.Context; + using NVelocity.Exception; + using NVelocity.Runtime; + using NVelocity.Runtime.Parser; + using NVelocity.Runtime.Parser.Node; + + /// <summary> + /// This class provides services to the application + /// developer, such as : + /// <ul> + /// <li> Simple Velocity Runtime engine initialization methods. + /// <li> Functions to apply the template engine to streams and strings + /// to allow embedding and dynamic template generation. + /// <li> Methods to access Velocimacros directly. + /// </ul> + /// <br><br> + /// While the most common way to use NVelocity is via templates, as + /// Velocity is a general-purpose template engine, there are other + /// uses that NVelocity is well suited for, such as processing dynamically + /// created templates, or processing content streams. + /// <br><br> + /// The methods herein were developed to allow easy access to the NVelocity + /// facilities without direct spelunking of the internals. If there is + /// something you feel is necessary to add here, please, send a patch. + /// </summary> + public class Velocity + { + /// <summary> + /// initialize the NVelocity runtime engine, using the default + /// properties of the NVelocity distribution + /// </summary> + public static void Init() + { + RuntimeSingleton.Init(); + } + + /// <summary> + /// initialize the Velocity runtime engine, using default properties + /// plus the properties in the properties file passed in as the arg + /// </summary> + /// <param name="propsFilename"> + /// file containing properties to use to initialize + /// the Velocity runtime + /// </param> + public static void Init(String propsFilename) + { + RuntimeSingleton.Init(propsFilename); + } + + /// <summary> + /// initialize the Velocity runtime engine, using default properties + /// plus the properties in the passed in java.util.Properties object + /// </summary> + /// <param name="p"> + /// Proprties object containing initialization properties + /// </param> + public static void Init(ExtendedProperties p) + { + RuntimeSingleton.Init(p); + } + + /// <summary> + /// Set a Velocity Runtime property. + /// </summary> + /// <param name="key">key</param> + /// <param name="value">value</param> + public static void SetProperty(String key, Object value) + { + RuntimeSingleton.SetProperty(key, value); + } + + /// <summary> + /// Add a Velocity Runtime property. + /// </summary> + /// <param name="key">key</param> + /// <param name="value">value</param> + public static void AddProperty(String key, Object value) + { + RuntimeSingleton.AddProperty(key, value); + } + + /// <summary> + /// Clear a NVelocity Runtime property. + /// </summary> + /// <param name="key">of property to clear</param> + public static void ClearProperty(String key) + { + RuntimeSingleton.ClearProperty(key); + } + + /// <summary> + /// Set an entire configuration at once. This is + /// useful in cases where the parent application uses + /// the ExtendedProperties class and the velocity configuration + /// is a subset of the parent application's configuration. + /// </summary> + public static void SetExtendedProperties(ExtendedProperties value) + { + RuntimeSingleton.Configuration = value; + } + + /// <summary> + /// Get a Velocity Runtime property. + /// </summary> + /// <param name="key">property to retrieve</param> + /// <returns>property value or null if the property not currently set</returns> + public static Object GetProperty(String key) + { + return RuntimeSingleton.GetProperty(key); + } + + /// <summary> + /// renders the input string using the context into the output writer. + /// To be used when a template is dynamically constructed, or want to use + /// Velocity as a token replacer. + /// </summary> + /// <param name="context">context to use in rendering input string</param> + /// <param name="writer"> Writer in which to render the output</param> + /// <param name="logTag"> string to be used as the template name for log messages in case of error</param> + /// <param name="instring">input string containing the VTL to be rendered</param> + /// <returns>true if successful, false otherwise. If false, see Velocity runtime log</returns> + public static bool Evaluate(IContext context, TextWriter writer, String logTag, String instring) + { + return Evaluate(context, writer, logTag, new StringReader(instring)); + } + + /// <summary> + /// Renders the input stream using the context into the output writer. + /// To be used when a template is dynamically constructed, or want to + /// use Velocity as a token replacer. + /// </summary> + /// <param name="context">context to use in rendering input string</param> + /// <param name="writer"> Writer in which to render the output</param> + /// <param name="logTag"> string to be used as the template name for log messages in case of error</param> + /// <param name="instream">input stream containing the VTL to be rendered</param> + /// <returns>true if successful, false otherwise. If false, see Velocity runtime log</returns> + [Obsolete("Use the overload that takes a TextReader")] + public static bool Evaluate(IContext context, TextWriter writer, String logTag, Stream instream) + { + // first, parse - convert ParseException if thrown + TextReader reader = null; + String encoding = null; + + try + { + encoding = RuntimeSingleton.getString(RuntimeConstants.INPUT_ENCODING, RuntimeConstants.ENCODING_DEFAULT); + reader = new StreamReader(new StreamReader(instream, Encoding.GetEncoding(encoding)).BaseStream); + } + catch (IOException uce) + { + String msg = "Unsupported input encoding : " + encoding + " for template " + logTag; + throw new ParseErrorException(msg, uce); + } + + return Evaluate(context, writer, logTag, reader); + } + + /// <summary> + /// Renders the input reader using the context into the output writer. + /// To be used when a template is dynamically constructed, or want to + /// use Velocity as a token replacer. + /// </summary> + /// <param name="context">context to use in rendering input string</param> + /// <param name="writer"> Writer in which to render the output</param> + /// <param name="logTag"> string to be used as the template name for log messages in case of error</param> + /// <param name="reader">Reader containing the VTL to be rendered</param> + /// <returns>true if successful, false otherwise. If false, see Velocity runtime log</returns> + public static bool Evaluate(IContext context, TextWriter writer, String logTag, TextReader reader) + { + SimpleNode nodeTree = null; + + try + { + nodeTree = RuntimeSingleton.Parse(reader, logTag); + } + catch (ParseException pex) + { + throw new ParseErrorException(pex.Message, pex); + } + + // now we want to init and render + if (nodeTree != null) + { + InternalContextAdapterImpl ica = new InternalContextAdapterImpl(context); + + ica.PushCurrentTemplateName(logTag); + + try + { + try + { + nodeTree.Init(ica, RuntimeSingleton.RuntimeServices); + } + catch (Exception e) + { + RuntimeSingleton.Error("Velocity.evaluate() : init exception for tag = " + logTag + " : " + e); + } + + // now render, and let any exceptions fly + nodeTree.Render(ica, writer); + } + finally + { + ica.PopCurrentTemplateName(); + } + + return true; + } + + return false; + } + + /// <summary> + /// Invokes a currently registered Velocimacro with the parms provided + /// and places the rendered stream into the writer. + /// + /// Note : currently only accepts args to the VM if they are in the context. + /// </summary> + /// <param name="vmName">name of Velocimacro to call</param> + /// <param name="logTag">string to be used for template name in case of error</param> + /// <param name="parameters">args used to invoke Velocimacro. In context key format : + /// eg "foo","bar" (rather than "$foo","$bar") + /// </param> + /// <param name="context">Context object containing data/objects used for rendering.</param> + /// <param name="writer"> Writer for output stream</param> + /// <returns>true if Velocimacro exists and successfully invoked, false otherwise.</returns> + public static bool InvokeVelocimacro(String vmName, String logTag, String[] parameters, IContext context, TextWriter writer) + { + // check parms + if (vmName == null || parameters == null || context == null || writer == null || logTag == null) + { + RuntimeSingleton.Error("Velocity.invokeVelocimacro() : invalid parameter"); + return false; + } + + // does the VM exist? + if (!RuntimeSingleton.IsVelocimacro(vmName, logTag)) + { + RuntimeSingleton.Error("Velocity.invokeVelocimacro() : VM '" + vmName + "' not registered."); + return false; + } + + // now just create the VM call, and use evaluate + StringBuilder construct = new StringBuilder("#"); + + construct.Append(vmName); + construct.Append("("); + + for (int i = 0; i < parameters.Length; i++) + { + construct.Append(" $"); + construct.Append(parameters[i]); + } + + construct.Append(" )"); + + try + { + bool retval = Evaluate(context, writer, logTag, construct.ToString()); + return retval; + } + catch (Exception e) + { + RuntimeSingleton.Error("Velocity.invokeVelocimacro() : error " + e); + } + + return false; + } + + /// <summary> + /// merges a template and puts the rendered stream into the writer + /// </summary> + /// <param name="templateName">name of template to be used in merge</param> + /// <param name="context"> filled context to be used in merge</param> + /// <param name="writer"> writer to write template into</param> + /// <returns>true if successful, false otherwise. Errors logged to velocity log.</returns> + [Obsolete("Use the overload that takes an encoding")] + public static bool MergeTemplate(String templateName, IContext context, TextWriter writer) + { + return MergeTemplate(templateName, RuntimeSingleton.getString(RuntimeConstants.INPUT_ENCODING, RuntimeConstants.ENCODING_DEFAULT), context, writer); + } + + /// <summary> + /// merges a template and puts the rendered stream into the writer + /// </summary> + /// <param name="templateName">name of template to be used in merge</param> + /// <param name="encoding">encoding used in template</param> + /// <param name="context"> filled context to be used in merge</param> + /// <param name="writer"> writer to write template into</param> + /// <returns>true if successful, false otherwise. Errors logged to velocity log</returns> + public static bool MergeTemplate(String templateName, String encoding, IContext context, TextWriter writer) + { + Template template = RuntimeSingleton.GetTemplate(templateName, encoding); + + if (template == null) + { + RuntimeSingleton.Error("Velocity.parseTemplate() failed loading template '" + templateName + "'"); + return false; + } + else + { + template.Merge(context, writer); + return true; + } + } + + /// <summary> + /// Returns a <code>Template</code> from the Velocity + /// resource management system. + /// </summary> + /// <param name="name">The file name of the desired template. + /// </param> + /// <returns> The template. + /// @throws ResourceNotFoundException if template not found + /// from any available source. + /// @throws ParseErrorException if template cannot be parsed due + /// to syntax (or other) err... [truncated message content] |
From: <mik...@us...> - 2006-05-16 19:57:10
|
Revision: 7 Author: mikelbridge Date: 2006-05-16 12:57:06 -0700 (Tue, 16 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=7&view=rev Log Message: ----------- Created folder remotely Added Paths: ----------- tags/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2006-05-16 19:56:59
|
Revision: 6 Author: mikelbridge Date: 2006-05-16 12:56:52 -0700 (Tue, 16 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=6&view=rev Log Message: ----------- Created folder remotely Added Paths: ----------- branches/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2006-05-16 19:56:43
|
Revision: 5 Author: mikelbridge Date: 2006-05-16 12:56:37 -0700 (Tue, 16 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=5&view=rev Log Message: ----------- Created folder remotely Added Paths: ----------- trunk/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <co...@us...> - 2006-05-16 00:59:05
|
Revision: 4 Author: corts Date: 2006-05-15 17:58:59 -0700 (Mon, 15 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=4&view=rev Log Message: ----------- test of svn commit messages. Modified Paths: -------------- ChangeLog.txt Modified: ChangeLog.txt =================================================================== --- ChangeLog.txt 2006-05-15 23:47:59 UTC (rev 3) +++ ChangeLog.txt 2006-05-16 00:58:59 UTC (rev 4) @@ -1,4 +1,4 @@ -Changes: +Change Log: <insert changes done by Castle group> <insert endpoint from current cvs version> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <co...@us...> - 2006-05-15 23:48:04
|
Revision: 3 Author: corts Date: 2006-05-15 16:47:59 -0700 (Mon, 15 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=3&view=rev Log Message: ----------- test of svn commit messages. Modified Paths: -------------- ChangeLog.txt Modified: ChangeLog.txt =================================================================== --- ChangeLog.txt 2006-05-15 23:10:50 UTC (rev 2) +++ ChangeLog.txt 2006-05-15 23:47:59 UTC (rev 3) @@ -1,3 +1,4 @@ Changes: -<insert changes done by Castle group> \ No newline at end of file +<insert changes done by Castle group> +<insert endpoint from current cvs version> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Cort S. <co...@xm...> - 2006-05-15 23:15:12
|
test ________________________________ I am using the free version of SPAMfighter for private users. It has removed 70 spam emails to date. Paying users do not have this message in their emails. Try SPAMfighter <http://www.spamfighter.com/go.asp?t=3D249> for free = now! |
From: <co...@us...> - 2006-05-15 23:11:05
|
Revision: 2 Author: corts Date: 2006-05-15 16:10:50 -0700 (Mon, 15 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=2&view=rev Log Message: ----------- Added changelog to test svn commit messages. Added Paths: ----------- ChangeLog.txt Added: ChangeLog.txt =================================================================== --- ChangeLog.txt (rev 0) +++ ChangeLog.txt 2006-05-15 23:10:50 UTC (rev 2) @@ -0,0 +1,3 @@ +Changes: + +<insert changes done by Castle group> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <co...@us...> - 2006-05-15 22:55:56
|
Revision: 1 Author: corts Date: 2006-05-15 15:55:53 -0700 (Mon, 15 May 2006) ViewCVS: http://svn.sourceforge.net/nvelocity/?rev=1&view=rev Log Message: ----------- Addition of license to test new SVN repository Added Paths: ----------- LICENSE.txt Added: LICENSE.txt =================================================================== --- LICENSE.txt (rev 0) +++ LICENSE.txt 2006-05-15 22:55:53 UTC (rev 1) @@ -0,0 +1,56 @@ +/* + * ==================================================================== + * + * The Apache Software License, Version 1.1 + * + * Copyright (c) 2002 The Apache Software Foundation. All rights + * reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * 3. The end-user documentation included with the redistribution, if + * any, must include the following acknowledgement: + * "This product includes software developed by the + * Apache Software Foundation (http://www.apache.org/)." + * Alternately, this acknowledgement may appear in the software itself, + * if and wherever such third-party acknowledgements normally appear. + * + * 4. The names "The Jakarta Project", "Velocity", and "Apache Software + * Foundation" must not be used to endorse or promote products derived + * from this software without prior written permission. For written + * permission, please contact ap...@ap.... + * + * 5. Products derived from this software may not be called "Apache", + * "Velocity" nor may "Apache" appear in their names without prior + * written permission of the Apache Group. + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR + * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF + * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * ==================================================================== + * + * This software consists of voluntary contributions made by many + * individuals on behalf of the Apache Software Foundation. For more + * information on the Apache Software Foundation, please see + * <http://www.apache.org/>. + * + */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |