7
I Use This!
Inactive

Commits : Listings

Analyzed about 17 hours ago. based on code collected about 17 hours ago.
Dec 05, 2024 — Dec 05, 2025
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
+ A few more assign tests
Jordi Boggiano
as Seldaek
More... over 17 years ago
+ Syntax: Added support for {$foo+=5}, {$foo="a"}, {$foo++} and {$foo--} + 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)
Jordi Boggiano
as Seldaek
More... over 17 years ago
* Fixes REQUEST_URI not being available in CLI
Jordi Boggiano
as Seldaek
More... over 17 years ago
+ 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
Jordi Boggiano
as Seldaek
More... over 17 years ago
Tiny copy paste fix
Jordi Boggiano
as Seldaek
More... over 17 years ago
+ Added resources files for extends tests
Jordi Boggiano
as Seldaek
More... over 17 years ago
+ 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
Jordi Boggiano
as Seldaek
More... over 17 years ago
+ 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
Jordi Boggiano
as Seldaek
More... over 17 years ago
* Foreach can iterate over Iterators objects that do not implement Countable
Jordi Boggiano
as Seldaek
More... over 17 years ago
* Fixes an output buffering bug introduced by the performance tweaks
Jordi Boggiano
as Seldaek
More... over 17 years ago
* Performance improvements [removed isset calls when doing {$var} but not inside other blocks/functions]
Jordi Boggiano
as Seldaek
More... over 17 years ago
* Performance improvements [simplified block stack / topLevelBlock]
Jordi Boggiano
as Seldaek
More... over 17 years ago
! BC Break: $dwoo->output() and get() have been swapped internally, but it doesn't change anything for you unless you called output(*, *, *, true) directly to emulate get(). This was done to reduce some overhead
Jordi Boggiano
as Seldaek
More... over 17 years ago
* Fixed a classpath rebuilding bug that occured on some UNIX platforms due to glob() inconsistencies
Jordi Boggiano
as Seldaek
More... over 17 years ago
! BC Break: Smarty's @ operator for modifiers is now reversed, for example $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
Jordi Boggiano
as Seldaek
More... over 17 years ago
* Fixes test bug
Jordi Boggiano
as Seldaek
More... over 17 years ago
* Fixes two class path glitches
Jordi Boggiano
as Seldaek
More... over 17 years ago
+ Smarty: Added partial support for register_object(), unregister_object() and get_registered_object(). All features can not be supported by the adapter though so you might get compatibility warnings * Changed automatic cacheId generation in DwooTemplateFile/String to be faster
Jordi Boggiano
as Seldaek
More... over 17 years ago
* Small error reporting fix in the compiler
Jordi Boggiano
as Seldaek
More... over 17 years ago
! BC Break: DWOO_PATH changed to DWOO_DIR + Added the DwooException class + Added DWOO_CACHEDIR and DWOO_COMPILEDIR constants that you can set before including Dwoo.php to override the defaults (although Dwoo->setCacheDir/setCompileDir() still work to change that if required) * Made all the error triggering more consistent
Jordi Boggiano
as Seldaek
More... over 17 years ago
git-svn-id: svn://dwoo.org/dwoo/trunk@7 0598d79b-80c4-4d41-97ba-ac86fbbd088b
Jordi Boggiano
as Seldaek
More... over 17 years ago
* Small test fix
Jordi Boggiano
as Seldaek
More... over 17 years ago
* Changed DwooLoader::addDirectory() so that it writes the cached paths in the Dwoo/cache directory, that way you don't have to make your plugin directory writeable * Converted spaces to tabs in some files
Jordi Boggiano
as Seldaek
More... over 17 years ago
+ Syntax: Added support for method calls on objects i.e. {$foo->bar()} + Added support for smarty security features, see the DwooSecurityPolicy class and $dwoo->setSecurityPolicy() + API: Added a DwooCompiler->setLooseOpeningHandling() method that, if set to true, allows tags to * Fixed {elseif} bug that appeared when multiple elseif tags were used in a row * Syntax: Improved simple math support to work within variable variables (i.e. you can do {$array[$index+1]}) and within strings as well. To prevent this enclose the variables in backticks (i.e. {"$foo/$bar"} will do the math while {"`$foo`/$bar"} won't as $foo is properly delimited)
Jordi Boggiano
as Seldaek
More... over 17 years ago
First Import / 0.3.3
Jordi Boggiano
as Seldaek
More... over 17 years ago
git-svn-id: svn://dwoo.org/dwoo/trunk@1 0598d79b-80c4-4d41-97ba-ac86fbbd088b
Jordi Boggiano
as Seldaek
More... over 17 years ago