Arbit - project tracking
Dwoo
Bugs
Documentation
Browse code
My Notifications
Login
Register
About
Source
Annotations
View
History
Browse source code
History: /CHANGELOG
(head)
(prev)
Version 8fb69e869885eceb179e8481819867ce99e43984
at Sunday 18 April 2010 12:55:32 UTC
by Jordi Boggiano:
Adapters: Agavi: Added support for multiple plugin directories in the config, thanks to Mike Seth for the patch
(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 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 69f61f8337c91c2619d12461c9808327117da8c1
at Sunday 28 February 2010 19:20:25 UTC
by seldaek:
* Added $this->viewParam support to ZendFramework adapter through a Dwoo_Adapters_ZendFramework_Dwoo class that extends Dwoo, you should use this if you called setEngine() on the ZF view * Fixed some whitespace issues git-svn-id: http://svn.dwoo.org/trunk@341 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 9dbd272cda5bcb6571e13660ccb26ab356727c17
at Sunday 7 February 2010 18:17:59 UTC
by seldaek:
update changelog dates git-svn-id: http://svn.dwoo.org/trunk@337 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version b52f902275642d1c571c62cf5b7aee3317c0ad4b
at Sunday 24 January 2010 02:58:40 UTC
by seldaek:
Fixed a compilation bug when using a PluginProxy with highly nested calls git-svn-id: http://svn.dwoo.org/trunk@330 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version b159408a4df46cf8bd87394fd57eca5cc37168af
at Thursday 21 January 2010 00:27:38 UTC
by seldaek:
Fixed parsing of quoted keywords in if statements, like 'not' was parsed as ! because using {if not $foo} is valid, but it was impossible to use them even as string. Fixes #46. git-svn-id: http://svn.dwoo.org/trunk@329 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version cb3c2b55a8ec9c64a997962d2696d198b2f23a2e
at Tuesday 19 January 2010 00:26:05 UTC
by seldaek:
Allow custom plugins to be called from within sub-templates, fixes #51 git-svn-id: http://svn.dwoo.org/trunk@323 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version f65127b40b8bdc2ffceee92c7ec4238ed27bc2c5
at Friday 8 January 2010 13:24:25 UTC
by seldaek:
Fixed a bug in {safe} when using variable-variables it would sometimes corrupt the var name resulting in blank output git-svn-id: http://svn.dwoo.org/trunk@320 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 0887207efa4581c5a7a63be62462b975fde4719a
at Tuesday 8 December 2009 15:04:23 UTC
by seldaek:
Fixed a bug in {tif} that didn't work when 0 was given as the true or false value git-svn-id: http://svn.dwoo.org/trunk@318 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 454339d032b598470f0872615c8496449983865b
at Wednesday 25 November 2009 17:26:02 UTC
by seldaek:
fixes #43 Fixes a {load_templates} bug, plugins used in external templates were not loaded correctly git-svn-id: http://svn.dwoo.org/trunk@315 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version cf4be68ff0760ee3c329fd295a625be1925dacef
at Monday 23 November 2009 15:45:26 UTC
by seldaek:
fixes loading of plugins within dynamic blocks git-svn-id: http://svn.dwoo.org/trunk@313 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version eee94489a9c8fe377563b0fd1ea7aa9be78a17c1
at Sunday 22 November 2009 23:15:39 UTC
by seldaek:
merging r309-311 from 1.1 git-svn-id: http://svn.dwoo.org/trunk@312 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version ef7c832153c4bbe4389845b5f6cb8d5c181622bc
at Sunday 18 October 2009 19:28:25 UTC
by seldaek:
Fixed a Dwoo_Data bug in the append method when the index didn't exist yet it threw a notice git-svn-id: svn://dwoo.org/dwoo/trunk@305 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 982932229cbd06a724464ea9ad4fb7acc5653825
at Sunday 18 October 2009 17:52:23 UTC
by seldaek:
Removed a couple of @-operator calls to file_get_contents git-svn-id: svn://dwoo.org/dwoo/trunk@303 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 79a654f2dd122879eec58d22ed9b03f772dd32ac
at Sunday 18 October 2009 10:46:37 UTC
by seldaek:
Added {optional} plugin that just prints an optional var without any notice if it doesn't exist git-svn-id: svn://dwoo.org/dwoo/trunk@297 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version c9eda80d191152594c2fc181880c1f062da3b690
at Monday 12 October 2009 21:18:54 UTC
by seldaek:
Fixed a bug when accessing global vars from a sub-template fixes #42 git-svn-id: svn://dwoo.org/dwoo/trunk@292 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version f1766640aacd4ddcae46c189b35f976c6431502c
at Monday 12 October 2009 20:56:15 UTC
by seldaek:
Fixed a property reading bug on objects that implemented __get but not __isset, implementing __isset is however very much recommended fixes #36 git-svn-id: svn://dwoo.org/dwoo/trunk@290 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 a1d321a84b993e87cfbdbdca4eb7dddeae823da1
at Monday 12 October 2009 19:45:20 UTC
by seldaek:
Fixed a bug when accessing array indices that contain a minus sign, it is now possible to access those using {$var[index-foo]}, {$var['index-foo']} or {$index="index-foo"} {$var[$index]} fixes #44 git-svn-id: svn://dwoo.org/dwoo/trunk@286 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 bd9d98a2da31aa33ed483ce6a263641430694680
at Wednesday 29 July 2009 19:44:45 UTC
by Seldaek:
merging changes from 1.1 git-svn-id: svn://dwoo.org/dwoo/trunk@279 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version a7470bb14371891590138b96ae021286907f8b38
at Saturday 18 July 2009 18:21:53 UTC
by Seldaek:
* Fixed an optimization causing foreach/for/loop variables not being accessible when the foreach/.. name was set dynamically git-svn-id: svn://dwoo.org/dwoo/trunk@271 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version ce2fb905779a1b18830802cfdf759cf295dcaa4f
at Wednesday 8 July 2009 22:57:01 UTC
by Seldaek:
No more double-slashes in template paths since this seemed to cause slight performance issues git-svn-id: svn://dwoo.org/dwoo/trunk@268 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 8da0ae466093ebd207109d1a552472cdda03de2e
at Monday 29 June 2009 23:50:36 UTC
by Seldaek:
fixes #1 Adapters: CakePHP: this adapter is now added to core and is designed to work with CakePHP 1.2 git-svn-id: svn://dwoo.org/dwoo/trunk@264 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version ddea0cecf873c9dd2b2bf93d58d9d66d4baef55b
at Monday 29 June 2009 23:23:34 UTC
by Seldaek:
fixes #6 Slight performance improvement with big inheritance trees git-svn-id: svn://dwoo.org/dwoo/trunk@263 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 59d28f4580938d229ab3f6503c32754ca1b9acb5
at Thursday 7 May 2009 08:27:19 UTC
by Seldaek:
* User classes extending Dwoo_Template_File are now supporter better with regard to includes - Thanks to the Kayako.com team for the patch * Objects now act like arrays when you access non-existing properties on them (i.e. it outputs a notice only if it's output straight, and none when passed to a function) git-svn-id: svn://dwoo.org/dwoo/trunk@260 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 907ce4e809a5430e75a13fb9a35c4dfd0a660af3
at Wednesday 11 March 2009 13:06:13 UTC
by seldaek:
changelog updates git-svn-id: svn://dwoo.org/dwoo/trunk@257 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 54bf4b40d2d5ab6af7d3f5f8f08335e0db20ee1e
at Thursday 19 February 2009 08:47:05 UTC
by seldaek:
Dwoo::initGlobals() is only called once during the Dwoo object construction. If you had overriden it and need to update global data before each template is executed you should instead override Dwoo::initRuntimeVars() and push stuff in the globals array there. Also be aware that this means captured data, foreach values and so-on will persist from a parent template to an included one (but the include's changes will not be reflected on the parent), and from a template to the next if you render several in series. git-svn-id: svn://dwoo.org/dwoo/trunk@251 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 7093aa381280ccf57b440fe6411a819331afcf29
at Thursday 5 February 2009 13:34:03 UTC
by seldaek:
Dwoo_Template::$chmod is now enforced for directories as well fixes #18 git-svn-id: svn://dwoo.org/dwoo/trunk@244 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 b7950d497850b86e91fb22d1af0e6073fe5642ec
at Tuesday 27 January 2009 09:57:34 UTC
by Seldaek:
* Fixes assignments failing with autoEscape enabled git-svn-id: svn://dwoo.org/dwoo/trunk@242 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version a6a5000291340a4c93d6c71ddb89b8de9a5d14c0
at Wednesday 21 January 2009 12:02:06 UTC
by Seldaek:
* Fixed parameter parsing issue when a plugin name was all uppercased git-svn-id: svn://dwoo.org/dwoo/trunk@239 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version ea8e8d54b56a861d535da96ba74077b875a6ee86
at Wednesday 21 January 2009 11:51:54 UTC
by Seldaek:
git-svn-id: svn://dwoo.org/dwoo/trunk@238 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 1e5416f2c34221c42c249023b4e61845baef52d2
at Wednesday 21 January 2009 10:59:38 UTC
by Seldaek:
* Fixed a bug with parsing AND/OR keywords in conditionals when they were followed by round brackets git-svn-id: svn://dwoo.org/dwoo/trunk@236 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 a57f533a55d1a96c91fc0c175e468f3b6b3f829b
at Wednesday 24 December 2008 00:56:03 UTC
by Seldaek:
1.0.1 changelog git-svn-id: svn://dwoo.org/dwoo/trunk@224 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version a4b98908d77c8770e2cea8479f8359af05cfdcc8
at Monday 24 November 2008 07:32:56 UTC
by seldaek:
Direct assignments like {$foo = 5} now allow spaces around the operator git-svn-id: svn://dwoo.org/dwoo/trunk@220 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version fedf474e4b84d9994047706eedf51b8953d1cc75
at Sunday 23 November 2008 20:57:59 UTC
by Seldaek:
* Fixed a weird reference bug with ZF and includes.. whatever but thanks to Denis Arh for the patch git-svn-id: svn://dwoo.org/dwoo/trunk@218 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 13f4eaaee37af4975846602f18c5dcd9b3b128f6
at Friday 14 November 2008 11:02:46 UTC
by seldaek:
Fixed date_format handling of negative and small unix timestamps git-svn-id: svn://dwoo.org/dwoo/trunk@217 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version ac01ee14f6a4f22e127b9ec048745ca602854788
at Wednesday 12 November 2008 00:13:09 UTC
by seldaek:
Fixed modulo operator in if statements git-svn-id: svn://dwoo.org/dwoo/trunk@216 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version e9bbec692166869450d982001c2dbcd6d9b1fab7
at Friday 24 October 2008 18:54:34 UTC
by Seldaek:
* SmartyCompat: Fixed a few bugs in the adapter and processor - thanks to Stefan Moonen for the patches git-svn-id: svn://dwoo.org/dwoo/trunk@210 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 7996536cbfdda5c4e7a79893b69deb5055fb90f0
at Wednesday 22 October 2008 21:02:53 UTC
by seldaek:
cleans up {for} git-svn-id: svn://dwoo.org/dwoo/trunk@205 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 0ec75b612ea2edd58f66935b9ddbe9924fe6497f
at Tuesday 14 October 2008 10:10:17 UTC
by seldaek:
changed allowNestedComments to setNestedCommentsHandling git-svn-id: svn://dwoo.org/dwoo/trunk@203 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 358484fa3aca483ed2cfc1ab2a4fea5aa8b8f3bf
at Tuesday 14 October 2008 09:56:59 UTC
by seldaek:
* The core Dwoo class doesn't need writable compile/cache dirs in the constructor anymore so you can provide custom ones later through ->setCompile(/Cache)Dir - thanks to Denis Arh for the patch git-svn-id: svn://dwoo.org/dwoo/trunk@201 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 29c7ffb149dbb5baf0870b7a3fe651ca43c70388
at Wednesday 8 October 2008 09:18:04 UTC
by Seldaek:
Compiler: added Dwoo_Compiler->allowNestedComments() to enable parsing of nested comments (i.e. {* {* *} *} becomes a valid comment, useful to comment out big chunks of code containing comments) git-svn-id: svn://dwoo.org/dwoo/trunk@198 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 770f1f7073758567c640698b4acc13561c3d14f6
at Wednesday 8 October 2008 06:38:09 UTC
by Seldaek:
Small fixes here and there git-svn-id: svn://dwoo.org/dwoo/trunk@195 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 8f3894d84c3d6d945da9d668e185640cb690ef42
at Monday 6 October 2008 23:08:33 UTC
by Seldaek:
Compiler: the modifier syntax (|foo) can now be applied on functions and on complex variables i.e. {$obj->getStuff()|upper} or {lower('foo')|upper} git-svn-id: svn://dwoo.org/dwoo/trunk@193 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version fc07f46e24abc2032b11b87aa17f3843a89246af
at Tuesday 30 September 2008 17:15:39 UTC
by Seldaek:
Fixes handling of variable variables that contained non standard characters git-svn-id: svn://dwoo.org/dwoo/trunk@191 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 57c29c72c8ab4b5a36ba5c3f0d969d4133d8a402
at Wednesday 24 September 2008 13:13:48 UTC
by Seldaek:
BC Break: Small one that probably won't affect anyone, but it makes the PluginProxy feature much stronger. Basically if you used a custom one you will get a fatal error and need to update it to conform to the new IPluginProxy interface, that's it git-svn-id: svn://dwoo.org/dwoo/trunk@185 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 70c14e918bbb1a741eb9b5997e421cd47832e6fe
at Wednesday 17 September 2008 09:43:06 UTC
by Seldaek:
* Fixed file template class reading from the string compiler factory - thanks to MrOxiMoron for the patch git-svn-id: svn://dwoo.org/dwoo/trunk@184 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version d3c7dbd73547bd9ef10095325d11feecf3dbe93b
at Tuesday 16 September 2008 22:26:31 UTC
by Seldaek:
* Plugins: improved the dump plugin, it now displays object's properties and optionally public methods (if the new show_methods arg is set to true) (thanks to Stephan Wentz for the patch) git-svn-id: svn://dwoo.org/dwoo/trunk@183 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version f49e8f366eb7c64297db3ac612ec1a2a61fa9391
at Sunday 14 September 2008 22:45:59 UTC
by Seldaek:
Fixed a 1.0.0beta regression that messed with custom plugin directories on Windows git-svn-id: svn://dwoo.org/dwoo/trunk@180 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 39e2cef887f14516447741e6967d8ea4bc0fa37e
at Sunday 14 September 2008 22:34:52 UTC
by Seldaek:
Changelog update git-svn-id: svn://dwoo.org/dwoo/trunk@179 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version bd14bd1c65291901840594debadeb7da25f7b02f
at Sunday 7 September 2008 22:09:18 UTC
by Seldaek:
+ Plugins: Added a mode parameter to {strip} to allow stripping of javascript code blocks that use "// comments", because without this special mode the comments result in syntax errors git-svn-id: svn://dwoo.org/dwoo/trunk@171 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version dc37bfb6ce9c7d580fc9de49a945eae850a3e523
at Sunday 7 September 2008 21:55:11 UTC
by Seldaek:
git-svn-id: svn://dwoo.org/dwoo/trunk@168 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 732f7cdac785ac279f208a391832aa9df97a112c
at Sunday 7 September 2008 21:10:14 UTC
by Seldaek:
+ Adapters: Added the Agavi interface for Dwoo (see /Dwoo/Adapters/Agavi/README) git-svn-id: svn://dwoo.org/dwoo/trunk@166 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 b1eae358b98292b877a0c2b69db7dacb71132a65
at Saturday 30 August 2008 00:16:01 UTC
by Seldaek:
* Removes some checks for Dwoo_Filter_ prefix in the addFilter method git-svn-id: svn://dwoo.org/dwoo/trunk@161 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 4afdfac6507162b640e29f099defcbec419d7026
at Tuesday 26 August 2008 16:45:23 UTC
by Seldaek:
* Complex arrays keys can be read using {$var["Long|Key*With.some)Crap"]}, however since it is really bad practice I won't spend time fixing edge cases, which are $ and '/" characters inside the string. Those will break it and that's it.. if you really care feel free to send a patch git-svn-id: svn://dwoo.org/dwoo/trunk@160 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 56bd88c9fef4ed5db3c6d1f6a856d2d99602cac4
at Monday 25 August 2008 21:20:19 UTC
by Seldaek:
* The Compiler now ensures that a template starting with <?xml will not conflict with php using the short_open_tag=On setting git-svn-id: svn://dwoo.org/dwoo/trunk@159 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 4a19490e8b869696816e73acc6aec1a83254916d
at Monday 25 August 2008 20:53:40 UTC
by Seldaek:
+ API: Added Dwoo_Compilation_Exception methods getCompiler() and getTemplate() so you can catch the exception and use those to build a nicer error view with all the details you want git-svn-id: svn://dwoo.org/dwoo/trunk@157 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 668df7e52c5f267976f674380e50dce0ccd40083
at Monday 25 August 2008 15:46:37 UTC
by Seldaek:
* Fixed {if} failing with conditions using upper case operators (i.e. AND) git-svn-id: svn://dwoo.org/dwoo/trunk@156 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version fc550dada9056e8da3c760a6527c8e9e97d469d6
at Sunday 24 August 2008 20:48:05 UTC
by Seldaek:
* Fixes compiled/cached files being written in the wrong place when the path to the template contains "../"s git-svn-id: svn://dwoo.org/dwoo/trunk@155 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 693ea694e10abcb87f2940633e37b56e4bf91ca0
at Friday 22 August 2008 22:00:33 UTC
by Seldaek:
* Fixed compiler warning when doing {func()->method()} or {func()->property} git-svn-id: svn://dwoo.org/dwoo/trunk@154 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 1bc77f92c37cb35b54f054860dc123624776ceda
at Friday 22 August 2008 20:53:14 UTC
by Seldaek:
* Fixed Dwoo::isArray() check, objects implementing ArrayAccess are now valid (thanks to Daniel Cousineau for the patch) git-svn-id: svn://dwoo.org/dwoo/trunk@153 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 5dd58675d60e554785e0df5658d1a6161f519d31
at Thursday 21 August 2008 18:16:09 UTC
by Seldaek:
Fixes the fix.. git-svn-id: svn://dwoo.org/dwoo/trunk@152 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 257cdab51dfaa1462c076c19e7636700a78347f0
at Tuesday 5 August 2008 22:05:15 UTC
by Seldaek:
* Fixed compiler bug that created a parse error when you had comments in an extended template git-svn-id: svn://dwoo.org/dwoo/trunk@144 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version d9c6d6b9e9081c668f0267e19863ab9340244885
at Sunday 3 August 2008 13:02:26 UTC
by Seldaek:
Prep release 0.9.3 git-svn-id: svn://dwoo.org/dwoo/trunk@140 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 03f8ba13b9c8d5ca0d463ee267de90b778da4a8e
at Friday 1 August 2008 21:40:46 UTC
by Seldaek:
* Made Dwoo_Compiler::implode_r static/public git-svn-id: svn://dwoo.org/dwoo/trunk@136 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 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 e01426a6880f0b0426859af8ad517ab994d6ca2f
at Sunday 27 July 2008 21:29:09 UTC
by Seldaek:
git-svn-id: svn://dwoo.org/dwoo/trunk@129 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 82351826fb04bfa4d9a5f59cd0b4914c5554ccd6
at Thursday 24 July 2008 11:45:40 UTC
by Seldaek:
* Fixed the Dwoo_ILoader interface and implemented it in Dwoo_Loader now git-svn-id: svn://dwoo.org/dwoo/trunk@127 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 7d76b1debd2d6d41843e607eb25d24946860fdff
at Sunday 20 July 2008 17:11:52 UTC
by Seldaek:
git-svn-id: svn://dwoo.org/dwoo/trunk@126 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 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 40bd38081d4f02ba92276de453bc9c7f8902d3ea
at Friday 27 June 2008 23:34:29 UTC
by Seldaek:
git-svn-id: svn://dwoo.org/dwoo/trunk@106 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 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 1c811341e4276a75462c84a5157a6903e899133e
at Friday 13 June 2008 02:11:05 UTC
by Seldaek:
git-svn-id: svn://dwoo.org/dwoo/trunk@94 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 18fbe58f5ca2f31d96833c23231699b3cedcd8ef
at Tuesday 3 June 2008 12:25:44 UTC
by Seldaek:
+ Added line numbers in compilation errors and improved several error messages git-svn-id: svn://dwoo.org/dwoo/trunk@85 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 af562417ebfd8d86a8acb83fff7c974c075d7f0e
at Friday 30 May 2008 02:53:54 UTC
by Seldaek:
git-svn-id: svn://dwoo.org/dwoo/trunk@77 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 6a2aa583cff50b3702645fd32aa9b8e7c45734b2
at Friday 23 May 2008 00:59:11 UTC
by Seldaek:
* Fixed $dwoo->addResource() breaking if the resource class was not loaded yet, autoload should now be called (thanks mike) git-svn-id: svn://dwoo.org/dwoo/trunk@67 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 9749a55f649d6899bc0169a431032744c39709cf
at Friday 16 May 2008 17:46:30 UTC
by Seldaek:
git-svn-id: svn://dwoo.org/dwoo/trunk@63 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 6b6abd1d110f71d12f1fce4618cf9e94376d1de9
at Monday 12 May 2008 17:44:14 UTC
by Seldaek:
* Optimized scope handling functions git-svn-id: svn://dwoo.org/dwoo/trunk@60 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version fc42867da7b4a8958068e256e86d972d08bf8ba8
at Saturday 10 May 2008 05:29:19 UTC
by Seldaek:
* Switched to exceptions in many places git-svn-id: svn://dwoo.org/dwoo/trunk@56 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 eec2dabe97d2ea38547ec46ffb70e1a0f9586ca5
at Tuesday 6 May 2008 08:48:16 UTC
by Seldaek:
* Removed realpath() calls git-svn-id: svn://dwoo.org/dwoo/trunk@47 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 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 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 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 70bd37987ae3f215a2ed15a4a8b30aa8437e79fc
at Sunday 13 April 2008 04:03:55 UTC
by Seldaek:
+ 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
(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 6b42834f9b45ed044ed0cb766b66b5a463900c71
at Wednesday 9 April 2008 19:38:01 UTC
by Seldaek:
* Performance improvements [simplified block stack / topLevelBlock] git-svn-id: svn://dwoo.org/dwoo/trunk@17 0598d79b-80c4-4d41-97ba-ac86fbbd088b
(head)
(prev)
Version 25dd980698d3c4772ea1decd06179e93e5986ee0
at Wednesday 9 April 2008 04:37:01 UTC
by Seldaek:
! 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 git-svn-id: svn://dwoo.org/dwoo/trunk@16 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 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 0e235acb85417c365c1c266066c349c77cc1e6d1
at Friday 4 April 2008 12:53:31 UTC
by Seldaek:
* 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 git-svn-id: svn://dwoo.org/dwoo/trunk@5 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