User: docelic Date: 2008-04-10 22:26:12 GMT Modified: dist/lib/UI Primitive.pm Modified: . WHATSNEW-5.5 Log: * Remove the /o ("compile only once") in list_images(). Now it's possible to have two imagehelpers with different outboard (say, images/items/*.jpg and images/items/*.gif) on the same page. Previously, the first (*.jpg) would show in both dropdowns. * Update WHATSNEW with the two recent imagehelper changes Revision Changes Path 2.28 interchange/dist/lib/UI/Primitive.pm rev 2.28, prev_rev 2.27 Index: Primitive.pm =================================================================== RCS file: /var/cvs/interchange/dist/lib/UI/Primitive.pm,v retrieving revision 2.27 retrieving revision 2.28 diff -u -r2.27 -r2.28 --- Primitive.pm 10 Apr 2008 17:52:14 -0000 2.27 +++ Primitive.pm 10 Apr 2008 22:26:12 -0000 2.28 @@ -1,6 +1,6 @@ # UI::Primitive - Interchange configuration manager primitives -# $Id: Primitive.pm,v 2.27 2008-04-10 17:52:14 docelic Exp $ +# $Id: Primitive.pm,v 2.28 2008-04-10 22:26:12 docelic Exp $ # Copyright (C) 2002-2007 Interchange Development Group # Copyright (C) 1998-2002 Red Hat, Inc. @@ -27,7 +27,7 @@ package UI::Primitive; -$VERSION = substr(q$Revision: 2.27 $, 10); +$VERSION = substr(q$Revision: 2.28 $, 10); $DEBUG = 0; @@ -416,7 +416,7 @@ my @names; my $regex; eval { - $regex = qr{$suf$}o; + $regex = qr{$suf$}; }; return undef if $@; my $wanted = sub { 1.102 interchange/WHATSNEW-5.5 rev 1.102, prev_rev 1.101 Index: WHATSNEW-5.5 =================================================================== RCS file: /var/cvs/interchange/WHATSNEW-5.5,v retrieving revision 1.101 retrieving revision 1.102 diff -u -r1.101 -r1.102 --- WHATSNEW-5.5 27 Mar 2008 16:03:18 -0000 1.101 +++ WHATSNEW-5.5 10 Apr 2008 22:26:12 -0000 1.102 @@ -148,6 +148,13 @@ UI -- +* Function UI::Primitive::list_images(), used by imagehelper, now works + correctly with directory paths whose last component is a directory symlink + (such as "path/to/symlink/*.jpg") + +* It is now possible to have multiple imagehelper widgets that use different + suffix filter on the same page. (such as 'images/*.jpg' and 'images/*.gif') + * Matrix options editor can now display more than 50 variants via the use of a more-list.