Hello community,

here is the log from the commit of package perl-HTML-Form for openSUSE:Factory 
checked in at 2013-08-07 20:53:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-HTML-Form (Old)
 and      /work/SRC/openSUSE:Factory/.perl-HTML-Form.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-HTML-Form"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-HTML-Form/perl-HTML-Form.changes    
2012-03-01 17:23:38.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-HTML-Form.new/perl-HTML-Form.changes       
2013-08-07 20:53:38.000000000 +0200
@@ -1,0 +2,7 @@
+Wed Jul 24 07:28:19 UTC 2013 - co...@suse.com
+
+- updated to 6.03
+ Support the new HTML5 input types without warning                             
                                                                                
                                                                              
+ Fix test failure when HTTP-Message 6.03 (or better) was installed [RT#75155]  
   
+
+-------------------------------------------------------------------

Old:
----
  HTML-Form-6.01.tar.gz

New:
----
  HTML-Form-6.03.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-HTML-Form.spec ++++++
--- /var/tmp/diff_new_pack.dYRGNd/_old  2013-08-07 20:53:39.000000000 +0200
+++ /var/tmp/diff_new_pack.dYRGNd/_new  2013-08-07 20:53:39.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-HTML-Form
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           perl-HTML-Form
-Version:        6.01
+Version:        6.03
 Release:        0
 %define cpan_name HTML-Form
 Summary:        Class that represents an HTML form element
@@ -31,13 +31,13 @@
 BuildRequires:  perl-macros
 BuildRequires:  perl(HTML::TokeParser)
 BuildRequires:  perl(HTTP::Request) >= 6
-BuildRequires:  perl(HTTP::Request::Common) >= 6
+BuildRequires:  perl(HTTP::Request::Common) >= 6.03
 BuildRequires:  perl(URI) >= 1.10
 #BuildRequires: perl(HTML::Form)
 #BuildRequires: perl(HTTP::Response)
 Requires:       perl(HTML::TokeParser)
 Requires:       perl(HTTP::Request) >= 6
-Requires:       perl(HTTP::Request::Common) >= 6
+Requires:       perl(HTTP::Request::Common) >= 6.03
 Requires:       perl(URI) >= 1.10
 %{perl_requires}
 

++++++ HTML-Form-6.01.tar.gz -> HTML-Form-6.03.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTML-Form-6.01/Changes new/HTML-Form-6.03/Changes
--- old/HTML-Form-6.01/Changes  2012-02-18 14:38:00.000000000 +0100
+++ new/HTML-Form-6.03/Changes  2012-03-30 13:01:46.000000000 +0200
@@ -1,10 +1,23 @@
 _______________________________________________________________________________
+2012-03-30 HTML-Form 6.03
+
+Support the new HTML5 input types without warning
+
+
+
+_______________________________________________________________________________
+2012-02-20 HTML-Form 6.02
+
+Fix test failure when HTTP-Message 6.03 (or better) was installed [RT#75155]
+
+
+
+_______________________________________________________________________________
 2012-02-18 HTML-Form 6.01
 
 Don't pick up label text from textarea [RT#72925]
 
-Restore perl-5.8.1 compatiblity.
-
+Restore perl-5.8.1 compatibility.
 
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTML-Form-6.01/META.yml new/HTML-Form-6.03/META.yml
--- old/HTML-Form-6.01/META.yml 2012-02-18 14:38:39.000000000 +0100
+++ new/HTML-Form-6.03/META.yml 2012-03-30 13:11:57.000000000 +0200
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               HTML-Form
-version:            6.01
+version:            6.03
 abstract:           Class that represents an HTML form element
 author:
     - Gisle Aas <gi...@activestate.com>
@@ -14,7 +14,7 @@
     Encode:               2
     HTML::TokeParser:     0
     HTTP::Request:        6
-    HTTP::Request::Common:  6
+    HTTP::Request::Common:  6.03
     perl:                 5.008001
     URI:                  1.10
 resources:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTML-Form-6.01/Makefile.PL 
new/HTML-Form-6.03/Makefile.PL
--- old/HTML-Form-6.01/Makefile.PL      2012-02-18 14:17:40.000000000 +0100
+++ new/HTML-Form-6.03/Makefile.PL      2012-02-20 22:43:51.000000000 +0100
@@ -16,7 +16,7 @@
         'Encode' => "2",
         'HTML::TokeParser' => 0,
        'HTTP::Request' => 6,
-       'HTTP::Request::Common' => 6,
+       'HTTP::Request::Common' => 6.03,
     },
     META_MERGE => {
        resources => {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTML-Form-6.01/lib/HTML/Form.pm 
new/HTML-Form-6.03/lib/HTML/Form.pm
--- old/HTML-Form-6.01/lib/HTML/Form.pm 2012-02-18 14:36:26.000000000 +0100
+++ new/HTML-Form-6.03/lib/HTML/Form.pm 2012-03-30 13:04:43.000000000 +0200
@@ -6,7 +6,7 @@
 use Encode ();
 
 use vars qw($VERSION);
-$VERSION = "6.01";
+$VERSION = "6.03";
 
 my %form_tags = map {$_ => 1} qw(input textarea button select option);
 
@@ -30,6 +30,13 @@
  keygen   => "KeygenInput",
 );
 
+# The new HTML5 input types
+%type2class = (%type2class, map { $_ => 'TextInput' } qw(
+    tel search url email
+    datetime date month week time datetime-local
+    number range color
+));
+
 =head1 NAME
 
 HTML::Form - Class that represents an HTML form element
@@ -74,9 +81,9 @@
 (or US-ASCII).
 
 By default HTML::Form assumes that the original document was UTF-8 encoded and
-thus encode forms that don't specify an explict I<accept-charset> as UTF-8.
+thus encode forms that don't specify an explicit I<accept-charset> as UTF-8.
 The charset assumed can be overridden by providing the C<charset> option to
-parse().  It's a good idea to be explict about this parameter as well, thus
+parse().  It's a good idea to be explicit about this parameter as well, thus
 the recommended simplest invocation becomes:
 
     my @forms = HTML::Form->parse(
@@ -122,11 +129,14 @@
 =item C<< verbose => $bool >>
 
 Warn (print messages to STDERR) about any bad HTML form constructs found.
-You can trap these with $SIG{__WARN__}.
+You can trap these with $SIG{__WARN__}.  The default is not to issue warnings.
 
 =item C<< strict => $bool >>
 
 Initialize any form objects with the given strict attribute.
+If the strict is turned on the methods that change values of the form will 
croak if you try
+to set illegal values or modify readonly fields.
+The default is not to be strict.
 
 =back
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTML-Form-6.01/t/form.t new/HTML-Form-6.03/t/form.t
--- old/HTML-Form-6.01/t/form.t 2012-02-18 14:24:48.000000000 +0100
+++ new/HTML-Form-6.03/t/form.t 2012-03-30 12:27:29.000000000 +0200
@@ -53,6 +53,8 @@
    <input name=r type="radio" value="b" checked>
    <input name=t type="text">
    <input name=p type="PASSWORD">
+   <input name=tel type="tel">
+   <input name=date type="date">
    <input name=h type="hidden" value=xyzzy>
    <input name=s type="submit" value="Doit!">
    <input name=r type="reset">
@@ -81,10 +83,10 @@
 
 ok($f->click->as_string, <<'EOT');
 POST http://localhost/
-Content-Length: 69
+Content-Length: 86
 Content-Type: application/x-www-form-urlencoded
 
-i.x=1&i.y=1&c=on&r=b&t=&p=&h=xyzzy&f=&x=&a=%0Aabc%0A+++&s=bar&m=a&m=b
+i.x=1&i.y=1&c=on&r=b&t=&p=&tel=&date=&h=xyzzy&f=&x=&a=%0D%0Aabc%0D%0A+++&s=bar&m=a&m=b
 EOT
 
 ok(@warn, 1);

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to