[initial add of HTML::Template 2.7
Mark Stosberg **20050804010535]
[initial patch for dot notation
Mark Stosberg **20050804010715]
[Take out dot notation support and replace it with a basic plugin system
Mark Stosberg **20050804023950]
[HTML::Template::Plugin::Dot is born!
Mark Stosberg **20050804024257]
[Adding missing file templates/dot_notation.tmpl
Mark Stosberg **20050805013558]
[dot_loop_test
rhesa@cpan.org**20050804232552]
[test_dot_loop
rhesa@cpan.org**20050804233505]
[make tmpl_loop test a TODO test for the public repo
Mark Stosberg **20050805121100]
[embed dot_notation.tmpl to simplify things.
Mark Stosberg **20050806014217]
[a new passing test to demonstrate using a var more than once works
Mark Stosberg **20050806014423
This means the failing test in a template loop is really loop related.
]
[use Carp, to be able to throw warnings from this plugin in a compatible way.
Mark Stosberg **20050806131142]
[Using dot notation inside a tmpl_loop is now tested and working!
Mark Stosberg **20050806131226]
[typo fix
Mark Stosberg **20050806131453]
[magicdot
rhesa@cpan.org**20050805161559
- Adds support for argument passing to method calls.
Argument lists are checked for quoted strings, and split into components.
This is limited (by necessity I'd say) to plain strings or numbers. Note
that HTML::Template makes the use of ""-quoted strings or strings with
spaces difficult. See the tests for things that can be done though.
- Adds support for mixing hash access and method calls.
This means you can access hashes returned by objects, or access objects
stored in hashes.
The ugliest contraption I came up with was this:
- Code needs some cleaning up. Dependencies should be discussed. Performance
should be measured.
All in all, I'm quite pleased with the result so far :-)
-- Rhesa
]
[resolving conflict in t/dot_loop.t with Rhesa's work
Mark Stosberg **20050806132027]
[Merge all changes from MagicDot into Dot and remove MagicDot
Mark Stosberg **20050806132608
All tests pass!
]
[Add 'use strict', which revealed some code that obviously wasn't working or needed.
Mark Stosberg **20050806144936]
[Add documentation for ::Plugin::Dot
Mark Stosberg **20050806155800]
[Transform distribution to be HTML::Template::Pluggable
Mark Stosberg **20050806213148]
[Added tests for rejecting invalid param names
rhesa@cpan.org**20050806202851]
[Yay! we have sub-expressions!
rhesa@cpan.org**20050807025443
I have been editing quite extensively, and have managed to get
sub-expressions working. The caveat for now is that the sub-objects need
to be passed in before the outer ones. That means that this:
requires you to first pass in $mock, and then $formatter:
$t->param( mock => $mock );
$t->param( formatter => $formatter );
The reason for this is that I store the objects in $param_map_done so
that I can reach them when I need them. This meant I had to make some
changes throughout Dot.pm, but you'll see those soon enough.
I need to add a bunch more test cases to see if it works in loops (and
how), and more extensive tests for multiple occurences of tags and such.
Still, a very productive step forward!
]
[fixed unit tests
rhesa@cpan.org**20050807030624]
[updated against ::Pluggable
rhesa@cpan.org**20050807035132
- Updated the test suite to use HT::Pluggable where needed
- Updated HTP::Dot with my latest parsing
t/dot_loop.t dies with an "Attempt to set nonexisting param". I need to
investigate that some more tomorrow.
]
[resolve conflicts with Rhesa's work
Mark Stosberg **20050807053533
This still leaves some of the methods_with_args.t tests failing
MANIFEST is removed because it is generated by ./Build manifest and MANIFEST.SKIP
Makefile.PL is removed because is it generated by ./Build.PL and ./Build dist
]
[resolve conflict
Mark Stosberg **20050807053852]
[resolved conflict and minor tweaks
rhesa@cpan.org**20050808013246]
[Outsource plugin guts to Class::Trigger.
Mark Stosberg **20050809023520]
[adding Build.PL
Mark Stosberg **20050809024029]
[changes must the test suite now. Use darcs record --no-record to override.
Mark Stosberg **20050809024345]
[minor doc formatting tweaks
Mark Stosberg **20050810230921]
[Added tests for tmpl_if and recursive object access
rhesa@cpan.org**20050812142133]
[::Dot can now access plain old tmpl_vars in argument lists, thanks to Michael Graham for pointing this out.
rhesa@cpan.org**20050813011139]
[added tests and doc updates - nearing 1.0 on ::Dot
rhesa@cpan.org**20050814221636]
[rename pre_param to middle_param
Mark Stosberg **20050814231252]