Upgrade to Module-Build-0.2801.
[p5sagit/p5-mst-13.2.git] / lib / Module / Build / Changes
1 Revision history for Perl extension Module::Build.
2
3 0.2801  Sun May 21 00:07:40 CDT 2006
4
5  - Module::Build::Compat's emulation of INC is incorrectly prepending
6    a -I to the value of INC. This is incorrect because there should
7    already be a -I on the value. I.E. it's "perl Makefile.PL INC=-Ifoo"
8    not "perl Makefile.PL INC=foo" so Compat should not prefix a -I.
9    [Michael Schwern]
10
11  - Native batch scripts under Windows should not be converted by
12    pl2bat. [Spotted by Ron Savage]
13
14  - Tweaked the way we determine whether a file is executable on Unix.
15    We use this determination to decide whether to make it executable
16    during installation. [Julian Mehnle]
17
18  - Replaced a vestigial 'next' with 'return' now that the code is in a
19    subroutine (htmlify_pods()), not a loop. [Ron Savage]
20
21  - Fixed a guaranteed failure in t/signature.t when TEST_SIGNATURE was
22    set. [Eric R. Meyers]
23
24  - Fixed a test failure that occurred when testing or installing in
25    unattended mode - the code to test whether unattended mode and
26    attended mode are working properly was assuming that we started out
27    in attended mode. [Steve Peters]
28
29  - Improved our stand-in YAML generator that we use to generate
30    META.yaml when authors don't have a copy of YAML.pm installed on
31    their machine.  It was unable to handle things like embedded
32    newlines in the data, now it has a much more extensive escaping
33    mechanism. [Stephen Adkins]
34
35  - Revised the docs for --prefix and PREFIX. [Michael Schwern]
36
37 0.28  Thu Apr 27 22:25:00 CDT 2006
38
39  - When y_n() or prompt() are called without a default value and the
40    build seems to be unattended (e.g. in automatic CPAN testing), we
41    now die() with an error message rather than silently returning
42    undef for prompt(), or looping indefinitely for y_n().
43
44  - When searching for '.modulebuildrc', return the first HOME-like
45    directory that actually contains the file instead of the first
46    existing directory. Document the search locations and the order
47    searched. [Spotted by David Golden]
48
49  - Split the API documentation out of Module::Build::Authoring into
50    its own document: Module::Build::API.
51
52  - We should not emit a warning if a Module::Build subclass is
53    required in a Makefile.PL that is not bundled in the current
54    distribution; it may be installed on the user's system. [Spotted by
55    Tyler MacDonald]
56
57  - copy_if_modified() now preserves the executable bit of the source
58    file. [Spotted by Julian Mehnle]
59
60  - Fixed compatibility of our screen-scraping the Test::Harness output
61    so we can recognize the most recent Test::Harness version. [Steve
62    Hay]
63
64  - Backing out a requirement added in 0.27_06 on the method y_n()
65    to always include a default. This behavior would cause existing
66    build scripts to start failing. We now fail with a missing default
67    only when $ENV{PERL_MM_USE_DEFAULT} is set because there is no
68    reasonable default.
69
70  - Make install_types() method smarter with respect to custom install
71    types.
72
73  - Add documentation for the install_base_relpaths() and
74    prefix_relpaths() methods. Improved their usage for a public API,
75    and added tests.
76
77 0.27_10  Tue Mar 28 22:50:50 CST 2006
78
79  - Added the create_packlist property, default true, which controls
80    whether packlist files will be written during installation.  This
81    was already part of Module::Build 0.2609, but for some reason we've
82    forgotten it in the 0.27_xx series.  [Spotted by Steve Kirkup]
83
84  - Document the versions of Module::Build where each feature, action,
85    constructor argument, and method was first publicly documented.
86
87  - More fixes for find_perl_interpreter() to work with BSD flavored
88    UNIX: Ensure we always return absolute paths; throw an exception
89    upon failure to find correct interperter; document everything.
90
91  - We now include our own YAML.pm work-alike that we can use when the
92    real YAML isn't installed.  We might soon even start using it when
93    YAML is installed, because the YAML API and dependency chain have
94    been changing in unfavorable ways lately. [Stephen Adkins]
95
96  - Fixed some shell-argument-quoting issues on VMS.  In the process,
97    we have added some support for avoiding tripping over
98    shell-argument-quoting issues on other platforms too. [Initial
99    patch by Craig A. Berry]
100
101 0.27_09  Sat Mar 11 22:48:54 EST 2006
102
103  - Fixed find_perl_interpreter() so we can find the perl executable
104    when running from uninstalled perl even when $^X contains a
105    relative path. [Yitzchak Scott-Thoennes]
106
107  - Fixed warning message where we were printing the wrong field names.
108    [Chris Dolan]
109
110  - Added a 'testpodcoverage' action that runs a POD coverage check for
111    all modules in the distribution. [Yanick Champoux]
112
113  - Added a Cookbook example of subclassing to modify an action. [Dylan
114    Martin and David Golden]
115
116  - When building HTML documentation, we were opening the POD file and
117    not checking whether the open succeeded, which of course caused
118    problems down the line if it failed.  Now we do "or die(...)" like
119    everywhere else. [Spotted by Joerg Braun]
120
121 0.27_08  Fri Mar  3 21:22:41 CST 2006
122
123  - Due to shell quoting issues and differences in syntax between
124    various flavors of Windows, the code for the 'pl2bat' utility
125    distributed with Perl has been incorporated into M::B::P::Windows.
126    [Thanks to Dr Bean and Ron Savage for help testing and isolating
127    the problem.]
128
129  - Modify add_build_element() so that it only adds elements if they
130    don't already exist. [David Wheeler]
131
132  - Fixed a bug in the 'pass-through' Makefile.PL in which we would die
133    if CPAN::Shell->install returned false, but apparently this return
134    value is unreliable.  Now we only die if the module is actually
135    unavailable after installation.
136
137  - Fixed testing problems on VMS related to non-case-preserving
138    filesystems.  We now bundle Tie::CPHash in the distribution (just
139    for testing purposes, it doesn't get installed) to help with
140    this. [Craig Berry and Yitzchak Scott-Thoennes]
141
142  - We incorrectly documented the 'dynamic_config' flag in the META.yml
143    file as having a default value of false, but according to the
144    META.yml spec (which, for heaven's sake, we wrote) its default
145    value is true.  Fixed. [Spotted by Adam Kennedy]
146
147  - The have_c_compiler() method was dying if the ExtUtils::CBuilder
148    module wasn't around, which is obviously an unhelpful thing to do.
149    Now it just returns false. [Spotted by John Peacock]
150
151  - Fix detection of $VERSION expressions that are not
152    assignments. [Spotted by Chris Dolan]
153
154  - Obfuscate one of our constructs that uses a $VERSION variable,
155    because it was getting picked up by ExtUtils::MakeMaker's
156    version-finder. [Spotted by Randal Schwartz]
157
158  - The config_data script for querying and/or setting a module's
159    config data was forgetting to call write() after setting config
160    values (though setting feature values was working fine).
161    Fixed. [Brian Duggan]
162
163  - On Windows, remove the pl2bat generated 'Build.bat' script without
164    the annoying "The batch file cannot be found." error.  [Solution
165    provided by RazTK and foxidrive on newsgroup alt.msdos.batch]
166
167  - Our version comparisons should now work correctly with modules that
168    use version.pm to delcare their versions (e.g. "our $VERSION =
169    version->new('1.0.0')"). [John Peacock and Ron Savage]
170
171  - We now create a Build.bat script on versions of Windows where it
172    makes sense. [Yves]
173
174  - Fixed the verbiage around choosing the correct make-alike on
175    different platforms to suggest using 'perl -V:make'. [Suggested by
176    anonymous user]
177
178 0.27_07  Wed Feb  1 20:07:45 CST 2006
179
180  - The notes() method now returns the new value when called with two
181    arguments, just like when it's called with one argument. [Tyler
182    MacDonald]
183
184  - The notes() method now distinguishes among the values undef, 0, and
185    the empty string, where previously it didn't. [Tyler MacDonald]
186
187  - We now unshift(@INC) rather than push(@INC) for the directory where
188    a build subclass lives, so that we're sure to pick up the right
189    version and not some already-installed version. [perlmonkey]
190
191  - The SIGNATURE file for version 0.27_06 (and I'm sure for lots of
192    versions before that too!) was messed up, since we were modifying
193    some files after signing.  This has been band-aided for the time
194    being by signing twice. [Reported by Chris Dolan]
195
196 0.27_06  Mon Jan 23 21:44:54 CST 2006
197
198  - Fixed an undefined-variable warning when building the META.yml file
199    and the author hasn't used the 'module_name' mechanism. [Chris Dolan]
200
201  - We should now work with recent (> 0.49) versions of YAML.pm when
202    creating the META.yml file. [Yitzchak Scott-Thoennes]
203
204  - The y_n() method now requires the default parameter, and the
205    prompt() and y_n() methods have been improved with respect to
206    how they behave/detect when there is no user to ask.  We're now
207    more consistent with MakeMaker, including respecting the
208    PERL_MM_USE_DEFAULT environment variable. [Tyler MacDonald and
209    Yitzchak Scott-Thoennes]
210
211  - When building a README file using Pod::Text, work around a bug in
212    Pod::Text 3.01, which expects Pod::Simple::parse_file to take input
213    and output filehandles when it actually only takes an input
214    filehandle. [Yitzchak Scott-Thoennes]
215
216 0.27_05  Thu Jan 12 17:39:21 CST 2006
217
218  - In t/common.pl, we were attempting to let the user's installed
219    Test::More take precedence over ours, but getting thwarted by all
220    the test scripts' loading Test::More beforehand.  Fixed. [Spotted
221    by Yitzchak Scott-Thoennes]
222
223  - In various test scripts, we were outputting some strings that
224    weren't strictly conformant with Test::Harness's expected input,
225    though it didn't actually cause problems.  Now we're more
226    conformant, though not yet strict. [Spotted by Yitzchak
227    Scott-Thoennes]
228
229 0.27_04  Fri Dec 23 10:43:34 CST 2005
230
231  - Removed experimental feature that extended the prerequisite system
232    to apply ('requires', 'recommends', and 'conflicts') prereqs to all
233    actions. Most of the internal extensiblity has been retained so
234    that prereq types can easily be added, more selectively.
235
236  - Added a 'prereq_report' action that shows the user a well-formatted
237    list of all prerequisites, the versions required, and the versions
238    actually installed. [David Wheeler]
239
240  - Clarified the directory name that's created during the 'distdir'
241    action. [Suggested by Tyler MacDonald]
242
243  - Fixed a bug when creating the META.yml file without the help of
244    YAML.pm - some common strings weren't quoted & escaped properly.
245    Now only some uncommon ones are. [Spotted by Joshua ben Jore]
246
247  - Fixed a bug in which an "UNINST=1" argument specified to a
248    passthrough Makefile's "make install" wasn't actually seen by
249    Module::Build.
250
251  - Rather than dying when the Build script is run from the wrong
252    directory, it now simply chdir()s into the right directory and
253    keeps going. [Suggested by Dominique Quatravaux]
254
255  - Added an "Examples on CPAN" section to the cookbook, with an
256    initial entry pointing to John Peacock's SVN-Notify-Mirror
257    distribution.
258
259  - Add an invoked_action() method to return the name of the original
260    action invoked by the user.
261
262  - Add 'meta-spec' field to the generated META.yml file, including the
263    version of the specification followed by the current Module::Build
264    and the url where the specification can be found.
265
266  - Introduced two actions, 'html' & 'manpages', that generate
267    documentation for POD when the respective feature is enabled.  The
268    actions will generate the documents even if there is no set place
269    to install to.  However, if the actions are invoked as a dependency
270    of another action (e.g. build), the documentation will only be
271    built when there is a default or user-specified place to install to.
272
273  - Added support for environment variable, 'MODULEBUILDRC', which can
274    be used to specify the full path to an option file to use instead
275    of the default location of ~/.modulebuildrc. A special undocumented
276    setting of 'NONE' tells Module::Build not to load any user settings,
277    so tests can be run without tainting from user options.
278
279  - Documented and improved preliminary support for more Getopt::Long
280    style options are supported, including boolean options (--verbose,
281    --no-verbose), and use of hyphens in option names in addition to
282    underscores.
283
284  - The option to disable/enable reading of the ~/.modulebuildrc file
285    is changed from 'skip_rcfile' to 'use_rcfile'
286
287  - Allow the 'distmeta' action to continue when 'MANIFEST' is missing,
288    omitting the generation of the 'provieds' field. [Steven Schubiger]
289
290  - Fixed some failing regex from generated MANIFEST.SKIP file.
291
292  - Fixed an edge case in $VERSION parsing where we thought a package()
293    declaration was happening but it wasn't. [David Golden]
294
295  - Added docs for the install_destination() and install_types() methods.
296
297 0.27_03 (Beta for 0.28)  Mon Oct 10 11:19:23 EDT 2005
298
299  - We now use ExtUtils::CBuilder to do all compiling of C code (for
300    example, when compiling XS modules).  (This change actually
301    occurred in 0.27_01, but it was mistakenly omitted from the Changes
302    file.)
303
304  - Fixed an issue on Win32 (and other case-tolerant
305    non-case-preserving systems, possibly like VMS?) in which the
306    current working directory would sometimes be reported with
307    different case, fooling us into thinking that we were in the wrong
308    directory. [David Golden]
309
310  - The extra_compiler_flags setting was not actually being passed
311    along to ExtUtils::CBuilder so it could pass it along to the
312    compiler.  Now it is.
313
314  - The synonyms 'scripts' and 'prereq' for 'script_files' and
315    'requires' were broken in a previous version (0.27_01, probably),
316    but now they're fixed. [David Golden]
317  
318  - Previously, we assumed that any custom subclass of Module::Build
319    was located in _build/lib/.  This is only true if the author used
320    the subclass() method, though.  We now use %INC to find where the
321    custom subclass really is, so that we can "use lib" it.  We also
322    issue a warning if it seems to be outside the build directory.
323    [Spotted by Peter Tandler]
324
325  - Added a URL for each license type that we know about, which will
326    appear as resources=>license: in the generated META.yml file.
327
328  - If the user passes a no_index parameter to our constructor, we now
329    pass that through when building the META.yml file. [Richard
330    Soderberg, RT #9603]
331
332  - A few more status messages can now be suppressed by using 'quiet'
333    mode.  [Dave Rolsky]
334
335  - Added some more entries to the default MANIFEST.SKIP file. [Chris
336    Dolan]
337
338  - Our POD parser will now accept "AUTHORS" as well as "AUTHOR" when
339    looking for the author list in a module. [David Wheeler]
340
341  - When looking for the POD to auto-generate a README file, or for the
342    AUTHOR or ABSTRACT for the distribution, we now also look for a
343    *.pod with the same name as the *.pm file specified by
344    'version_from'. [David Golden]
345
346  - The recommended dependency on ExtUtils::ParseXS has been moved into
347    the "C_support" auto_feature.
348
349  - When building XS files, we now pass the -DVERSION and -DXS_VERSION
350    flags to the compiler. [Spotted by Jerry Hedden]
351
352  - If a distribution has XS files and Module::Build has not been
353    configured with the "C_support" feature, we now issue a
354    warning. [Suggested by Jerry Hedden]
355
356  - Added a dir_contains() method.
357
358  - Some versions of MakeMaker, CPANPLUS, and/or PAUSE thought that a
359    certain line of our code was declaring a $VERSION when we didn't
360    intend to.  The line has been obscurified so they won't think that
361    anymore. [Jos Boumans, RT #14226]
362
363  - Added the Apache, MIT, and Mozilla licenses to the list of licenses
364    that this module knows about. [Bob Ippolito]
365
366  - Fixed a pretty significant typo in the documentation for
367    auto_features. [Spotted by Jonas B. Nielsen]
368
369  - In order to aid people who want to do customization of the META.yml
370    file, we've added a "metafile" property that can then be easily
371    overridden in subclasses, changed do_create_meta_yml() to
372    do_create_metafile(), and split out the code that actually
373    generates the YAML into a new method, write_metafile(). [David
374    Wheeler]
375
376  - Fixed a couple of non-helpful behaviors with extra_compiler_flags
377    and extra_linker_flags.  These will automatically be run through
378    split_like_shell() when given to new() as strings.
379
380  - When the user doesn't have ExtUtils::ParseXS installed and we use
381    the old 'xsubpp', the displayed command line for creating the .c
382    file from the .xs file was missing its newline.  Now it's got it.
383
384 0.27_02 (Beta for 0.28)  Fri Jul 15 07:34:58 CDT 2005
385
386  - Provided initial support for the --prefix installation parameter,
387    which acts like MakeMaker's PREFIX.  It is still highly recommended
388    NOT to use it when you could reasonably use --install_base or
389    --install_path or --install_dest, but that's just because the way
390    --prefix is designed is weird and unpredictable.  Ultimately the
391    choice rests with the installing user. [Patches by Michael Schwern
392    and Rob Kinyon]
393
394  - Fixed a bug in subclass() which prevented people from using it to
395    subclass subclasses of Module::Build. [Chris Dolan]
396
397  - Added a 'pure_install' action, which for the time being is
398    identical to the 'install' action. [Jos Boumans]
399
400  - Fixed a POD error in an L<http://...> tag. [Offer Kaye]
401
402  - Note several options for automatically creating a new module dev
403    tree. [Suggested by Eric Wilhelm]
404
405  - Removed some hard-coded references to File::Spec::Unix in the
406    creation of HTML docs, which should help that code work in more
407    places, and help people not to panic when they look at it. [Spotted
408    by Yves]
409
410  - We now use Pod::Readme by default (instead of Pod::Text) to
411    generate the README file when the 'create_readme' option is used.
412    If Pod::Readme is not installed, we will still fall back to using
413    Pod::Text.  [Robert Rothenberg]
414
415  - The values of the "prefix", "install_base", "install_path", and
416    "install_dest" parameters can now begin with "~" or "~user", and
417    we'll de-tilde-ify them by using glob().
418
419  - The (optional) auto-creation of the README and Makefile.PL files
420    have been moved from the 'distdir' action to the 'distmeta'
421    action. [David Golden]
422
423  - When looking for a .modulebuildrc file, we now use a fancier method
424    of trying to find the home directory, because $ENV{HOME} isn't a
425    very cross-platform variable. [Robert Rothenberg]
426
427  - We now memoize the output of the internal _default_INC() method,
428    since it uses backticks and might be kind of slow.
429
430  - When processing XS files, we now look for a typemap in lib/ as well
431    as using the system's default typemap. [John Peacock]
432
433  - The DESTDIR, PREFIX, and INSTALL_BASE arguments to "make install"
434    are now supported for pass-through Makefiles (they've been
435    supported for quite a while as arguments to "perl
436    Makefile.PL"). [Requested by Guillaume Rousse]
437
438  - Test::Harness has changed its output format in recent versions,
439    which threw off one of our tests.  We now allow for this different
440    format. [Reported by Scott Godin]
441
442  - Fixed an issue that prevented Module::Build from upgrading itself
443    using its own API (which is how CPANPLUS uses it).  There are still
444    some issues with this solution, however.  See ticket #13169 in
445    rt.cpan.org. [Reported by Jos Boumans]
446
447  - Fixed a fatal error that occurred when a distribution's author
448    could not be determined from its POD nor from the call to
449    Module::Build->new() in its Build.PL.  See ticket #12318 in
450    rt.cpan.org. [Reported by Jos Boumans]
451
452  - Apparently on Windows and cygwin it's not possible to use the "-pi"
453    switch to perl without a backup extension, so now we use ".bak" and
454    remove the backup file when we're done.  Thus the "dist" action for
455    Module::Build itself can now be run on those platforms. [Yitzchak
456    Scott-Thoennes]
457
458  - Improved the handling of auto_features in the config_data access
459    script. [Yitzchak Scott-Thoennes]
460
461 0.27_01 (Beta for 0.28)  Fri Apr 15 21:12:57 CDT 2005
462
463  Backward-incompatible (but better) changes:
464
465  * When using the 'install_base' option to choose a directory for
466    installing everything, perl modules now go into lib/perl5/ instead
467    of just lib/.  It seems this is more consistent with people's
468    expectations, and the way I had it before was a bit peculiar to the
469    way I like things in my own home directory. [Michael Schwern]
470
471  * When the user is using the 'install_base' option, scripts will now
472    be installed by default in $install_base/bin/ rather than
473    $install_base/script/ . [Jan Hudec and Michael Schwern]
474
475  Major changes:
476
477  - The auto_features mechanism will now re-evaluate dependencies every
478    time feature() is called for an auto-feature, rather than freezing
479    the success/failure value during 'perl Build.PL' and using that
480    value for all eternity (or module update, whichever comes first).
481    This applies to both $build->feature() and
482    FooModule::ConfigData->feature() calls. [Requested by many]
483
484  - Added the meta_add and meta_merge mechanisms, which let the module
485    author add/merge arbitrary entries into the META.yml file.
486
487  - Now reads per-action default options from '$ENV{HOME}/.modulebuildrc'
488    if it exists. Command line options override anything set in the rc file.
489
490  - We now use ExtUtils::CBuilder to do all compiling of C code (for
491    example, when compiling XS modules).
492
493  - The creation of Unix man pages is no longer a strict necessity - it
494    has now been turned into an 'auto-feature' contingent on the
495    presence of Pod::Man and a location specified for man pages to go.
496
497  - A user-specified 'install_path' setting will now take precedence
498    over an 'install_base' setting.  This allows the user to use
499    'install_base' to set the base for all elements in one go, and then
500    use 'install_path' to override specific paths or add paths for
501    additional kinds of targets.
502
503  - Split the main documentation from 'Module/Build.pm' into two
504    sections. The user level documentation and overview remains in
505    'Module/Build.pm', while a new document,
506    'Module/Build/Authoring.pod', has been created for module authors.
507
508  Minor changes:
509
510  - new_from_context() was losing its arguments in some cases (and not
511    because of inadequate training in forensic debate) - we now pass its
512    arguments directly to the Build.PL script rather than merging them
513    in afterwards.
514
515  - Let resume() return an object blessed into the appropriate class
516    if the user has provided a subclass, as specified by the
517    'build_class' property. This allows current() and new_from_context()
518    to behave more like factory methods returning objects of the correct
519    class based on context. [Ray Zimmerman]
520
521  - Refactored methods relating to parsing perl module files for
522    package, version, and pod data into a new class:
523    Module::Build::ModuleInfo.  It should not be considered part of
524    Module::Build's API, because we may split it out entirely as a
525    separate CPAN module that we depend on.
526
527  - Added new method Module::Build::prepare_metadata() for authors to
528    override in order to add custom fields to META.yml.
529
530  - We now use Test::More for our regression tests.  If the user
531    doesn't have it installed, we include a copy in t/lib/ that we can
532    use during testing.
533
534  - When copying files in the 'distdir' action, set permissions to match
535    the original files. [Julian Mehnle]
536
537  - When adding files like META.yml to the MANIFEST, we now tell the
538    user we're doing so by printing one of the "Added to MANIFEST: ..."
539    lines.  [Ron Savage]
540
541  - Added a runtime_params() method, which lets a module author see
542    which parameters were overridden by the user on the command line
543    (or in whatever paradigm the user originally invoked Module::Build
544    from). [David Wheeler]
545
546  - Added the current_action() method, which, surprisingly, returns the
547    name of the currently running action. [David Wheeler]
548
549  - Added docs for run_perl_script().
550
551  - Added some stuff to the docs about why PREFIX is unsupported, and
552    what to use instead. [Steve Purkis]
553
554  - The simple get/set accessor methods for all the 'parameters' like
555    verbose(), license(), etc. now have auto-generated documentation in
556    Module/Build.pm.
557
558  - Created a Cookbook entry for 'Adding new elements to the install
559    process'
560
561  - We now add META.yml to the MANIFEST when META.yml is created, not
562    when MANIFEST is created. [Spotted by Ron Savage]
563
564  - Added some additional patterns to the suggested MANIFEST.SKIP
565    contents, and changed the docs so that we encourage the user to use
566    the MANIFEST.SKIP.  [Ron Savage]
567
568  - Eliminated a redundant recipe from the Cookbook, now that there are
569    some more extensive recipes on how to add stuff to the
570    build/install sequences.
571
572  - Eliminated an undefined-variable warning when testing under perl 5.005
573
574  - When building HTML documentation, 'html_backlink' and 'html_css'
575    properties are now first-class properties, so they can be set from
576    the command line. [Suggested by Sagar R. Shah]
577
578  - Have script_files default to everything in bin.  I believe this is
579    the least surprising behavior. [Suggested by Michael Schwern]
580
581  - If script_files is given a directory, consider each file in that
582    directory tree as a script to be installed.  This avoids having to
583    remember to add to the script_files list every time you add a
584    program. [Suggested by Michael Schwern]
585
586  - We now only load Pod::Man when we actually need to build man pages.
587
588  - We now make Test::Harness use our carefully-selected path to a perl
589    executable regardless of Test::Harness's version.  Previously we
590    let it figure stuff out for itself if it was a reasonably modern
591    version, but it's safer to make sure we're using the same perl
592    everywhere.
593
594 0.2610  Fri Apr 15 08:25:01 CDT 2005
595
596  - new_from_context() was losing its arguments in some cases (and not
597    because of inadequate training in debate) - we now pass its
598    arguments directly to the Build.PL script rather than merging them
599    in afterwards. [Ray Zimmerman]
600
601  - Fixed a bug in which config_data and feature data were being
602    forgotten and no ConfigData.pm module would get written. [Ray
603    Zimmerman]
604
605  - Added a recipe to the cookbook showing how to run a single test
606    file from the command line. [William McKee]
607
608  - For command-line arguments, we now accept the syntax "--foo=bar" in
609    addition to "--foo bar" and "foo=bar".  This seems to fit well with
610    what GNU getopt and Getopt::Long do, and with people's
611    expectations. [Adam Spiers]
612
613 0.2609  Wed Mar 16 22:18:35 CST 2005
614
615  - The html docs that were created during the first invokation of
616    './Build' were being found and treated as pod that needed to be
617    converted to html during subsequent invokations. We now are more
618    specific about the directories we scan for pod that needs to be
619    converted, effectively avoiding blib/html. [Ray Zimmerman]
620
621  - If Pod::Man is not available, we now skip building man pages
622    (rather than dying) and tell the user why.
623
624  - We now write a .packlist file upon installation, in the same place
625    that ExtUtils::MakeMaker does. [Johnny Lam]
626
627  - On some Unix platforms (BSD derivatives, mostly) perl's $^X
628    variable isn't set to the full path of the perl executable, just
629    'perl', when the 'Build' script is run as './Build' and not 'perl
630    ./Build'.  This can lead to some other modules (maybe
631    Test::Harness, maybe IO::File, I dunno...) getting very confused
632    about where they are, and they try to load stuff from the wrong
633    perl lib, and big trouble ensues.  To fix this, we now set $^X to
634    the value of Module::Build->find_perl_interpreter().
635
636  - The 'distcheck' action will now die() if it finds an error in the
637    MANIFEST, rather than just printing on STDOUT. [David Golden]
638
639  - When the README and/or Makefile.PL are autogenerated using
640    create_readme or create_makefile_pl, we now automatically make sure
641    they're also listed in the MANIFEST file. [Suggested by Michael
642    Schwern]
643
644  - Got rid of the t/MANIFEST file - it's superfluous, and it had
645    zero-length, which some versions of Tar don't like. [William
646    Underwood]
647
648  - Added a mention in the documentation that each property that new()
649    accepts also has a corresponding get/set accessor.  (In the version
650    0.27_0x series each accessor method is mentioned explicitly in the
651    docs.) [Omission spotted by Ian Langworth]
652
653 0.2608  Wed Jan 26 19:46:09 CST 2005
654
655  - Add workaround for test files because Devel::Cover causes
656    require to fail when the argument to require is an expression
657    involving File::Spec. We now assign the result of the File::Spec
658    call to a variable and then call require with that variable.
659
660  - Tilde-expansion is now performed on arguments passed to a
661    compatibility-Makefile.PL [Spotted by Sam Vilain]
662
663  - We now run the 'gzip' and 'tar' values through split_like_shell()
664    when running the 'dist' action, so that e.g. the 'gzip' value can
665    be set to something like "gzip -f --best" and it'll work
666    correctly. [Spotted by Chris Dolan]
667
668  - Work around some bad mojo between Fedora Core [with its very long
669    @INC] and old versions of Test::Harness [with its propensity to
670    compound the number of @INC entries] that produced an "argument
671    list too long" error during testing.  [assisted by Ville Skytta,
672    David Golden, & Randy Sims]
673
674  - Killed an infinite loop that would happen in y_n() in interactive
675    mode if the author provided no default value. [Max Maischein]
676
677 0.2607 (Bug fix release in 0.26 series)  Sat Dec 18 14:14:09 CST 2004
678
679  - Instead of freezing @INC in the 'Build' script to the value it had
680    when Build.PL was run, we now just add those additional values that
681    aren't part of the default compiled-in @INC. [Michael Schwern]
682
683  - The run_perl_script() method will now propagate any extra entries
684    in @INC (such as those added by "use lib" or the -I command-line
685    switch) to the subprocess.  This helps situations in which you want
686    to tell the subprocess where to find a certain module, for
687    instance.  [Michael Schwern]
688
689 0.2606 (Bug fix release in 0.26 series)   Tue Dec  7 22:33:11 CST 2004
690
691  - Fixed a linking bug on Win32, in which compiled C code object files
692    never got linked in with the modules being built. [Dominic
693    Mitchell]
694
695  - Fixed a bug in the new_from_context() method in which any arguments
696    passed made us die. [Spotted by Jos Boumans]
697
698 0.2605 (Bug fix release in 0.26 series)   Tue Nov 30 07:16:13 CST 2004
699
700  - Fixed a bug in which zero-length arguments for hash-valued
701    parameters (e.g. " --config foo= ") weren't being allowed.
702
703  - The tests now play better with environments in which version.pm is
704    pre-loaded, like in bleadperl. [John Peacock & Michael Schwern]
705
706  - Fixed a syntax error in one of the tests under perl 5.005.
707
708 0.2604 (Bug fix release in 0.26 series)   Wed Nov 17 14:32:42 CST 2004
709
710  - Fixed a split_like_shell() bug introduced in 0.2603 for Windows, in
711    which an array reference passed as an argument was returned as an
712    array reference, rather than as a list. [Spotted by Steve Hay]
713
714  - module_name() will now return '' instead of undef when module_name
715    is not set.  This eliminates a couple uninitialized-value
716    warnings. [Suggested by Michael Schwern]
717
718  - The expand_test_dir() method will now skip dotfiles (like ._foo.t,
719    which sometimes gets automatically created on Mac systems) when
720    'recursive_test_files' is in effect. [Tom Insam]
721
722 0.2603 (Bug fix release in 0.26 series)   Mon Nov 15 10:28:00 CST 2004
723
724  - Added documentation for the new_from_context() method.
725
726  - Completely rewrote the split_like_shell() method for the Windows
727    platform so it works like the command.com shell. [Randy Sims]
728
729 0.2602 (Bug fix release in 0.26 series)   Thu Nov  4 11:19:29 CST 2004
730
731  - The two bug fixes in 0.2601 gnashed against each other incorrectly,
732    resulting in a Win32 bug in split_like_shell().  Fixed.  [Spotted
733    by Steve Hay & Randy Sims]
734
735  - Removed a couple of 'use warnings' statements from the code - they
736    were causing compile failures on 5.005_04, where warnings.pm isn't
737    available. [Blair Zajac]
738
739 0.2601 (Bug fix release in 0.26 series)   Wed Nov  3 20:09:27 CST 2004
740
741  - Fixed some backslash problems with split_like_shell() on
742    Win32. [Steve Hay]
743
744  - Fixed a bug in split_like_shell() in which leading whitespace was
745    creating an empty word, manifesting as something like "gcc - no
746    such file or directory" during tests. [Spotted by Warren L. Dodge]
747
748 0.26  Sat Oct  9 17:51:01 CDT 2004
749
750  - Removed some language from the Module::Build::Compat documentation
751    that encouraged people to include a Build.PL without a Makefile.PL.
752    Also changed "a replacement for MakeMaker" to "an alternative to
753    MakeMaker" in the main documentation, which is basically what I
754    meant all along (i.e. a replacement for MakeMaker in your
755    particular build process - MakeMaker is never going to be fully
756    replaced in the perl world at large, of course), but some people
757    got the impression I was a little more truculent toward MakeMaker
758    than I really am.
759
760  - Added the formal concepts of "features" and "config data" for
761    distributions.  This allows the module author to define a certain
762    set of features that the user can switch on and off (usually
763    according to whether they have the proper prerequisites for them),
764    and to save build-time configuration information in a standardized
765    format.  See the main documentation of Module::Build for more
766    details.  (Note that the name of this system was called
767    "BuildConfig" for a while in beta, but now it's called
768    "ConfigData".)
769
770  - Added an 'auto_features' capability, which simplifies the process
771    of defining features that depend on a set of prerequisites.
772
773  - Added the 'get_options' parameter, which lets module authors
774    declare certain command-line arguments their Build.PL can accept
775    [David Wheeler]
776
777  - Changed the split_like_shell() method to use the shellwords()
778    function from Text::ParseWords (a core module since 5.0), which
779    does a much better job than the split() we were using.
780
781  - Added a 'testpod' action, which checks the syntactic validity of
782    all POD files in the distribution using Test::Pod.  This eliminates
783    the need for doing so in a regression test. [Initial patch by Mark
784    Stosberg]
785
786  - Added a process_files_by_extension() method, which generalizes the
787    kind of processing (essentially just copying) that happens for .pm
788    and .pod files, and makes it available to other user-defined types
789    of files.  See the new cookbook entry.
790
791  - Improved compatibility with version.pm when authors are using
792    version objects as their $VERSION variables.  Now
793    version_from_file() can deal with these objects.  Currently we
794    stringify them right away, but perhaps in the future we will
795    preserve them as objects for a while.
796
797  - During 'distdir' and 'distmeta' actions, die a bit more gracefully
798    if there's no MANIFEST (i.e. explicitly say that a MANIFEST is
799    required). [Spotted by Adrian Howard]
800
801  - Eliminated a recursive dependency between creating the MANIFEST
802    file and creating the META.yml file.  [Spotted by Dave Rolsky]
803
804  - On Win32, where a single directory might be known variously as
805    "Module-Build-0.25_03" or "MODULE~1.25_", we now use
806    Win32::GetShortPathName($cwd) to verify that the 'Build' script is
807    being run from the correct directory, rather than just a string
808    comparison.
809
810  - The add_to_cleanup() method will now accept glob()-style patterns
811    in addition to explicit filenames.  Also documented the fact that
812    they can be specified in either Unix-style or native-style
813    notation.
814
815  - Passing a PREFIX value to a pass-through Makefile 'make install'
816    now has the same effect as passing it to 'perl Makefile.PL' (it
817    dies with a helpful message).
818
819  - Added the 'testcover' action, which runs a test suite using
820    Devel::Cover.  [Dave Rolsky]
821
822  - Added the 'lib' and 'arch' installation directories to the search
823    path for the 'diff' action, since they won't necessarily (though
824    they usually will) be in @INC at installation time. [Suggested by
825    Kevin Baker]
826
827  - The "=head3" POD directive isn't supported in older podlators
828    (particularly Pod::Man), so we don't use it anymore.
829
830  - Fixed a typo & improved the docs in the SUBCLASSING section. [Ron
831    Savage]
832
833  - Added the '.tmp' suffix to the default MANIFEST.SKIP file, which
834    should avoid adding things like pod2htmi.tmp to the MANIFEST [Ron
835    Savage]
836
837  - Backup files from Emacs, containing the string '.#' in their names,
838    should no longer find their way into the blib/ directory (and from
839    there into installation directories).
840
841  - Worked around an unpleasant interaction between version.pm and the
842    version-checking code that makes sure Module::Build's version
843    hasn't changed during the lifetime of the 'Build' script. [Reported
844    by Trevor Schellhorn]
845
846  - Fixed a problem in htmlify_pods() that would produce test failures
847    on Cygwin (and probably elsewhere).  [Yitzchak Scott-Thoennes]
848
849  - Fixed a test failure on Cygwin (and probably elsewhere) in
850    t/compat.t, resulting from empty environment variables being set to
851    the empty string (as opposed to simply being unset) by their mere
852    presence in the "EXPORT:" list.
853
854  - Fixed a fatal error that occurred when the author specified
855    'dist_author' manually in their Build.PL script. [Spotted by Ron
856    Savage]
857
858  - The 'provides' section of the META.yml file wasn't being built
859    properly on Win32, because of a mismatch between URL-format and
860    native-format pathnames.  Fixed.  [Reported by Robert Rothenberg]
861
862  - The progress message "lib/Foo.xs -> lib/Foo.c" was previously being
863    output even when the Foo.c file wasn't being rebuilt.  It's now
864    fixed.
865
866  - Fixed a couple of places in Compat.pm where it could have forgotten
867    which perl interpreter it had been run with ($^X isn't very
868    trustworthy).
869
870  - On some systems, the way we updated the timestamp on the
871    "lib/Foo.bs" file (one of the output files for XS-based modules)
872    was failing.  It's been replaced by a simple call to utime().
873
874  - Fixed a problem in t/compat.t that prevented it from being run
875    individually using 'make test TEST_FILES=t/compat.t'.  The problem
876    was that a couple environment variables (TEST_FILES, MAKEFLAGS)
877    were being passed through to subprocesses, and confused them.
878
879  - Fixed an important typo in the documentation for the 'install_base'
880    parameter ('libdoc' and 'bindoc' were switched). [Ray Zimmerman]
881
882  - The pass-through Makefiles (type 'small' or 'passthrough') now
883    support the TEST_FILES parameter to 'make test'.
884
885  - Fixed a fatal error that would occur on perl 5.005 when building
886    HTML documentation, because its version of Pod::Html was old and
887    didn't like some of the parameters we fed it. [Spotted by Blair
888    Zajac]
889
890  - The final line of the generated pass-through Makefile was missing
891    its trailing newline, which is now fixed. [Chip Salzenberg]
892
893  - We now depend on YAML version at least 0.35 and at most version
894    0.49, so that we don't pick up a new (and backward-incompatible) beta
895    version from CPAN.
896
897  - Squashed a warning in t/basic.t about '"Foo::Module::VERSION" used
898    only once', and one in PPMMaker about $^V being undefined. [Blair
899    Zajac]
900
901  - Added a couple temporary output files from HTML documentation
902    generation to the cleanup list.  [Toby Ovod-Everett]
903
904  - The PodParser module will now only extract paragraphs in the
905    'AUTHOR' section of the pod if they contain an '@' character.  This
906    tends to do a better job, heuristically speaking, of returning
907    relevant stuff.
908
909  - Added regression tests and a helper method ( add_build_elements() )
910    for adding new elements to the build process.  Also some
911    documentation.
912
913  - Wrote a recipe in the Cookbook for adding new elements to the build
914    process, and a recipe for changing the order in which the steps in
915    the build process will occur.
916
917 0.25  Sun Apr 25 11:12:36 CDT 2004
918
919  - During the 'distdir' action, if no MANIFEST.SKIP file exists, we
920    will now create a reasonable default one. [Randy Sims]
921
922  - In Makefile compatibility mode, some arguments (like UNINST,
923    TEST_VERBOSE, etc.) given to 'make' are now recognized and passed
924    through to Module::Build. [Randy Sims]
925
926  - The regression tests now make sure that several pass-through
927    Makefile.PL parameters are dealt with correctly.
928
929  - Added support for the 'LIB' parameter to passthrough
930    Makefile.PLs. [Spotted by Jesse Erlbaum]
931
932  - Passing a 'PREFIX' parameter to a passthrough Makefile.PL was
933    supposed to make it die with a helpful error message, but instead
934    it just ignored it and blindly tried to install to the wrong place.
935    This is now fixed.  [Spotted by Jesse Erlbaum]
936
937  - Added an extra_compiler_flags() accessor method.
938
939  - If the 'recursive_test_files' option was turned on, the test files
940    weren't sorted, but returned in an apparently random order.  Now
941    they're sorted.  [Martyn Peck]
942
943  - Documented the 'tar' and 'gzip' parameters to the 'dist' and
944    'ppmdist' actions.
945
946  - The generation of HTML documentation now works (it was accidentally
947    partially implemented with an itchy patch-application finger in
948    0.24).  [Randy Kobes]
949
950  - Fixed a fatal bug when building META.yml with YAML.pm and
951    'dynamic_config' is set. [Reported by Jaap Karssenberg]
952
953  - Fixed some incorrect error messages that occurred when
954    compiling/linking C sources went awry.
955
956  - If the author uses a custom builder subclass, that subclass will
957    now be loaded correctly in the passthrough Makefile.PL if the
958    author uses the 'small' or 'passthrough' Makefile.PL options in
959    Module::Build::Compat. [Martyn Peck and Jaap Karssenberg]
960
961  - If the author uses a custom builder subclass created dynamically
962    through the subclass() method, passthrough Makefile.PLs (of type
963    'passthrough' or 'small') didn't work properly, because the custom
964    builder module wouldn't be loaded at the right time.  This has been
965    fixed.  [Reported by Toby Ovod-Everett]
966
967  - In M::B-generated 'traditional' Makefile.PLs, the entries in
968    'PREREQ_PM' are now sorted ASCIIbetically rather than randomly.
969
970  - The install_types() method will now return any additional types
971    given as 'install_path' arguments, as well as all elements of the
972    current 'install_sets' entry.  This makes it easier to add new
973    types of installable objects to the mix.
974
975  - As a consequence of the previous change, there is no longer any
976    need to have an explicit 'install_types' data member, so it has
977    been removed.
978
979  - In the second example code for the Module::Build->subclass()
980    method, the Module::Build module needed to be loaded before calling
981    its methods. [John Peacock]
982
983  - Fixed minor error in the POD structure of Module::Build and
984    Module::Build::Platform::VMS docs.
985
986
987 0.24  Wed Feb 25 15:57:00 CST 2004
988
989  - Fixed a problem with incude_dirs not being propagated to the 'ccs'
990    file when compiling XS files on Win32. [Randy Sims and Steve Hay]
991
992  - In 0.23, Module::Build::Compat->fake_makefile() started choking
993    when no 'build_class' parameter was supplied in the Makefile.PL.
994    Since these Makefile.PLs still exist on CPAN, we now default
995    'build_class' to 'Module::Build', which was the old 0.22 behavior
996    anyway.  [Reported by Martin Titz and Jeremy Seitz]
997
998  - Added documentation for the 'include_dirs' parameter to
999    new(). [Steve Hay]
1000
1001  - Changed the no-op command on Win32 from 'rem' to 'rem>nul' inside
1002    pass-through Makefiles. [Randy Sims]
1003
1004  - The 'autosplit' parameter now accepts an array reference if
1005    multiple files should be split. [Jaap Karssenberg]
1006
1007  - find_perl_interpreter() will now use $^X (if absolute), $ENV{PATH}
1008    (if $^X isn't absolute), and $Config{perlpath}, in that order.
1009    Also, we now make darn sure the result is the same version of perl,
1010    by checking Config::myconfig() for a match against the current
1011    perl.  [Reported by Edward Sabol]
1012
1013  - Fixed a fatal error on Win32 (and any other platform that doesn't
1014    define an installation location for Unix-style man pages) during
1015    installation.
1016
1017 0.23  Sun Feb  8 22:01:18 CST 2004
1018
1019  - Fixed a compatibility problem in pass-through Makefiles (created by
1020    Module::Build::Compat).  Some 'make' utilities (for example, BSD
1021    make) didn't like a '@' by itself on a line, so we stole some
1022    'NOOP' code from MakeMaker to fix it. [Reported by Mathieu Arnold]
1023
1024  - Added a 'ppm_dist' action, which just makes the PPD file and then
1025    makes a tarball out of the blib/ directory. [Randy Sims]
1026
1027  - The @INC of the parent process is now propagated to child processes
1028    when processing *.PL files. [Reported by Jaap Karssenberg]
1029
1030  - We now only attempt to fix the shebang line on a script if the
1031    shebang line matches the regex /perl/i .  This fixes some instances
1032    where people put shell scripts in their distributions. [Jaap
1033    Karssenberg]
1034
1035  - We no longer generate a 'requires', 'recommends', 'conflicts',
1036    etc. entry in the META.yml file if there's no data to go in it.
1037
1038  - Added a documentation reference to Michael Schwern's wiki for tips
1039    on conversion from MakeMaker to M::B. [Randy Sims]
1040
1041  - If there are script_files, we now add EXE_FILES to the
1042    'traditional' Makefile.PL generated by M::B::Compat. [Suggested by
1043    Yuval Kogman]
1044
1045  - Documented the 'test_files' parameter to new(). [Reported by Tony
1046    Bowden]
1047
1048  - Fixed a problem in "Build help <action>", which didn't find the
1049    correct help chunk if <action> was the final element in a POD
1050    list. [Jaap Karssenberg]
1051
1052  - Fixed a problem in the get_action_docs() method which gave
1053    incorrect results if the method was called more than once in the
1054    same program.
1055
1056  - Fixed a problem in which actions defined by user subclasses
1057    wouldn't be available via the pass-through Makefiles created by
1058    Module::Build::Compat. [Reported by Jaap Karssenberg]
1059
1060  - We now use Data::Dumper instead of our own ad-hoc serialization
1061    routines to create the 'traditional' Makefile.PL
1062    arguments. [Suggested by Yuval Kojman]
1063
1064 0.22  Sat Jan 10 22:05:39 CST 2004
1065
1066  - On Unixish platforms, the syntax "FOO=BAR /bin/baz arg arg" now
1067    works when present in $Config{ld}.  This solves a problem on Mac OS
1068    X 10.3. [Reported by Adam Foxson]
1069
1070  - The have_c_compiler() now also tests whether the linker seems to
1071    work too.
1072
1073  - Fixed a problem with creating the distribution tarball in which
1074    permissions would usually be all read-only.  We now use our own
1075    file-copying routines rather than those in ExtUtils::Manifest,
1076    because those do some annoying extra permissions-setting stuff for
1077    no apparent reason.  It makes me happy that this was a very very
1078    easy patch to make.  [Reported by Thomas Klausner]
1079
1080  - The compile_c() method now includes $Config{cccdlflags} in its
1081    command invocation.  It's usually empty, but not always, so we
1082    didn't notice for a while. [Richard Clamp]
1083
1084  - On some platforms it's common to have a $Config{make} defined, but
1085    no 'make' utility actually available.  We now detect this and skip
1086    some 'make' compatibility tests. [Randy Sims]
1087
1088  - Fixed a spurious testing failure on non-Unix platforms that
1089    happened because we accidentally call localize_file_path() on empty
1090    strings in the test suite. [Spotted by Randy Sims on Windows]
1091
1092  - Made the 'name', 'abstract', 'author', and 'version' properties
1093    required when building a PPD file. [Spotted by Randy Sims, Dave
1094    Rolsky, & Glenn Linderman]
1095
1096  - When building a 'traditional' Makefile.PL with
1097    Module::Build::Compat, we now use 'VERSION_FROM' when possible,
1098    rather than always using 'VERSION'.  This way the Makefile.PL
1099    doesn't have to get modified every release.
1100
1101  - Made some fixups to the 'PPM' info-file, improving compatibility
1102    with ActiveState's PPM tools. [Randy Sims, Glenn Linderman]
1103
1104  - The 'dist_author' property can now accept multiple authors, see the
1105    docs for more info. [Randy Sims]
1106
1107  - If the user doesn't have YAML.pm installed during ACTION_dist, we
1108    now create a minimal YAML.pm anyway, without any dependency
1109    information.
1110
1111  - The 'distribution_type' field is no longer created in META.yml
1112    files, in accordance with the finding made at the London CLPAN
1113    meeting that it's essentially meaningless and ill-defined.
1114
1115  - The 'dist' action now accepts an optional 'tar' parameter to use a
1116    system utility for building the tarball, and a 'gzip' parameter for
1117    compressing it.  If these are used, Archive::Tar won't be invoked.
1118    This was added because Archive::Tar is producing some very
1119    non-cross-platform tarballs that many tar utilities can't handle.
1120
1121  - During testing, if YAML.pm isn't installed, then we won't try
1122    making a tarball either, since this would invoke YAML to create the
1123    META.yml file.
1124
1125  - Fixed a problem with chmod() being called incorrectly on MacOS
1126    (i.e. MacPerl, not Mac OS X).  [Spotted by Paul Sanford Toney]
1127
1128  - Fixed a problem with the --config flag not being treated properly
1129    (essentially ignored) on the command line for 'perl Build.PL' or
1130    'Build <action>'. [Spotted by Jakub Bogusz]
1131
1132  - Added a new config() method to get at the Build object's notion of
1133    the %Config hash.
1134
1135  - Test::Harness is starting to contend for the Most Crotchety Module
1136    Award.  Work around a few of its nits when setting harness
1137    switches. [Spotted by Diab Jerius]
1138
1139  - Now the Build script will die() if we're run from the wrong
1140    directory, rather than trying to chdir() to what it thinks is the
1141    right directory and do its work there.  See
1142    https://rt.cpan.org/Ticket/Display.html?id=4039 . [Chris Dolan]
1143
1144  - Changed the manpage separator on OS/2 to '.'. [Ilya Zakharevich]
1145
1146  - On OS/2, disable C compilation, since apparently it isn't working
1147    there. [Reported by Ilya Zakharevich]
1148
1149  - Inserted a comment into auto-generated Makefile.PLs saying it was
1150    auto-generated. [Randy Sims]
1151
1152  - Fixed some annoying behavior in generated passthrough Makefile.PLs
1153    when the user chose not to install Module::Build, or if
1154    installation failed. [Reported by Ilya Zakharevich and Richard
1155    Clamp]
1156
1157  - Moved the documentation for 'codebase' to the section where it's
1158    relevant. [Randy Sims, Glenn Linderman]
1159
1160  - Fixed a have_c_compiler() failure on some platforms, we now define
1161    a boot_compilet() function (since we're compiling a library, not an
1162    executable). [Randy Sims]
1163
1164  - Added a recipe to the Module::Build::Cookbook describing how to
1165    maintain compatibility with older versions of CPAN.pm [Jim Cromie]
1166
1167  - Removed caveat about "looking for alternatives" in how hashes are
1168    specified on the command line, since an alternative has been found.
1169
1170  - Previously most warnings about optional prerequisites looked like
1171    they were actually error messages about required prerequisites.
1172    This has been corrected. [Reported again by Sagar Shah]
1173
1174  - Added support for building XS (and C in general) stuff on AIX.
1175    This was done by a small reorganization of prelink_c() method from
1176    Windows.pm to Build.pm, and it is only invoked for the platforms
1177    that need it invoked.  AIX also massages some very naughty bits
1178    (MakeMaker macro variables) in $Config{lddlflags} that should never
1179    have been put there, but alas, they're there, so we find & resolve
1180    them.
1181
1182  - Added OS/2 ($^O = 'os2') to the list of Unix-like platforms.  This
1183    basically means that most platform-specific operations will be done
1184    in a Unix-like manner.
1185
1186  - Pass-through Makefiles will now die() when they're given a PREFIX
1187    parameter, and suggest using 'destdir' or 'install_base' instead.
1188    Previously they just ignored the parameter and tried to install to
1189    the default location, which is clearly not what the user wanted.
1190
1191  - Updated my email address in the documentation to a more recent
1192    variant.
1193
1194  - Add NetBSD to the list of Unix-like systems. [Adrian Bunk]
1195
1196  - Add SVR5 to the list of Unix-like systems. [Rafael Garcia-Suarez]
1197
1198  - We now use Pod::Parser to find the ABSTRACT and AUTHOR when it's
1199    available on the system. [initial patch by Randy Sims]
1200
1201  - Fixed a little scalar/list buglet in a documentation example.
1202
1203 0.21  Wed Oct 15 20:47:05 CDT 2003
1204
1205  - Added a have_c_compiler() method.
1206
1207  - Added documentation for the requires(), recommends(),
1208    build_requires(), and conflicts() methods.
1209
1210  - On Unix platforms, we now create the "Build" script with a #! line
1211    matching the perl interpreter that was used to invoke the Build.PL
1212    script, rather than whatever is in $Config{startperl}.  This avoids
1213    a potential warning about the interpreters not matching. [Spotted
1214    by Ken Y. Clark]
1215
1216  - The Unix version now uses the safer multi-argument form of system()
1217    when building distribution tarballs.
1218
1219  - Added a regression test for the 'dist' action to the t/runthrough.t
1220    test.
1221
1222  - Fixed a problem with File::Spec usage when creating the names of
1223    'libdoc' manual pages - the code wasn't dealing with the volume or
1224    file portions correctly on certain platforms.
1225
1226  - When creating the names of the 'libdoc' manual pages, we no longer
1227    assume that pods are under the hard-coded paths 'blib/lib' or
1228    'blib/arch'.
1229
1230  - Fixed a crashing bug that could sometimes occur when the
1231    distribution contained no 'lib' directory. [Chris Dolan]
1232
1233  - Fixed a crashing bug that happened when the user had .PL files in
1234    the lib/ directory and didn't explicitly name them in a hash
1235    reference to the new() constructor. [Chris Reinhardt, bug #4036]
1236
1237  - .PL files are now passed the names of their target file(s) on the
1238    command line when they run.
1239
1240  - When YAML.pm wasn't installed, t/runthrough.t wasn't properly
1241    skipping some tests that required YAML.  This is now fixed.
1242    [Stephen J. Smith]
1243
1244  - Added documentation for the dist_version() and dist_name()
1245    methods. [Spotted by Johan Vromans]
1246
1247  - Existing values in $ENV{HARNESS_PERL_SWITCHES} are now respected
1248    and not squashed when we run the 'test' action. [Paul Johnson]
1249
1250  - On cygwin, the separator string for manual page names has been set
1251    to '.'.  Previously it was '::', inherited from Unix. [Yitzchak
1252    Scott-Thoennes]
1253
1254  - Avoid a warning when Build.PL is run (i.e. when the new() method is
1255    called) and no MANIFEST file exists. [Michael Schwern and Kevin
1256    Ruscoe]
1257
1258  - Added documentation for the 'code' and 'docs' actions. [Steve
1259    Purkis and Mark Stosberg]
1260
1261  - The internal method compile_support_files() has been renamed to
1262    process_support_files() in order to make it consistent with other
1263    processing methods.  Note that it was never documented using the
1264    old name.  It's still not documented, actually.  Maybe later.
1265
1266  - Skip the 'write' pseudo-entry in the 'diff' action's installation
1267    map. [Chris Dolan]
1268
1269  - Fixed a bug in which notes() set in the Build.PL before
1270    create_build_script() was called would get lost unless more notes()
1271    were also set afterwards. [Spotted by Dave Rolsky]
1272
1273  - The process of building elements of the distribution is now driven
1274    by a list of build elements, paving the way for letting people add
1275    their own types of build elements in future versions of
1276    Module::Build (or in the current version with some difficulty).
1277
1278  - Fixed some linking errors on Cygwin. [Randy Sims, Terrence Brannon]
1279
1280  - Fixed a line-ending problem with detecting the dist_abstract
1281    properly on Cygwin. [Randy Sims]
1282
1283  - Fixed a problem with signatures that occurred if 'distsign' was
1284    called before 'distdir' - the signature would be generated twice.
1285
1286  - Added a 'create_readme' parameter to new(), which will use
1287    Pod::Text to generate a README from the main (dist_version_from)
1288    module file during the 'distdir' action.
1289
1290  - We now refuse to run the 'Build' script if it was created using a
1291    different version of Module::Build.  This has caused a couple of
1292    nasty bugs in the past, I don't want to know what it would cause in
1293    the future.
1294
1295  - Documentation for do_system() has been added. [Dave Rolsky]
1296
1297  - run_perl_script() is now available as a class method, though it
1298    will need to (re-)find the perl interpreter in this case.
1299
1300  - Added a new_from_context() method that authors of automated tools
1301    like CPANPLUS and CPAN can use instead of running all tasks as
1302    sub-processes.  We also use it in the regression tests for
1303    Module::Build itself.  ** Note that this method is currently
1304    undocumented because its name may change in the future. **
1305
1306  - When signing distributions with Module::Signature, we now
1307    automatically add the SIGNATURE file to the MANIFEST, avoiding an
1308    unpleasant chicken/egg problem for the module author.
1309    [unpleasantness spotted by sungo]
1310
1311  - In Module::Build::Compat, added support for the 'verbose' parameter
1312    to Makefile.PL [spotted by Soren Andersen, fixed by Michael
1313    Schwern]
1314
1315  - The Module::Build distribution now has a cryptographic 'SIGNATURE'
1316    file created by Module::Signature.
1317
1318  - Added proper documentation for the subclass() method. [spotted by
1319    Jonathan Steinert]
1320
1321  - Worked around a Config.pm bug in Red Hat 9 which prevented man
1322    pages from being installed in the correct places. [spotted by Ville
1323    Skytta]
1324
1325  - Fixed a Module::Build::Compat bug in which setting INSTALLDIRS
1326    caused a crash. [spotted by Ilya Martynov]
1327
1328 0.20  Tue Aug 26 14:34:07 CDT 2003
1329
1330  - Separated the 'build' action into two separate actions, 'code' and
1331    'docs'.  This is similar to MakeMaker's separation of the 'all'
1332    target into 'pure_all' and 'manifypods'.  This fixes a permissions
1333    hassle in which doing 'sudo Build install' would often create local
1334    doc files that needed superuser permissions to delete.
1335
1336  - Enhanced the 'help' action - 'Build help foo' will now show the POD
1337    documentation for the 'foo' action.
1338
1339  - Added a notes() feature, which helps share data transparently
1340    between the Build.PL and t/*.t scripts.
1341
1342  - The installation process will now create man(1) and man(3) pages
1343    from POD in modules & scripts, and install them.  We don't build
1344    man pages when there's nowhere to install them, such as on some
1345    Win32 or most Mac systems.  [large patch by Steve Purkis, 5.005 fix
1346    by Mathieu Arnold]
1347
1348  - The 'distdir' action now copies files to the distribution
1349    directory, rather than making them hard links to the original
1350    files.  This allows authors to do last-minute alterations of the
1351    files without affecting the originals. [Dave Rolsky]
1352
1353  - If the author uses XS files in nonstandard locations, the copied
1354    versions of those files will now be cleaned up properly.
1355
1356  - In invoking the 'test' action or invoking 'xsubpp', we now use the
1357    same perl executable as we use everywhere else, rather than blindly
1358    using $^X or $Config{perlpath} (neither of which are very
1359    reliable).
1360
1361  - Fixed a problem with the 'install_path' parameter given to
1362    'Build.PL' being lost in subsequent actions. [Reported by Mathieu
1363    Arnold]
1364
1365  - Fixed yet another bug with installation directories, in which the
1366    'install_base' parameter wasn't being respected on the command
1367    line.  [Spotted by Jonathan Swartz]
1368
1369  - Changed the way the depends_on() method works inside action
1370    subroutines - now each action will only run once per dispatch()
1371    invocation (similar to how perl's require() function works).  This
1372    helps avoid some difficult problems with dependency loops.
1373
1374  - Changed the documentation for the 'autosplit' parameter to give
1375    reasons why it may not be a good idea to use, but no longer
1376    threaten to remove it.  [Suggested by Martyn J. Pearce]
1377
1378  - Improved the formatting of the 'traditional' Makefile.PL generated
1379    by Module::Build::Compat->create_makefile_pl. [Michael Schwern]
1380
1381  - The 'traditional' Makefile.PL will now use the 'module_name'
1382    parameter (as NAME) if it's available, otherwise it will continue
1383    to use the 'dist_name' (as DISTNAME). [Michael Schwern]
1384
1385  - Created read/write accessor methods for all our 'properties'.
1386    [Michael Schwern]
1387
1388  - The 'test_files' parameter can now be specified using glob() syntax
1389    (i.e. 't/*.t'), and the corresponding test_files() method is now a
1390    read/write accessor.
1391
1392  - The location of the 'blib' directory is now a property of the Build
1393    object - nobody is likely to notice this change, with any luck, but
1394    it makes the design and code cleaner.
1395
1396  - The 'disttest' and 'distsign' methods now chdir() back to the
1397    directory where they started, rather than to the base_dir of the
1398    build.
1399
1400  - Improved comparisons of version strings containing underscore
1401    characters (indicating "beta" status). [Steve Purkis]
1402
1403  - Added documentation for the 'dist_author', 'dist_abstract', and
1404    'codebase' parameters to new(), and for the 'ppd' action. [Dave
1405    Rolsky]
1406
1407  - Added documentation for the up_to_date() and contains_pod()
1408    methods. [Dave Rolsky]
1409
1410  - 'traditional' pass-through Makefile.PLs will now contain an
1411    INSTALLDIRS parameter matching the Build.PL's 'installdirs'
1412    setting.
1413
1414  - version_from_file() now ignores $VERSION variables that are defined
1415    in POD or comments.  It can still be tricked by $VERSIONs in string
1416    literals, though.  [Steve Purkis]
1417
1418  - The code to find packages in module files now uses Steve's scanning
1419    method (above) to skip package-declaration-lookalikes in POD or
1420    comments.
1421
1422  - The 'disttest' action will now propagate its @INC settings to its
1423    subprocesses.
1424
1425 0.19  Wed Jul  9 22:34:02 CDT 2003
1426
1427  - Added support for the 'install_path' parameter, which allows custom
1428    specification of where things should be installed.  This is a major
1429    improvement to Module::Build's functionality.
1430
1431  - Added the 'install_base' parameter.  Provides an easy way to
1432    install to local or alternative directory trees.
1433
1434  - We now install scripts by default to $Config{installsitebin}
1435    instead of $Config{installscript}.  Neither is a great choice, but
1436    the former is likely to be [analogous to] /usr/local/bin, and the
1437    latter is likely to be [something like] /usr/bin .  If/when there's
1438    a $Config{installsitescript}, we'll start using that automatically.
1439
1440  - Fixed a problem on Win32 in which C and XS files wouldn't be
1441    compiled properly, and the user would see an error about 'Can't
1442    locate object method "format_compiler_cmd"'.
1443    (http://rt.cpan.org/Ticket/Display.html?id=2391)
1444
1445  - We now use the correct perl interpreter (via
1446    Module::Build->find_perl_interpreter) in pass-through makefiles.
1447
1448  - The t/compat.t test now uses $Config{make} instead of just 'make'
1449    to test makefile compatibility.  This fixes some failures on Win32.
1450    We also skip this test entirely if no make utility is available.
1451
1452  - Alternative distribution layouts are now supported via the
1453    'pm_files', 'pod_files', 'xs_files', 'PL_files', and 'script_files'
1454    parameters to new().  This should help people transition from
1455    MakeMaker, and might even help us write an automatic transition
1456    tool.
1457
1458  - Added tests to t/runthrough.t that check to see installation is
1459    happening correctly.
1460
1461  - Added experimental code to build a .ppd file, in support of
1462    ActiveState's "Perl Package Manager". [original patch by Dave
1463    Rolsky]
1464  
1465  - For authors who use Module::Signature to sign their distributions,
1466    we now create the SIGNATURE file right in the distribution
1467    directory, rather than creating it in the top-level directory and
1468    copying it into place.  This solves problems related to having
1469    files get out of date with respect to their signatures.
1470  
1471  - We now don't depend on Module::Info to scan for packages during the
1472    'dist' action anymore, because it's way too aggressive about
1473    loading other modules that you may not want loaded.  We now just
1474    (ick, yuck) scan the .pm files with a regular expression to find
1475    "package Foo::Bar;" statements.
1476
1477  - Silenced some annoying copyright/logo output from Microsoft 'nmake'
1478    during Makefile compatibility testing. [Randy W. Sims]
1479
1480  - Command-line arguments may now either be specified using the syntax
1481    '--foo foovalue' as well as the traditional syntax 'foo=foovalue'.
1482    The former is often more convenient for shell tab-completion when
1483    the value is a filename (as in 'Build test --test_files t/basic.t').
1484
1485  - Command-line arguments may now include non-named parameters, which
1486    make some actions more natural.  For instance, the 'diff' action
1487    may now be invoked as 'Build diff -u' rather than as
1488    'Build diff flags=-u'.
1489
1490  - Pass-through Makefile.PLs now convert unknown Makefile.PL
1491    parameters to lower-case and hand them to Build.PL, rather than
1492    ignoring them.  This means we only have to account for the
1493    differences in the interface, not the entire interface, in
1494    translating parameters.
1495
1496  - We now issue a warning & don't proceed if asked to make a distdir
1497    and there's no MANIFEST or it's empty.
1498
1499  - Moved INSTALL to INSTALL.txt to increase compatibility with various
1500    odd versions of 'make' during 'make install' on case-insensitive
1501    filesystems (like nmake on Win32, often).  Only affects the
1502    Makefile compatibility layer.  [reported by Andrew Savige]
1503
1504  - Module::Build->known_actions() now works as a class method.
1505
1506  - Pass-through makefiles now list each action individually rather
1507    than using a ".DEFAULT" catch-all.  This improves compatibility
1508    with 'nmake' on Win32, and probably some other less common 'make'
1509    dialects.  [Andrew Savige]
1510
1511  - We're now more aggressive about testing the pass-through makefiles,
1512    e.g. making sure they can run 'all' and 'test' targets, and making
1513    sure the Makefile itself actually exists.
1514
1515  - Fixed a problem with check_installed_status() when installed
1516    version contains non-numeric characters like underscores.
1517
1518  - Fixed a problem with a bareword 'File::Spec' in one of the test
1519    scripts that caused it not to compile under 5.8.0 (but is fine
1520    under 5.6).
1521
1522  - Fixed a problem with the 'destdir' installation parameter on
1523    platforms that have volume identifiers in path names (like "C:" on
1524    Win32).  The identifier is now stripped from installation
1525    directories before prepending the destdir path.  The destdir path
1526    may still have a volume identifier on it.
1527
1528  - Added an 'add_to_cleanup' parameter to new() that calls
1529    add_to_cleanup() immediately for the given files.
1530
1531  - The distribution directory (e.g. Sample-Module-0.13/ ) will now be
1532    deleted during the 'clean' or 'realclean' actions.
1533  
1534  - During testing of modules, blib/lib and blib/arch are now added as
1535    absolute paths, not relative.  This helps tests that load the
1536    modules at runtime and may change the current working directory
1537    (like Module::Build itself does during testing).
1538  
1539  - The $Config{cc} entry on some people's systems is something like
1540    'ccache gcc', so we now split that string using split_like_shell().
1541    [Richard Clamp]
1542
1543  - Added documentation for 'extra_linker_flags' parameter, and added a
1544    corresponding 'extra_compiler_flags' parameter. [original patch by
1545    Richard Clamp]