r25886 - in /branches/upstream/libcgi-ajax-perl/current: Changes META.yml lib/CGI/Ajax.pm

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Fri Oct 10 11:48:54 UTC 2008


Author: gregoa
Date: Fri Oct 10 11:48:52 2008
New Revision: 25886

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=25886
Log:
[svn-upgrade] Integrating new upstream version, libcgi-ajax-perl (0.707)

Modified:
    branches/upstream/libcgi-ajax-perl/current/Changes
    branches/upstream/libcgi-ajax-perl/current/META.yml
    branches/upstream/libcgi-ajax-perl/current/lib/CGI/Ajax.pm

Modified: branches/upstream/libcgi-ajax-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcgi-ajax-perl/current/Changes?rev=25886&op=diff
==============================================================================
--- branches/upstream/libcgi-ajax-perl/current/Changes (original)
+++ branches/upstream/libcgi-ajax-perl/current/Changes Fri Oct 10 11:48:52 2008
@@ -1,23 +1,64 @@
 Revision history for Perl module CGI::Perljax
 
+0.707 (154) | Jan Franczak | 2008-10-07
+
+ Fixed an issue in the declaration of the javascript cache variable as a
+ local variable in the exported methods.  This was causing NO_CACHE to
+ never generate the pjxrand in the query string.
+
+ Changed the code so that cache is set as a global javascript variable.
+
+ Thanks to Shivanandham Karunanithi for identifying this.
+
+0.706 (153) | Shibi Ns | 2008-09-04
+
+ Wrongly coded one line of code for the fix 0.705
+
+ Changed this:
+
+ #    return '' if  $cgi->isa('header') || $cgi->isa('header_type') ;
+
+ To this:
+
+ #    return '' if  $cgi->isa('CGI') || $cgi->isa('CGI::Application') ;
+
+0.705 (152) | Shibi Ns | 2008-08-26
+
+ Changed function call from "can" to "isa" in order this to work with new 
+ version of CGI 3.37. CGI 3.37 has overloaded the function "can" which causes
+ some of the functions to fail.
+
+0.703 (150) | Jan Franczak | 2008-08-20
+     
+ Added support for CACHE() which allows default behaviour of disabling page
+ cache.
+
+ Added fname() support to allow the names of exported functions to be
+ specified.
+
+ Added skip_header support to prevent two headers being produced for
+ applications producing their own headers.
+
+ Two new test scripts.
+
 0.701 (141) | bpederse | 2007-01-30
 
-added short docs about:
-
-onclick=jsfunc([{args:42}],['resultdiv'])
-as an alternative to:
-onclick=jsfunc(['args__42'],['resultdiv'])
-
-added fix for split 
-
-made changes from Peter Gordon for CGI::Application
-and added 3 of his test scripts which are 1:1 mappings
-of our test cases.
-
-added changes to getval by Kyraha
-
-always show error regardless of debug level if
-$@ is filled after eval {}
+ added short docs about:
+
+ onclick=jsfunc([{args:42}],['resultdiv'])
+ as an alternative to:
+ onclick=jsfunc(['args__42'],['resultdiv'])
+
+ added fix for split 
+
+ made changes from Peter Gordon for CGI::Application
+ and added 3 of his test scripts which are 1:1 mappings
+ of our test cases.
+
+ added changes to getval by Kyraha
+
+ always show error regardless of debug level if
+ $@ is filled after eval {}
 
 ---- OLDER UPDATES BELOW ---
 

Modified: branches/upstream/libcgi-ajax-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcgi-ajax-perl/current/META.yml?rev=25886&op=diff
==============================================================================
--- branches/upstream/libcgi-ajax-perl/current/META.yml (original)
+++ branches/upstream/libcgi-ajax-perl/current/META.yml Fri Oct 10 11:48:52 2008
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:                CGI-Ajax
-version:             0.706
+version:             0.707
 abstract:            CGI::Ajax
 license:             ~
 generated_by:        ExtUtils::MakeMaker version 6.36

Modified: branches/upstream/libcgi-ajax-perl/current/lib/CGI/Ajax.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcgi-ajax-perl/current/lib/CGI/Ajax.pm?rev=25886&op=diff
==============================================================================
--- branches/upstream/libcgi-ajax-perl/current/lib/CGI/Ajax.pm (original)
+++ branches/upstream/libcgi-ajax-perl/current/lib/CGI/Ajax.pm Fri Oct 10 11:48:52 2008
@@ -12,7 +12,7 @@
 
     CGI::Ajax->mk_accessors(@METHODS);
 
-    $VERSION = .706;
+    $VERSION = .707;
 }
 
 ########################################### main pod documentation begin ##
@@ -815,6 +815,8 @@
     my $request_header_str = "";
     my $rv                 = <<EOT;
 var ajax = [];
+var cache;
+
 function pjx(args,fname,method) {
   this.target=args[1];
   this.args=args[0];
@@ -1218,7 +1220,7 @@
     $rv .= <<EOT;
 function $func_name() {
   var args = $func_name.arguments;
-  var cache = $cache;
+  cache = $cache;
   for( var i=0; i<args[0].length;i++ ) {
     args[0][i] = fnsplit(args[0][i]);
   }




More information about the Pkg-perl-cvs-commits mailing list