r69961 - in /trunk/libhtml-mason-perl: Changes META.yml Makefile.PL debian/changelog lib/HTML/Mason.pm lib/HTML/Mason/Interp.pm lib/HTML/Mason/Request.pm t/07-interp.t

ivan at users.alioth.debian.org ivan at users.alioth.debian.org
Sun Feb 27 18:13:12 UTC 2011


Author: ivan
Date: Sun Feb 27 18:12:51 2011
New Revision: 69961

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=69961
Log:
new upstream release 1.45

Modified:
    trunk/libhtml-mason-perl/Changes
    trunk/libhtml-mason-perl/META.yml
    trunk/libhtml-mason-perl/Makefile.PL
    trunk/libhtml-mason-perl/debian/changelog
    trunk/libhtml-mason-perl/lib/HTML/Mason.pm
    trunk/libhtml-mason-perl/lib/HTML/Mason/Interp.pm
    trunk/libhtml-mason-perl/lib/HTML/Mason/Request.pm
    trunk/libhtml-mason-perl/t/07-interp.t

Modified: trunk/libhtml-mason-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-mason-perl/Changes?rev=69961&op=diff
==============================================================================
--- trunk/libhtml-mason-perl/Changes (original)
+++ trunk/libhtml-mason-perl/Changes Sun Feb 27 18:12:51 2011
@@ -4,6 +4,13 @@
 available at http://www.masonhq.com/code/history.html.
 
 ** denotes an incompatible change
+
+1.45 Apr 3, 2010
+
+    [ BUG FIXES ]
+
+    - Silenced some new warnings that appeared when using Mason with Perl
+  5.12.0+. Reported by Jesse Vincent.
 
 1.44 Jan 4, 2010
 

Modified: trunk/libhtml-mason-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-mason-perl/META.yml?rev=69961&op=diff
==============================================================================
--- trunk/libhtml-mason-perl/META.yml (original)
+++ trunk/libhtml-mason-perl/META.yml Sun Feb 27 18:12:51 2011
@@ -9,7 +9,7 @@
 configure_requires:
   Module::Build: 0.36
 dynamic_config: 1
-generated_by: 'Module::Build version 0.36'
+generated_by: 'Module::Build version 0.3603'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -24,7 +24,7 @@
     version: 0.09
   HTML::Mason:
     file: lib/HTML/Mason.pm
-    version: 1.44
+    version: 1.45
   HTML::Mason::Apache::Request:
     file: lib/HTML/Mason/Apache/Request.pm
   HTML::Mason::ApacheHandler:
@@ -105,7 +105,6 @@
   Tie::Handle::Mason:
     file: lib/HTML/Mason/Request.pm
 requires:
-  Apache::Request: 1.05
   CGI: 2.46
   Cache::Cache: 1
   Class::Container: 0.07
@@ -116,7 +115,6 @@
   Params::Validate: 0.7
   Scalar::Util: 1.01
   Test::Deep: 0
-  mod_perl: 1.24
 resources:
   license: http://dev.perl.org/licenses/
-version: 1.44
+version: 1.45

Modified: trunk/libhtml-mason-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-mason-perl/Makefile.PL?rev=69961&op=diff
==============================================================================
--- trunk/libhtml-mason-perl/Makefile.PL (original)
+++ trunk/libhtml-mason-perl/Makefile.PL Sun Feb 27 18:12:51 2011
@@ -1,6 +1,6 @@
 # Added by Mason::Build so we can find Mason::Build again
 use lib 'inc';
-# Note: this file was auto-generated by Module::Build::Compat version 0.36
+# Note: this file was auto-generated by Module::Build::Compat version 0.3603
 
     unless (eval "use Module::Build::Compat 0.02; 1" ) {
       print "This module requires Module::Build to install itself.\n";

Modified: trunk/libhtml-mason-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-mason-perl/debian/changelog?rev=69961&op=diff
==============================================================================
--- trunk/libhtml-mason-perl/debian/changelog (original)
+++ trunk/libhtml-mason-perl/debian/changelog Sun Feb 27 18:12:51 2011
@@ -1,4 +1,4 @@
-libhtml-mason-perl (1:1.44-2) UNRELEASED; urgency=low
+libhtml-mason-perl (1:1.45-1) UNRELEASED; urgency=low
 
   * Take over for the Debian Perl Group
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
@@ -9,8 +9,10 @@
   * debian/rules: delete /usr/lib/perl5 only if it exists.
   * Add debian/README.source to document quilt usage, as required by
     Debian Policy since 3.8.0.
-
- -- Ivan Kohler <ivan-debian at 420.am>  Thu, 09 Dec 2010 02:21:28 -0800
+  * New upstream release
+    + Fixes warnings under perl 5.12 (closes: Bug#615593)
+
+ -- Ivan Kohler <ivan-debian at 420.am>  Sun, 27 Feb 2011 10:08:56 -0800
 
 libhtml-mason-perl (1:1.44-1) unstable; urgency=low
 

Modified: trunk/libhtml-mason-perl/lib/HTML/Mason.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-mason-perl/lib/HTML/Mason.pm?rev=69961&op=diff
==============================================================================
--- trunk/libhtml-mason-perl/lib/HTML/Mason.pm (original)
+++ trunk/libhtml-mason-perl/lib/HTML/Mason.pm Sun Feb 27 18:12:51 2011
@@ -5,7 +5,7 @@
 
 use 5.006;
 
-$HTML::Mason::VERSION = '1.44';
+$HTML::Mason::VERSION = '1.45';
 
 use HTML::Mason::Interp;
 

Modified: trunk/libhtml-mason-perl/lib/HTML/Mason/Interp.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-mason-perl/lib/HTML/Mason/Interp.pm?rev=69961&op=diff
==============================================================================
--- trunk/libhtml-mason-perl/lib/HTML/Mason/Interp.pm (original)
+++ trunk/libhtml-mason-perl/lib/HTML/Mason/Interp.pm Sun Feb 27 18:12:51 2011
@@ -649,6 +649,7 @@
 
     my $varname = sprintf("%s::%s",$self->compiler->in_package,$name);
     no strict 'refs';
+    no warnings 'once';
     if ($prefix eq '$') {
         $$varname = $values[0];
     } elsif ($prefix eq '@') {

Modified: trunk/libhtml-mason-perl/lib/HTML/Mason/Request.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-mason-perl/lib/HTML/Mason/Request.pm?rev=69961&op=diff
==============================================================================
--- trunk/libhtml-mason-perl/lib/HTML/Mason/Request.pm (original)
+++ trunk/libhtml-mason-perl/lib/HTML/Mason/Request.pm Sun Feb 27 18:12:51 2011
@@ -311,7 +311,7 @@
                     #
                     {
                         no strict 'refs';
-                        unless (defined(%{$plugin . "::"})) {
+                        unless (keys %{$plugin . "::"}) {
                             eval "use $plugin;";
                             die $@ if $@;
                         }
@@ -1452,15 +1452,6 @@
 *top_args = \&request_args;
 *top_comp = \&request_comp;
 
-# deprecated in 1.1x
-sub time
-{
-    my ($self) = @_;
-    my $time = $self->interp->current_time;
-    $time = time() if $time eq 'real';
-    return $time;
-}
-
 #
 # Subroutine called by every component while in debug mode, convenient
 # for breakpointing.

Modified: trunk/libhtml-mason-perl/t/07-interp.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-mason-perl/t/07-interp.t?rev=69961&op=diff
==============================================================================
--- trunk/libhtml-mason-perl/t/07-interp.t (original)
+++ trunk/libhtml-mason-perl/t/07-interp.t Sun Feb 27 18:12:51 2011
@@ -808,7 +808,7 @@
 
 #------------------------------------------------------------
 
-    if ( load_pkg('Switch') )
+    if ( $] < 5.012 && load_pkg('Switch') )
     {
         $group->add_test( name => 'source_filter',
                           description => 'make sure source filters work',




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