Commit graph

6 commits

Author SHA1 Message Date
hiramatsu
43b409a4e9 Take maintainership. Suggested by obache@. 2007-04-13 04:06:39 +00:00
hiramatsu
762a587cff Update p5-Jemplate to 0.20.
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
2007-04-11 06:12:27 +00:00
obache
aed6110a04 Change my mail address to @NetBSD.org. 2007-04-01 01:58:36 +00:00
wiz
8476ce617d Update to 0.18, provided by OBATA Akio in PR 33928:
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-07-17 17:51:03 +00:00
hiramatsu
f9ce2b2f72 Updated to 0.17.
---
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-03-08 05:00:39 +00:00
minskim
0ec19f9f27 Import p5-Jemplate from pkgsrc-wip. Packaged by OBATA Akio.
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.
2006-02-17 01:49:36 +00:00