About
Community
Docs
Comparisons
Tools
|
Velocity Changes
|
This document tracks the changes in Velocity between releases.
1.0.1-dev
|
Released as v1.0.1-rc1 on April 10, 2001.
-
Small fix to ASTGENode.java to catch NPE if LHS or RHS is null or not
int or Integer. (gmj)
-
Added examples-clean-forumdemo target to build.xml for cleaning up
after building the forumdemo. (JSS)
-
Small fix to ASTAndNode.java to short circuit if LHS is false, and to
log an error of LHS or RHS is null. (gmj)
-
Small fix to ASTGTNode.jave to catch NPE if LHS or RHS is null. (gmj)
-
Documentation : changed license instructions in coding-standards.xml (gmj)
-
Added 'throws Exception' to handleRequest() in VelocityServlet.java
(suggestion from Christoph Reck) (gmj)
-
Updates to README.txt and examples/README.txt as suggested by Kent Johnson (gmj)
-
Added Enumerator as a valid iteration type for #foreach() - added warnings
to use of same to documentation. (gmj)
-
Added panic sqawk in AvalonLogSystem() to also go to stderr. (gmj)
-
Finished all comparison nodes (NPE prevention and good logging) and
enhanced logical.vm test template to try them all. (gmj)
-
Added xmlapp_example to examples, and added to examples build target.
Was moved from whiteboard. (gmj)
|
1.0b3
|
Released as version 1.0 on April 2, 2001
-
Documentation: Fix the VTL Reference guide for the #if
statement. Thanks to Joaquim Carvalho for the find. (JSS)
-
Documentation: Fixed the html in the user guide that generates
the TOC so that the numbers come out in proper order. (JSS)
-
Added common base class for application-level exceptions in package
org.apache.velocity.exception. Thanks to Kyle Downey for the
suggestion. (gmj)
-
Added javadoc to o.a.v.context.AbstractContext clarifying which
of the internalXXX methods are required. Thanks to
Joshua Levy for the suggestion. (gmj)
-
Added license and javadoc to examples/context_example/DBContext.java
to clarify why some internalXXX methods are stubbed out. (gmj)
-
Documentation : Clarification of VM properties and added note on
VM declaration / usage order in user guide. (gmj)
-
Fixed HttpServletRequestWrap.java - getInputStream() wasn't calling
the method on the wrapped HttpServletRequest. Thanks to
Shahar Solomianik. (gmj)
-
Removed build.compiler from the build.xml file. (JSS)
-
Fixed problem found by jon where high concurrency would lead to
a dry parser pool, which would lead to vast unpleasantness masked
as resource access errors. All seems to be better now. Simple
fix, so little risk. (gmj)
-
Added
parser.pool.size as a configuration parameter to
help tune Velocity configurations for high concurrency loads. (gmj)
-
Documentation : developers-guide - information/example on making a
custom logger, and start of work on documenting resource loaders. (gmj)
-
Removed some debugging gibberish from
InternalContextAdapterImpl.java (gmj)
-
Committed John McNally's Texen patch to texen's Generator.java
to keep from accumulating introspection cache data in iterative
calls to parse() with template caching off. (gmj)
-
Documentation : added some special-case Context information and a
secion on Vel and XML in the developers guide. (gmj)
|
1.0b2
|
Released as version 1.0 beta 2 on March 26, 2001
-
Make the distribution have CRLF for all of the text files (JSS).
-
Fixed release packaging to create things in the right directory
structure (JSS).
-
Re-added 'include' support for Configuration. (JVZ)
-
Fixed VMProxy bug when reference arg was null. (#1074) (gmj)
-
Fixed nullpointer problem in cache refresh in ResourceManager
(reported by Ilkka Priha) (gmj)
-
VelocityServlet now respects the 'default.contentType'
property again. That must have fallen out during the 'request
process' rework in VelServlet. (reported by csterg@aias.gr) (gmj)
-
Changed AnakiaTask and TexenTask to use the canonical
template file path rather than the literal string specified.
Motivated for ease of gump-tion. Also added
failonerror to the testcases.xml for the same reason. (gmj)
-
Added Sam's suggestion for normalizing \n[\r] when comparing
results to expected results in the testbed via BaseTestCase (gmj)
-
Qualified import statments in Generator.java. Added tests for
automatic boolean mapping in TexenTestCase.java. Added default
boolean mapping to texen for properties used with the
contextProperties option. Allow variants on boolean values in
Configuration.java, and changes to relevant templates in testbed.
Added default objects to context in TexenTask.java. (JVZ)
-
Documentation changes to Configuration.java (DLR)
-
Augmented the MethodInvocationException message in ASTMethod to
make the stacktraces more useful - noted from some traffic on
Turbine list. (gmj)
-
Added powered by logo. Look in
xdocs/images/powered-by-logo.psd/.gif (JSS)
-
Changed the internals of the Configuration class so that
setProperty(K,V) will replace the value at K with V;
addProperty(K,V) works the way setProperty(K,V) used
to: if there is a value already stored at K then
V is added to the vector. If nothing is being stored
at K then the scalar V is simply added. setProperty(K,V)
is basically a short form for clearProperty(K)/addProperty(K,V).
Also added setConfiguration(C), so that an application using
velocity could easily take a subset of the application
configuration using C.subset(velocityProps) and set the
whole velocity configuration at once. This is now how
the velocity service works in Turbine. (JVZ)
-
Added support to the Runtime/Velocity classes for
addProperty(K,V). (JVZ)
-
Added support to Runtime/Velocity classes for setConfiguration.
(JVZ)
-
Confirmed that the build.bat works on Win98 as well as made the
classpath that the build.bat generates equal to the one that
build.sh generates. (JSS)
|
|
|