Commit graph

61 commits

Author SHA1 Message Date
wiz
109eca63b5 p5-WWW-Mechanize: update to 2.01.
2.01      2020-09-18 17:51:10Z
    - Add rel filter to find_link() (GH#305) (Julien Fiegehenn)
    - Fix typos (GH#304) (Ferenc Erki)
2020-09-20 07:59:09 +00:00
wiz
00da7815c0 *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
wen
a75bc3febe Update to 2.00
Update DEPENDS

Upstream changes:
2.00      2020-06-09 19:09:53Z
    - Require LWP::UserAgent 6.45 (GH#302) (Shoichi Kaji)

1.99      2020-06-08 15:35:04Z
    - Bump HTTP::Daemon test dependency to 6.12 (GH#300) (Olaf Alders)

1.98      2020-05-25 17:06:47Z (TRIAL RELEASE)
    - Don't make assumptions about port 80 in test (GH#299) (Olaf Alders)

1.97      2020-05-14 00:46:53Z
    - Respect CDATA[[ sections when parsing HTML (GH#298) (Max Maischein)
    - extract image links also from css (GH#12) (Jozef Kutej) and (GH#297)
      (Julien Fiegehenn)
    - s/parm/param/ in documentation (GH#295) (Olaf Alders)

1.96      2020-02-21 02:23:40Z [FIXED]
    - HTML::Form::find_input() has a 1-based index (GH#293) (Olaf Alders)
    - Fix invocation of dump_forms in mech-dump (GH#288) (積丹尼 Dan Jacobson)
    - make xt/author/eol.t pass (GH#291) (Shoichi Kaji)
    [DOCUMENTATION]
    - Fix documentation of use of undef in form_with() and all_forms_with()
      (GH#289) (積丹尼 Dan Jacobson)
2020-08-15 06:39:07 +00:00
mef
eb59ee0dc8 (www/p5-WWW-Mechanize) Updated from 1.91 to 1.95
1.95      2019-10-28 13:07:45Z
    [FIXED]
   - die if submit_form() called with invalid form_id (GH#287) (Olaf Alders)

1.94      2019-10-10 13:12:28Z
    [FIXED]
    - Issue #182: Don't autocheck for mech-dump so basic auth works (GH#285)
      (Julien Fiegehenn)

    [DOCUMENTATION]
    - Fix pod error reported by CPANTS. (GH#284) (Mohammad S Anwar)

1.93      2019-10-04 21:06:49Z
    [FIXED]
    - Allow images to not have a src attribute (GH#282) (Julien Fiegehenn)

    [DOCUMENTATION]
    - Pod fixes. (GH#283) (Mohammad S Anwar)

1.92      2019-08-24 01:00:35Z
    [FIXED]
    - Test requires HTTP::Daemon 6.05+ and uses 127.0.0.1 or [::1] according to
      server's sockdomain (GH#280) (Shoichi Kaji)
    - Install LWP::Protocol::https and fix xt/author/live/encoding.t (GH#277)
      (Shoichi Kaji)
    - Set dist trusty for old Perls on Travis (GH#279) (Shoichi Kaji)
    - Fixed pod errors as reported by CPANTS. (GH#273) (Mohammad S Anwar)

    [DOCUMENTATION]
    - Document that follow_link will die on failure with autocheck enabled (GH#271) (Olaf Alders)

    [TESTS]
    - Add a test for finding a link in a meta refresh tag (GH#275) (Olaf Alders)
2019-11-20 13:21:39 +00:00
wiz
84e123ddd2 Bump PKGREVISIONs for perl 5.30.0 2019-08-11 13:17:48 +00:00
nia
d5c846b3af Update packages using a search.cpan.org HOMEPAGE to metacpan.org.
The former now redirects to the latter.

This covers the most simple cases where http://search.cpan.org/dist/name
can be changed to https://metacpan.org/release/name.

Reviewed by hand to hopefully make sure no unwanted changes sneak in.
2019-06-30 20:14:13 +00:00
wen
0e1ae4d1a7 Update to 1.91
Upstream changes:
1.91      2019-01-10 18:44:33Z
    [ENHANCEMENTS]

    - Don't install Perl::Critic and Perl::Tidy to run user tests (GH#268)
      (Julien Fiegehenn)
    - Remove redundant PodSyntaxTests (GH#265) (Andrew Grangaard)
    - Add test dependency for Perl::Tidy (GH#263) (Julien Fiegehenn)
2019-01-27 05:47:53 +00:00
wen
4320e5de47 Update to 1.90
Upstream changes:
1.90      2018-11-12 18:02:03Z
    [DOCUMENTATION]
    - Pod fixes (GH#261) (Julien Fiegehenn)
    - Fixed pod error as reported by CPANTS. (GH#264) (Mohammad S Anwar)

    [ENHANCEMENTS]
    - Upgrade to HTML::TreeBuilder version 5 to get support for weak references in
      HTML::Element (GH#251) (Julien Fiegehenn)

1.89      2018-10-18 19:13:34Z
    [ENHANCEMENTS]
    - Add support to find_image() and find_all_images() via 'id'
      and 'class' (GH#242) (Julien Fiegehenn)
    - Pass strict/verbose constructor args to HTML::Form (GH#256) (Julien Fiegehenn)
    - Add ability to clear history and tests for history (GH#259) (mschae94)
2018-11-24 09:52:47 +00:00
wiz
93b46879c7 Recursive bump for perl5-5.28.0 2018-08-22 09:43:40 +00:00
wiz
7b4b613e41 p5-WWW-Mechanize: update to 1.88.
1.88      2018-03-23 15:37:25Z
========================================
    [FIXED]
    - tick() now dies if checkbox is not found (GH#248) (Olaf Alders)

    [DOCUMENTATION]
    - Clarify behaviour of submit_form when with_fields is supplied as an arg (GH#247) (Olaf Alders)
    - Document some "Best Practices" (GH#246) (Olaf Alders)
    - Update links in Pod. Suggest LWP::ConsoleLogger rather than LWP::Debug (GH#244) (Olaf Alders)
2018-03-25 16:09:05 +00:00
wiz
dd38abdeaf p5-WWW-Mechanize: update to 1.87.
1.87      2018-02-07 22:04:16Z
========================================
    [FIXED]
    - Fix typo in contributor name (GH#241) (Philippe Bruhat (BooK))
    - Fix link to Michael Schilli's article in Linux magazine (GH#240) (Bernhard Wagner)
    - Fix some section links (GH#238) (Evan Zacks)
    - Override _agent() method. (GH#236) (Сергей Романов)
    - Link to appropriate section of HTML::Form (GH#237) (Evan Zacks)
    - Make version consistent in .pm files (GH#231) (Olaf Alders)

    [ENHANCEMENTS]
    - Return form number in list context. (GH#235) (Сергей Романов)
    - Overload 'post' in order to set 'base'. (GH#111) (Stuart A Johnston)
    - Allow multiple file paths/uris in mech-dump; fixes issue 72 (GH#113) (Nik LaBelle)
    - Add docs for the output of dump_forms (GH#112) (John Beppu)
2018-02-25 19:49:20 +00:00
wiz
7da0d2c6ec Updated p5-WWW-Mechanize to 1.86.
1.86      2017-07-04 15:48:46Z
    [FIXED]
    - use 127.0.0.1 instead of 'localhost' in a test script to avoid the test
      hanging due to ipv6 issues (GH#31, see also changes in 1.85)
2017-08-14 19:20:13 +00:00
wiz
84ed9828cb Updated p5-WWW-Mechanize to 1.85.
1.85      2017-06-28 22:06:00Z
========================================
    [FIXED]
    - use 127.0.0.1 instead of 'localhost' in a test to avoid the test hanging
      due to ipv6 issues (GH#31)
    - Remove private logic for taint checking (Dave Doyle)
    - Fix Pod (simbabque)
    - Bump Test::More prereq to get working subtest support (Karen Etheridge)
    - Fix intermittent failures of taint.t (GH#108) (Kivanc Yazan)
    - Fix kwalitee issues (GH#107) (Kivanc Yazan)

    [ENHANCEMENTS]
    - Print section titles if mech-dump --all is invoked (GH#81) (Сергей
      Романов)
    - Add cookbook docs on dumping a req without sending it (#115) (Grigor
      Karavardanyan)
    - Document that submit only submits current form (GH#114) (nawglan)
    - Add Travis testing on Perl 5.26 (Karen Etheridge)
    - Remove obsolete and unincremented $VERSIONs in test modules (Karen
      Etheridge)
2017-07-04 09:25:59 +00:00
ryoon
b9d9d2fc30 Recursive revbump from lang/perl5 5.26.0 2017-06-05 14:24:48 +00:00
wen
a2385de1ef Update to 1.84
Upstream changes:
1.84      2017-03-07 13:34:57-05:00 America/Toronto
[ENHANCEMENTS]
- Parse url (href attribute) for js window.open  GH#11

[FIXED]
- Set STDOUT to be utf8 in mech-dump. Fixes issue GH#36
- Added --version option to mech-dump
- Don't die on uri() when there has been no request. Fixes issue GH#60
- Remove old information from the cookbook. Fixes issue GH#28
- Documentation correction. Fixes issue GH#65 and GH#59
- Work around Test::More prior to 1.001004. Fixes GH#74
- Fix hostname in test.  Fixes GH#73

1.83      2016-10-14 16:45:30-04:00 America/Toronto
========================================
[FIXED]
- Moved live tests to be author tests. Run using dzil test --author. (Steve
  Scaffidi)

1.82      2016-10-06 23:00:30-04:00 America/Toronto
========================================
[ENHANCEMENTS]
- Added strict_forms flag to submit_form() which sets the HTML::Form strict flag (Gareth Tunley)

[FIXED]
- Fixed tests which tried to access HTTPS urls when LWP::Protocol::https wasn't
  installed (Olaf Alders).  Reported by Slaven Rezi�.  See
  https://github.com/libwww-perl/WWW-Mechanize/issues/54

1.81      2016-10-06 08:52:44-04:00 America/Toronto
========================================
[FIXED]
-  Work around bug in HTTP::Cookies that is triggered on reload().  See
   https://rt.cpan.org/Public/Bug/Display.html?id=75897 (Gianni Ceccarelli)

1.80      2016-09-24 22:38:27-04:00 America/Toronto
========================================
[FIXED]
- Fixes behaviour of submit_form() when multiple filters have been supplied (Ed
  Avis)

1.79      2016-09-16 23:53:48-04:00 America/Toronto
========================================
[ENHANCEMENTS]
- Added form_with() method. (Martin Sluka)
2017-03-11 12:08:14 +00:00
mef
2a638b7e81 Add BUILD_DEPENDS+= p5-Test-RequiresInternet for make test, but still t/live/encoding.t fails 2016-10-18 21:16:22 +00:00
wen
e947b01b60 Update to 1.78
Upstream changes:
1.78      2016-08-08 09:18:59-04:00 America/Toronto
========================================
[OTHER CHANGES]
- No changes specific to this version.  First non-develepment release in about a year.

1.77      2016-08-05 12:50:12-04:00 America/Toronto (TRIAL RELEASE)
========================================
[TESTS]
- Skip Wikipedia tests if LWP::Protocol::https is not installed.

1.76      2016-07-29 12:17:25-04:00 America/Toronto (TRIAL RELEASE)
========================================
[ENHANCEMENTS]
- Added history() and history_count() methods. (Ricardo Signes)
- click_button() now accepts ids. (Olaf Alders)
- Add a more descriptive error message when ->request is called without a
  parameter. (Max Maischein)

[DOCUMENTATION]
- Document that form_id warns in addition to returning undef when a form cannot
  be found. (Olaf Alders)
- Document use of a proxy with bin/mech-dump. (Florian Schlichting)

[OTHER CHANGES]
- New releases for this distribution are now generated by Dist::Zilla
2016-08-16 01:54:48 +00:00
wiz
86a78fce2e Bump PKGREVISION for perl-5.24. 2016-06-08 19:22:13 +00:00
agc
b9b754e081 Add SHA512 digests for distfiles for www category
Problems found locating distfiles:
	Package haskell-cgi: missing distfile haskell-cgi-20001206.tar.gz
	Package nginx: missing distfile array-var-nginx-module-0.04.tar.gz
	Package nginx: missing distfile encrypted-session-nginx-module-0.04.tar.gz
	Package nginx: missing distfile headers-more-nginx-module-0.261.tar.gz
	Package nginx: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package nginx-devel: missing distfile echo-nginx-module-0.58.tar.gz
	Package nginx-devel: missing distfile form-input-nginx-module-0.11.tar.gz
	Package nginx-devel: missing distfile lua-nginx-module-0.9.16.tar.gz
	Package nginx-devel: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx-devel: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package php-owncloud: missing distfile owncloud-8.2.0.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 02:46:46 +00:00
wiz
0f6cced0b6 Update to 1.75, add missing p5-CGI dependency.
1.75
========================================
[OTHER CHANGES]

- WWW::Mechanize::Image and WWW::Mechanize::Link now have a defined $VERSION
- fixed warning about the use of the encoding pragma (new in 5.22) (RT#91971)
- fixed warning about the use of CGI::param in list context (RT#103096)
2015-08-06 08:24:31 +00:00
wiz
2e65d464e8 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:50:58 +00:00
wen
0c5fb64355 Update to 1.74
Upstream changes:
1.74        2015-01-23
========================================
[OTHER CHANGES]

- updated repository link in metadata
2015-01-24 07:12:09 +00:00
mef
065fd40332 Update 1.72 to 1.73
1.73        2013-08-24
========================================
[TESTS]

- Update t/local/back.t to use LocalServer for 404 checking to avoid fails
on win32. Fix by Matt S Trout, patient diagnostics and testing provided
by jayefuu of freenode #perl

- Blow away more proxy env vars in LocalServer, and do it on load so that
the LWP env checking doesn't happen before we've done it.

[OTHER CHANGES]

- Better error when passing only one parameter to follow_link
2015-01-12 13:39:27 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
asau
5eae6a18a3 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-28 06:30:00 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
sno
c55a07f3cc Updating package for Perl 5 module WWW::Mechanize from CPAN in
www/p5-WWW-Mechanize from 1.72 to 1.72nb1

pkgsrc changes:
- adjust dependencies from previous updates ...
2012-07-24 14:11:31 +00:00
sno
eb1b5ba933 Updating package for Perl 5 module WWW::Mechanize from CPAN in
www/p5-WWW-Mechanize from 1.71 to 1.72.

pkgsrc changes:
- adjust dependencies
- update some required modules first (and hopefully don't introduced
  circular dependencies)

Upstream changes:
1.72        Thu Feb  2 18:37:28 EST 2012
========================================
[DEPENDENCIES]
Bumped the HTML::Form dependency to fix failures on CentOS 5
2012-07-24 08:44:59 +00:00
abs
d9eb89389b Updated www/p5-WWW-Mechanize to 1.71
1.71        Tue Nov 14 13:50:41 EDT 2011
========================================
[ENHANCEMENTS]
Recognise application/xhtml+xml as HTML.

[DOCUMENTATION]
Improved docs about support of JavaScript
Typo fixes.

[TESTS]
Updated tests as oops-music.com is in utf-8 now
2012-01-22 19:12:23 +00:00
hiramatsu
4f5928033f Update p5-WWW-Mechanize to 1.70.
Changes from previous:
1.70        Fri Aug 26 13:46:30 EDT 2011
========================================
[ENHANCEMENTS]
Mech now defaults to _not_ running live tests by default.
You can still enable them by running "perl Makefile.PL --live"
Thanks to RJBS for the suggestion

1.69_01
========================================
[INTERNALS]
The test suite for the local tests was updated
2011-10-10 09:52:11 +00:00
abs
976dd0b7d0 Updated www/p5-WWW-Mechanize to 1.68
1.68        Fri Apr 22 01:10:40 EST 2011
========================================
No changes from 1.67_01

1.67_01
========================================
[ANNOUNCE]
As of this release, Jesse Vincent has taken over maintenance of
WWW-Mechanize.  The project's repository can be found at:

 https://github.com/bestpractical/www-mechanize


[FIXED]
Added prereq for HTML::TreeBuilder.
2011-08-23 11:02:20 +00:00
obache
84fa8bcd7c Revision bump after updating perl5 to 5.14.1. 2011-08-14 16:05:39 +00:00
wiz
0f99a403dc Update to 1.66:
1.66        Fri Sep 10 16:25:44 CDT 2010
========================================
[FIXED]
Fixed prerequisites on HTTP::Server::Simple on Windows.

DNS checks in t/autocheck.t and t/local/failure.t improved.  Thanks,
Schwern.

[ENHANCEMENTS]
New $mech->text method returns the text from your HTML page.  The
exact rendering of this text is simply removing all the HTML
tags, but this will change. It's pretty ugly.  If anyone wants to
work on a better-looking text dump, I'd love to see it.

Added mech-dump --text.

[DOCUMENTATION]
Improvements to the docs explaining explicitly about the subclassed
methods we inherit from LWP::UserAgent.  Thanks, Lyle Hopkins!
2010-09-12 13:01:43 +00:00
seb
c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
2010-08-21 16:32:42 +00:00
seb
54e0cafb37 Update p5-WWW-Mechanize from version 1.62 to version 1.64.
Upstream changes:
1.64        Thu Jul  1 10:41:00 CDT 2010
========================================
[THINGS THAT MAY BREAK YOUR CODE]
If you've been accessing $mech->{forms} or $mech->{form} values
directly, instead of going through the $mech->forms or $mech->current_form
accessors, respectively, then this version of Mech will break your
code.

[ENHANCEMENTS]
Parsing of forms has been delayed until they're actually needed.
If don't use forms on a page, you'll no longer waste time and memory
parsing them.

$mech->title now caches the title of the page after parsing the
page to find it.

mech-dump now takes a --cookie-file parameter for keeping cookies
between calls.


[DOCUMENTATION]
Typo fixes.
2010-07-14 10:47:22 +00:00
seb
902ad2ec9d Update p5-WWW-Mechanize from version 1.60 to version 1.62.
Upstream changes:
NEXT        Sat Apr 10 23:10:07 CDT 2010
========================================
[FIXED]
Fixed a declaration in the Movable Type example in
WWW::Mechanize::Examples.

Quiet warnings if %ENV has undef values.

$mech->follow_link() no longer dies with an inappropriate error if
the link is not found.

$mech->click_button() now checks to see if a form is selected.

[INCOMPATIBILITIES]
$mech->form_name() and $mech->form_number() no longer throw warnings
if they can't find the form specified.  They still return undef,
though.

[DOCUMENTATION]
More additions to the FAQ.
2010-04-18 08:12:19 +00:00
sno
5a8a77f355 Updating package www/p5-WWW-Mechanize from 1.58 to 1.60
Upstream changes:
1.60        Mon Aug 17 00:41:39 CDT 2009
========================================
No new features.  Exists only to skip tests that always fail on
Windows.

Fixed up some minor documentation problems.
2009-08-19 18:37:41 +00:00
sno
6c0e6b18cd pkgsrc changes:
- Updating package for p5 module WWW::Mechanize from 1.54 to 1.58
  - Adjusting license and dependencies according to META.yml and Makefile.PL

Upstream changes:
1.58        Mon Jul 13 22:32:23 CDT 2009
========================================
No new features.  If you have 1.56 installed OK, you do NOT need
to install 1.58.

[FIXES]
Removed prereq of HTTP::Response::Encoding, even though it was never
used.  Thanks for the catch, Gisle.



1.56        Thu Jul  9 00:36:54 CDT 2009
========================================
[THINGS THAT MAY BREAK YOUR CODE]
For a while, Mech used HTTP::Response::Encoding to try to suss out
the proper encoding of the page it receives.  Now, it lets
LWP::UserAgent do the work, and no longer requires
HTTP::Response::Encoding.

[ENHANCEMENTS]
Added a new dump_headers() method to dump the HTTP response headers.

Added --headers flag to mech-dump to dump the HTTP response headers.

[FIXES]
Now requires LWP version 5.829 because HTTP::Response has memory
cycle bugs.

[DOCUMENTATION]
Added a few notes to the FAQ, and fixed some incorrect docs.


1.55_01     Mon Jul  6 12:17:10 CDT 2009
========================================
This is mostly a bug fix release.  There will be a number of other
bug fix releases in the next few days.

[FIXED]
New test server now randomizes the port it runs on.

t/cookies.t should not hang on Windows any more.

META.yml has been updated so the search.cpan.org links should be
correct.

Passing no_proxy would make LWP::UserAgent barf.  Thanks to Mike
Schilli for the fix.

Cookies test would fail under Windows.  Fixed, thanks to many people
reporting it.

[ENHANCEMENTS]
$mech->submit_form() now can specify the form by ID using the form_id
parameter.

[DOCUMENTATION]
The docs used to say that ->stack_depth(0) was an infinite stack
size.  This is wrong.  Zero will tell Mech not to keep any history.
2009-07-19 10:20:30 +00:00
sno
c8f077dffe PkgSrc changes:
- Updating package for p5 module of WWW::Mechanize from 1.52 to 1.54
  - Adding some test dependencies
  - Setting license to gnu-gpl-v2

Upstream changes:
1.54        Mon Jan 12 00:36:08 CST 2009
========================================
[FIXED]
Removed the computers4sure test that was failing.
2009-05-01 13:22:57 +00:00
he
94048564fa Update from version 1.34nb1 to 1.52.
Pkgsrc changes:
 o Changed MAINTAINER to pkgsrc-users@, hope that's ok
 o Adjusted dependencies according to new requirements

Upstream changes:

1.52        Tue Nov 25 09:52:30 CST 2008
========================================
[FIXED]
Improved some error messages in $mech->submit_form().  Thanks to
Norbert Buchmuller.


1.51_03     Thu Nov 20 11:05:49 CST 2008
========================================
[FIXED]
The $mech->clone() method was not passing the cookie jar to its
clone properly.  Thanks to David Sainty.

The $mech->back() can fail if there's nothing on the stack to go
back to.  Thanks to Dave Page.

$mech->follow_link() did not complain if a link could not be found,
even with autocheck on.  Now it does.  Thanks, Flavio Poletti.

[ENHANCEMENTS]
Added a $mech->form_id() method so you can look up forms by ID.

Added $mech->content_type(), because $mech->ct() is too cryptic.


1.51_02     Tue Nov 18 01:30:54 CST 2008
========================================
[STILL BROKEN]
t/local/click_button.t is still failing its tests for calling ->click
on an HTML::Form object.  I suspect this is an LWP change, but I
haven't dug into it enough yet.

[FIXES]
Fixed the bad credentials API that stomped on LWP::UserAgent's
credentials() method.  Thanks to Max Maschien and Matt Lawrence.

The $mech->links method now finds <link href="..."> links. Thanks
to H.Merijn Brand.

Makefile.PL explicitly requires Perl 5.8.0.

URI.pm has to be version 1.36 or else URIs don't get encoded
correctly.

LWP has to be 5.819 or we have encoding problems.


1.51_01     Thu Nov  6 15:13:03 CST 2008
========================================
[FIXES]
Page history is now working much better.  The $mech->back() method
should behave more like a browser now.  Most notably, it no longer
restores the cookie state, just like your browser doesn't restore
cookie state when you page back.  It also should use much less
memory.


1.50        Sun Sun Oct 26 22:42:46 CDT 2008
========================================
[THINGS THAT MAY BREAK YOUR CODE]
WWW::Mechanize now requires version 5.815 of LWP.  This in itself
may cause problems for you because of changes in how LWP does
authentication.


1.49_01     Sat Sep 27 23:50:04 CDT 2008
========================================
[THINGS THAT MAY BREAK YOUR CODE]
The autocheck argument to the constructor is now ON by default,
unless WWW::Mechanize is being subclassed.  There are so many new
programmers whose ->get() calls fail unchecked that I'm now putting
on the seat belts for them.

[FIXES]
I do believe we are on the way to having all the encoding problems
ironed out.  This version incorporates a patch from here:

    http://code.google.com/p/www-mechanize/issues/detail?id=61

and tests from Miyagawa's WWW::Mechanize::DecodedContent

    http://search.cpan.org/dist/WWW-Mechanize-DecodedContent/

to finally fix this.

[ENHANCEMENTS]
You can now specify not to set up the proxy, if there is one.  The
proxy causes problems for Crypt::SSLeay.  For details see:
http://code.google.com/p/www-mechanize/issues/detail?id=39

[DOCUMENTATION]
Fixed internal links.

[INTERNALS]
Lots of refactoring based on Schwern's "Skimmable Code" talk.

http://use.perl.org/~schwern/journal/36704
http://schwern.org/~schwern/talks/Skimmable%20Code%20-%20YAPC-NA-2008.pdf
2008-12-16 22:30:07 +00:00
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
2008-10-19 19:17:40 +00:00
abs
c21aed3fb4 Update p5-WWW-Mechanize from 1.30 to 1.34
1.34        Mon Dec 10 00:30:39 CST 2007
========================================
[FIXES]
Many fixes to make the test suite more portable.


1.32        Tue Oct 30 12:02:17 CDT 2007
========================================
[ENHANCEMENTS]
Added dump methods to mirror mech-dump:
* $mech->dump_images()
* $mech->dump_links()
* $mech->dump_forms()
* $mech->dump_all()

Sanity checks in the WWW::Mechanize::Image constructor.  Every Image
must have a "url" and "tag" field passed in to it.


1.31_02     Thu Oct 25 11:48:29 CDT 2007
========================================
[ENHANCEMENTS]
Added class, class_regex, id and id_regex limiters to find_link()
and find_all_links().  Thanks to Adriano Ferreira.


1.31_01     Mon Sep 17 23:38:03 CDT 2007
========================================
[FIXES]
Mech tests now pass even if your DNS server gives A records for
anything (like OpenDNS).  Thanks, Miyagawa!

Searching for the <base href> is now case-inensitive.  A better
solution would be to actually parse the HTML.

[ENHANCEMENTS]
mech-dump now handles --user and --password arguments for sites
that require authentication.
2008-04-08 10:33:44 +00:00
jlam
56ba4d2690 Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mk
can handle packages having no PLIST files.
2007-10-25 16:54:26 +00:00
heinz
e3f2086dc7 The package supports installation to DESTDIR. 2007-07-01 17:24:58 +00:00
heinz
ba5c2106a8 Update to version 1.30 by maintainer Dieter Roelants.
Changes since version 1.24
==========================

1.30        Thu May 24 21:31:10 CDT 2007
========================================
[DOCUMENTATION]
*   Minor doc fixes.  Thanks David Steinbrunner.

1.29_01     Tue May 22 14:02:55 CDT 2007
========================================
Kevin Falcone and I ask for your assistance in figuring out how to
handle the warnings thrown by the tests, other than hiding them.

[FIXES]
*   Overhauled how tainting was done.  Stole code directly from
    Test::Taint.
*   Have LWP only handle decoding of Content-Encoding, not charset.

[DOCUMENTATION]
*   Fixed the docs for $mech->submit_form()'s with_fields arg.
    Thanks, Peteris Krumins.

1.26        Wed May 16 14:21:29 CDT 2007
========================================
[FIXES]
*   Re-reversed the content decoding.  This is critical for reading from
    sites with gzip on the fly, like Wikipedia.
*   Content is now properly tainted.

[ENHANCEMENTS]
*   mech-dump can now pass --agent and --agent-alias flags so you can
    fetch from sites like Wikipedia that block LWP user agents.

[INSTALLATION]
*   The mech-dump program is now always installed.  It no longer is
    presented as an option.
2007-07-01 17:22:12 +00:00
wiz
0642637c00 Update to 1.24:
1.24        Fri May 11 15:57:56 CDT 2007
========================================
[FIXES]

*   Fixed failures in "make test" with some versions of HTTP::Server::Simple
*   RT #26593: Improved handling of charsets.  Thanks Kevin Falcone.
*   RT #24354: find_link now handles http-equivs with quoted URLs.
*   Reverses the change in 1.21_01 where it decodes the content.

[ENHANCEMENTS]
*   Added find_all_inputs() and find_all_submits() methods.  Thanks,
    Mike O'Regan.
*   Test::LongString is no longer needed, so has been removed as a
    requirement.

[TESTS]
*   Added a test for save_content()
2007-06-08 11:32:00 +00:00
wiz
5bad588a57 Update to 1.22:
1.22        Fri Mar  2 00:05:57 CST 2007

[INTERNALS]
Added new tests.

Added Perl::Critic changes and a perlcriticrc file.


1.21_04     Sat Oct  7 21:35:42 CDT 2006

[FIXES]
*   $mech->content( type => 'text' ) was not freeing memory.  Thanks to
    Cat Okita for finding it.

[INTERNALS]
*   Made the order of parms to $mech->content() not relevant.


1.21_03     Sat Oct  7 01:21:46 CDT 2006

[THINGS THAT MAY BREAK YOUR CODE]
*   The methods $mech->form() and $mech->follow() have been removed.
    They've been deprecated since 1.10, which was released in Feb 2005.

[ENHANCEMENTS]
*   I'm trying to nail down what seems to be a memory leak on long-running
    Mech programs.  I'm stringifying URI::URL objects wherever I can.

[INTERNALS]
*   No longer uses UNIVERSAL.


1.21_02     Wed Oct  4 13:14:30 CDT 2006

[ENHANCEMENTS THAT MAY BREAK YOUR CODE]

*   The $mech->stack_depth() setting had no way to say "don't cache any
    pages at all".  How silly!

    Now, if you set $mech->stack_depth(0), no history of pages will be kept.
    In the past, it would mean "Keep all pages."  This means that if you want
    to set it to keep all pages, set it to some ridiculously large number.

[DOCUMENTATION]
*   The docs previously refered to Compress::Gzip instead of Compress::Zlib.


1.21_01 Mon Sep 18 17:18:43 CDT 2006

[ENHANCEMENTS]
*   If Compress::Zlib is installed, gzipped content is now
    accepted and transparently decoded. No additional syntax needed!
    This should save time and bandwidth in a number of cases.
    (Mark Stosberg)

*   Added a put() method.  It also calls a subfunction called
    _SUPER_put that will be removed once LWP::UserAgent supports put().
2007-03-10 15:13:27 +00:00
wiz
b59acd4f0a Update to 1.20:
1.20
        [ENHANCEMENTS]
        * Added new two-argument form of credentials() method.
          $mech->credentials($username, $password);
          That provides simpler visiting of password-protected
          resources in the vast majority of cases and still
          allows the other cases to be supported. (Peter Scott)

        [BUG FIXES]
        * autocheck no longer is triggered when informational
          responses are returned. (Mark Stosberg)

        [INTERNALS]
        * test suite no longer fails when Test::Warn is missing.
          (CPAN testers, Mark Stosberg)
        * Removed all the testing against live sites. The networking
          code is not actually in Mech anway, and they were prone to
          breaking, as the live sites changed. (Mark Stosberg)


1.19_02 Mon Aug  7 23:57:56 CDT 2006

        [ENHANCEMENTS]
        * Add new Do-What-I-Mean submit_form() option.
            $mech->submit_form(
                with_fields => \%data
            );
         That expresses that you want to select the first form contains all
         fields in \%data, and then submit the data to that form. See the docs
         for form_with_fields() and submit_form() for details.
         (Mark Stosberg, inspired by RT#6100)

        [BUG FIXES]
        * The behavior of clone() now copies over the cookie jar, which
          is probably what you expected it did in the first place.
          This fixes bug RT#13541 filed against Test::WWW::Mechanize,
          which was using clone() internally. (Mark Stosberg)

        * The correct URL is returned after redirecting. This a regression
          from 1.04 and was reported as RT#9059, RT#12882, and RT#12786.
          The documentation about this has also been clarified that we
          return a URI object, but that it stringifies to the URI itself.

        [DOCUMENTATION]
        * Fixed a misleading parm in the constructor.
        * Document the return value of set_visible (RT#6071, MJD,
          Mark Stosberg)
        * Document that form_name and form_number return an HTML::Form
          object (Mark Stosberg)

        [INTERNALS]
        * Made lots of little cleanups based on Perl::Critic
        * Fix Taint-mode warnings with Perl 5.6.1 (RT#16945)
2007-02-18 03:21:59 +00:00