Debian Codegraph @

Changes

raw ◀ ▶
1 Debian patch touch this file
1 Revision history for Perl extension WWW::Mechanize::Shell.
2
3 Todo:
4 * Think about HTML::FillInForm for displaying changed form values interactively
5 * Check how the new WWW::Mechanize JavaScript handling interacts with the
6 shells own JS blocking (badly, I guess)
7 * Use Scalar::Util::weaken if available
8 * Think how to add other (Xpath) extractions to conveniently
9 display stuff via CSS selectors or XPath selectors. Steal
10 from Web::Scraper.
11 * There is a memory leak between ::FormFiller and ::Shell
12 * Ditch Hook::LexWrap now that LWP::UserAgent has progress callbacks
13 * Add set-cookie and delete-cookie commands
14 * Add (optional) HTTP::Cookies::Find support
15
16 0.63 2026-07-27
17 * Support LWP four argument auth() method (code by Alexander Bluhm, thanks)
18
19 0.62 2023-07-21
20 * Test stability fix
21
22 0.61 2023-07-21
23 * Various test suite updates, no code updates, no need to upgrade
24 * Test suite now runs in parallel
25
26 0.60 2021-12-06
27 * Delete proxy-related environment variables when testing
28 Upstreamed from Debian by gregor hermann, thanks!
29
30 0.59 2020-05-04
31 * HTML::Form::find_input() has a 1-based index
32 Reported by the CPAN testers, thanks!
33
34
35 0.58 2019-09-30
36 * Made the tests pass on IPv6 enabled systems
37 Uncovered by making Test::HTTP::LocalServer work on IPv6 enabled systems.
38 * Test-only improvements, no need to upgrade
39
40 0.57 2018-06-04
41 * Add "images" command to list all images
42 * Allow other user agent objects like WWW::Mechanize::Chrome
43 Use it from the command line as
44 perl -Ilib -MWWW::Mechanize::Chrome \
45 -MWWW::Mechanize::Shell \
46 -e"shell(agent => WWW::Mechanize::Chrome->new())"
47
48 0.56 2017-04-25
49 * Send uncompressed output to the browser
50 (contributed by weltonrodrigo)
51 * Fix some warnings caused by links without a text
52 * Fix test suite due to newer version of Test::Without::Module
53 * Upgrade the test HTTP server to work in absence of CGI.pm
54
55 0.55 2015-04-26
56 * Fix one more test against new sprintf() warnings in 5.21+
57
58 0.54 2015-04-26
59 * Fix test suite against new sprintf() warnings in 5.21+
60 * Fix test suite against calling CGI::param in list context
61 Both analyzed and contributed by Slaven Rezic
62
63 0.53 2013-08-10
64 * Add links to repository, contributed by D. Steinbrunner
65
66 0.52 2011-01-06
67 * Fix stupid thinko in test (only affects tests on 5.13+)
68
69 0.51 2011-01-05
70 * Make a test more robust against 5.14
71 * Streamlined Exporter.pm usage
72 * Rely on parent.pm instead of base.pm
73 * No need to upgrade
74
75 0.50 2010-08-21
76 * Remove test file that was just testing LWP functionality and that
77 failed for some weird setups where nonexistent hosts still
78 result in a successful HTTP request.
79 * Added links to repositories
80
81 0.49 2010-08-17
82 * Apply [rt.cpan.org #59246] ,
83 thanks to Ansgar Burchardt
84 This fixes another case where API changes in LWP weren't mirrored
85 by this module.
86 * Fix t/14-command-identity.t to not make an external request anymore
87 Addresses [rt.cpan.org #59883]
88
89 0.48 2008-11-09
90 * More test fixes for incompatibilities between LWP and Mechanize 1.34+
91 * Removed way to set up authentication for more than one site
92 * WWW::Mechanize monkeypatches LWP::UserAgent and thus you can only ever
93 have one set of user/password in your script.
94
95 0.47 2008-11-02
96 * Fix tests to work with libwww 5.815+ which automatically retries
97 with empty user/password
98 * WWW::Mechanize 1.34+ breaks Basic authentication with LWP 5.815+
99 so all auth tests are skipped until Andy Lester and Gisle Aas
100 work out who has to fix their stuff.
101 * Hook::LexWrap is subject to bug [perl #46217], this might
102 cause problems if you're running Perl 5.10.0. All tests pass.
103
104 0.46 2007-10-03
105 * Bump version because of borked CPAN upload, retrying
106 * No need to upgrade
107
108 0.45 2007-10-03
109 * No library code changes, no need to upgrade
110 * Removed HTML::Display from the distribution
111 as that now lives its own life on CPAN
112 * Fix failing tests if HTTP_PROXY was set. This fixes
113 Debian bug #444634, http://bugs.debian.org/444634
114 and CPAN RT #29455, thanks to Niko Tyni
115
116 0.44 2007-07-07
117
118 * Added C<title> and C<headers> commands that print out
119 the title and headers of the page. Suggested by Ed Halley.
120 * Added and documented arguments to the C<< shell >> subroutine
121 * Quieted up some test warnings
122 * IO::Catch now understands C<printf>
123 * Upgrade to Term::Shell v0.02 which now displays the help
124 summary better.
125
126 0.43 2007-05-11
127 * fix failures on 5.6.2 with a B::Deparse version that doesn't
128 support ->ambient_pragmas() - they get ignored there now.
129
130 0.42 200704..
131 * Test fixes only, no need to upgrade
132 * Patches submitted by MAREKR (RT #26397) and somebody else whose
133 name I cannot find, sorry.
134 * Delete some more proxy settings for the test runs
135
136 0.41 2007-04-14
137 * Codeacrobat release
138 * Restore compatibility with WWW::Mechanize 1.22
139 Thanks to Jörg Meltzer who sent in the patch
140
141 0.40 2007-01-17
142 * Fixed showstopper bug in prompt method that was hidden
143 by all tests disabling interactive prompts
144 Thanks to all reporters
145
146 0.39
147 * Bumped module version
148 * Fix for RT 22121 - shell does not start
149
150 0.38 2006-12-14
151 * Bumped module version
152 * Added a test for HTML::TableExtract functionality
153 which went untested so far
154 * Fixed HTML::TableExtract functionality
155 This functionality now requires
156 HTML::TableExtract 2.0 or higher, sorry
157 * This release now needs WWW::Mechanize 1.20, for the update_html
158 method which is used in the tests. Sorry.
159 * Reworked code generation and code execution
160 * ! Think about plugins for other extractions:
161 * Template::Extract
162 * XML::XPath extractions
163 * Think about using a different shell framework provider
164
165 0.37
166 * Fixed bug that created invalid code for the C<auth> command
167
168 0.36
169 * Fixed the actual bug too.
170
171 0.35
172 * Fixed documentation in HTML::Display::Debian about C<x-www-browser>.
173
174 0.34
175 * Fixed a bug where C<form 2> resulted in an error. Now selecting a form by
176 number actually works. Thanks for the report via RT.
177
178 0.33
179 * The C<form> command now got a life of its own instead of being a lazy abbreviation
180 of the C<forms> command. It takes a form name or form number.
181
182 0.32
183 * now WWW::Mechanize::Shell directly uses HTML::TokeParser::Simple. Previously,
184 it was only needed for special cases of HTML::Display.
185 * WWW::Mechanize::Shell now strips all "target" attributes from your HTML.
186
187 0.31
188 * test t/13* didn't work when the CPAN build directory contains a space
189 * Added patch by Philippe "BooK" Bruhat to allow downloading big files
190 directly to disk.
191
192 Changed behaviour:
193 * The referrer header now always points to the original page you save from
194 when using the C<save> command.
195
196 0.30
197 * Now needs the latest? Test::Harness because otherwise some tests failed
198 from time to time for no apparent reason.
199 * using Devel::Cover. Code coverage of WWW/Mechanize/Shell.pm is now at 75.00%
200 through the test suite
201 * Provide better text for all links (for example when the content is an image)
202 * Now moved to use WWW::Mechanize::Link instead of direct array access
203 * This means it requires WWW::Mechanize 0.57 or higher
204 * added "comment" command, which allows to add comments to both, the shell
205 script and the generated script. (Donated by Alexander Goller)
•206 * accomodated for most recent version of LWP, which doesn't die on failing host
207 lookups but returns error 500.
208
209 0.29
210 * Fixed bug when autocompletion did crash the shell (S. Rezic)
211 * HTML::Display::Opera does not open a new window anymore (S. Rezic)
212 * Moved private package "Catch" to IO::Catch and made all tests use that package
213
214 0.28
215 * Add $PAGER support for multiline output
216 * "referer" command now prints the old referer if no new value is given
217 * added RT bug email address to documentation
218
219 0.27
220 * now needs WWW::Mechanize 0.47
221 * added "tick" and "untick" commands (plus tests)
222 * fixed t/14*.t so that now the correct locations are used
223 * removed ::Unwrap class that was not used anywhere
224 * If more than one value is passed to the "value" command, the parameters
225 are concatenated with spaces
226 * added test that all released files are in Unix text format
227 * added "dumpresponses" option
228 * added "verbose" option that prints the commands while sourcing a file (Prakash Kailasa)
229 * "content" now can save the content to a file (Prakash Kailasa)
230 * added "ct" command to print the Context-Type header (Prakash Kailasa)
231 * added "referer" and "referrer" command to change the Referer header (Prakash Kailasa)
232 * added "timeout" command to set the LWP::UserAgent timeout (Prakash Kailasa)
233 * added "response" command to display the complete response (request by Mark Stosberg)
234 * updated tests to accomodate for the new commands
235
236 0.26
237 * added RE support to autofill
238 * fixed broken HTML display as the filename was passed doubled
239 * POD fixes
240 * HTML::Display now checks for @ISA before loading a file
241 * Displaying shared files is now tested against
242 * Updated POD to reflect the new RE parsing
243
244 0.25
245 * The "versions" command also lists HTML::Display now
246 * hunted down and fixed error in skipping too many tests in t/01-Win32-OLE-fallback.t
247 * fixed redefinition warning in t/00-use.t
248 * updated local server tests
249
250 0.24 - fixup release for 0.23
251 * Added $VERSION to all HTML::Display modules
252 * patched handing of BASE tags, so that more cases are caught.
253 This adds HTML::TokeParser::Simple as a prerequisite. Thanks to
254 Mark Stosberg for the initial patch!
255 * fixed loading of classes in HTML::Display. Classes are only required
256 if there is no method "display_html" in that namespace already.
257 * fixed embarassing Linux compatibility bugs
258 * HTML::Display::TempFile now also works under Windows where sharing did not
259 allow another process to read the file while it was being written
260
261 0.23
262 * "submit" didn't reload the browser HTML. Thanks to Slaven Rezic.
263 * t/14* now skips instead of fails tests that can't succeed.
264 * fixed test failing if Term::ReadKey was not available
265 * fixed synopsis code not reading the .mechanizerc
266 * made WWW::Mechanize::Shell use the "reload" method of WWW::Mechanize
267 (after all, I asked for that method ...)
268 * Test for multivalues added, but it's not testing the right stuff yet
269 (see https://rt.cpan.org/Ticket/Display.html?id=2700 ). Not in MANIFEST
270 and/or distribution, but the Changes file is also for me :-)
271 * clarified documentation about "watchfiles" and "autoreload" (thanks to
272 Mark Stosberg)
273 * Documentation fixes for "open" and "links" (also courtesy of Mark Stosberg)
274 * The dumprequests feature needs Hook::LexWrap - it didn't work
275 properly before. The feature is tested in t/14
•276 * "restart" in a -e oneliner doesn't crash the shell (it also doesn't restart though)
277 * factored out the HTML display into a module of its own (HTML::Display),
278 distributed with this. This breaks existing setups, as the "browsercmd"
279 and "useole" option disappeared. You can configure the used browser
280 class by setting the environment variable PERL_HTML_DISPLAY_CLASS
281 or PERL_HTML_DISPLAY_COMMAND, either in your environment or in your mechanizerc.
282
283 If this feature causes too much grief, I will reimplement the browsercmd
284 stuff again in a later release (but possibly different).
285
286 Please also tell me whether HTML::Display would be worth a release on its own!
287
288 0.22
289 * The module now requires WWW::Mechanize v0.43, as the internal
290 API of WWW::Mechanize changed. Mixing W::M::S 0.21 or below with W::M v0.43+
291 will not work as will mixing W::M::S 0.22+ with W::M v0.41-
292 * Added new command "reload", which repeats the last request
293 (intended for testing/modifying server side code)
294 * Altered fillout command - now _all_ fields that aren't predefined
295 via an "autofill" command get asked interactively. Previously fields
296 that already had a value weren't asked. This means that you maybe
297 have to rewrite parts of your scripts if you are using the shell
298 as a testing tool. See t/14* and t/16* for scripts that redefine
299 the interactive asking method to something noninteractive.
300 Field types that do not get asked are : hidden,submit
301 * The "eval" command now takes multiline strings. This is not interesting
•302 if you're using the plain shell, as the readline shell doesn't know about
303 about multiline strings, but if you're using the $shell->cmd() feature,
304 it's handy to split your evals over more than one line.
305
306 0.21
307 * Fixed error in one-liner usage
308 * Fixed embarassing errors in 'forms' and 'save' commands
309 * other documentation fixes
310 * The history can now be saved directly to a file
311 * The script can now be saved directly to a file
312 * The generated scripts now have a correct shebang line
313 * Fixed redirect behaviour in generated scripts
314 * Manually filled values (via 'fillout') now get created as 'value' commands
315
316 0.20
317 * made t/00a*.t a TODO test so that CPAN install (silently) works
318 * updated documentation on how to specify custom callbacks from
319 within the shell (having an interpreter with eval rules!)
320 * various documentation fixes
321 * fixed behaviour of "open" with regard to regular expressions
322 * extensive testing of shell behaviour regarding the navigation added
323 * Fixed t/06* when Test::MockObject is not installed
324
325 0.19
326 * Added t/00a*.t to check for a Term::Shell bug to the MANIFEST
327 * renamed the "history" command to "script"
328 * the new "history" command now outputs the "relevant" shell commands
329 * added "versions" command to print out the versions of the installed modules
330 * added "ua" command to easily change the user agent string
331 * added documentation for some more methods
332 * added understanding of "#" as a comment
333 * added a "save" command to save links into files
334 * added "auth" command for basic authentication (suggested by merlyn)
335 * added live test of the auth command against HTTP::Daemon (code provided by merlyn)
336 * added test that 'url' basic authentication also works (http://login:[email protected])
337 * added convenience "shell" module method :
338 perl -MWWW::Mechanize::Shell -e "shell"
339 * added full end-to-end testing for many commands and their generated scripts
340 * fixed many bugs in the generated scripts
341 * many documentation fixes
342 * Term::ReadLine now gets disabled for the tests
343 * silenced HTML::Form warning for readonly fields
344
345 0.18
346 * No functional changes to v0.17
347 * Discovered that and documented how file uploads work
348 * Added BUGS section to documentation
349
350 0.17
351 * Fixed a doc bug where "exit" referred to the (nonexistent) "quit" topic (thanks Mark)
352 * Made a test checking the version of Term::Shell and the help summary bug
353 * Fixed t/06*.t - it crashed when Test::MockObject wasn't installed
354
355 0.16 2003-04-29
356 * Changed double quotes around parameters to single quotes
357 to allow for urls like http://[email protected] (thanks Mark)
358 * Added tests to check that created scripts at least compile
359 * Made the form fillout more robust by wrapping it in an eval block
360
361 0.14 2003-04-14
362 * Fixed a bad list bug introduced with my unix-browser patch to the options system. Slaven Rezics
363 submitted patch had nothing to do with this, I only grabbed the idea from him but did botch
364 the implementation myself.
365 * Added a test that all options can be set and reset
366 * Reenabled all warnings in the tests
367 * Removed one warning for an unavailable module
368 * Added first part of JavaScript handling :
369 The shell detects when you want to follow a javascript: link,
370 and says that you can't do that.
371
372 0.13 2003-04-04
373 * Slaven Rezic submitted a patch to enable synchronous HTML
374 display under Unix ! Thanks go to Slaven !!
375 All bugs/errors are my fault !
376 * fixed a crash if the url to the get command was invalid
377 * fixed a crash if a browser was launched without a previous request
378 * added tests for those two crashes
379 * moved example shell from examples/shell.pl to bin/wwwshell.pl
380
381 0.12 2003-03-20
382 * Added a test to check for the behaviour if HTML::TableExtract is not present
383 * silenced warnings in the tests
384 * No changes to the main module except for the version number
385
386 0.11 2003-03-18
387 * Updated the tests so they skip when there is no terminal available
388 (as is the case when the tests are run from cron)
389 * Fixed the inline tests so the synopsis shows again
390
391 0.10 2003-03-12
392 * Added the "table" command to display/dump HTML tables using HTML::TableExtract
393 * Added "table" history
394 * Added tests for history
395 * Brought README file up to date with the suggested support modules
396 * Added example showing off tables
397 * Added proxy support to the shell and the produced scripts
398 * Added documentation on proxy
399 * Added table lister
400
401 0.09 2003-03-08
402 * I should go back and use the web interface. It was made for people like me.
403
404 0.08 2003-03-08
405 * third time's the charm
406
407 0.07 2003-03-08
408 * And again, because I am stupid
409
410 0.06 2003-03-08
411 * bumped version because I uploaded a partial file to CPAN ...
412
413 0.05 2003-03-07
414 * Fixed the dependency on Win32::OLE - the module now handles other
415 environments gracefully
416 * Added some tests for the module fallbacks (these tests need Test::Without::Module)
417 * moved handling over to cvs
418
419 0.04 2003-03-01
420 * reupload as the 0.02 and 0.03 upload was broken
421
422 0.02 2003-02-28
423 * Made the shell much more robust against wrong parameters and
424 internal failures.
425 * Open /foo/ now goes into the Perl code as "follow(/foo/)",
426 as it should be
427
428 0.01 2002-11-07
429 * original version; created by h2xs 1.21 with options
430 -X WWW::Mechanize::Shell