Every remaining (HV *) cast in *.c
[p5sagit/p5-mst-13.2.git] / lib / Module / Build / Changes
1 Revision history for Perl extension Module::Build.
2
3 0.30 - Thu Sep 25 20:57:36 2008
4
5  - First non-beta release since April 2007.  In the meantime, Sarkozy
6    became president of France, the 35W bridge fell in Minneapolis,
7    Phelps won a lot of gold, a new tribe of indigenous people was
8    discovered in the Amazon, and Bob Barker stopped doing The Price Is
9    Right.  As of this moment though, the U.S. economy still hasn't
10    collapsed completely.
11
12 0.2808_05 - Thu Sep 18 23:30:39 PDT 2008
13
14  - Skip test in t/ext.t which tickles shellwords() in Text::ParseWords
15    below 3.23 [David Wheeler, Ken]
16
17  - Fixed some shell-quoting issues in do_system() on Windows [Ken,
18    Schwern, reported by Curtis Jewell]
19
20  - Fixed t/xs.t failure for missing 'const char *' typemap in 5.6
21    [Schwern]
22
23  - Added build_requires for Test::More 0.49 and Test::Harness 2.03.
24    Removed bundled Test::More (was not working for 5.005x anyway).
25    [Schwern]
26
27  - Minimum required perl version is now 5.6.1. [Schwern]
28
29 0.2808_04 - Thu Sep 11 22:51:27 PDT 2008
30
31  - Backed-out incompatible Module::Build::ModuleInfo change (first in
32    0.2808_02.)
33
34 0.2808_03 - Mon Sep  1 14:43:27 PDT 2008
35
36  - Made adjustments for the format changes of recent Test::Harness
37    output. [Nicholas Clark]
38
39  - Fixed the documentation for script_files to indicate that we search
40    bin/ for scripts by default.  It has been this way for several
41    years. [Spotted by Ron Savage]
42
43 0.2808_02 - Wed Jul  9 16:45:08 PDT 2008
44
45  - Experimental support for TAP::Harness with --use-tap-harness option
46    and the tap_harness_args property. [David Wheeler & Eric Wilhelm]
47
48  - Added test_file_exts property for main-run tests other than '*.t'.
49    [David Wheeler]
50
51  - Fixed getcwd()/rmtree() failure case on 5.10+mac where something is
52    unhappy about all of the tests deleting their distgen directory
53    before leaving it. [Eric Wilhelm & David Wheeler]
54
55  - Improved support for parsing qv() in modules' $VERSION
56    declarations, and made $VERSION-parsing errors more verbose. [Jos
57    Boumans]
58
59  - Integrated an omnibus patch for various VMS fixes. [Craig Berry &
60    John E. Malmberg]
61
62  - Some versions of Test::Harness (or something) seem to not be
63    stripping the ".t" suffix when outputting test reports, which was
64    causing one of our tests in t/compat.t to fail.  Fixed. [Spotted by
65    a smoke tester]
66
67  - Most Unix platforms seem to allow hyphens in usernames, so we honor
68    this in our de-tilde-fying methods now. [Spotted by s-murata]
69
70  - If there are multiple assignments to the $VERSION variable in
71    someone's module and this generates warnings, tell the user what
72    line number the problem is at.
73
74  - Added 'gnu' and 'gnukfreebsd' as Unix variants. [Niko Tyni]
75
76  - Fixed a couple bugs in how we quote arguments to external processes
77    when they have to pass through the shell.  Also much more
78    thoroughly tested our quoting now.
79
80  - Edited the Module::Build::API docs prose about the 'license' field
81    in response to some comments on the module-authors mailing list.
82
83  - Fixed a typo in some example code in the Cookbook. [Jeremy Leader]
84
85  - Custom typemaps were being looked for in places that don't quite
86    exist; fixed. [Michael G Schwern]
87
88  - QNX/Neutrino is now considered to be Unix. [rt.cpan.org 32214]
89
90  - Added 'gpl2' and 'gpl3' to the list of valid licenses. [Allen
91    Engelhardt]
92
93  - Fixed our Data::Dumper wrapper's sensitivity to users who might set
94    $Data::Dumper::Terse. [Spotted by Dominique Dumont]
95
96  - Documented the fix_shebang_line() method. [Elliot Shank]
97
98  - Applied the 'const' modifier to version() and xs_version() XS
99    functions we use during testing. [Robin Barker]
100
101  - Fixed processing of INC=, POLLUTE=, INSTALLDIRS=, and LIB= for
102    passthrough/small Makefile.PLs.
103
104  - perl Build.PL --sign=1 now signs. [Michael G Schwern]
105
106  - Fixed processing of INSTALLDIRS=whatever for compatibility
107    Makefiles. [Spotted by John Peacock]
108
109  - Zillions of special-cases have been added in Compat.pm for dealing
110    with the special Makefile system on VMS. [John E. Malmberg]
111
112  - Fixed some stuff in how VMS command-args get quoted. [John E. Malmberg]
113
114  - VMS now overrides localize_file_path() and localize_dir_path() so
115    we don't need to do special stuff in the general case. [John
116    E. Malmberg]
117
118  - Added a few more VMS-specific entries to the default MANIFEST.SKIP
119    file that (sometimes) gets created during the 'manifest'
120    action. [John E. Malmberg]
121
122  - Fixed a catdir() that should have been a catfile() when creating a
123    ppmdist. [John E. Malmberg]
124
125  - Removed some assumptions about what makefiles are called (not
126    necessarily "Makefile") and how they take their arguments, to get
127    VMS tests working better. [John E. Malmberg]
128
129  - Fixed our check for Archive::Tar in the t/runthrough.t test, which
130    fixes a common failure on Win32. [Spotted by Chris Williams]
131
132  - Fixed a File::Spec mal-ism in t/destinations.t [Craig A. Berry]
133
134  - Exposed the internal ExtUtils::CBuilder object as part of our API,
135    via the cbuilder() method. [Zefram]
136
137  - Upgraded to version.pm 0.74 (fixes bug #30004.)
138
139  - Overwrite core (post-5.9.4) Module::Build installs (bug #20528.)
140
141  - Pass quiet() option to ExtUtils::CBuilder object.
142
143 0.2808_01 - Wed Oct 24 11:51:25 2007
144
145  - All .pm files in the Module-Build distribution (except for
146    M::B::Version.pm, which is kind of tied to version.pm) now have the
147    same $VERSION number explicitly specified.
148
149  - When checking prerequisites, the required version of perl is now
150    checked before we start finding the $VERSION declaration of the
151    distribution, which results in much more intuitive error messages
152    e.g. if the author is using 5.6-isms in their declaration but the
153    user doesn't have 5.6. [Slaven Rezic]
154
155  - Added 'artistic_2' license, corrected 'lgpl' license url (bug #29783)
156    [David Thomas]
157
158  - VMS find_perl_interpreter() is just $^X (bug #29810) [Craig A. Berry]
159
160  - Some large VMS fixes, mostly having to do with the non-case-
161    preserving nature of most VMS filesystems, but also correcting for
162    illegal characters in VMS file specs. [John E. Malmberg and Craig
163    A. Berry]
164
165  - Fixed the _detildefy() method on VMS. [John E. Malmberg and Craig
166    A. Berry]
167
168  - We now use a much more reliable method when Data::Dumper-ing saved
169    state data. [Yves]
170
171  - When a module had 0.000 as its version, a few places in the code
172    thought the module had no version at all.  This is now
173    fixed. [Andrew "Zefram" Main]
174
175  - When finding the default set of script_files, we now compute them
176    as relative paths, not absolute. [Spotted by Curtis "Ovid" Poe]
177
178  - Got rid of a call to eliminate_macros, which isn't needed in
179    Module::Build since there is no external make utility involved.
180    Override expand_test_dir to make up for the fact that the
181    home-grown glob() returns absolute, not relative, paths. [Craig
182    A. Berry]
183
184  - Fixed a catdir() that needed to be catfile() in the .packlist
185    creation code. [John E. Malmberg]
186
187  - If a *.PL file ended abnormally during the build, processing should
188    have stopped, but it didn't.  Fixed. [Matthew Cast and David
189    Golden]
190
191  - Module::Build::Compat adds "require 5.XXXXX" to Makefile.PL when 
192    'perl' is specified as a 'requires' prerequisite [David Golden]
193
194  - Refactored t/compat.t for modularity and transparency; added 
195    labels for all tests; supressed subprocess output to 
196    STDOUT and STDERR [David Golden]
197
198  - Fixed bug in perl_version_to_float when version is already a float
199    [David Golden]
200
201  - Removed a mention of $build->{config} from the documentation, the
202    official interface to Config.pm settings is now via the
203    $build->config() and has been for some time. [Suggested by Michael
204    Schwern]
205
206  - Tweaked some text in the Cookbook to bring it into the modern age,
207    and added a recipe for accessing Config.pm settings. [Ibid]
208
209  - Lots of POD link/readability improvements to the Module::Build::API
210    documentation [Salve J. Nilsen]
211
212  - Added configure_requires as a new type of prereq.  [Suggested by Adam
213    Kennedy]
214
215  - Patch 31156 from bleadperl: some filename dot and extension help
216    for Module::Build on VMS. [Craig Berry]
217
218  - Reworked the _detildefy() method so it doesn't depend on glob()
219    anymore.  This gets rid of a problem with spaces or other special
220    shell characters in things like 'prefix' or 'install_path'
221    entries. [Prodding by Eric Wilhelm]
222
223  - Added midnightbsd to the list of Unix-like OSes we know about
224    [Rafael Garcia-Suarez]
225
226 0.2808 - Sat Apr 28 12:59:43 2007
227
228  - Added is_vmsish(), is_windowsish(), and is_unixish() boolean
229    convenience functions.  Fixes some test failures on platforms where
230    $^O is set to a value we don't know about (like 'gnu').
231
232  - Upgraded to version.pm 0.7203. [John Peacock]
233
234  - Support get_action_docs() =head2 style. [ewilhelm]
235
236  - Workaround Test::Pod::Coverage @INC bug. [Eric Wilhelm]
237
238  - Fixed the command-line args --extra_compiler_flags and
239    --extra_linker_flags so they properly shell-split their arguments.
240
241 0.2807 - Sat Mar 24 22:19:02 2007
242
243  - Upgraded to version.pm 0.71. [John Peacock]
244
245  - Removed a couple small constructs in the tests ("use warnings;" and
246    "qw$foo bar$[1]") that caused test failures under perl 5.005.
247
248  - Added support for an explicit default value of undef in prompt().
249    [Eric Wilhelm]
250
251  - Improved our prompt() method, which could sometimes hang before the
252    user got a chance to see a prompt. [Andreas Koenig]
253
254  - Added a note about --allow_mb_mismatch to the error message that
255    happens right before someone might want to use that parameter.
256
257  - Added DragonflyBSD to the list of known Unix OSes.
258
259  - get_action_docs() dies on error rather than twiddling $@
260
261  - Made ModuleInfo's _evaluate_version_line() compatible with 'use
262    version ...$VERSION' lines.  [Eric Wilhelm]
263
264  - Added some verbiage in Module::Build::API that officially blesses
265    the _build/prereqs file for external consumption. [Suggested by Andreas Koenig]
266
267  - Added test profiles support via the test_types property and "testall"
268    target. [Eric Wilhelm, Jeff Lavallee]
269
270  - Use syscopy() on OS/2 in copy_if_modified() so we make sure to
271    overwrite any existing target file. [Ilya Zakharevich]
272
273  - Removed seemingly silly '~~' test in t/tilde.t.
274
275  - In our test-time utility library t/lib/MBTest.pm, we need to know
276    about a few .exe-like extensions on OS/2. [Ilya Zakharevich]
277
278  - In t/ppm.t, use DynaLoader::mod2fname() (if available) to determine
279    the correct translation of our test module's name into a DLL
280    name. [Ilya Zakharevich]
281
282  - Avoid an unlink() error on OS/2 when fixing shebang lines. [Ilya
283    Zakharevich]
284
285  - When we're protecting the world from the evils of long RedHat
286    $ENV{PERL5LIB} variables, don't assume $ENV{PERL5LIB} is already
287    defined.  This gets rid of a huge number of warnings for some
288    people. [Dave Rolsky]
289
290 0.2806 - Fri Dec 15 22:20:14 2006
291
292  - On some systems (haven't identified the actual problem yet)
293    $ENV{PERL5LIB} can grow to enormous enough sizes that we can't
294    launch any more subprocesses because the environment table is full.
295    This is the now-infamous "Couldn't run Build.PL: Argument list too
296    long" error.  Now we detect such situations and trim the directory
297    list to only include directories that actually exist, listed only
298    once each.  Not the ideal solution, but it should work.
299
300  - Silence a warning in M::B::ModuleInfo that happens when the author
301    is using the "$VERSION = eval $VERSION" idiom.
302
303  - When running the 'testcover' action, do "cover --delete" if any of
304    the test files have changed (we already did so if any of the code
305    under test has changed). [Suggested by Chris Dolan, RT #23584]
306
307  - Fixed a broken link in the documentation about PREFIX. [Spotted by
308    David Steinbrunner]
309
310  - Changes to do_system() & friends on VMS to get system calls working
311    much better there. [Craig Berry]
312
313  - Added the "pardist" target which creates a PAR binary distribution
314    akin to a PPM distribution. [Steffen Mueller]
315
316  - Added the Interix platform as a Unix variant. [Stephen Hartland]
317
318  - Improved the error message we emit when a distribution contains XS
319    files but the user has no C compiler. [Suggested by Andreas Koenig]
320
321 0.2805_01  Thu Sep  7 21:57:29 CDT 2006
322
323  - Because of a weird behavior of YAML::Node, any distribution that
324    used version.pm objects to define their versions was generating the
325    wrong syntax for the versions in their META.yml file.  They will
326    now appear as strings like v3.42.1 or similar, including the
327    leading v.
328
329  - Upgraded to version 0.67 of version.pm. [John Peacock]
330
331  - Added a contrib/ directory with a bash completion function for M::B
332    actions and switches. [Julian Mehnle]
333
334  - When we eval() the embedded version.pm code we will now die() if
335    the eval() was unsuccessful, rather than continuing blindly on and
336    dying mysteriously later.
337
338  - Added a 'retest' action that lets users run the current regression
339    tests on a previously-installed version of a distribution.
340
341  * Instead of storing an entire dump of the Config.pm hash in the
342    _build/ directory upon startup, we now just store any overrides the
343    user or author has specified.  Note that if you were doing anything
344    you weren't supposed to be doing, like poking around in the
345    internals of $buld->{config}, your code might break, so I've put
346    the asterisk of incompatibility on this one just to cover my
347    tuchus.  [Idea originally by Randy Sims]
348
349  - Made copying files via copy_if_modified() a little less chatty.
350
351 0.2805  Sat Jul 29 22:01:24 CDT 2006
352
353  - We now embed a copy of version.pm right in the
354    Module::Build::Version source code, with John Peacock's blessing,
355    in case the user has a rough time installing version.pm.  This
356    helps alleviate troubles people were still having with working out
357    a seemingly circular dependency (even though version.pm now ships
358    with a standard Makefile.PL too).  A version.pm >= 0.661 installed
359    on the system will take precedence over our bundled one. [John
360    Peacock]
361
362  - Fix some test warnings (or failures?) related to version.pm
363    numification. [John Peacock]
364
365  - The top-level 'version' entry in META.yml files we'd generated was
366    in the wrong format (it was being treated as a version.pm object
367    rather than a serialized copy) due to a weird YAML::Node issue.
368    Fixed.
369
370  - Don't 'use base qw(version)' anymore in our M::B::Version wrapper,
371    just set @ISA directly, because some people have reported that the
372    'use base' line is croaking.
373
374  - Added an 'allow_mb_mismatch' parameter to suppress the startup
375    check that ensures the version of M::B currently running is the
376    same as the one initially used to run the Build.PL.  Use with
377    caution.
378
379  - Module::Build::ModuleInfo will no longer detect things that look
380    like $VERSION assignments after an __END__ or __DATA__ token.
381
382  - Updated documentation to mention the new mailing list on perl.org
383    rather than the old one on sourceforge.
384
385 0.2804  Sun Jul 16 16:41:25 CDT 2006
386
387  - Added 'use version;' in Module::Build::Version, because some
388    versions of base.pm won't automatically load version.pm when we do
389    'use base qw/version/;'. [Spotted by Erik Tank]
390
391 0.2803  Sat Jul 15 08:26:34 CDT 2006
392
393  - The META.yml file in the last release was all screwed up, so the
394    distribution wasn't indexed properly.  Fixed in this release.
395
396 0.2802  Fri Jul 14 22:40:34 CDT 2006
397
398  - Added reliance on version.pm, which means we should deal much
399    better with the wide range of version specifications one finds on
400    CPAN.  This is made possible by recent releases of version.pm that
401    give the user a pure-perl option, so installing version.pm
402    shouldn't be too onerous for most users.  [John Peacock]
403
404  - We should be accepting the default when we're in unattended mode,
405    not acting dumb and ignoring both the default and the [empty]
406    answer from the user.  Fixed.  [Spotted by Nik Clayton]
407
408 0.2801  Sun May 21 00:07:40 CDT 2006
409
410  - Module::Build::Compat's emulation of INC is incorrectly prepending
411    a -I to the value of INC. This is incorrect because there should
412    already be a -I on the value. I.E. it's "perl Makefile.PL INC=-Ifoo"
413    not "perl Makefile.PL INC=foo" so Compat should not prefix a -I.
414    [Michael Schwern]
415
416  - Native batch scripts under Windows should not be converted by
417    pl2bat. [Spotted by Ron Savage]
418
419  - Tweaked the way we determine whether a file is executable on Unix.
420    We use this determination to decide whether to make it executable
421    during installation. [Julian Mehnle]
422
423  - Replaced a vestigial 'next' with 'return' now that the code is in a
424    subroutine (htmlify_pods()), not a loop. [Ron Savage]
425
426  - Fixed a guaranteed failure in t/signature.t when TEST_SIGNATURE was
427    set. [Eric R. Meyers]
428
429  - Fixed a test failure that occurred when testing or installing in
430    unattended mode - the code to test whether unattended mode and
431    attended mode are working properly was assuming that we started out
432    in attended mode. [Steve Peters]
433
434  - Improved our stand-in YAML generator that we use to generate
435    META.yaml when authors don't have a copy of YAML.pm installed on
436    their machine.  It was unable to handle things like embedded
437    newlines in the data, now it has a much more extensive escaping
438    mechanism. [Stephen Adkins]
439
440  - Revised the docs for --prefix and PREFIX. [Michael Schwern]
441
442 0.28  Thu Apr 27 22:25:00 CDT 2006
443
444  - When y_n() or prompt() are called without a default value and the
445    build seems to be unattended (e.g. in automatic CPAN testing), we
446    now die() with an error message rather than silently returning
447    undef for prompt(), or looping indefinitely for y_n().
448
449  - When searching for '.modulebuildrc', return the first HOME-like
450    directory that actually contains the file instead of the first
451    existing directory. Document the search locations and the order
452    searched. [Spotted by David Golden]
453
454  - Split the API documentation out of Module::Build::Authoring into
455    its own document: Module::Build::API.
456
457  - We should not emit a warning if a Module::Build subclass is
458    required in a Makefile.PL that is not bundled in the current
459    distribution; it may be installed on the user's system. [Spotted by
460    Tyler MacDonald]
461
462  - copy_if_modified() now preserves the executable bit of the source
463    file. [Spotted by Julian Mehnle]
464
465  - Fixed compatibility of our screen-scraping the Test::Harness output
466    so we can recognize the most recent Test::Harness version. [Steve
467    Hay]
468
469  - Backing out a requirement added in 0.27_06 on the method y_n()
470    to always include a default. This behavior would cause existing
471    build scripts to start failing. We now fail with a missing default
472    only when $ENV{PERL_MM_USE_DEFAULT} is set because there is no
473    reasonable default.
474
475  - Make install_types() method smarter with respect to custom install
476    types.
477
478  - Add documentation for the install_base_relpaths() and
479    prefix_relpaths() methods. Improved their usage for a public API,
480    and added tests.
481
482 0.27_10  Tue Mar 28 22:50:50 CST 2006
483
484  - Added the create_packlist property, default true, which controls
485    whether packlist files will be written during installation.  This
486    was already part of Module::Build 0.2609, but for some reason we've
487    forgotten it in the 0.27_xx series.  [Spotted by Steve Kirkup]
488
489  - Document the versions of Module::Build where each feature, action,
490    constructor argument, and method was first publicly documented.
491
492  - More fixes for find_perl_interpreter() to work with BSD flavored
493    UNIX: Ensure we always return absolute paths; throw an exception
494    upon failure to find correct interperter; document everything.
495
496  - We now include our own YAML.pm work-alike that we can use when the
497    real YAML isn't installed.  We might soon even start using it when
498    YAML is installed, because the YAML API and dependency chain have
499    been changing in unfavorable ways lately. [Stephen Adkins]
500
501  - Fixed some shell-argument-quoting issues on VMS.  In the process,
502    we have added some support for avoiding tripping over
503    shell-argument-quoting issues on other platforms too. [Initial
504    patch by Craig A. Berry]
505
506 0.27_09  Sat Mar 11 22:48:54 EST 2006
507
508  - Fixed find_perl_interpreter() so we can find the perl executable
509    when running from uninstalled perl even when $^X contains a
510    relative path. [Yitzchak Scott-Thoennes]
511
512  - Fixed warning message where we were printing the wrong field names.
513    [Chris Dolan]
514
515  - Added a 'testpodcoverage' action that runs a POD coverage check for
516    all modules in the distribution. [Yanick Champoux]
517
518  - Added a Cookbook example of subclassing to modify an action. [Dylan
519    Martin and David Golden]
520
521  - When building HTML documentation, we were opening the POD file and
522    not checking whether the open succeeded, which of course caused
523    problems down the line if it failed.  Now we do "or die(...)" like
524    everywhere else. [Spotted by Joerg Braun]
525
526 0.27_08  Fri Mar  3 21:22:41 CST 2006
527
528  - Due to shell quoting issues and differences in syntax between
529    various flavors of Windows, the code for the 'pl2bat' utility
530    distributed with Perl has been incorporated into M::B::P::Windows.
531    [Thanks to Dr Bean and Ron Savage for help testing and isolating
532    the problem.]
533
534  - Modify add_build_element() so that it only adds elements if they
535    don't already exist. [David Wheeler]
536
537  - Fixed a bug in the 'pass-through' Makefile.PL in which we would die
538    if CPAN::Shell->install returned false, but apparently this return
539    value is unreliable.  Now we only die if the module is actually
540    unavailable after installation.
541
542  - Fixed testing problems on VMS related to non-case-preserving
543    filesystems.  We now bundle Tie::CPHash in the distribution (just
544    for testing purposes, it doesn't get installed) to help with
545    this. [Craig Berry and Yitzchak Scott-Thoennes]
546
547  - We incorrectly documented the 'dynamic_config' flag in the META.yml
548    file as having a default value of false, but according to the
549    META.yml spec (which, for heaven's sake, we wrote) its default
550    value is true.  Fixed. [Spotted by Adam Kennedy]
551
552  - The have_c_compiler() method was dying if the ExtUtils::CBuilder
553    module wasn't around, which is obviously an unhelpful thing to do.
554    Now it just returns false. [Spotted by John Peacock]
555
556  - Fix detection of $VERSION expressions that are not
557    assignments. [Spotted by Chris Dolan]
558
559  - Obfuscate one of our constructs that uses a $VERSION variable,
560    because it was getting picked up by ExtUtils::MakeMaker's
561    version-finder. [Spotted by Randal Schwartz]
562
563  - The config_data script for querying and/or setting a module's
564    config data was forgetting to call write() after setting config
565    values (though setting feature values was working fine).
566    Fixed. [Brian Duggan]
567
568  - On Windows, remove the pl2bat generated 'Build.bat' script without
569    the annoying "The batch file cannot be found." error.  [Solution
570    provided by RazTK and foxidrive on newsgroup alt.msdos.batch]
571
572  - Our version comparisons should now work correctly with modules that
573    use version.pm to delcare their versions (e.g. "our $VERSION =
574    version->new('1.0.0')"). [John Peacock and Ron Savage]
575
576  - We now create a Build.bat script on versions of Windows where it
577    makes sense. [Yves]
578
579  - Fixed the verbiage around choosing the correct make-alike on
580    different platforms to suggest using 'perl -V:make'. [Suggested by
581    anonymous user]
582
583 0.27_07  Wed Feb  1 20:07:45 CST 2006
584
585  - The notes() method now returns the new value when called with two
586    arguments, just like when it's called with one argument. [Tyler
587    MacDonald]
588
589  - The notes() method now distinguishes among the values undef, 0, and
590    the empty string, where previously it didn't. [Tyler MacDonald]
591
592  - We now unshift(@INC) rather than push(@INC) for the directory where
593    a build subclass lives, so that we're sure to pick up the right
594    version and not some already-installed version. [perlmonkey]
595
596  - The SIGNATURE file for version 0.27_06 (and I'm sure for lots of
597    versions before that too!) was messed up, since we were modifying
598    some files after signing.  This has been band-aided for the time
599    being by signing twice. [Reported by Chris Dolan]
600
601 0.27_06  Mon Jan 23 21:44:54 CST 2006
602
603  - Fixed an undefined-variable warning when building the META.yml file
604    and the author hasn't used the 'module_name' mechanism. [Chris Dolan]
605
606  - We should now work with recent (> 0.49) versions of YAML.pm when
607    creating the META.yml file. [Yitzchak Scott-Thoennes]
608
609  - The y_n() method now requires the default parameter, and the
610    prompt() and y_n() methods have been improved with respect to
611    how they behave/detect when there is no user to ask.  We're now
612    more consistent with MakeMaker, including respecting the
613    PERL_MM_USE_DEFAULT environment variable. [Tyler MacDonald and
614    Yitzchak Scott-Thoennes]
615
616  - When building a README file using Pod::Text, work around a bug in
617    Pod::Text 3.01, which expects Pod::Simple::parse_file to take input
618    and output filehandles when it actually only takes an input
619    filehandle. [Yitzchak Scott-Thoennes]
620
621 0.27_05  Thu Jan 12 17:39:21 CST 2006
622
623  - In t/common.pl, we were attempting to let the user's installed
624    Test::More take precedence over ours, but getting thwarted by all
625    the test scripts' loading Test::More beforehand.  Fixed. [Spotted
626    by Yitzchak Scott-Thoennes]
627
628  - In various test scripts, we were outputting some strings that
629    weren't strictly conformant with Test::Harness's expected input,
630    though it didn't actually cause problems.  Now we're more
631    conformant, though not yet strict. [Spotted by Yitzchak
632    Scott-Thoennes]
633
634 0.27_04  Fri Dec 23 10:43:34 CST 2005
635
636  - Removed experimental feature that extended the prerequisite system
637    to apply ('requires', 'recommends', and 'conflicts') prereqs to all
638    actions. Most of the internal extensiblity has been retained so
639    that prereq types can easily be added, more selectively.
640
641  - Added a 'prereq_report' action that shows the user a well-formatted
642    list of all prerequisites, the versions required, and the versions
643    actually installed. [David Wheeler]
644
645  - Clarified the directory name that's created during the 'distdir'
646    action. [Suggested by Tyler MacDonald]
647
648  - Fixed a bug when creating the META.yml file without the help of
649    YAML.pm - some common strings weren't quoted & escaped properly.
650    Now only some uncommon ones are. [Spotted by Joshua ben Jore]
651
652  - Fixed a bug in which an "UNINST=1" argument specified to a
653    passthrough Makefile's "make install" wasn't actually seen by
654    Module::Build.
655
656  - Rather than dying when the Build script is run from the wrong
657    directory, it now simply chdir()s into the right directory and
658    keeps going. [Suggested by Dominique Quatravaux]
659
660  - Added an "Examples on CPAN" section to the cookbook, with an
661    initial entry pointing to John Peacock's SVN-Notify-Mirror
662    distribution.
663
664  - Add an invoked_action() method to return the name of the original
665    action invoked by the user.
666
667  - Add 'meta-spec' field to the generated META.yml file, including the
668    version of the specification followed by the current Module::Build
669    and the url where the specification can be found.
670
671  - Introduced two actions, 'html' & 'manpages', that generate
672    documentation for POD when the respective feature is enabled.  The
673    actions will generate the documents even if there is no set place
674    to install to.  However, if the actions are invoked as a dependency
675    of another action (e.g. build), the documentation will only be
676    built when there is a default or user-specified place to install to.
677
678  - Added support for environment variable, 'MODULEBUILDRC', which can
679    be used to specify the full path to an option file to use instead
680    of the default location of ~/.modulebuildrc. A special undocumented
681    setting of 'NONE' tells Module::Build not to load any user settings,
682    so tests can be run without tainting from user options.
683
684  - Documented and improved preliminary support for more Getopt::Long
685    style options are supported, including boolean options (--verbose,
686    --no-verbose), and use of hyphens in option names in addition to
687    underscores.
688
689  - The option to disable/enable reading of the ~/.modulebuildrc file
690    is changed from 'skip_rcfile' to 'use_rcfile'
691
692  - Allow the 'distmeta' action to continue when 'MANIFEST' is missing,
693    omitting the generation of the 'provieds' field. [Steven Schubiger]
694
695  - Fixed some failing regex from generated MANIFEST.SKIP file.
696
697  - Fixed an edge case in $VERSION parsing where we thought a package()
698    declaration was happening but it wasn't. [David Golden]
699
700  - Added docs for the install_destination() and install_types() methods.
701
702 0.27_03 (Beta for 0.28)  Mon Oct 10 11:19:23 EDT 2005
703
704  - We now use ExtUtils::CBuilder to do all compiling of C code (for
705    example, when compiling XS modules).  (This change actually
706    occurred in 0.27_01, but it was mistakenly omitted from the Changes
707    file.)
708
709  - Fixed an issue on Win32 (and other case-tolerant
710    non-case-preserving systems, possibly like VMS?) in which the
711    current working directory would sometimes be reported with
712    different case, fooling us into thinking that we were in the wrong
713    directory. [David Golden]
714
715  - The extra_compiler_flags setting was not actually being passed
716    along to ExtUtils::CBuilder so it could pass it along to the
717    compiler.  Now it is.
718
719  - The synonyms 'scripts' and 'prereq' for 'script_files' and
720    'requires' were broken in a previous version (0.27_01, probably),
721    but now they're fixed. [David Golden]
722  
723  - Previously, we assumed that any custom subclass of Module::Build
724    was located in _build/lib/.  This is only true if the author used
725    the subclass() method, though.  We now use %INC to find where the
726    custom subclass really is, so that we can "use lib" it.  We also
727    issue a warning if it seems to be outside the build directory.
728    [Spotted by Peter Tandler]
729
730  - Added a URL for each license type that we know about, which will
731    appear as resources=>license: in the generated META.yml file.
732
733  - If the user passes a no_index parameter to our constructor, we now
734    pass that through when building the META.yml file. [Richard
735    Soderberg, RT #9603]
736
737  - A few more status messages can now be suppressed by using 'quiet'
738    mode.  [Dave Rolsky]
739
740  - Added some more entries to the default MANIFEST.SKIP file. [Chris
741    Dolan]
742
743  - Our POD parser will now accept "AUTHORS" as well as "AUTHOR" when
744    looking for the author list in a module. [David Wheeler]
745
746  - When looking for the POD to auto-generate a README file, or for the
747    AUTHOR or ABSTRACT for the distribution, we now also look for a
748    *.pod with the same name as the *.pm file specified by
749    'version_from'. [David Golden]
750
751  - The recommended dependency on ExtUtils::ParseXS has been moved into
752    the "C_support" auto_feature.
753
754  - When building XS files, we now pass the -DVERSION and -DXS_VERSION
755    flags to the compiler. [Spotted by Jerry Hedden]
756
757  - If a distribution has XS files and Module::Build has not been
758    configured with the "C_support" feature, we now issue a
759    warning. [Suggested by Jerry Hedden]
760
761  - Added a dir_contains() method.
762
763  - Some versions of MakeMaker, CPANPLUS, and/or PAUSE thought that a
764    certain line of our code was declaring a $VERSION when we didn't
765    intend to.  The line has been obscurified so they won't think that
766    anymore. [Jos Boumans, RT #14226]
767
768  - Added the Apache, MIT, and Mozilla licenses to the list of licenses
769    that this module knows about. [Bob Ippolito]
770
771  - Fixed a pretty significant typo in the documentation for
772    auto_features. [Spotted by Jonas B. Nielsen]
773
774  - In order to aid people who want to do customization of the META.yml
775    file, we've added a "metafile" property that can then be easily
776    overridden in subclasses, changed do_create_meta_yml() to
777    do_create_metafile(), and split out the code that actually
778    generates the YAML into a new method, write_metafile(). [David
779    Wheeler]
780
781  - Fixed a couple of non-helpful behaviors with extra_compiler_flags
782    and extra_linker_flags.  These will automatically be run through
783    split_like_shell() when given to new() as strings.
784
785  - When the user doesn't have ExtUtils::ParseXS installed and we use
786    the old 'xsubpp', the displayed command line for creating the .c
787    file from the .xs file was missing its newline.  Now it's got it.
788
789 0.27_02 (Beta for 0.28)  Fri Jul 15 07:34:58 CDT 2005
790
791  - Provided initial support for the --prefix installation parameter,
792    which acts like MakeMaker's PREFIX.  It is still highly recommended
793    NOT to use it when you could reasonably use --install_base or
794    --install_path or --install_dest, but that's just because the way
795    --prefix is designed is weird and unpredictable.  Ultimately the
796    choice rests with the installing user. [Patches by Michael Schwern
797    and Rob Kinyon]
798
799  - Fixed a bug in subclass() which prevented people from using it to
800    subclass subclasses of Module::Build. [Chris Dolan]
801
802  - Added a 'pure_install' action, which for the time being is
803    identical to the 'install' action. [Jos Boumans]
804
805  - Fixed a POD error in an L<http://...> tag. [Offer Kaye]
806
807  - Note several options for automatically creating a new module dev
808    tree. [Suggested by Eric Wilhelm]
809
810  - Removed some hard-coded references to File::Spec::Unix in the
811    creation of HTML docs, which should help that code work in more
812    places, and help people not to panic when they look at it. [Spotted
813    by Yves]
814
815  - We now use Pod::Readme by default (instead of Pod::Text) to
816    generate the README file when the 'create_readme' option is used.
817    If Pod::Readme is not installed, we will still fall back to using
818    Pod::Text.  [Robert Rothenberg]
819
820  - The values of the "prefix", "install_base", "install_path", and
821    "install_dest" parameters can now begin with "~" or "~user", and
822    we'll de-tilde-ify them by using glob().
823
824  - The (optional) auto-creation of the README and Makefile.PL files
825    have been moved from the 'distdir' action to the 'distmeta'
826    action. [David Golden]
827
828  - When looking for a .modulebuildrc file, we now use a fancier method
829    of trying to find the home directory, because $ENV{HOME} isn't a
830    very cross-platform variable. [Robert Rothenberg]
831
832  - We now memoize the output of the internal _default_INC() method,
833    since it uses backticks and might be kind of slow.
834
835  - When processing XS files, we now look for a typemap in lib/ as well
836    as using the system's default typemap. [John Peacock]
837
838  - The DESTDIR, PREFIX, and INSTALL_BASE arguments to "make install"
839    are now supported for pass-through Makefiles (they've been
840    supported for quite a while as arguments to "perl
841    Makefile.PL"). [Requested by Guillaume Rousse]
842
843  - Test::Harness has changed its output format in recent versions,
844    which threw off one of our tests.  We now allow for this different
845    format. [Reported by Scott Godin]
846
847  - Fixed an issue that prevented Module::Build from upgrading itself
848    using its own API (which is how CPANPLUS uses it).  There are still
849    some issues with this solution, however.  See ticket #13169 in
850    rt.cpan.org. [Reported by Jos Boumans]
851
852  - Fixed a fatal error that occurred when a distribution's author
853    could not be determined from its POD nor from the call to
854    Module::Build->new() in its Build.PL.  See ticket #12318 in
855    rt.cpan.org. [Reported by Jos Boumans]
856
857  - Apparently on Windows and cygwin it's not possible to use the "-pi"
858    switch to perl without a backup extension, so now we use ".bak" and
859    remove the backup file when we're done.  Thus the "dist" action for
860    Module::Build itself can now be run on those platforms. [Yitzchak
861    Scott-Thoennes]
862
863  - Improved the handling of auto_features in the config_data access
864    script. [Yitzchak Scott-Thoennes]
865
866 0.27_01 (Beta for 0.28)  Fri Apr 15 21:12:57 CDT 2005
867
868  Backward-incompatible (but better) changes:
869
870  * When using the 'install_base' option to choose a directory for
871    installing everything, perl modules now go into lib/perl5/ instead
872    of just lib/.  It seems this is more consistent with people's
873    expectations, and the way I had it before was a bit peculiar to the
874    way I like things in my own home directory. [Michael Schwern]
875
876  * When the user is using the 'install_base' option, scripts will now
877    be installed by default in $install_base/bin/ rather than
878    $install_base/script/ . [Jan Hudec and Michael Schwern]
879
880  Major changes:
881
882  - The auto_features mechanism will now re-evaluate dependencies every
883    time feature() is called for an auto-feature, rather than freezing
884    the success/failure value during 'perl Build.PL' and using that
885    value for all eternity (or module update, whichever comes first).
886    This applies to both $build->feature() and
887    FooModule::ConfigData->feature() calls. [Requested by many]
888
889  - Added the meta_add and meta_merge mechanisms, which let the module
890    author add/merge arbitrary entries into the META.yml file.
891
892  - Now reads per-action default options from '$ENV{HOME}/.modulebuildrc'
893    if it exists. Command line options override anything set in the rc file.
894
895  - We now use ExtUtils::CBuilder to do all compiling of C code (for
896    example, when compiling XS modules).
897
898  - The creation of Unix man pages is no longer a strict necessity - it
899    has now been turned into an 'auto-feature' contingent on the
900    presence of Pod::Man and a location specified for man pages to go.
901
902  - A user-specified 'install_path' setting will now take precedence
903    over an 'install_base' setting.  This allows the user to use
904    'install_base' to set the base for all elements in one go, and then
905    use 'install_path' to override specific paths or add paths for
906    additional kinds of targets.
907
908  - Split the main documentation from 'Module/Build.pm' into two
909    sections. The user level documentation and overview remains in
910    'Module/Build.pm', while a new document,
911    'Module/Build/Authoring.pod', has been created for module authors.
912
913  Minor changes:
914
915  - new_from_context() was losing its arguments in some cases (and not
916    because of inadequate training in forensic debate) - we now pass its
917    arguments directly to the Build.PL script rather than merging them
918    in afterwards.
919
920  - Let resume() return an object blessed into the appropriate class
921    if the user has provided a subclass, as specified by the
922    'build_class' property. This allows current() and new_from_context()
923    to behave more like factory methods returning objects of the correct
924    class based on context. [Ray Zimmerman]
925
926  - Refactored methods relating to parsing perl module files for
927    package, version, and pod data into a new class:
928    Module::Build::ModuleInfo.  It should not be considered part of
929    Module::Build's API, because we may split it out entirely as a
930    separate CPAN module that we depend on.
931
932  - Added new method Module::Build::prepare_metadata() for authors to
933    override in order to add custom fields to META.yml.
934
935  - We now use Test::More for our regression tests.  If the user
936    doesn't have it installed, we include a copy in t/lib/ that we can
937    use during testing.
938
939  - When copying files in the 'distdir' action, set permissions to match
940    the original files. [Julian Mehnle]
941
942  - When adding files like META.yml to the MANIFEST, we now tell the
943    user we're doing so by printing one of the "Added to MANIFEST: ..."
944    lines.  [Ron Savage]
945
946  - Added a runtime_params() method, which lets a module author see
947    which parameters were overridden by the user on the command line
948    (or in whatever paradigm the user originally invoked Module::Build
949    from). [David Wheeler]
950
951  - Added the current_action() method, which, surprisingly, returns the
952    name of the currently running action. [David Wheeler]
953
954  - Added docs for run_perl_script().
955
956  - Added some stuff to the docs about why PREFIX is unsupported, and
957    what to use instead. [Steve Purkis]
958
959  - The simple get/set accessor methods for all the 'parameters' like
960    verbose(), license(), etc. now have auto-generated documentation in
961    Module/Build.pm.
962
963  - Created a Cookbook entry for 'Adding new elements to the install
964    process'
965
966  - We now add META.yml to the MANIFEST when META.yml is created, not
967    when MANIFEST is created. [Spotted by Ron Savage]
968
969  - Added some additional patterns to the suggested MANIFEST.SKIP
970    contents, and changed the docs so that we encourage the user to use
971    the MANIFEST.SKIP.  [Ron Savage]
972
973  - Eliminated a redundant recipe from the Cookbook, now that there are
974    some more extensive recipes on how to add stuff to the
975    build/install sequences.
976
977  - Eliminated an undefined-variable warning when testing under perl 5.005
978
979  - When building HTML documentation, 'html_backlink' and 'html_css'
980    properties are now first-class properties, so they can be set from
981    the command line. [Suggested by Sagar R. Shah]
982
983  - Have script_files default to everything in bin.  I believe this is
984    the least surprising behavior. [Suggested by Michael Schwern]
985
986  - If script_files is given a directory, consider each file in that
987    directory tree as a script to be installed.  This avoids having to
988    remember to add to the script_files list every time you add a
989    program. [Suggested by Michael Schwern]
990
991  - We now only load Pod::Man when we actually need to build man pages.
992
993  - We now make Test::Harness use our carefully-selected path to a perl
994    executable regardless of Test::Harness's version.  Previously we
995    let it figure stuff out for itself if it was a reasonably modern
996    version, but it's safer to make sure we're using the same perl
997    everywhere.
998
999 0.2610  Fri Apr 15 08:25:01 CDT 2005
1000
1001  - new_from_context() was losing its arguments in some cases (and not
1002    because of inadequate training in debate) - we now pass its
1003    arguments directly to the Build.PL script rather than merging them
1004    in afterwards. [Ray Zimmerman]
1005
1006  - Fixed a bug in which config_data and feature data were being
1007    forgotten and no ConfigData.pm module would get written. [Ray
1008    Zimmerman]
1009
1010  - Added a recipe to the cookbook showing how to run a single test
1011    file from the command line. [William McKee]
1012
1013  - For command-line arguments, we now accept the syntax "--foo=bar" in
1014    addition to "--foo bar" and "foo=bar".  This seems to fit well with
1015    what GNU getopt and Getopt::Long do, and with people's
1016    expectations. [Adam Spiers]
1017
1018 0.2609  Wed Mar 16 22:18:35 CST 2005
1019
1020  - The html docs that were created during the first invokation of
1021    './Build' were being found and treated as pod that needed to be
1022    converted to html during subsequent invokations. We now are more
1023    specific about the directories we scan for pod that needs to be
1024    converted, effectively avoiding blib/html. [Ray Zimmerman]
1025
1026  - If Pod::Man is not available, we now skip building man pages
1027    (rather than dying) and tell the user why.
1028
1029  - We now write a .packlist file upon installation, in the same place
1030    that ExtUtils::MakeMaker does. [Johnny Lam]
1031
1032  - On some Unix platforms (BSD derivatives, mostly) perl's $^X
1033    variable isn't set to the full path of the perl executable, just
1034    'perl', when the 'Build' script is run as './Build' and not 'perl
1035    ./Build'.  This can lead to some other modules (maybe
1036    Test::Harness, maybe IO::File, I dunno...) getting very confused
1037    about where they are, and they try to load stuff from the wrong
1038    perl lib, and big trouble ensues.  To fix this, we now set $^X to
1039    the value of Module::Build->find_perl_interpreter().
1040
1041  - The 'distcheck' action will now die() if it finds an error in the
1042    MANIFEST, rather than just printing on STDOUT. [David Golden]
1043
1044  - When the README and/or Makefile.PL are autogenerated using
1045    create_readme or create_makefile_pl, we now automatically make sure
1046    they're also listed in the MANIFEST file. [Suggested by Michael
1047    Schwern]
1048
1049  - Got rid of the t/MANIFEST file - it's superfluous, and it had
1050    zero-length, which some versions of Tar don't like. [William
1051    Underwood]
1052
1053  - Added a mention in the documentation that each property that new()
1054    accepts also has a corresponding get/set accessor.  (In the version
1055    0.27_0x series each accessor method is mentioned explicitly in the
1056    docs.) [Omission spotted by Ian Langworth]
1057
1058 0.2608  Wed Jan 26 19:46:09 CST 2005
1059
1060  - Add workaround for test files because Devel::Cover causes
1061    require to fail when the argument to require is an expression
1062    involving File::Spec. We now assign the result of the File::Spec
1063    call to a variable and then call require with that variable.
1064
1065  - Tilde-expansion is now performed on arguments passed to a
1066    compatibility-Makefile.PL [Spotted by Sam Vilain]
1067
1068  - We now run the 'gzip' and 'tar' values through split_like_shell()
1069    when running the 'dist' action, so that e.g. the 'gzip' value can
1070    be set to something like "gzip -f --best" and it'll work
1071    correctly. [Spotted by Chris Dolan]
1072
1073  - Work around some bad mojo between Fedora Core [with its very long
1074    @INC] and old versions of Test::Harness [with its propensity to
1075    compound the number of @INC entries] that produced an "argument
1076    list too long" error during testing.  [assisted by Ville Skytta,
1077    David Golden, & Randy Sims]
1078
1079  - Killed an infinite loop that would happen in y_n() in interactive
1080    mode if the author provided no default value. [Max Maischein]
1081
1082 0.2607 (Bug fix release in 0.26 series)  Sat Dec 18 14:14:09 CST 2004
1083
1084  - Instead of freezing @INC in the 'Build' script to the value it had
1085    when Build.PL was run, we now just add those additional values that
1086    aren't part of the default compiled-in @INC. [Michael Schwern]
1087
1088  - The run_perl_script() method will now propagate any extra entries
1089    in @INC (such as those added by "use lib" or the -I command-line
1090    switch) to the subprocess.  This helps situations in which you want
1091    to tell the subprocess where to find a certain module, for
1092    instance.  [Michael Schwern]
1093
1094 0.2606 (Bug fix release in 0.26 series)   Tue Dec  7 22:33:11 CST 2004
1095
1096  - Fixed a linking bug on Win32, in which compiled C code object files
1097    never got linked in with the modules being built. [Dominic
1098    Mitchell]
1099
1100  - Fixed a bug in the new_from_context() method in which any arguments
1101    passed made us die. [Spotted by Jos Boumans]
1102
1103 0.2605 (Bug fix release in 0.26 series)   Tue Nov 30 07:16:13 CST 2004
1104
1105  - Fixed a bug in which zero-length arguments for hash-valued
1106    parameters (e.g. " --config foo= ") weren't being allowed.
1107
1108  - The tests now play better with environments in which version.pm is
1109    pre-loaded, like in bleadperl. [John Peacock & Michael Schwern]
1110
1111  - Fixed a syntax error in one of the tests under perl 5.005.
1112
1113 0.2604 (Bug fix release in 0.26 series)   Wed Nov 17 14:32:42 CST 2004
1114
1115  - Fixed a split_like_shell() bug introduced in 0.2603 for Windows, in
1116    which an array reference passed as an argument was returned as an
1117    array reference, rather than as a list. [Spotted by Steve Hay]
1118
1119  - module_name() will now return '' instead of undef when module_name
1120    is not set.  This eliminates a couple uninitialized-value
1121    warnings. [Suggested by Michael Schwern]
1122
1123  - The expand_test_dir() method will now skip dotfiles (like ._foo.t,
1124    which sometimes gets automatically created on Mac systems) when
1125    'recursive_test_files' is in effect. [Tom Insam]
1126
1127 0.2603 (Bug fix release in 0.26 series)   Mon Nov 15 10:28:00 CST 2004
1128
1129  - Added documentation for the new_from_context() method.
1130
1131  - Completely rewrote the split_like_shell() method for the Windows
1132    platform so it works like the command.com shell. [Randy Sims]
1133
1134 0.2602 (Bug fix release in 0.26 series)   Thu Nov  4 11:19:29 CST 2004
1135
1136  - The two bug fixes in 0.2601 gnashed against each other incorrectly,
1137    resulting in a Win32 bug in split_like_shell().  Fixed.  [Spotted
1138    by Steve Hay & Randy Sims]
1139
1140  - Removed a couple of 'use warnings' statements from the code - they
1141    were causing compile failures on 5.005_04, where warnings.pm isn't
1142    available. [Blair Zajac]
1143
1144 0.2601 (Bug fix release in 0.26 series)   Wed Nov  3 20:09:27 CST 2004
1145
1146  - Fixed some backslash problems with split_like_shell() on
1147    Win32. [Steve Hay]
1148
1149  - Fixed a bug in split_like_shell() in which leading whitespace was
1150    creating an empty word, manifesting as something like "gcc - no
1151    such file or directory" during tests. [Spotted by Warren L. Dodge]
1152
1153 0.26  Sat Oct  9 17:51:01 CDT 2004
1154
1155  - Removed some language from the Module::Build::Compat documentation
1156    that encouraged people to include a Build.PL without a Makefile.PL.
1157    Also changed "a replacement for MakeMaker" to "an alternative to
1158    MakeMaker" in the main documentation, which is basically what I
1159    meant all along (i.e. a replacement for MakeMaker in your
1160    particular build process - MakeMaker is never going to be fully
1161    replaced in the perl world at large, of course), but some people
1162    got the impression I was a little more truculent toward MakeMaker
1163    than I really am.
1164
1165  - Added the formal concepts of "features" and "config data" for
1166    distributions.  This allows the module author to define a certain
1167    set of features that the user can switch on and off (usually
1168    according to whether they have the proper prerequisites for them),
1169    and to save build-time configuration information in a standardized
1170    format.  See the main documentation of Module::Build for more
1171    details.  (Note that the name of this system was called
1172    "BuildConfig" for a while in beta, but now it's called
1173    "ConfigData".)
1174
1175  - Added an 'auto_features' capability, which simplifies the process
1176    of defining features that depend on a set of prerequisites.
1177
1178  - Added the 'get_options' parameter, which lets module authors
1179    declare certain command-line arguments their Build.PL can accept
1180    [David Wheeler]
1181
1182  - Changed the split_like_shell() method to use the shellwords()
1183    function from Text::ParseWords (a core module since 5.0), which
1184    does a much better job than the split() we were using.
1185
1186  - Added a 'testpod' action, which checks the syntactic validity of
1187    all POD files in the distribution using Test::Pod.  This eliminates
1188    the need for doing so in a regression test. [Initial patch by Mark
1189    Stosberg]
1190
1191  - Added a process_files_by_extension() method, which generalizes the
1192    kind of processing (essentially just copying) that happens for .pm
1193    and .pod files, and makes it available to other user-defined types
1194    of files.  See the new cookbook entry.
1195
1196  - Improved compatibility with version.pm when authors are using
1197    version objects as their $VERSION variables.  Now
1198    version_from_file() can deal with these objects.  Currently we
1199    stringify them right away, but perhaps in the future we will
1200    preserve them as objects for a while.
1201
1202  - During 'distdir' and 'distmeta' actions, die a bit more gracefully
1203    if there's no MANIFEST (i.e. explicitly say that a MANIFEST is
1204    required). [Spotted by Adrian Howard]
1205
1206  - Eliminated a recursive dependency between creating the MANIFEST
1207    file and creating the META.yml file.  [Spotted by Dave Rolsky]
1208
1209  - On Win32, where a single directory might be known variously as
1210    "Module-Build-0.25_03" or "MODULE~1.25_", we now use
1211    Win32::GetShortPathName($cwd) to verify that the 'Build' script is
1212    being run from the correct directory, rather than just a string
1213    comparison.
1214
1215  - The add_to_cleanup() method will now accept glob()-style patterns
1216    in addition to explicit filenames.  Also documented the fact that
1217    they can be specified in either Unix-style or native-style
1218    notation.
1219
1220  - Passing a PREFIX value to a pass-through Makefile 'make install'
1221    now has the same effect as passing it to 'perl Makefile.PL' (it
1222    dies with a helpful message).
1223
1224  - Added the 'testcover' action, which runs a test suite using
1225    Devel::Cover.  [Dave Rolsky]
1226
1227  - Added the 'lib' and 'arch' installation directories to the search
1228    path for the 'diff' action, since they won't necessarily (though
1229    they usually will) be in @INC at installation time. [Suggested by
1230    Kevin Baker]
1231
1232  - The "=head3" POD directive isn't supported in older podlators
1233    (particularly Pod::Man), so we don't use it anymore.
1234
1235  - Fixed a typo & improved the docs in the SUBCLASSING section. [Ron
1236    Savage]
1237
1238  - Added the '.tmp' suffix to the default MANIFEST.SKIP file, which
1239    should avoid adding things like pod2htmi.tmp to the MANIFEST [Ron
1240    Savage]
1241
1242  - Backup files from Emacs, containing the string '.#' in their names,
1243    should no longer find their way into the blib/ directory (and from
1244    there into installation directories).
1245
1246  - Worked around an unpleasant interaction between version.pm and the
1247    version-checking code that makes sure Module::Build's version
1248    hasn't changed during the lifetime of the 'Build' script. [Reported
1249    by Trevor Schellhorn]
1250
1251  - Fixed a problem in htmlify_pods() that would produce test failures
1252    on Cygwin (and probably elsewhere).  [Yitzchak Scott-Thoennes]
1253
1254  - Fixed a test failure on Cygwin (and probably elsewhere) in
1255    t/compat.t, resulting from empty environment variables being set to
1256    the empty string (as opposed to simply being unset) by their mere
1257    presence in the "EXPORT:" list.
1258
1259  - Fixed a fatal error that occurred when the author specified
1260    'dist_author' manually in their Build.PL script. [Spotted by Ron
1261    Savage]
1262
1263  - The 'provides' section of the META.yml file wasn't being built
1264    properly on Win32, because of a mismatch between URL-format and
1265    native-format pathnames.  Fixed.  [Reported by Robert Rothenberg]
1266
1267  - The progress message "lib/Foo.xs -> lib/Foo.c" was previously being
1268    output even when the Foo.c file wasn't being rebuilt.  It's now
1269    fixed.
1270
1271  - Fixed a couple of places in Compat.pm where it could have forgotten
1272    which perl interpreter it had been run with ($^X isn't very
1273    trustworthy).
1274
1275  - On some systems, the way we updated the timestamp on the
1276    "lib/Foo.bs" file (one of the output files for XS-based modules)
1277    was failing.  It's been replaced by a simple call to utime().
1278
1279  - Fixed a problem in t/compat.t that prevented it from being run
1280    individually using 'make test TEST_FILES=t/compat.t'.  The problem
1281    was that a couple environment variables (TEST_FILES, MAKEFLAGS)
1282    were being passed through to subprocesses, and confused them.
1283
1284  - Fixed an important typo in the documentation for the 'install_base'
1285    parameter ('libdoc' and 'bindoc' were switched). [Ray Zimmerman]
1286
1287  - The pass-through Makefiles (type 'small' or 'passthrough') now
1288    support the TEST_FILES parameter to 'make test'.
1289
1290  - Fixed a fatal error that would occur on perl 5.005 when building
1291    HTML documentation, because its version of Pod::Html was old and
1292    didn't like some of the parameters we fed it. [Spotted by Blair
1293    Zajac]
1294
1295  - The final line of the generated pass-through Makefile was missing
1296    its trailing newline, which is now fixed. [Chip Salzenberg]
1297
1298  - We now depend on YAML version at least 0.35 and at most version
1299    0.49, so that we don't pick up a new (and backward-incompatible) beta
1300    version from CPAN.
1301
1302  - Squashed a warning in t/basic.t about '"Foo::Module::VERSION" used
1303    only once', and one in PPMMaker about $^V being undefined. [Blair
1304    Zajac]
1305
1306  - Added a couple temporary output files from HTML documentation
1307    generation to the cleanup list.  [Toby Ovod-Everett]
1308
1309  - The PodParser module will now only extract paragraphs in the
1310    'AUTHOR' section of the pod if they contain an '@' character.  This
1311    tends to do a better job, heuristically speaking, of returning
1312    relevant stuff.
1313
1314  - Added regression tests and a helper method ( add_build_elements() )
1315    for adding new elements to the build process.  Also some
1316    documentation.
1317
1318  - Wrote a recipe in the Cookbook for adding new elements to the build
1319    process, and a recipe for changing the order in which the steps in
1320    the build process will occur.
1321
1322 0.25  Sun Apr 25 11:12:36 CDT 2004
1323
1324  - During the 'distdir' action, if no MANIFEST.SKIP file exists, we
1325    will now create a reasonable default one. [Randy Sims]
1326
1327  - In Makefile compatibility mode, some arguments (like UNINST,
1328    TEST_VERBOSE, etc.) given to 'make' are now recognized and passed
1329    through to Module::Build. [Randy Sims]
1330
1331  - The regression tests now make sure that several pass-through
1332    Makefile.PL parameters are dealt with correctly.
1333
1334  - Added support for the 'LIB' parameter to passthrough
1335    Makefile.PLs. [Spotted by Jesse Erlbaum]
1336
1337  - Passing a 'PREFIX' parameter to a passthrough Makefile.PL was
1338    supposed to make it die with a helpful error message, but instead
1339    it just ignored it and blindly tried to install to the wrong place.
1340    This is now fixed.  [Spotted by Jesse Erlbaum]
1341
1342  - Added an extra_compiler_flags() accessor method.
1343
1344  - If the 'recursive_test_files' option was turned on, the test files
1345    weren't sorted, but returned in an apparently random order.  Now
1346    they're sorted.  [Martyn Peck]
1347
1348  - Documented the 'tar' and 'gzip' parameters to the 'dist' and
1349    'ppmdist' actions.
1350
1351  - The generation of HTML documentation now works (it was accidentally
1352    partially implemented with an itchy patch-application finger in
1353    0.24).  [Randy Kobes]
1354
1355  - Fixed a fatal bug when building META.yml with YAML.pm and
1356    'dynamic_config' is set. [Reported by Jaap Karssenberg]
1357
1358  - Fixed some incorrect error messages that occurred when
1359    compiling/linking C sources went awry.
1360
1361  - If the author uses a custom builder subclass, that subclass will
1362    now be loaded correctly in the passthrough Makefile.PL if the
1363    author uses the 'small' or 'passthrough' Makefile.PL options in
1364    Module::Build::Compat. [Martyn Peck and Jaap Karssenberg]
1365
1366  - If the author uses a custom builder subclass created dynamically
1367    through the subclass() method, passthrough Makefile.PLs (of type
1368    'passthrough' or 'small') didn't work properly, because the custom
1369    builder module wouldn't be loaded at the right time.  This has been
1370    fixed.  [Reported by Toby Ovod-Everett]
1371
1372  - In M::B-generated 'traditional' Makefile.PLs, the entries in
1373    'PREREQ_PM' are now sorted ASCIIbetically rather than randomly.
1374
1375  - The install_types() method will now return any additional types
1376    given as 'install_path' arguments, as well as all elements of the
1377    current 'install_sets' entry.  This makes it easier to add new
1378    types of installable objects to the mix.
1379
1380  - As a consequence of the previous change, there is no longer any
1381    need to have an explicit 'install_types' data member, so it has
1382    been removed.
1383
1384  - In the second example code for the Module::Build->subclass()
1385    method, the Module::Build module needed to be loaded before calling
1386    its methods. [John Peacock]
1387
1388  - Fixed minor error in the POD structure of Module::Build and
1389    Module::Build::Platform::VMS docs.
1390
1391
1392 0.24  Wed Feb 25 15:57:00 CST 2004
1393
1394  - Fixed a problem with incude_dirs not being propagated to the 'ccs'
1395    file when compiling XS files on Win32. [Randy Sims and Steve Hay]
1396
1397  - In 0.23, Module::Build::Compat->fake_makefile() started choking
1398    when no 'build_class' parameter was supplied in the Makefile.PL.
1399    Since these Makefile.PLs still exist on CPAN, we now default
1400    'build_class' to 'Module::Build', which was the old 0.22 behavior
1401    anyway.  [Reported by Martin Titz and Jeremy Seitz]
1402
1403  - Added documentation for the 'include_dirs' parameter to
1404    new(). [Steve Hay]
1405
1406  - Changed the no-op command on Win32 from 'rem' to 'rem>nul' inside
1407    pass-through Makefiles. [Randy Sims]
1408
1409  - The 'autosplit' parameter now accepts an array reference if
1410    multiple files should be split. [Jaap Karssenberg]
1411
1412  - find_perl_interpreter() will now use $^X (if absolute), $ENV{PATH}
1413    (if $^X isn't absolute), and $Config{perlpath}, in that order.
1414    Also, we now make darn sure the result is the same version of perl,
1415    by checking Config::myconfig() for a match against the current
1416    perl.  [Reported by Edward Sabol]
1417
1418  - Fixed a fatal error on Win32 (and any other platform that doesn't
1419    define an installation location for Unix-style man pages) during
1420    installation.
1421
1422 0.23  Sun Feb  8 22:01:18 CST 2004
1423
1424  - Fixed a compatibility problem in pass-through Makefiles (created by
1425    Module::Build::Compat).  Some 'make' utilities (for example, BSD
1426    make) didn't like a '@' by itself on a line, so we stole some
1427    'NOOP' code from MakeMaker to fix it. [Reported by Mathieu Arnold]
1428
1429  - Added a 'ppm_dist' action, which just makes the PPD file and then
1430    makes a tarball out of the blib/ directory. [Randy Sims]
1431
1432  - The @INC of the parent process is now propagated to child processes
1433    when processing *.PL files. [Reported by Jaap Karssenberg]
1434
1435  - We now only attempt to fix the shebang line on a script if the
1436    shebang line matches the regex /perl/i .  This fixes some instances
1437    where people put shell scripts in their distributions. [Jaap
1438    Karssenberg]
1439
1440  - We no longer generate a 'requires', 'recommends', 'conflicts',
1441    etc. entry in the META.yml file if there's no data to go in it.
1442
1443  - Added a documentation reference to Michael Schwern's wiki for tips
1444    on conversion from MakeMaker to M::B. [Randy Sims]
1445
1446  - If there are script_files, we now add EXE_FILES to the
1447    'traditional' Makefile.PL generated by M::B::Compat. [Suggested by
1448    Yuval Kogman]
1449
1450  - Documented the 'test_files' parameter to new(). [Reported by Tony
1451    Bowden]
1452
1453  - Fixed a problem in "Build help <action>", which didn't find the
1454    correct help chunk if <action> was the final element in a POD
1455    list. [Jaap Karssenberg]
1456
1457  - Fixed a problem in the get_action_docs() method which gave
1458    incorrect results if the method was called more than once in the
1459    same program.
1460
1461  - Fixed a problem in which actions defined by user subclasses
1462    wouldn't be available via the pass-through Makefiles created by
1463    Module::Build::Compat. [Reported by Jaap Karssenberg]
1464
1465  - We now use Data::Dumper instead of our own ad-hoc serialization
1466    routines to create the 'traditional' Makefile.PL
1467    arguments. [Suggested by Yuval Kojman]
1468
1469 0.22  Sat Jan 10 22:05:39 CST 2004
1470
1471  - On Unixish platforms, the syntax "FOO=BAR /bin/baz arg arg" now
1472    works when present in $Config{ld}.  This solves a problem on Mac OS
1473    X 10.3. [Reported by Adam Foxson]
1474
1475  - The have_c_compiler() now also tests whether the linker seems to
1476    work too.
1477
1478  - Fixed a problem with creating the distribution tarball in which
1479    permissions would usually be all read-only.  We now use our own
1480    file-copying routines rather than those in ExtUtils::Manifest,
1481    because those do some annoying extra permissions-setting stuff for
1482    no apparent reason.  It makes me happy that this was a very very
1483    easy patch to make.  [Reported by Thomas Klausner]
1484
1485  - The compile_c() method now includes $Config{cccdlflags} in its
1486    command invocation.  It's usually empty, but not always, so we
1487    didn't notice for a while. [Richard Clamp]
1488
1489  - On some platforms it's common to have a $Config{make} defined, but
1490    no 'make' utility actually available.  We now detect this and skip
1491    some 'make' compatibility tests. [Randy Sims]
1492
1493  - Fixed a spurious testing failure on non-Unix platforms that
1494    happened because we accidentally call localize_file_path() on empty
1495    strings in the test suite. [Spotted by Randy Sims on Windows]
1496
1497  - Made the 'name', 'abstract', 'author', and 'version' properties
1498    required when building a PPD file. [Spotted by Randy Sims, Dave
1499    Rolsky, & Glenn Linderman]
1500
1501  - When building a 'traditional' Makefile.PL with
1502    Module::Build::Compat, we now use 'VERSION_FROM' when possible,
1503    rather than always using 'VERSION'.  This way the Makefile.PL
1504    doesn't have to get modified every release.
1505
1506  - Made some fixups to the 'PPM' info-file, improving compatibility
1507    with ActiveState's PPM tools. [Randy Sims, Glenn Linderman]
1508
1509  - The 'dist_author' property can now accept multiple authors, see the
1510    docs for more info. [Randy Sims]
1511
1512  - If the user doesn't have YAML.pm installed during ACTION_dist, we
1513    now create a minimal YAML.pm anyway, without any dependency
1514    information.
1515
1516  - The 'distribution_type' field is no longer created in META.yml
1517    files, in accordance with the finding made at the London CLPAN
1518    meeting that it's essentially meaningless and ill-defined.
1519
1520  - The 'dist' action now accepts an optional 'tar' parameter to use a
1521    system utility for building the tarball, and a 'gzip' parameter for
1522    compressing it.  If these are used, Archive::Tar won't be invoked.
1523    This was added because Archive::Tar is producing some very
1524    non-cross-platform tarballs that many tar utilities can't handle.
1525
1526  - During testing, if YAML.pm isn't installed, then we won't try
1527    making a tarball either, since this would invoke YAML to create the
1528    META.yml file.
1529
1530  - Fixed a problem with chmod() being called incorrectly on MacOS
1531    (i.e. MacPerl, not Mac OS X).  [Spotted by Paul Sanford Toney]
1532
1533  - Fixed a problem with the --config flag not being treated properly
1534    (essentially ignored) on the command line for 'perl Build.PL' or
1535    'Build <action>'. [Spotted by Jakub Bogusz]
1536
1537  - Added a new config() method to get at the Build object's notion of
1538    the %Config hash.
1539
1540  - Test::Harness is starting to contend for the Most Crotchety Module
1541    Award.  Work around a few of its nits when setting harness
1542    switches. [Spotted by Diab Jerius]
1543
1544  - Now the Build script will die() if we're run from the wrong
1545    directory, rather than trying to chdir() to what it thinks is the
1546    right directory and do its work there.  See
1547    https://rt.cpan.org/Ticket/Display.html?id=4039 . [Chris Dolan]
1548
1549  - Changed the manpage separator on OS/2 to '.'. [Ilya Zakharevich]
1550
1551  - On OS/2, disable C compilation, since apparently it isn't working
1552    there. [Reported by Ilya Zakharevich]
1553
1554  - Inserted a comment into auto-generated Makefile.PLs saying it was
1555    auto-generated. [Randy Sims]
1556
1557  - Fixed some annoying behavior in generated passthrough Makefile.PLs
1558    when the user chose not to install Module::Build, or if
1559    installation failed. [Reported by Ilya Zakharevich and Richard
1560    Clamp]
1561
1562  - Moved the documentation for 'codebase' to the section where it's
1563    relevant. [Randy Sims, Glenn Linderman]
1564
1565  - Fixed a have_c_compiler() failure on some platforms, we now define
1566    a boot_compilet() function (since we're compiling a library, not an
1567    executable). [Randy Sims]
1568
1569  - Added a recipe to the Module::Build::Cookbook describing how to
1570    maintain compatibility with older versions of CPAN.pm [Jim Cromie]
1571
1572  - Removed caveat about "looking for alternatives" in how hashes are
1573    specified on the command line, since an alternative has been found.
1574
1575  - Previously most warnings about optional prerequisites looked like
1576    they were actually error messages about required prerequisites.
1577    This has been corrected. [Reported again by Sagar Shah]
1578
1579  - Added support for building XS (and C in general) stuff on AIX.
1580    This was done by a small reorganization of prelink_c() method from
1581    Windows.pm to Build.pm, and it is only invoked for the platforms
1582    that need it invoked.  AIX also massages some very naughty bits
1583    (MakeMaker macro variables) in $Config{lddlflags} that should never
1584    have been put there, but alas, they're there, so we find & resolve
1585    them.
1586
1587  - Added OS/2 ($^O = 'os2') to the list of Unix-like platforms.  This
1588    basically means that most platform-specific operations will be done
1589    in a Unix-like manner.
1590
1591  - Pass-through Makefiles will now die() when they're given a PREFIX
1592    parameter, and suggest using 'destdir' or 'install_base' instead.
1593    Previously they just ignored the parameter and tried to install to
1594    the default location, which is clearly not what the user wanted.
1595
1596  - Updated my email address in the documentation to a more recent
1597    variant.
1598
1599  - Add NetBSD to the list of Unix-like systems. [Adrian Bunk]
1600
1601  - Add SVR5 to the list of Unix-like systems. [Rafael Garcia-Suarez]
1602
1603  - We now use Pod::Parser to find the ABSTRACT and AUTHOR when it's
1604    available on the system. [initial patch by Randy Sims]
1605
1606  - Fixed a little scalar/list buglet in a documentation example.
1607
1608 0.21  Wed Oct 15 20:47:05 CDT 2003
1609
1610  - Added a have_c_compiler() method.
1611
1612  - Added documentation for the requires(), recommends(),
1613    build_requires(), and conflicts() methods.
1614
1615  - On Unix platforms, we now create the "Build" script with a #! line
1616    matching the perl interpreter that was used to invoke the Build.PL
1617    script, rather than whatever is in $Config{startperl}.  This avoids
1618    a potential warning about the interpreters not matching. [Spotted
1619    by Ken Y. Clark]
1620
1621  - The Unix version now uses the safer multi-argument form of system()
1622    when building distribution tarballs.
1623
1624  - Added a regression test for the 'dist' action to the t/runthrough.t
1625    test.
1626
1627  - Fixed a problem with File::Spec usage when creating the names of
1628    'libdoc' manual pages - the code wasn't dealing with the volume or
1629    file portions correctly on certain platforms.
1630
1631  - When creating the names of the 'libdoc' manual pages, we no longer
1632    assume that pods are under the hard-coded paths 'blib/lib' or
1633    'blib/arch'.
1634
1635  - Fixed a crashing bug that could sometimes occur when the
1636    distribution contained no 'lib' directory. [Chris Dolan]
1637
1638  - Fixed a crashing bug that happened when the user had .PL files in
1639    the lib/ directory and didn't explicitly name them in a hash
1640    reference to the new() constructor. [Chris Reinhardt, bug #4036]
1641
1642  - .PL files are now passed the names of their target file(s) on the
1643    command line when they run.
1644
1645  - When YAML.pm wasn't installed, t/runthrough.t wasn't properly
1646    skipping some tests that required YAML.  This is now fixed.
1647    [Stephen J. Smith]
1648
1649  - Added documentation for the dist_version() and dist_name()
1650    methods. [Spotted by Johan Vromans]
1651
1652  - Existing values in $ENV{HARNESS_PERL_SWITCHES} are now respected
1653    and not squashed when we run the 'test' action. [Paul Johnson]
1654
1655  - On cygwin, the separator string for manual page names has been set
1656    to '.'.  Previously it was '::', inherited from Unix. [Yitzchak
1657    Scott-Thoennes]
1658
1659  - Avoid a warning when Build.PL is run (i.e. when the new() method is
1660    called) and no MANIFEST file exists. [Michael Schwern and Kevin
1661    Ruscoe]
1662
1663  - Added documentation for the 'code' and 'docs' actions. [Steve
1664    Purkis and Mark Stosberg]
1665
1666  - The internal method compile_support_files() has been renamed to
1667    process_support_files() in order to make it consistent with other
1668    processing methods.  Note that it was never documented using the
1669    old name.  It's still not documented, actually.  Maybe later.
1670
1671  - Skip the 'write' pseudo-entry in the 'diff' action's installation
1672    map. [Chris Dolan]
1673
1674  - Fixed a bug in which notes() set in the Build.PL before
1675    create_build_script() was called would get lost unless more notes()
1676    were also set afterwards. [Spotted by Dave Rolsky]
1677
1678  - The process of building elements of the distribution is now driven
1679    by a list of build elements, paving the way for letting people add
1680    their own types of build elements in future versions of
1681    Module::Build (or in the current version with some difficulty).
1682
1683  - Fixed some linking errors on Cygwin. [Randy Sims, Terrence Brannon]
1684
1685  - Fixed a line-ending problem with detecting the dist_abstract
1686    properly on Cygwin. [Randy Sims]
1687
1688  - Fixed a problem with signatures that occurred if 'distsign' was
1689    called before 'distdir' - the signature would be generated twice.
1690
1691  - Added a 'create_readme' parameter to new(), which will use
1692    Pod::Text to generate a README from the main (dist_version_from)
1693    module file during the 'distdir' action.
1694
1695  - We now refuse to run the 'Build' script if it was created using a
1696    different version of Module::Build.  This has caused a couple of
1697    nasty bugs in the past, I don't want to know what it would cause in
1698    the future.
1699
1700  - Documentation for do_system() has been added. [Dave Rolsky]
1701
1702  - run_perl_script() is now available as a class method, though it
1703    will need to (re-)find the perl interpreter in this case.
1704
1705  - Added a new_from_context() method that authors of automated tools
1706    like CPANPLUS and CPAN can use instead of running all tasks as
1707    sub-processes.  We also use it in the regression tests for
1708    Module::Build itself.  ** Note that this method is currently
1709    undocumented because its name may change in the future. **
1710
1711  - When signing distributions with Module::Signature, we now
1712    automatically add the SIGNATURE file to the MANIFEST, avoiding an
1713    unpleasant chicken/egg problem for the module author.
1714    [unpleasantness spotted by sungo]
1715
1716  - In Module::Build::Compat, added support for the 'verbose' parameter
1717    to Makefile.PL [spotted by Soren Andersen, fixed by Michael
1718    Schwern]
1719
1720  - The Module::Build distribution now has a cryptographic 'SIGNATURE'
1721    file created by Module::Signature.
1722
1723  - Added proper documentation for the subclass() method. [spotted by
1724    Jonathan Steinert]
1725
1726  - Worked around a Config.pm bug in Red Hat 9 which prevented man
1727    pages from being installed in the correct places. [spotted by Ville
1728    Skytta]
1729
1730  - Fixed a Module::Build::Compat bug in which setting INSTALLDIRS
1731    caused a crash. [spotted by Ilya Martynov]
1732
1733 0.20  Tue Aug 26 14:34:07 CDT 2003
1734
1735  - Separated the 'build' action into two separate actions, 'code' and
1736    'docs'.  This is similar to MakeMaker's separation of the 'all'
1737    target into 'pure_all' and 'manifypods'.  This fixes a permissions
1738    hassle in which doing 'sudo Build install' would often create local
1739    doc files that needed superuser permissions to delete.
1740
1741  - Enhanced the 'help' action - 'Build help foo' will now show the POD
1742    documentation for the 'foo' action.
1743
1744  - Added a notes() feature, which helps share data transparently
1745    between the Build.PL and t/*.t scripts.
1746
1747  - The installation process will now create man(1) and man(3) pages
1748    from POD in modules & scripts, and install them.  We don't build
1749    man pages when there's nowhere to install them, such as on some
1750    Win32 or most Mac systems.  [large patch by Steve Purkis, 5.005 fix
1751    by Mathieu Arnold]
1752
1753  - The 'distdir' action now copies files to the distribution
1754    directory, rather than making them hard links to the original
1755    files.  This allows authors to do last-minute alterations of the
1756    files without affecting the originals. [Dave Rolsky]
1757
1758  - If the author uses XS files in nonstandard locations, the copied
1759    versions of those files will now be cleaned up properly.
1760
1761  - In invoking the 'test' action or invoking 'xsubpp', we now use the
1762    same perl executable as we use everywhere else, rather than blindly
1763    using $^X or $Config{perlpath} (neither of which are very
1764    reliable).
1765
1766  - Fixed a problem with the 'install_path' parameter given to
1767    'Build.PL' being lost in subsequent actions. [Reported by Mathieu
1768    Arnold]
1769
1770  - Fixed yet another bug with installation directories, in which the
1771    'install_base' parameter wasn't being respected on the command
1772    line.  [Spotted by Jonathan Swartz]
1773
1774  - Changed the way the depends_on() method works inside action
1775    subroutines - now each action will only run once per dispatch()
1776    invocation (similar to how perl's require() function works).  This
1777    helps avoid some difficult problems with dependency loops.
1778
1779  - Changed the documentation for the 'autosplit' parameter to give
1780    reasons why it may not be a good idea to use, but no longer
1781    threaten to remove it.  [Suggested by Martyn J. Pearce]
1782
1783  - Improved the formatting of the 'traditional' Makefile.PL generated
1784    by Module::Build::Compat->create_makefile_pl. [Michael Schwern]
1785
1786  - The 'traditional' Makefile.PL will now use the 'module_name'
1787    parameter (as NAME) if it's available, otherwise it will continue
1788    to use the 'dist_name' (as DISTNAME). [Michael Schwern]
1789
1790  - Created read/write accessor methods for all our 'properties'.
1791    [Michael Schwern]
1792
1793  - The 'test_files' parameter can now be specified using glob() syntax
1794    (i.e. 't/*.t'), and the corresponding test_files() method is now a
1795    read/write accessor.
1796
1797  - The location of the 'blib' directory is now a property of the Build
1798    object - nobody is likely to notice this change, with any luck, but
1799    it makes the design and code cleaner.
1800
1801  - The 'disttest' and 'distsign' methods now chdir() back to the
1802    directory where they started, rather than to the base_dir of the
1803    build.
1804
1805  - Improved comparisons of version strings containing underscore
1806    characters (indicating "beta" status). [Steve Purkis]
1807
1808  - Added documentation for the 'dist_author', 'dist_abstract', and
1809    'codebase' parameters to new(), and for the 'ppd' action. [Dave
1810    Rolsky]
1811
1812  - Added documentation for the up_to_date() and contains_pod()
1813    methods. [Dave Rolsky]
1814
1815  - 'traditional' pass-through Makefile.PLs will now contain an
1816    INSTALLDIRS parameter matching the Build.PL's 'installdirs'
1817    setting.
1818
1819  - version_from_file() now ignores $VERSION variables that are defined
1820    in POD or comments.  It can still be tricked by $VERSIONs in string
1821    literals, though.  [Steve Purkis]
1822
1823  - The code to find packages in module files now uses Steve's scanning
1824    method (above) to skip package-declaration-lookalikes in POD or
1825    comments.
1826
1827  - The 'disttest' action will now propagate its @INC settings to its
1828    subprocesses.
1829
1830 0.19  Wed Jul  9 22:34:02 CDT 2003
1831
1832  - Added support for the 'install_path' parameter, which allows custom
1833    specification of where things should be installed.  This is a major
1834    improvement to Module::Build's functionality.
1835
1836  - Added the 'install_base' parameter.  Provides an easy way to
1837    install to local or alternative directory trees.
1838
1839  - We now install scripts by default to $Config{installsitebin}
1840    instead of $Config{installscript}.  Neither is a great choice, but
1841    the former is likely to be [analogous to] /usr/local/bin, and the
1842    latter is likely to be [something like] /usr/bin .  If/when there's
1843    a $Config{installsitescript}, we'll start using that automatically.
1844
1845  - Fixed a problem on Win32 in which C and XS files wouldn't be
1846    compiled properly, and the user would see an error about 'Can't
1847    locate object method "format_compiler_cmd"'.
1848    (http://rt.cpan.org/Ticket/Display.html?id=2391)
1849
1850  - We now use the correct perl interpreter (via
1851    Module::Build->find_perl_interpreter) in pass-through makefiles.
1852
1853  - The t/compat.t test now uses $Config{make} instead of just 'make'
1854    to test makefile compatibility.  This fixes some failures on Win32.
1855    We also skip this test entirely if no make utility is available.
1856
1857  - Alternative distribution layouts are now supported via the
1858    'pm_files', 'pod_files', 'xs_files', 'PL_files', and 'script_files'
1859    parameters to new().  This should help people transition from
1860    MakeMaker, and might even help us write an automatic transition
1861    tool.
1862
1863  - Added tests to t/runthrough.t that check to see installation is
1864    happening correctly.
1865
1866  - Added experimental code to build a .ppd file, in support of
1867    ActiveState's "Perl Package Manager". [original patch by Dave
1868    Rolsky]
1869  
1870  - For authors who use Module::Signature to sign their distributions,
1871    we now create the SIGNATURE file right in the distribution
1872    directory, rather than creating it in the top-level directory and
1873    copying it into place.  This solves problems related to having
1874    files get out of date with respect to their signatures.
1875  
1876  - We now don't depend on Module::Info to scan for packages during the
1877    'dist' action anymore, because it's way too aggressive about
1878    loading other modules that you may not want loaded.  We now just
1879    (ick, yuck) scan the .pm files with a regular expression to find
1880    "package Foo::Bar;" statements.
1881
1882  - Silenced some annoying copyright/logo output from Microsoft 'nmake'
1883    during Makefile compatibility testing. [Randy W. Sims]
1884
1885  - Command-line arguments may now either be specified using the syntax
1886    '--foo foovalue' as well as the traditional syntax 'foo=foovalue'.
1887    The former is often more convenient for shell tab-completion when
1888    the value is a filename (as in 'Build test --test_files t/basic.t').
1889
1890  - Command-line arguments may now include non-named parameters, which
1891    make some actions more natural.  For instance, the 'diff' action
1892    may now be invoked as 'Build diff -u' rather than as
1893    'Build diff flags=-u'.
1894
1895  - Pass-through Makefile.PLs now convert unknown Makefile.PL
1896    parameters to lower-case and hand them to Build.PL, rather than
1897    ignoring them.  This means we only have to account for the
1898    differences in the interface, not the entire interface, in
1899    translating parameters.
1900
1901  - We now issue a warning & don't proceed if asked to make a distdir
1902    and there's no MANIFEST or it's empty.
1903
1904  - Moved INSTALL to INSTALL.txt to increase compatibility with various
1905    odd versions of 'make' during 'make install' on case-insensitive
1906    filesystems (like nmake on Win32, often).  Only affects the
1907    Makefile compatibility layer.  [reported by Andrew Savige]
1908
1909  - Module::Build->known_actions() now works as a class method.
1910
1911  - Pass-through makefiles now list each action individually rather
1912    than using a ".DEFAULT" catch-all.  This improves compatibility
1913    with 'nmake' on Win32, and probably some other less common 'make'
1914    dialects.  [Andrew Savige]
1915
1916  - We're now more aggressive about testing the pass-through makefiles,
1917    e.g. making sure they can run 'all' and 'test' targets, and making
1918    sure the Makefile itself actually exists.
1919
1920  - Fixed a problem with check_installed_status() when installed
1921    version contains non-numeric characters like underscores.
1922
1923  - Fixed a problem with a bareword 'File::Spec' in one of the test
1924    scripts that caused it not to compile under 5.8.0 (but is fine
1925    under 5.6).
1926
1927  - Fixed a problem with the 'destdir' installation parameter on
1928    platforms that have volume identifiers in path names (like "C:" on
1929    Win32).  The identifier is now stripped from installation
1930    directories before prepending the destdir path.  The destdir path
1931    may still have a volume identifier on it.
1932
1933  - Added an 'add_to_cleanup' parameter to new() that calls
1934    add_to_cleanup() immediately for the given files.
1935
1936  - The distribution directory (e.g. Sample-Module-0.13/ ) will now be
1937    deleted during the 'clean' or 'realclean' actions.
1938  
1939  - During testing of modules, blib/lib and blib/arch are now added as
1940    absolute paths, not relative.  This helps tests that load the
1941    modules at runtime and may change the current working directory
1942    (like Module::Build itself does during testing).
1943  
1944  - The $Config{cc} entry on some people's systems is something like
1945    'ccache gcc', so we now split that string using split_like_shell().
1946    [Richard Clamp]
1947
1948  - Added documentation for 'extra_linker_flags' parameter, and added a
1949    corresponding 'extra_compiler_flags' parameter. [original patch by
1950    Richard Clamp]
1951
1952  - The pass-through Makefile created by Module::Build::Compat now
1953    supports MakeMaker options like POLLUTE=1 and INC.  We also just
1954    warn & skip when we see any unknown MM parameters, rather than
1955    dying.  [Dave Rolsky]
1956
1957  - Fixed an error about how @INC and $ENV{PERL5LIB} interact during
1958    the testing of M::B itself. [jk <billy2000@fastmail.fm>]
1959
1960  - The pass-through Makefile doesn't include 'recommended' M::B
1961    dependencies in the Makefile anymore, since they're not strictly
1962    necessary.  In particular, this makes installing M::B itself
1963    easier.
1964
1965  - A new 'create_makefile_pl' parameter lets you use
1966    Module::Build::Compat during the 'distdir' (or 'dist') action to
1967    automatically create a Makefile.PL for compatibility with
1968    ExtUtils::MakeMaker.  The parameter's value should be one of the
1969    styles named in the Module::Build::Compat documentation.
1970
1971  - When compiling C code, we now respect 'pollute' and 'inc'
1972    parameters. (XXX - needs docs) [Dave Rolsky]
1973    
1974  - Made the creation of the "install map" more generic.  (XXX - needs
1975    documentation)
1976
1977  - Fixed a problem in which add_to_cleanup() didn't note cleanup files
1978    unless create_build_script() had been called already. [Dave Rolsky]
1979
1980  - During 'Build dist', we no longer have to load each .pm file (via
1981    Module::Info) to determine the $VERSION numbers inside.  Instead,
1982    we call our internal version_from_file() method, which is the same
1983    thing MakeMaker and PAUSE and search.cpan.org do.  Also fixes a
1984    failure when Module::Info is installed in a nonstandard directory.
1985    [reported by Teun Burgers]
1986
1987  - Fixed some failing test code on Windows - open files can't be
1988    deleted. [Andrew Savige]
1989
1990  - The Cygwin platform is now treated as a flavor of Unix rather than
1991    a flavor of Windows. [chocolateboy]
1992
1993  - We're now more aggressive about adding temporary C compilation
1994    files (*.c, *.bs) to the cleanup list. [Dave Rolsky]
1995
1996  - When constructing the list in META.yml of packages provided by this
1997    distribution, we now use the same rules as the PAUSE scanner does
1998    when a single .pm file contains multiple VERSIONs.  [Andreas Koenig]
1999
2000  - check_installed_status() now works as both a class method and an
2001    object method (and is documented so).  [Spotted by Dave Rolsky]
2002
2003 0.18  Tue Apr  8 13:24:23 CDT 2003
2004
2005  - We now rewrite the shebang lines of scripts ourselves, rather than
2006    relying on MakeMaker routines to do it.  MakeMaker changed the way
2007    this happened (not the result, but where the code lived) a few
2008    times.  [Suggested by Richard Clamp]
2009
2010  - The scripts() method has changed to script_files(), and likewise
2011    the 'scripts' parameter has changed to 'script_files'.  The old
2012    names can still be used for backward compatibility.
2013
2014  - Support for the 'scripts' parameter (which is now 'script_files')
2015    was broken in 0.17, now it's fixed.  [Richard Clamp]
2016
2017  - We now recommend ExtUtils::ParseXS 2.02, which will fail to load
2018    with perl 5.005 or earlier (which is proper, because it doesn't
2019    work with those versions).  When it fails to load, we still fall
2020    back to using the xsubpp script for XS parsing. [spotted by Dave
2021    Rolsky, fix suggested by Richard Clamp]
2022
2023  - Now works on VMS - the Build script's shebang-line-equivalent
2024    wasn't being formed correctly there - though just about everything
2025    else worked fine.  [Tested & patched by Michael Schwern]
2026
2027  - Eliminated a warning that occurred if 'perl Build.PL' or the
2028    check_installed_status() method was run with -w.  [Spotted by
2029    Michael Schwern]
2030
2031 0.17  Sat Mar 29 18:06:01 CST 2003
2032
2033  - Now works under perl 5.005_03.  [Richard Clamp]
2034
2035  - When building blib/ , .PL files are now processed before doing
2036    anything else.  This means .PL files can be used in any of the
2037    other contexts.
2038
2039  - The locating and processing of .pm, .pod, .xs, .PL files and script
2040    files are now isolated into their own methods.  This is aimed
2041    toward providing a stable interface for this stuff, so they can be
2042    overridden, parameterized, etc.  They're not quite stable yet,
2043    though.
2044
2045  - The internal lib_to_blib() method has gone away, because processing
2046    is now done by smaller specialized methods.  This method had some
2047    duplicate assumptions about filenames that it's nice to get rid of.
2048
2049  - .PL files are no longer automatically processed in the c_source
2050    directory, they must be specified manually in a 'PL_files'
2051    parameter.
2052
2053  - Mention in the docs that it's useful to do "PL_FILES => {}" in a
2054    Makefile.PL if you're using both a Makefile.PL and a
2055    Build.PL. [Dom]
2056
2057  - Add several options to the 'license' field, so that we're in better
2058    sync with PAUSE and CPAN options. [Andreas Koenig]
2059
2060  - Created a find_perl_interpreter() method that tries to locate the
2061    currently executing perl interpreter.  Following a suggestion from
2062    Nicholas Clark <nick@ccl4.org> for Inline, we prefer an absolute
2063    path in $^X, then an existent path in $Config{perlpath}, then
2064    whatever's in $^X.
2065
2066  - Use the aforementioned perl to run scripts in run_perl_script().
2067    This fixes the spurious warning "WARNING: Configuration was
2068    initially created with 'foo', but we are now using 'bar'" that
2069    appeared a lot in version 0.16.
2070
2071
2072 0.16  Mon Feb 24 13:06:47 CST 2003
2073
2074  - All three C compilers that perl supports on Windows environments
2075    (MSVC, BCC, and GCC) are now supported by Module::Build.  We now
2076    reportedly pass all tests on Windows.  [Randy W. Sims]
2077
2078  - The test t/xs.t, which tests building of XS modules, will be
2079    skipped if no C compiler is found. [suggested by Randy W. Sims]
2080
2081  - The "install" action accepts new "destdir" [motivated by Michael
2082    Schwern and Chip Salzenberg] and "uninst" parameters [by Dave
2083    Rolsky].  The former prepends an arbitrary directory to all
2084    installation paths (useful for package management), and the latter
2085    will tell ExtUtils::Install to remove any differing files that are
2086    "shadowing" the stuff you're installing from a different location,
2087    just like MakeMaker's "make install UNINST=1" command will do.
2088
2089  - Made changes to the generated Makefile in Module::Build::Compat
2090    that much better support Windows platforms [after suggestions by
2091    James Freeman]
2092
2093  - Added experimental support for creating distribution SIGNATURE
2094    files via Module::Signature. [Dave Rolsky]
2095
2096  - Added experimental support for installing via the "only.pm" module,
2097    which allows loading specific versions of modules.  Since this
2098    module is so new, the interface may still be changing. [Brian
2099    Ingerson]
2100
2101  - Added support for installing executable scripts, via the 'scripts'
2102    parameter to new(), and the scripts() accessor method.
2103
2104  - Fix an infinite loop that occurred when doing 'perl Build.PL
2105    config="foo=bar"'
2106
2107  - Fix up the formatting of the error message the user gets when
2108    prereqs aren't satisfied.
2109
2110 0.15  Fri Jan 17 15:00:24 CST 2003
2111
2112  - In link_c(), extra object files were mistakenly being treated as
2113    output files, not input files, in the up-to-date check.  Fixed.
2114
2115  - In up_to_date(), don't make an unnecessary copy of the file lists
2116    when they're specified as array references.
2117
2118  - Split off the C compilation phase into its own method,
2119    compile_support_files(), for easier subclassing.
2120
2121  - Start a stub of a 'manifypods' action.
2122
2123  - Compiler optimizations weren't being included in C compilation
2124    statements.  Fixed.
2125
2126  - The 'extra_linker_flags' parameter wasn't being honored.  Fixed.
2127
2128  - The 'ccflags' Config.pm entry wasn't being properly split into
2129    separate arguments.  Fixed.
2130
2131
2132 0.14  Fri Dec 13 14:06:29 AEST 2002
2133
2134   - Added support for MacPerl (Mac OS version 9 and below), which (as
2135     far as I know) was never natively supported by MakeMaker.  Still
2136     lacks support for the 'test' action (because Test::Harness
2137     requires forking, which MacPerl won't do) and compiling XS/C files
2138     (because I don't know how to invoke a compiler on MacOS, and one
2139     may not even be available).  This change is brought to you by
2140     Michael Schwern and the letter '('.
2141
2142   - Improved processing of .xs files.  Now we use the new
2143     ExtUtils::ParseXS module if it's available, otherwise we use
2144     backticks and write the result to a .c file ourselves.  This
2145     avoids the need to do cross-platform shell redirection.
2146
2147   - Make sure all parts of 'Build test' use the not-yet-installed
2148     version of Module::Build.  This only affects the tests for this
2149     module, not any of the module code itself.  [Spotted by Schwern]
2150
2151   - Oopsie - use $Config{ld} instead of $Config{cc} for linking.
2152
2153   - Added a 'diff' action, which is useful for comparing the details
2154     of what you're about to install with what is already installed on
2155     your system.  This uses File::Compare, which is in the core.
2156
2157   - Fixed a problem on Windows in which the _build/ directory wasn't
2158     getting deleted during the 'realclean' action, because we had a
2159     file open in that directory. [Spotted by Michael Schwern]
2160
2161   - delete_filetree() now always uses File::Path::rmtree(), regardless
2162     of whether the thing being deleted is a file or a directory.  This
2163     helps remove things on obscure platforms with strange locking
2164     rules (or even not so obscure ones like MacOS).  It also now
2165     reports the number of files or directories deleted (without
2166     recursing directory contents).
2167
2168   - rm_previous_build_script() is gone, replaced by calls to
2169     delete_filetree().
2170
2171   - 'Build' now chdir()s in a BEGIN block, so the 'use Module::Build'
2172     statement will work correctly.  Solves a problem on MacOS, where
2173     the 'Build' script may often be invoked from the wrong working
2174     directory.  [Fix by Michael Schwern]
2175
2176   - Internally we now use the multi-argument form of system() to run
2177     external commands (such as 'diff' or 'cc') whenever possible (and
2178     whenever we can't avoid system() altogether).  Note that this
2179     means we have to handle splitting some strings (such as
2180     $Config{ccflags}) into argument lists like the shell would, which
2181     is a drag.  However, the alternative would be to handle shell
2182     quoting of all arguments to commands ourselves, which is an even
2183     bigger drag across platforms and involves arbitrary filenames and
2184     so on.
2185
2186   - To handle the argument splitting mentioned above, a method
2187     split_like_shell() has been created.  So far it's just doing naive
2188     processing.  In practice, I've yet to actually see a %Config entry
2189     that uses quotes & spaces, so the splitting task is usually not
2190     very error-prone.
2191
2192   - The 'test' action now takes a 'test_files' parameter, similar to
2193     the (undocumented) ExtUtils::MakeMaker TEST_FILES argument.  Handy
2194     during development when fixing bugs.
2195
2196   - Internally, the rscan_dir() method can now accept a predicate
2197     function that decides whether a file/directory should be matched.
2198
2199   - We now issue a warning message when the author hasn't specified a
2200     license type.
2201
2202 0.13  Wed Nov 20 20:07:53 AEST 2002
2203
2204   - 'cleanup' file lists are now written immediately, rather than at
2205     program termination.  This helps avoid "phantom files" that don't
2206     get handled by the 'realclean' action.  The internal
2207     write_cleanup() method (which was never documented) is now gone.
2208
2209   - The 'blib/' directory is now properly cleaned up in more (all?)
2210     circumstances.  Previously it could become a phantom if
2211     create_build_script() was never called.
2212
2213   - Now scan the 'c_source' directory for .cpp (C++) files as well as
2214     .c files, and compiles them.
2215
2216   - Use a 'phony' target for 'make manifest' in the pass-through
2217     Makefile, for the same reason as 'make install' (see version 0.12
2218     notes below).
2219
2220   - Module::Build::Compat now accepts any known Config.pm key and
2221     passes it through to the Build.PL.  Fixes a problem with CPANPLUS,
2222     which was passing INSTALLMAN1DIR.
2223
2224   - The file 'META.yaml' has been re-named to 'META.yml' in order to
2225     cooperate better with systems that can only handle 3 characters
2226     after the dot.
2227
2228   - The t/xs.t test should give more informative error messages upon
2229     failure.
2230
2231 0.12  Thu Nov 14 18:31:47 AEST 2002
2232
2233   - The META.yaml file was erroneously looking for 'build_depends'
2234     instead of 'build_requires'. [spotted by Iain Truskett]
2235
2236   - Add prompt() and y_n() methods for use in Build.PLs
2237
2238   - Do more to work with all versions of Test::Harness when setting
2239     the TEST_VERBOSE flag and running under the debugger [patch by
2240     Dave Rolsky]
2241
2242   - Include a test for verbosity handling
2243
2244   - Make sure the blib/ directory is always cleaned up with the
2245     'clean' or 'realclean' action.
2246
2247   - In a pass-through Makefile.PL, inform 'make' that 'install' is a
2248     "fake target", so that it works properly on case-insensitive
2249     filesystems like HFS+ with distributions that contain an INSTALL
2250     file. [patch by Brian Ingerson]
2251
2252   - In Module::Build::Compat, show an example Makefile.PL that can
2253     install Module::Build and re-invoke itself in one fell swoop [Dave
2254     Rolsky and Autrijus Tang]
2255
2256   - Improve the formatting of the Module::Build and
2257     Module::Build::Compat documentation.
2258
2259 0.11  Fri Aug 23 18:50:46 AEST 2002
2260
2261   - 'module_version' and 'module_version_from' have been replaced by
2262     'dist_version' and 'dist_version_from', which is what they really
2263     meant in the first place.  'dist_name' has been added.
2264
2265   - 'module_name' is now just a way to set 'dist_name' and
2266     'dist_version_from' in a convenient way.
2267
2268   - The 'name' in META.yaml is now the distribution name, not the
2269     (incorrect) module name. [spotted by Graham Barr]
2270
2271   - Added the check_installed_status() and prereq_failures() methods
2272     for checking prerequisite information with the programmatic
2273     interface
2274
2275   - check_installed_version() now uses check_installed_status()
2276     internally
2277
2278   - Documented the create_build_script() method, which had escaped
2279     documentation.
2280
2281   - create_build_script() now writes prerequisite information to the
2282     _build/ directory, for use by Module::Build::Compat.
2283
2284   - Module::Build::Compat has documentation for a safer way to write a
2285     dummy Makefile.PL. [patch by Autrijus Tang]
2286
2287 0.10  Wed Aug  7 19:36 2002
2288   - Recommend YAML 0.35 instead of 0.30.
2289
2290   - Don't die during 'Build disttest' if YAML isn't installed.  This
2291     fixes tests 5-10 in runthrough.t if YAML isn't installed.
2292
2293   - Die if an unknown license type is used, but still default to
2294     'unknown' if no license is specified.
2295
2296   - Use YAML::DumpFile() if we're using a recent YAML,
2297     YAML::StoreFile() otherwise.
2298
2299   - Show specific error messages in runthrough.t.
2300
2301   - Add a generated_by entry to the META.yaml file.
2302
2303   - Skip a few tests if YAML isn't installed.
2304
2305 0.09  Fri Jun 28 11:07:08 EST 2002
2306
2307   - The 'distdir' action wasn't deleting the distribution directory
2308     before building it again.  This meant that, say, if you did 'Build
2309     disttest' then 'Build dist', you'd end up with a blib/ directory
2310     in your distribution.  I actually had this happen for version
2311     0.08, and it's not nice to distribute a blib/ on CPAN.
2312
2313   - We now keep track of the 'base_dir', i.e. the top-level build
2314     directory, so we can change back into it if we change out of it.
2315     This necessitated a cwd() method, which uses the Cwd.pm module.
2316     I'm aware of Cwd's limitations, particularly under taint-mode, but
2317     I don't know a way around using it here.
2318
2319   - The 'dist_dir' action now changes back into 'base_dir' directory.
2320
2321   - We now do write_config() inside the create_build_script() method,
2322     not inside the new() method.
2323
2324   - Simplified the find_version() method, and improved its error
2325     messages.
2326
2327   - Renamed module_name_to_file() to find_module_by_name(), and added
2328     a parameter specifying the directories to search in.  Previously
2329     we searched in 'lib' and @INC, which wasn't correct in all
2330     situations. 
2331
2332   - Patched the docs to change "Build test" to "./Build test"
2333     [Elizabeth Mattijsen]
2334
2335 0.08  Wed Jun 26 20:30:56 EST 2002
2336
2337   - Fixed the 'prereq' alias for the 'requires' parameter
2338
2339   - Added some tests in t/basic.t to test the dependency checking
2340
2341   - Added 'artistic' as a licensing option [Arthur Bergman]
2342
2343   - Fixed some bugs in requires/prereq/recommends/conflicts/build_depends
2344
2345   - Fixed a typo in the 'distclean' action that prevented its
2346     execution [Arthur Bergman]
2347
2348   - Separated the linking phase of building XS items into its own
2349     link_c() method.  Its interface is still unstable, so it's not
2350     documented yet. [suggested by Arthur Bergman]
2351
2352 0.07  Jun  9 2002 15:46
2353
2354   - We now generate a 'META.yaml' metadata file during 'Build dist'.
2355     This can be very useful for lots of things, none of which are
2356     implemented yet.
2357
2358   - Added a 'dynamic_config' parameter, defaulting to false.  This
2359     lets distribution systems (CPAN.pm, etc.) build, test, and install
2360     "easy" modules without having to execute the Build.PL at runtime.
2361     It's also a guarantee that the list of dependencies is exactly
2362     what is present in the metadata file, and won't be changed during
2363     the build process.
2364
2365   - Added support for "recommended" and "build-time requirement"
2366     modules, besides those that are absolutely required.  Also added a
2367     "conflicts" field.
2368
2369   - Changed the 'prereq' field to 'requires' (the old name will
2370     continue to work).
2371
2372   - Added support for checking the installed version of perl as an
2373     explicit dependency.
2374
2375   - Added a 'license' parameter to specify one of a fixed number of
2376     licenses for the distribution.
2377
2378   - Fixed a bug in Module::Build::Compat that was preventing arguments
2379     from being processed properly. [patch by Ilya Martynov]
2380
2381   - Make sure we're in the right directory when we write the cleanup
2382     file, since various ExtUtils::Install errors might leave us in an
2383     unknown directory. [patch by Ilya Martynov]
2384
2385   - Specified the 'license', 'recommends', and 'dynamic_config'
2386     values in Build.PL, and changed 'prereq' to 'requires'.
2387
2388 0.06  Apr 2 2002 17:44
2389
2390   - Added the Module::Build::Compat module for assisting and
2391     explaining compatibility with ExtUtils::Makemaker and cohorts.
2392
2393   - State is now saved using Data::Dumper instead of my ad-hoc
2394     mechanism, guaranteeing data integrity.  Whitespace values broke
2395     in the former scheme.
2396
2397   - Added the 'recommended' option, which works like 'prereq' but
2398     isn't insistent.
2399
2400   - Separated the various parameters into three groups: parameters
2401     that tell Module::Build what to do, Config.pm parameters, and
2402     user-defined parameters for each build (the module author is the
2403     'user' here).  This helps avoid conflicts between names, and it
2404     was silly to have them all together.  The three groups of
2405     parameters are subject to the same rules for overriding: values
2406     specified during a Build action take precedence over values
2407     specified at 'perl Build.PL' time, which in turn take precedence
2408     over values specified in the call to new().
2409
2410   - Improved support for .PL files.  Any .PL file in the lib/
2411     directory or the directory specified by 'c_source' will now get
2412     properly executed.  I also added a 'PL_files' parameter that you
2413     can use in case the .PL doesn't create an obviously-named output
2414     file.
2415
2416   - If a prerequisite condition is malformed, we now report a prereq
2417     failure and say why.  Previously we issued a warning and kept
2418     going.
2419
2420
2421 0.05   10-Jan-2002 20:26
2422   - Added the Module::Build->subclass() method, which makes it easier to
2423     make quick-and-dirty subclasses of Module::Build.
2424
2425   - Reorganized the docs a bit.
2426
2427   - Added the 'testdb' action, and the 'debugger=1' argument to the
2428     'test' action, both of which run tests under the perl
2429     debugger. (idea: Dave Rolsky)
2430
2431   - Added prerequisite checking (Dave Rolsky)
2432
2433   - Fixed an unlikely-to-occur bug with misquoted strings in the
2434     'Build' script (spot: Dave Rolsky)
2435
2436   - We're more careful about shush-ing warnings that
2437     ExtUtils::Manifest might emit (Dave Rolsky)
2438
2439   - The 'help' action now auto-generates the list of actions (Dave Rolsky)
2440
2441   - Added the 'distcheck', 'skipcheck', 'distclean', 'distdir', and
2442     'disttest' actions (Dave Rolsky)
2443
2444   - We're a little more aggressive about cleaning up temporary files -
2445     we'll try to clean them up even when we don't have write permission
2446     on them.  This isn't as dastardly as it sounds; if we /really/
2447     don't have permission, we won't be able to remove them no matter
2448     how hard we try.
2449
2450 0.04   Fri Nov 16 16:55 2001
2451   - Added a 'manifest' action.  It's just like MakeMaker's 'make manifest', it
2452     brings your MANIFEST file up to date with your distribution directory.
2453
2454   - Reorganized some of the responsibilities of various methods, which
2455     allows modules to be built and tested programmatically.
2456
2457   - The 'clean' action will now clean up files that were created more
2458     recently than the on-disk cleanup registry was written.
2459
2460   - Undefined values from Config.pm are handled correctly now.
2461
2462   - The dispatch() method will now accept explicit dispatch
2463     parameters, for use in a programmatic setting.
2464
2465   - $ENV{TEST_VERBOSE} will be set in test scripts if the 'verbose=1'
2466     parameter is set.
2467
2468   - Moved the test.pl script to t/basic.t
2469
2470   - Created the t/xs.t script, which tests building a module with a
2471     .xs component.
2472
2473   - Fixed the loading of $^O-specific modules (there were no such
2474     modules before).
2475
2476   - Added a 'darwin' platform module, which removes -flat_namespace
2477     from $Config{ccflags} while building .xs modules (it's a linker
2478     flag, not a compiler flag).
2479
2480   - Now uses $^W instead of the 'warnings' pragma, which apparently
2481     provides compatibility with perl 5.005 (I've only tested it with
2482     5.6.x myself).
2483
2484   - If a file called C<visual.pl> exists in the top-level directory,
2485     this file will be executed as a Perl script during 'Build test' and
2486     its output will be shown to the user.  This is a good place to put
2487     speed tests or other tests that don't use the C<Test::Harness> format
2488     for output.
2489
2490   - The 'Build install' step will now put .xs-related things in the
2491     correct architecture-dependent libraries.
2492
2493   - Added the 'autosplit' option, even though I think autosplitting is
2494     a load of hooie.
2495
2496 0.03  Sun Nov 11 14:58 CDT 2001
2497   - The 'perl Build.PL' step will now detect whether the current
2498     environment is "unixish", "windowsish", etc., and load the correct
2499     module (i.e. Module::Build::Platform::Unix).  More specific
2500     modules may also be written for particular values of $^O.
2501
2502   - Module::Build will now process any .xs files in the lib/
2503     directory.  Please let me know whether this works or not with your
2504     distribution & platform.  I'll be trying out various distributions
2505     on my platform.
2506
2507   - Corrected some embarassing errors in the POD documentation.  Also
2508     added a long documentation section on the various build actions
2509     (test, install, build, etc.) and added some neato ASCII art.
2510
2511   - Added a 'cleanup' mechanism - any method may call the
2512     $self->add_to_cleanup(@files) method to register files which need
2513     to be cleaned up during 'Build clean'.
2514
2515   - Added a 'Build help' action that gives a little syntax help, and
2516     lists all the actions available.
2517
2518   - Fixed a bug in which 'blib/' wasn't properly being added to @INC
2519     when running 'Build test'.
2520
2521   - For the 'Build dist' action, we'll use the 'tar' and 'gzip'
2522     programs (as specified by Config.pm) on Unix platforms, otherwise
2523     we'll use Archive::Tar and Compress::Zlib.
2524  
2525 0.02  Wed Sep  5 00:53:04 CDT 2001
2526   - Added POD documentation.
2527
2528   - Added the 'install', 'fakeinstall', and 'dist' actions.
2529
2530   - new() will now determine version string based on 'module_version', or
2531     'module_version_from', or 'module_name', in that order.
2532
2533   - Module::Build::Base handles its file paths in a platform-independent
2534     way, using the File:: modules
2535
2536
2537 0.01  Sun Aug  5 01:23:10 2001
2538   - original version; created by h2xs 1.1.1.4 with options -XA -n Module::Build
2539