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