14 years agoBump Safe to version 2.25
Rafael Garcia-Suarez [Sun, 7 Mar 2010 21:37:52 +0000]
Bump Safe to version 2.25

14 years agoFurther improvements to the security fix in 16ac9e9a4185d3315152ade5286d4dd3d25bff32
Nick Cleaton [Sun, 7 Mar 2010 14:27:31 +0000]
Further improvements to the security fix in 16ac9e9a4185d3315152ade5286d4dd3d25bff32

- Destroy all stash entries at once to avoid race conditions.
- For that we save away reference to stashes entries (not
  stash entries themselves like previously, to avoid trigerring
  tie methods)
- Don't skip sub-packages that might be named "main::"

14 years agoRevert "Upgrade to IPC::SysV 2.02" - We're frozen. This will be great when we unfreeze
Jesse Vincent [Sun, 7 Mar 2010 20:31:23 +0000]
Revert "Upgrade to IPC::SysV 2.02" - We're frozen. This will be great when we unfreeze

This reverts commit 8a720e6ba3939d5db4327226c93348d5acf35145.

14 years agoRevert "Upgrade to Devel::PPPort 3.19_02" - we're frozen. This will be great when...
Jesse Vincent [Sun, 7 Mar 2010 20:30:56 +0000]
Revert "Upgrade to Devel::PPPort 3.19_02" - we're frozen. This will be great when we unfreeze

This reverts commit bfc37ff708b737d2490a23505b932c94f1898073.

14 years agoMerge remote branch 'origin/blead' into blead
Marcus Holland-Moritz [Sun, 7 Mar 2010 15:59:12 +0000]
Merge remote branch 'origin/blead' into blead

14 years agoUpgrade to IPC::SysV 2.02
Marcus Holland-Moritz [Sun, 7 Mar 2010 15:55:48 +0000]
Upgrade to IPC::SysV 2.02

14 years agoOnly define PERL_PATCHNUM when either git or the .patch file is available
Gisle Aas [Tue, 2 Mar 2010 19:42:39 +0000]
Only define PERL_PATCHNUM when either git or the .patch file is available

This patch also make PERL_GIT_UNCOMMITTED_CHANGES useful and thus avoids
always adding the "*" to the 'perl -v' output.

14 years agoUpgrade to Devel::PPPort 3.19_02
Marcus Holland-Moritz [Sun, 7 Mar 2010 12:48:24 +0000]
Upgrade to Devel::PPPort 3.19_02

14 years agoModuule::Build test tweaks for VMS.
Craig A. Berry [Sun, 7 Mar 2010 00:54:30 +0000]
Moduule::Build test tweaks for VMS.

More complete fix available upstream at:

http://rt.cpan.org/Public/Bug/Display.html?id=55288

14 years agoExtUtils-CBuilder test tweak for VMS.
Craig A. Berry [Sun, 7 Mar 2010 00:51:18 +0000]
ExtUtils-CBuilder test tweak for VMS.

Idential to upstream fix at https://rt.cpan.org/Ticket/Display.html?id=55236

14 years agoMerge branch 'dual/Safe' into blead
Rafael Garcia-Suarez [Sat, 6 Mar 2010 21:44:12 +0000]
Merge branch 'dual/Safe' into blead

14 years agoBump version to 2.24 and update Changes
Rafael Garcia-Suarez [Sat, 6 Mar 2010 21:39:07 +0000]
Bump version to 2.24 and update Changes

14 years agoClean the stashes from the Safe compartment after evaluation of code.
Rafael Garcia-Suarez [Sat, 6 Mar 2010 21:30:47 +0000]
Clean the stashes from the Safe compartment after evaluation of code.

This way, objects created from inside the Safe compartment won't be
able to call transparently code compiled in the Safe compartment,
without the restrictions being anymore in place.

14 years agoFix an example for LC_COLLATE in POSIX.pod that actually sets LC_ALL
Vincent Pit [Wed, 3 Mar 2010 13:48:58 +0000]
Fix an example for LC_COLLATE in POSIX.pod that actually sets LC_ALL

Spotted by Olivier Raginel.

14 years agoRevert "Forbid labels with keyword names"
Jan Dubois [Wed, 3 Mar 2010 00:24:23 +0000]
Revert "Forbid labels with keyword names"

This reverts commit f71d6157c7933c0d3df645f0411d97d7e2b66b2f.

Revert "Add new error "Can't use keyword '%s' as a label""

This reverts commit 28ccebc469d90664106fcc1cb73d7321c4b60716.

14 years agoSetup @INC at compile time because commit ec34a119 needs to load utf8.pm
Jan Dubois [Wed, 3 Mar 2010 02:19:03 +0000]
Setup @INC at compile time because commit ec34a119 needs to load utf8.pm

'.' needs to remain in @INC because the test also loads comp/hints.aux
at compile time too.

14 years ago[perl #73174] swash_init() wasn't saving %^H
David Mitchell [Tue, 2 Mar 2010 20:39:28 +0000]
[perl #73174] swash_init() wasn't saving %^H

14 years agofetching from e.g. github requires a repo name
David Mitchell [Tue, 2 Mar 2010 16:26:36 +0000]
fetching from e.g. github requires a repo name

14 years agoSkip Pod::Parser's find.t on VMS for now.
Craig A. Berry [Tue, 2 Mar 2010 04:01:48 +0000]
Skip Pod::Parser's find.t on VMS for now.

Pending integration of https://rt.cpan.org/Ticket/Display.html?id=55121

14 years agoDon't scrub DCL$PATH unless it's there.
Craig A. Berry [Tue, 2 Mar 2010 01:55:08 +0000]
Don't scrub DCL$PATH unless it's there.

It's optional and this was causing test failures when it didn't exist.

14 years agoCannot portably split on $Config{path_sep} -- use quotemeta($Config{path_sep}).
Craig A. Berry [Tue, 2 Mar 2010 00:56:45 +0000]
Cannot portably split on $Config{path_sep} -- use quotemeta($Config{path_sep}).

Broken in fc5e5837c991d3d3224259ff5c1d728d4e0636e2.

On VMS we were getting:

$ perl -"MConfig" -e "print join('+',split $Config{path_sep}, 'foo|bar|baz');"
f+o+o+|+b+a+r+|+b+a+z

which is a *lot* more pieces than we want.  What was intended was:

$ perl -"MConfig" -e "print join('+',split quotemeta($Config{path_sep}), 'foo|bar|baz');"
foo+bar+baz

No version bump as this is test infrastructure and 1.55 has not been
released outside of development releases of blead.

14 years agoUn-TODO warning test
Rafael Garcia-Suarez [Sun, 28 Feb 2010 22:47:19 +0000]
Un-TODO warning test

14 years agoNote this doesn't work: $re = "\\N{...}"; /$re/
Karl Williamson [Sun, 28 Feb 2010 15:48:33 +0000]
Note this doesn't work: $re = "\\N{...}"; /$re/

14 years agoDocument some re bugs in perlre.pod
Karl Williamson [Fri, 26 Feb 2010 03:45:11 +0000]
Document some re bugs in perlre.pod

14 years agoDocument 5.8 regression #72998 in delta
Karl Williamson [Fri, 26 Feb 2010 03:44:04 +0000]
Document 5.8 regression #72998 in delta

14 years agoDocument parsing changes for [perl #56444] patch
Karl Williamson [Fri, 26 Feb 2010 02:38:15 +0000]
Document parsing changes for [perl #56444] patch

14 years agoRevise wording about /x caveats
Karl Williamson [Fri, 26 Feb 2010 02:17:57 +0000]
Revise wording about /x caveats

14 years agoMention \N{U+...} documentation in delta
Karl Williamson [Fri, 26 Feb 2010 02:16:56 +0000]
Mention \N{U+...} documentation in delta

14 years agoAdd statement about UTF-8 and \N{} to delta
Karl Williamson [Fri, 26 Feb 2010 02:14:30 +0000]
Add statement about UTF-8 and \N{} to delta

14 years agoDocument Unicode case-insensitive [] range bug
Karl Williamson [Fri, 26 Feb 2010 01:48:50 +0000]
Document Unicode case-insensitive [] range bug

14 years agoQuote a code example
Karl Williamson [Fri, 26 Feb 2010 01:39:29 +0000]
Quote a code example

14 years agoAdd deprecation of non-name \N{foo} to delta pod
Karl Williamson [Thu, 25 Feb 2010 23:28:50 +0000]
Add deprecation of non-name \N{foo} to delta pod

14 years agoRevise notes on /x modifier
Karl Williamson [Thu, 25 Feb 2010 22:03:47 +0000]
Revise notes on /x modifier

14 years agoMark \N meaning [^\n] as experimental
Karl Williamson [Thu, 25 Feb 2010 21:43:48 +0000]
Mark \N meaning [^\n] as experimental

14 years agoMention there are places /x modifier is ineffective
Karl Williamson [Thu, 25 Feb 2010 20:41:10 +0000]
Mention there are places /x modifier is ineffective

14 years agoClarify perlrebackslash.pod
Karl Williamson [Thu, 25 Feb 2010 19:49:31 +0000]
Clarify perlrebackslash.pod

14 years agoNote existence (and warn against using) \N{U+c1.c2...}
Karl Williamson [Thu, 25 Feb 2010 19:48:12 +0000]
Note existence (and warn against using) \N{U+c1.c2...}

14 years agoNote that \N{U+...} forces character semantics
Karl Williamson [Thu, 25 Feb 2010 19:36:53 +0000]
Note that \N{U+...} forces character semantics

14 years agoDocument \N{U+...}
Karl Williamson [Thu, 25 Feb 2010 19:35:14 +0000]
Document \N{U+...}

14 years agoMention \N{U+...} in perlunicode.pod
Karl Williamson [Thu, 25 Feb 2010 19:31:12 +0000]
Mention \N{U+...} in perlunicode.pod

14 years agoUpdate documentation
Karl Williamson [Thu, 25 Feb 2010 19:25:04 +0000]
Update documentation

List known bugs, mention new meaning of \N

14 years agoUpdate pods for \N changes
Karl Williamson [Wed, 24 Feb 2010 00:33:35 +0000]
Update pods for \N changes

14 years agoUpdate charnames documentations for \N changes, bugs
Karl Williamson [Wed, 24 Feb 2010 00:31:48 +0000]
Update charnames documentations for \N changes, bugs

\N has a possible new meaning, and mention bug reports filed against
charnames

14 years agoClarify sv.c API wording.
Karl Williamson [Tue, 23 Feb 2010 04:43:35 +0000]
Clarify sv.c API wording.

14 years agofix for [perl #72604] @DB::args and win32 fork
David Mitchell [Sun, 28 Feb 2010 15:13:33 +0000]
fix for [perl #72604] @DB::args and win32 fork

A previous fix for [perl #66108] (7fa38291524c327a3cb23bfe94979e1537743cac)
stopped cloning PL_dbargs, on the grounds that it was usually filled with
garbage (it contains an un-refcounted copy of @_'s elements; once the
function has returned, these may have been freed or reassigned). However,
the fix instead recreated PL_dbargs as a new empty AV that *wasn't* then
associated with the DB::args glob; so modifications to PL_dbargs weren't
seen via @DB::args.

The fix is to simply set it to null when cloning; pp_caller() will
recreate it again if necessary when it is needed.

14 years agobytes.pm: downgrade DEPRECATED to NOTICE
David Mitchell [Fri, 26 Feb 2010 12:50:21 +0000]
bytes.pm: downgrade DEPRECATED to NOTICE

14 years agoRemove unused variable, spotted by Alex Hunsaker
Rafael Garcia-Suarez [Fri, 26 Feb 2010 10:26:45 +0000]
Remove unused variable, spotted by Alex Hunsaker

14 years agoAdd methods wrap_code_ref and wrap_code_refs_within
Tim Bunce [Fri, 26 Feb 2010 10:25:02 +0000]
Add methods wrap_code_ref and wrap_code_refs_within

14 years agoTypo fix
Rafael Garcia-Suarez [Thu, 25 Feb 2010 07:21:07 +0000]
Typo fix

14 years agomore prose fixups to bytes.pm deprecation warning
David Mitchell [Wed, 24 Feb 2010 22:41:09 +0000]
more prose fixups to bytes.pm deprecation warning

(suggested by Dr.Rudd)

14 years agoAlso share SWASHGET in perls < 5.10, before it was translated from perl to C
Rafael Garcia-Suarez [Wed, 24 Feb 2010 14:38:10 +0000]
Also share SWASHGET in perls < 5.10, before it was translated from perl to C

14 years agoAdd more version::vxs routines to the default share
Rafael Garcia-Suarez [Tue, 23 Feb 2010 22:02:58 +0000]
Add more version::vxs routines to the default share

This is probably not completely sufficient yet, but with those,
Miyagawa reports all tests passing on 5.10.0 plus version 0.80.

14 years agoTeach bump-perl-version about additional perl511 references in makedef.pl.
Jan Dubois [Tue, 23 Feb 2010 20:48:58 +0000]
Teach bump-perl-version about additional perl511 references in makedef.pl.

The previous version also missed 2 instances in win32/makefile.mk because
they were written as "perl511$(a)" instead of "perl511.o".

14 years agoRegression test for 34394ecd - SVs that were only on the tmps stack leaked.
Nicholas Clark [Tue, 23 Feb 2010 14:23:31 +0000]
Regression test for 34394ecd - SVs that were only on the tmps stack leaked.

14 years agoSymbol S_no_symref_sv should be static (local to the compilation unit).
Jan Dubois [Tue, 23 Feb 2010 08:54:46 +0000]
Symbol S_no_symref_sv should be static (local to the compilation unit).

14 years agoTeach bump-perl-version about perl511.dll, perl511.lib and perl511s.lib
Jan Dubois [Tue, 23 Feb 2010 02:27:13 +0000]
Teach bump-perl-version about perl511.dll, perl511.lib and perl511s.lib

14 years agoUpdate the release managers' guide: don't push the tag too soon!
Steve Hay [Mon, 22 Feb 2010 23:24:59 +0000]
Update the release managers' guide: don't push the tag too soon!

Remind release managers not to push a new tag until the indexing of
the new uploads has been successful. A problem with indexing 5.11.5
meant that we nearly ended up with 5.11.6 instead, since the 5.11.5
tag had already been pushed.

14 years agoAdd new test in Safe's MANIFEST
Rafael Garcia-Suarez [Mon, 22 Feb 2010 22:43:40 +0000]
Add new test in Safe's MANIFEST

14 years agoBump version to 2.23
Rafael Garcia-Suarez [Mon, 22 Feb 2010 22:31:46 +0000]
Bump version to 2.23

14 years agoAdd some symbols from version::vxs to the default share
Rafael Garcia-Suarez [Mon, 22 Feb 2010 22:09:42 +0000]
Add some symbols from version::vxs to the default share

It appears that the core version.pm works with Safe, but that the
CPAN-upgraded version does not. This will need more investigation
and test coverage, but for now, share the minimal set of symbols
needed to load version.pm in a Safe compartment. This covers
only the XS version of version.pm, not the pure perl alternative.

14 years ago[perl #72942] Can't perform unicode operations in Safe compartment
Tim Bunce [Sun, 21 Feb 2010 16:39:55 +0000]
[perl #72942] Can't perform unicode operations in Safe compartment

The fix is to make Safe load utf8.pm (and ensure utf8_heavy.pl is run)
so it can always share utf8::SWASHNEW.

14 years agoInstall Safe in "site" instead of "perl" for perls > 5.10
Rafael Garcia-Suarez [Thu, 18 Feb 2010 09:57:17 +0000]
Install Safe in "site" instead of "perl" for perls > 5.10

That way it will override the Safe distributed with the core
without actually overwriting it, thanks to the @INC reordering.

14 years agofix prose from previous lib/bytes.pm doc update
David Mitchell [Mon, 22 Feb 2010 17:19:43 +0000]
fix prose from previous lib/bytes.pm doc update

14 years agoBetter explain utf8::upgrade/downgrade/encode/decode
David Mitchell [Mon, 22 Feb 2010 16:44:59 +0000]
Better explain utf8::upgrade/downgrade/encode/decode

Try to make it clear what each does, and the fact that upgrade/downgrade
don't change the logical string value while encode/decode do.

14 years agodeprecate bytes.pm
David Mitchell [Mon, 22 Feb 2010 15:25:16 +0000]
deprecate bytes.pm

14 years agoBram pointed out the new tests hang if the fix for #72878 isn't in place.
Abigail [Mon, 22 Feb 2010 14:36:50 +0000]
Bram pointed out the new tests hang if the fix for #72878 isn't in place.
This commits traps the recursion and throws an exception.

14 years agoAnother minor update to the release managers' guide
Steve Hay [Mon, 22 Feb 2010 12:35:45 +0000]
Another minor update to the release managers' guide

14 years agoDon't multiply define Perl_regcurly in core and the re extension.
Craig A. Berry [Mon, 22 Feb 2010 04:26:15 +0000]
Don't multiply define Perl_regcurly in core and the re extension.

Broken in ff3f963aa0f95ea53996b6a3842b824504b57c79.

14 years agostop skipping ext/Fcntl/t/syslfs.t
David Mitchell [Sat, 20 Feb 2010 21:01:11 +0000]
stop skipping ext/Fcntl/t/syslfs.t

Since the module reorganisation and now that tests run cd'ed to
ext/Fcntl, expecting to run ../perl no longer works.
Also, for the benefit of future generations, make the inability
to find perl a failure rather than a skip, with a more relevant error
message.

14 years agostop cpan/Memoize/t/tie_ndbm.t being skipped
David Mitchell [Sat, 20 Feb 2010 20:03:54 +0000]
stop cpan/Memoize/t/tie_ndbm.t being skipped

Back in 2006, 0b40f9f8cf631862db10aed9706454c7518fef19 added a skip check
for $ENV{TMP} being writeable. This test failed if $TMP wasn't set, but
also, since then this test script has been updated to write its temp files
to the current dir rather than /tmp, so the TMP check is redundant, and is
now removed.

14 years agostop op/groups.t skipping on Linux
David Mitchell [Sat, 20 Feb 2010 19:34:05 +0000]
stop op/groups.t skipping on Linux

My linux (with selinux) includes a "context=" field as part of the
output of "id -a". Make the extraction of the "groups=(.+)" entry
of "id -a" more robust in the presence of unpredictable (in name and
ordering) fields, by splitting on fieldname=(.*), then looking for a field
name of 'groups'.

14 years agoSys-Syslog/t/constants.t couldn't find macros.all
David Mitchell [Sat, 20 Feb 2010 16:02:58 +0000]
Sys-Syslog/t/constants.t couldn't find macros.all

The move from ext/ to cpan/ hadn't been reflected in the pathname
of macros.all. However, since tests are now run from the src dir,
the whole $ENV{PERL_CORE} bit is no longer necessary.
(Note that this line has already been modified from the CPAN version,
so a further change to it doesn't really matter as regards maintaining
sync with CPAN).

14 years agoUpdate Porting/release_managers_guide.pod and Porting/makerel
Steve Hay [Sun, 21 Feb 2010 20:30:34 +0000]
Update Porting/release_managers_guide.pod and Porting/makerel

In the course of releasing perl-5.11.5 I found a few things that are not
quite correct or no longer relevant:

- Add comments on the problems with doing this on Win32
- There are no longer Roman numerals in README.vms (since eb505c2afb6b5ac2aaba7935878ae6494d44732a)
- Note that Module::CoreList's Changes and META.yml files need updating too
- Fix Porting/makerel's null device redirection

One bigger problem remains to be resolved: when run in a normal cmd.exe
shell on Win32, the Porting/makerel script currently generates tarballs
containing world-writable files and directories, which the PAUSE indexer
then rejects as a possible security risk.

14 years agoFix the NAME in two old perlXYZdelta.pod files
Steve Hay [Sun, 21 Feb 2010 19:44:23 +0000]
Fix the NAME in two old perlXYZdelta.pod files

14 years agoCreate perl5116delta and update other versions
Steve Hay [Sun, 21 Feb 2010 19:43:45 +0000]
Create perl5116delta and update other versions

14 years agoStop pod/buildtoc from changing EOLs on Win32
Steve Hay [Sun, 21 Feb 2010 19:41:49 +0000]
Stop pod/buildtoc from changing EOLs on Win32

14 years agoMerge branch 'tie-scalar' into blead
Abigail [Sun, 21 Feb 2010 16:28:39 +0000]
Merge branch 'tie-scalar' into blead

14 years agoUpdate future release schedule
Steve Hay [Sun, 21 Feb 2010 16:20:46 +0000]
Update future release schedule

Put myself down for another release. Hopefully we can get Porting/makerel
and/or the PAUSE indexer sorted out before then to avoid the trouble
experienced rolling perl-5.11.5 from Win32 :-)

14 years agoUpped VERSION
Abigail [Sun, 21 Feb 2010 16:13:27 +0000]
Upped VERSION

14 years agoSince change 9c901649534a1360, vendorlib_stem isn't always added to @INC.
Nicholas Clark [Sun, 21 Feb 2010 14:46:27 +0000]
Since change 9c901649534a1360, vendorlib_stem isn't always added to @INC.

Update lib/Config.t to reflect this.

vendorlib_stem used always to be added if defined. Since that change it is only
added if inc_version_list is also defined, which makes "vendor" behaviour
consistent with "site", where sitelib_stem had always only ever been added to
@INC if inc_version_list is defined.

14 years agoFinal update to perl5115delta.pod
Steve Hay [Sat, 20 Feb 2010 21:08:25 +0000]
Final update to perl5115delta.pod

14 years agoRecord Perl 5.11.5 and a new pumpkin keeper in perlhist
Steve Hay [Sat, 20 Feb 2010 18:34:56 +0000]
Record Perl 5.11.5 and a new pumpkin keeper in perlhist

14 years agoFix Module::CoreList's own $VERSION in 5.11.4
Steve Hay [Sat, 20 Feb 2010 18:21:13 +0000]
Fix Module::CoreList's own $VERSION in 5.11.4

14 years agoUpdate Module::CoreList for Perl 5.11.5
Steve Hay [Sat, 20 Feb 2010 18:20:18 +0000]
Update Module::CoreList for Perl 5.11.5

14 years agoDon't recurse forever if both new() and TIESCALAR() are missing.
Abigail [Sat, 20 Feb 2010 17:55:06 +0000]
Don't recurse forever if both new() and TIESCALAR() are missing.

This should fix issue #72878. Before calling $pkg -> new in TIESCALAR,
we check whether $pkg -> new is actually the new defined in the Tie::Scalar
package; if true, croak instead of calling it.

14 years agoDocument differences between Tie::Scalar and Tie::StdScalar
Abigail [Sat, 20 Feb 2010 17:54:15 +0000]
Document differences between Tie::Scalar and Tie::StdScalar

14 years agoMissed a version bump in README.vms
Steve Hay [Sat, 20 Feb 2010 16:55:22 +0000]
Missed a version bump in README.vms

14 years agoBump version to 5.11.5
Steve Hay [Sat, 20 Feb 2010 16:28:04 +0000]
Bump version to 5.11.5

14 years agoStop Porting/bump-perl-version from changing EOLs on Win32
Steve Hay [Sat, 20 Feb 2010 16:22:41 +0000]
Stop Porting/bump-perl-version from changing EOLs on Win32

14 years agoAlmost the final updates to perl5115delta.pod
Steve Hay [Sat, 20 Feb 2010 15:41:36 +0000]
Almost the final updates to perl5115delta.pod

14 years agoUpdate Porting/Maintainers.pl with version bumps that have been forgotten
Steve Hay [Sat, 20 Feb 2010 15:40:52 +0000]
Update Porting/Maintainers.pl with version bumps that have been forgotten

This should also bump version to 0.82, but only 0.80 is actually on CPAN.
Likewise, Pod::Perldoc should say 3.15_02, but only 3.15_01 is on CPAN.

14 years agounTODO some passing TODO tests in reg_fold.t
David Mitchell [Sat, 20 Feb 2010 15:41:38 +0000]
unTODO some passing TODO tests in reg_fold.t

As far as I can tell these particular tests were never actually TODO,
but were lumped in with other failing tests for ease of coding the .t file

14 years agoFix apidoc for HeUTF8()
Marcus Holland-Moritz [Sat, 20 Feb 2010 14:33:05 +0000]
Fix apidoc for HeUTF8()

HeUTF8() onlu takes one argument.

14 years agoUpdate perl5115delta.pod with new diagnostics
Steve Hay [Sat, 20 Feb 2010 12:00:30 +0000]
Update perl5115delta.pod with new diagnostics

14 years agoPATCH: deprecation warnings for unreasonable charnames
Karl Williamson [Sat, 20 Feb 2010 06:53:36 +0000]
PATCH: deprecation warnings for unreasonable charnames

Prior to now just about anything has been legal for a character name in
\N{...}.  This means that legal code was broken by having \N{3,4} for
example mean [^\n]{3,4}.  Such code doesn't come from standard
charnames, but from legal custom translators.

This patch deprecates "unreasonable" names.  handy.h is changed by the
addition of macros that taken together define the names we deem
reasonable,  namely alpha beginning with alphanumerics and some
punctuations as continuations.

toke.c is changed to parse each name and to raise a warning if any
problematic characters are found.

Some tests and diagnostic documentation are also included.

14 years agoImprove handling of qq(\N{...}); and /x
Karl Williamson [Fri, 19 Feb 2010 21:42:16 +0000]
Improve handling of qq(\N{...}); and /x

It is possible to bypass the lexer's parsing of \N.  This patch causes
the regex compiler to deal with that better.  The compiler no longer
assumes that the lexer parsed the \N.  It generates an error message if
the \N isn't in a form it is expecting, and invalid hexadecimal digits
are now fatal errors, with the position of the error more clearly
marked.

The diagnostic pod has been updated to reflect the new error messages,
with some slight clarifications to the previous ones as well.

14 years agoAdd some missing dVAR's
Marcus Holland-Moritz [Sat, 20 Feb 2010 10:13:00 +0000]
Add some missing dVAR's

Commits c3acb9e0760135dfd888c0ee1b415777d784aabc, 867fa1e2da145229b4db2c6e8d5b51700c15f114
and f0e67a1d29102aa9905aecf2b0f98449697d5af3 added or changed functions that now require a
dVAR declaration to compile with -DPERL_GLOBAL_STRUCT.

14 years agoRegen headers after previous patches
Steve Hay [Sat, 20 Feb 2010 00:49:07 +0000]
Regen headers after previous patches

14 years agoAdd X flag to embed.fnc entries.
Karl Williamson [Sat, 20 Feb 2010 00:12:20 +0000]
Add X flag to embed.fnc entries.

It has been pointed out that the E flag should be accompanied by the X
flag, and is not for these recently changed entries.

14 years agoMove some fncs from Public to extensions visible
Karl Williamson [Fri, 19 Feb 2010 22:26:24 +0000]
Move some fncs from Public to extensions visible

Run
make regen embed.fnc
on this patch.

Several functions are in the public API, but don't need to be.  They are
helpers for the regex engine, and thus need to be visible to extensions
for 'use re "debug"'.