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