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