Michael Bayne
c6eab5f1c5
Reference MustacheTest.java at its new location.
2010-10-24 09:41:19 -07:00
Michael Bayne
24d355bd03
A README with explanations.
2010-10-24 09:40:09 -07:00
Michael Bayne
7ec57412fa
A patch from Charlie to provide line numbers when reporting variable related
...
errors during execution.
2010-10-23 16:35:38 +00:00
Michael Bayne
4f5b3d772d
[maven-release-plugin] prepare for next development iteration
2010-10-22 06:07:52 +00:00
Michael Bayne
e3dcf153b6
[maven-release-plugin] prepare release jmustache-1.0
2010-10-22 06:07:19 +00:00
Michael Bayne
00113a5a36
Added -index special variable.
2010-10-22 05:29:31 +00:00
Michael Bayne
0b9b01dab6
Fixed some bugs with newline skipping. Improved error handling when a tag is
...
not closed properly and another tag follows it on the same line. Added support
for -first and -last special variables. Fixed problem with resolving outermost
component of a compound key in parent contexts.
2010-10-22 05:02:09 +00:00
Michael Bayne
5932123d79
Added support for nesting contexts, which allows us to resolve variables in
...
parent contexts if they're not available in our current context.
2010-10-22 01:06:06 +00:00
Michael Bayne
eb225b0b48
Added skipping of newlines immediately following section open and close tags.
2010-10-21 23:19:10 +00:00
Michael Bayne
0bef6a06e5
Added support for composite keys, e.g. foo.bar.baz, which extracts foo from the
...
context, then extracts bar from that object, then extracts baz from that.
2010-10-21 23:06:15 +00:00
Michael Bayne
134a22bcfd
Added support for "this" variable which refers to the context itself rather
...
than a member of the context.
2010-10-21 21:28:06 +00:00
Michael Bayne
3bad793de9
Fixed dropped character on partial delimiter match.
2010-10-21 21:13:09 +00:00
Michael Bayne
5042cc69fa
Let's escape HTML by default so as to avoid confusion.
2010-10-21 21:03:52 +00:00
Michael Bayne
5a5dd17296
Javadoc improvements.
2010-10-21 20:57:38 +00:00
Michael Bayne
89c1590ec1
No escaping of HTML by default. Added Compiler builder mechanism to specify
...
default HTML escaping behavior. Possibly pattern overkill, but if we add any
other options later, this will scale nicely.
2010-10-21 20:49:53 +00:00
Michael Bayne
a7984b1594
Javadoc fixes, properly skip void methods.
2010-10-21 19:42:38 +00:00
Michael Bayne
3f42f0bb49
We're not yet version 1.0.
2010-10-21 19:31:55 +00:00
Michael Bayne
1e89b87cb0
Added support for obtaining variable values from fields and methods. Added a
...
template-local variable fetching cache that avoids reresolving the source of a
variable when it remains monomorphic (e.g. it's always a field of class
Foo.class or always a method named getFoo(), etc.).
2010-10-21 19:26:40 +00:00
Michael Bayne
3eea40d1d4
Basic implementation and some tests.
2010-10-21 18:08:07 +00:00
Michael Bayne
5640791b4b
Earnest beginnings.
2010-10-21 06:32:37 +00:00
Michael Bayne
12c7860e91
Initial directory structure.
2010-10-21 06:14:49 +00:00