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