Arbit - project tracking
Dwoo
Bugs
Documentation
Browse code
My Notifications
Login
Register
About
Source
Annotations
View
History
Browse source code
History: /tests/
(head)
(prev)
Version f9e789948346197f6543892b94efb3e60cec62da
at Sunday 18 April 2010 11:59:08 UTC
by Jordi Boggiano:
Fixed parsing of function/constants that start with an underscore, thanks to Dominik del Bondio for the patch Fixes #68
(head)
(prev)
Version b8ab7d48b9170b14301e0f0ce0269ff544459132
at Tuesday 9 March 2010 09:22:41 UTC
by seldaek:
Forgotten test resource git-svn-id: http://svn.dwoo.org/trunk@347 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version cb80c435bb20fa06b4fa3a18bae45a04f990eca9
at Sunday 7 March 2010 20:58:29 UTC
by seldaek:
Added {return} plugin that allows any included template to return variables into the one that included it, or to the main controller code via $dwoo->getReturnValues() Fixes #59 git-svn-id: http://svn.dwoo.org/trunk@346 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 0640791741c71faeecec2d87c7e444b0dd500cc2
at Saturday 6 March 2010 19:19:22 UTC
by seldaek:
Added support for instance and static method calls white-listing in Dwoo_Security_Policy (see allowMethod()), this is hardly efficient though for instance calls since it has to do runtime checks so use it with caution git-svn-id: http://svn.dwoo.org/trunk@345 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 9315dcc815b5063f6212c06dd2c20b8b75004434
at Sunday 28 February 2010 21:26:49 UTC
by seldaek:
+ Moved Dwoo code to Dwoo_Core that is extended by Dwoo, so you can use the Dwoo directory as an svn:externals without problems now and just use Dwoo_Core in place of Dwoo in your code git-svn-id: http://svn.dwoo.org/trunk@343 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version aa5c9622a98d81d48da3897782bbacf375aa7d9c
at Sunday 28 February 2010 18:44:24 UTC
by seldaek:
+ Improved parsing of array() to support real php array syntax as well as variables as array keys, thanks to acecream for the help + Improved parsing of named parameters that can now be quoted git-svn-id: http://svn.dwoo.org/trunk@340 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 8eb1d24094c0e354ca5a29e07c522728dc25adc7
at Friday 19 February 2010 09:11:20 UTC
by seldaek:
Fixed a parsing bug with method calls used as arguments with a comma following. git-svn-id: http://svn.dwoo.org/trunk@339 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version a91a53f96577711dca854cb585d41dfdb45ac344
at Sunday 14 February 2010 14:17:14 UTC
by seldaek:
adding a test to check for disallowed php functions git-svn-id: http://svn.dwoo.org/trunk@338 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 1901789b06d3fcd9f7e1524b2e9fbf7d3f604f38
at Sunday 24 January 2010 03:00:56 UTC
by seldaek:
Adding a couple plugin proxy tests (courtesy of Denis Arh) git-svn-id: http://svn.dwoo.org/trunk@331 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 9364271ec6f0ec3a36aef3a821b1327d45ace23b
at Tuesday 19 January 2010 20:46:55 UTC
by seldaek:
Fixes parsing of multi-line if (and other) statements git-svn-id: http://svn.dwoo.org/trunk@327 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version cf39726d1f4bb2ee9ec5c56646e95bdf508aaaf8
at Sunday 18 October 2009 12:04:48 UTC
by seldaek:
Fixed an {extends} parsing bug that prevented the use of single-quotes around the parent template's filename fixes #39 git-svn-id: svn://dwoo.org/dwoo/trunk@301 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version e756cf9ff13c42ffc12ebe7e626fcfc80547713e
at Monday 12 October 2009 20:00:24 UTC
by seldaek:
Fixed a bug when using the autoEscape feature with sub-templates (the compiled sub-template couldn't access the dwoo charset property, resulting in a fatal error) fixes #38 git-svn-id: svn://dwoo.org/dwoo/trunk@288 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 7c2e53a743a899359d3abea061fdf909855fafe3
at Monday 12 October 2009 18:19:17 UTC
by seldaek:
BC Break: Dwoo::isArray had to be fixed and it has been split up in 3 methods, isArray (for array access), isTraversable (for foreach) and count (just a helper that counts anything). It won't affect you unless you built some plugin depending on isArray, in which case you should check all works fine still fixes #37 git-svn-id: svn://dwoo.org/dwoo/trunk@284 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 9b4b83649bc0ac5ffe6fbae4d2b8bcd25e201ffb
at Wednesday 7 October 2009 07:57:36 UTC
by Seldaek:
Fixed a security issue, if you didn't use a custom compiler factory but passed the compiler directly to the get method with autoEscape enabled, the autoEscape was disabled in included templates - Thanks to Fabien Potencier for notifying me. refs #31 git-svn-id: svn://dwoo.org/dwoo/trunk@282 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version ef0858b2a86453fb34daa3ac5b5c473ed9fd9a3c
at Wednesday 8 July 2009 23:30:44 UTC
by Seldaek:
Fixes sub-templates issues when running through the same template/loading subtemplates multiple times git-svn-id: svn://dwoo.org/dwoo/trunk@270 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version dd288f0c2305785a5ffd92d0ff02e394b35a5222
at Wednesday 8 July 2009 21:42:52 UTC
by Seldaek:
The include_path isn't altered anymore, hopefully saving some stat calls git-svn-id: svn://dwoo.org/dwoo/trunk@267 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version f01967476b86a9bc1ef073978dc996a78f337600
at Monday 29 June 2009 20:27:29 UTC
by Seldaek:
For can now iterate backwards if you input numbers, it won't work with variables though git-svn-id: svn://dwoo.org/dwoo/trunk@262 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version f71d428973ce672991ea54b7b889f17bad4821aa
at Friday 13 March 2009 10:14:51 UTC
by seldaek:
fixes #28 Fixed parsing of comments that were on top of the file when there are spaces at the end of it git-svn-id: svn://dwoo.org/dwoo/trunk@258 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 8f3fd490c6fc6d9c56c247b6b396d1a7624629c2
at Wednesday 11 March 2009 10:43:26 UTC
by sversteg:
Removed 'phpunit' generated tests (done by NetBeans) git-svn-id: svn://dwoo.org/dwoo/trunk@256 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version d70fef110292658358385b0d7713d81b4bbb500d
at Wednesday 11 March 2009 10:33:37 UTC
by sversteg:
Fixes #2 - Updated Codeigniter adapter added Includes the bugfix for the problem as mentioned in the forums (http://forum.dwoo.org/viewtopic.php?pid=517#p517) git-svn-id: svn://dwoo.org/dwoo/trunk@255 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 53a2ddf87681b0c923c377ba0fc364625d0e9f55
at Tuesday 10 March 2009 19:45:53 UTC
by seldaek:
fixes #27 Plugins/Helpers that use a dynamic number of arguments through func_get_args are now working since the compiler lets any arguments in excess pass through git-svn-id: svn://dwoo.org/dwoo/trunk@254 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 703f30395af20db6862f3efc8f65e5ef1075bb77
at Friday 20 February 2009 07:40:46 UTC
by seldaek:
Allows access of static properties as {Foo::$bar} git-svn-id: svn://dwoo.org/dwoo/trunk@252 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 93275b7f87fd70afd6b4d7b6b691df4bfa7c23b6
at Tuesday 10 February 2009 08:17:58 UTC
by seldaek:
Fixes parsing of vars with string keys that was too greedy [fixes #20] git-svn-id: svn://dwoo.org/dwoo/trunk@250 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 19287decf598ce1d96b9ad27f439ff2625b99f79
at Thursday 29 January 2009 13:06:38 UTC
by Seldaek:
+ Allowed string concatenation assignments with {$foo.="bar"} git-svn-id: svn://dwoo.org/dwoo/trunk@243 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 691afcaafc4e7dbd3441e8dd718729d88711907e
at Wednesday 21 January 2009 12:43:36 UTC
by Seldaek:
Added a few tests for regressions and fixed a parameter parsing bug for sub-templates git-svn-id: svn://dwoo.org/dwoo/trunk@240 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 05ec46fc74aee9fd2ba1db9f7361339b75c77e72
at Sunday 28 December 2008 00:41:21 UTC
by seldaek:
+ Added {template} plugin that allows you to define sub-templates and then call them (even recursively) + Added {load_templates} to load external sub-templates into your file * Many new unit tests to improve code coverage and a bunch of bug fixes that resulted, but I didn't really keep track of them git-svn-id: svn://dwoo.org/dwoo/trunk@230 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 92faad5d42a03469bc3df61facc00aa99512c259
at Wednesday 24 December 2008 01:21:53 UTC
by Seldaek:
git-svn-id: svn://dwoo.org/dwoo/trunk@229 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 6075f2154544417e6a5430a8fc654eeffd6d188e
at Wednesday 22 October 2008 21:09:06 UTC
by seldaek:
cleanup of some \r\n's git-svn-id: svn://dwoo.org/dwoo/trunk@206 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 6dd36bca701b112d09a70dc024d818effa336f4b
at Wednesday 22 October 2008 18:37:38 UTC
by seldaek:
+ SmartyCompat: Added a {section} plugin but I strongly discourage using it, it was really made to support legacy templates git-svn-id: svn://dwoo.org/dwoo/trunk@204 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version e1d4ca2464d5583a5b7aaee80dc1bc6ff248d7b2
at Friday 26 September 2008 20:12:28 UTC
by Seldaek:
* Fixed parsing bug in {func()->propertyOfReturnedObject} git-svn-id: svn://dwoo.org/dwoo/trunk@190 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 9bc397884672719258b60642cccb921d2940250a
at Friday 26 September 2008 18:35:53 UTC
by Seldaek:
* adds stuff in the test suite to allow easier test running on other setups git-svn-id: svn://dwoo.org/dwoo/trunk@187 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 478bf67793eb1ba6cb6bd9b600c6b72676527fbc
at Sunday 7 September 2008 20:21:03 UTC
by Seldaek:
! Important note : Dwoo.php should not be included directly anymore, please read the UPGRADE_NOTES file for more infos on the matter, if you don't your Dwoo install will most likely break after the update anyway * Various optimizations git-svn-id: svn://dwoo.org/dwoo/trunk@165 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 848d2a8a5b6477d4c04d1fe37e76582f3fd11326
at Sunday 31 August 2008 23:12:01 UTC
by Seldaek:
! BC Break: {include} and {extends} now support the include path properly, which means that if you include "foo/bar.html" from _any_ template and you have an include path set on your template object, it will look in all those paths for foo/bar.html. If you use relative paths, for example if you include "../foo/bar.html" AND have an include path set, you will now have a problem, because you can't mix both approaches, otherwise you should be fine, so to fix this you should convert your relative includes/extends * Dwoo->get() is now stricter as to what it accepts as a "template", only Dwoo_ITemplate objects or valid filenames are accepted * Foreach and other similar plugins that support "else" now only count() their input before processing when an else block follows git-svn-id: svn://dwoo.org/dwoo/trunk@163 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 2b587a07145d23626883c1e48cc3059b372e22e9
at Tuesday 12 August 2008 20:09:19 UTC
by Seldaek:
* Fixed extends bug when extending files in other directories using relative paths * Fixed Dwoo.compiled.php file git-svn-id: svn://dwoo.org/dwoo/trunk@145 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 39f1bcf18ad4a2becc55d2b80121afeac38eed36
at Sunday 3 August 2008 13:20:30 UTC
by Seldaek:
* Fix tests not using tests/compile dir git-svn-id: svn://dwoo.org/dwoo/trunk@143 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 00ff624d6e90387702fdec4b0553900faa8825b1
at Sunday 3 August 2008 13:15:04 UTC
by Seldaek:
Docs 0.9.3 git-svn-id: svn://dwoo.org/dwoo/trunk@141 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 37cb06e76877783f0d4e5ee35ca126ced299e979
at Sunday 3 August 2008 12:38:29 UTC
by Seldaek:
* Some compiler fixes regarding custom plugins + a lot of tests for plugin types git-svn-id: svn://dwoo.org/dwoo/trunk@139 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version cacec94bac0ba8621b14332de00d5a5f464c39a6
at Wednesday 30 July 2008 16:57:36 UTC
by Seldaek:
* Fixes {foo()->Bar} git-svn-id: svn://dwoo.org/dwoo/trunk@135 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 170592aed89e6945a993e583cea43bfd841095e8
at Tuesday 29 July 2008 23:32:34 UTC
by Seldaek:
+ Added parsing of {foo->methodCall('with' params)->propertyRead} git-svn-id: svn://dwoo.org/dwoo/trunk@132 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version b5cb468221843e86b09841435d80dca0521c292e
at Tuesday 29 July 2008 22:20:20 UTC
by Seldaek:
+ Added loader tests git-svn-id: svn://dwoo.org/dwoo/trunk@131 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 8c5c98bf690a4f68c3ab57a0ce21bbf1ec68a81a
at Tuesday 29 July 2008 21:34:16 UTC
by Seldaek:
+ Adds Plugin Proxy functionality git-svn-id: svn://dwoo.org/dwoo/trunk@130 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 57022c2d92db7dbe1401bc32d326e60369ef2676
at Friday 11 July 2008 06:56:10 UTC
by Seldaek:
* Include allows paths going in upper levels now such as : "../foo.html" git-svn-id: svn://dwoo.org/dwoo/trunk@123 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version e3eb1b763f123bdfd831342381e8ac971e1c7c97
at Friday 11 July 2008 06:16:47 UTC
by Seldaek:
+ Syntax: Static methods can be called using {Class::method()} git-svn-id: svn://dwoo.org/dwoo/trunk@122 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 5fc48230a4ca0358f0ae2b7ab5aa6519b164341b
at Wednesday 9 July 2008 07:30:13 UTC
by Seldaek:
+ Syntax: Block plugins that you want to call without content can be self-closed just like XML tags (e.g. {a "http://url.com" /} ) + Plugins: Added the {a} block plugin to generate <a> tags + API: Added Dwoo_Plugin::paramsToAttributes() utility function to help with the creation of compilable xml/html-related plugins * Syntax: Math expressions in strings are now only allowed when the entire expression is delimited, e.g. {"/$foo/$bar"} evaluates as just that while {"/`$foo/$bar`"} will result in "/".($foo/$bar), therefore processing the / as a division, this is better since URLs using / are far more common than math in strings => http://forum.dwoo.org/viewtopic.php?id=50 * Fixed a bug preventing if blocks containing a {elseif} followed by {else} git-svn-id: svn://dwoo.org/dwoo/trunk@121 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 7869a71a158d78700f05c791bf6d4bf196f22b20
at Thursday 3 July 2008 10:34:54 UTC
by Seldaek:
+ Added a test for auto escape used in params git-svn-id: svn://dwoo.org/dwoo/trunk@120 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 6c44519e923514cb11b977c42011c16259501cf1
at Tuesday 1 July 2008 19:58:58 UTC
by Seldaek:
+ Syntax: Added the ";" token that allows to group multiple instructions in one single template tag, for example: {if $foo; "> $foo";$bar;/} is equal to: {if $foo}> {$foo}{$bar}{/} - It is not that useful with {/} as delimiters but might come in handy to those using longer delimiters * Compiler now allows the use of the right delimiter inside strings (i.e. {"}"}) git-svn-id: svn://dwoo.org/dwoo/trunk@118 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 1c727de830c86282482747031232104a90971179
at Friday 27 June 2008 22:19:15 UTC
by Seldaek:
Massive Dwoo_Loader overhaul/cleanup git-svn-id: svn://dwoo.org/dwoo/trunk@104 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 77501e6151025ac49bb3570dac8f96582380a433
at Friday 27 June 2008 22:00:09 UTC
by Seldaek:
git-svn-id: svn://dwoo.org/dwoo/trunk@103 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version c6133a3e9e5e64ff5a894aa9bc662932663453e5
at Friday 27 June 2008 04:14:48 UTC
by Seldaek:
git-svn-id: svn://dwoo.org/dwoo/trunk@100 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version b8495654d899753fe9814a6bafc7bdfcbfcca46e
at Friday 13 June 2008 02:27:59 UTC
by Seldaek:
git-svn-id: svn://dwoo.org/dwoo/trunk@96 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 23a6b728f63ed6c17f3a0e4e936ff19ac32d3015
at Wednesday 11 June 2008 11:37:27 UTC
by Seldaek:
git-svn-id: svn://dwoo.org/dwoo/trunk@91 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version b9a093a220449469d28f8aefe8cd3b88ba0b61e1
at Friday 6 June 2008 18:35:45 UTC
by Seldaek:
* Plugins: added a fourth 'bool $case_sensitive' parameter to {replace} git-svn-id: svn://dwoo.org/dwoo/trunk@87 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version f1a18407dd24991270a84194d8ac0738785639f7
at Friday 6 June 2008 14:41:37 UTC
by Seldaek:
* Fixed compiler bug that prevented empty() to be called * Removed checks for methods/properties being present on objects before calling them since these can be handled by __get() and __call() => http://forum.dwoo.org/viewtopic.php?id=22 * Calling {func (params)} (with the space between function and params) is now allowed => http://forum.dwoo.org/viewtopic.php?id=21 git-svn-id: svn://dwoo.org/dwoo/trunk@86 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 1d3732c8d6ad97790a42594fdc621261fd071049
at Tuesday 3 June 2008 11:14:39 UTC
by Seldaek:
+ Plugins: Added {a} to build 'a' html tags + Plugins: Added {tif} that acts as a ternary if / allows you to use a ternary operator inside it * The compiler now allows \r, \n and \t to be parameter splitters as well as "," and " ". You can therefore make complex function calls on multiple lines git-svn-id: svn://dwoo.org/dwoo/trunk@84 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 1e2469924c4f5b75be5f188b0ea57d26127b057c
at Friday 30 May 2008 19:12:11 UTC
by Seldaek:
git-svn-id: svn://dwoo.org/dwoo/trunk@80 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 3908610b3ae768434594079f77be72a6713096e4
at Friday 30 May 2008 02:03:26 UTC
by Seldaek:
* Fixed a block stack bug that messed up {textformat} and possibly usermade block plugins git-svn-id: svn://dwoo.org/dwoo/trunk@72 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 6300898220f56c5c146a1ab28151fdf72cdbe0ae
at Saturday 24 May 2008 08:11:15 UTC
by Seldaek:
+ API: Added Dwoo_Compiler->setAutoEscape() and getAutoEscape() to modify the automatic html entity escaping setting. This is disabled by default, and when enabled can be overriden with the {safe $var} plugin or the {auto_escape disable} block plugin. The block plugin can also be used to enable this mode from within a template * Commented some plugins git-svn-id: svn://dwoo.org/dwoo/trunk@68 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 157ad4e0db55f19c4e1b2b419b9f91560abde9e1
at Tuesday 20 May 2008 12:37:58 UTC
by Seldaek:
+ Syntax: Mixing named and unnamed parameters is now allowed, as long as the unnamed ones appear first git-svn-id: svn://dwoo.org/dwoo/trunk@66 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 914a96588dd0f85b046029319e91fc15f60c7171
at Monday 19 May 2008 04:39:33 UTC
by Seldaek:
* Fixed complex variables (i.e. {$_root[$c[$x.0]].0}) parsing bugs git-svn-id: svn://dwoo.org/dwoo/trunk@65 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version f377fd89fe5129c6f2f0e74173d6275c927aeb31
at Saturday 17 May 2008 01:48:25 UTC
by Seldaek:
* {literal} and {strip} now follow the LooseOpeningsHandling setting git-svn-id: svn://dwoo.org/dwoo/trunk@64 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version cfb65a97e88c53e1e2c3c3f5cd70ae9b01856b08
at Friday 16 May 2008 17:43:41 UTC
by Seldaek:
* Fixed a bug in {date_format} that prevented anything but unix timestamps to work git-svn-id: svn://dwoo.org/dwoo/trunk@62 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 187a71c6017eac6e52f25ea9cc56c644e5545377
at Thursday 15 May 2008 05:41:05 UTC
by Seldaek:
git-svn-id: svn://dwoo.org/dwoo/trunk@61 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 8610862ba84b545c0073229436bf96868070b64d
at Saturday 10 May 2008 04:53:54 UTC
by Seldaek:
* Split up all classes into their respective Prefix/Name.php files + Added a compiled version of Dwoo that loads faster, include Dwoo.compiled.php instead of Dwoo.php on production but if you want to file a bug use Dwoo.php please as it allows you to get the proper file/line number where an error occurs git-svn-id: svn://dwoo.org/dwoo/trunk@55 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version b076166a8ec44e51c0f554f236d4bed48ee81e4e
at Saturday 10 May 2008 04:03:06 UTC
by Seldaek:
+ Both cache and compile IDs can now have slashes in them to create subfolders in the cache/compile dirs + Added a DWOO_CHMOD constant that, if set before you include Dwoo, allows you to define the file mode of all the file/directories Dwoo will write, defaults to 0777 git-svn-id: svn://dwoo.org/dwoo/trunk@54 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version dc02338d7d58be9846639b7444ab78bf0d97c125
at Thursday 8 May 2008 14:53:05 UTC
by Seldaek:
git-svn-id: svn://dwoo.org/dwoo/trunk@50 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version f9676b0d0733c80ae218203a4303cc30cfeba6f4
at Thursday 8 May 2008 14:30:52 UTC
by Seldaek:
+ Added {$_key} var inside {loop} representing the current array key + 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
(head)
(prev)
Version 860ce2d98fbec399f674db062aa09eceaa74276d
at Tuesday 6 May 2008 03:54:39 UTC
by Seldaek:
git-svn-id: svn://dwoo.org/dwoo/trunk@44 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 17340395684cb933302acead132a8eac0cab0b0b
at Sunday 4 May 2008 06:18:12 UTC
by Seldaek:
* Added tearDown() to the test suite to clean up the compiled files mess git-svn-id: svn://dwoo.org/dwoo/trunk@37 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 5b6806a0ea87117aff2abb5b9fb11881357ec36e
at Sunday 4 May 2008 06:13:48 UTC
by Seldaek:
* Fixed tests broken because of moved files git-svn-id: svn://dwoo.org/dwoo/trunk@36 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 9cf6ad5f4a50a45b83a9610dc44662c3b4e23b56
at Sunday 4 May 2008 05:48:35 UTC
by Seldaek:
* Changed all class names to be PEAR compliant git-svn-id: svn://dwoo.org/dwoo/trunk@33 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 937188758f7ff3e1280110bbbe692bb158f1167d
at Monday 28 April 2008 16:10:03 UTC
by Seldaek:
* Moves core classes to Dwoo/* excepted Dwoo.php that remains at the top level git-svn-id: svn://dwoo.org/dwoo/trunk@31 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version dc33f4178b7bce94be39b4d0e64766e8939d8df6
at Monday 28 April 2008 16:03:16 UTC
by Seldaek:
! Intermediate commit, unstable state * 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
(head)
(prev)
Version 2f0eff5fc26cbbf721728ce2d8297b5cb4ce1f79
at Sunday 20 April 2008 14:52:32 UTC
by Seldaek:
+ Syntax: Added shortcut for {$dwoo.const.*} using '%', for example you can use {%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
(head)
(prev)
Version 92a1ced8f502c9916c44b0a5dfb210489f97a656
at Tuesday 15 April 2008 00:01:50 UTC
by Seldaek:
+ A few more assign tests git-svn-id: svn://dwoo.org/dwoo/trunk@28 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 1fd8231510a89257bb8e8edc0a2a8080e6a21390
at Monday 14 April 2008 21:38:56 UTC
by Seldaek:
+ 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) git-svn-id: svn://dwoo.org/dwoo/trunk@27 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 4b4bf2fb5026f2b2b47b867a366ad5023772f7b8
at Sunday 13 April 2008 04:04:29 UTC
by Seldaek:
+ Added resources files for extends tests git-svn-id: svn://dwoo.org/dwoo/trunk@23 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 39b52701926b99697d558665fa533535d6260c78
at Sunday 13 April 2008 03:59:03 UTC
by Seldaek:
+ 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
(head)
(prev)
Version 4fc3c9cec729cc02cf453b1144095650a8aa5532
at Wednesday 9 April 2008 21:48:14 UTC
by Seldaek:
* Fixes an output buffering bug introduced by the performance tweaks git-svn-id: svn://dwoo.org/dwoo/trunk@19 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version a7e3b93b8fa53e807b13cbd487d58ff2eedf561e
at Wednesday 9 April 2008 01:58:37 UTC
by Seldaek:
! 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 git-svn-id: svn://dwoo.org/dwoo/trunk@13 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version eae99dc026e84efcc7f491b14efb87130804a5e4
at Saturday 5 April 2008 09:31:06 UTC
by Seldaek:
* Fixes test bug git-svn-id: svn://dwoo.org/dwoo/trunk@12 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 3a66a7cd412ebf20a321b2098ca7df8c1eacf9c6
at Saturday 5 April 2008 09:26:55 UTC
by Seldaek:
* Fixes two class path glitches git-svn-id: svn://dwoo.org/dwoo/trunk@11 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version fca0a5191620d4824f4165578e08bb2de6e51c1a
at Saturday 5 April 2008 08:41:03 UTC
by Seldaek:
+ 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 git-svn-id: svn://dwoo.org/dwoo/trunk@10 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version bfa5635a05066d65270be703ee5354a7cded7566
at Saturday 5 April 2008 05:36:28 UTC
by Seldaek:
! 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 git-svn-id: svn://dwoo.org/dwoo/trunk@8 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 994b3c877d636f8c862d6eaaa424a03c7ec05502
at Friday 4 April 2008 12:58:00 UTC
by Seldaek:
* Small test fix git-svn-id: svn://dwoo.org/dwoo/trunk@6 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version e25e1870d379942bb602b67832cd15b69fcedcc4
at Sunday 30 March 2008 12:10:13 UTC
by Seldaek:
+ 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) git-svn-id: svn://dwoo.org/dwoo/trunk@4 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version e31da1c6cd4857ac1efc5a7d9d103d6358810dd9
at Sunday 30 March 2008 01:23:53 UTC
by Seldaek:
First Import / 0.3.3 git-svn-id: svn://dwoo.org/dwoo/trunk@2 0598d79b-80c4-4d41-97ba-ac86fbbd088b