Changes from 0.18:
---
version: 0.20
date: Wed Nov 22 09:12:25 PST 2006
changes:
- Fix tests due to assumed file glob sorting. Thanks Cees.
- Fix tests where compile line numbers are off by one or two.
---
version: 0.19
date: Tue Nov 21 08:22:25 PST 2006
changes:
- Fixed setting a hash value. Reported by Theo Petersen. Thanks.
- David added ability to compile path names by passing directory to recurse
- Allow TT2 compile time options to be specified on command line.
- Create runtime code from CLI script.
- Allow Jemplate objects to be created with runtime configs.
- Port some TT2 runtime options.
- Better doc
- --runtime command prints the runtime JavaScript module
- --list lists the template names to be used
version: 0.18
date: Wed Mar 8 02:06:47 PST 2006
changes:
- Made Test.Base stuff its own module. Now Jemplate relies on that module.
- Christian Hansen added a simple daemon for running tests.
- Cees Hek added all hash virtual methods (except `import` which caused
major grief)
- Cees monkeyed around in the Stash lookup code
- Yann K implemented the `replace` filter
- Ingy made `foo.bar()` always call a method `bar`.
- Ingy completely refactored Test.Base and then proceeded to refactor the
Jemplate test suite in kind.
- gugod pulled over some uri escaping code from Kwiki
- chansen tweaked the daemon to honor caching rules
- Cory Bennett fixed some bug having to do with a Javascript String object.
- Cees fixed the defaults for the `indent` and `truncate` filters.
- Stephen Howard reported that Jemplate was not localising the stash for
the INCLUDE directive, and he even supplied a patch, but Ingy had
already made the fix.
- Ingy played with the Stash lookup code and hopefully got it just perfect.
- Ingy added support for the DEFAULT directive.
- Lots more tests in this release.
---
version: 0.17
date: Tue Feb 28 22:44:04 PST 2006
changes:
- Fixed ajax callback bugs
- Fixed inserting result into a dom element in Safari
- Cory Bennett fixed Test.Harness on Konqueror
- Cory sorted keys in FOR i IN obj. This should give expected consistency to
users.
- Cees Hek implemented all the string functions. With tests!!
- Cees added the truncate filter.
- Yann Kerherv¡¦ changed the position of arguments in filters
- Yann fixed the indent and html filters and added repeat filter
- Yann adapted some tests from the TT test suite!
---
version: 0.16
date: Mon Feb 27 22:14:37 PST 2006
changes:
- Ingy added JSON and Ajax support into Jemplate.js
- Ingy got tests working on Mozilla, IE, Safari and Opera
- Ingy streamlined Makefiles and testing
- Ingy refactored documentation
- Cory Bennett JAVASCRIPT directive for inlining Javascript
- Cory added -nojs flag to `jemplate` command line tool
- Cory eliminated nasty eq/== hack
- Cory added support for foo.0 numeric indexing
- Cory added quoting support
- Cory got [% FOR i IN obj %] working to iterate over keys of object
- Cory fixed [% "$foo/$bar" %] for quoted strings
- Cory fixed concatenation
- Yann Kerherv¡¦ added filtering support
- Yann added these filters: collapse, html, html_break, html_entity,
html_line_break, html_para, indent, lcfirst, lower, null, trim, ucfirst,
upper, uri
- Ingy removed PERL and RAWPERL support
- Cory made test output display nicely
- Ingy made test index link to subtests
---
version: 0.15
date: Fri Feb 24 18:02:46 PST 2006
changes:
- Support SWITCH CASE and WRAPPER directives thanks to xantus and yann!
- Now the Stash really works, thanks to Miyagawa!
- Test.Base javascript runtime test framework!
- Support all the TT array primitives in JS!
Jemplate is a templating framework for Javascript that is built over
Perl's Template Toolkit (TT2).
Jemplate parses TT2 templates using the TT2 Perl framework, but with a
twist. Instead of compiling the templates into Perl code, it compiles
them into Javascript. Jemplate then provides a Javascript runtime
module for processing the template code. Combined with JSON and
xmlHttpRequest, Jemplate provides a simple and powerful way to do Ajax
stuff.