Karen Etheridge [Thu, 13 Mar 2014 15:27:18 +0000]
refactor out _parse_file into the single caller
Karen Etheridge [Thu, 13 Mar 2014 15:10:59 +0000]
whitespace fixes
Graham Knop [Tue, 4 Mar 2014 23:56:15 +0000]
test for taint mode using perl 5.6 compatible method
Karen Etheridge [Thu, 12 Dec 2013 02:16:17 +0000]
revert to previous formatting
Karen Etheridge [Thu, 5 Dec 2013 19:42:40 +0000]
remove more unused MB cruft
Karen Etheridge [Thu, 5 Dec 2013 19:21:40 +0000]
remove unused cruft inherited from Module-Build/t/lib/MBTest.pm
Karen Etheridge [Thu, 21 Nov 2013 00:53:32 +0000]
is_indexable( [ $package ] )
Karen Etheridge [Thu, 21 Nov 2013 00:53:42 +0000]
minor doc tweak
David Golden [Fri, 11 Oct 2013 16:09:38 +0000]
make VERSION assignment regexp ignore fat comma
Karen Etheridge [Sun, 6 Oct 2013 16:49:31 +0000]
Release commit for 1.000019
Karen Etheridge [Sun, 6 Oct 2013 16:19:37 +0000]
bump version to 1.000019
Karen Etheridge [Sun, 6 Oct 2013 16:28:18 +0000]
only add metadata if there isn't already a META.* to work with
Karen Etheridge [Sun, 6 Oct 2013 16:29:10 +0000]
fix broken metadata (bad ether!)
Chris 'BinGOs' Williams [Sun, 6 Oct 2013 16:17:00 +0000]
disable warnings inside generated version sub (RT#89282)
This shuts up warnings from modules like Log::Log4perl::Appender::Limit,
which does:
our $CVSVERSION = '$Revision: 1.7 $';
our ($VERSION) = ($CVSVERSION =~ /(\d+\.\d+)/);
When only only the second line is eval-ed, that would cause an
uninitialized value warning.
Karen Etheridge [Wed, 11 Sep 2013 17:44:36 +0000]
add some test prereqs
Karen Etheridge [Wed, 11 Sep 2013 16:27:45 +0000]
Release commit for 1.000018
Karen Etheridge [Wed, 11 Sep 2013 16:26:44 +0000]
bump version
Karen Etheridge [Wed, 11 Sep 2013 16:26:26 +0000]
remove use of Test::Fatal, done_testing
Karen Etheridge [Wed, 11 Sep 2013 01:04:51 +0000]
Release commit for 1.000017
Karen Etheridge [Wed, 11 Sep 2013 01:03:44 +0000]
bump version
Karen Etheridge [Wed, 11 Sep 2013 00:33:08 +0000]
detaint version, if needed (RT#88576, Chris Williams)
Karen Etheridge [Tue, 10 Sep 2013 19:09:47 +0000]
ensure authors properly generate META.* (see RT#85406)
Karen Etheridge [Tue, 10 Sep 2013 19:00:42 +0000]
also set minimum perl version in metadata, for introspectability
Matt S Trout [Tue, 10 Sep 2013 18:56:55 +0000]
add dummy var for the Hiding constant to avoid triggering void warnings
Matt S Trout [Tue, 10 Sep 2013 18:52:19 +0000]
make perl 5.006 restriction work
Karen Etheridge [Sun, 8 Sep 2013 18:13:44 +0000]
assert a minimum prereq of perl 5.6
Karen Etheridge [Sun, 8 Sep 2013 18:11:44 +0000]
remove use of "use vars" in main module
Karen Etheridge [Sun, 8 Sep 2013 18:05:49 +0000]
add "use warnings" everywhere
Karen Etheridge [Thu, 22 Aug 2013 23:38:00 +0000]
set v2 metadata (RT#88028)
Karen Etheridge [Thu, 22 Aug 2013 05:58:25 +0000]
Release commit for 1.000016
Karen Etheridge [Thu, 22 Aug 2013 05:57:26 +0000]
make Changes conform to CPAN::Changes spec
Karen Etheridge [Thu, 22 Aug 2013 05:48:12 +0000]
bump version to 1.000016
Karen Etheridge [Thu, 22 Aug 2013 05:48:01 +0000]
accomodate a single dot
Tomas Doran [Wed, 21 Aug 2013 15:45:19 +0000]
Version 1.000015
Tomas Doran [Wed, 21 Aug 2013 15:44:12 +0000]
Doc fix for CVE-2013-1437
Karen Etheridge [Tue, 30 Jul 2013 00:38:54 +0000]
ensure we create a v2 meta file
David Steinbrunner [Thu, 16 May 2013 00:16:25 +0000]
typo fix in comment (applied by ether)
Tomas Doran [Thu, 9 May 2013 09:01:06 +0000]
Version 1.000014
Tomas Doran [Thu, 9 May 2013 09:00:26 +0000]
Update changes
Karen Etheridge [Wed, 8 May 2013 23:10:56 +0000]
the sitelib change happened before this module was cored, so we don't need to do anything at all!
Karen Etheridge [Wed, 8 May 2013 22:59:18 +0000]
Release commit for 1.000013
Karen Etheridge [Wed, 8 May 2013 22:56:01 +0000]
bump version for release
Karen Etheridge [Wed, 8 May 2013 22:55:30 +0000]
install to "site" for newer perls, as per p5p recommendation (see RT#67667)
Karen Etheridge [Wed, 8 May 2013 22:46:00 +0000]
depend on the version of Test::More that added done_testing
Peter Rabbitson [Wed, 8 May 2013 21:01:31 +0000]
Backcompaterize
Karen Etheridge [Sun, 5 May 2013 04:58:43 +0000]
Release commit for 1.000012
Karen Etheridge [Sun, 5 May 2013 04:57:51 +0000]
fix versions in changelog to match the version format we actually shipped
Karen Etheridge [Sun, 5 May 2013 04:52:44 +0000]
convert to using Distar
Karen Etheridge [Sun, 5 May 2013 04:38:48 +0000]
changelog for __END__ fix
tokuhirom [Tue, 30 Apr 2013 06:41:11 +0000]
Parse POD after __END__
See https://rt.cpan.org/Ticket/Display.html?id=79656
Karen Etheridge [Sun, 5 May 2013 04:31:42 +0000]
bump version to 1.0.12 for release
Karen Etheridge [Sun, 5 May 2013 04:31:16 +0000]
header for the Changes file
Karen Etheridge [Sun, 5 May 2013 04:30:58 +0000]
changelog for recent patches
tokuhirom [Tue, 30 Apr 2013 07:19:17 +0000]
Fixed `$metadata->contains_pod`. Because $#x is -1 origin.
Edward Zborowski [Wed, 27 Feb 2013 07:36:12 +0000]
Improve package detection regular expression
Added tests to metadata.t for valid and invalid package names. Updated
regular expressions within Module::Metadata so that invalid package
names are not passed along as valid package names
Karen Etheridge [Sat, 22 Dec 2012 08:22:28 +0000]
add git repository metadata
Karen Etheridge [Sat, 22 Dec 2012 08:07:04 +0000]
fix bad version in Changes
Karen Etheridge [Sat, 22 Dec 2012 08:07:36 +0000]
no trailing whitespace
Chris Nehren [Thu, 16 Aug 2012 19:56:39 +0000]
Ready 1.0.11 for release
Chris Nehren [Thu, 16 Aug 2012 04:53:31 +0000]
remove other spurious warning
Chris Nehren [Thu, 16 Aug 2012 00:13:24 +0000]
apeiron is an idiot
Chris Nehren [Thu, 16 Aug 2012 00:05:04 +0000]
Do the (dev) release dance
Chris Nehren [Tue, 7 Aug 2012 21:38:13 +0000]
Remove warning for when modules don't do $VERSION = eval $VERSION.
In a non-trivial number of cases this will be triggered on code one
doesn't have any control over, and thus can't really fix--the verbosity
therefore doesn't actually provide any benefit to the user. In the
original use case (Module::Build::ModuleInfo) this sort of warning makes
good sense as a sanity check for authors. It has no place in a general
purpose library, though.
... not to mention the bloody thing was an unless/else block. Seriously?
And the warning did not at all communicate what the actual problem was.
Bad UX all around.
Vincent Pit [Mon, 30 Jul 2012 22:48:58 +0000]
Test for __(?:DATA|END)__ in the "code" section of the loop
If the line is =cut, then it can't possibly be __DATA__ or __END__.
Vincent Pit [Mon, 30 Jul 2012 19:26:03 +0000]
Detect POD sections like perl would
perl considers that a POD section begins with a line that starts by "=X",
X being any alphabetic character, and ends by "=cut" followed by a
non-alphabetic character. This commit makes Module::Metadata follow this
strategy.
Note that there's still a gotcha : "=X" must be a statement to start a POD
section. This means that in
my $x
=pod
;
'pod' is treated as a bareword, hence is compiled to either a string
literal or a function call depending on whether a pod() sub has been
previously declared in the current package. Module::Metadata cannot do
anything about this situation.
This commit partially reverts the previous commit
a4aafbc2.
Vincent Pit [Mon, 30 Jul 2012 16:38:13 +0000]
Be stricter about which =XXX are POD keywords
Vincent Pit [Mon, 30 Jul 2012 15:46:53 +0000]
"defined $x ? $x : undef" better written as "$x"
Vincent Pit [Mon, 30 Jul 2012 15:36:16 +0000]
Don't skip lines beginning by # in POD
They are only comments in code.
Vincent Pit [Mon, 30 Jul 2012 15:26:06 +0000]
Don't collect "=cut" at the end of a POD section
Vincent Pit [Mon, 30 Jul 2012 14:57:53 +0000]
A couple of tests about commented versions
Vincent Pit [Mon, 30 Jul 2012 14:33:32 +0000]
POD tweaks
Vincent Pit [Mon, 30 Jul 2012 13:53:49 +0000]
Properly handle BOMs at the beginning of the file
This applies to new_from_file and new_from_module, but not new_from_handle.
This fixes RT #78434.
Vincent Pit [Sun, 29 Jul 2012 19:16:01 +0000]
Bump version to 1.0.10 and update Changes
Craig A. Berry [Sun, 29 Jul 2012 17:58:38 +0000]
Portability fix-ups for new_from_module()
This fixes test failures on VMS, and resolves RT #76030.
Vincent Pit [Sun, 29 Jul 2012 17:54:33 +0000]
Test package_versions_from_directory with regard to case-sensitivity
Jerry D. Hedden [Sun, 29 Jul 2012 17:35:02 +0000]
Fix t/metadata.t failure under Cygwin
This fixes RT #78376.
Vincent Pit [Sun, 29 Jul 2012 10:02:35 +0000]
Only compile $PKG_REGEXP and $VERS_REGEXP once
These regexps are static and so can benefit from the /o modifier.
Profiling shows that this gives a 15% speedup for _parse_fh().
Vincent Pit [Sat, 28 Jul 2012 17:22:11 +0000]
Only call _parse_version_expression() for lines that contain VERSION
This saves a method call for each source line that does not contain
'VERSION', yielding a whopping 30% speedup for _parse_fh().
Vincent Pit [Sat, 28 Jul 2012 17:11:29 +0000]
Optimize POD section handling in _parse_fh()
This is one of the hot spots that NYTProf points out for _parse_fh().
Avoiding the negative lookahead and the redundant regexp match for /^=cut/
yields a 10% speedup.
David Golden [Tue, 3 Apr 2012 20:07:23 +0000]
gitignore: MANIFEST and dist tarball/dir
David Golden [Wed, 8 Feb 2012 16:58:39 +0000]
Bump version to 1.000009 and prep Changes for release
David Golden [Wed, 8 Feb 2012 16:57:32 +0000]
Make all prereqs explicit in Makefile.PL
David Golden [Wed, 8 Feb 2012 16:53:49 +0000]
use croak instead of die
David Golden [Wed, 8 Feb 2012 16:41:58 +0000]
add required 'version' arg to provides()
David Golden [Wed, 8 Feb 2012 03:30:50 +0000]
updated Changes
David Golden [Tue, 7 Feb 2012 22:03:58 +0000]
bump version to 1.0.8
David Golden [Tue, 7 Feb 2012 22:03:28 +0000]
document that packages_inside is unfiltered
David Golden [Tue, 7 Feb 2012 21:58:23 +0000]
add "provides" method for correct CPAN META field generation
David Golden [Tue, 7 Feb 2012 19:37:52 +0000]
test package_versions_from_directory
David Golden [Wed, 7 Sep 2011 16:00:42 +0000]
Bump version to 1.0.7
David Golden [Wed, 7 Sep 2011 15:58:31 +0000]
Backport VMS fixes from blead [RT #70781]
Dot is the directory delimiter on VMS, so it's awkward at best to use it
in directory names. Blead commit
4eb81ef279, "Update Module-Metadata to
CPAN version 1.000005" introduced two new directories with dots in the
name, which confused the manifest checker and broke the build on VMS.
David Golden [Mon, 29 Aug 2011 19:46:56 +0000]
Bump version to 1.0.6 and update Changes
Vincent Pit [Mon, 29 Aug 2011 19:20:05 +0000]
Support "package NAME BLOCK" and "package NAME VERSION BLOCK"
Vincent Pit [Mon, 29 Aug 2011 19:06:32 +0000]
Ignore MYMETA.json
Vincent Pit [Mon, 29 Aug 2011 18:05:19 +0000]
Test undefined $VERSION
David Golden [Wed, 3 Aug 2011 01:38:30 +0000]
Edited documentation
David Golden [Wed, 3 Aug 2011 01:17:27 +0000]
Add new_from_handle method [RT #68875]
David Golden [Wed, 3 Aug 2011 00:34:54 +0000]
Fix references to ModuleInfo [RT #66133]
David Golden [Wed, 3 Aug 2011 00:25:07 +0000]
bump version to 1.000005
David Golden [Wed, 3 Aug 2011 00:24:13 +0000]
update Changes for release