Author: wglass
Date: Fri Nov 10 07:19:09 2006
New Revision: 473363
URL: http://svn.apache.org/viewvc?view=revrev=473363
Log:
throw methodinvcationexception from velocimacros. VELOCITY-284.
Modified:
jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/Foreach.java
Author: wglass
Date: Sun Nov 5 00:56:58 2006
New Revision: 471381
URL: http://svn.apache.org/viewvc?view=revrev=471381
Log:
Removed generic Exception from throws for Template class and most Node
classes.
In response to VELOCITY-436. There's a danger of a change to an
API call since
Author: wglass
Date: Sat Nov 4 22:02:20 2006
New Revision: 471372
URL: http://svn.apache.org/viewvc?view=revrev=471372
Log:
Patch for VELOCITY-435. When new property
velocimacro.arguments.strict is set to true,
will throw a ParseErrorException after encountering
macro call with invalid number
Author: wglass
Date: Sat Nov 4 22:24:39 2006
New Revision: 471374
URL: http://svn.apache.org/viewvc?view=revrev=471374
Log:
update changelist with several recent changes.
Modified:
jakarta/velocity/engine/trunk/xdocs/changes.xml
Modified: jakarta/velocity/engine/trunk/xdocs/changes.xml
URL
Author: wglass
Date: Wed Nov 1 23:14:00 2006
New Revision: 470254
URL: http://svn.apache.org/viewvc?view=revrev=470254
Log:
fixed javadocs for random file
Modified:
jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/MathUtils.java
Modified:
jakarta/velocity
Author: wglass
Date: Wed Nov 1 23:20:36 2006
New Revision: 470256
URL: http://svn.apache.org/viewvc?view=revrev=470256
Log:
VELOCITY-423. Cleaned up Javadocs.
Modified:
jakarta/velocity/engine/trunk/src/java/org/apache/velocity/app/event/EventCartridge.java
jakarta/velocity/engine
Author: wglass
Date: Wed Nov 1 23:32:37 2006
New Revision: 470261
URL: http://svn.apache.org/viewvc?view=revrev=470261
Log:
Apply javadoc fixes. VELOCITY-475.
Modified:
jakarta/velocity/engine/trunk/src/java/org/apache/velocity/util/introspection/ClassMap.java
jakarta/velocity/engine
Author: wglass
Date: Wed Nov 1 23:37:15 2006
New Revision: 470263
URL: http://svn.apache.org/viewvc?view=revrev=470263
Log:
fix Javadocs
Modified:
jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTSetDirective.java
Modified:
jakarta/velocity/engine/trunk
Author: wglass
Date: Wed Nov 1 23:45:02 2006
New Revision: 470265
URL: http://svn.apache.org/viewvc?view=revrev=470265
Log:
fix formatting typo in class javadoc
Modified:
jakarta/velocity/engine/trunk/src/java/org/apache/velocity/app/event/implement/ReportInvalidReferences.java
Modified
Author: wglass
Date: Thu Oct 12 00:48:47 2006
New Revision: 463147
URL: http://svn.apache.org/viewvc?view=revrev=463147
Log:
Restructuring of event handler initialization calls prepatory to
adding another event handler interface.
Added:
jakarta/velocity/engine/trunk/src/java/org/apache
Author: wglass
Date: Thu Oct 12 04:52:06 2006
New Revision: 463213
URL: http://svn.apache.org/viewvc?view=revrev=463213
Log:
New event handler: InvalidReferenceEventHandler. Allows the developer to trap
invalid references, property assignments, method calls.
Sample implementation can be used
Author: wglass
Date: Thu Oct 12 09:59:01 2006
New Revision: 463320
URL: http://svn.apache.org/viewvc?view=revrev=463320
Log:
removed archaic todo, tweaked text of readme
Removed:
jakarta/velocity/engine/trunk/TODO.txt
Modified:
jakarta/velocity/engine/trunk/README.txt
Modified: jakarta
Author: wglass
Date: Wed Oct 11 16:52:00 2006
New Revision: 463076
URL: http://svn.apache.org/viewvc?view=revrev=463076
Log:
remove throws Exception from RuntimeServicesAware.setRuntimeServices
Modified:
jakarta/velocity/engine/trunk/src/java/org/apache/velocity/app/event/implement
Author: wglass
Date: Tue Oct 10 15:17:37 2006
New Revision: 462604
URL: http://svn.apache.org/viewvc?view=revrev=462604
Log:
Bold commit moving application-level exceptions to be based on RuntimeException.
Modified:
jakarta/velocity/engine/trunk/src/java/org/apache/velocity/app/Velocity.java
Author: wglass
Date: Mon Oct 9 13:57:32 2006
New Revision: 454504
URL: http://svn.apache.org/viewvc?view=revrev=454504
Log:
test to be assured VELOCITY-132 is not a problem
Added:
jakarta/velocity/engine/trunk/src/test/org/apache/velocity/test/MethodOverloadingTestCase.java
(with props
Author: wglass
Date: Mon Oct 9 17:01:11 2006
New Revision: 454562
URL: http://svn.apache.org/viewvc?view=revrev=454562
Log:
move ContextAware/RuntimeServicesAware to util package for more generic future
use
Added:
jakarta/velocity/engine/trunk/src/java/org/apache/velocity/util
Author: wglass
Date: Mon Oct 9 17:02:25 2006
New Revision: 454563
URL: http://svn.apache.org/viewvc?view=revrev=454563
Log:
move ContextAware/RuntimeServicesAware
Modified:
jakarta/velocity/engine/trunk/src/test/org/apache/velocity/test/EventHandlingTestCase.java
Modified:
jakarta
Author: wglass
Date: Mon Oct 9 20:43:45 2006
New Revision: 454595
URL: http://svn.apache.org/viewvc?view=revrev=454595
Log:
Offer optional SecureUberspector which prohibits method calls on 'dangerous'
classes like Class and ClassLoader.
Added:
jakarta/velocity/engine/trunk/src/java/org
Author: wglass
Date: Mon Oct 9 21:03:14 2006
New Revision: 454603
URL: http://svn.apache.org/viewvc?view=revrev=454603
Log:
always allow Class.getName() per Nathan's suggestion.
Modified:
jakarta/velocity/engine/trunk/src/java/org/apache/velocity/util/introspection
Author: wglass
Date: Fri Sep 29 06:59:28 2006
New Revision: 451296
URL: http://svn.apache.org/viewvc?view=revrev=451296
Log:
changed MethodCacheKey to static class per Alexey's suggestion.
Modified:
jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node
Author: wglass
Date: Thu Sep 28 13:19:29 2006
New Revision: 451013
URL: http://svn.apache.org/viewvc?view=revrev=451013
Log:
Modified recent method cache patch to improve style and robustness. Revised
equals hashcode, added equals unit test. Related to VELOCITY-453.
Added:
jakarta
Author: wglass
Date: Thu Sep 28 21:59:53 2006
New Revision: 451120
URL: http://svn.apache.org/viewvc?view=revrev=451120
Log:
tweaked inner class of method cache. Related to VELOCITY-453.
Modified:
jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java
Author: wglass
Date: Tue Sep 26 12:34:52 2006
New Revision: 450163
URL: http://svn.apache.org/viewvc?view=revrev=450163
Log:
applied patch VELOCITY-460 - IncludeRelativePath handler should treat paths
beginning with a slash as absolute paths
Added:
jakarta/velocity/engine/trunk/test
Author: wglass
Date: Sat Sep 23 16:43:43 2006
New Revision: 449333
URL: http://svn.apache.org/viewvc?view=revrev=449333
Log:
allow macros to get outside references, even with localscope setting. Thanks
to Stephen Habermann. VELOCITY-459
Added:
jakarta/velocity/engine/trunk/src/test/org
Author: wglass
Date: Sat Sep 23 16:50:41 2006
New Revision: 449334
URL: http://svn.apache.org/viewvc?view=revrev=449334
Log:
moved new test case to location consistent with other tests
Added:
jakarta/velocity/engine/trunk/src/test/org/apache/velocity/test/VMContextLocalscopeTestCase.java
Author: wglass
Date: Sat Sep 23 17:03:52 2006
New Revision: 449337
URL: http://svn.apache.org/viewvc?view=revrev=449337
Log:
fix eol-style
Modified:
jakarta/velocity/engine/trunk/src/test/org/apache/velocity/test/VMContextLocalscopeTestCase.java
(contents, props changed)
Modified
Author: wglass
Date: Sat Sep 23 20:47:16 2006
New Revision: 449346
URL: http://svn.apache.org/viewvc?view=revrev=449346
Log:
update change log for VELOCITY-459
Modified:
jakarta/velocity/engine/trunk/xdocs/changes.xml
Modified: jakarta/velocity/engine/trunk/xdocs/changes.xml
URL:
http
Author: wglass
Date: Sat Sep 23 20:55:33 2006
New Revision: 449347
URL: http://svn.apache.org/viewvc?view=revrev=449347
Log:
Fix to introspection method caching. Thanks to Alexey Panchenko for the catch,
fix, and test. VELOCITY-453.
Added:
jakarta/velocity/engine/trunk/src/test/org
Author: wglass
Date: Wed Aug 23 11:53:40 2006
New Revision: 434124
URL: http://svn.apache.org/viewvc?rev=434124view=rev
Log:
Stop calling object.toString() twice when evaluating references. Thanks to
Stephen Haberman for the patch.
Modified:
jakarta/velocity/engine/trunk/src/java/org
Author: wglass
Date: Mon Mar 20 13:17:21 2006
New Revision: 387313
URL: http://svn.apache.org/viewcvs?rev=387313view=rev
Log:
document new parser pool configuration option
Modified:
jakarta/velocity/engine/trunk/xdocs/docs/developer-guide.xml
Modified: jakarta/velocity/engine/trunk/xdocs
Author: wglass
Date: Mon Mar 20 13:18:04 2006
New Revision: 387314
URL: http://svn.apache.org/viewcvs?rev=387314view=rev
Log:
add new heading to property defaults
Modified:
jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/defaults/velocity.properties
Modified:
jakarta
Author: wglass
Date: Tue Mar 14 16:21:53 2006
New Revision: 385939
URL: http://svn.apache.org/viewcvs?rev=385939view=rev
Log:
Prevent string out of bounds exception. Thanks Klemen Zagar! VELOCITY-432.
Modified:
jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node
Author: wglass
Date: Tue Mar 14 16:43:10 2006
New Revision: 385942
URL: http://svn.apache.org/viewcvs?rev=385942view=rev
Log:
#stop now works when in a template loaded with #parse. VELOCITY-432. Thanks
Klemen Zagar
Added:
jakarta/velocity/engine/trunk/test/templates/compare/stop3.cmp
Author: wglass
Date: Tue Mar 14 20:11:43 2006
New Revision: 385967
URL: http://svn.apache.org/viewcvs?rev=385967view=rev
Log:
Change the Parser Pool to be an interface with a default implementation.
Thanks to Serge Knystautas for the idea and patch. VELOCITY-433.
Added:
jakarta/velocity
Author: wglass
Date: Fri Mar 10 10:53:23 2006
New Revision: 384891
URL: http://svn.apache.org/viewcvs?rev=384891view=rev
Log:
updated link to snapshots now that cvs is dead
Modified:
jakarta/velocity/engine/trunk/xdocs/build.xml
jakarta/velocity/engine/trunk/xdocs/docs/developer
Author: wglass
Date: Fri Mar 10 10:57:26 2006
New Revision: 384892
URL: http://svn.apache.org/viewcvs?rev=384892view=rev
Log:
changed it's to its when appropriate. VELOCITY-431. Thanks to Carl Manaster
for pointing this out.
Modified:
jakarta/velocity/engine/trunk/xdocs/build.xml
Author: wglass
Date: Fri Mar 10 11:07:48 2006
New Revision: 384896
URL: http://svn.apache.org/viewcvs?rev=384896view=rev
Log:
trivial wording change
Modified:
jakarta/velocity/engine/trunk/xdocs/build.xml
Modified: jakarta/velocity/engine/trunk/xdocs/build.xml
URL:
http://svn.apache.org
Author: wglass
Date: Sun Jan 29 18:34:47 2006
New Revision: 373415
URL: http://svn.apache.org/viewcvs?rev=373415view=rev
Log:
prevent potential NPE when evaluating references
Modified:
jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/parser/node/ASTIdentifier.java
Author: wglass
Date: Sun Jan 29 19:46:13 2006
New Revision: 373422
URL: http://svn.apache.org/viewcvs?rev=373422view=rev
Log:
fix author tag
Modified:
jakarta/velocity/engine/trunk/src/test/org/apache/velocity/test/FilteredEventHandlingTestCase.java
Modified:
jakarta/velocity/engine/trunk
Author: wglass
Date: Sun Jan 29 20:36:14 2006
New Revision: 373430
URL: http://svn.apache.org/viewcvs?rev=373430view=rev
Log:
removed unused file
Removed:
jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/directive/ParseDirectiveException.java
Author: wglass
Date: Sun Jan 29 20:44:01 2006
New Revision: 373432
URL: http://svn.apache.org/viewcvs?rev=373432view=rev
Log:
test case for VELOCITY-95, VELOCITY-96
Added:
jakarta/velocity/engine/trunk/src/test/org/apache/velocity/test/IncludeErrorTestCase.java
(with props)
jakarta
Author: wglass
Date: Sun Jan 29 21:17:35 2006
New Revision: 373441
URL: http://svn.apache.org/viewcvs?rev=373441view=rev
Log:
trim spaces from all properties. VELOCITY-274
Modified:
jakarta/velocity/engine/trunk/src/java/org/apache/velocity/app/event/implement/EscapeReference.java
Author: wglass
Date: Sun Jan 29 21:34:46 2006
New Revision: 373443
URL: http://svn.apache.org/viewcvs?rev=373443view=rev
Log:
remove comment obsoleted in rev#75636
Modified:
jakarta/velocity/engine/trunk/src/parser/Parser.jjt
Modified: jakarta/velocity/engine/trunk/src/parser/Parser.jjt
URL
Author: wglass
Date: Sun Jan 29 23:14:12 2006
New Revision: 373465
URL: http://svn.apache.org/viewcvs?rev=373465view=rev
Log:
Allow either commas or spaces to separate macro arguments. VELOCITY-430.
Added:
jakarta/velocity/engine/trunk/test/templates/commas.vm (with props)
jakarta
Author: wglass
Date: Mon Jan 16 09:29:55 2006
New Revision: 369529
URL: http://svn.apache.org/viewcvs?rev=369529view=rev
Log:
Fixed typo in jdom example. Thanks to Adrian Smith for the catch.
Modified:
jakarta/velocity/engine/trunk/xdocs/docs/developer-guide.xml
Modified: jakarta/velocity
Author: wglass
Date: Tue Jan 3 08:23:55 2006
New Revision: 365675
URL: http://svn.apache.org/viewcvs?rev=365675view=rev
Log:
Fixed typo for property directive.parse.max.depth. Thanks to Oliver Kohll for
the catch.
Modified:
jakarta/velocity/core/trunk/xdocs/docs/developer-guide.xml
Author: wglass
Date: Tue Jan 3 21:30:46 2006
New Revision: 365829
URL: http://svn.apache.org/viewcvs?rev=365829view=rev
Log:
Correct fix to VELOCITY-98. If page writer alternates #parse and #include for
the same file, the file needs to be reloaded (can't reuse the cache).
Modified
Author: wglass
Date: Tue Jan 3 21:40:24 2006
New Revision: 365831
URL: http://svn.apache.org/viewcvs?rev=365831view=rev
Log:
Here's a better fix to Velocity-98 which caches #include static
text separately from templates. Patch as suggested by
original contributor Michal Chmielewski. Thanks
Author: wglass
Date: Tue Jan 3 21:45:40 2006
New Revision: 365832
URL: http://svn.apache.org/viewcvs?rev=365832view=rev
Log:
Pass through RuntimeExceptions from plugins and event handlers.
(except for MethodExceptionEventHandler). VELOCITY-429.
Added:
jakarta/velocity/core/trunk/src/test
Author: wglass
Date: Tue Jan 3 22:14:17 2006
New Revision: 365836
URL: http://svn.apache.org/viewcvs?rev=365836view=rev
Log:
Added Implementation-Vendor-Id as recommended in
http://java.sun.com/j2se/1.5.0/docs/guide/extensions/versioning.html
Modified:
jakarta/velocity/core/trunk/build
Author: wglass
Date: Tue Jan 3 22:26:13 2006
New Revision: 365843
URL: http://svn.apache.org/viewcvs?rev=365843view=rev
Log:
fixed link to svn repository
Modified:
jakarta/velocity/core/trunk/xdocs/index.xml
Modified: jakarta/velocity/core/trunk/xdocs/index.xml
URL:
http://svn.apache.org
Author: wglass
Date: Mon Jan 2 02:43:03 2006
New Revision: 365328
URL: http://svn.apache.org/viewcvs?rev=365328view=rev
Log:
remove redundant constants
Modified:
jakarta/velocity/core/trunk/src/test/org/apache/velocity/test/MultipleFileResourcePathTestCase.java
Modified:
jakarta/velocity
Author: wglass
Date: Mon Jan 2 04:42:18 2006
New Revision: 365339
URL: http://svn.apache.org/viewcvs?rev=365339view=rev
Log:
prevent NPE when velocimacro.library.autoreload=true and there is no global
velocimacro library
Modified:
jakarta/velocity/core/trunk/src/java/org/apache/velocity
Author: wglass
Date: Mon Jan 2 17:18:13 2006
New Revision: 365508
URL: http://svn.apache.org/viewcvs?rev=365508view=rev
Log:
Fix typo in comments
Modified:
jakarta/velocity/core/trunk/src/java/org/apache/velocity/runtime/RuntimeConstants.java
Modified:
jakarta/velocity/core/trunk/src
Author: wglass
Date: Mon Jan 2 17:22:48 2006
New Revision: 365509
URL: http://svn.apache.org/viewcvs?rev=365509view=rev
Log:
Updated change.xml file in maven format with all changes to date for
1.5. (in gradual preparation for 1.5 release). Moved changelog
for 1.4 and earlier to separate file
Author: wglass
Date: Mon Dec 12 16:32:29 2005
New Revision: 356432
URL: http://svn.apache.org/viewcvs?rev=356432view=rev
Log:
clean up imports
Modified:
jakarta/velocity/core/trunk/src/test/org/apache/velocity/test/InfoTestCase.java
Modified:
jakarta/velocity/core/trunk/src/test/org
Author: wglass
Date: Mon Dec 12 16:34:46 2005
New Revision: 356433
URL: http://svn.apache.org/viewcvs?rev=356433view=rev
Log:
fixed javadoc typo
Modified:
jakarta/velocity/core/trunk/src/test/org/apache/velocity/test/WrappedExceptionTestCase.java
Modified:
jakarta/velocity/core/trunk/src
Author: wglass
Date: Wed Nov 30 22:36:49 2005
New Revision: 350188
URL: http://svn.apache.org/viewcvs?rev=350188view=rev
Log:
Set the cause for thrown exceptions when run under JDK 1.4+. VELOCITY-425.
Added:
jakarta/velocity/core/trunk/src/java/org/apache/velocity/util/ExceptionUtils.java
Author: wglass
Date: Fri Nov 18 13:05:31 2005
New Revision: 345566
URL: http://svn.apache.org/viewcvs?rev=345566view=rev
Log:
check string interpolation with comments
Modified:
jakarta/velocity/core/trunk/test/templates/compare/interpolation.cmp
jakarta/velocity/core/trunk/test/templates
Author: wglass
Date: Fri Nov 18 13:10:24 2005
New Revision: 345571
URL: http://svn.apache.org/viewcvs?rev=345571view=rev
Log:
minor tweaks-- fail on (unexpected) exception, add better message
Modified:
jakarta/velocity/core/trunk/src/test/org/apache/velocity/test/InfoTestCase.java
Author: wglass
Date: Fri Nov 18 13:11:38 2005
New Revision: 345574
URL: http://svn.apache.org/viewcvs?rev=345574view=rev
Log:
fix imports
Modified:
jakarta/velocity/core/trunk/src/java/org/apache/velocity/app/event/implement/PrintExceptions.java
jakarta/velocity/core/trunk/src/java/org
Author: wglass
Date: Thu Nov 17 10:16:37 2005
New Revision: 345296
URL: http://svn.apache.org/viewcvs?rev=345296view=rev
Log:
Fixed NPE when subelement of reference is null.
Thanks to Alexey Panchenko for the patch.
Modified:
jakarta/velocity/core/trunk/src/java/org/apache/velocity
Author: wglass
Date: Thu Nov 17 12:02:19 2005
New Revision: 345315
URL: http://svn.apache.org/viewcvs?rev=345315view=rev
Log:
Fixed problem with line comments in string literals. A extra character was
being chopped off and/or StringIndexOutOfBoundsException. VELOCITY-126
Modified
Author: wglass
Date: Sun Nov 13 00:10:26 2005
New Revision: 332946
URL: http://svn.apache.org/viewcvs?rev=332946view=rev
Log:
Allow #set to accept nulls as the right hand side argument.
For backwards compatibility, this feature is turned off
by default. Set the property
Author: wglass
Date: Sun Nov 13 00:17:51 2005
New Revision: 332948
URL: http://svn.apache.org/viewcvs?rev=332948view=rev
Log:
set eol-style property
Modified:
jakarta/velocity/core/trunk/test/set/compare/set1.cmp (contents, props
changed)
jakarta/velocity/core/trunk/test/set/compare
Author: wglass
Date: Sun Nov 13 14:25:18 2005
New Revision: 343986
URL: http://svn.apache.org/viewcvs?rev=343986view=rev
Log:
trivial doc fox removing period
Modified:
jakarta/velocity/core/trunk/xdocs/docs/developer-guide.xml
Modified: jakarta/velocity/core/trunk/xdocs/docs/developer
Author: wglass
Date: Sat Nov 12 23:03:43 2005
New Revision: 332918
URL: http://svn.apache.org/viewcvs?rev=332918view=rev
Log:
added property to set the path for the logfile. VELOCITY-417. Thanks to
sebastian for the patch.
Modified:
jakarta/velocity/core/trunk/src/java/org/apache
Author: wglass
Date: Sat Nov 12 23:09:40 2005
New Revision: 332924
URL: http://svn.apache.org/viewcvs?rev=332924view=rev
Log:
Fixed docs for #include (removed commas).
Thanks Diago for pointing this out in VELOCITY-416.
Modified:
jakarta/velocity/core/trunk/xdocs/docs/vtl-reference
Author: wglass
Date: Thu Nov 10 15:59:03 2005
New Revision: 332399
URL: http://svn.apache.org/viewcvs?rev=332399view=rev
Log:
since ExtendedProperties.load doesn't close the stream, close it on the
Velocity side. VELOCITY-418
Modified:
jakarta/velocity/core/trunk/src/java/org/apache
Author: wglass
Date: Wed Oct 26 07:05:42 2005
New Revision: 328649
URL: http://svn.apache.org/viewcvs?rev=328649view=rev
Log:
avoid conflict with 1.5 vs 1.4 constructor
Modified:
jakarta/velocity/core/trunk/src/java/org/apache/velocity/runtime/parser/node/MathUtils.java
Modified:
jakarta
Author: wglass
Date: Tue Oct 18 21:15:55 2005
New Revision: 326373
URL: http://svn.apache.org/viewcvs?rev=326373view=rev
Log:
Added get method to parallel setAttribute method. VELOCITY-412.
Modified:
jakarta/velocity/core/trunk/src/java/org/apache/velocity/app/VelocityEngine.java
Author: wglass
Date: Fri Oct 14 23:17:50 2005
New Revision: 321296
URL: http://svn.apache.org/viewcvs?rev=321296view=rev
Log:
ParseErrorException now reports template name. Thanks Malcolm Edgar!
VELOCITY-373.
Added:
jakarta/velocity/core/trunk/src/test/org/apache/velocity/test
Author: wglass
Date: Fri Oct 14 23:32:31 2005
New Revision: 321297
URL: http://svn.apache.org/viewcvs?rev=321297view=rev
Log:
Throw more user-friendly exception when init() has not been called (as opposed
to arbitrary NPE's from deep in the code)
Modified:
jakarta/velocity/core/trunk/src
Author: wglass
Date: Fri Oct 14 23:37:28 2005
New Revision: 321298
URL: http://svn.apache.org/viewcvs?rev=321298view=rev
Log:
Protect against NPE. Issue reported and fix provided by Konstantin Pribluda.
VELOCITY-411.
Modified:
jakarta/velocity/core/trunk/src/java/org/apache/velocity/app
Author: wglass
Date: Fri Oct 14 22:14:12 2005
New Revision: 321293
URL: http://svn.apache.org/viewcvs?rev=321293view=rev
Log:
No need to check the context if the datasource is passed in. Thanks to
Vladimir Terzic for the further patch. VELOCITY-267
Modified:
jakarta/velocity/core/trunk
Author: wglass
Date: Mon Oct 10 23:12:47 2005
New Revision: 312815
URL: http://svn.apache.org/viewcvs?rev=312815view=rev
Log:
fix error on Linux of failing AbsoluteFileResourceLoader (missing first slash)
Modified:
jakarta/velocity/core/trunk/src/java/org/apache/velocity/runtime/resource
Author: wglass
Date: Wed Oct 5 23:12:34 2005
New Revision: 306539
URL: http://svn.apache.org/viewcvs?rev=306539view=rev
Log:
Fix jar-dep to include all required collection classes.
Modified:
jakarta/velocity/core/trunk/build/build.xml
Modified: jakarta/velocity/core/trunk/build/build.xml
Author: wglass
Date: Wed Oct 5 21:25:59 2005
New Revision: 306522
URL: http://svn.apache.org/viewcvs?rev=306522view=rev
Log:
fixed bug with parse error when comment was last line of file. VELOCITY-272
Added:
jakarta/velocity/core/trunk/test/templates/comment-eof.vm
jakarta/velocity
Author: wglass
Date: Wed Oct 5 22:14:48 2005
New Revision: 306528
URL: http://svn.apache.org/viewcvs?rev=306528view=rev
Log:
treat the template name as an absolute path when the template path is empty.
See VELOCITY-144 for a discussion about this patch.
Added:
jakarta/velocity/core/trunk
Author: wglass
Date: Wed Oct 5 22:26:13 2005
New Revision: 306530
URL: http://svn.apache.org/viewcvs?rev=306530view=rev
Log:
minor change to make sure keywords are applied
Modified:
jakarta/velocity/core/trunk/src/test/org/apache/velocity/test/AbsoluteFileResourceLoaderTestCase.java
Author: wglass
Date: Wed Oct 5 22:27:03 2005
New Revision: 306531
URL: http://svn.apache.org/viewcvs?rev=306531view=rev
Log:
set keywords
Modified:
jakarta/velocity/core/trunk/src/test/org/apache/velocity/test/AbsoluteFileResourceLoaderTestCase.java
(contents, props changed)
Modified
Author: wglass
Date: Sun Oct 2 23:36:28 2005
New Revision: 293265
URL: http://svn.apache.org/viewcvs?rev=293265view=rev
Log:
updated docs for == operator describing toString() equality. VELOCITY-350.
Modified:
jakarta/velocity/core/trunk/xdocs/docs/user-guide.xml
jakarta/velocity/core
Author: wglass
Date: Sat Oct 1 18:30:30 2005
New Revision: 293051
URL: http://svn.apache.org/viewcvs?rev=293051view=rev
Log:
bizarrely, I missed this in the VELOCITY-403 patch.
I suspect all the delete/add combinations caused patch to miss the changes.
Modified:
jakarta/velocity/core
Author: wglass
Date: Sat Oct 1 18:33:55 2005
New Revision: 293052
URL: http://svn.apache.org/viewcvs?rev=293052view=rev
Log:
doc patch from Nathan for new LogChute interface
Modified:
jakarta/velocity/core/trunk/xdocs/docs/developer-guide.xml
Modified: jakarta/velocity/core/trunk/xdocs
Author: wglass
Date: Sat Oct 1 18:34:20 2005
New Revision: 293053
URL: http://svn.apache.org/viewcvs?rev=293053view=rev
Log:
change LoggerExample to use LogChute
Modified:
jakarta/velocity/core/trunk/examples/logger_example/LoggerExample.java
Modified: jakarta/velocity/core/trunk/examples
Author: wglass
Date: Sat Oct 1 21:11:55 2005
New Revision: 293068
URL: http://svn.apache.org/viewcvs?rev=293068view=rev
Log:
Properly close the appender. Addresses Velocity-193 and Velocity-78.
Modified:
jakarta/velocity/core/trunk/src/java/org/apache/velocity/runtime/log
Author: wglass
Date: Sat Oct 1 22:02:58 2005
New Revision: 293073
URL: http://svn.apache.org/viewcvs?rev=293073view=rev
Log:
clean up contrib directory, rename experimental. VELOCITY-400.
Added:
jakarta/velocity/core/trunk/experimental/
jakarta/velocity/core/trunk/experimental
Modified:
jakarta/velocity/core/trunk/src/java/org/apache/velocity/runtime/resource/loader/JarResourceLoader.java
URL:
http://svn.apache.org/viewcvs/jakarta/velocity/core/trunk/src/java/org/apache/velocity/runtime/resource/loader/JarResourceLoader.java?rev=292918r1=292917r2=292918view=diff
Author: wglass
Date: Tue Sep 27 06:53:10 2005
New Revision: 291938
URL: http://svn.apache.org/viewcvs?rev=291938view=rev
Log:
remove extra spaces in error message
Modified:
jakarta/velocity/core/trunk/src/java/org/apache/velocity/runtime/RuntimeInstance.java
Modified:
jakarta/velocity
Author: wglass
Date: Tue Sep 27 11:18:29 2005
New Revision: 292012
URL: http://svn.apache.org/viewcvs?rev=292012view=rev
Log:
changed UBERSPECT_CLASSNAME and PARSER_POOL_SIZE constants to be public since
these are user-accessible properties
Modified:
jakarta/velocity/core/trunk/src/java
Author: wglass
Date: Tue Sep 27 20:47:42 2005
New Revision: 292114
URL: http://svn.apache.org/viewcvs?rev=292114view=rev
Log:
fix trivial tab issue
Modified:
jakarta/velocity/core/trunk/src/java/org/apache/velocity/runtime/resource/loader/ResourceLoader.java
Modified:
jakarta/velocity
Author: wglass
Date: Fri Sep 23 23:04:39 2005
New Revision: 291256
URL: http://svn.apache.org/viewcvs?rev=291256view=rev
Log:
check to see if Velocity was initialized and give meaninful exception message
if not. VELOCITY-374
Modified:
jakarta/velocity/core/trunk/src/java/org/apache
Author: wglass
Date: Fri Sep 23 10:50:40 2005
New Revision: 291173
URL: http://svn.apache.org/viewcvs?rev=291173view=rev
Log:
add javacc parser task. resolves VELOCITY-222.
Modified:
jakarta/velocity/core/trunk/build/build.xml
Modified: jakarta/velocity/core/trunk/build/build.xml
URL
Author: wglass
Date: Fri Sep 23 22:34:39 2005
New Revision: 291252
URL: http://svn.apache.org/viewcvs?rev=291252view=rev
Log:
equality and not equality now based on toString when classes are different.
See VELOCITY-350
Modified:
jakarta/velocity/core/trunk/src/java/org/apache/velocity
Author: wglass
Date: Fri Sep 23 22:48:44 2005
New Revision: 291254
URL: http://svn.apache.org/viewcvs?rev=291254view=rev
Log:
Fixed VELOCITY-382. ClasspathResourceLoader now throws exception when template
not found.
Modified:
jakarta/velocity/core/trunk/src/java/org/apache/velocity
Author: wglass
Date: Thu Sep 22 16:16:23 2005
New Revision: 291032
URL: http://svn.apache.org/viewcvs?rev=291032view=rev
Log:
added test cases for issues VELOCITY-336 and VELOCITY-359
Modified:
jakarta/velocity/core/trunk/test/templates/compare/logical.cmp
jakarta/velocity/core/trunk
Author: wglass
Date: Mon Sep 19 23:01:24 2005
New Revision: 290368
URL: http://svn.apache.org/viewcvs?rev=290368view=rev
Log:
allow empty body in #if, e.g. #if(true)#end as suggested in Velocity-359
Modified:
jakarta/velocity/core/trunk/src/java/org/apache/velocity/runtime/parser
Author: wglass
Date: Mon Sep 19 23:07:35 2005
New Revision: 290369
URL: http://svn.apache.org/viewcvs?rev=290369view=rev
Log:
Fix NullPointerException when calling an overloaded method with a null
parameter.
Thanks to Reggie Riser for the fix in VELOCITY-370.
Modified:
jakarta/velocity
Author: wglass
Date: Tue Sep 20 00:26:47 2005
New Revision: 290384
URL: http://svn.apache.org/viewcvs?rev=290384view=rev
Log:
method calls now can take a map for a parameter. VELOCITY-336
Modified:
jakarta/velocity/core/trunk/src/java/org/apache/velocity/runtime/parser/Parser.java
Author: wglass
Date: Tue Sep 20 00:29:40 2005
New Revision: 290385
URL: http://svn.apache.org/viewcvs?rev=290385view=rev
Log:
Fix typo in overview page. Thanks Mitsu!
Modified:
jakarta/velocity/core/trunk/xdocs/overview.xml
Modified: jakarta/velocity/core/trunk/xdocs/overview.xml
URL
1 - 100 of 192 matches
Mail list logo