📄 changes
字号:
- When searching for '.modulebuildrc', return the first HOME-like directory that actually contains the file instead of the first existing directory. Document the search locations and the order searched. [Spotted by David Golden] - Split the API documentation out of Module::Build::Authoring into its own document: Module::Build::API. - We should not emit a warning if a Module::Build subclass is required in a Makefile.PL that is not bundled in the current distribution; it may be installed on the user's system. [Spotted by Tyler MacDonald] - copy_if_modified() now preserves the executable bit of the source file. [Spotted by Julian Mehnle] - Fixed compatibility of our screen-scraping the Test::Harness output so we can recognize the most recent Test::Harness version. [Steve Hay] - Backing out a requirement added in 0.27_06 on the method y_n() to always include a default. This behavior would cause existing build scripts to start failing. We now fail with a missing default only when $ENV{PERL_MM_USE_DEFAULT} is set because there is no reasonable default. - Make install_types() method smarter with respect to custom install types. - Add documentation for the install_base_relpaths() and prefix_relpaths() methods. Improved their usage for a public API, and added tests.0.27_10 Tue Mar 28 22:50:50 CST 2006 - Added the create_packlist property, default true, which controls whether packlist files will be written during installation. This was already part of Module::Build 0.2609, but for some reason we've forgotten it in the 0.27_xx series. [Spotted by Steve Kirkup] - Document the versions of Module::Build where each feature, action, constructor argument, and method was first publicly documented. - More fixes for find_perl_interpreter() to work with BSD flavored UNIX: Ensure we always return absolute paths; throw an exception upon failure to find correct interperter; document everything. - We now include our own YAML.pm work-alike that we can use when the real YAML isn't installed. We might soon even start using it when YAML is installed, because the YAML API and dependency chain have been changing in unfavorable ways lately. [Stephen Adkins] - Fixed some shell-argument-quoting issues on VMS. In the process, we have added some support for avoiding tripping over shell-argument-quoting issues on other platforms too. [Initial patch by Craig A. Berry]0.27_09 Sat Mar 11 22:48:54 EST 2006 - Fixed find_perl_interpreter() so we can find the perl executable when running from uninstalled perl even when $^X contains a relative path. [Yitzchak Scott-Thoennes] - Fixed warning message where we were printing the wrong field names. [Chris Dolan] - Added a 'testpodcoverage' action that runs a POD coverage check for all modules in the distribution. [Yanick Champoux] - Added a Cookbook example of subclassing to modify an action. [Dylan Martin and David Golden] - When building HTML documentation, we were opening the POD file and not checking whether the open succeeded, which of course caused problems down the line if it failed. Now we do "or die(...)" like everywhere else. [Spotted by Joerg Braun]0.27_08 Fri Mar 3 21:22:41 CST 2006 - Due to shell quoting issues and differences in syntax between various flavors of Windows, the code for the 'pl2bat' utility distributed with Perl has been incorporated into M::B::P::Windows. [Thanks to Dr Bean and Ron Savage for help testing and isolating the problem.] - Modify add_build_element() so that it only adds elements if they don't already exist. [David Wheeler] - Fixed a bug in the 'pass-through' Makefile.PL in which we would die if CPAN::Shell->install returned false, but apparently this return value is unreliable. Now we only die if the module is actually unavailable after installation. - Fixed testing problems on VMS related to non-case-preserving filesystems. We now bundle Tie::CPHash in the distribution (just for testing purposes, it doesn't get installed) to help with this. [Craig Berry and Yitzchak Scott-Thoennes] - We incorrectly documented the 'dynamic_config' flag in the META.yml file as having a default value of false, but according to the META.yml spec (which, for heaven's sake, we wrote) its default value is true. Fixed. [Spotted by Adam Kennedy] - The have_c_compiler() method was dying if the ExtUtils::CBuilder module wasn't around, which is obviously an unhelpful thing to do. Now it just returns false. [Spotted by John Peacock] - Fix detection of $VERSION expressions that are not assignments. [Spotted by Chris Dolan] - Obfuscate one of our constructs that uses a $VERSION variable, because it was getting picked up by ExtUtils::MakeMaker's version-finder. [Spotted by Randal Schwartz] - The config_data script for querying and/or setting a module's config data was forgetting to call write() after setting config values (though setting feature values was working fine). Fixed. [Brian Duggan] - On Windows, remove the pl2bat generated 'Build.bat' script without the annoying "The batch file cannot be found." error. [Solution provided by RazTK and foxidrive on newsgroup alt.msdos.batch] - Our version comparisons should now work correctly with modules that use version.pm to delcare their versions (e.g. "our $VERSION = version->new('1.0.0')"). [John Peacock and Ron Savage] - We now create a Build.bat script on versions of Windows where it makes sense. [Yves] - Fixed the verbiage around choosing the correct make-alike on different platforms to suggest using 'perl -V:make'. [Suggested by anonymous user]0.27_07 Wed Feb 1 20:07:45 CST 2006 - The notes() method now returns the new value when called with two arguments, just like when it's called with one argument. [Tyler MacDonald] - The notes() method now distinguishes among the values undef, 0, and the empty string, where previously it didn't. [Tyler MacDonald] - We now unshift(@INC) rather than push(@INC) for the directory where a build subclass lives, so that we're sure to pick up the right version and not some already-installed version. [perlmonkey] - The SIGNATURE file for version 0.27_06 (and I'm sure for lots of versions before that too!) was messed up, since we were modifying some files after signing. This has been band-aided for the time being by signing twice. [Reported by Chris Dolan]0.27_06 Mon Jan 23 21:44:54 CST 2006 - Fixed an undefined-variable warning when building the META.yml file and the author hasn't used the 'module_name' mechanism. [Chris Dolan] - We should now work with recent (> 0.49) versions of YAML.pm when creating the META.yml file. [Yitzchak Scott-Thoennes] - The y_n() method now requires the default parameter, and the prompt() and y_n() methods have been improved with respect to how they behave/detect when there is no user to ask. We're now more consistent with MakeMaker, including respecting the PERL_MM_USE_DEFAULT environment variable. [Tyler MacDonald and Yitzchak Scott-Thoennes] - When building a README file using Pod::Text, work around a bug in Pod::Text 3.01, which expects Pod::Simple::parse_file to take input and output filehandles when it actually only takes an input filehandle. [Yitzchak Scott-Thoennes]0.27_05 Thu Jan 12 17:39:21 CST 2006 - In t/common.pl, we were attempting to let the user's installed Test::More take precedence over ours, but getting thwarted by all the test scripts' loading Test::More beforehand. Fixed. [Spotted by Yitzchak Scott-Thoennes] - In various test scripts, we were outputting some strings that weren't strictly conformant with Test::Harness's expected input, though it didn't actually cause problems. Now we're more conformant, though not yet strict. [Spotted by Yitzchak Scott-Thoennes]0.27_04 Fri Dec 23 10:43:34 CST 2005 - Removed experimental feature that extended the prerequisite system to apply ('requires', 'recommends', and 'conflicts') prereqs to all actions. Most of the internal extensiblity has been retained so that prereq types can easily be added, more selectively. - Added a 'prereq_report' action that shows the user a well-formatted list of all prerequisites, the versions required, and the versions actually installed. [David Wheeler] - Clarified the directory name that's created during the 'distdir' action. [Suggested by Tyler MacDonald] - Fixed a bug when creating the META.yml file without the help of YAML.pm - some common strings weren't quoted & escaped properly. Now only some uncommon ones are. [Spotted by Joshua ben Jore] - Fixed a bug in which an "UNINST=1" argument specified to a passthrough Makefile's "make install" wasn't actually seen by Module::Build. - Rather than dying when the Build script is run from the wrong directory, it now simply chdir()s into the right directory and keeps going. [Suggested by Dominique Quatravaux] - Added an "Examples on CPAN" section to the cookbook, with an initial entry pointing to John Peacock's SVN-Notify-Mirror distribution. - Add an invoked_action() method to return the name of the original action invoked by the user. - Add 'meta-spec' field to the generated META.yml file, including the version of the specification followed by the current Module::Build and the url where the specification can be found. - Introduced two actions, 'html' & 'manpages', that generate documentation for POD when the respective feature is enabled. The actions will generate the documents even if there is no set place to install to. However, if the actions are invoked as a dependency of another action (e.g. build), the documentation will only be built when there is a default or user-specified place to install to. - Added support for environment variable, 'MODULEBUILDRC', which can be used to specify the full path to an option file to use instead of the default location of ~/.modulebuildrc. A special undocumented setting of 'NONE' tells Module::Build not to load any user settings, so tests can be run without tainting from user options. - Documented and improved preliminary support for more Getopt::Long style options are supported, including boolean options (--verbose, --no-verbose), and use of hyphens in option names in addition to underscores. - The option to disable/enable reading of the ~/.modulebuildrc file is changed from 'skip_rcfile' to 'use_rcfile' - Allow the 'distmeta' action to continue when 'MANIFEST' is missing, omitting the generation of the 'provieds' field. [Steven Schubiger] - Fixed some failing regex from generated MANIFEST.SKIP file. - Fixed an edge case in $VERSION parsing where we thought a package() declaration was happening but it wasn't. [David Golden] - Added docs for the install_destination() and install_types() methods.0.27_03 (Beta for 0.28) Mon Oct 10 11:19:23 EDT 2005 - We now use ExtUtils::CBuilder to do all compiling of C code (for example, when compiling XS modules). (This change actually occurred in 0.27_01, but it was mistakenly omitted from the Changes file.) - Fixed an issue on Win32 (and other case-tolerant non-case-preserving systems, possibly like VMS?) in which the current working directory would sometimes be reported with different case, fooling us into thinking that we were in the wrong directory. [David Golden] - The extra_compiler_flags setting was not actually being passed along to ExtUtils::CBuilder so it could pass it along to the compiler. Now it is. - The synonyms 'scripts' and 'prereq' for 'script_files' and 'requires' were broken in a previous version (0.27_01, probably), but now they're fixed. [David Golden] - Previously, we assumed that any custom subclass of Module::Build was located in _build/lib/. This is only true if the author used the subclass() method, though. We now use %INC to find where the custom subclass really is, so that we can "use lib" it. We also issue a warning if it seems to be outside the build directory. [Spotted by Peter Tandler] - Added a URL for each license type that we know about, which will appear as resources=>license: in the generated META.yml file. - If the user passes a no_index parameter to our constructor, we now pass that through when building the META.yml file. [Richard Soderberg, RT #9603] - A few more status messages can now be suppressed by using 'quiet' mode. [Dave Rolsky] - Added some more entries to the default MANIFEST.SKIP file. [Chris Dolan] - Our POD parser will now accept "AUTHORS" as well as "AUTHOR" when looking for the author list in a module. [David Wheeler] - When looking for the POD to auto-generate a README file, or for the AUTHOR or ABSTRACT for the distribution, we now also look for a *.pod with the same name as the *.pm file specified by 'version_from'. [David Golden] - The recommended dependency on ExtUtils::ParseXS has been moved into the "C_support" auto_feature. - When building XS files, we now pass the -DVERSION and -DXS_VERSION
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -