Blame CHANGES

Packit 7f759a
1.02 Thu May  3 09:42:15 BST 2018
Packit 7f759a
Packit 7f759a
  Bug fixes:
Packit 7f759a
  - Resolve RT #118424 can't use IPC::Cmd->run_forked in the first process of a container
Packit 7f759a
  - Make fix for RT #91784 only apply to HPUX
Packit 7f759a
Packit 7f759a
1.00 Wed Feb 14 16:14:01 GMT 2018
Packit 7f759a
Packit 7f759a
  Bug fixes:
Packit 7f759a
  - Resolve RT #91784  'run_forked("/usr/bin/echo test") captures no output'
Packit 7f759a
  - Resolve RT #124415 'The 03_run_forked.t test fails (sometimes) on HPUX'
Packit 7f759a
Packit 7f759a
0.98 Fri May 12 17:00:07 BST 2017
Packit 7f759a
Packit 7f759a
  Enhancements:
Packit 7f759a
  * Added wait_loop_callback for run_forked()
Packit 7f759a
Packit 7f759a
  Bug fixes:
Packit 7f759a
  * Only search in curdir in can_run() when on Win32
Packit 7f759a
    RT#105601
Packit 7f759a
Packit 7f759a
0.96 Thu Jul 28 11:17:12 BST 2016
Packit 7f759a
Packit 7f759a
  Bug fixes:
Packit 7f759a
  * Require Module::Load::Conditional 0.66 to resolve
Packit 7f759a
    CVE-2016-1238: avoid loading optional modules from default .
Packit 7f759a
Packit 7f759a
0.94 Fri Feb 12 18:55:05 GMT 2016
Packit 7f759a
Packit 7f759a
  Bug fixes:
Packit 7f759a
  * move __END__ above POD in documentation (plicease)
Packit 7f759a
  * Don't clobber $SIG{__DIE__} and $SIG{__WARN__} in open3_run() (avar)
Packit 7f759a
  * Fix 'terminate_on_signal' segfaulting (Petya Kohts)
Packit 7f759a
  * Fix usage of fcntl(..., F_GETFL, ...) (tonyc)
Packit 7f759a
Packit 7f759a
0.92 Wed Jan 22 19:57:27 GMT 2014
Packit 7f759a
Packit 7f759a
  Test fixes:
Packit 7f759a
  * Use File::Temp in run_forked tests (hugmeir)
Packit 7f759a
Packit 7f759a
0.90 Mon Nov 18 15:08:15 GMT 2013
Packit 7f759a
Packit 7f759a
  Misc:
Packit 7f759a
  * skip some problematic tests when PERL_CORE
Packit 7f759a
Packit 7f759a
0.88 Fri Nov 15 14:44:03 GMT 2013
Packit 7f759a
Packit 7f759a
  Misc:
Packit 7f759a
  * skip some problematic tests on Cygwin
Packit 7f759a
Packit 7f759a
0.86 Mon Nov  4 14:09:42 GMT 2013
Packit 7f759a
Packit 7f759a
  Bug fixes:
Packit 7f759a
  * run_forked: workaround absent CLOCK_MONOTONIC on OSX (Petya Kohts)
Packit 7f759a
  * RT#89770 Patch to fix error reporting if command killed by signal
Packit 7f759a
    (Ed Avis)
Packit 7f759a
  * Make the false test more forgiving, for Solaris and other SVR*
Packit 7f759a
    (bingos)
Packit 7f759a
Packit 7f759a
0.85_02 Thu Oct 10 13:59:34 BST 2013
Packit 7f759a
Packit 7f759a
  Bug Fixes:
Packit 7f759a
  * run_forked: incomplete output more than buffer size
Packit 7f759a
Packit 7f759a
0.85_01 Thu Sep  5 20:30:51 BST 2013
Packit 7f759a
Packit 7f759a
  Enhancements:
Packit 7f759a
  * run_forked() now uses Time::HiRes and Carp
Packit 7f759a
Packit 7f759a
0.84    Tue Aug  6 10:03:03 BST 2013
Packit 7f759a
Packit 7f759a
  Enhancements:
Packit 7f759a
  * Lowered CPU usage for run_forked() (Petya Kohts)
Packit 7f759a
Packit 7f759a
  Bug Fixes:
Packit 7f759a
  * RT#85912 Handle STDOUT/STDERR for run_forked()
Packit 7f759a
    and coderefs (Petya Kohts)
Packit 7f759a
  * RT#76901 fixed regression introduced in 0.78
Packit 7f759a
    (Petya Kohts)
Packit 7f759a
  * RT#70530 run_forked() now has a consistent
Packit 7f759a
    API with run() (Petya Kohts)
Packit 7f759a
  * Socket only used where needed (bingos)
Packit 7f759a
Packit 7f759a
  Misc:
Packit 7f759a
  * Install into sitelib if >= v5.12.0
Packit 7f759a
Packit 7f759a
0.82    Sat Jun 29 22:11:22 BST 2013
Packit 7f759a
Packit 7f759a
* Typo fixes (David Steinbrunner)
Packit 7f759a
Packit 7f759a
0.80    Sat Mar  2 22:03:49 GMT 2013
Packit 7f759a
Packit 7f759a
* Use File::Spec->path instead of relying on
Packit 7f759a
  Config (William Orr)
Packit 7f759a
Packit 7f759a
0.78    Mon Apr 30 19:45:00 BST 2012
Packit 7f759a
Packit 7f759a
* Use POSIX::_exit() instead of exit() in
Packit 7f759a
  run_forked(). Reported by Mithun Ayachit
Packit 7f759a
  [RT 76901]
Packit 7f759a
Packit 7f759a
0.76    Mon Jan 30 11:30:53 GMT 2012
Packit 7f759a
Packit 7f759a
* Make the empty arg stripping the default again,
Packit 7f759a
  with option to override this behaviour.
Packit 7f759a
Packit 7f759a
0.74    Mon Jan 30 10:24:30 GMT 2012
Packit 7f759a
Packit 7f759a
* Applied patch from WATANABE Hiroaki [RT #74470]
Packit 7f759a
  "Empty string cannot be passed to command"
Packit 7f759a
* Resolved [RT #74373] reported by Randy Stauner
Packit 7f759a
  "Compilation error when POSIX.pm fails to load"
Packit 7f759a
Packit 7f759a
0.72    Wed Jun 22 12:29:59 BST 2011
Packit 7f759a
Packit 7f759a
* Added IPC::Open3 support for capturing STDOUT/STDERR
Packit 7f759a
  on MSWin32, prefer this over IPC::Run
Packit 7f759a
Packit 7f759a
0.70    Mon Jan 31 20:34:09 GMT 2011
Packit 7f759a
Packit 7f759a
* Apply a patch from Petya Kohts, RT #65276, with
Packit 7f759a
  run_forked:
Packit 7f759a
Packit 7f759a
  1) fix for the typo in the name of the signal
Packit 7f759a
  2) changed default for clean_up_children (which
Packit 7f759a
     seems to be the behavior expected by the majority of the users)
Packit 7f759a
  3) added detection (and forwarding to the caller) of the case
Packit 7f759a
     when run program is killed by signal
Packit 7f759a
  4) kill_gently is now used in cases when parent died
Packit 7f759a
     and when the executed program times out
Packit 7f759a
  5) added options which allow to execute some user code
Packit 7f759a
     in the beginning and at the end of the child
Packit 7f759a
Packit 7f759a
0.68    Fri Jan  7 21:08:58 GMT 2011
Packit 7f759a
Packit 7f759a
* Apply blead patch from Peter Acklam
Packit 7f759a
Packit 7f759a
0.66    Tue Nov 23 12:10:24 GMT 2010
Packit 7f759a
Packit 7f759a
* Apply documentation patch from Dan Dascalescu [RT # 63250]
Packit 7f759a
* Apply another documentation patch from Dan Dascalescu [RT #63251]
Packit 7f759a
* Fix an issue with _split_like_shell_win32() raised by tunakermit [RT #62961]
Packit 7f759a
Packit 7f759a
0.64    Tue Oct 19 19:01:05 BST 2010
Packit 7f759a
Packit 7f759a
* Only enable the can_run instances behaviour when 
Packit 7f759a
  global variable $INSTANCES is set
Packit 7f759a
Packit 7f759a
0.62    Tue Oct 19 15:51:30 BST 2010
Packit 7f759a
Packit 7f759a
* Amended can_run behaviour to run all found instances
Packit 7f759a
  of the given binary in a list context
Packit 7f759a
Packit 7f759a
0.60    Mon Jul  5 09:04:54 BST 2010
Packit 7f759a
Packit 7f759a
* Corrected spelling mistakes in POD, spotted by H.Merijn Brand
Packit 7f759a
* Apply a patch from Burak Gursoy RT #58886, which fixes paths 
Packit 7f759a
  on MSWin32
Packit 7f759a
* Apply patch from Petya Kohts, RT #50398, which allows more
Packit 7f759a
  flexible configuration of run_forked and its children
Packit 7f759a
Packit 7f759a
0.58    Thu Apr 29 20:49:07 BST 2010
Packit 7f759a
Packit 7f759a
* Applied patch from Petya Kohts, RT #50398, which
Packit 7f759a
  adds 'terminate_on_parent_sudden_death' option to
Packit 7f759a
  run_forked().
Packit 7f759a
* Applied patches from David Morel RT #56973, which
Packit 7f759a
  add 'discard_output' option to run_forked().
Packit 7f759a
* Added documentation as suggested by Rafaƫl Garcia-Suarez
Packit 7f759a
  in RT #56973
Packit 7f759a
Packit 7f759a
0.56    Wed Feb  3 14:17:00 GMT 2010
Packit 7f759a
Packit 7f759a
* Applied patch from Petya Kohts, RT #50398, which 
Packit 7f759a
  updates run_forked() to allow coderefs
Packit 7f759a
Packit 7f759a
0.54    Sun Nov 15 21:43:51 GMT 2009
Packit 7f759a
Packit 7f759a
* Fixed issues on older perls requiring Time::HiRes
Packit 7f759a
Packit 7f759a
0.52    Fri Nov 13 16:15:11 GMT 2009
Packit 7f759a
Packit 7f759a
* Added documentation for run_forked()
Packit 7f759a
Packit 7f759a
0.51_01 Sun Nov  8 22:36:33 GMT 2009
Packit 7f759a
Packit 7f759a
* Apply patch from Petya Kohts, RT #50398, which adds
Packit 7f759a
  run_forked()
Packit 7f759a
Packit 7f759a
0.50    Mon Sep  7 16:17:32 BST 2009
Packit 7f759a
Packit 7f759a
* Apply patch from Steve Hay that fixes a test failure in
Packit 7f759a
  core since the move from lib/ to ext/ [RT #49490]
Packit 7f759a
Packit 7f759a
0.48    Mon Sep  7 15:12:43 BST 2009
Packit 7f759a
Packit 7f759a
* Apply a patch from Vincent Pit to fix warnings when undefined 
Packit 7f759a
  values are provided in the command list [RT #48868]
Packit 7f759a
Packit 7f759a
0.46    Fri Jun 12 13:40:09 UTC 2009
Packit 7f759a
Packit 7f759a
* Apply patch from Craig Berry to quote arguments correctly
Packit 7f759a
  on VMS. See RT #46288 for details.
Packit 7f759a
  Non-VMS users need not upgrade
Packit 7f759a
Packit 7f759a
0.44    Mon May  4 10:13:19 CEST 2009
Packit 7f759a
Packit 7f759a
* Apply core patch to silence diagnostics during perl 
Packit 7f759a
  core tests. Users of 0.42 need not upgrade.
Packit 7f759a
Packit 7f759a
0.42    Fri Oct 10 11:42:28 CEST 2008
Packit 7f759a
Packit 7f759a
* Promote 0.41_07 to stable as it passes tests on all
Packit 7f759a
  CPAN Testers platforms now. 
Packit 7f759a
Packit 7f759a
0.41_07 Sun Oct  5 18:18:15 CEST 2008
Packit 7f759a
Packit 7f759a
* This release addresses issues for Win32 commands using quoted
Packit 7f759a
  strings containing whitespace. Non Win32 users need not upgrade.
Packit 7f759a
* Copy in Module::Build::Platform::Windows->split_like_shell, as 
Packit 7f759a
  Text::ParseWords::shelwords() uses UNIX semantics, which breaks on
Packit 7f759a
  Win32. Now IPC:Cmd uses ->split_like_shell on Win32, and shellwords()
Packit 7f759a
  on a UNIX like platform.
Packit 7f759a
* Export QUOTE and add docs for it to allow users to pick a platform
Packit 7f759a
  agnostic quote character.
Packit 7f759a
* Utility functions to check for ipc::run and ipc::open3 presence
Packit 7f759a
  now return their respective version
Packit 7f759a
* Use '"' (double quote) as quote character in all the whitespace tests 
Packit 7f759a
  -- they only contain constants
Packit 7f759a
* Improved diagnostics in test suite, so it's easier to see what
Packit 7f759a
  configuration failed from a single line of test output
Packit 7f759a
* Disable gzip test in production releases
Packit 7f759a
Packit 7f759a
0.41_06 Wed Sep 24 17:03:14 CEST 2008
Packit 7f759a
Packit 7f759a
* Add missing source file for tests. Users of 0.41_05
Packit 7f759a
  need not upgrade.
Packit 7f759a
Packit 7f759a
0.41_05 Mon Sep 22 14:22:45 CEST 2008
Packit 7f759a
Packit 7f759a
* Address whitespace issues in commands: if the full command 
Packit 7f759a
  contains special chars (ie, <,>,|,&) it needs to be stringified 
Packit 7f759a
  for system() and ipc::open3 or the special chars are escaped
Packit 7f759a
  as arguments to the command. So, if you pass an arrayref as
Packit 7f759a
  command, we'll stringify it.
Packit 7f759a
  Of course that conflicts with arguments containing whitespace, 
Packit 7f759a
  so if we need to stringify we'll also attempt to fixup any 
Packit 7f759a
  arguments that have whitespace with the OS specific quote.
Packit 7f759a
* Added tests for pipes, whitespace and pipes + whitespace to make
Packit 7f759a
  sure our fix works
Packit 7f759a
* Documentation on whitespace updated accordingly.
Packit 7f759a
Packit 7f759a
0.41_04 Mon Jul 14 15:54:57 CEST 2008
Packit 7f759a
Packit 7f759a
* Forgot to add new test file. Users of 0.41_03 
Packit 7f759a
  need not to upgrade.
Packit 7f759a
Packit 7f759a
0.41_03 Sun Jul 13 14:59:44 CEST 2008
Packit 7f759a
Packit 7f759a
* Address #36365: IPC::Cmd error reporting by adding extra
Packit 7f759a
  diagnostics on failure and pretty printing of errors
Packit 7f759a
* Fix the issue that caused many testers failures:
Packit 7f759a
  When _ipc_open3_run is interrupted by an alarm, the FDs were
Packit 7f759a
  not being restored, causing subsequent processes to not have
Packit 7f759a
  access to STDIN.
Packit 7f759a
* Add more diagnostics to 01.t
Packit 7f759a
* Add tests for interleaving stdout/stderr, which are now TODO
Packit 7f759a
  Record this as #37532: Unable to interleave STDOUT and STDERR
Packit 7f759a
  Mention this in the Caveats sections of the docs
Packit 7f759a
Packit 7f759a
0.41_02 Sun Jun 29 17:38:47 CEST 2008
Packit 7f759a
Packit 7f759a
* Implement timeouts for commands (#36437)
Packit 7f759a
Packit 7f759a
0.41_01 Sun Apr  6 14:10:17 CEST 2008
Packit 7f759a
Packit 7f759a
* Strip empty whitespace from array ref commands -- some 
Packit 7f759a
  commands can't deal with an empty argument after (like 
Packit 7f759a
  make) and will exit with an error because of it
Packit 7f759a
* Address 29532, 29723 and 32187 which all have issues 
Packit 7f759a
  with using arguments containing whitespace. IPC::Cmd 
Packit 7f759a
  can now deal with arguments with whitespace properly
Packit 7f759a
  using IPC::Run, Open3 and system.
Packit 7f759a
  Tests are added for this.
Packit 7f759a
* Apply patch from John M. ipc::open3 does not work on 
Packit 7f759a
  OpenVMS because it claims that it needs fork().
Packit 7f759a
* Merge the 2 test routines for stdout/stderr tests by 
Packit 7f759a
  making the buffer to inspect a variable
Packit 7f759a
  
Packit 7f759a
0.40    Wed Oct 17 10:57:11 CEST 2007
Packit 7f759a
Packit 7f759a
* Promote 0.39_01 to stable. Users who already have
Packit 7f759a
  0.38 installed do not need to upgrade. This is merely
Packit 7f759a
  a test suit portability fix for perl 5.005
Packit 7f759a
Packit 7f759a
0.39_01 Tue Oct 16 10:59:35 CEST 2007
Packit 7f759a
Packit 7f759a
* Address test failure on 5.00505 by using 2-arg
Packit 7f759a
  version of open, instead of 3-arg version.
Packit 7f759a
Packit 7f759a
0.38    Thu Oct 11 17:04:28 CEST 2007
Packit 7f759a
Packit 7f759a
* Address perlbug [perl #46293] IPC::Cmd can lose stderr 
Packit 7f759a
* Apply [perl #46111] [PATCH] Add tests for stderr-only 
Packit 7f759a
  in IPC::Cmd to test for that bug
Packit 7f759a
  
Packit 7f759a
0.36    Fri Nov 24 14:55:56 CET 2006
Packit 7f759a
Packit 7f759a
* 3-arg open doesn't work on 5.6.2 properly, so we changed
Packit 7f759a
  to the 2-arg form of open. This to avoid errors as seen
Packit 7f759a
  in this report:
Packit 7f759a
  http://www.nntp.perl.org/group/perl.cpan.testers/363646
Packit 7f759a
Packit 7f759a
0.34    Fri Oct 20 15:13:23 CEST 2006
Packit 7f759a
Packit 7f759a
* use Carp::carp explicitly
Packit 7f759a
Packit 7f759a
0.32    Fri Oct 13 13:08:23 CEST 2006
Packit 7f759a
Packit 7f759a
* Fix logic to detect IPC::Open3 usability on various platforms
Packit 7f759a
* Propogate the programs exit code properly when using IPC::Open3
Packit 7f759a
* Make IPC::Run a dependency on request
Packit 7f759a
Packit 7f759a
0.30    Wed Oct 11 13:00:40 CEST 2006
Packit 7f759a
Packit 7f759a
* 0.29_01 upgraded to stable.
Packit 7f759a
Packit 7f759a
0.29_01 Thu Oct  5 16:34:44 CEST 2006
Packit 7f759a
Packit 7f759a
* Rework IPC::Cmd heavily to work better on win32
Packit 7f759a
* Add $WARN as global variable
Packit 7f759a
* Pass parents STDOUT/STDERR to IPC::Open3 to attach STDOUT/STDERR to
Packit 7f759a
  the current tty. This doesn't support capturing buffers, but there
Packit 7f759a
  seems no way to do this, without using Win32::* modules.
Packit 7f759a
	 
Packit 7f759a
0.25    Wed Sep  6 17:32:18 CEST 2006
Packit 7f759a
Packit 7f759a
* Add proper interactive support for IPC::Open3
Packit 7f759a
  Thanks to James Mastros and Martijn van de
Packit 7f759a
  Streek
Packit 7f759a
* Add an interactive test file for this support
Packit 7f759a
  (skipped under Test::Harness)
Packit 7f759a