Father Chrysostomos [Wed, 19 Jan 2011 21:31:48 +0000 (13:31 -0800)]
perldelta: <> overloading
Father Chrysostomos [Wed, 19 Jan 2011 21:29:22 +0000 (13:29 -0800)]
perldelta: perlbug and From:
Father Chrysostomos [Wed, 19 Jan 2011 21:27:54 +0000 (13:27 -0800)]
perldelta: Encode 2.42 is already mentioned
Father Chrysostomos [Wed, 19 Jan 2011 21:27:16 +0000 (13:27 -0800)]
perldelta: close/unopened warnings
Father Chrysostomos [Wed, 19 Jan 2011 21:23:22 +0000 (13:23 -0800)]
perldelta: magic and freeing
Father Chrysostomos [Wed, 19 Jan 2011 21:16:56 +0000 (13:16 -0800)]
perldelta: CPAN::Meta::YAML
Father Chrysostomos [Wed, 19 Jan 2011 21:16:11 +0000 (13:16 -0800)]
perldelta: ord("") docs
Father Chrysostomos [Wed, 19 Jan 2011 21:13:14 +0000 (13:13 -0800)]
perldelta: Threads::* upgrades
Father Chrysostomos [Wed, 19 Jan 2011 21:11:13 +0000 (13:11 -0800)]
perldelta: threads* upgrades are already listed
Father Chrysostomos [Wed, 19 Jan 2011 21:10:48 +0000 (13:10 -0800)]
perldelta: regexp debug output
Father Chrysostomos [Wed, 19 Jan 2011 21:06:45 +0000 (13:06 -0800)]
perldelta: pv_escape
Father Chrysostomos [Wed, 19 Jan 2011 21:01:57 +0000 (13:01 -0800)]
perldelta: Log-Message-Simple is already mentioned
Karl Williamson [Wed, 19 Jan 2011 18:18:51 +0000 (11:18 -0700)]
perlunicode.pod: Update for /a
Jesse Vincent [Wed, 19 Jan 2011 14:40:15 +0000 (09:40 -0500)]
First pass through git log for perldelta for 5.13.9
Chris 'BinGOs' Williams [Wed, 19 Jan 2011 14:14:46 +0000 (14:14 +0000)]
Revert "Update Unicode-Collate to CPAN version 0.70 and enable XS version"
This reverts commit
211cc5012284f4bd900fcaa630adbcac69ca6112.
Chris 'BinGOs' Williams [Wed, 19 Jan 2011 14:13:50 +0000 (14:13 +0000)]
Revert "perldelta update for Unicode-Collate upgrade"
This reverts commit
0532e1aed5e1ab09f00f851e5197457adb2e21bb.
Chris 'BinGOs' Williams [Wed, 19 Jan 2011 14:13:23 +0000 (14:13 +0000)]
Revert "Tracked down some other places to make the Unicode-Collate changes"
This reverts commit
7dc5472a0a41a8396671d5586d4c1254a1cb5e8c.
Back out XS switch over
Chris 'BinGOs' Williams [Wed, 19 Jan 2011 14:10:38 +0000 (14:10 +0000)]
Revert "Update Unicode-Collate to CPAN version 0.71"
This reverts commit
cac3df65afe2fed9ad80147a24b5ae6ea601a609.
Backing out change to XS
Nicholas Clark [Wed, 19 Jan 2011 10:34:01 +0000 (10:34 +0000)]
Remove Mac OS classic code from the Errno.pm generation script.
Chris 'BinGOs' Williams [Wed, 19 Jan 2011 10:27:27 +0000 (10:27 +0000)]
Update Log-Message-Simple to CPAN version 0.08
[DELTA]
Changes for 0.08 Wed Jan 19 10:22:12 2011
============================================
* POD fix from Michael Stevens [rt.cpan.org #64877]
Nicholas Clark [Wed, 19 Jan 2011 10:03:56 +0000 (10:03 +0000)]
Remove references to compat3.sym and interp.sym, deleted over 10 years ago.
Nicholas Clark [Wed, 19 Jan 2011 09:50:51 +0000 (09:50 +0000)]
Remove references to Mac OS classic from comments the opcode descriptions.
Leon Timmermans [Tue, 18 Jan 2011 15:40:07 +0000 (16:40 +0100)]
Also unblock signal handlers throwing an exception
Also handle and test the edge case of a signal handler throwing an
exception
Michael Stevens [Tue, 18 Jan 2011 13:18:18 +0000 (13:18 +0000)]
Fix pod warning for empty sections.
Michael Stevens [Tue, 18 Jan 2011 11:33:47 +0000 (11:33 +0000)]
Remove whitespace for pod fix.
Karl Williamson [Wed, 19 Jan 2011 00:23:23 +0000 (17:23 -0700)]
perlre.pod: corrections for /a
Chris 'BinGOs' Williams [Tue, 18 Jan 2011 23:14:55 +0000 (23:14 +0000)]
Update Unicode-Collate to CPAN version 0.71
[DELTA]
0.71 Tue Jan 18 22:29:44 2011
- t/loc_test.t should not fail without Unicode::Normalize.
Karl Williamson [Tue, 18 Jan 2011 23:08:08 +0000 (16:08 -0700)]
regexec.c: Remove break statements from macros
This is so future coders won't be tempted to rely on them.
Karl Williamson [Tue, 18 Jan 2011 23:06:47 +0000 (16:06 -0700)]
regexec.c: Don't rely on break stmts in macros
It is safer and clearer to have the break statement in each case statement at
the source level
Karl Williamson [Tue, 18 Jan 2011 23:01:11 +0000 (16:01 -0700)]
regexec.c: Fix /a complements
This showed up only on some systems in the current test suite, but processing
eg, \D has to care about the target string being utf8.
Karl Williamson [Tue, 18 Jan 2011 22:03:41 +0000 (15:03 -0700)]
regcomp: Disallow multi-char folds in lookbehind
The addition of the ANYOFV regnode to treat multi-char folds in a bracketed
character class has exposed a bug, in which those classes have long been able
to be varying length (due to the multi-char fold), but the compiler wasn't
aware of it. Now it is, and hence won't allow those which have multi-char
folds to be part of a lookbehind pattern, which requires a constant length.
This patch disallows multi-char folds in a lookbehind bracketed character
class.
Karl Williamson [Tue, 18 Jan 2011 19:27:56 +0000 (12:27 -0700)]
op_reg_common.h: add explicit cast
A version of the g++ compiler isn't allowing the implicit cast of U32 to an
enum. Change to use an explicit cast.
Nicholas Clark [Tue, 18 Jan 2011 16:14:43 +0000 (16:14 +0000)]
Remove Mac OS classic code from scripts in utils/
Nicholas Clark [Tue, 18 Jan 2011 15:52:10 +0000 (15:52 +0000)]
Remove Mac OS classic code from tests in lib.
Including all @INC setting boilerplate from lib/Tie/ExtraHash.t, which TestInit
now performs.
Nicholas Clark [Tue, 18 Jan 2011 14:41:38 +0000 (14:41 +0000)]
Convert DosGlob.t to Test::More.
Nicholas Clark [Tue, 18 Jan 2011 14:20:35 +0000 (14:20 +0000)]
Remove Mac OS Classic code from DosGlob.t
Nicholas Clark [Tue, 18 Jan 2011 13:33:44 +0000 (13:33 +0000)]
Remove MacOS Classic code from File::Find's tests.
Nicholas Clark [Tue, 18 Jan 2011 13:08:11 +0000 (13:08 +0000)]
Remove Mac OS Classic docs from DirHandle and File::{Copy,DosGlob,Find}
The documentation for the different behaviour on Mac OS Classic was not
removed when the relevant code was removed in
862f843bac3434c2. That commit
also remove all callers to several Mac OS classic support functions, but not
the functions themselves. Rectify this.
Nicholas Clark [Tue, 18 Jan 2011 11:42:35 +0000 (11:42 +0000)]
Avoid chdir() in buildtoc.
This avoids problems when buildtoc is invoked with a relative path in @INC,
and the environment set to honour UTF-8 locales, and the regexp engine
(attempting to) demand-load UTF-8 swashes.
Nicholas Clark [Tue, 18 Jan 2011 11:18:05 +0000 (11:18 +0000)]
In buildtoc, call podset() for each pod file, instead of passing a list.
Pass the "name" of the pod file as well as the filename, as we already have
both at the call point, instead of podset() needing to infer the name from
the filename.
Nicholas Clark [Tue, 18 Jan 2011 11:10:41 +0000 (11:10 +0000)]
Build perltoc.pod with pragmata sorted by name.
Previously they were actually sorted by full pathname, which isn't logical.
I presume that this is an artefact of all pragmata being in lib/ when
pod/buildtoc was originally written.
Father Chrysostomos [Tue, 18 Jan 2011 06:32:52 +0000 (22:32 -0800)]
perlcall: More grammatical errors
Father Chrysostomos [Tue, 18 Jan 2011 04:21:43 +0000 (20:21 -0800)]
perlcall: subjunctive, not indicative
Father Chrysostomos [Tue, 18 Jan 2011 06:30:22 +0000 (22:30 -0800)]
Add Leon Timmermans to AUTHORS
Leon Timmermans [Mon, 17 Jan 2011 16:59:33 +0000 (17:59 +0100)]
Clarify limitation in safe signals.
Leon Timmermans [Mon, 17 Jan 2011 15:29:11 +0000 (16:29 +0100)]
Added tests for conditional unblocking
Leon Timmermans [Thu, 13 Jan 2011 17:30:59 +0000 (18:30 +0100)]
Remove obsolete macros
Leon Timmermans [Thu, 13 Jan 2011 17:30:29 +0000 (18:30 +0100)]
Conditionally unblock after signal handler[#82040]
Only unblock signal after a safe-signal handler is executed if that signal was
also unblocked before the handler.
Karl Williamson [Tue, 18 Jan 2011 04:43:14 +0000 (21:43 -0700)]
regexec.c: Fix so will compile on Windows
Commit
cfaf538b6276c6a8ef80ff6c66e106c6a4f1caaa introduced changes that cause
this to not compile on Windows. It did not accept empty macro parameters,
unlike gcc. This just creates a placeholder macro that expands to nothing to
give the preprocessor something to grab onto.
Father Chrysostomos [Tue, 18 Jan 2011 04:06:44 +0000 (20:06 -0800)]
perlcall: More punctuation changes
Father Chrysostomos [Tue, 18 Jan 2011 02:11:46 +0000 (18:11 -0800)]
Put the apostrophe in the right place
Michael Stevens [Mon, 17 Jan 2011 21:02:49 +0000 (21:02 +0000)]
Fix line containing only whitespace.
Michael Stevens [Mon, 17 Jan 2011 17:48:10 +0000 (17:48 +0000)]
Update to fix pod errors and improve formatting.
Father Chrysostomos [Tue, 18 Jan 2011 02:08:46 +0000 (18:08 -0800)]
perlcall: dangling modifier
Whilst ‘whilst’ is nice, the sentence as it was before this change
indicated that the stack was in the call_pv call (whatever
that means).
Father Chrysostomos [Tue, 18 Jan 2011 02:05:27 +0000 (18:05 -0800)]
More perlcall clean-up
It is not good style to join two independent clauses with a comma, it
just does not read well.
Hyphenate ‘multi word’ adjective
Inconsistent use of - vs. -- for a dash.
Missing commas
Other punctuation errors
Terribly Inconsistent capitalisation in =head2’s
Other grammatical errors or unclear phrases
Father Chrysostomos [Mon, 17 Jan 2011 02:06:29 +0000 (18:06 -0800)]
Some perlcall clean-up
Multi word adjectives should be hyphenated.
A preposition should not be used like it’s a conjunction.
David Golden [Tue, 18 Jan 2011 01:39:14 +0000 (20:39 -0500)]
Update HTTP::Tiny to CPAN version 0.009
[DELTA]
0.009 2011-01-17 16:29:22 EST5EDT
- Added workaround for IO::Socket::SSL certificate verification bug
- Minor documentation improvements
- POST example added to the eg/ directory in the distribution tarball
David Mitchell [Tue, 18 Jan 2011 00:52:46 +0000 (00:52 +0000)]
t/porting/diag.t: fix indentation in check_file()
The first half of this function used 2-char indentation, then suddenly
switched to 4-char. This meant that end-of-blocks weren't aligned with the
opening! Purely a whitespace change.
David Mitchell [Tue, 18 Jan 2011 00:46:30 +0000 (00:46 +0000)]
vastly speed up t/porting/diag.t
This used to take about 3 minutes of CPU. Reduce this to around
6 seconds (!!) by coalescing and pre-compiling various patterns
that get applied to nearly every line of every source file.
Nicholas Clark [Mon, 17 Jan 2011 16:42:26 +0000 (16:42 +0000)]
Reflow multi-line rules in Win32 makefiles after
2c17609f30aa451f.
pod/buildtoc regenerates these with the line break in a different place.
Karl Williamson [Mon, 17 Jan 2011 15:58:53 +0000 (08:58 -0700)]
Add /a regex modifier
This restricts certain constructs, like \w, to matching in the ASCII range
only.
Karl Williamson [Mon, 17 Jan 2011 15:51:41 +0000 (08:51 -0700)]
regcomp.sym: Add nodes for /a
These aren't used yet.
Karl Williamson [Mon, 17 Jan 2011 15:49:18 +0000 (08:49 -0700)]
add heading for perldelta
Karl Williamson [Mon, 17 Jan 2011 00:46:35 +0000 (17:46 -0700)]
re/charset.t: typo in comment
Karl Williamson [Mon, 17 Jan 2011 00:41:30 +0000 (17:41 -0700)]
regcomp.c: Convert \d \D to a switch{}
Chris 'BinGOs' Williams [Mon, 17 Jan 2011 12:35:54 +0000 (12:35 +0000)]
Update File-Fetch to CPAN version 0.32
[DELTA]
Changes for 0.32 Mon Jan 17 10:26:40 2011
=================================================
* Added support for HTTP::Tiny
Tony Cook [Mon, 17 Jan 2011 08:22:08 +0000 (19:22 +1100)]
test_prep now depends on the pods needed for porting/buildtoc.t
In the other makefiles test_prep (or test-prep) depends on all, so
they shouldn't need updating.
Chris 'BinGOs' Williams [Mon, 17 Jan 2011 08:22:09 +0000 (08:22 +0000)]
Update Maintainers.pl for the recent Unicode-Collate changes
David Golden [Mon, 17 Jan 2011 02:32:21 +0000 (21:32 -0500)]
Update CPAN to CPAN version 1.94_63
[DELTA]
2011-01-16 Andreas J. Koenig <andk@cpan.org>
* release 1.94_63
* address #63357: use Dumpvalue when dumping potential crap (Andreas
Koenig)
* address #62986: new config option use_file_homedir (Andreas Koenig)
* address #64037: new config option prefer_external_tar (Andreas Koenig)
* add support for bootstrapping local::lib when the user does not have
write access to perl's site library directories (David Golden)
* add support for (and prerequisite on) HTTP::Tiny; also adds
prerequisites for MIME::Base64 and Digest::MD5 to support proxy
authentication (David Golden)
* automatic mirror selection now returns only http mirrors (David
Golden)
* add 'atexit' option for cache scanning and cleanup (David Golden)
* now with 421 distroprefs files (but a good portion of them seems
outdated)
Karl Williamson [Sun, 16 Jan 2011 03:46:48 +0000 (20:46 -0700)]
regcomp.c: Clarify comment
Karl Williamson [Sun, 16 Jan 2011 19:19:23 +0000 (12:19 -0700)]
Add plan() call to .t
Karl Williamson [Tue, 28 Dec 2010 23:13:49 +0000 (16:13 -0700)]
regex: Use BOUNDU regnodes
This refactors one area in regexec.c to use BOUNDU, NBOUNDU for
efficiciency, and easier adding of the future BOUNDA.
Karl Williamson [Tue, 28 Dec 2010 22:28:25 +0000 (15:28 -0700)]
regcomp.sym: Remove unused nodes DIGITU, NDIGITU
These are unused because there is no difference between Unicode
semantics and non for digits. That is there are no digit characters in
the 128-255 range.
Karl Williamson [Tue, 28 Dec 2010 22:25:43 +0000 (15:25 -0700)]
regcomp.sym: Add BOUNDU, NBOUNDU regnodes
This will make for somewhat more efficient execution, as won't have to
test the regnode type multiple times, at the expense of slightly bigger
code space.
Karl Williamson [Tue, 28 Dec 2010 17:40:56 +0000 (10:40 -0700)]
regexec.c: Remove unnecessary cBOOLs
These functions already return a boolean.
Karl Williamson [Tue, 28 Dec 2010 16:52:02 +0000 (09:52 -0700)]
regexec.c: Use FLAGS field instead of OP for BOUND node
This makes the equivalent code in BOUND and NBOUND identical so can
factor out, and makes optimization easier, as the FLAGS field is already
required in the vicinity.
Karl Williamson [Tue, 28 Dec 2010 16:33:36 +0000 (09:33 -0700)]
regexec.c: Convert two !=0's to cBOOL
Karl Williamson [Mon, 27 Dec 2010 21:37:50 +0000 (14:37 -0700)]
regexec.c: change variable name to reflect its purpose
Karl Williamson [Mon, 27 Dec 2010 21:36:49 +0000 (14:36 -0700)]
regexec.c: Change '1' to bool TRUE for clarity.
The function is supposed to take a bool.
Karl Williamson [Mon, 27 Dec 2010 21:34:37 +0000 (14:34 -0700)]
regexec.c: refactor and comment the CCC_TRY macros
These are refactored to be more compact, and I think clearer.
Karl Williamson [Mon, 27 Dec 2010 19:04:58 +0000 (12:04 -0700)]
regex: Separate nodes for Unicode semantics \s \w
This patch converts the \s, \w and complements Unicode semantics to
instead of using the flags field of their nodes to instead use separate
nodes. This gains some efficiency, especially useful in tight loops and
backtracking of regexec.c, and prepares the way for easily adding other
semantic variations, such as /a.
It refactors the CCC_TRY... macros. I tried to break this piece up into
smaller chunks, but found it much easier to get to this in one step.
Further patches will do some more refactoring of these.
As part of the CCC_TRY macro refactoring, the lines that include the
test if (! nextchr) are changed to just look for the end-of-string by
position instead of it being NUL. In locales, it could be (however
unlikely), that NUL is a real alphabetic, digit, or space character.
Karl Williamson [Mon, 27 Dec 2010 18:02:59 +0000 (11:02 -0700)]
regcomp.c: add missing code for optimizer for \W
The code here was asymmetrical. It did not account for Unicode
semantics when ORing \W. For \w, \s, and \S it does. This patch
changes the code to be symmetrical.
I spent a couple hours trying to come up with a test, but could not get
this area of the code to execute, which may explain why there has not
been a field report of it. It may be that it is unreachable; there has
been other code in the routine that wasn't.
Karl Williamson [Mon, 27 Dec 2010 04:03:23 +0000 (21:03 -0700)]
regcomp.c: remove unreached code
This code can never be reached, as the switch statement switches on the
regkind of the op, not the op itself; and the kind of all the locale
regnodes is the base regnode itself. For example regkind[ALNUML] is ALNUM.
Karl Williamson [Mon, 27 Dec 2010 01:00:00 +0000 (18:00 -0700)]
regex: Add separate regnodes for \w \s Uni semantics
These nodes aren't actually used yet, but allow the splitting out of
Unicode semantics for \w, \s, and complements
Karl Williamson [Sun, 26 Dec 2010 17:44:15 +0000 (10:44 -0700)]
regexec.c: Replace duplicated code by its macro
Replace two instances of code that is the same as that given by an already
existing macro.
Karl Williamson [Sun, 26 Dec 2010 17:40:29 +0000 (10:40 -0700)]
regcomp.sym: add clarifying comments
Karl Williamson [Tue, 28 Dec 2010 23:16:49 +0000 (16:16 -0700)]
op_reg_common: correct path in comment
Karl Williamson [Sun, 26 Dec 2010 17:39:12 +0000 (10:39 -0700)]
regex: Convert regnode FLAGS fields to charset enum
The FLAGS fields of certain regnodes were encoded with USE_UNI if
unicode semantics were to be used. This patch instead sets them to the
character set used, one of the possibilities of which is to use unicode
semantics. This shortens the code somewhat, and always puts the
character set in the flags field, which can allow use of switch
statements on it for efficiency, especially as new values are added.
Karl Williamson [Sun, 26 Dec 2010 17:35:58 +0000 (10:35 -0700)]
Change name of /d to DEPENDS
I much prefer David Golden's name for /d whose meaning 'depends' on
circumstances, instead of 'dual' meaning it could be one or another.
Change it before this gets out in a stable release, and we're stuck with
the old name.
Karl Williamson [Sun, 26 Dec 2010 17:35:20 +0000 (10:35 -0700)]
CH] Change usage of regex/op common to common names
This patch changes the core functions to use the common names for the
fields that are shared between op.c and regcomp.c, just for consistency
of using one name throughout the core for the same thing.
A grep of cpan shows that both names are used in various modules; so
both names must be retained.
David Golden [Mon, 17 Jan 2011 01:57:02 +0000 (20:57 -0500)]
Add HTTP::Tiny as a dual-life core module
HTTP::Tiny 0.008 has been added as a dual-life module. It is a very
small, simple HTTP/1.1 client designed for simple GET requests and file
mirroring. It has has been added to enable CPAN.pm and CPANPLUS to
"bootstrap" HTTP access to CPAN using pure Perl without relying on external
binaries like F<curl> or F<wget>.
Chris 'BinGOs' Williams [Mon, 17 Jan 2011 00:14:25 +0000 (00:14 +0000)]
Tracked down some other places to make the Unicode-Collate changes
Chris 'BinGOs' Williams [Sun, 16 Jan 2011 23:35:42 +0000 (23:35 +0000)]
perldelta update for Unicode-Collate upgrade
Chris 'BinGOs' Williams [Sun, 16 Jan 2011 23:23:03 +0000 (23:23 +0000)]
Update Unicode-Collate to CPAN version 0.70 and enable XS version
[DELTA]
0.70 Sun Jan 16 20:31:07 2011
- Now U::C::Locale->new will use the compiled DUCET via XS.
0.69 Sat Jan 15 19:41:11 2011
- clarified about XSUB. revised INSTALL in README.
- xs: flag passed to utf8n_to_uvuni().
- doc and comments: [perl #81876] Fix typos by Peter J. Acklam.
A pure-perl version of this module was previously installed,
this commit enables the XS version of the module instead.
Karl Williamson [Sun, 26 Dec 2010 17:31:16 +0000 (10:31 -0700)]
Use multi-bit field for regex character set
The /d, /l, and /u regex modifiers are mutually exclusive. This patch
changes the field that stores the character set to use more than one bit
with an enum determining which one. This data structure more
closely follows the semantics of their being mutually exclusive, and
conserves bits as well, and is better expandable.
A small API is added to set and query the bit field.
This patch is not .xs source backwards compatible. A handful of cpan
programs are affected.
Karl Williamson [Sun, 26 Dec 2010 17:30:40 +0000 (10:30 -0700)]
regcomp.pl: Add capability for fields to be > 1 bit
Currently, it doesn't generate a good dump structure if a field has more
than one bit.
Karl Williamson [Sun, 26 Dec 2010 17:30:12 +0000 (10:30 -0700)]
op_reg_common.h: Add guard to only expand once
This is in preparation for adding some in-line functions.
Karl Williamson [Sun, 26 Dec 2010 17:29:48 +0000 (10:29 -0700)]
Subject: [PATCH] re.pm: Correct pod statement
The /d also overrides one of the other pragmas; not just /u, /l.
Karl Williamson [Sun, 26 Dec 2010 17:29:15 +0000 (10:29 -0700)]
op.h: add blank line for grouping
Karl Williamson [Sun, 26 Dec 2010 17:28:31 +0000 (10:28 -0700)]
.pm: rename variables to reflect expanded usage
Certain variables have /dul in their names. /a is about to be added;
and maybe more, so give a more generic name to avoid future confusion