]>
mj.ucw.cz Git - temple.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Martin Mares [Mon, 14 Jan 2019 21:25:35 +0000 (22:25 +0100)]
"use lib '.'" for compatibility with recent Perls
Martin Mares [Mon, 4 Apr 2016 22:12:08 +0000 (00:12 +0200)]
@(...) follows conditions properly
Tomáš Maleček [Wed, 25 Nov 2015 10:29:55 +0000 (11:29 +0100)]
Escaped curly braces in regexes
Warning "Unescaped left brace in regex is deprecated" added in
Perl 5.22.0 is not triggered anymore.
Martin Mares [Wed, 12 Aug 2015 10:32:04 +0000 (12:32 +0200)]
Added optional tilde expansion
Tilde is often used as a non-breaking space, but what exactly that
means depends on context. Therefore, a tilde expands to itself by
default and the expansion can be changed via $T::tilde.
Inspired by a patch from KSP repository.
Martin Mares [Wed, 12 Aug 2015 10:27:37 +0000 (12:27 +0200)]
Updated (c) year
Martin Mares [Wed, 12 Aug 2015 10:22:34 +0000 (12:22 +0200)]
Inline function calls @f(...) now recognize quoted string arguments
@f(":-(") does not fail any longer.
Based on a patch from KSP repository by Jirka Setnicka.
Martin Mares [Wed, 12 Aug 2015 10:21:58 +0000 (12:21 +0200)]
Merge branch 'master' of git+ssh://git.ucw.cz/home/mj/GIT/temple
Martin Mares [Wed, 12 Aug 2015 10:20:33 +0000 (12:20 +0200)]
Added "set" function for setting of template variables from outside
This is basically an easy way to get around strictness warnings.
Martin Mares [Mon, 30 Mar 2015 19:43:33 +0000 (21:43 +0200)]
Added T::arg() which allows to access template arguments in Perl code
Martin Mares [Fri, 12 Oct 2012 20:58:29 +0000 (22:58 +0200)]
Avoid reporting a single error multiple times
One day, we might want to get a proper backtrace, but in the meantime
it is easier to avoid wrapping a single error in several layers of
line number info, which are often wrong, as we do not clear the position
stack in error paths.
Martin Mares [Fri, 12 Oct 2012 20:46:21 +0000 (22:46 +0200)]
Whitespace fixes
Suggested by Tomas Malecek
Martin Mares [Fri, 12 Oct 2012 20:43:44 +0000 (22:43 +0200)]
Rewritten error handling, so that proper line numbers are reported
Martin Mares [Sat, 29 Oct 2011 16:30:50 +0000 (18:30 +0200)]
Remove surplus hashbangs.
Martin Mares [Fri, 11 Feb 2011 15:26:21 +0000 (16:26 +0100)]
The argument of UCW::Temple::start() is no longer mandatory
Martin Mares [Fri, 11 Feb 2011 15:23:33 +0000 (16:23 +0100)]
Added tracking of dependencies from MJ's web
It is up to external modules to read the list of dependencies
and process it somehow.
Martin Mares [Fri, 11 Feb 2011 15:12:39 +0000 (16:12 +0100)]
UCW::Temple: @@ does not creep into if'ed out blocks
Martin Mares [Tue, 5 Oct 2010 17:02:36 +0000 (19:02 +0200)]
Squash a warning
Thanks to Mosquitoe for the patch.
Martin Mares [Tue, 5 Oct 2010 17:02:17 +0000 (19:02 +0200)]
Fixed calling of multi-parameter functions
Thanks to Mosquitoe for the fix.
Martin Mares [Tue, 20 Jul 2010 12:14:18 +0000 (14:14 +0200)]
UCW::Temple::CGI: Added html_template().
Martin Mares [Wed, 18 Aug 2010 15:31:56 +0000 (17:31 +0200)]
Added a couple of comments on the new features
Martin Mares [Wed, 18 Aug 2010 15:31:35 +0000 (17:31 +0200)]
temple driver script: updated call of start()
Martin Mares [Mon, 19 Jul 2010 18:47:46 +0000 (20:47 +0200)]
UCW::Temple::CGI: Written
Martin Mares [Mon, 19 Jul 2010 16:11:32 +0000 (18:11 +0200)]
UCW::Temple: Support substitution of named arguments via @(name)
Martin Mares [Sun, 5 Oct 2008 19:37:05 +0000 (21:37 +0200)]
Added an example and Temple::Links from MJ's home page.
Martin Mares [Thu, 2 Oct 2008 19:29:31 +0000 (21:29 +0200)]
Updated the test cases.
Martin Mares [Thu, 2 Oct 2008 19:28:42 +0000 (21:28 +0200)]
out(): do not forget to return undef
Martin Mares [Thu, 2 Oct 2008 19:27:19 +0000 (21:27 +0200)]
Replace all outputs by an overridable call to `out'.
Martin Mares [Thu, 2 Oct 2008 19:20:54 +0000 (21:20 +0200)]
When the function called via @f(...) returns anything, it is printed.
Beware, this is an incompatible change!
All built-in functions have been updated to return undef.
Martin Mares [Thu, 2 Oct 2008 19:18:45 +0000 (21:18 +0200)]
Ah those parantheses...
Martin Mares [Thu, 2 Oct 2008 19:17:04 +0000 (21:17 +0200)]
Moved template variables and functions to a separate package.
Martin Mares [Wed, 1 Oct 2008 19:58:52 +0000 (21:58 +0200)]
The previous fix was wrong.
Martin Mares [Wed, 1 Oct 2008 19:57:17 +0000 (21:57 +0200)]
Fixed an escape.
Martin Mares [Sun, 26 Sep 2004 12:39:29 +0000 (12:39 +0000)]
Options.
Martin Mares [Sun, 26 Sep 2004 12:28:45 +0000 (12:28 +0000)]
Converted to Perl module.
Martin Mares [Wed, 22 Sep 2004 19:16:36 +0000 (19:16 +0000)]
Testing.
Martin Mares [Wed, 22 Sep 2004 19:00:46 +0000 (19:00 +0000)]
First version.