This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update CPAN to CPAN version 2.00
[perl5.git] / cpan / Module-Build / Changes
CommitLineData
bb4e9162
YST
1Revision history for Perl extension Module::Build.
2
64b0d2b9
SH
30.4003 - Sat Aug 18 11:17:49 CEST 2012
4
5 [BUG FIXES]
6
7 - Get rid of outdated metadata tests [Steve Hay]
8
1ce5ed3e
SH
90.4002 - Fri Jul 27 20:04:09 EEST 2012
10
11 [BUG FIXES]
12
64b0d2b9 13 - Test for TAP::Harness version properly [Leon Timmermans]
1ce5ed3e 14
64b0d2b9 15 - Install to 'site' on 5.12+ [Leon Timmermans]
1ce5ed3e
SH
16
17 [DOCUMENTATION]
18
19 - Document extra_{compiler|linker}_flags accessors [Nick Wellnhofer]
20
210.4001 - Tue Jun 26 20:54:15 CEST 2012
22 [BUG FIXES]
23
24 - Parse Pod name a litte more leniently [Paul Evans]
25
26 [DOCUMENTATION]
27
28 - Various spelling fixes [Leon Timmermans, Jonathan Yu]
29
30 - Fixes configuration keys used for script location [Leon Timmermans, reported by Samuel Ferencik]
31
32 [OTHER]
33
34 - use warnings
35
58fa6946
CBW
360.40 - Fri Feb 24 18:47:48 CET 2012
37
38 - Released 0.39_02 as 0.40 without any code changes
39
400.39_02 - Thu Feb 17 00:33:18 MET 2012
41
42 [BUG FIXES]
43
44 - Fixed bug where modules without $VERSION might have a version of '0'
45 listed in 'provides' metadata, which will be rejected by PAUSE
46 [David Golden, reported by Christopher Fields]
47
48 - Fixed bug in PodParser to allow numerals in module names
49 [Tokuhirom]
50
51 - Fixed bug where giving arguments twice led to them becoming arrays,
52 resulting in install paths like "ARRAY(0xdeadbeef)/lib/Foo.pm"
53 [Leon Timmermans]
54
55 [DOCUMENTATION]
56
57 - Fixed deviance from alphabetical order in documentation of
58 constructor parameters. [Eric Brine]
59
60 - Add documentation for configure_requires constructor parameter.
61 [Eric Brine]
62
63 - Change some of the docs' language describing relationship to
64 MakeMaker. [Ken Williams]
65
66 [OTHER]
67
68 - List Perl-Toolchain-Gang repo as official repo
69
2df9265e
DG
700.39_01 - Thu Jul 21 16:48:48 EDT 2011
71
72 [BUG FIXES]
73
74 - Fixed bug with a nested directory named 'share' inside a ShareDir
75 (RT#68585) [David Golden]
76
77 - Fixed failing tilde.t when run under UID without passwd entry
78 (RT#67893) [Dominic Hargreaves]
79
80 [DOCUMENTATION]
81
82 - Fixed typo in Module::Build (RT#67008) [David Golden]
83
84 [OTHER]
85
86 - Pod to HTML internals changed to support new Pod::Html work
87 in the Perl core
88
0bb35765
DG
890.3800 - Sat Mar 5 15:11:41 EST 2011
90
91 Summary of major changes since 0.3624:
92
93 [ENHANCEMENTS]
94
95 - Generates META.json and MYMETA.json consistent with version 2 of the
96 CPAN Meta Spec. [David Golden]
97
98 Also in this release:
99
100 [BUG FIXES]
101
102 - Autogenerated documentation no longer includes private actions from
103 Module::Build's own release subclass. [Report by Timothy Appnel,
104 fix by David Golden]
105
1060.37_06 - Mon Feb 28 21:43:31 EST 2011
107
108 [BUG FIXES]
109
110 - prerequisites with the empty string instead of a version are
111 normalized to "0". (RT#65909)
112
113 [OTHER]
114
115 - More Pod typo/link fixes [Hongwen Qiu]
116
501ab549
DG
1170.37_05 - Sat Feb 19 20:43:23 EST 2011
118
119 [BUG FIXES]
120
121 - fixes failing ppm.t in perl core
122
123 [OTHER]
124
125 - Pod typo fixes [Hongwen Qiu]
126
a7c7ab1e
DG
1270.37_04 - Wed Feb 16 15:27:21 EST 2011
128
129 [OTHER]
130
131 - moved scripts/ to bin/ for less confusing porting to bleadperl
132
1330.37_03 - Wed Feb 16 09:54:05 EST 2011
134
135 [BUG FIXES]
136
137 - removed an irrelevant test in t/actions/installdeps.t that was causing
138 failures on some Cygwin platforms
139
140 [OTHER]
141
142 - dropped configure_requires as some CPAN clients apparently get
143 confused by having things in both configure_requires and requires
144
145 - bumped Parse::CPAN::Meta build prereq to 1.4401
146
147 - bumped CPAN::Meta prereq to 2.110420
148
501ab549
DG
149 - Pod typo fixes [Hongwen Qiu]
150
a7c7ab1e
DG
1510.37_02 - Mon Feb 7 21:05:30 EST 2011
152
153 [BUG FIXES]
154
155 - bumped CPAN::Meta prereq to 2.110390 to avoid a regression in 2.110360
156
1570.37_01 - Thu Feb 3 03:44:38 EST 2011
158
159 [ENHANCEMENTS]
160
161 - Generates META.json and MYMETA.json consistent with version 2 of the
162 CPAN Meta Spec. [David Golden]
163
164 [BUG FIXES]
165
166 - t/signature.t now uses a mocked Module::Signature; this should be
167 more robust across platforms as it only needs to confirm that
168 Module::Build is calling Module::Signature when expected
169
170 [OTHER]
171
172 - Added CPAN::Meta and Parse::CPAN::Meta to prerequisites and dropped
173 CPAN::Meta::YAML
174
1750.3624 - Thu Jan 27 11:38:39 EST 2011
176
177 - Fixed pod2html directory bugs and fixed creation of spurious blib
178 directory in core perl directory when running install.t (RT#63003)
179 [Chris Williams]
180
1810.3623 - Wed Jan 26 17:45:30 EST 2011
182
183 - Fixed bugs involving bootstrapping configure_requires prerequisites
184 on older CPANPLUS clients or for either CPAN/CPANPLUS when using
185 the compatibility Makefile.PL
186
187 - Added diagnostic output when configure_requires are missing for
188 the benefit of users doing manual installation
189
7cf8bfc0
DG
1900.3622 - Mon Jan 24 21:06:50 EST 2011
191
192 - No changes from 0.36_21
193
1940.36_21 - Fri Jan 21 11:01:28 EST 2011
195
196 - Changed YAML::Tiny references to the new CPAN::Meta::YAML module
197 instead, which is the YAML-variant that is going into the Perl core
198
1990.36_20 - Fri Dec 10 15:36:03 EST 2010
200
201 *** DEPRECATIONS ***
202
203 - Module::Build::Version has been deprecated. Module::Build now depends
204 directly upon version.pm. A pure-perl version has been bundled in inc/
205 solely for bootstrapping in case configure_requires is not supported.
206 M::B::Version remains as a wrapper around version.pm.
207
208 - Module::Build::ModuleInfo has been deprecated. Module::Build now
209 depends directly upon Module::Metadata (which is an extraction of
210 M::B::ModuleInfo intended for general reuse). A pure-perl version has
211 been bundled in inc/ solely for bootstrapping in case
212 configure_requires is not supported. M::B::ModuleInfo remains as a
213 wrapper around Module::Metadata.
214
215 - Module::Build::YAML has been deprecated. Module::Build now depends
216 directly upon YAML::Tiny. M::B::YAML remains as a subclass wrapper.
217 The YAML_support feature has been removed, as YAML is now an ordinary
218 dependency.
219
2200.36_19 - Tue Dec 7 13:43:42 EST 2010
221
222 Bug fixes:
223
224 - Perl::OSType is declared as a 'configure_requires' dependency, but is
225 also bundled in inc (and loaded if needed) [David Golden]
226
2270.36_18 - Mon Dec 6 16:46:49 EST 2010
228
229 Changes:
230
231 - Added dependency on Perl::OSType to refactor and centralize
232 management of OS type mapping [David Golden]
233
234 - When parsing a version number out of a file, any trailing alphabetical
235 characters will be dropped to avoid fatal errors when comparing version
236 numbers. These would have been dropped (with a warning) anyway during
237 an ordinary numeric comparison. (RT#56071) [David Golden]
238
239 Bug fixes:
240
241 - A Perl interpreter mismatch between running Build.PL and running Build
242 is now a fatal error, not a warning (RT#55183) [David Golden]
243
244 - Bundled Module::Build::Version updated to bring into sync with CPAN
245 version.pm 0.86 [David Golden]
246
247 - No longer uses fake user 'foo' in t/tilde (RT#61793) [David Golden]
248
249 - Won't fail tests if an ancient Tie::IxHash is installed
250 [Christopher J. Madsen]
251
252 - Correctly report missing metafile field names [David Golden]
253
254 - Suppress uninitialized value errors during Pod creation
255 on ActiveState Perl [David Golden]
256
257 - Return to starting directory after install action; this is
258 an attempt to fix an install.t heisenbug (RT#63003) [David Golden]
259
260 - A broken version.pm load won't cause Module::Build::Version to
261 die trying to install itself as a mock version (RT#59499)
262 [Eric Wilhelm and David Golden]
263
264 - PERL_DL_NONLAZY is now always set when tests are run
265 (RT#56055) [Dmitry Karasik]
266
267 - 'fakeinstall' will use .modulebuildrc actions for 'install' if
268 no specific 'fakeinstall' options are provided (RT#57279)
269 [David Golden]
270
271 - Add install*script to search path for installdeps client
272 and search site, then vendor, then core paths
273
274 - Skip noexec tmpdir check on Windows (RT#55667) [Jan Dubois]
275
276 - Arguments with key value pairs may now have keys with "-" in them
277 (RT#53050) [David Golden]
278
279 - Add quotemeta to t/tilde.t test to fix Cygwin fails
280 [Chris Williams and David Golden]
281
282 - Build script now checks that M::B is at least the same version
283 of M::B as provided in 'configure_requires' in META
284 (RT#54954) [David Golden]
285
2860.36_17 - Wed Oct 27 18:08:36 EDT 2010
287
288 Enhancements:
289
290 - Added 'distinstall' action to run 'Build install' inside the
291 generated distribution directory [Jeff Thalhammer]
292
2930.36_16 - Thu Aug 26 12:44:07 EDT 2010
294
295 Bug fixes:
296
297 - Better error message in case package declaration is not found
298 when searching for version. [Alexandr Ciornii]
299
300 - Skips 'release_status' tests on perl < 5.8.1 due to buggy
301 treatment of dotted-decimal version numbers [David Golden]
302
3030.36_15 - Wed Aug 25 10:41:28 EDT 2010
304
305 Bug fixes:
306
307 - Added a mock Software::License to prevent t/properties/license.t
308 from failing.
309
3100.36_14 - Sun Aug 22 22:56:50 EDT 2010
311
312 Enhancements:
313
314 - Adds 'release_status' and 'dist_suffix' properties in preparation
315 for adding CPAN Meta Spec 2 support. 'dist_suffix' will be set
316 to 'TRIAL' automatically when necessary. [David Golden]
317
318 - Makes 'license' more liberal. You can now specify either a license
319 key from the approved list (c.f. Module::Build::API) or just a
320 Software::License subclass name (e.g. 'Perl_5'). This should
321 provide better support for custom or proprietary licenses.
322 [David Golden]
323
3240.36_13 - Wed Jul 28 22:40:25 EDT 2010
325
326 Bug-fixes:
327
328 - Bundled Module::Build::Version updated to bring into sync with CPAN
329 version.pm 0.82 [David Golden]
330
3310.36_12 - Tue Jul 27 00:08:51 EDT 2010
332
333 Enhancements:
334
335 - Module::Build::Compat will now convert dotted-decimal prereqs into
336 decimal rather than dying (and will warn about this). [Apocalypse]
337
338 Bug fixes:
339
340 - Caches case-sensitivity checks to boost performance, fixes
341 RT#55162 and RT#56513 [Reini Urban]
342
343 - Won't try to use ActivePerl doc generation tools without confirming
344 that they are indeed installed. [David Golden]
345
346 - Sets temporary $ENV{HOME} in testing to an absolute path, which fixes
347 some issues when tested as part of the Perl core [Nicholas Clark]
348
349 - Module::Build::ModuleInfo now warns instead of dying when a module
350 has an invalid version. ->version now just returns undef
351 (RT#59593) [David Golden]
352
353 Changes:
354
355 - When authors do not specify Module::Build in configure_requires and
356 Module::Build is automatically added, a warning will be issued
357 showing the added prerequisite [David Golden]
358
359 - Moved automatic configure_requires generation into get_metadata()
360 and added an 'auto' argument to toggle it (on for META and off
361 for MYMETA) [David Golden]
362
3630.36_11 - Thu May 27 09:41:23 EDT 2010
364
365 Bug fixes:
366
367 - Handle META/MYMETA reading and writing within Module::Build to ensure
368 utf8 mode on filehandles. Now passes/gets only strings to YAML::Tiny
369 or Module::Build::YAML
370
3710.36_10 - Wed May 19 18:36:06 EDT 2010
372
373 Bug fixes:
374
375 - Fix failing t/manifypods.t on Windows from 0.36_09 changes [Klaus
376 Eichner]
377
3780.36_09 - Tue May 11 09:19:12 EDT 2010
379
380 Bug fixes:
381
382 - Improve HTML documentation generation on ActivePerl (RT#53478)
383 [Scott Renner and Klaus Eichner]
384
3850.36_08 - Mon Apr 26 08:00:15 EDT 2010
386
387 Enhancements:
388
389 - Give a list of valid licenses when given one we don't recognize
390 (RT#55951) [Yanick Champoux]
391
392 - Added 'Build manifest_skip' action to generate a default MANIFEST.SKIP
393 [David Golden]
394
395 Changes:
396
397 - When temporarily generating a MANIFEST.SKIP when none exists, it will
398 be removed on exit instead of hanging around until 'Build clean'. This
399 is less surprising/confusing and the 'Build manifest_skip' action
400 is now available instead to bootstrap the file [David Golden]
401
402 Bug fixes:
403
404 - Fixed runtime error on cygwin when searching for an executable command
405 during installdeps testing [David Golden]
406
40c9afb2
CBW
4070.3607 - Thu Apr 1 11:27:16 EDT 2010
408
409 Bug fixes:
410
411 - The 'dist' action now always ensures a clean dist directory before
412 creating the tarball [David Golden]
413
4140.36_06 - Thu Apr 1 01:23:58 EDT 2010
415
416 Other:
417
418 - Migrated repository to git and updated META.yml to match
419
420 - Removed bugtracker URL (let search.cpan.org use default)
421
422 - Disabled SIGNATURE generation
423
4240.3605 - Wed Mar 31 12:05:11 EDT 2010
425
426 - No changes from 0.36_04
427
4280.36_04 - Tue Mar 16 21:41:41 EDT 2010
429
430 Bug fixes:
431
432 - Added missing newline to "Changing sharpbang" messages under verbose
433 output (RT#54474) [David Golden]
434
435 - Added 'beos' to list of Unix-like os types (RT#53876) [Nigel Horne]
436
437 - Sets $ENV{HOME} to a temporary directory during testing [David Golden]
438
439 - For VMS: fixed prefix handling plus other test fixes [Craig Berry]
440
441 - Support anonymous array of directories for c_source [Alberto Simões]
442
443 - Small POD formatting fix [James Keenan]
444
7dc9e1b4
DG
4450.3603 - Mon Jan 18 22:28:59 EST 2010
446
447(Oops, I released the last one before I realized this should have been
448fixed along with it.)
449
450 Bug fixes:
451
452 - Module::Build::Compat would croak on distibutions that set requires
453 'perl' to a dotted decimal like '5.6.2'. We now skip that key
454 since it doesn't go into PREREQ_PM and we numify it properly for
455 'use 5.006002' in the generated Makefile.PL (RT#53409)
456 [David Golden, adapted from patch by G. Allen Morris III]
457
4580.3602 - Mon Jan 18 22:09:54 EST 2010
459
460 Bug fixes:
461
462 - Fix failures in t/properties/needs_compiler.t when $ENV{CC} is set
463 (RT#53296) [David Golden, adapted from patch by Jens Rehsack]
464
4650.3601 - Mon Dec 21 14:39:33 EST 2009
466
467 Bug fixes:
468
469 - When the currently running Module::Build is not the same as the one
470 that created the Build file, there is now a warning rather than a fatal
471 error. This helps installation of dependency chains where a dependency
472 might configure_requires a new Module::Build after Build.PL was already
473 run for an earlier distribution. [David Golden, on advice of Matt Trout]
474
475 Other:
476
477 - t/bundle_inc.t fails in odd ways. This test of an experimental feature
478 should not prevent users from installing Module::Build, so this test
479 now skips unless $ENV{MB_TEST_EXPERIMENTAL} is true
480
c341c67b
DG
4810.36 - Sun Dec 20 15:02:38 EST 2009
482
483No changes from 0.35_15 other than the version number.
484
485Summary of major changes since 0.35:
486
487 Enhancements:
488
489 - Added 'Build installdeps' action to install needed dependencies via
490 a user-configurable command line program. (Defaults to 'cpan'.)
491
492 - Command line options may be set via the PERL_MB_OPT environment
493 variable (similar to PERL_MM_OPT in ExtUtils::MakeMaker)
494
495 - Generates MYMETA.yml during Build.PL (new standard protocol for
496 communicating configuration results between toolchain components)
497
498 - Reduced amount of console output under normal operation (use --verbose
499 to see all output)
500
501 - Added experimental inc/ bundling; see Module::Build::Bundling for
502 details.
503
504 New or changed properties:
505
506 - Added 'share_dir' property to provide File::ShareDir support;
507 File::ShareDir automatically added to 'requires' if 'share_dir' is set
508
509 - Added 'needs_compiler' property. Defaults to true if XS or c_source
510 exist. If true, ExtUtils::CBuilder is also added to build_requires.
511
512 - 'C_support' is no longer an optional feature. Modern ExtUtils::CBuilder
513 and ExtUtils::ParseXS added to the 'requires' list. This ensures that
514 upgrading Module::Build will upgrade these critical modules.
515
516 - Clarified that 'apache' in the license attribute indicates the Apache
517 License 2.0 and added 'apache_1_1' for the older version of the license
518 (RT#50614)
519
520 Deprecations:
521
522 - Module::Build::Compat 'passthrough' style has been deprecated. Using
523 'passthrough' will issue warnings on Makefile.PL generation. See
524 Module::Build::Compat documentation for rationale.
525
526 Internals:
527
528 - Replaced use of YAML.pm with YAML::Tiny; Module::Build::YAML is now
529 based on YAML::Tiny as well
530
531 - A new get_metadata() method has been added as a simpler wrapper around
532 the old, kludgy prepare_metadata() API.
533
534 - Replaced guts of new_from_context(). Build.PL is now executed in a
535 separate process before resume() is called. (This is generally only of
536 interest to Module::Build or toolchain developers) (RT#49350)
537
538 - Add support for 'package NAME VERSION' syntax added in Perl 5.11.1
539
540 Notable bug fixes:
541
542 - The "test" action now dies when using the 'use_tap_harness'
543 option and tests fail, matching the behavior under Test::Harness.
544 (RT#49080) [initial patch from David Wheeler; revised by David Golden]
545
546 - Updated PPM generation to PPM v4 (RT#49600) [Olivier Mengue]
547
548 - When module_name is not supplied, no packlist was being written; fixed
549 by guessing module_name from dist_version_from or the directory name
550 (just like ExtUtils::Manifest does without NAME) [David Golden]
551
552 - Failure to detect a compiler will now warn during Build.PL and be a
553 fatal error when trying to compile during Build. (RT#48918) [David
554 Golden]
555
556 - Auto-detection of abstract and author fixed for mixed-case POD headers
557 (RT#51117) [David Wheeler]
558
559 - resume() was not restoring additions to @INC added in Build.PL
560 (RT#50145) [David Golden]
561
562 - When tarball paths are less than 100 characters, disables 'prefix'
563 mode of Archive::Tar for maximum compatibility (RT#50571) [David Golden]
564
565 - Merging 'requires' and 'build_requires' in Module::Build::Compat could
566 lead to duplicate PREREQ_PM entries; now the highest version is used
567 for PREREQ_PM. (RT#50948) [David Golden]
568
569 - Module::Build::Compat will now die with an error if advanced,
570 non-numeric prerequisites are given, as these are not supported by
571 ExtUtils::MakeMaker in PREREQ_PM [David Golden]
572
573
229c5935
DG
5740.35_15 - Thu Dec 17 17:51:22 EST 2009
575
576 Bug fixes:
577
578 - Make sure PPM tests are skipped if IO::File is too old [David Golden]
579
53fc1c7e
DG
5800.35_14 - Thu Dec 17 16:02:14 EST 2009
581
582 Bug fixes:
583
584 - If not set, the 'module_name' is detected from 'dist_version_from'
585 or from 'dist_name'. The directory is no longer used. [David Golden]
586
587 - The 'share_dir' property no longer defaults to 'share' and must be
588 explicitly set instead; this fixes problems for CPAN distributions that
589 already have a 'share' directory for whatever reason [David Golden]
590
591 - Change t/00-compile.t test for more portability [David Golden]
592
593 - Skip ppm.t if Pod::Html is not available [David Goldenj]
594
595 - Changed guts of inc::latest to work properly on older versions of Perl
596 [David Golden]
597
598 - Ensure bundle_inc.t doesn't accidentally uninstall the installed M::B
599 during testing if the user had 'uninst=1' set during Build.PL
600 [David Golden]
601
6020.35_13 - Sat Dec 5 11:26:36 EST 2009
603
604 Bug fixes:
605
606 - Protect against tempfile errors when checking ExtUtils::Installed
607 [David Golden]
608
6090.35_12 - Fri Dec 4 23:06:49 EST 2009
610
611 Bug fixes:
612
613 - Protect inc/ bundling tests against broken ExtUtils::Installed
614 [David Golden]
615
6160.35_11 - Thu Dec 3 11:07:44 EST 2009
617
618 *** API CHANGE ***
619
620 - The old API for prepare_metadata() has been restored to avoid breaking
621 distributions that were overriding it (e.g. BioPerl), but the method
622 has been marked deprecated and may be made private or may disappear in
623 some future version of Module::Build. [David Golden]
624
625 - A new get_metadata() method has been added as a simpler wrapper around
626 the old, kludgy prepare_metadata() API. [David Golden]
627
6280.35_10 - Tue Nov 24 22:49:19 EST 2009
629
630 Bug fixes:
631
632 - bundle_inc.t is more careful about permissions and open filehandles
633 to avoid failures/skips on Win32 [David Golden]
634
635 - Fix compilation error in Module::Build::Platform::VMS (RT#51766)
636 [David Golden]
637
638 - Don't generate a MANIFEST.SKIP during distclean and add any generated
639 MANIFEST.SKIP to cleanup list [reported by Zefram, fixed by David Golden]
640
641 - Module::Build::ModuleInfo version parsing would fail if a module sets
642 its $VERSION from another module, but the other module is not installed.
643 We now try to detect such failures, prepend 'lib' to @INC and try again.
644 [David Golden]
645
646 - MYMETA.yml used to be generated from scratch, overriding any
647 customizations used to create META.yml. Now, if META.yml exists, that
648 will be used as the base for MYMETA and only prereq fields will be
649 updated (to reflect any dynamic configuration); also, 'dynamic_config'
650 will be set to false and 'generated_by' will be updated [David Golden]
651
08fc25ad
DG
6520.35_09 - Thu Nov 19 01:30:42 EST 2009
653
654 Bug fixes:
655
656 - The DB package should not be included in 'provides' in META files
657 [David Golden]
658
659 - Fixed t/xs.t build failures in bleadperl for noexec temp directories
660 [Nicholas Clark]
661
662 - Adjusted order of @INC in resume() (fixes par.t, ppm.t, xs.t fails):
663 @INC = @new_additions_to_inc, @saved_additions_to_inc, @default_inc
664 [David Golden]
665
666 - Skip bundle_inc.t tests if bundled Module::Build for test can't be
667 tweaked (Works around test crashes on Win2) [David Golden]
668
669 Other:
670
671 - 'C_support' is no longer an optional feature. Modern ExtUtils::CBuilder
672 and ExtUtils::ParseXS added to the 'requires' list. This ensures that
673 upgrading Module::Build will upgrade this critical modules.
674 ExtUtils::CBuilder no longer requires a compiler, so it is "safe" to
675 require.
676
613f422f
DG
6770.35_08 - Mon Nov 16 22:38:28 EST 2009
678
679 Bug fixes:
680
681 - Multiple tests were failing due to dependency problems. Author
682 dependencies have been largely removed from core 'requires' into
683 optional features. Feature prereq detection and messaging have been
684 expanded and bugs on older Perls have been removed.
685
6860.35_07 - Sat Nov 14 17:14:39 EST 2009
687
688 Bug fixes:
689
690 - Auto-detection of abstract and author fixed for mixed-case POD headers
691 (RT#51117) [David Wheeler]
692
693 - resume() was not restoring additions to @INC added in Build.PL
694 (RT#50145) [David Golden]
695
696 - When tarball paths are less than 100 characters, disables 'prefix'
697 mode of Archive::Tar for maximum compatibility (RT#50571) [David Golden]
698
6990.35_06 - Fri Nov 13 14:51:28 EST 2009
700
701 Enhancements:
702
703 - Added experimental inc/ bundling; see Module::Build::Bundling for
704 details. [David Golden and Eric Wilhelm]
705
706 - Clarified that 'apache' in the license attribute indicates the Apache
707 License 2.0 and added 'apache_1_1' for the older version of the license
708 (RT#50614) [David Golden]
709
710 Bug fixes:
711
712 - Merging 'requires' and 'build_requires' in Module::Build::Compat could
713 lead to duplicate PREREQ_PM entries; now the highest version is used
714 for PREREQ_PM. (RT#50948) [David Golden]
715
716 - Module::Build::Compat will now die with an error if advanced,
717 non-numeric prerequisites are given, as these are not supported by
718 ExtUtils::MakeMaker in PREREQ_PM [David Golden]
719
720 - Made MYMETA generation non-fatal if fields required for META.yml
721 are missing [David Golden]
722
723 - Added Pod::Simple to requirements for manpage support; avoids
724 problems if a user has a broken Pod::Man/Pod::Simple. (RT#50081)
725 [David Golden]
726
727 - Won't die if installed Pod::Readme is broken [David Golden]
728
729 Other:
730
731 - Fixed Module::Build::Notes POD [David Golden]
732
733 - Some commands had become silent by default, so added a few short status
734 messages so users know something actually happened [David Golden]
735
736 - Cleaned up Changes file formatting [David Golden]
737
738 - Removed most PERL_CORE customizations from test files due to
739 reorganization of dual-life modules in core (RT#49522) [David Golden]
740
7410.35_05 - Wed Oct 28 17:20:59 EDT 2009
742
743 Bug fixes:
744
745 - Fix test failure in t/actions/installdeps.t when $^X is not the default
746 perl [David Golden]
747
748 - Work around $VERSION numbers in ActiveState with multiple underscores
749 that prevent Module::Build from installing on Win32 [David Golden]
750
751 - Fix bug cleaning compatibility Makefile when older ExtUtils::Manifest is
752 installed [David Golden with help from David Cantrell]
753
754 Other:
755
756 - Suppressed more warnings from tests [David Golden]
757
758 - Add provisional support for 'package NAME VERSION' syntax added in
759 Perl 5.11.1 [David Golden]
760
7610.35_04 - Fri Oct 23 11:20:41 EDT 2009
762
763 Bug fixes:
764
765 - Fix test failure if IPC::Cmd isn't installed [David Golden]
766
767 Other:
768
769 - Suppressed warning messages from various tests [David Golden]
770
7710.35_03 - Wed Oct 21 21:20:59 EDT 2009
772
773 *** API CHANGE ***
774
775 - The prepare_metadata() method used to take a YAML::Node object as an
776 argument for modification. The method now takes no arguments and just
777 returns a hash reference of metadata. [David Golden]
778
779 Enhancements
780
781 - Command line options may be set via the PERL_MB_OPT environment
782 variable (similar to PERL_MM_OPT in ExtUtils::MakeMaker)
783
784 Bug fixes:
785
786 - Updated PPM generation to PPM v4 (RT#49600) [Olivier Mengue]
787
788 - When c_source is specified, the directory scan will include additional,
789 less-common C++ extensions (RT49298) [David Golden]
790
791 - When module_name is not supplied, no packlist was being written; fixed
792 by guessing module_name from dist_version_from or the directory name
793 (just like ExtUtils::Manifest does without NAME) [David Golden]
794
795 - Bumped IO::File prereq to fix binmode failures in PPMMaker on Perl
796 prior to 5.8.8 [David Golden]
797
798 Other:
799
800 - Replaced use of YAML.pm with YAML::Tiny; Module::Build::YAML is now
801 based on YAML::Tiny as well [David Golden]
802
803 - Reduced amount of console output under normal operation (use --verbose
804 to see all output) [David Golden]
805
8060.35_02 - Mon Sep 7 22:37:42 EDT 2009
807
808 Enhancements:
809
810 - Added 'needs_compiler' property. Defaults to true if XS or c_source
811 exist. If true, ExtUtils::CBuilder is also added to build_requires.
812 [David Golden]
813
814 - File::ShareDir automatically added to 'requires' if 'share_dir' is set
815 [David Golden]
816
817 - Added 'Build installdeps' action to install needed dependencies via
818 a user-configurable command line program. (Defaults to 'cpan'.)
819 [Eric Wilhelm]
820
821 Bug fixes:
822
823 - Failure to detect a compiler will now warn during Build.PL and be a
824 fatal error when trying to compile during Build. (RT#48918) [David
825 Golden]
826
827 - Fixed directory sorting failure in share_dir.t [David Golden]
828
829 - Property defaults that are data structures were being assigned as
830 references to new objects. Changed so that defaults are cloned instead.
831 (This mostly affects testing, which often creates multiple objects in the
832 same process) [David Golden]
833
834 - Simplified error message on exit under use_tap_harness [suggested by
835 David Wheeler]
836
837 - Fixed typemap search to use a dist-level typemap if a typemap is not
838 found in the directory with the *.xs file; (was manifesting as warnings
839 in Perl 5.6 tests) [David Golden]
840
841 Other:
842
843 - Replaced guts of new_from_context(). Build.PL is now executed in a
844 separate process before resume() is called. (This is generally only of
845 interest to Module::Build or toolchain developers) (RT#49350) [David
846 Golden, Eric Wilhelm, Ken Williams]
847
848 - Revised test helper classes to fix potential bugs and add new features
849 to make writing tests simpler and easier. Changes incorporated into
850 t/README.pod and t/sample.t as examples for new testing. [David Golden]
851
8520.35_01 - Mon Aug 31 12:11:10 EDT 2009
853
854 Enhancements:
855
856 - Generates MYMETA.yml during Build.PL (new standard protocol for
857 communicating configuration results between toolchain components)
858 [David Golden]
859
860 - Added 'share_dir' property to provide File::ShareDir support;
861 set automatically if a directory called 'share' exists
862 [David Golden]
863
864 Bug fixes:
865
866 - Fix the t/destinations.t fix. [David Golden, with thanks to Eric Wilhelm]
867
868 - Fix recursive test files in generated Makefile.PL (RT#49254) [Sawyer X]
869
870 - Guard against trying :utf8 when :utf8 isn't available
871
872 - The "test" action now dies when using the 'use_tap_harness'
873 option and tests fail, matching the behavior under Test::Harness.
874 (RT#49080) [initial patch from David Wheeler; revised by David Golden]
875
876 Other:
877
878 - Added t/README.pod and t/sample.t to guide developers writing new tests
879 [David Golden, with some code from Eric Wilhelm]
880
881 - Module::Build::Compat 'passthrough' style has been deprecated. Using
882 'passthrough' will issue warnings on Makefile.PL generation. See
883 Module::Build::Compat documentation for rationale.
884
cdbde1c3
DG
8850.35 - Thu Aug 27 09:12:02 EDT 2009
886
887 Bug fixes:
613f422f
DG
888
889 - Fix t/destinations.t segfault on 5.6.2 [David Golden]
cdbde1c3
DG
890
8910.34_06 - Sat Aug 22 21:58:26 EDT 2009
892
893 Bug fixes:
613f422f 894
cdbde1c3 895 - Multiple test fixes for OS2 [Ilya Zakharevich]
613f422f 896
cdbde1c3 897 - Generated.ppd files use :utf8 if possible (RT#48827) [Olivier Mengue]
613f422f 898
cdbde1c3
DG
899 - Fixed preservation of custom install_paths on resume (RT#41166)
900 [David Golden]
613f422f 901
cdbde1c3
DG
902 - Warn instead of crashing when Pod::Man tries to create files with
903 colons on vfat partitions on unix (RT#45544) [David Golden]
904
9050.34_05 - Sun Aug 9 22:31:37 EDT 2009
906
907 Bug fixes:
613f422f
DG
908
909 - When auto_configure_requires is true (the default), Module::Build will
cdbde1c3
DG
910 only add last 'major' version of Module:Build (e.g. 0.XX) to
911 configure_requires to avoid specifying a minor development release not
912 available on CPAN [David Golden]
913
9140.34_04 - Sat Aug 8 11:02:24 EDT 2009
915
916 Other:
613f422f 917
cdbde1c3
DG
918 - Added documentation warning that 'get_options' should be capitalized
919 to avoid conflicting with future Module::Build options and changed
920 the examples accordingly.
921
9220.34_03 - Sat Aug 8 07:39:16 EDT 2009
923
924 Bug fixes:
613f422f 925
cdbde1c3 926 - Fixed failing xs.t if /tmp is mounted noexec (RT#47331) [David Golden]
613f422f 927
cdbde1c3 928 - Fixed failing debug.t on VMS (RT#48362) [Craig Berry]
613f422f 929
cdbde1c3 930 - Prevent par.t from dying on error in .zip extraction [David Golden]
613f422f 931
cdbde1c3
DG
932 - Fixed potential runthrough.t failure on 5.6.2 [David Golden]
933
934 Other:
613f422f 935
cdbde1c3
DG
936 - Archive::Tar changed from 'requires' to 'recommends' so non-authors
937 without IO::Zlib can still use Module::Build to install modules
938 [reported by Matt Trout, fix by David Golden]
939
1a7f3fa0
DG
9400.340201 - Sun Aug 9 22:11:04 EDT 2009
941
942 Other:
613f422f 943
1a7f3fa0
DG
944 - Version bump for Perl core for 5.10.1 release; no other changes
945
4085a377
DG
9460.34_02 - Sun Jul 26 22:50:40 EDT 2009
947
948 Bug-fixes:
613f422f 949
4085a377 950 - Bundled Module::Build::Version updated to bring into sync with CPAN
cdbde1c3 951 version.pm 0.77 [John Peacock]
4085a377
DG
952
9530.34_01 - Sat Jul 18 16:32:09 EDT 2009
954
955 Enhancements:
613f422f 956
4085a377
DG
957 - Added --debug flag to trace Build action execution (RT#47933)
958 [David Golden]
959
960 Bug-fixes:
613f422f
DG
961
962 - Bundled Module::Build::Version version code updated to fix unsafe use
4085a377
DG
963 of $@ (RT#47980) [John Peacock]
964
718192e9
DG
9650.34 - Tue Jul 7 16:56:47 EDT 2009
966
967 No changes from 0.33_06
968
e7d8bd56
DM
9690.33_06 - Sun Jul 5 10:11:40 EDT 2009
970
971 Bug-fixes:
613f422f 972
e7d8bd56
DM
973 - Bundled version code will use pure Perl on 5.10.0 to work around
974 a corner case involving eval and locale [John Peacock]
613f422f 975
e7d8bd56 976 - Reversed VMS patch from 0.33_03 [Craig Berry]
613f422f 977
e7d8bd56 978 - PL_files in Build.PL that are in the bin/scripts directory should not be
613f422f 979 installed as if they are scripts (fixed for case-tolerant systems).
e7d8bd56
DM
980 [David Golden, reported by Craig Berry]
981
ededf8dc
DM
9820.33_05 - Sun Jun 28 22:06:49 EDT 2009
983
984 Enhancements:
613f422f 985
ededf8dc
DM
986 - New 'auto_configure_requires' parameter (default 1) controls
987 whether Module::Build should add itself to configure_requires
988 in META.yml if not specified in Build.PL [David Golden]
989
990 Bug-fixes:
613f422f 991
ededf8dc
DM
992 - The default MANIFEST.SKIP created by the "manifest" action
993 was out of date. It will now use the installed MANIFEST.SKIP
994 and add some Module::Build and distribution specific items
995 to it. [Michael Schwern]
996
997 Other:
613f422f 998
ededf8dc
DM
999 - configure_requires do not necessarily need to be in requires
1000 or build_requires; warning to that effect has been removed
1001 [David Golden]
1002
10030.33_04 - Fri Jun 26 07:09:06 EDT 2009
1004
1005 Bug-fixes:
613f422f 1006
ededf8dc
DM
1007 - Don't try utf8 YAML I/O on Perl 5.6 [David Golden]
1008
1009 Other:
613f422f 1010
ededf8dc 1011 - configure_requires added to prereq report (RT#47254) [Curtis Jewell]
613f422f 1012
ededf8dc
DM
1013 - updated Module::Build::Version to match forthcoming version.pm 0.77
1014 (RT#47256) [John Peacock]
613f422f 1015
ededf8dc 1016 - skips xs.t and ppm.t when perl was not compiled with dynamic loading
613f422f 1017 since Module::Buld does not support static linking (RT#46178)
ededf8dc 1018 [David Golden]
613f422f 1019
ededf8dc 1020 - skip failing test in par.t if Archive::Zip is broken [David Golden]
613f422f 1021
ededf8dc 1022 - Added YAML utf8 patch in 0.33_03 changes list
613f422f 1023
ededf8dc
DM
1024 - Added attribution for patches in 0.33_03 changes list
1025
10260.33_03 - Mon Jun 22 17:22:56 EDT 2009
1027
1028 Bug-fixes:
613f422f
DG
1029
1030 - Removes Module::Build from its own configure/build_requires
ededf8dc 1031 [David Golden]
613f422f 1032
ededf8dc
DM
1033 - ConfigData->feature() confirms that modules actually load successfully,
1034 not just that they are present. (RT#43557) [David Golden]
613f422f
DG
1035
1036 - Module::Build::Compat handling of INSTALL*LIB (RT#43827)
ededf8dc 1037 [Tony Payne, David Golden]
613f422f 1038
ededf8dc 1039 - Module::Build::Compat and recursive test files (RT#39171) [Dave Rolsky]
613f422f 1040
ededf8dc 1041 - Fixed bug linking non-standard XS names on Windows (RT#38065) ["snaury"]
613f422f
DG
1042
1043 - Run PL files that don't generate any file (RT#39365)
ededf8dc 1044 [Matisse Enzer, David Golden]
613f422f 1045
ededf8dc 1046 - HTML generation failure no longer fatal (RT#36660) [David Golden]
613f422f
DG
1047
1048 - realclean might not delete Build.bat on Windows (RT#43863)
ededf8dc 1049 [Roy Ivy, David Golden]
613f422f 1050
ededf8dc
DM
1051 - include_dirs parameter now works correctly when given a single
1052 string argument (RT#40177) [David Wheeler]
613f422f 1053
ededf8dc 1054 - Lots of spelling fixes in the POD (RT#45528r) [Lars Dieckow]
613f422f 1055
ededf8dc
DM
1056 - On Unix-like systems, tilde expansion is more liberal in username
1057 characters accepted (RT#33492) [Jon Jensen]
1058
1059 Other
613f422f 1060
ededf8dc 1061 - On MSWin32, bumped File::Spec prereq to 3.30 for a variety of fixes
613f422f 1062
ededf8dc
DM
1063 - Add support for VMS in Unix compatibility mode (RT#42157)
1064 [John E. Malmberg
613f422f
DG
1065
1066 - Added a can_action($name) method (RT#45172) [brian d foy]
1067
ededf8dc
DM
1068 - Documented that subclass methods should not permanently change
1069 current directory (RT#46919) [David Wheeler]
613f422f 1070
ededf8dc
DM
1071 - META.yml encoded in UTF-8 (RT#43765) [Olivier Mengue]
1072
16fb6553
DM
10730.33_02 - Mon Jun 15 12:23:55 EDT 2009
1074
1075 Bug-fixes:
613f422f 1076
16fb6553
DM
1077 - Fixed tests for bleadperl
1078
10790.33_01 - Sat Jun 13 20:24:42 EDT 2009
1080
1081 Bug-fixes:
613f422f 1082
ededf8dc 1083 - Fixed RT#42724: consolidated VMS fixes [patch by Craig Berry]
613f422f 1084
16fb6553 1085 - Fixed RT#46338: passthrough Makefile.PL cleans Makefile during distclean
613f422f 1086
16fb6553
DM
1087 - Fixed RT#45700: t/compat.t for HP/UX make
1088
1089 Other:
613f422f
DG
1090
1091 - Adds current Module::Build to configure_requires (and build_requires)
16fb6553 1092 if no configure_requires is specified
613f422f 1093
16fb6553 1094 - Always normalizes version number tuples in META.yml (e.g. 'v1.2.0')
613f422f
DG
1095 (Partially addresses RT#46150)
1096
1097 - Normalizes a generated dist_version (e.g. from a .pm file) --
16fb6553 1098 dist_version set manually in Build.PL is not normalized
613f422f 1099
16fb6553 1100 - Documentation update for create_license
613f422f 1101
16fb6553
DM
1102 - Minor POD cleanup
1103
11040.33 - Sun May 3 20:16:34 PDT 2009
1105
1106 Bug-fixes:
613f422f 1107
16fb6553
DM
1108 - Fixed RT#45462: Compat.pm needs to reference 'Build.com' on VMS
1109 [patch from John Malmberg]
613f422f 1110
16fb6553 1111 - Fixed RT#45461: ext.t on VMS [patch from John Malmberg]
613f422f 1112
16fb6553
DM
1113 - Fixed RT#43861: Module::Build::PPMMaker has broken PPD name
1114 versioning for v5.10+
1115
11160.32_01 - Tue Apr 14 17:14:22 PDT 2009
1117
1118 Bug-fixes:
613f422f 1119
16fb6553
DM
1120 - Module::Build::Compat had stopped adding "PL_FILES => {}" when no
1121 PL_files property was set in Build.PL; restored old behavior and fixed
1122 tests and documentation related to this issue [David Golden]
613f422f
DG
1123
1124 - Caches ExtUtils::CBuilder object in a temporary stash instead of properties
1125
16fb6553 1126 - Fixed undef resources->license in META.yml (RT #44453).
613f422f 1127
16fb6553
DM
1128 - Use $^X instead of 'perl' in t/ext.t [David Golden] (RT #43485)
1129
1130 Other:
613f422f 1131
16fb6553
DM
1132 - Generated META.yml will indicate version 1.4 of the specification
1133 (RT #37478) [patch from Alexandr Ciornii]
613f422f 1134
16fb6553
DM
1135 - Archive::Tar now the default for generating tarballs on all platforms
1136 (avoids problems with incompatible tar binaries)
613f422f 1137
16fb6553
DM
1138 - dist_dir() now uses dist_name() and dist_version() accessors rather
1139 than using its properties directly. [brian d foy] (RT #45038)
613f422f 1140
2645075a
SH
11410.32 - Wed Feb 25 17:40:02 PST 2009
1142
1143 No changes since 0.31_04.
1144
66e531b6
NC
11450.31_04 - Fri Feb 20 11:04:59 PST 2009
1146
1147 Other
613f422f
DG
1148
1149- Bumped Test::Harness prereq to 3.16 for latest PERL5LIB fixes (solves
66e531b6
NC
1150 test failures when installing Module::Build using CPANPLUS::Dist::Build)
1151 [David Golden]
1152
11530.31_03 - Sun Feb 8 14:54:01 PST 2009
1154
1155 Enhancements
613f422f 1156
66e531b6
NC
1157 - added a "prereq_data" action that prints a Perl data structure of
1158 all prerequisites; can be loaded by external tools using eval()
1159 [David Golden]
1160
1161 Bug-fixes
613f422f 1162
66e531b6
NC
1163 - 'fakeinstall' action warns and skips without ExtUtils::Install 1.32+
1164 [David Golden, reported by Zefram]
613f422f 1165
66e531b6
NC
1166 - allows Module::Build version mismatch when installing self; works around
1167 limitations in CPANPLUS::Dist::Build [David Golden]
1168
11690.31_02 - Tue Jan 27 09:16:43 PST 2009
1170
1171 Other
613f422f 1172
66e531b6
NC
1173 - tests now use File::Temp (added to build_requires); appears to fix
1174 Win32 testing heisenbug on directory removal during high system loads
613f422f 1175
66e531b6
NC
1176 - use_tap_harness.t will skip unless a release version of TAP::Harness
1177 is installed
613f422f 1178
66e531b6
NC
1179 - improved diagnostics to ensure_blib() tests in t/lib/MBTest.pm
1180
1181 Compat
613f422f 1182
66e531b6
NC
1183 - passthrough Makefile.PL will now play nice with cpantesters' on
1184 exit(0) (RT#32018) [Eric Wilhelm]
1185
1186 Bug Fixes
613f422f 1187
66e531b6
NC
1188 - fix for doubling-up of --prefix (RT#19951)
1189
4cdcc1f2
NC
11900.31012 - Wed Jan 14 01:36:19 PST 2009
1191
1192 Bug Fixes
613f422f 1193
4cdcc1f2
NC
1194 - t/tilde.t maybe actually fixed on MSWin32 now.
1195
11960.31011 - Mon Jan 12 21:57:04 PST 2009
1197
1198 Bug Fixes
613f422f 1199
4cdcc1f2
NC
1200 - t/tilde.t had been failing on MSWin32 (RT#42349)
1201
12020.3101 - Mon Jan 12 13:52:36 PST 2009
1203
1204 Other
613f422f 1205
4cdcc1f2 1206 - added 'mirbsd' as a Unix-type OS [BinGOs]
613f422f 1207
4cdcc1f2 1208 - added 'haiku' as a Unix-type OS (backported from bleadperl)
613f422f 1209
4cdcc1f2 1210 - skips certain tests on VMS (backported from bleadperl)
613f422f 1211
4cdcc1f2
NC
1212 - sets $^X to absolute path in tests (backported from bleadperl)
1213
12140.31 - Sat Dec 20 15:03:33 2008
1215
1216 Deprecations
613f422f 1217
4cdcc1f2
NC
1218 - Use of attributes as class methods is deprecated (this was never a
1219 documented feature and appears to only have worked accidentally.)
1220
12210.30_02 - Mon Dec 15 12:23:55 PST 2008
1222
1223 Bug Fixes
613f422f 1224
4cdcc1f2
NC
1225 - make Software::License dependency "softer".
1226
12270.30_01 - Thu Dec 11 18:25:53 PST 2008
1228
1229 New Docs
613f422f 1230
4cdcc1f2 1231 - Added a recipe for writing a new action to the Cookbook
613f422f 1232
4cdcc1f2
NC
1233 - Added a recipe for bundling Module::Build to the Cookbook.
1234
1235 Doc Fixes
613f422f 1236
4cdcc1f2
NC
1237 - Clarified dist_abstract search procedure in API.pod (RT#41056) [Mario
1238 Domgoergen]
1239
1240 Bug Fixes
613f422f 1241
4cdcc1f2 1242 - Workaround HARNESS_TIMER env issue in t/compat.t (RT#39635)
613f422f 1243
4cdcc1f2
NC
1244 - Fix ~ expansion when $HOME is different from /etc/passwd as
1245 when running sudo. [rt.cpan.org 39662]
613f422f 1246
4cdcc1f2 1247 - Fixed a small POD error in the Cookbook. [Damyan Ivanov]
613f422f 1248
4cdcc1f2
NC
1249 - Unset group/other write permission bits when using Archive::Tar to
1250 build the dist tarball. (RT#39804) [David Golden]
1251
1252 Enhancements
613f422f 1253
4cdcc1f2
NC
1254 - We now support a 'create_license' parameter to new() that will
1255 create a LICENSE file during the 'dist' phase with the full text of
1256 the license. This requires Software::License on the author's
16fb6553 1257 machine.
613f422f 1258
4cdcc1f2 1259 - Added lgpl2/lgpl3 entries to the supported licenses (RT#40532).
613f422f 1260
4cdcc1f2
NC
1261 - Support for validating properties with a check subref. [David
1262 Wheeler]
1263
1264 Test Fixes
613f422f 1265
4cdcc1f2
NC
1266 - Defend against more stray environment variables interfering
1267 with the tests.
1268
1269 Other
613f422f 1270
4cdcc1f2
NC
1271 - Updated our embedded version.pm to 0.76, enhanced documentation on
1272 dist_version_from. [John Peacock]
1273
738349a8
SH
12740.30 - Thu Sep 25 20:57:36 2008
1275
1276 - First non-beta release since April 2007. In the meantime, Sarkozy
1277 became president of France, the 35W bridge fell in Minneapolis,
1278 Phelps won a lot of gold, a new tribe of indigenous people was
1279 discovered in the Amazon, and Bob Barker stopped doing The Price Is
1280 Right. As of this moment though, the U.S. economy still hasn't
1281 collapsed completely.
1282
12830.2808_05 - Thu Sep 18 23:30:39 PDT 2008
1284
1285 - Skip test in t/ext.t which tickles shellwords() in Text::ParseWords
1286 below 3.23 [David Wheeler, Ken]
1287
1288 - Fixed some shell-quoting issues in do_system() on Windows [Ken,
1289 Schwern, reported by Curtis Jewell]
1290
1291 - Fixed t/xs.t failure for missing 'const char *' typemap in 5.6
1292 [Schwern]
1293
1294 - Added build_requires for Test::More 0.49 and Test::Harness 2.03.
1295 Removed bundled Test::More (was not working for 5.005x anyway).
1296 [Schwern]
1297
1298 - Minimum required perl version is now 5.6.1. [Schwern]
1299
13000.2808_04 - Thu Sep 11 22:51:27 PDT 2008
1301
1302 - Backed-out incompatible Module::Build::ModuleInfo change (first in
1303 0.2808_02.)
1304
13050.2808_03 - Mon Sep 1 14:43:27 PDT 2008
1306
1307 - Made adjustments for the format changes of recent Test::Harness
1308 output. [Nicholas Clark]
1309
1310 - Fixed the documentation for script_files to indicate that we search
1311 bin/ for scripts by default. It has been this way for several
1312 years. [Spotted by Ron Savage]
1313
13140.2808_02 - Wed Jul 9 16:45:08 PDT 2008
1315
1316 - Experimental support for TAP::Harness with --use-tap-harness option
1317 and the tap_harness_args property. [David Wheeler & Eric Wilhelm]
1318
1319 - Added test_file_exts property for main-run tests other than '*.t'.
1320 [David Wheeler]
1321
1322 - Fixed getcwd()/rmtree() failure case on 5.10+mac where something is
1323 unhappy about all of the tests deleting their distgen directory
1324 before leaving it. [Eric Wilhelm & David Wheeler]
1325
1326 - Improved support for parsing qv() in modules' $VERSION
1327 declarations, and made $VERSION-parsing errors more verbose. [Jos
1328 Boumans]
1329
1330 - Integrated an omnibus patch for various VMS fixes. [Craig Berry &
1331 John E. Malmberg]
1332
1333 - Some versions of Test::Harness (or something) seem to not be
1334 stripping the ".t" suffix when outputting test reports, which was
1335 causing one of our tests in t/compat.t to fail. Fixed. [Spotted by
1336 a smoke tester]
1337
1338 - Most Unix platforms seem to allow hyphens in usernames, so we honor
1339 this in our de-tilde-fying methods now. [Spotted by s-murata]
1340
1341 - If there are multiple assignments to the $VERSION variable in
1342 someone's module and this generates warnings, tell the user what
1343 line number the problem is at.
1344
1345 - Added 'gnu' and 'gnukfreebsd' as Unix variants. [Niko Tyni]
1346
1347 - Fixed a couple bugs in how we quote arguments to external processes
1348 when they have to pass through the shell. Also much more
1349 thoroughly tested our quoting now.
1350
1351 - Edited the Module::Build::API docs prose about the 'license' field
1352 in response to some comments on the module-authors mailing list.
1353
1354 - Fixed a typo in some example code in the Cookbook. [Jeremy Leader]
1355
1356 - Custom typemaps were being looked for in places that don't quite
1357 exist; fixed. [Michael G Schwern]
1358
1359 - QNX/Neutrino is now considered to be Unix. [rt.cpan.org 32214]
1360
1361 - Added 'gpl2' and 'gpl3' to the list of valid licenses. [Allen
1362 Engelhardt]
1363
1364 - Fixed our Data::Dumper wrapper's sensitivity to users who might set
1365 $Data::Dumper::Terse. [Spotted by Dominique Dumont]
1366
1367 - Documented the fix_shebang_line() method. [Elliot Shank]
1368
1369 - Applied the 'const' modifier to version() and xs_version() XS
1370 functions we use during testing. [Robin Barker]
1371
1372 - Fixed processing of INC=, POLLUTE=, INSTALLDIRS=, and LIB= for
1373 passthrough/small Makefile.PLs.
1374
1375 - perl Build.PL --sign=1 now signs. [Michael G Schwern]
1376
1377 - Fixed processing of INSTALLDIRS=whatever for compatibility
1378 Makefiles. [Spotted by John Peacock]
1379
1380 - Zillions of special-cases have been added in Compat.pm for dealing
1381 with the special Makefile system on VMS. [John E. Malmberg]
1382
1383 - Fixed some stuff in how VMS command-args get quoted. [John E. Malmberg]
1384
1385 - VMS now overrides localize_file_path() and localize_dir_path() so
1386 we don't need to do special stuff in the general case. [John
1387 E. Malmberg]
1388
1389 - Added a few more VMS-specific entries to the default MANIFEST.SKIP
1390 file that (sometimes) gets created during the 'manifest'
1391 action. [John E. Malmberg]
1392
1393 - Fixed a catdir() that should have been a catfile() when creating a
1394 ppmdist. [John E. Malmberg]
1395
1396 - Removed some assumptions about what makefiles are called (not
1397 necessarily "Makefile") and how they take their arguments, to get
1398 VMS tests working better. [John E. Malmberg]
1399
1400 - Fixed our check for Archive::Tar in the t/runthrough.t test, which
1401 fixes a common failure on Win32. [Spotted by Chris Williams]
1402
1403 - Fixed a File::Spec mal-ism in t/destinations.t [Craig A. Berry]
1404
1405 - Exposed the internal ExtUtils::CBuilder object as part of our API,
1406 via the cbuilder() method. [Zefram]
1407
1408 - Upgraded to version.pm 0.74 (fixes bug #30004.)
1409
1410 - Overwrite core (post-5.9.4) Module::Build installs (bug #20528.)
1411
1412 - Pass quiet() option to ExtUtils::CBuilder object.
1413
14140.2808_01 - Wed Oct 24 11:51:25 2007
1415
7a827510
RGS
1416 - All .pm files in the Module-Build distribution (except for
1417 M::B::Version.pm, which is kind of tied to version.pm) now have the
1418 same $VERSION number explicitly specified.
1419
1420 - When checking prerequisites, the required version of perl is now
1421 checked before we start finding the $VERSION declaration of the
1422 distribution, which results in much more intuitive error messages
1423 e.g. if the author is using 5.6-isms in their declaration but the
1424 user doesn't have 5.6. [Slaven Rezic]
1425
1426 - Added 'artistic_2' license, corrected 'lgpl' license url (bug #29783)
1427 [David Thomas]
1428
1429 - VMS find_perl_interpreter() is just $^X (bug #29810) [Craig A. Berry]
1430
1431 - Some large VMS fixes, mostly having to do with the non-case-
1432 preserving nature of most VMS filesystems, but also correcting for
1433 illegal characters in VMS file specs. [John E. Malmberg and Craig
1434 A. Berry]
1435
1436 - Fixed the _detildefy() method on VMS. [John E. Malmberg and Craig
1437 A. Berry]
1438
1439 - We now use a much more reliable method when Data::Dumper-ing saved
1440 state data. [Yves]
1441
1442 - When a module had 0.000 as its version, a few places in the code
1443 thought the module had no version at all. This is now
1444 fixed. [Andrew "Zefram" Main]
1445
1446 - When finding the default set of script_files, we now compute them
1447 as relative paths, not absolute. [Spotted by Curtis "Ovid" Poe]
1448
1449 - Got rid of a call to eliminate_macros, which isn't needed in
1450 Module::Build since there is no external make utility involved.
1451 Override expand_test_dir to make up for the fact that the
1452 home-grown glob() returns absolute, not relative, paths. [Craig
1453 A. Berry]
1454
1455 - Fixed a catdir() that needed to be catfile() in the .packlist
1456 creation code. [John E. Malmberg]
1457
1458 - If a *.PL file ended abnormally during the build, processing should
1459 have stopped, but it didn't. Fixed. [Matthew Cast and David
1460 Golden]
1461
613f422f 1462 - Module::Build::Compat adds "require 5.XXXXX" to Makefile.PL when
7a827510
RGS
1463 'perl' is specified as a 'requires' prerequisite [David Golden]
1464
613f422f
DG
1465 - Refactored t/compat.t for modularity and transparency; added
1466 labels for all tests; supressed subprocess output to
7a827510
RGS
1467 STDOUT and STDERR [David Golden]
1468
1469 - Fixed bug in perl_version_to_float when version is already a float
1470 [David Golden]
1471
1472 - Removed a mention of $build->{config} from the documentation, the
1473 official interface to Config.pm settings is now via the
1474 $build->config() and has been for some time. [Suggested by Michael
1475 Schwern]
1476
1477 - Tweaked some text in the Cookbook to bring it into the modern age,
1478 and added a recipe for accessing Config.pm settings. [Ibid]
1479
1480 - Lots of POD link/readability improvements to the Module::Build::API
1481 documentation [Salve J. Nilsen]
1482
1483 - Added configure_requires as a new type of prereq. [Suggested by Adam
1484 Kennedy]
1485
1486 - Patch 31156 from bleadperl: some filename dot and extension help
1487 for Module::Build on VMS. [Craig Berry]
1488
1489 - Reworked the _detildefy() method so it doesn't depend on glob()
1490 anymore. This gets rid of a problem with spaces or other special
1491 shell characters in things like 'prefix' or 'install_path'
1492 entries. [Prodding by Eric Wilhelm]
1493
1494 - Added midnightbsd to the list of Unix-like OSes we know about
1495 [Rafael Garcia-Suarez]
1496
14970.2808 - Sat Apr 28 12:59:43 2007
1498
1499 - Added is_vmsish(), is_windowsish(), and is_unixish() boolean
1500 convenience functions. Fixes some test failures on platforms where
1501 $^O is set to a value we don't know about (like 'gnu').
1502
1503 - Upgraded to version.pm 0.7203. [John Peacock]
1504
1505 - Support get_action_docs() =head2 style. [ewilhelm]
1506
1507 - Workaround Test::Pod::Coverage @INC bug. [Eric Wilhelm]
1508
1509 - Fixed the command-line args --extra_compiler_flags and
1510 --extra_linker_flags so they properly shell-split their arguments.
1511
15120.2807 - Sat Mar 24 22:19:02 2007
1513
1514 - Upgraded to version.pm 0.71. [John Peacock]
1515
1516 - Removed a couple small constructs in the tests ("use warnings;" and
1517 "qw$foo bar$[1]") that caused test failures under perl 5.005.
1518
1519 - Added support for an explicit default value of undef in prompt().
1520 [Eric Wilhelm]
1521
1522 - Improved our prompt() method, which could sometimes hang before the
1523 user got a chance to see a prompt. [Andreas Koenig]
1524
1525 - Added a note about --allow_mb_mismatch to the error message that
1526 happens right before someone might want to use that parameter.
1527
1528 - Added DragonflyBSD to the list of known Unix OSes.
1529
1530 - get_action_docs() dies on error rather than twiddling $@
1531
1532 - Made ModuleInfo's _evaluate_version_line() compatible with 'use
1533 version ...$VERSION' lines. [Eric Wilhelm]
1534
1535 - Added some verbiage in Module::Build::API that officially blesses
1536 the _build/prereqs file for external consumption. [Suggested by Andreas Koenig]
1537
1538 - Added test profiles support via the test_types property and "testall"
1539 target. [Eric Wilhelm, Jeff Lavallee]
1540
1541 - Use syscopy() on OS/2 in copy_if_modified() so we make sure to
1542 overwrite any existing target file. [Ilya Zakharevich]
1543
1544 - Removed seemingly silly '~~' test in t/tilde.t.
1545
1546 - In our test-time utility library t/lib/MBTest.pm, we need to know
1547 about a few .exe-like extensions on OS/2. [Ilya Zakharevich]
1548
1549 - In t/ppm.t, use DynaLoader::mod2fname() (if available) to determine
1550 the correct translation of our test module's name into a DLL
1551 name. [Ilya Zakharevich]
1552
1553 - Avoid an unlink() error on OS/2 when fixing shebang lines. [Ilya
1554 Zakharevich]
1555
1556 - When we're protecting the world from the evils of long RedHat
1557 $ENV{PERL5LIB} variables, don't assume $ENV{PERL5LIB} is already
1558 defined. This gets rid of a huge number of warnings for some
1559 people. [Dave Rolsky]
1560
15610.2806 - Fri Dec 15 22:20:14 2006
1562
77e96e88
RGS
1563 - On some systems (haven't identified the actual problem yet)
1564 $ENV{PERL5LIB} can grow to enormous enough sizes that we can't
1565 launch any more subprocesses because the environment table is full.
1566 This is the now-infamous "Couldn't run Build.PL: Argument list too
1567 long" error. Now we detect such situations and trim the directory
1568 list to only include directories that actually exist, listed only
1569 once each. Not the ideal solution, but it should work.
1570
1571 - Silence a warning in M::B::ModuleInfo that happens when the author
1572 is using the "$VERSION = eval $VERSION" idiom.
1573
1574 - When running the 'testcover' action, do "cover --delete" if any of
1575 the test files have changed (we already did so if any of the code
1576 under test has changed). [Suggested by Chris Dolan, RT #23584]
1577
1578 - Fixed a broken link in the documentation about PREFIX. [Spotted by
1579 David Steinbrunner]
1580
1581 - Changes to do_system() & friends on VMS to get system calls working
1582 much better there. [Craig Berry]
1583
1584 - Added the "pardist" target which creates a PAR binary distribution
1585 akin to a PPM distribution. [Steffen Mueller]
1586
1587 - Added the Interix platform as a Unix variant. [Stephen Hartland]
1588
1589 - Improved the error message we emit when a distribution contains XS
1590 files but the user has no C compiler. [Suggested by Andreas Koenig]
1591
15920.2805_01 Thu Sep 7 21:57:29 CDT 2006
1593
1594 - Because of a weird behavior of YAML::Node, any distribution that
1595 used version.pm objects to define their versions was generating the
1596 wrong syntax for the versions in their META.yml file. They will
1597 now appear as strings like v3.42.1 or similar, including the
1598 leading v.
1599
1600 - Upgraded to version 0.67 of version.pm. [John Peacock]
1601
1602 - Added a contrib/ directory with a bash completion function for M::B
1603 actions and switches. [Julian Mehnle]
1604
1605 - When we eval() the embedded version.pm code we will now die() if
1606 the eval() was unsuccessful, rather than continuing blindly on and
1607 dying mysteriously later.
1608
1609 - Added a 'retest' action that lets users run the current regression
1610 tests on a previously-installed version of a distribution.
1611
1612 * Instead of storing an entire dump of the Config.pm hash in the
1613 _build/ directory upon startup, we now just store any overrides the
1614 user or author has specified. Note that if you were doing anything
1615 you weren't supposed to be doing, like poking around in the
1616 internals of $buld->{config}, your code might break, so I've put
1617 the asterisk of incompatibility on this one just to cover my
1618 tuchus. [Idea originally by Randy Sims]
1619
1620 - Made copying files via copy_if_modified() a little less chatty.
1621
0ec9ad96
SP
16220.2805 Sat Jul 29 22:01:24 CDT 2006
1623
1624 - We now embed a copy of version.pm right in the
1625 Module::Build::Version source code, with John Peacock's blessing,
1626 in case the user has a rough time installing version.pm. This
1627 helps alleviate troubles people were still having with working out
1628 a seemingly circular dependency (even though version.pm now ships
1629 with a standard Makefile.PL too). A version.pm >= 0.661 installed
1630 on the system will take precedence over our bundled one. [John
1631 Peacock]
1632
1633 - Fix some test warnings (or failures?) related to version.pm
1634 numification. [John Peacock]
1635
1636 - The top-level 'version' entry in META.yml files we'd generated was
1637 in the wrong format (it was being treated as a version.pm object
1638 rather than a serialized copy) due to a weird YAML::Node issue.
1639 Fixed.
1640
1641 - Don't 'use base qw(version)' anymore in our M::B::Version wrapper,
1642 just set @ISA directly, because some people have reported that the
1643 'use base' line is croaking.
1644
1645 - Added an 'allow_mb_mismatch' parameter to suppress the startup
1646 check that ensures the version of M::B currently running is the
1647 same as the one initially used to run the Build.PL. Use with
1648 caution.
1649
1650 - Module::Build::ModuleInfo will no longer detect things that look
1651 like $VERSION assignments after an __END__ or __DATA__ token.
1652
1653 - Updated documentation to mention the new mailing list on perl.org
1654 rather than the old one on sourceforge.
1655
16560.2804 Sun Jul 16 16:41:25 CDT 2006
1657
1658 - Added 'use version;' in Module::Build::Version, because some
1659 versions of base.pm won't automatically load version.pm when we do
1660 'use base qw/version/;'. [Spotted by Erik Tank]
1661
7a501b10
SP
16620.2803 Sat Jul 15 08:26:34 CDT 2006
1663
1664 - The META.yml file in the last release was all screwed up, so the
1665 distribution wasn't indexed properly. Fixed in this release.
1666
b3dfda33
SP
16670.2802 Fri Jul 14 22:40:34 CDT 2006
1668
1669 - Added reliance on version.pm, which means we should deal much
1670 better with the wide range of version specifications one finds on
1671 CPAN. This is made possible by recent releases of version.pm that
1672 give the user a pure-perl option, so installing version.pm
1673 shouldn't be too onerous for most users. [John Peacock]
1674
1675 - We should be accepting the default when we're in unattended mode,
1676 not acting dumb and ignoring both the default and the [empty]
1677 answer from the user. Fixed. [Spotted by Nik Clayton]
1678
f943a5bf
SP
16790.2801 Sun May 21 00:07:40 CDT 2006
1680
1681 - Module::Build::Compat's emulation of INC is incorrectly prepending
1682 a -I to the value of INC. This is incorrect because there should
1683 already be a -I on the value. I.E. it's "perl Makefile.PL INC=-Ifoo"
1684 not "perl Makefile.PL INC=foo" so Compat should not prefix a -I.
1685 [Michael Schwern]
1686
1687 - Native batch scripts under Windows should not be converted by
1688 pl2bat. [Spotted by Ron Savage]
1689
1690 - Tweaked the way we determine whether a file is executable on Unix.
1691 We use this determination to decide whether to make it executable
1692 during installation. [Julian Mehnle]
1693
1694 - Replaced a vestigial 'next' with 'return' now that the code is in a
1695 subroutine (htmlify_pods()), not a loop. [Ron Savage]
1696
1697 - Fixed a guaranteed failure in t/signature.t when TEST_SIGNATURE was
1698 set. [Eric R. Meyers]
1699
1700 - Fixed a test failure that occurred when testing or installing in
1701 unattended mode - the code to test whether unattended mode and
1702 attended mode are working properly was assuming that we started out
1703 in attended mode. [Steve Peters]
1704
1705 - Improved our stand-in YAML generator that we use to generate
1706 META.yaml when authors don't have a copy of YAML.pm installed on
1707 their machine. It was unable to handle things like embedded
1708 newlines in the data, now it has a much more extensive escaping
1709 mechanism. [Stephen Adkins]
1710
1711 - Revised the docs for --prefix and PREFIX. [Michael Schwern]
1712
dc8021d3
SP
17130.28 Thu Apr 27 22:25:00 CDT 2006
1714
1715 - When y_n() or prompt() are called without a default value and the
1716 build seems to be unattended (e.g. in automatic CPAN testing), we
1717 now die() with an error message rather than silently returning
1718 undef for prompt(), or looping indefinitely for y_n().
1719
1720 - When searching for '.modulebuildrc', return the first HOME-like
1721 directory that actually contains the file instead of the first
1722 existing directory. Document the search locations and the order
1723 searched. [Spotted by David Golden]
1724
1725 - Split the API documentation out of Module::Build::Authoring into
1726 its own document: Module::Build::API.
1727
1728 - We should not emit a warning if a Module::Build subclass is
1729 required in a Makefile.PL that is not bundled in the current
1730 distribution; it may be installed on the user's system. [Spotted by
1731 Tyler MacDonald]
1732
1733 - copy_if_modified() now preserves the executable bit of the source
1734 file. [Spotted by Julian Mehnle]
1735
1736 - Fixed compatibility of our screen-scraping the Test::Harness output
1737 so we can recognize the most recent Test::Harness version. [Steve
1738 Hay]
1739
1740 - Backing out a requirement added in 0.27_06 on the method y_n()
1741 to always include a default. This behavior would cause existing
1742 build scripts to start failing. We now fail with a missing default
1743 only when $ENV{PERL_MM_USE_DEFAULT} is set because there is no
1744 reasonable default.
1745
1746 - Make install_types() method smarter with respect to custom install
1747 types.
1748
1749 - Add documentation for the install_base_relpaths() and
1750 prefix_relpaths() methods. Improved their usage for a public API,
1751 and added tests.
1752
17530.27_10 Tue Mar 28 22:50:50 CST 2006
a314697d
RS
1754
1755 - Added the create_packlist property, default true, which controls
1756 whether packlist files will be written during installation. This
1757 was already part of Module::Build 0.2609, but for some reason we've
1758 forgotten it in the 0.27_xx series. [Spotted by Steve Kirkup]
1759
1760 - Document the versions of Module::Build where each feature, action,
1761 constructor argument, and method was first publicly documented.
1762
1763 - More fixes for find_perl_interpreter() to work with BSD flavored
1764 UNIX: Ensure we always return absolute paths; throw an exception
1765 upon failure to find correct interperter; document everything.
1766
1767 - We now include our own YAML.pm work-alike that we can use when the
1768 real YAML isn't installed. We might soon even start using it when
1769 YAML is installed, because the YAML API and dependency chain have
1770 been changing in unfavorable ways lately. [Stephen Adkins]
1771
1772 - Fixed some shell-argument-quoting issues on VMS. In the process,
1773 we have added some support for avoiding tripping over
1774 shell-argument-quoting issues on other platforms too. [Initial
1775 patch by Craig A. Berry]
1776
47f13fd5
SP
17770.27_09 Sat Mar 11 22:48:54 EST 2006
1778
1779 - Fixed find_perl_interpreter() so we can find the perl executable
1780 when running from uninstalled perl even when $^X contains a
1781 relative path. [Yitzchak Scott-Thoennes]
1782
1783 - Fixed warning message where we were printing the wrong field names.
1784 [Chris Dolan]
1785
1786 - Added a 'testpodcoverage' action that runs a POD coverage check for
1787 all modules in the distribution. [Yanick Champoux]
1788
1789 - Added a Cookbook example of subclassing to modify an action. [Dylan
1790 Martin and David Golden]
1791
1792 - When building HTML documentation, we were opening the POD file and
1793 not checking whether the open succeeded, which of course caused
1794 problems down the line if it failed. Now we do "or die(...)" like
1795 everywhere else. [Spotted by Joerg Braun]
1796
bb4e9162
YST
17970.27_08 Fri Mar 3 21:22:41 CST 2006
1798
1799 - Due to shell quoting issues and differences in syntax between
1800 various flavors of Windows, the code for the 'pl2bat' utility
1801 distributed with Perl has been incorporated into M::B::P::Windows.
1802 [Thanks to Dr Bean and Ron Savage for help testing and isolating
1803 the problem.]
1804
1805 - Modify add_build_element() so that it only adds elements if they
1806 don't already exist. [David Wheeler]
1807
1808 - Fixed a bug in the 'pass-through' Makefile.PL in which we would die
1809 if CPAN::Shell->install returned false, but apparently this return
1810 value is unreliable. Now we only die if the module is actually
1811 unavailable after installation.
1812
1813 - Fixed testing problems on VMS related to non-case-preserving
1814 filesystems. We now bundle Tie::CPHash in the distribution (just
1815 for testing purposes, it doesn't get installed) to help with
1816 this. [Craig Berry and Yitzchak Scott-Thoennes]
1817
1818 - We incorrectly documented the 'dynamic_config' flag in the META.yml
1819 file as having a default value of false, but according to the
1820 META.yml spec (which, for heaven's sake, we wrote) its default
1821 value is true. Fixed. [Spotted by Adam Kennedy]
1822
1823 - The have_c_compiler() method was dying if the ExtUtils::CBuilder
1824 module wasn't around, which is obviously an unhelpful thing to do.
1825 Now it just returns false. [Spotted by John Peacock]
1826
1827 - Fix detection of $VERSION expressions that are not
1828 assignments. [Spotted by Chris Dolan]
1829
1830 - Obfuscate one of our constructs that uses a $VERSION variable,
1831 because it was getting picked up by ExtUtils::MakeMaker's
1832 version-finder. [Spotted by Randal Schwartz]
1833
1834 - The config_data script for querying and/or setting a module's
1835 config data was forgetting to call write() after setting config
1836 values (though setting feature values was working fine).
1837 Fixed. [Brian Duggan]
1838
1839 - On Windows, remove the pl2bat generated 'Build.bat' script without
1840 the annoying "The batch file cannot be found." error. [Solution
1841 provided by RazTK and foxidrive on newsgroup alt.msdos.batch]
1842
1843 - Our version comparisons should now work correctly with modules that
1844 use version.pm to delcare their versions (e.g. "our $VERSION =
1845 version->new('1.0.0')"). [John Peacock and Ron Savage]
1846
1847 - We now create a Build.bat script on versions of Windows where it
1848 makes sense. [Yves]
1849
1850 - Fixed the verbiage around choosing the correct make-alike on
1851 different platforms to suggest using 'perl -V:make'. [Suggested by
1852 anonymous user]
1853
18540.27_07 Wed Feb 1 20:07:45 CST 2006
1855
1856 - The notes() method now returns the new value when called with two
1857 arguments, just like when it's called with one argument. [Tyler
1858 MacDonald]
1859
1860 - The notes() method now distinguishes among the values undef, 0, and
1861 the empty string, where previously it didn't. [Tyler MacDonald]
1862
1863 - We now unshift(@INC) rather than push(@INC) for the directory where
1864 a build subclass lives, so that we're sure to pick up the right
1865 version and not some already-installed version. [perlmonkey]
1866
1867 - The SIGNATURE file for version 0.27_06 (and I'm sure for lots of
1868 versions before that too!) was messed up, since we were modifying
1869 some files after signing. This has been band-aided for the time
1870 being by signing twice. [Reported by Chris Dolan]
1871
18720.27_06 Mon Jan 23 21:44:54 CST 2006
1873
1874 - Fixed an undefined-variable warning when building the META.yml file
1875 and the author hasn't used the 'module_name' mechanism. [Chris Dolan]
1876
1877 - We should now work with recent (> 0.49) versions of YAML.pm when
1878 creating the META.yml file. [Yitzchak Scott-Thoennes]
1879
1880 - The y_n() method now requires the default parameter, and the
1881 prompt() and y_n() methods have been improved with respect to
1882 how they behave/detect when there is no user to ask. We're now
1883 more consistent with MakeMaker, including respecting the
1884 PERL_MM_USE_DEFAULT environment variable. [Tyler MacDonald and
1885 Yitzchak Scott-Thoennes]
1886
1887 - When building a README file using Pod::Text, work around a bug in
1888 Pod::Text 3.01, which expects Pod::Simple::parse_file to take input
1889 and output filehandles when it actually only takes an input
1890 filehandle. [Yitzchak Scott-Thoennes]
1891
18920.27_05 Thu Jan 12 17:39:21 CST 2006
1893
1894 - In t/common.pl, we were attempting to let the user's installed
1895 Test::More take precedence over ours, but getting thwarted by all
1896 the test scripts' loading Test::More beforehand. Fixed. [Spotted
1897 by Yitzchak Scott-Thoennes]
1898
1899 - In various test scripts, we were outputting some strings that
1900 weren't strictly conformant with Test::Harness's expected input,
1901 though it didn't actually cause problems. Now we're more
1902 conformant, though not yet strict. [Spotted by Yitzchak
1903 Scott-Thoennes]
1904
19050.27_04 Fri Dec 23 10:43:34 CST 2005
1906
1907 - Removed experimental feature that extended the prerequisite system
1908 to apply ('requires', 'recommends', and 'conflicts') prereqs to all
1909 actions. Most of the internal extensiblity has been retained so
1910 that prereq types can easily be added, more selectively.
1911
1912 - Added a 'prereq_report' action that shows the user a well-formatted
1913 list of all prerequisites, the versions required, and the versions
1914 actually installed. [David Wheeler]
1915
1916 - Clarified the directory name that's created during the 'distdir'
1917 action. [Suggested by Tyler MacDonald]
1918
1919 - Fixed a bug when creating the META.yml file without the help of
1920 YAML.pm - some common strings weren't quoted & escaped properly.
1921 Now only some uncommon ones are. [Spotted by Joshua ben Jore]
1922
1923 - Fixed a bug in which an "UNINST=1" argument specified to a
1924 passthrough Makefile's "make install" wasn't actually seen by
1925 Module::Build.
1926
1927 - Rather than dying when the Build script is run from the wrong
1928 directory, it now simply chdir()s into the right directory and
1929 keeps going. [Suggested by Dominique Quatravaux]
1930
1931 - Added an "Examples on CPAN" section to the cookbook, with an
1932 initial entry pointing to John Peacock's SVN-Notify-Mirror
1933 distribution.
1934
1935 - Add an invoked_action() method to return the name of the original
1936 action invoked by the user.
1937
1938 - Add 'meta-spec' field to the generated META.yml file, including the
1939 version of the specification followed by the current Module::Build
1940 and the url where the specification can be found.
1941
1942 - Introduced two actions, 'html' & 'manpages', that generate
1943 documentation for POD when the respective feature is enabled. The
1944 actions will generate the documents even if there is no set place
1945 to install to. However, if the actions are invoked as a dependency
1946 of another action (e.g. build), the documentation will only be
1947 built when there is a default or user-specified place to install to.
1948
1949 - Added support for environment variable, 'MODULEBUILDRC', which can
1950 be used to specify the full path to an option file to use instead
1951 of the default location of ~/.modulebuildrc. A special undocumented
1952 setting of 'NONE' tells Module::Build not to load any user settings,
1953 so tests can be run without tainting from user options.
1954
1955 - Documented and improved preliminary support for more Getopt::Long
1956 style options are supported, including boolean options (--verbose,
1957 --no-verbose), and use of hyphens in option names in addition to
1958 underscores.
1959
1960 - The option to disable/enable reading of the ~/.modulebuildrc file
1961 is changed from 'skip_rcfile' to 'use_rcfile'
1962
1963 - Allow the 'distmeta' action to continue when 'MANIFEST' is missing,
1964 omitting the generation of the 'provieds' field. [Steven Schubiger]
1965
1966 - Fixed some failing regex from generated MANIFEST.SKIP file.
1967
1968 - Fixed an edge case in $VERSION parsing where we thought a package()
1969 declaration was happening but it wasn't. [David Golden]
1970
1971 - Added docs for the install_destination() and install_types() methods.
1972
19730.27_03 (Beta for 0.28) Mon Oct 10 11:19:23 EDT 2005
1974
1975 - We now use ExtUtils::CBuilder to do all compiling of C code (for
1976 example, when compiling XS modules). (This change actually
1977 occurred in 0.27_01, but it was mistakenly omitted from the Changes
1978 file.)
1979
1980 - Fixed an issue on Win32 (and other case-tolerant
1981 non-case-preserving systems, possibly like VMS?) in which the
1982 current working directory would sometimes be reported with
1983 different case, fooling us into thinking that we were in the wrong
1984 directory. [David Golden]
1985
1986 - The extra_compiler_flags setting was not actually being passed
1987 along to ExtUtils::CBuilder so it could pass it along to the
1988 compiler. Now it is.
1989
1990 - The synonyms 'scripts' and 'prereq' for 'script_files' and
1991 'requires' were broken in a previous version (0.27_01, probably),
1992 but now they're fixed. [David Golden]
613f422f 1993
bb4e9162
YST
1994 - Previously, we assumed that any custom subclass of Module::Build
1995 was located in _build/lib/. This is only true if the author used
1996 the subclass() method, though. We now use %INC to find where the
1997 custom subclass really is, so that we can "use lib" it. We also
1998 issue a warning if it seems to be outside the build directory.
1999 [Spotted by Peter Tandler]
2000
2001 - Added a URL for each license type that we know about, which will
2002 appear as resources=>license: in the generated META.yml file.
2003
2004 - If the user passes a no_index parameter to our constructor, we now
2005 pass that through when building the META.yml file. [Richard
2006 Soderberg, RT #9603]
2007
2008 - A few more status messages can now be suppressed by using 'quiet'
2009 mode. [Dave Rolsky]
2010
2011 - Added some more entries to the default MANIFEST.SKIP file. [Chris
2012 Dolan]
2013
2014 - Our POD parser will now accept "AUTHORS" as well as "AUTHOR" when
2015 looking for the author list in a module. [David Wheeler]
2016
2017 - When looking for the POD to auto-generate a README file, or for the
2018 AUTHOR or ABSTRACT for the distribution, we now also look for a
2019 *.pod with the same name as the *.pm file specified by
2020 'version_from'. [David Golden]
2021
2022 - The recommended dependency on ExtUtils::ParseXS has been moved into
2023 the "C_support" auto_feature.
2024
2025 - When building XS files, we now pass the -DVERSION and -DXS_VERSION
2026 flags to the compiler. [Spotted by Jerry Hedden]
2027
2028 - If a distribution has XS files and Module::Build has not been
2029 configured with the "C_support" feature, we now issue a
2030 warning. [Suggested by Jerry Hedden]
2031
2032 - Added a dir_contains() method.
2033
2034 - Some versions of MakeMaker, CPANPLUS, and/or PAUSE thought that a
2035 certain line of our code was declaring a $VERSION when we didn't
2036 intend to. The line has been obscurified so they won't think that
2037 anymore. [Jos Boumans, RT #14226]
2038
2039 - Added the Apache, MIT, and Mozilla licenses to the list of licenses
2040 that this module knows about. [Bob Ippolito]
2041
2042 - Fixed a pretty significant typo in the documentation for
2043 auto_features. [Spotted by Jonas B. Nielsen]
2044
2045 - In order to aid people who want to do customization of the META.yml
2046 file, we've added a "metafile" property that can then be easily
2047 overridden in subclasses, changed do_create_meta_yml() to
2048 do_create_metafile(), and split out the code that actually
2049 generates the YAML into a new method, write_metafile(). [David
2050 Wheeler]
2051
2052 - Fixed a couple of non-helpful behaviors with extra_compiler_flags
2053 and extra_linker_flags. These will automatically be run through
2054 split_like_shell() when given to new() as strings.
2055
2056 - When the user doesn't have ExtUtils::ParseXS installed and we use
2057 the old 'xsubpp', the displayed command line for creating the .c
2058 file from the .xs file was missing its newline. Now it's got it.
2059
20600.27_02 (Beta for 0.28) Fri Jul 15 07:34:58 CDT 2005
2061
2062 - Provided initial support for the --prefix installation parameter,
2063 which acts like MakeMaker's PREFIX. It is still highly recommended
2064 NOT to use it when you could reasonably use --install_base or
2065 --install_path or --install_dest, but that's just because the way
2066 --prefix is designed is weird and unpredictable. Ultimately the
2067 choice rests with the installing user. [Patches by Michael Schwern
2068 and Rob Kinyon]
2069
2070 - Fixed a bug in subclass() which prevented people from using it to
2071 subclass subclasses of Module::Build. [Chris Dolan]
2072
2073 - Added a 'pure_install' action, which for the time being is
2074 identical to the 'install' action. [Jos Boumans]
2075
2076 - Fixed a POD error in an L<http://...> tag. [Offer Kaye]
2077
2078 - Note several options for automatically creating a new module dev
2079 tree. [Suggested by Eric Wilhelm]
2080
2081 - Removed some hard-coded references to File::Spec::Unix in the
2082 creation of HTML docs, which should help that code work in more
2083 places, and help people not to panic when they look at it. [Spotted
2084 by Yves]
2085
2086 - We now use Pod::Readme by default (instead of Pod::Text) to
2087 generate the README file when the 'create_readme' option is used.
2088 If Pod::Readme is not installed, we will still fall back to using
2089 Pod::Text. [Robert Rothenberg]
2090
2091 - The values of the "prefix", "install_base", "install_path", and
2092 "install_dest" parameters can now begin with "~" or "~user", and
2093 we'll de-tilde-ify them by using glob().
2094
2095 - The (optional) auto-creation of the README and Makefile.PL files
2096 have been moved from the 'distdir' action to the 'distmeta'
2097 action. [David Golden]
2098
2099 - When looking for a .modulebuildrc file, we now use a fancier method
2100 of trying to find the home directory, because $ENV{HOME} isn't a
2101 very cross-platform variable. [Robert Rothenberg]
2102
2103 - We now memoize the output of the internal _default_INC() method,
2104 since it uses backticks and might be kind of slow.
2105
2106 - When processing XS files, we now look for a typemap in lib/ as well
2107 as using the system's default typemap. [John Peacock]
2108
2109 - The DESTDIR, PREFIX, and INSTALL_BASE arguments to "make install"
2110 are now supported for pass-through Makefiles (they've been
2111 supported for quite a while as arguments to "perl
2112 Makefile.PL"). [Requested by Guillaume Rousse]
2113
2114 - Test::Harness has changed its output format in recent versions,
2115 which threw off one of our tests. We now allow for this different
2116 format. [Reported by Scott Godin]
2117
2118 - Fixed an issue that prevented Module::Build from upgrading itself
2119 using its own API (which is how CPANPLUS uses it). There are still
2120 some issues with this solution, however. See ticket #13169 in
2121 rt.cpan.org. [Reported by Jos Boumans]
2122
2123 - Fixed a fatal error that occurred when a distribution's author
2124 could not be determined from its POD nor from the call to
2125 Module::Build->new() in its Build.PL. See ticket #12318 in
2126 rt.cpan.org. [Reported by Jos Boumans]
2127
2128 - Apparently on Windows and cygwin it's not possible to use the "-pi"
2129 switch to perl without a backup extension, so now we use ".bak" and
2130 remove the backup file when we're done. Thus the "dist" action for
2131 Module::Build itself can now be run on those platforms. [Yitzchak
2132 Scott-Thoennes]
2133
2134 - Improved the handling of auto_features in the config_data access
2135 script. [Yitzchak Scott-Thoennes]
2136
21370.27_01 (Beta for 0.28) Fri Apr 15 21:12:57 CDT 2005
2138
2139 Backward-incompatible (but better) changes:
2140
2141 * When using the 'install_base' option to choose a directory for
2142 installing everything, perl modules now go into lib/perl5/ instead
2143 of just lib/. It seems this is more consistent with people's
2144 expectations, and the way I had it before was a bit peculiar to the
2145 way I like things in my own home directory. [Michael Schwern]
2146
2147 * When the user is using the 'install_base' option, scripts will now
2148 be installed by default in $install_base/bin/ rather than
2149 $install_base/script/ . [Jan Hudec and Michael Schwern]
2150
2151 Major changes:
2152
2153 - The auto_features mechanism will now re-evaluate dependencies every
2154 time feature() is called for an auto-feature, rather than freezing
2155 the success/failure value during 'perl Build.PL' and using that
2156 value for all eternity (or module update, whichever comes first).
2157 This applies to both $build->feature() and
2158 FooModule::ConfigData->feature() calls. [Requested by many]
2159
2160 - Added the meta_add and meta_merge mechanisms, which let the module
2161 author add/merge arbitrary entries into the META.yml file.
2162
2163 - Now reads per-action default options from '$ENV{HOME}/.modulebuildrc'
2164 if it exists. Command line options override anything set in the rc file.
2165
2166 - We now use ExtUtils::CBuilder to do all compiling of C code (for
2167 example, when compiling XS modules).
2168
2169 - The creation of Unix man pages is no longer a strict necessity - it
2170 has now been turned into an 'auto-feature' contingent on the
2171 presence of Pod::Man and a location specified for man pages to go.
2172
2173 - A user-specified 'install_path' setting will now take precedence
2174 over an 'install_base' setting. This allows the user to use
2175 'install_base' to set the base for all elements in one go, and then
2176 use 'install_path' to override specific paths or add paths for
2177 additional kinds of targets.
2178
2179 - Split the main documentation from 'Module/Build.pm' into two
2180 sections. The user level documentation and overview remains in
2181 'Module/Build.pm', while a new document,
2182 'Module/Build/Authoring.pod', has been created for module authors.
2183
2184 Minor changes:
2185
2186 - new_from_context() was losing its arguments in some cases (and not
2187 because of inadequate training in forensic debate) - we now pass its
2188 arguments directly to the Build.PL script rather than merging them
2189 in afterwards.
2190
2191 - Let resume() return an object blessed into the appropriate class
2192 if the user has provided a subclass, as specified by the
2193 'build_class' property. This allows current() and new_from_context()
2194 to behave more like factory methods returning objects of the correct
2195 class based on context. [Ray Zimmerman]
2196
2197 - Refactored methods relating to parsing perl module files for
2198 package, version, and pod data into a new class:
2199 Module::Build::ModuleInfo. It should not be considered part of
2200 Module::Build's API, because we may split it out entirely as a
2201 separate CPAN module that we depend on.
2202
2203 - Added new method Module::Build::prepare_metadata() for authors to
2204 override in order to add custom fields to META.yml.
2205
2206 - We now use Test::More for our regression tests. If the user
2207 doesn't have it installed, we include a copy in t/lib/ that we can
2208 use during testing.
2209
2210 - When copying files in the 'distdir' action, set permissions to match
2211 the original files. [Julian Mehnle]
2212
2213 - When adding files like META.yml to the MANIFEST, we now tell the
2214 user we're doing so by printing one of the "Added to MANIFEST: ..."
2215 lines. [Ron Savage]
2216
2217 - Added a runtime_params() method, which lets a module author see
2218 which parameters were overridden by the user on the command line
2219 (or in whatever paradigm the user originally invoked Module::Build
2220 from). [David Wheeler]
2221
2222 - Added the current_action() method, which, surprisingly, returns the
2223 name of the currently running action. [David Wheeler]
2224
2225 - Added docs for run_perl_script().
2226
2227 - Added some stuff to the docs about why PREFIX is unsupported, and
2228 what to use instead. [Steve Purkis]
2229
2230 - The simple get/set accessor methods for all the 'parameters' like
2231 verbose(), license(), etc. now have auto-generated documentation in
2232 Module/Build.pm.
2233
2234 - Created a Cookbook entry for 'Adding new elements to the install
2235 process'
2236
2237 - We now add META.yml to the MANIFEST when META.yml is created, not
2238 when MANIFEST is created. [Spotted by Ron Savage]
2239
2240 - Added some additional patterns to the suggested MANIFEST.SKIP
2241 contents, and changed the docs so that we encourage the user to use
2242 the MANIFEST.SKIP. [Ron Savage]
2243
2244 - Eliminated a redundant recipe from the Cookbook, now that there are
2245 some more extensive recipes on how to add stuff to the
2246 build/install sequences.
2247
2248 - Eliminated an undefined-variable warning when testing under perl 5.005
2249
2250 - When building HTML documentation, 'html_backlink' and 'html_css'
2251 properties are now first-class properties, so they can be set from
2252 the command line. [Suggested by Sagar R. Shah]
2253
2254 - Have script_files default to everything in bin. I believe this is
2255 the least surprising behavior. [Suggested by Michael Schwern]
2256
2257 - If script_files is given a directory, consider each file in that
2258 directory tree as a script to be installed. This avoids having to
2259 remember to add to the script_files list every time you add a
2260 program. [Suggested by Michael Schwern]
2261
2262 - We now only load Pod::Man when we actually need to build man pages.
2263
2264 - We now make Test::Harness use our carefully-selected path to a perl
2265 executable regardless of Test::Harness's version. Previously we
2266 let it figure stuff out for itself if it was a reasonably modern
2267 version, but it's safer to make sure we're using the same perl
2268 everywhere.
2269
22700.2610 Fri Apr 15 08:25:01 CDT 2005
2271
2272 - new_from_context() was losing its arguments in some cases (and not
2273 because of inadequate training in debate) - we now pass its
2274 arguments directly to the Build.PL script rather than merging them
2275 in afterwards. [Ray Zimmerman]
2276
2277 - Fixed a bug in which config_data and feature data were being
2278 forgotten and no ConfigData.pm module would get written. [Ray
2279 Zimmerman]
2280
2281 - Added a recipe to the cookbook showing how to run a single test
2282 file from the command line. [William McKee]
2283
2284 - For command-line arguments, we now accept the syntax "--foo=bar" in
2285 addition to "--foo bar" and "foo=bar". This seems to fit well with
2286 what GNU getopt and Getopt::Long do, and with people's
2287 expectations. [Adam Spiers]
2288
22890.2609 Wed Mar 16 22:18:35 CST 2005
2290
2291 - The html docs that were created during the first invokation of
2292 './Build' were being found and treated as pod that needed to be
2293 converted to html during subsequent invokations. We now are more
2294 specific about the directories we scan for pod that needs to be
2295 converted, effectively avoiding blib/html. [Ray Zimmerman]
2296
2297 - If Pod::Man is not available, we now skip building man pages
2298 (rather than dying) and tell the user why.
2299
2300 - We now write a .packlist file upon installation, in the same place
2301 that ExtUtils::MakeMaker does. [Johnny Lam]
2302
2303 - On some Unix platforms (BSD derivatives, mostly) perl's $^X
2304 variable isn't set to the full path of the perl executable, just
2305 'perl', when the 'Build' script is run as './Build' and not 'perl
2306 ./Build'. This can lead to some other modules (maybe
2307 Test::Harness, maybe IO::File, I dunno...) getting very confused
2308 about where they are, and they try to load stuff from the wrong
2309 perl lib, and big trouble ensues. To fix this, we now set $^X to
2310 the value of Module::Build->find_perl_interpreter().
2311
2312 - The 'distcheck' action will now die() if it finds an error in the
2313 MANIFEST, rather than just printing on STDOUT. [David Golden]
2314
2315 - When the README and/or Makefile.PL are autogenerated using
2316 create_readme or create_makefile_pl, we now automatically make sure
2317 they're also listed in the MANIFEST file. [Suggested by Michael
2318 Schwern]
2319
2320 - Got rid of the t/MANIFEST file - it's superfluous, and it had
2321 zero-length, which some versions of Tar don't like. [William
2322 Underwood]
2323
2324 - Added a mention in the documentation that each property that new()
2325 accepts also has a corresponding get/set accessor. (In the version
2326 0.27_0x series each accessor method is mentioned explicitly in the
2327 docs.) [Omission spotted by Ian Langworth]
2328
23290.2608 Wed Jan 26 19:46:09 CST 2005
2330
2331 - Add workaround for test files because Devel::Cover causes
2332 require to fail when the argument to require is an expression
2333 involving File::Spec. We now assign the result of the File::Spec
2334 call to a variable and then call require with that variable.
2335
2336 - Tilde-expansion is now performed on arguments passed to a
2337 compatibility-Makefile.PL [Spotted by Sam Vilain]
2338
2339 - We now run the 'gzip' and 'tar' values through split_like_shell()
2340 when running the 'dist' action, so that e.g. the 'gzip' value can
2341 be set to something like "gzip -f --best" and it'll work
2342 correctly. [Spotted by Chris Dolan]
2343
2344 - Work around some bad mojo between Fedora Core [with its very long
2345 @INC] and old versions of Test::Harness [with its propensity to
2346 compound the number of @INC entries] that produced an "argument
2347 list too long" error during testing. [assisted by Ville Skytta,
2348 David Golden, & Randy Sims]
2349
2350 - Killed an infinite loop that would happen in y_n() in interactive
2351 mode if the author provided no default value. [Max Maischein]
2352
23530.2607 (Bug fix release in 0.26 series) Sat Dec 18 14:14:09 CST 2004
2354
2355 - Instead of freezing @INC in the 'Build' script to the value it had
2356 when Build.PL was run, we now just add those additional values that
2357 aren't part of the default compiled-in @INC. [Michael Schwern]
2358
2359 - The run_perl_script() method will now propagate any extra entries
2360 in @INC (such as those added by "use lib" or the -I command-line
2361 switch) to the subprocess. This helps situations in which you want
2362 to tell the subprocess where to find a certain module, for
2363 instance. [Michael Schwern]
2364
23650.2606 (Bug fix release in 0.26 series) Tue Dec 7 22:33:11 CST 2004
2366
2367 - Fixed a linking bug on Win32, in which compiled C code object files
2368 never got linked in with the modules being built. [Dominic
2369 Mitchell]
2370
2371 - Fixed a bug in the new_from_context() method in which any arguments
2372 passed made us die. [Spotted by Jos Boumans]
2373
23740.2605 (Bug fix release in 0.26 series) Tue Nov 30 07:16:13 CST 2004
2375
2376 - Fixed a bug in which zero-length arguments for hash-valued
2377 parameters (e.g. " --config foo= ") weren't being allowed.
2378
2379 - The tests now play better with environments in which version.pm is
2380 pre-loaded, like in bleadperl. [John Peacock & Michael Schwern]
2381
2382 - Fixed a syntax error in one of the tests under perl 5.005.
2383
23840.2604 (Bug fix release in 0.26 series) Wed Nov 17 14:32:42 CST 2004
2385
2386 - Fixed a split_like_shell() bug introduced in 0.2603 for Windows, in
2387 which an array reference passed as an argument was returned as an
2388 array reference, rather than as a list. [Spotted by Steve Hay]
2389
2390 - module_name() will now return '' instead of undef when module_name
2391 is not set. This eliminates a couple uninitialized-value
2392 warnings. [Suggested by Michael Schwern]
2393
2394 - The expand_test_dir() method will now skip dotfiles (like ._foo.t,
2395 which sometimes gets automatically created on Mac systems) when
2396 'recursive_test_files' is in effect. [Tom Insam]
2397
23980.2603 (Bug fix release in 0.26 series) Mon Nov 15 10:28:00 CST 2004
2399
2400 - Added documentation for the new_from_context() method.
2401
2402 - Completely rewrote the split_like_shell() method for the Windows
2403 platform so it works like the command.com shell. [Randy Sims]
2404
24050.2602 (Bug fix release in 0.26 series) Thu Nov 4 11:19:29 CST 2004
2406
2407 - The two bug fixes in 0.2601 gnashed against each other incorrectly,
2408 resulting in a Win32 bug in split_like_shell(). Fixed. [Spotted
2409 by Steve Hay & Randy Sims]
2410
2411 - Removed a couple of 'use warnings' statements from the code - they
2412 were causing compile failures on 5.005_04, where warnings.pm isn't
2413 available. [Blair Zajac]
2414
24150.2601 (Bug fix release in 0.26 series) Wed Nov 3 20:09:27 CST 2004
2416
2417 - Fixed some backslash problems with split_like_shell() on
2418 Win32. [Steve Hay]
2419
2420 - Fixed a bug in split_like_shell() in which leading whitespace was
2421 creating an empty word, manifesting as something like "gcc - no
2422 such file or directory" during tests. [Spotted by Warren L. Dodge]
2423
24240.26 Sat Oct 9 17:51:01 CDT 2004
2425
2426 - Removed some language from the Module::Build::Compat documentation
2427 that encouraged people to include a Build.PL without a Makefile.PL.
2428 Also changed "a replacement for MakeMaker" to "an alternative to
2429 MakeMaker" in the main documentation, which is basically what I
2430 meant all along (i.e. a replacement for MakeMaker in your
2431 particular build process - MakeMaker is never going to be fully
2432 replaced in the perl world at large, of course), but some people
2433 got the impression I was a little more truculent toward MakeMaker
2434 than I really am.
2435
2436 - Added the formal concepts of "features" and "config data" for
2437 distributions. This allows the module author to define a certain
2438 set of features that the user can switch on and off (usually
2439 according to whether they have the proper prerequisites for them),
2440 and to save build-time configuration information in a standardized
2441 format. See the main documentation of Module::Build for more
2442 details. (Note that the name of this system was called
2443 "BuildConfig" for a while in beta, but now it's called
2444 "ConfigData".)
2445
2446 - Added an 'auto_features' capability, which simplifies the process
2447 of defining features that depend on a set of prerequisites.
2448
2449 - Added the 'get_options' parameter, which lets module authors
2450 declare certain command-line arguments their Build.PL can accept
2451 [David Wheeler]
2452
2453 - Changed the split_like_shell() method to use the shellwords()
2454 function from Text::ParseWords (a core module since 5.0), which
2455 does a much better job than the split() we were using.
2456
2457 - Added a 'testpod' action, which checks the syntactic validity of
2458 all POD files in the distribution using Test::Pod. This eliminates
2459 the need for doing so in a regression test. [Initial patch by Mark
2460 Stosberg]
2461
2462 - Added a process_files_by_extension() method, which generalizes the
2463 kind of processing (essentially just copying) that happens for .pm
2464 and .pod files, and makes it available to other user-defined types
2465 of files. See the new cookbook entry.
2466
2467 - Improved compatibility with version.pm when authors are using
2468 version objects as their $VERSION variables. Now
2469 version_from_file() can deal with these objects. Currently we
2470 stringify them right away, but perhaps in the future we will
2471 preserve them as objects for a while.
2472
2473 - During 'distdir' and 'distmeta' actions, die a bit more gracefully
2474 if there's no MANIFEST (i.e. explicitly say that a MANIFEST is
2475 required). [Spotted by Adrian Howard]
2476
2477 - Eliminated a recursive dependency between creating the MANIFEST
2478 file and creating the META.yml file. [Spotted by Dave Rolsky]
2479
2480 - On Win32, where a single directory might be known variously as
2481 "Module-Build-0.25_03" or "MODULE~1.25_", we now use
2482 Win32::GetShortPathName($cwd) to verify that the 'Build' script is
2483 being run from the correct directory, rather than just a string
2484 comparison.
2485
2486 - The add_to_cleanup() method will now accept glob()-style patterns
2487 in addition to explicit filenames. Also documented the fact that
2488 they can be specified in either Unix-style or native-style
2489 notation.
2490
2491 - Passing a PREFIX value to a pass-through Makefile 'make install'
2492 now has the same effect as passing it to 'perl Makefile.PL' (it
2493 dies with a helpful message).
2494
2495 - Added the 'testcover' action, which runs a test suite using
2496 Devel::Cover. [Dave Rolsky]
2497
2498 - Added the 'lib' and 'arch' installation directories to the search
2499 path for the 'diff' action, since they won't necessarily (though
2500 they usually will) be in @INC at installation time. [Suggested by
2501 Kevin Baker]
2502
2503 - The "=head3" POD directive isn't supported in older podlators
2504 (particularly Pod::Man), so we don't use it anymore.
2505
2506 - Fixed a typo & improved the docs in the SUBCLASSING section. [Ron
2507 Savage]
2508
2509 - Added the '.tmp' suffix to the default MANIFEST.SKIP file, which
2510 should avoid adding things like pod2htmi.tmp to the MANIFEST [Ron
2511 Savage]
2512
2513 - Backup files from Emacs, containing the string '.#' in their names,
2514 should no longer find their way into the blib/ directory (and from
2515 there into installation directories).
2516
2517 - Worked around an unpleasant interaction between version.pm and the
2518 version-checking code that makes sure Module::Build's version
2519 hasn't changed during the lifetime of the 'Build' script. [Reported
2520 by Trevor Schellhorn]
2521
2522 - Fixed a problem in htmlify_pods() that would produce test failures
2523 on Cygwin (and probably elsewhere). [Yitzchak Scott-Thoennes]
2524
2525 - Fixed a test failure on Cygwin (and probably elsewhere) in
2526 t/compat.t, resulting from empty environment variables being set to
2527 the empty string (as opposed to simply being unset) by their mere
2528 presence in the "EXPORT:" list.
2529
2530 - Fixed a fatal error that occurred when the author specified
2531 'dist_author' manually in their Build.PL script. [Spotted by Ron
2532 Savage]
2533
2534 - The 'provides' section of the META.yml file wasn't being built
2535 properly on Win32, because of a mismatch between URL-format and
2536 native-format pathnames. Fixed. [Reported by Robert Rothenberg]
2537
2538 - The progress message "lib/Foo.xs -> lib/Foo.c" was previously being
2539 output even when the Foo.c file wasn't being rebuilt. It's now
2540 fixed.
2541
2542 - Fixed a couple of places in Compat.pm where it could have forgotten
2543 which perl interpreter it had been run with ($^X isn't very
2544 trustworthy).
2545
2546 - On some systems, the way we updated the timestamp on the
2547 "lib/Foo.bs" file (one of the output files for XS-based modules)
2548 was failing. It's been replaced by a simple call to utime().
2549
2550 - Fixed a problem in t/compat.t that prevented it from being run
2551 individually using 'make test TEST_FILES=t/compat.t'. The problem
2552 was that a couple environment variables (TEST_FILES, MAKEFLAGS)
2553 were being passed through to subprocesses, and confused them.
2554
2555 - Fixed an important typo in the documentation for the 'install_base'
2556 parameter ('libdoc' and 'bindoc' were switched). [Ray Zimmerman]
2557
2558 - The pass-through Makefiles (type 'small' or 'passthrough') now
2559 support the TEST_FILES parameter to 'make test'.
2560
2561 - Fixed a fatal error that would occur on perl 5.005 when building
2562 HTML documentation, because its version of Pod::Html was old and
2563 didn't like some of the parameters we fed it. [Spotted by Blair
2564 Zajac]
2565
2566 - The final line of the generated pass-through Makefile was missing
2567 its trailing newline, which is now fixed. [Chip Salzenberg]
2568
2569 - We now depend on YAML version at least 0.35 and at most version
2570 0.49, so that we don't pick up a new (and backward-incompatible) beta
2571 version from CPAN.
2572
2573 - Squashed a warning in t/basic.t about '"Foo::Module::VERSION" used
2574 only once', and one in PPMMaker about $^V being undefined. [Blair
2575 Zajac]
2576
2577 - Added a couple temporary output files from HTML documentation
2578 generation to the cleanup list. [Toby Ovod-Everett]
2579
2580 - The PodParser module will now only extract paragraphs in the
2581 'AUTHOR' section of the pod if they contain an '@' character. This
2582 tends to do a better job, heuristically speaking, of returning
2583 relevant stuff.
2584
2585 - Added regression tests and a helper method ( add_build_elements() )
2586 for adding new elements to the build process. Also some
2587 documentation.
2588
2589 - Wrote a recipe in the Cookbook for adding new elements to the build
2590 process, and a recipe for changing the order in which the steps in
2591 the build process will occur.
2592
25930.25 Sun Apr 25 11:12:36 CDT 2004
2594
2595 - During the 'distdir' action, if no MANIFEST.SKIP file exists, we
2596 will now create a reasonable default one. [Randy Sims]
2597
2598 - In Makefile compatibility mode, some arguments (like UNINST,
2599 TEST_VERBOSE, etc.) given to 'make' are now recognized and passed
2600 through to Module::Build. [Randy Sims]
2601
2602 - The regression tests now make sure that several pass-through
2603 Makefile.PL parameters are dealt with correctly.
2604
2605 - Added support for the 'LIB' parameter to passthrough
2606 Makefile.PLs. [Spotted by Jesse Erlbaum]
2607
2608 - Passing a 'PREFIX' parameter to a passthrough Makefile.PL was
2609 supposed to make it die with a helpful error message, but instead
2610 it just ignored it and blindly tried to install to the wrong place.
2611 This is now fixed. [Spotted by Jesse Erlbaum]
2612
2613 - Added an extra_compiler_flags() accessor method.
2614
2615 - If the 'recursive_test_files' option was turned on, the test files
2616 weren't sorted, but returned in an apparently random order. Now
2617 they're sorted. [Martyn Peck]
2618
2619 - Documented the 'tar' and 'gzip' parameters to the 'dist' and
2620 'ppmdist' actions.
2621
2622 - The generation of HTML documentation now works (it was accidentally
2623 partially implemented with an itchy patch-application finger in
2624 0.24). [Randy Kobes]
2625
2626 - Fixed a fatal bug when building META.yml with YAML.pm and
2627 'dynamic_config' is set. [Reported by Jaap Karssenberg]
2628
2629 - Fixed some incorrect error messages that occurred when
2630 compiling/linking C sources went awry.
2631
2632 - If the author uses a custom builder subclass, that subclass will
2633 now be loaded correctly in the passthrough Makefile.PL if the
2634 author uses the 'small' or 'passthrough' Makefile.PL options in
2635 Module::Build::Compat. [Martyn Peck and Jaap Karssenberg]
2636
2637 - If the author uses a custom builder subclass created dynamically
2638 through the subclass() method, passthrough Makefile.PLs (of type
2639 'passthrough' or 'small') didn't work properly, because the custom
2640 builder module wouldn't be loaded at the right time. This has been
2641 fixed. [Reported by Toby Ovod-Everett]
2642
2643 - In M::B-generated 'traditional' Makefile.PLs, the entries in
2644 'PREREQ_PM' are now sorted ASCIIbetically rather than randomly.
2645
2646 - The install_types() method will now return any additional types
2647 given as 'install_path' arguments, as well as all elements of the
2648 current 'install_sets' entry. This makes it easier to add new
2649 types of installable objects to the mix.
2650
2651 - As a consequence of the previous change, there is no longer any
2652 need to have an explicit 'install_types' data member, so it has
2653 been removed.
2654
2655 - In the second example code for the Module::Build->subclass()
2656 method, the Module::Build module needed to be loaded before calling
2657 its methods. [John Peacock]
2658
2659 - Fixed minor error in the POD structure of Module::Build and
2660 Module::Build::Platform::VMS docs.
2661
2662
26630.24 Wed Feb 25 15:57:00 CST 2004
2664
2665 - Fixed a problem with incude_dirs not being propagated to the 'ccs'
2666 file when compiling XS files on Win32. [Randy Sims and Steve Hay]
2667
2668 - In 0.23, Module::Build::Compat->fake_makefile() started choking
2669 when no 'build_class' parameter was supplied in the Makefile.PL.
2670 Since these Makefile.PLs still exist on CPAN, we now default
2671 'build_class' to 'Module::Build', which was the old 0.22 behavior
2672 anyway. [Reported by Martin Titz and Jeremy Seitz]
2673
2674 - Added documentation for the 'include_dirs' parameter to
2675 new(). [Steve Hay]
2676
2677 - Changed the no-op command on Win32 from 'rem' to 'rem>nul' inside
2678 pass-through Makefiles. [Randy Sims]
2679
2680 - The 'autosplit' parameter now accepts an array reference if
2681 multiple files should be split. [Jaap Karssenberg]
2682
2683 - find_perl_interpreter() will now use $^X (if absolute), $ENV{PATH}
2684 (if $^X isn't absolute), and $Config{perlpath}, in that order.
2685 Also, we now make darn sure the result is the same version of perl,
2686 by checking Config::myconfig() for a match against the current
2687 perl. [Reported by Edward Sabol]
2688
2689 - Fixed a fatal error on Win32 (and any other platform that doesn't
2690 define an installation location for Unix-style man pages) during
2691 installation.
2692
26930.23 Sun Feb 8 22:01:18 CST 2004
2694
2695 - Fixed a compatibility problem in pass-through Makefiles (created by
2696 Module::Build::Compat). Some 'make' utilities (for example, BSD
2697 make) didn't like a '@' by itself on a line, so we stole some
2698 'NOOP' code from MakeMaker to fix it. [Reported by Mathieu Arnold]
2699
2700 - Added a 'ppm_dist' action, which just makes the PPD file and then
2701 makes a tarball out of the blib/ directory. [Randy Sims]
2702
2703 - The @INC of the parent process is now propagated to child processes
2704 when processing *.PL files. [Reported by Jaap Karssenberg]
2705
2706 - We now only attempt to fix the shebang line on a script if the
2707 shebang line matches the regex /perl/i . This fixes some instances
2708 where people put shell scripts in their distributions. [Jaap
2709 Karssenberg]
2710
2711 - We no longer generate a 'requires', 'recommends', 'conflicts',
2712 etc. entry in the META.yml file if there's no data to go in it.
2713
2714 - Added a documentation reference to Michael Schwern's wiki for tips
2715 on conversion from MakeMaker to M::B. [Randy Sims]
2716
2717 - If there are script_files, we now add EXE_FILES to the
2718 'traditional' Makefile.PL generated by M::B::Compat. [Suggested by
2719 Yuval Kogman]
2720
2721 - Documented the 'test_files' parameter to new(). [Reported by Tony
2722 Bowden]
2723
2724 - Fixed a problem in "Build help <action>", which didn't find the
2725 correct help chunk if <action> was the final element in a POD
2726 list. [Jaap Karssenberg]
2727
2728 - Fixed a problem in the get_action_docs() method which gave
2729 incorrect results if the method was called more than once in the
2730 same program.
2731
2732 - Fixed a problem in which actions defined by user subclasses
2733 wouldn't be available via the pass-through Makefiles created by
2734 Module::Build::Compat. [Reported by Jaap Karssenberg]
2735
2736 - We now use Data::Dumper instead of our own ad-hoc serialization
2737 routines to create the 'traditional' Makefile.PL
2738 arguments. [Suggested by Yuval Kojman]
2739
27400.22 Sat Jan 10 22:05:39 CST 2004
2741
2742 - On Unixish platforms, the syntax "FOO=BAR /bin/baz arg arg" now
2743 works when present in $Config{ld}. This solves a problem on Mac OS
2744 X 10.3. [Reported by Adam Foxson]
2745
2746 - The have_c_compiler() now also tests whether the linker seems to
2747 work too.
2748
2749 - Fixed a problem with creating the distribution tarball in which
2750 permissions would usually be all read-only. We now use our own
2751 file-copying routines rather than those in ExtUtils::Manifest,
2752 because those do some annoying extra permissions-setting stuff for
2753 no apparent reason. It makes me happy that this was a very very
2754 easy patch to make. [Reported by Thomas Klausner]
2755
2756 - The compile_c() method now includes $Config{cccdlflags} in its
2757 command invocation. It's usually empty, but not always, so we
2758 didn't notice for a while. [Richard Clamp]
2759
2760 - On some platforms it's common to have a $Config{make} defined, but
2761 no 'make' utility actually available. We now detect this and skip
2762 some 'make' compatibility tests. [Randy Sims]
2763
2764 - Fixed a spurious testing failure on non-Unix platforms that
2765 happened because we accidentally call localize_file_path() on empty
2766 strings in the test suite. [Spotted by Randy Sims on Windows]
2767
2768 - Made the 'name', 'abstract', 'author', and 'version' properties
2769 required when building a PPD file. [Spotted by Randy Sims, Dave
2770 Rolsky, & Glenn Linderman]
2771
2772 - When building a 'traditional' Makefile.PL with
2773 Module::Build::Compat, we now use 'VERSION_FROM' when possible,
2774 rather than always using 'VERSION'. This way the Makefile.PL
2775 doesn't have to get modified every release.
2776
2777 - Made some fixups to the 'PPM' info-file, improving compatibility
2778 with ActiveState's PPM tools. [Randy Sims, Glenn Linderman]
2779
2780 - The 'dist_author' property can now accept multiple authors, see the
2781 docs for more info. [Randy Sims]
2782
2783 - If the user doesn't have YAML.pm installed during ACTION_dist, we
2784 now create a minimal YAML.pm anyway, without any dependency
2785 information.
2786
2787 - The 'distribution_type' field is no longer created in META.yml
2788 files, in accordance with the finding made at the London CLPAN
2789 meeting that it's essentially meaningless and ill-defined.
2790
2791 - The 'dist' action now accepts an optional 'tar' parameter to use a
2792 system utility for building the tarball, and a 'gzip' parameter for
2793 compressing it. If these are used, Archive::Tar won't be invoked.
2794 This was added because Archive::Tar is producing some very
2795 non-cross-platform tarballs that many tar utilities can't handle.
2796
2797 - During testing, if YAML.pm isn't installed, then we won't try
2798 making a tarball either, since this would invoke YAML to create the
2799 META.yml file.
2800
2801 - Fixed a problem with chmod() being called incorrectly on MacOS
2802 (i.e. MacPerl, not Mac OS X). [Spotted by Paul Sanford Toney]
2803
2804 - Fixed a problem with the --config flag not being treated properly
2805 (essentially ignored) on the command line for 'perl Build.PL' or
2806 'Build <action>'. [Spotted by Jakub Bogusz]
2807
2808 - Added a new config() method to get at the Build object's notion of
2809 the %Config hash.
2810
2811 - Test::Harness is starting to contend for the Most Crotchety Module
2812 Award. Work around a few of its nits when setting harness
2813 switches. [Spotted by Diab Jerius]
2814
2815 - Now the Build script will die() if we're run from the wrong
2816 directory, rather than trying to chdir() to what it thinks is the
2817 right directory and do its work there. See
2818 https://rt.cpan.org/Ticket/Display.html?id=4039 . [Chris Dolan]
2819
2820 - Changed the manpage separator on OS/2 to '.'. [Ilya Zakharevich]
2821
2822 - On OS/2, disable C compilation, since apparently it isn't working
2823 there. [Reported by Ilya Zakharevich]
2824
2825 - Inserted a comment into auto-generated Makefile.PLs saying it was
2826 auto-generated. [Randy Sims]
2827
2828 - Fixed some annoying behavior in generated passthrough Makefile.PLs
2829 when the user chose not to install Module::Build, or if
2830 installation failed. [Reported by Ilya Zakharevich and Richard
2831 Clamp]
2832
2833 - Moved the documentation for 'codebase' to the section where it's
2834 relevant. [Randy Sims, Glenn Linderman]
2835
2836 - Fixed a have_c_compiler() failure on some platforms, we now define
2837 a boot_compilet() function (since we're compiling a library, not an
2838 executable). [Randy Sims]
2839
2840 - Added a recipe to the Module::Build::Cookbook describing how to
2841 maintain compatibility with older versions of CPAN.pm [Jim Cromie]
2842
2843 - Removed caveat about "looking for alternatives" in how hashes are
2844 specified on the command line, since an alternative has been found.
2845
2846 - Previously most warnings about optional prerequisites looked like
2847 they were actually error messages about required prerequisites.
2848 This has been corrected. [Reported again by Sagar Shah]
2849
2850 - Added support for building XS (and C in general) stuff on AIX.
2851 This was done by a small reorganization of prelink_c() method from
2852 Windows.pm to Build.pm, and it is only invoked for the platforms
2853 that need it invoked. AIX also massages some very naughty bits
2854 (MakeMaker macro variables) in $Config{lddlflags} that should never
2855 have been put there, but alas, they're there, so we find & resolve
2856 them.
2857
2858 - Added OS/2 ($^O = 'os2') to the list of Unix-like platforms. This
2859 basically means that most platform-specific operations will be done
2860 in a Unix-like manner.
2861
2862 - Pass-through Makefiles will now die() when they're given a PREFIX
2863 parameter, and suggest using 'destdir' or 'install_base' instead.
2864 Previously they just ignored the parameter and tried to install to
2865 the default location, which is clearly not what the user wanted.
2866
2867 - Updated my email address in the documentation to a more recent
2868 variant.
2869
2870 - Add NetBSD to the list of Unix-like systems. [Adrian Bunk]
2871
2872 - Add SVR5 to the list of Unix-like systems. [Rafael Garcia-Suarez]
2873
2874 - We now use Pod::Parser to find the ABSTRACT and AUTHOR when it's
2875 available on the system. [initial patch by Randy Sims]
2876
2877 - Fixed a little scalar/list buglet in a documentation example.
2878
28790.21 Wed Oct 15 20:47:05 CDT 2003
2880
2881 - Added a have_c_compiler() method.
2882
2883 - Added documentation for the requires(), recommends(),
2884 build_requires(), and conflicts() methods.
2885
2886 - On Unix platforms, we now create the "Build" script with a #! line
2887 matching the perl interpreter that was used to invoke the Build.PL
2888 script, rather than whatever is in $Config{startperl}. This avoids
2889 a potential warning about the interpreters not matching. [Spotted
2890 by Ken Y. Clark]
2891
2892 - The Unix version now uses the safer multi-argument form of system()
2893 when building distribution tarballs.
2894
2895 - Added a regression test for the 'dist' action to the t/runthrough.t
2896 test.
2897
2898 - Fixed a problem with File::Spec usage when creating the names of
2899 'libdoc' manual pages - the code wasn't dealing with the volume or
2900 file portions correctly on certain platforms.
2901
2902 - When creating the names of the 'libdoc' manual pages, we no longer
2903 assume that pods are under the hard-coded paths 'blib/lib' or
2904 'blib/arch'.
2905
2906 - Fixed a crashing bug that could sometimes occur when the
2907 distribution contained no 'lib' directory. [Chris Dolan]
2908
2909 - Fixed a crashing bug that happened when the user had .PL files in
2910 the lib/ directory and didn't explicitly name them in a hash
2911 reference to the new() constructor. [Chris Reinhardt, bug #4036]
2912
2913 - .PL files are now passed the names of their target file(s) on the
2914 command line when they run.
2915
2916 - When YAML.pm wasn't installed, t/runthrough.t wasn't properly
2917 skipping some tests that required YAML. This is now fixed.
2918 [Stephen J. Smith]
2919
2920 - Added documentation for the dist_version() and dist_name()
2921 methods. [Spotted by Johan Vromans]
2922
2923 - Existing values in $ENV{HARNESS_PERL_SWITCHES} are now respected
2924 and not squashed when we run the 'test' action. [Paul Johnson]
2925
2926 - On cygwin, the separator string for manual page names has been set
2927 to '.'. Previously it was '::', inherited from Unix. [Yitzchak
2928 Scott-Thoennes]
2929
2930 - Avoid a warning when Build.PL is run (i.e. when the new() method is
2931 called) and no MANIFEST file exists. [Michael Schwern and Kevin
2932 Ruscoe]
2933
2934 - Added documentation for the 'code' and 'docs' actions. [Steve
2935 Purkis and Mark Stosberg]
2936
2937 - The internal method compile_support_files() has been renamed to
2938 process_support_files() in order to make it consistent with other
2939 processing methods. Note that it was never documented using the
2940 old name. It's still not documented, actually. Maybe later.
2941
2942 - Skip the 'write' pseudo-entry in the 'diff' action's installation
2943 map. [Chris Dolan]
2944
2945 - Fixed a bug in which notes() set in the Build.PL before
2946 create_build_script() was called would get lost unless more notes()
2947 were also set afterwards. [Spotted by Dave Rolsky]
2948
2949 - The process of building elements of the distribution is now driven
2950 by a list of build elements, paving the way for letting people add
2951 their own types of build elements in future versions of
2952 Module::Build (or in the current version with some difficulty).
2953
2954 - Fixed some linking errors on Cygwin. [Randy Sims, Terrence Brannon]
2955
2956 - Fixed a line-ending problem with detecting the dist_abstract
2957 properly on Cygwin. [Randy Sims]
2958
2959 - Fixed a problem with signatures that occurred if 'distsign' was
2960 called before 'distdir' - the signature would be generated twice.
2961
2962 - Added a 'create_readme' parameter to new(), which will use
2963 Pod::Text to generate a README from the main (dist_version_from)
2964 module file during the 'distdir' action.
2965
2966 - We now refuse to run the 'Build' script if it was created using a
2967 different version of Module::Build. This has caused a couple of
2968 nasty bugs in the past, I don't want to know what it would cause in
2969 the future.
2970
2971 - Documentation for do_system() has been added. [Dave Rolsky]
2972
2973 - run_perl_script() is now available as a class method, though it
2974 will need to (re-)find the perl interpreter in this case.
2975
2976 - Added a new_from_context() method that authors of automated tools
2977 like CPANPLUS and CPAN can use instead of running all tasks as
2978 sub-processes. We also use it in the regression tests for
2979 Module::Build itself. ** Note that this method is currently
2980 undocumented because its name may change in the future. **
2981
2982 - When signing distributions with Module::Signature, we now
2983 automatically add the SIGNATURE file to the MANIFEST, avoiding an
2984 unpleasant chicken/egg problem for the module author.
2985 [unpleasantness spotted by sungo]
2986
2987 - In Module::Build::Compat, added support for the 'verbose' parameter
2988 to Makefile.PL [spotted by Soren Andersen, fixed by Michael
2989 Schwern]
2990
2991 - The Module::Build distribution now has a cryptographic 'SIGNATURE'
2992 file created by Module::Signature.
2993
2994 - Added proper documentation for the subclass() method. [spotted by
2995 Jonathan Steinert]
2996
2997 - Worked around a Config.pm bug in Red Hat 9 which prevented man
2998 pages from being installed in the correct places. [spotted by Ville
2999 Skytta]
3000
3001 - Fixed a Module::Build::Compat bug in which setting INSTALLDIRS
3002 caused a crash. [spotted by Ilya Martynov]
3003
30040.20 Tue Aug 26 14:34:07 CDT 2003
3005
3006 - Separated the 'build' action into two separate actions, 'code' and
3007 'docs'. This is similar to MakeMaker's separation of the 'all'
3008 target into 'pure_all' and 'manifypods'. This fixes a permissions
3009 hassle in which doing 'sudo Build install' would often create local
3010 doc files that needed superuser permissions to delete.
3011
3012 - Enhanced the 'help' action - 'Build help foo' will now show the POD
3013 documentation for the 'foo' action.
3014
3015 - Added a notes() feature, which helps share data transparently
3016 between the Build.PL and t/*.t scripts.
3017
3018 - The installation process will now create man(1) and man(3) pages
3019 from POD in modules & scripts, and install them. We don't build
3020 man pages when there's nowhere to install them, such as on some
3021 Win32 or most Mac systems. [large patch by Steve Purkis, 5.005 fix
3022 by Mathieu Arnold]
3023
3024 - The 'distdir' action now copies files to the distribution
3025 directory, rather than making them hard links to the original
3026 files. This allows authors to do last-minute alterations of the
3027 files without affecting the originals. [Dave Rolsky]
3028
3029 - If the author uses XS files in nonstandard locations, the copied
3030 versions of those files will now be cleaned up properly.
3031
3032 - In invoking the 'test' action or invoking 'xsubpp', we now use the
3033 same perl executable as we use everywhere else, rather than blindly
3034 using $^X or $Config{perlpath} (neither of which are very
3035 reliable).
3036
3037 - Fixed a problem with the 'install_path' parameter given to
3038 'Build.PL' being lost in subsequent actions. [Reported by Mathieu
3039 Arnold]
3040
3041 - Fixed yet another bug with installation directories, in which the
3042 'install_base' parameter wasn't being respected on the command
3043 line. [Spotted by Jonathan Swartz]
3044
3045 - Changed the way the depends_on() method works inside action
3046 subroutines - now each action will only run once per dispatch()
3047 invocation (similar to how perl's require() function works). This
3048 helps avoid some difficult problems with dependency loops.
3049
3050 - Changed the documentation for the 'autosplit' parameter to give
3051 reasons why it may not be a good idea to use, but no longer
3052 threaten to remove it. [Suggested by Martyn J. Pearce]
3053
3054 - Improved the formatting of the 'traditional' Makefile.PL generated
3055 by Module::Build::Compat->create_makefile_pl. [Michael Schwern]
3056
3057 - The 'traditional' Makefile.PL will now use the 'module_name'
3058 parameter (as NAME) if it's available, otherwise it will continue
3059 to use the 'dist_name' (as DISTNAME). [Michael Schwern]
3060
3061 - Created read/write accessor methods for all our 'properties'.
3062 [Michael Schwern]
3063
3064 - The 'test_files' parameter can now be specified using glob() syntax
3065 (i.e. 't/*.t'), and the corresponding test_files() method is now a
3066 read/write accessor.
3067
3068 - The location of the 'blib' directory is now a property of the Build
3069 object - nobody is likely to notice this change, with any luck, but
3070 it makes the design and code cleaner.
3071
3072 - The 'disttest' and 'distsign' methods now chdir() back to the
3073 directory where they started, rather than to the base_dir of the
3074 build.
3075
3076 - Improved comparisons of version strings containing underscore
3077 characters (indicating "beta" status). [Steve Purkis]
3078
3079 - Added documentation for the 'dist_author', 'dist_abstract', and
3080 'codebase' parameters to new(), and for the 'ppd' action. [Dave
3081 Rolsky]
3082
3083 - Added documentation for the up_to_date() and contains_pod()
3084 methods. [Dave Rolsky]
3085
3086 - 'traditional' pass-through Makefile.PLs will now contain an
3087 INSTALLDIRS parameter matching the Build.PL's 'installdirs'
3088 setting.
3089
3090 - version_from_file() now ignores $VERSION variables that are defined
3091 in POD or comments. It can still be tricked by $VERSIONs in string
3092 literals, though. [Steve Purkis]
3093
3094 - The code to find packages in module files now uses Steve's scanning
3095 method (above) to skip package-declaration-lookalikes in POD or
3096 comments.
3097
3098 - The 'disttest' action will now propagate its @INC settings to its
3099 subprocesses.
3100
31010.19 Wed Jul 9 22:34:02 CDT 2003
3102
3103 - Added support for the 'install_path' parameter, which allows custom
3104 specification of where things should be installed. This is a major
3105 improvement to Module::Build's functionality.
3106
3107 - Added the 'install_base' parameter. Provides an easy way to
3108 install to local or alternative directory trees.
3109
3110 - We now install scripts by default to $Config{installsitebin}
3111 instead of $Config{installscript}. Neither is a great choice, but
3112 the former is likely to be [analogous to] /usr/local/bin, and the
3113 latter is likely to be [something like] /usr/bin . If/when there's
3114 a $Config{installsitescript}, we'll start using that automatically.
3115
3116 - Fixed a problem on Win32 in which C and XS files wouldn't be
3117 compiled properly, and the user would see an error about 'Can't
3118 locate object method "format_compiler_cmd"'.
3119 (http://rt.cpan.org/Ticket/Display.html?id=2391)
3120
3121 - We now use the correct perl interpreter (via
3122 Module::Build->find_perl_interpreter) in pass-through makefiles.
3123
3124 - The t/compat.t test now uses $Config{make} instead of just 'make'
3125 to test makefile compatibility. This fixes some failures on Win32.
3126 We also skip this test entirely if no make utility is available.
3127
3128 - Alternative distribution layouts are now supported via the
3129 'pm_files', 'pod_files', 'xs_files', 'PL_files', and 'script_files'
3130 parameters to new(). This should help people transition from
3131 MakeMaker, and might even help us write an automatic transition
3132 tool.
3133
3134 - Added tests to t/runthrough.t that check to see installation is
3135 happening correctly.
3136
3137 - Added experimental code to build a .ppd file, in support of
3138 ActiveState's "Perl Package Manager". [original patch by Dave
3139 Rolsky]
613f422f 3140
bb4e9162
YST
3141 - For authors who use Module::Signature to sign their distributions,
3142 we now create the SIGNATURE file right in the distribution
3143 directory, rather than creating it in the top-level directory and
3144 copying it into place. This solves problems related to having
3145 files get out of date with respect to their signatures.
613f422f 3146
bb4e9162
YST
3147 - We now don't depend on Module::Info to scan for packages during the
3148 'dist' action anymore, because it's way too aggressive about
3149 loading other modules that you may not want loaded. We now just
3150 (ick, yuck) scan the .pm files with a regular expression to find
3151 "package Foo::Bar;" statements.
3152
3153 - Silenced some annoying copyright/logo output from Microsoft 'nmake'
3154 during Makefile compatibility testing. [Randy W. Sims]
3155
3156 - Command-line arguments may now either be specified using the syntax
3157 '--foo foovalue' as well as the traditional syntax 'foo=foovalue'.
3158 The former is often more convenient for shell tab-completion when
3159 the value is a filename (as in 'Build test --test_files t/basic.t').
3160
3161 - Command-line arguments may now include non-named parameters, which
3162 make some actions more natural. For instance, the 'diff' action
3163 may now be invoked as 'Build diff -u' rather than as
3164 'Build diff flags=-u'.
3165
3166 - Pass-through Makefile.PLs now convert unknown Makefile.PL
3167 parameters to lower-case and hand them to Build.PL, rather than
3168 ignoring them. This means we only have to account for the
3169 differences in the interface, not the entire interface, in
3170 translating parameters.
3171
3172 - We now issue a warning & don't proceed if asked to make a distdir
3173 and there's no MANIFEST or it's empty.
3174
3175 - Moved INSTALL to INSTALL.txt to increase compatibility with various
3176 odd versions of 'make' during 'make install' on case-insensitive
3177 filesystems (like nmake on Win32, often). Only affects the
3178 Makefile compatibility layer. [reported by Andrew Savige]
3179
3180 - Module::Build->known_actions() now works as a class method.
3181
3182 - Pass-through makefiles now list each action individually rather
3183 than using a ".DEFAULT" catch-all. This improves compatibility
3184 with 'nmake' on Win32, and probably some other less common 'make'
3185 dialects. [Andrew Savige]
3186
3187 - We're now more aggressive about testing the pass-through makefiles,
3188 e.g. making sure they can run 'all' and 'test' targets, and making
3189 sure the Makefile itself actually exists.
3190
3191 - Fixed a problem with check_installed_status() when installed
3192 version contains non-numeric characters like underscores.
3193
3194 - Fixed a problem with a bareword 'File::Spec' in one of the test
3195 scripts that caused it not to compile under 5.8.0 (but is fine
3196 under 5.6).
3197
3198 - Fixed a problem with the 'destdir' installation parameter on
3199 platforms that have volume identifiers in path names (like "C:" on
3200 Win32). The identifier is now stripped from installation
3201 directories before prepending the destdir path. The destdir path
3202 may still have a volume identifier on it.
3203
3204 - Added an 'add_to_cleanup' parameter to new() that calls
3205 add_to_cleanup() immediately for the given files.
3206
3207 - The distribution directory (e.g. Sample-Module-0.13/ ) will now be
3208 deleted during the 'clean' or 'realclean' actions.
613f422f 3209
bb4e9162
YST
3210 - During testing of modules, blib/lib and blib/arch are now added as
3211 absolute paths, not relative. This helps tests that load the
3212 modules at runtime and may change the current working directory
3213 (like Module::Build itself does during testing).
613f422f 3214
bb4e9162
YST
3215 - The $Config{cc} entry on some people's systems is something like
3216 'ccache gcc', so we now split that string using split_like_shell().
3217 [Richard Clamp]
3218
3219 - Added documentation for 'extra_linker_flags' parameter, and added a
3220 corresponding 'extra_compiler_flags' parameter. [original patch by
3221 Richard Clamp]
738349a8
SH
3222
3223 - The pass-through Makefile created by Module::Build::Compat now
3224 supports MakeMaker options like POLLUTE=1 and INC. We also just
3225 warn & skip when we see any unknown MM parameters, rather than
3226 dying. [Dave Rolsky]
3227
3228 - Fixed an error about how @INC and $ENV{PERL5LIB} interact during
3229 the testing of M::B itself. [jk <billy2000@fastmail.fm>]
3230
3231 - The pass-through Makefile doesn't include 'recommended' M::B
3232 dependencies in the Makefile anymore, since they're not strictly
3233 necessary. In particular, this makes installing M::B itself
3234 easier.
3235
3236 - A new 'create_makefile_pl' parameter lets you use
3237 Module::Build::Compat during the 'distdir' (or 'dist') action to
3238 automatically create a Makefile.PL for compatibility with
3239 ExtUtils::MakeMaker. The parameter's value should be one of the
3240 styles named in the Module::Build::Compat documentation.
3241
3242 - When compiling C code, we now respect 'pollute' and 'inc'
3243 parameters. (XXX - needs docs) [Dave Rolsky]
613f422f 3244
738349a8
SH
3245 - Made the creation of the "install map" more generic. (XXX - needs
3246 documentation)
3247
3248 - Fixed a problem in which add_to_cleanup() didn't note cleanup files
3249 unless create_build_script() had been called already. [Dave Rolsky]
3250
3251 - During 'Build dist', we no longer have to load each .pm file (via
3252 Module::Info) to determine the $VERSION numbers inside. Instead,
3253 we call our internal version_from_file() method, which is the same
3254 thing MakeMaker and PAUSE and search.cpan.org do. Also fixes a
3255 failure when Module::Info is installed in a nonstandard directory.
3256 [reported by Teun Burgers]
3257
3258 - Fixed some failing test code on Windows - open files can't be
3259 deleted. [Andrew Savige]
3260
3261 - The Cygwin platform is now treated as a flavor of Unix rather than
3262 a flavor of Windows. [chocolateboy]
3263
3264 - We're now more aggressive about adding temporary C compilation
3265 files (*.c, *.bs) to the cleanup list. [Dave Rolsky]
3266
3267 - When constructing the list in META.yml of packages provided by this
3268 distribution, we now use the same rules as the PAUSE scanner does
3269 when a single .pm file contains multiple VERSIONs. [Andreas Koenig]
3270
3271 - check_installed_status() now works as both a class method and an
3272 object method (and is documented so). [Spotted by Dave Rolsky]
3273
32740.18 Tue Apr 8 13:24:23 CDT 2003
3275
3276 - We now rewrite the shebang lines of scripts ourselves, rather than
3277 relying on MakeMaker routines to do it. MakeMaker changed the way
3278 this happened (not the result, but where the code lived) a few
3279 times. [Suggested by Richard Clamp]
3280
3281 - The scripts() method has changed to script_files(), and likewise
3282 the 'scripts' parameter has changed to 'script_files'. The old
3283 names can still be used for backward compatibility.
3284
3285 - Support for the 'scripts' parameter (which is now 'script_files')
3286 was broken in 0.17, now it's fixed. [Richard Clamp]
3287
3288 - We now recommend ExtUtils::ParseXS 2.02, which will fail to load
3289 with perl 5.005 or earlier (which is proper, because it doesn't
3290 work with those versions). When it fails to load, we still fall
3291 back to using the xsubpp script for XS parsing. [spotted by Dave
3292 Rolsky, fix suggested by Richard Clamp]
3293
3294 - Now works on VMS - the Build script's shebang-line-equivalent
3295 wasn't being formed correctly there - though just about everything
3296 else worked fine. [Tested & patched by Michael Schwern]
3297
3298 - Eliminated a warning that occurred if 'perl Build.PL' or the
3299 check_installed_status() method was run with -w. [Spotted by
3300 Michael Schwern]
3301
33020.17 Sat Mar 29 18:06:01 CST 2003
3303
3304 - Now works under perl 5.005_03. [Richard Clamp]
3305
3306 - When building blib/ , .PL files are now processed before doing
3307 anything else. This means .PL files can be used in any of the
3308 other contexts.
3309
3310 - The locating and processing of .pm, .pod, .xs, .PL files and script
3311 files are now isolated into their own methods. This is aimed
3312 toward providing a stable interface for this stuff, so they can be
3313 overridden, parameterized, etc. They're not quite stable yet,
3314 though.
3315
3316 - The internal lib_to_blib() method has gone away, because processing
3317 is now done by smaller specialized methods. This method had some
3318 duplicate assumptions about filenames that it's nice to get rid of.
3319
3320 - .PL files are no longer automatically processed in the c_source
3321 directory, they must be specified manually in a 'PL_files'
3322 parameter.
3323
3324 - Mention in the docs that it's useful to do "PL_FILES => {}" in a
3325 Makefile.PL if you're using both a Makefile.PL and a
3326 Build.PL. [Dom]
3327
3328 - Add several options to the 'license' field, so that we're in better
3329 sync with PAUSE and CPAN options. [Andreas Koenig]
3330
3331 - Created a find_perl_interpreter() method that tries to locate the
3332 currently executing perl interpreter. Following a suggestion from
3333 Nicholas Clark <nick@ccl4.org> for Inline, we prefer an absolute
3334 path in $^X, then an existent path in $Config{perlpath}, then
3335 whatever's in $^X.
3336
3337 - Use the aforementioned perl to run scripts in run_perl_script().
3338 This fixes the spurious warning "WARNING: Configuration was
3339 initially created with 'foo', but we are now using 'bar'" that
3340 appeared a lot in version 0.16.
3341
3342
33430.16 Mon Feb 24 13:06:47 CST 2003
3344
3345 - All three C compilers that perl supports on Windows environments
3346 (MSVC, BCC, and GCC) are now supported by Module::Build. We now
3347 reportedly pass all tests on Windows. [Randy W. Sims]
3348
3349 - The test t/xs.t, which tests building of XS modules, will be
3350 skipped if no C compiler is found. [suggested by Randy W. Sims]
3351
3352 - The "install" action accepts new "destdir" [motivated by Michael
3353 Schwern and Chip Salzenberg] and "uninst" parameters [by Dave
3354 Rolsky]. The former prepends an arbitrary directory to all
3355 installation paths (useful for package management), and the latter
3356 will tell ExtUtils::Install to remove any differing files that are
3357 "shadowing" the stuff you're installing from a different location,
3358 just like MakeMaker's "make install UNINST=1" command will do.
3359
3360 - Made changes to the generated Makefile in Module::Build::Compat
3361 that much better support Windows platforms [after suggestions by
3362 James Freeman]
3363
3364 - Added experimental support for creating distribution SIGNATURE
3365 files via Module::Signature. [Dave Rolsky]
3366
3367 - Added experimental support for installing via the "only.pm" module,
3368 which allows loading specific versions of modules. Since this
3369 module is so new, the interface may still be changing. [Brian
3370 Ingerson]
3371
3372 - Added support for installing executable scripts, via the 'scripts'
3373 parameter to new(), and the scripts() accessor method.
3374
3375 - Fix an infinite loop that occurred when doing 'perl Build.PL
3376 config="foo=bar"'
3377
3378 - Fix up the formatting of the error message the user gets when
3379 prereqs aren't satisfied.
3380
33810.15 Fri Jan 17 15:00:24 CST 2003
3382
3383 - In link_c(), extra object files were mistakenly being treated as
3384 output files, not input files, in the up-to-date check. Fixed.
3385
3386 - In up_to_date(), don't make an unnecessary copy of the file lists
3387 when they're specified as array references.
3388
3389 - Split off the C compilation phase into its own method,
3390 compile_support_files(), for easier subclassing.
3391
3392 - Start a stub of a 'manifypods' action.
3393
3394 - Compiler optimizations weren't being included in C compilation
3395 statements. Fixed.
3396
3397 - The 'extra_linker_flags' parameter wasn't being honored. Fixed.
3398
3399 - The 'ccflags' Config.pm entry wasn't being properly split into
3400 separate arguments. Fixed.
3401
3402
34030.14 Fri Dec 13 14:06:29 AEST 2002
3404
3405 - Added support for MacPerl (Mac OS version 9 and below), which (as
3406 far as I know) was never natively supported by MakeMaker. Still
3407 lacks support for the 'test' action (because Test::Harness
3408 requires forking, which MacPerl won't do) and compiling XS/C files
3409 (because I don't know how to invoke a compiler on MacOS, and one
3410 may not even be available). This change is brought to you by
3411 Michael Schwern and the letter '('.
3412
3413 - Improved processing of .xs files. Now we use the new
3414 ExtUtils::ParseXS module if it's available, otherwise we use
3415 backticks and write the result to a .c file ourselves. This
3416 avoids the need to do cross-platform shell redirection.
3417
3418 - Make sure all parts of 'Build test' use the not-yet-installed
3419 version of Module::Build. This only affects the tests for this
3420 module, not any of the module code itself. [Spotted by Schwern]
3421
3422 - Oopsie - use $Config{ld} instead of $Config{cc} for linking.
3423
3424 - Added a 'diff' action, which is useful for comparing the details
3425 of what you're about to install with what is already installed on
3426 your system. This uses File::Compare, which is in the core.
3427
3428 - Fixed a problem on Windows in which the _build/ directory wasn't
3429 getting deleted during the 'realclean' action, because we had a
3430 file open in that directory. [Spotted by Michael Schwern]
3431
3432 - delete_filetree() now always uses File::Path::rmtree(), regardless
3433 of whether the thing being deleted is a file or a directory. This
3434 helps remove things on obscure platforms with strange locking
3435 rules (or even not so obscure ones like MacOS). It also now
3436 reports the number of files or directories deleted (without
3437 recursing directory contents).
3438
3439 - rm_previous_build_script() is gone, replaced by calls to
3440 delete_filetree().
3441
3442 - 'Build' now chdir()s in a BEGIN block, so the 'use Module::Build'
3443 statement will work correctly. Solves a problem on MacOS, where
3444 the 'Build' script may often be invoked from the wrong working
3445 directory. [Fix by Michael Schwern]
3446
3447 - Internally we now use the multi-argument form of system() to run
3448 external commands (such as 'diff' or 'cc') whenever possible (and
3449 whenever we can't avoid system() altogether). Note that this
3450 means we have to handle splitting some strings (such as
3451 $Config{ccflags}) into argument lists like the shell would, which
3452 is a drag. However, the alternative would be to handle shell
3453 quoting of all arguments to commands ourselves, which is an even
3454 bigger drag across platforms and involves arbitrary filenames and
3455 so on.
3456
3457 - To handle the argument splitting mentioned above, a method
3458 split_like_shell() has been created. So far it's just doing naive
3459 processing. In practice, I've yet to actually see a %Config entry
3460 that uses quotes & spaces, so the splitting task is usually not
3461 very error-prone.
3462
3463 - The 'test' action now takes a 'test_files' parameter, similar to
3464 the (undocumented) ExtUtils::MakeMaker TEST_FILES argument. Handy
3465 during development when fixing bugs.
3466
3467 - Internally, the rscan_dir() method can now accept a predicate
3468 function that decides whether a file/directory should be matched.
3469
3470 - We now issue a warning message when the author hasn't specified a
3471 license type.
3472
34730.13 Wed Nov 20 20:07:53 AEST 2002
3474
3475 - 'cleanup' file lists are now written immediately, rather than at
3476 program termination. This helps avoid "phantom files" that don't
3477 get handled by the 'realclean' action. The internal
3478 write_cleanup() method (which was never documented) is now gone.
3479
3480 - The 'blib/' directory is now properly cleaned up in more (all?)
3481 circumstances. Previously it could become a phantom if
3482 create_build_script() was never called.
3483
3484 - Now scan the 'c_source' directory for .cpp (C++) files as well as
3485 .c files, and compiles them.
3486
3487 - Use a 'phony' target for 'make manifest' in the pass-through
3488 Makefile, for the same reason as 'make install' (see version 0.12
3489 notes below).
3490
3491 - Module::Build::Compat now accepts any known Config.pm key and
3492 passes it through to the Build.PL. Fixes a problem with CPANPLUS,
3493 which was passing INSTALLMAN1DIR.
3494
3495 - The file 'META.yaml' has been re-named to 'META.yml' in order to
3496 cooperate better with systems that can only handle 3 characters
3497 after the dot.
3498
3499 - The t/xs.t test should give more informative error messages upon
3500 failure.
3501
35020.12 Thu Nov 14 18:31:47 AEST 2002
3503
3504 - The META.yaml file was erroneously looking for 'build_depends'
3505 instead of 'build_requires'. [spotted by Iain Truskett]
3506
3507 - Add prompt() and y_n() methods for use in Build.PLs
3508
3509 - Do more to work with all versions of Test::Harness when setting
3510 the TEST_VERBOSE flag and running under the debugger [patch by
3511 Dave Rolsky]
3512
3513 - Include a test for verbosity handling
3514
3515 - Make sure the blib/ directory is always cleaned up with the
3516 'clean' or 'realclean' action.
3517
3518 - In a pass-through Makefile.PL, inform 'make' that 'install' is a
3519 "fake target", so that it works properly on case-insensitive
3520 filesystems like HFS+ with distributions that contain an INSTALL
3521 file. [patch by Brian Ingerson]
3522
3523 - In Module::Build::Compat, show an example Makefile.PL that can
3524 install Module::Build and re-invoke itself in one fell swoop [Dave
3525 Rolsky and Autrijus Tang]
3526
3527 - Improve the formatting of the Module::Build and
3528 Module::Build::Compat documentation.
3529
35300.11 Fri Aug 23 18:50:46 AEST 2002
3531
3532 - 'module_version' and 'module_version_from' have been replaced by
3533 'dist_version' and 'dist_version_from', which is what they really
3534 meant in the first place. 'dist_name' has been added.
3535
3536 - 'module_name' is now just a way to set 'dist_name' and
3537 'dist_version_from' in a convenient way.
3538
3539 - The 'name' in META.yaml is now the distribution name, not the
3540 (incorrect) module name. [spotted by Graham Barr]
3541
3542 - Added the check_installed_status() and prereq_failures() methods
3543 for checking prerequisite information with the programmatic
3544 interface
3545
3546 - check_installed_version() now uses check_installed_status()
3547 internally
3548
3549 - Documented the create_build_script() method, which had escaped
3550 documentation.
3551
3552 - create_build_script() now writes prerequisite information to the
3553 _build/ directory, for use by Module::Build::Compat.
3554
3555 - Module::Build::Compat has documentation for a safer way to write a
3556 dummy Makefile.PL. [patch by Autrijus Tang]
3557
35580.10 Wed Aug 7 19:36 2002
3559 - Recommend YAML 0.35 instead of 0.30.
3560
3561 - Don't die during 'Build disttest' if YAML isn't installed. This
3562 fixes tests 5-10 in runthrough.t if YAML isn't installed.
3563
3564 - Die if an unknown license type is used, but still default to
3565 'unknown' if no license is specified.
3566
3567 - Use YAML::DumpFile() if we're using a recent YAML,
3568 YAML::StoreFile() otherwise.
3569
3570 - Show specific error messages in runthrough.t.
3571
3572 - Add a generated_by entry to the META.yaml file.
3573
3574 - Skip a few tests if YAML isn't installed.
3575
35760.09 Fri Jun 28 11:07:08 EST 2002
3577
3578 - The 'distdir' action wasn't deleting the distribution directory
3579 before building it again. This meant that, say, if you did 'Build
3580 disttest' then 'Build dist', you'd end up with a blib/ directory
3581 in your distribution. I actually had this happen for version
3582 0.08, and it's not nice to distribute a blib/ on CPAN.
3583
3584 - We now keep track of the 'base_dir', i.e. the top-level build
3585 directory, so we can change back into it if we change out of it.
3586 This necessitated a cwd() method, which uses the Cwd.pm module.
3587 I'm aware of Cwd's limitations, particularly under taint-mode, but
3588 I don't know a way around using it here.
3589
3590 - The 'dist_dir' action now changes back into 'base_dir' directory.
3591
3592 - We now do write_config() inside the create_build_script() method,
3593 not inside the new() method.
3594
3595 - Simplified the find_version() method, and improved its error
3596 messages.
3597
3598 - Renamed module_name_to_file() to find_module_by_name(), and added
3599 a parameter specifying the directories to search in. Previously
3600 we searched in 'lib' and @INC, which wasn't correct in all
613f422f 3601 situations.
738349a8
SH
3602
3603 - Patched the docs to change "Build test" to "./Build test"
3604 [Elizabeth Mattijsen]
3605
36060.08 Wed Jun 26 20:30:56 EST 2002
3607
3608 - Fixed the 'prereq' alias for the 'requires' parameter
3609
3610 - Added some tests in t/basic.t to test the dependency checking
3611
3612 - Added 'artistic' as a licensing option [Arthur Bergman]
3613
3614 - Fixed some bugs in requires/prereq/recommends/conflicts/build_depends
3615
3616 - Fixed a typo in the 'distclean' action that prevented its
3617 execution [Arthur Bergman]
3618
3619 - Separated the linking phase of building XS items into its own
3620 link_c() method. Its interface is still unstable, so it's not
3621 documented yet. [suggested by Arthur Bergman]
3622
36230.07 Jun 9 2002 15:46
3624
3625 - We now generate a 'META.yaml' metadata file during 'Build dist'.
3626 This can be very useful for lots of things, none of which are
3627 implemented yet.
3628
3629 - Added a 'dynamic_config' parameter, defaulting to false. This
3630 lets distribution systems (CPAN.pm, etc.) build, test, and install
3631 "easy" modules without having to execute the Build.PL at runtime.
3632 It's also a guarantee that the list of dependencies is exactly
3633 what is present in the metadata file, and won't be changed during
3634 the build process.
3635
3636 - Added support for "recommended" and "build-time requirement"
3637 modules, besides those that are absolutely required. Also added a
3638 "conflicts" field.
3639
3640 - Changed the 'prereq' field to 'requires' (the old name will
3641 continue to work).
3642
3643 - Added support for checking the installed version of perl as an
3644 explicit dependency.
3645
3646 - Added a 'license' parameter to specify one of a fixed number of
3647 licenses for the distribution.
3648
3649 - Fixed a bug in Module::Build::Compat that was preventing arguments
3650 from being processed properly. [patch by Ilya Martynov]
3651
3652 - Make sure we're in the right directory when we write the cleanup
3653 file, since various ExtUtils::Install errors might leave us in an
3654 unknown directory. [patch by Ilya Martynov]
3655
3656 - Specified the 'license', 'recommends', and 'dynamic_config'
3657 values in Build.PL, and changed 'prereq' to 'requires'.
3658
36590.06 Apr 2 2002 17:44
3660
3661 - Added the Module::Build::Compat module for assisting and
3662 explaining compatibility with ExtUtils::Makemaker and cohorts.
3663
3664 - State is now saved using Data::Dumper instead of my ad-hoc
3665 mechanism, guaranteeing data integrity. Whitespace values broke
3666 in the former scheme.
3667
3668 - Added the 'recommended' option, which works like 'prereq' but
3669 isn't insistent.
3670
3671 - Separated the various parameters into three groups: parameters
3672 that tell Module::Build what to do, Config.pm parameters, and
3673 user-defined parameters for each build (the module author is the
3674 'user' here). This helps avoid conflicts between names, and it
3675 was silly to have them all together. The three groups of
3676 parameters are subject to the same rules for overriding: values
3677 specified during a Build action take precedence over values
3678 specified at 'perl Build.PL' time, which in turn take precedence
3679 over values specified in the call to new().
3680
3681 - Improved support for .PL files. Any .PL file in the lib/
3682 directory or the directory specified by 'c_source' will now get
3683 properly executed. I also added a 'PL_files' parameter that you
3684 can use in case the .PL doesn't create an obviously-named output
3685 file.
3686
3687 - If a prerequisite condition is malformed, we now report a prereq
3688 failure and say why. Previously we issued a warning and kept
3689 going.
3690
3691
36920.05 10-Jan-2002 20:26
3693 - Added the Module::Build->subclass() method, which makes it easier to
3694 make quick-and-dirty subclasses of Module::Build.
3695
3696 - Reorganized the docs a bit.
3697
3698 - Added the 'testdb' action, and the 'debugger=1' argument to the
3699 'test' action, both of which run tests under the perl
3700 debugger. (idea: Dave Rolsky)
3701
3702 - Added prerequisite checking (Dave Rolsky)
3703
3704 - Fixed an unlikely-to-occur bug with misquoted strings in the
3705 'Build' script (spot: Dave Rolsky)
3706
3707 - We're more careful about shush-ing warnings that
3708 ExtUtils::Manifest might emit (Dave Rolsky)
3709
3710 - The 'help' action now auto-generates the list of actions (Dave Rolsky)
3711
3712 - Added the 'distcheck', 'skipcheck', 'distclean', 'distdir', and
3713 'disttest' actions (Dave Rolsky)
3714
3715 - We're a little more aggressive about cleaning up temporary files -
3716 we'll try to clean them up even when we don't have write permission
3717 on them. This isn't as dastardly as it sounds; if we /really/
3718 don't have permission, we won't be able to remove them no matter
3719 how hard we try.
3720
37210.04 Fri Nov 16 16:55 2001
3722 - Added a 'manifest' action. It's just like MakeMaker's 'make manifest', it
3723 brings your MANIFEST file up to date with your distribution directory.
3724
3725 - Reorganized some of the responsibilities of various methods, which
3726 allows modules to be built and tested programmatically.
3727
3728 - The 'clean' action will now clean up files that were created more
3729 recently than the on-disk cleanup registry was written.
3730
3731 - Undefined values from Config.pm are handled correctly now.
3732
3733 - The dispatch() method will now accept explicit dispatch
3734 parameters, for use in a programmatic setting.
3735
3736 - $ENV{TEST_VERBOSE} will be set in test scripts if the 'verbose=1'
3737 parameter is set.
3738
3739 - Moved the test.pl script to t/basic.t
3740
3741 - Created the t/xs.t script, which tests building a module with a
3742 .xs component.
3743
3744 - Fixed the loading of $^O-specific modules (there were no such
3745 modules before).
3746
3747 - Added a 'darwin' platform module, which removes -flat_namespace
3748 from $Config{ccflags} while building .xs modules (it's a linker
3749 flag, not a compiler flag).
3750
3751 - Now uses $^W instead of the 'warnings' pragma, which apparently
3752 provides compatibility with perl 5.005 (I've only tested it with
3753 5.6.x myself).
3754
3755 - If a file called C<visual.pl> exists in the top-level directory,
3756 this file will be executed as a Perl script during 'Build test' and
3757 its output will be shown to the user. This is a good place to put
3758 speed tests or other tests that don't use the C<Test::Harness> format
3759 for output.
3760
3761 - The 'Build install' step will now put .xs-related things in the
3762 correct architecture-dependent libraries.
3763
3764 - Added the 'autosplit' option, even though I think autosplitting is
3765 a load of hooie.
3766
37670.03 Sun Nov 11 14:58 CDT 2001
3768 - The 'perl Build.PL' step will now detect whether the current
3769 environment is "unixish", "windowsish", etc., and load the correct
3770 module (i.e. Module::Build::Platform::Unix). More specific
3771 modules may also be written for particular values of $^O.
3772
3773 - Module::Build will now process any .xs files in the lib/
3774 directory. Please let me know whether this works or not with your
3775 distribution & platform. I'll be trying out various distributions
3776 on my platform.
3777
3778 - Corrected some embarassing errors in the POD documentation. Also
3779 added a long documentation section on the various build actions
3780 (test, install, build, etc.) and added some neato ASCII art.
3781
3782 - Added a 'cleanup' mechanism - any method may call the
3783 $self->add_to_cleanup(@files) method to register files which need
3784 to be cleaned up during 'Build clean'.
3785
3786 - Added a 'Build help' action that gives a little syntax help, and
3787 lists all the actions available.
3788
3789 - Fixed a bug in which 'blib/' wasn't properly being added to @INC
3790 when running 'Build test'.
3791
3792 - For the 'Build dist' action, we'll use the 'tar' and 'gzip'
3793 programs (as specified by Config.pm) on Unix platforms, otherwise
3794 we'll use Archive::Tar and Compress::Zlib.
613f422f 3795
738349a8
SH
37960.02 Wed Sep 5 00:53:04 CDT 2001
3797 - Added POD documentation.
3798
3799 - Added the 'install', 'fakeinstall', and 'dist' actions.
3800
3801 - new() will now determine version string based on 'module_version', or
3802 'module_version_from', or 'module_name', in that order.
3803
3804 - Module::Build::Base handles its file paths in a platform-independent
3805 way, using the File:: modules
3806
3807
38080.01 Sun Aug 5 01:23:10 2001
3809 - original version; created by h2xs 1.1.1.4 with options -XA -n Module::Build
3810