cvs: smarty / ChangeLog
changelog <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvschangelog1105061746@cvsserver> |
changelog Thu Jan 6 20:35:46 2005 EDT
Modified files:
/smarty ChangeLog
Log:
ChangeLog update
http://cvs.php.net/diff.php/smarty/ChangeLog?r1=1.354&r2=1.355&ty=u
Index: smarty/ChangeLog
diff -u smarty/ChangeLog:1.354 smarty/ChangeLog:1.355
--- smarty/ChangeLog:1.354 Wed Jan 5 20:36:11 2005
+++ smarty/ChangeLog Thu Jan 6 20:35:45 2005
@@ -1,3 +1,20 @@
+2005-01-06 Messju Mohr <[email protected]>
+
+ * libs/Smarty_Compiler.class.php:
+ reduced the code that is generated on a {foreach}-block that has a
+ name.
+
+ instead of pre-computing all foreach-properties (like first, last,
+ show) on each iteration, they are computed on demand as soon as
+ {$smarty.foreach.*}-variables are used.
+
+ * NEWS
+ libs/Smarty_Compiler.class.php:
+ slight optimization in the compilation of $smarty.const.FOO .
+
+ more complex consts like $smarty.const.$name still compile to
+ constant($this->_tpl_vars['name'])
+
2005-01-05 Messju Mohr <[email protected]>
* NEWS
@@ -3078,7 +3095,7 @@
* libs/Smarty.class.php
libs/Smarty_Compiler.class.php:
- added CVS $Id: ChangeLog,v 1.354 2005/01/06 01:36:11 changelog Exp $
+ added CVS $Id: ChangeLog,v 1.355 2005/01/07 01:35:45 changelog Exp $
2003-03-31 Messju Mohr <[email protected]>
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php