[cvs] commit: ansel gallery.php image.php preview.php rss.php xrequest.php ansel/img download.php ecard.php full.php index.php mini.php prettythumb.php screen.php thumb.php ansel/lib Ansel.php Tags.php ansel/lib/Block recent_comments.php ansel/lib/ImageView ...

Michael Rubinsky mike at theupstairsroom.com
Wed Feb 6 22:22:27 UTC 2008


mrubinsk    2008-02-06 17:22:27 EST

  Modified files:
    .                    gallery.php image.php preview.php rss.php 
                         xrequest.php 
    img                  download.php ecard.php full.php index.php 
                         mini.php prettythumb.php screen.php 
                         thumb.php 
    lib                  Ansel.php Tags.php 
    lib/Block            recent_comments.php 
    lib/ImageView        plainstack.php polaroidstack.php 
                         roundedstack.php 
    lib/Views            Image.php 
    lib/tests            ResetDefaultImageTest.php 
    scripts              ansel.php 
    scripts/upgrades     2006-11-27_fix_default_images.php 
  Log:
  Statically cache Ansel_Storage::getImage() calls since they can often
  be called multiple times per page load and from different scopes. Also
  have to add reference operators now to be sure that only a single copy of
  the image object is ever operated on per page load in PHP4.
  
  Bug: 6219
  Submitted by: Duck
  
  Revision  Changes    Path
  1.98      +2 -2      ansel/gallery.php
  1.129     +14 -14    ansel/image.php
  1.8       +2 -2      ansel/img/download.php
  1.8       +2 -2      ansel/img/ecard.php
  1.11      +2 -2      ansel/img/full.php
  1.9       +2 -2      ansel/img/index.php
  1.11      +2 -2      ansel/img/mini.php
  1.6       +2 -2      ansel/img/prettythumb.php
  1.10      +2 -2      ansel/img/screen.php
  1.11      +2 -2      ansel/img/thumb.php
  1.301     +16 -8     ansel/lib/Ansel.php
  1.21      +2 -2      ansel/lib/Block/recent_comments.php
  1.5       +3 -3      ansel/lib/ImageView/plainstack.php
  1.6       +3 -3      ansel/lib/ImageView/polaroidstack.php
  1.4       +3 -3      ansel/lib/ImageView/roundedstack.php
  1.73      +2 -2      ansel/lib/Tags.php
  1.30      +3 -3      ansel/lib/Views/Image.php
  1.2       +1 -1      ansel/lib/tests/ResetDefaultImageTest.php
  1.8       +2 -2      ansel/preview.php
  1.31      +2 -2      ansel/rss.php
  1.21      +2 -2      ansel/scripts/ansel.php
  1.3       +2 -2      ansel/scripts/upgrades/2006-11-27_fix_default_images.php
  1.27      +2 -2      ansel/xrequest.php

  Chora Links:
  http://cvs.horde.org/diff.php/ansel/gallery.php?r1=1.97&r2=1.98&ty=u
  http://cvs.horde.org/diff.php/ansel/image.php?r1=1.128&r2=1.129&ty=u
  http://cvs.horde.org/diff.php/ansel/img/download.php?r1=1.7&r2=1.8&ty=u
  http://cvs.horde.org/diff.php/ansel/img/ecard.php?r1=1.7&r2=1.8&ty=u
  http://cvs.horde.org/diff.php/ansel/img/full.php?r1=1.10&r2=1.11&ty=u
  http://cvs.horde.org/diff.php/ansel/img/index.php?r1=1.8&r2=1.9&ty=u
  http://cvs.horde.org/diff.php/ansel/img/mini.php?r1=1.10&r2=1.11&ty=u
  http://cvs.horde.org/diff.php/ansel/img/prettythumb.php?r1=1.5&r2=1.6&ty=u
  http://cvs.horde.org/diff.php/ansel/img/screen.php?r1=1.9&r2=1.10&ty=u
  http://cvs.horde.org/diff.php/ansel/img/thumb.php?r1=1.10&r2=1.11&ty=u
  http://cvs.horde.org/diff.php/ansel/lib/Ansel.php?r1=1.300&r2=1.301&ty=u
  http://cvs.horde.org/diff.php/ansel/lib/Block/recent_comments.php?r1=1.20&r2=1.21&ty=u
  http://cvs.horde.org/diff.php/ansel/lib/ImageView/plainstack.php?r1=1.4&r2=1.5&ty=u
  http://cvs.horde.org/diff.php/ansel/lib/ImageView/polaroidstack.php?r1=1.5&r2=1.6&ty=u
  http://cvs.horde.org/diff.php/ansel/lib/ImageView/roundedstack.php?r1=1.3&r2=1.4&ty=u
  http://cvs.horde.org/diff.php/ansel/lib/Tags.php?r1=1.72&r2=1.73&ty=u
  http://cvs.horde.org/diff.php/ansel/lib/Views/Image.php?r1=1.29&r2=1.30&ty=u
  http://cvs.horde.org/diff.php/ansel/lib/tests/ResetDefaultImageTest.php?r1=1.1&r2=1.2&ty=u
  http://cvs.horde.org/diff.php/ansel/preview.php?r1=1.7&r2=1.8&ty=u
  http://cvs.horde.org/diff.php/ansel/rss.php?r1=1.30&r2=1.31&ty=u
  http://cvs.horde.org/diff.php/ansel/scripts/ansel.php?r1=1.20&r2=1.21&ty=u
  http://cvs.horde.org/diff.php/ansel/scripts/upgrades/2006-11-27_fix_default_images.php?r1=1.2&r2=1.3&ty=u
  http://cvs.horde.org/diff.php/ansel/xrequest.php?r1=1.26&r2=1.27&ty=u


More information about the cvs mailing list