summaryrefslogtreecommitdiff
path: root/www/p5-Jemplate
AgeCommit message (Collapse)AuthorFilesLines
2006-07-17Update to 0.18, provided by OBATA Akio in PR 33928:wiz2-6/+6
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.
2006-03-08Updated to 0.17.hiramatsu2-6/+6
--- 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!
2006-02-17Import p5-Jemplate from pkgsrc-wip. Packaged by OBATA Akio.minskim4-0/+32
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.