- 09 May, 2008 1 commit
-
-
svn://dwoo.org/dwoo/trunk@51Seldaek authored
-
- 08 May, 2008 2 commits
-
-
svn://dwoo.org/dwoo/trunk@50Seldaek authored
-
Seldaek authored
+ Added new shortcuts : $ for current scope, $_ for $_parent and $__ for $_root + Added a 'data' argument to {include} to be able to feed data directly into it git-svn-id: svn://dwoo.org/dwoo/trunk@49 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
- 06 May, 2008 11 commits
-
-
Seldaek authored
git-svn-id: svn://dwoo.org/dwoo/trunk@48 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
Seldaek authored
git-svn-id: svn://dwoo.org/dwoo/trunk@47 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
svn://dwoo.org/dwoo/trunk@46Seldaek authored
-
svn://dwoo.org/dwoo/trunk@45Seldaek authored
-
svn://dwoo.org/dwoo/trunk@44Seldaek authored
-
svn://dwoo.org/dwoo/trunk@43Seldaek authored
-
svn://dwoo.org/dwoo/trunk@42Seldaek authored
-
Seldaek authored
git-svn-id: svn://dwoo.org/dwoo/trunk@41 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
svn://dwoo.org/dwoo/trunk@40Seldaek authored
-
svn://dwoo.org/dwoo/trunk@39Seldaek authored
-
svn://dwoo.org/dwoo/trunk@38Seldaek authored
-
- 04 May, 2008 5 commits
-
-
Seldaek authored
git-svn-id: svn://dwoo.org/dwoo/trunk@37 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
Seldaek authored
git-svn-id: svn://dwoo.org/dwoo/trunk@36 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
Seldaek authored
git-svn-id: svn://dwoo.org/dwoo/trunk@35 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
Seldaek authored
git-svn-id: svn://dwoo.org/dwoo/trunk@34 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
Seldaek authored
git-svn-id: svn://dwoo.org/dwoo/trunk@33 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
- 02 May, 2008 1 commit
-
-
Seldaek authored
git-svn-id: svn://dwoo.org/dwoo/trunk@32 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
- 29 Apr, 2008 2 commits
-
-
Seldaek authored
git-svn-id: svn://dwoo.org/dwoo/trunk@31 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
Seldaek authored
* Changed all line endings (unix) and uniformized tabs/spaces to full tabs (tabspace 4) * Changed Dwoo::getCurrentTemplate() to Dwoo::getTemplate() and Dwoo::getTemplate() to Dwoo::templateFactory() * Small changes in the compiler git-svn-id: svn://dwoo.org/dwoo/trunk@30 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
- 20 Apr, 2008 1 commit
-
-
Seldaek authored
{%FOO} instead of {$dwoo.const.FOO} + Syntax: When using named parameters, typing a parameter name without any value is the same as typing param=true, for example {foo name="test" bar} and {foo name="test" bar=true} are equals, can be useful for very complex plugins with huge amounts of parameters. + Plugins: Added {loop} that combines {foreach} and {with}, see http://wiki.dwoo.org/index.php/Block:loop for details * API: DwooITemplate->clearCache now requires a Dwoo instance as its first arg, should not affect you unless you built a custom template class from scratch * {include} now uses the current resource if none is provided instead of using file as it did before * Dwoo uses include path instead of absolute includes * Fixed a regression in the handling of custom class plugins * Fixed a bug in DwooSecurityPolicy->getAllowedDirectories(), no security issue though * TestFest happened early for Dwoo, lots of new tests and more code covered git-svn-id: svn://dwoo.org/dwoo/trunk@29 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
- 15 Apr, 2008 3 commits
-
-
Seldaek authored
git-svn-id: svn://dwoo.org/dwoo/trunk@28 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
Seldaek authored
+ Syntax: Added shortcut for $dwoo.*, you can now use {$.const.FOO} instead of {$dwoo.const.FOO} for example, applies to all $dwoo.* vars * Fixes some broken tests and adds a bunch (100 tests reached, hurray) git-svn-id: svn://dwoo.org/dwoo/trunk@27 0598d79b-80c4-4d41-97ba-ac86fbbd088b -
Seldaek authored
git-svn-id: svn://dwoo.org/dwoo/trunk@26 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
- 14 Apr, 2008 1 commit
-
-
Seldaek authored
+ Added {do} that executes whatever you feed it whitout echoing the result, used internally for extends but you can use it if you find a use for it git-svn-id: svn://dwoo.org/dwoo/trunk@25 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
- 13 Apr, 2008 4 commits
-
-
Seldaek authored
git-svn-id: svn://dwoo.org/dwoo/trunk@24 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
Seldaek authored
git-svn-id: svn://dwoo.org/dwoo/trunk@23 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
Seldaek authored
+ Added {extends} and {block} to handle template inheritance, read more about it at http://wiki.dwoo.org/index.php/TemplateInheritance {extendsCheck} is just an helper plugin for {extends} and should not be called by users git-svn-id: svn://dwoo.org/dwoo/trunk@22 0598d79b-80c4-4d41-97ba-ac86fbbd088b -
Seldaek authored
+ Added a bunch of utility functions to DwooCompiler, allowing compiled plugins to access more of the compiler internals + API: Added getSource(), getUid() and getResourceIdentifier() to DwooITemplate + API: Added setSecurityPolicy() too DwooICompiler and modified the arguments of its compile() method * Reworked Dwoo template rendering to avoid variable conflicts git-svn-id: svn://dwoo.org/dwoo/trunk@21 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
- 11 Apr, 2008 1 commit
-
-
Seldaek authored
git-svn-id: svn://dwoo.org/dwoo/trunk@20 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
- 10 Apr, 2008 3 commits
-
-
Seldaek authored
git-svn-id: svn://dwoo.org/dwoo/trunk@19 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
Seldaek authored
* Performance improvements [removed isset calls when doing {$var} but not inside other blocks/functions] git-svn-id: svn://dwoo.org/dwoo/trunk@18 0598d79b-80c4-4d41-97ba-ac86fbbd088b -
Seldaek authored
git-svn-id: svn://dwoo.org/dwoo/trunk@17 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
- 09 Apr, 2008 3 commits
-
-
Seldaek authored
doesn't change anything for you unless you called output(*, *, *, true) directly to emulate get(). This was done to reduce some overhead git-svn-id: svn://dwoo.org/dwoo/trunk@16 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
Seldaek authored
* Fixed a classpath rebuilding bug that occured on some UNIX platforms due to glob() inconsistencies git-svn-id: svn://dwoo.org/dwoo/trunk@15 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
Seldaek authored
$array|reverse will reverse the items of that array while $array|@reverse will reverse each item of the given array (as if you used array_map) # Release 0.3.4 git-svn-id: svn://dwoo.org/dwoo/trunk@13 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
- 05 Apr, 2008 2 commits
-
-
Seldaek authored
git-svn-id: svn://dwoo.org/dwoo/trunk@12 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-
Seldaek authored
git-svn-id: svn://dwoo.org/dwoo/trunk@11 0598d79b-80c4-4d41-97ba-ac86fbbd088b
-