Rafael Garcia-Suarez [Thu, 8 Oct 2009 18:11:41 +0000]
Disable strictures while setting $VERSION in a "package" statement
Rafael Garcia-Suarez [Thu, 8 Oct 2009 13:13:18 +0000]
Merge branch 'feature/package-name-version' into blead
Rafael Garcia-Suarez [Thu, 8 Oct 2009 13:12:11 +0000]
Documentation typo
Rafael Garcia-Suarez [Thu, 8 Oct 2009 12:56:56 +0000]
Simplify code that sets $VERSION on the "package" line
Nicholas Clark [Thu, 8 Oct 2009 09:10:30 +0000]
Avoid using bytes in require.t, as pack "C0U" does what we need.
Nicholas Clark [Thu, 8 Oct 2009 08:51:36 +0000]
Avoid using the strict pragma in retainedlines.t - use may not work yet.
Nicholas Clark [Thu, 8 Oct 2009 08:47:00 +0000]
Avoid using the strict pragma in colon.t - use may not work yet.
Nicholas Clark [Thu, 8 Oct 2009 08:26:01 +0000]
Avoid using pragmata in fold.t - use may not work yet.
Nicholas Clark [Thu, 8 Oct 2009 08:21:42 +0000]
Avoid using pragmata in opsubs.t - use may not work yet.
Nicholas Clark [Thu, 8 Oct 2009 08:18:31 +0000]
Avoid using the warnings pragma in proto.t - use may not work yet.
Rafael Garcia-Suarez [Thu, 8 Oct 2009 12:31:27 +0000]
Restore MAD handling of package statements
Since the version seems unused by MAD in "use", do the same
for "package"...
Rafael Garcia-Suarez [Thu, 8 Oct 2009 10:13:38 +0000]
Let tell() report warnings on unopened filehandles
(fixes a bug introduced by previous patch)
Rafael Garcia-Suarez [Thu, 8 Oct 2009 09:44:21 +0000]
Make tell() fail properly if called without an argument and when no previous file was read
This makes tell() return -1, and sets errno to EBADF, thus
restoring the 5.8.x behaviour
Rafael Garcia-Suarez [Thu, 8 Oct 2009 09:33:06 +0000]
Properly return a syntax error instead of segfaulting if each/keys/values is used without an argument
Chris Williams [Thu, 8 Oct 2009 08:52:51 +0000]
Updated Object-Accessor to CPAN version 0.36
Changes for 0.36 Thu Oct 8 09:42:36 BST 2009
=================================================
* Apply patch to fix ABSTRACT in core, RT #49563
from Jerry Hedden.
Nicholas Clark [Thu, 8 Oct 2009 06:44:05 +0000]
Move script.t from t/comp to t/run, as it's a test for invoking perl.
Chris Williams [Wed, 7 Oct 2009 21:15:53 +0000]
CPAN::YACSmoke has been deprecated and minismokebox is a much more robust CPAN testing framework. Updated the links accordingly.
Nicholas Clark [Wed, 7 Oct 2009 18:16:11 +0000]
Add Porting/release_schedule.pod to MANIFEST.
Nicholas Clark [Wed, 7 Oct 2009 18:15:34 +0000]
Fix Pod errors spotted by podcheck.t
Nicholas Clark [Wed, 7 Oct 2009 19:19:21 +0000]
Makefile and makefile only exist on case-sensitive file systems, so allow them.
Max Maischein [Tue, 6 Oct 2009 16:10:42 +0000]
Remove BEGIN{}, use '..', part deux
Rafael Garcia-Suarez [Tue, 6 Oct 2009 21:01:35 +0000]
Add tests for syntax errors in "package Name VERSION"
David Golden [Tue, 6 Oct 2009 20:02:53 +0000]
Expand on cookbook todo
David Golden [Tue, 6 Oct 2009 18:13:31 +0000]
Add perltodo: write an XS cookbook
Jesse Vincent [Tue, 6 Oct 2009 17:33:32 +0000]
Porting/checkAUTHORS.pl now runs clean
Jesse Vincent [Tue, 6 Oct 2009 17:06:12 +0000]
Further clean up checkAUTHORS.pl output (fixing encoded @ signs)
David Golden [Tue, 6 Oct 2009 10:48:48 +0000]
Add 'package NAME VERSION' syntax
This patch adds support for setting the $VERSION of a namespace
when the namespace is declared with 'package'. It eliminates the
need for 'our $VERSION = ...' and similar constructs. E.g.
package Foo::Bar 1.23;
# $Foo::Bar::VERSION == 1.23
There are several advantages to this:
* VERSION is parsed in *exactly* the same way as 'use NAME VERSION'
* $VERSION is set at compile time
* Eliminates '$VERSION = ...' and 'eval $VERSION' clutter
* As it requires VERSION to be a numeric literal or v-string
literal, it can be statically parsed by toolchain modules
without 'eval' the way MM->parse_version does for '$VERSION = ...'
* Alpha versions with underscores do not need to be quoted; static
parsing will preserve the underscore, but during compilation, Perl
will remove underscores as it does for all numeric literals
During development of this, there was discussion on #corehackers and
elsewhere that this should also allow other metadata to be set such as
"status" (stable/alpha) or "author/authority". On reflection, those
metadata are not very well defined yet and likely should never be
encoded into Perl core parsing so they can be freely changed in the
future. (They could perhaps be achieved via a comment on the same line
as 'package NAME VERSION'.)
Version numbers, however, already have a very specific definition and
use defined in the core through 'use NAME VERSION'. This patch merely
provides appropriate symmetry for setting $VERSION with the exact same
parsing and semantics as 'use'.
It does not break old code with only 'package NAME', but code that
uses 'package NAME VERSION' will need to be restricted to perl 5.11.X.
This is analogous to the change to open() from two-args to three-args.
Users requiring the latest Perl will benefit, and perhaps N years from
now it will become standard practice when Perl 5.12 is targeted the
way that 5.6 is today.
The patch does not prevent 'package NAME VERSION' from being used
multiple times for the same package with different version numbers, but
nothing prevents $VERSION from being modified arbitrarily at runtime,
either, so I see no urgen reason to add limitations or warnings so
long as Perl uses a global $VERSION variable for package version
numbers.
I am posting this patch to the p5p list for discussion and review. If
there seems to be general assent (or lack of dissent), I will go ahead
and commit the patch to blead.
Nicholas Clark [Tue, 6 Oct 2009 14:58:31 +0000]
sort @files once, outside the loop.
Nicholas Clark [Tue, 6 Oct 2009 14:26:32 +0000]
Standardise t/lib/*.t on ./test.pl, and remove BEGIN boilerplate.
Nicholas Clark [Tue, 6 Oct 2009 14:26:18 +0000]
Remove commented out reference to Test::More
Nicholas Clark [Tue, 6 Oct 2009 14:09:00 +0000]
Standarise t/porting/*.t on ./test.pl, and remove BEGIN boilerplate.
Nicholas Clark [Tue, 6 Oct 2009 12:43:55 +0000]
Replace a hardcoded temporary file name with test.pl's tempfile().
Nicholas Clark [Tue, 6 Oct 2009 12:05:20 +0000]
Standardise t/uni/*.t on ./test.pl, and remove PERL_CORE boilerplate.
TestInit sets up the directory for us.
Also remove unncessary C<use Encode>s.
Nicholas Clark [Tue, 6 Oct 2009 07:24:08 +0000]
Don't attempt UTF-8 cache assertion for SVs with invalid SvPVX() (eg overloaded)
Fixes RT 69422.
However, I'm not actually sure whether we should even be caching the results of
UTF-8 operations on overloading, given that nothing stops overloading returning
a different value every time it's called.
Jesse Vincent [Tue, 6 Oct 2009 03:56:43 +0000]
more pod cleanups based on the new podcheck.t
Jesse Vincent [Tue, 6 Oct 2009 03:42:38 +0000]
A number of pod fixes found by podcheck.t
Jesse Vincent [Tue, 6 Oct 2009 03:56:56 +0000]
podcheck.t now uses MANIFEST to choose which files it should check
Jesse Vincent [Tue, 6 Oct 2009 01:42:14 +0000]
We don't actually want to check .PL files
Max Maischein [Mon, 5 Oct 2009 20:49:09 +0000]
Check POD in lib/, ext/ and pod/
Alex Vandiver [Mon, 5 Oct 2009 23:45:58 +0000]
Note the one mistake in perl.git's history, and the appropriate graft to remove it
Message-Id: <
1254775127-18136-1-git-send-email-alex@chmrr.net>
Eric Brine [Wed, 23 Sep 2009 23:20:52 +0000]
Adding ikegami to AUTHORS
Message-ID: <
f86994700910051044p6ef5e09dpf0f058714c2d1e6@mail.gmail.com>
David Golden [Mon, 5 Oct 2009 21:46:36 +0000]
Explain using git send-email for patches
David Golden [Mon, 5 Oct 2009 15:31:12 +0000]
Update ExtUtils::ParseXS to 2.21
2.21 - Mon Oct 5 11:17:53 EDT 2009
Bug fixes:
- Adds full path in INCLUDE #line directives (RT#50198) [patch by "spb"]
Other:
- Updated copyright and maintainer list
2.20_07 - Sat Oct 3 11:26:55 EDT 2009
Bug fixes:
- Use "char* file" for perl < 5.9, not "char[] file"; fixes mod_perl
breakage due to prior attempts to fix RT#48104 [David Golden]
2.20_06 - Fri Oct 2 23:45:45 EDT 2009
Bug fixes:
- Added t/typemap to fix broken test on perl 5.6.2 [David Golden]
- More prototype fixes for older perls [Goro Fuji]
- Avoid "const char *" in test files as it breaks on 5.6.2 [Goro Fuji]
Other:
- Merged changes from 2.2004 maintenance branch (see 2.200401 to 2.200403)
[David Golden]
2.20_05 - Sat Aug 22 21:46:56 EDT 2009
Bug fixes:
- Fix prototype related bugs [Goro Fuji]
- Fix the SCOPE keyword [Goro Fuji]
Nicholas Clark [Mon, 5 Oct 2009 19:04:13 +0000]
In Perl_moreswitches(), merge 2 string constants in the code implementing -v.
Nicholas Clark [Mon, 5 Oct 2009 18:48:10 +0000]
$^O is initalised to OSNAME, so no need to return the latter from Internals::V.
Saves having object code to build one SV that Config::_V can find out by itself.
Nicholas Clark [Mon, 5 Oct 2009 18:20:49 +0000]
Move initialising PL_osname from S_init_predump_symbols to perl_construct().
Jesse Vincent [Mon, 5 Oct 2009 19:05:57 +0000]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
* 'blead' of ssh://perl5.git.perl.org/gitroot/perl:
Remove :raw open mode from tests
Jesse Vincent [Mon, 5 Oct 2009 19:03:53 +0000]
Adding the current stub of a release schedule for blead to Porting/
Max Maischein [Mon, 5 Oct 2009 17:03:19 +0000]
Remove :raw open mode from tests
Message-ID: <
4ACA2753.4080100@corion.net>
Rafael Garcia-Suarez [Mon, 5 Oct 2009 11:53:00 +0000]
Upgrade File::Path to 2.08 (and add taint.t test)
Yves Orton [Mon, 5 Oct 2009 07:34:52 +0000]
in regexec.c move the BOUND logic out of the way of the special CC logic
This is a first step towards macroizing the special CC handler logic so
it is easier to maintain them, for instance interestng optimisations are
being used in one, but not all, even though the logic is sharable. By
moving the BOUND logic out of the way the code repition is much clearer.
Yves Orton [Sun, 4 Oct 2009 11:19:59 +0000]
add tests to make sure the \s and [\s] match the same thing
Note: we currently fail these tests. This will be recitified.
Steve Hay [Mon, 5 Oct 2009 07:54:49 +0000]
Win32API-File is maintained by CHORNY
Message-ID: <
99f9741ee79af34e132fdb7538318cf2.squirrel@mail.corion.net>
Steve Hay [Sun, 4 Oct 2009 23:43:28 +0000]
Win32API-File has now moved to cpan/
and its build by-product is now ignored by the cpan/.gitignore
Max Maischein [Sun, 4 Oct 2009 17:45:41 +0000]
Ignore cpan/Win32API-File/cFile_pc_to_blib build by-product
Message-ID: <
4AC8EACC.70802@corion.net>
Yves Orton [Sun, 4 Oct 2009 15:00:10 +0000]
refactor some common logic in regexec.c
Yves Orton [Sun, 4 Oct 2009 16:39:49 +0000]
make test-reonly bypass the non-xs extensions
Rafael Garcia-Suarez [Sun, 4 Oct 2009 16:11:13 +0000]
Run "cd pod ; ../perl -I../lib buildtoc --build-all"
Rafael Garcia-Suarez [Sun, 4 Oct 2009 16:09:14 +0000]
Don't autovivify a spurious key "all" in the %Targets hash
Vincent Pit [Sun, 4 Oct 2009 13:02:56 +0000]
Apply the same policy for the value returned by push() and unshift()
That is, only push the len when the static context is not void, and honour
len magic.
Jesse Vincent [Sat, 3 Oct 2009 21:43:19 +0000]
Fix pod toc generation for new perldelta
Spotted by Jerry Hedden
Jesse Vincent [Sat, 3 Oct 2009 21:18:19 +0000]
'make distclean now results in an actually-clean tree.
Jesse Vincent [Sat, 3 Oct 2009 20:24:06 +0000]
Added a perldeta file for 5.11.1
Jesse Vincent [Sat, 3 Oct 2009 20:22:17 +0000]
Correcting mistaken description of 'delete local' in perl5110delta
Reported by nothingmuch++ and rjbs++
Abigail [Sat, 3 Oct 2009 16:37:46 +0000]
Mention Jesse as pumpkin
Steve Hay [Sat, 3 Oct 2009 13:04:31 +0000]
Make Win32 treat IO-Compress as an XS extension, as was done elsewhere by
commit
4cc80fc4cbbd82e20f7b14b68abb53d552076022
Something is still wrong with the treatment of IO-Compress on (at least)
Win32, though--see:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2009-10/msg00061.html
George Greer [Sat, 3 Oct 2009 00:12:08 +0000]
Avoid false negatives on Win32 with Shell.t tests.
On DOS and Windows, the 'dir' command includes the number of bytes free on
the filesystem so when t/Shell.t tries to compare two different 'dir' outputs
the test can fail because of other, unrelated activity on the filesystem.
Message-ID: alpine.LFD.2.00.
0910022024380.18604@ein.m-l.org
Rafael Garcia-Suarez [Sat, 3 Oct 2009 10:01:40 +0000]
Make Module::Corelist recognise $] as a version number on 5.11.0
Bump version to 2.20
Rafael Garcia-Suarez [Sat, 3 Oct 2009 09:43:06 +0000]
Update Changes/README for 2.19, version of Module::CoreList shipped with 5.11.0
Rafael Garcia-Suarez [Sat, 3 Oct 2009 07:56:42 +0000]
Change warning "Unicode character is illegal" to more accurate description
That now reads "Unicode non-character is illegal in interchange" and the
perldiag documentation is expanded a bit.
Rafael Garcia-Suarez [Sat, 3 Oct 2009 07:35:27 +0000]
Adapt test to accept local uncommitted changes
Jesse Vincent [Fri, 2 Oct 2009 21:41:57 +0000]
Rather than list all of the CPAN dists in cpan/ not to index, make use of the fact that noindex is path based and just list cpan/
Jesse Vincent [Fri, 2 Oct 2009 18:26:19 +0000]
Added the git tag step for releases from Yves
Jesse Vincent [Fri, 2 Oct 2009 18:21:04 +0000]
Added another cleaning step to the release manager guide's build recipe
Jesse Vincent [Fri, 2 Oct 2009 18:20:15 +0000]
add new release to perlhist
Jesse Vincent [Fri, 2 Oct 2009 18:17:42 +0000]
Path and bug fixes in the release_managers_guide
Jesse Vincent [Fri, 2 Oct 2009 18:16:47 +0000]
Update Module::CoreList for 5.11.0
Jesse Vincent [Fri, 2 Oct 2009 18:11:25 +0000]
Update META.yml
Jesse Vincent [Fri, 2 Oct 2009 18:10:54 +0000]
Our makemeta invocation was wrong (after miniperl stopped working)
Jesse Vincent [Fri, 2 Oct 2009 17:56:56 +0000]
Typo fixes in perldelta
Jesse Vincent [Fri, 2 Oct 2009 17:39:03 +0000]
fixing a typo in the release manager guide
Jesse Vincent [Fri, 2 Oct 2009 17:38:39 +0000]
podchecker nits in perldelta fixed
Jesse Vincent [Fri, 2 Oct 2009 17:29:34 +0000]
README.vms version bumps
Nicholas Clark [Fri, 2 Oct 2009 17:33:43 +0000]
Change
e40af2cd omitted to update mkpport.lst's path to Win32API::File.
Nicholas Clark [Fri, 2 Oct 2009 17:21:32 +0000]
Move Locale::Maketext::Simple from dist/ to cpan/
My mistake - it should always have been here, as the canonical upstream is
Best Practical's svn.
Nicholas Clark [Fri, 2 Oct 2009 17:12:44 +0000]
Move Storable from ext/ to dist/
Nicholas Clark [Fri, 2 Oct 2009 16:57:13 +0000]
Move Win32 from ext/ to cpan/
Nicholas Clark [Fri, 2 Oct 2009 16:42:02 +0000]
Move ExtUtils::Constant from ext/ to cpan/
Nicholas Clark [Fri, 2 Oct 2009 16:33:25 +0000]
We don't actually need constant to bootstrap the nonxs extensions.
Nicholas Clark [Fri, 2 Oct 2009 16:32:55 +0000]
Move Win32API::File from ext/ to cpan/
Nicholas Clark [Fri, 2 Oct 2009 16:23:14 +0000]
Change
204606f4 ommited to update make_ext.pl's path to Text::ParseWords
Nicholas Clark [Fri, 2 Oct 2009 16:21:16 +0000]
Move Time::Piece from ext/ to cpan/
Nicholas Clark [Fri, 2 Oct 2009 16:12:07 +0000]
Move Time::HiRes from ext/ to cpan/
Nicholas Clark [Fri, 2 Oct 2009 16:00:06 +0000]
Move Tie::File from ext/ to cpan/
Rafael Garcia-Suarez [Fri, 2 Oct 2009 15:52:42 +0000]
"Malformed UTF-16 surrogate" is a fatal error
Nicholas Clark [Fri, 2 Oct 2009 15:47:45 +0000]
Move Text::Soundex from ext/ to cpan/
Nicholas Clark [Fri, 2 Oct 2009 15:39:27 +0000]
Move Text::ParseWords from ext/ to cpan/
Nicholas Clark [Fri, 2 Oct 2009 15:29:35 +0000]
Move Text::Balanced from ext/ to cpan/
Nicholas Clark [Fri, 2 Oct 2009 15:19:41 +0000]
Move Test::Simple from ext/ to cpan/
Nicholas Clark [Fri, 2 Oct 2009 15:07:07 +0000]
Move Term::Cap from ext/ to cpan/