| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
This node is like a straight ANYOF node to match [bracketed character classes],
but can match multiple characters; in particular it can match a multi-char
fold.
When multi-char Unicode folding was added to Perl, it was overlooked that the
ANYOF node is supposed to match exactly one character, hence there have been
bugs ever since. Adding a specialized node that can match multiple chars,
these can be fixed more easily. I tried at first to make ANYOF match multiple
chars, but this causes Perl to not be able to fully compile.
|
| |
|
|
|
|
|
| |
Code in dist/ isn't yet subject to all the warnings flags that the core C
code enjoys.
|
|
|
|
|
|
| |
Add a flag G_WRITING_TO_STDERR to signal that Perl_magic_methcall() needs to
localise PL_stderrgv to NULL, and save/free temps, inside its ENTER/LEAVE
pair.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
2011-01-04 Tim Jenness <tjenness@cpan.org>
---- Version 0.59 CPAN ----
* t/*.t: Use Test::More for tests.
* Build.PL: Use Module::Build
* LaTeX.pm: Fix typo in pod (RT #46887 via Dave Mitchell)
|
|
|
|
|
|
|
|
|
|
|
| |
4cf5eae5e58faebb changed S_ithread_create() to avoid creating an AV, by
passing the thread creation arguments as pointers to a block of memory
holding SVs. Unfortunately, this inadvertently introduced a subtle bug,
because the block of memory is on the Perl stack, which can move as a side
effect of being reallocated to extend it. Hence pass in the offset on the
stack instead, read the current value of the relevant interpreter's stack
at the point of access, and copy all the SVs away before making any further
calls which might cause reallocation.
|
| |
|
| |
|
|
|
|
| |
These were generating a podchecker warning
|
|
|
|
|
|
|
|
| |
[DELTA]
Changes for 0.24 Wed Jan 12 13:16:01 GMT 2011
=====================================================
* Skip some tests if we are not on a terminal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
2.033 11 Jan 2011
* Fixed typos & spelling errors.
[perl# 81816]
2.032 4 Jan 2011
* IO::Uncompress::Base
- An input file that had a valid header, and so would allow
creation of the uncompression object, but was then followed by
corrupt data would trigger an infinite loop when using the
input line oprator.
[RT #61915]
* IO::Compress::Gzip
- XFL default settings for max compression & fastest algorithm were
the wrong way around. Thanks to Andrey Zholos for spotting this.
* IO::Compress::Base::Common
- Fixed precedence problem in parameter parsing code.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
2.033 11 Jan 2011
* Fixed typos & spelling errors.
[perl# 81782]
2.032 4 Jan 2011
* Document inflateReset
[RT #61082]
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
2.033 11 Jan 2011
* Fixed typos & spelling errors.
[perl# 81782]
2.032 4 Jan 2011
* No Changes
|
|
|
|
|
|
|
|
|
| |
[DELTA]
1.821 10 January 2011
* Fixed typos & spelling errors.
[perl #81792]
|
|
|
|
|
| |
With a small amount of refactoring, compatibility across different perl
versions can be achieved with less duplication.
|
|
|
|
| |
I mistakenly added the 'd' flag to the entry for check_utf8_print().
|
|
|
|
|
|
|
|
|
| |
Previously, if all of gethost{byaddr,byname,ent} were unimplemented on a
platform, they would all return 'Unsupported socket function "gethostent"
called', with the analogous results for getnet{byaddr,byname,ent},
getproto{byname,bynumber,ent} and getserv{byname,byport,ent}. This bug was
introduced by change af51a00e97d5c559 - prior to this, all 12 functions would
report their own name when unimplemented.
|
| |
|
|
|
|
|
| |
Unlike set{host,net,proto,serv}ent, set{gr,pw}ent don't have stayopen
parameter, hence their "signature" is the same as the ent*ent functions.
|
| |
|
|
|
|
|
|
|
| |
PL_op_desc[] rather than PL_op_name(), as the OPs are internally named e*ent,
but implement the ent*ent functions, and when unimplemented report themselves
using the function name. No need for OP_DESC(), as the switch statement means
that we can't encounter OP_CUSTOM.
|
|
|
|
|
|
|
|
| |
Ideally it would be available, calling Perl_newSVpvf_nocontext
directly is an alternative, but the comment in sv.c makes that
questionable.
Since the function being called from already has a context, use it.
|
|
|
|
| |
This tidies things up after several of them were removed.
|
|
|
|
| |
The routines that these call used the warn_d forms; so these should as well.
|
|
|
|
|
|
| |
UNICODE_ILLEGAL only referred to one of 66 code points in the same class. And
they aren't illegal except in certain circumstances. New #defines have taken
over the use this formerly had, so it is now meaningless.
|
|
|
|
| |
This is a result of their now being more accepted in core
|
| |
|
|
|
|
|
|
|
|
| |
The non-Unicode code points have no Unicode semantics, so applying operations
such as casing on them warns.
This patch also includes the changes to test the warnings added by recent
commits for handling the surrogates and above-Unicode code points
|
|
|
|
| |
outdent in response to the enclosing block being removed
|
|
|
|
| |
This flag no longer does anything
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Surrogates, non-character code points, and code points that aren't in Unicode
are now allowed by default, instead of having to specify a flag to allow them.
(Most code did specify those flags anyway.)
This affects uvuni_to_utf8_flags(), utf8n_to_uvuni() and various routines that
are specialized interfaces to them.
Now there is a new set of flags to disallow those code points. Further, all 66
of the non-character code points are known about and handled consistently,
instead of just U+FFFF.
Code that requires these code points to be forbidden will have to change to use
the new flags. I have looked at all the (few) instances in CPAN where these
routines are used, and the only one I found that appears to have need to do
this, Encode, has already been patched to accommodate this change. Of course,
I may have overlooked some subtleties.
|
| |
|
|
|
|
|
|
|
| |
This new function looks for problematic code points on output, and warns if any
are found, returning FALSE as well.
What it warns about may change, so is marked as experimental.
|
|
|
|
| |
Commit 78d0fecf645563eb571499ade0590a1389a977a8 missed several printf formats.
|
|
|
|
|
|
| |
Commit 9c3e8e01b899ff41442e59a8d18532c177d1bdee changed diag.t so that it now
checks if a TODO passes, but it caused the tests to fail. This causes a TODO
passed instead.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of having each socket op conditionally compile as either the
implementation or a DIE() depending on #HAS_SOCKET
1: remove the conditional code from the ops themselves
2: only compile the ops if HAS_SOCKET is defined
3: general conditional code for the intialisation of PL_ppaddr - as appropriate
either the ops, or Perl_unimplemented_op
4: Amend Perl_unimplemented_op to generate the appropriate DIE() for socket
ops (ie not the "panic"... message)
Whilst this complicates the support code in regen/opcode.pl, it's already a
net saving of 5 lines in the C code.
|
|
|
|
|
| |
Previously syswrite was an alias for send. However, syswrite is always
available, whereas send is not implemented if HAS_SOCKET is not defined.
|
|
|
|
|
|
|
|
| |
For OPs that share implementations, use #define aliases for the "original"
names in PL_ppaddr[], instead of having regen/opcode.pl replace them with
the name of the implementing OP body. Whilst this initially adds another layer
of indirection, it will give more flexibility where conditional compilation of
OPs is determined by the feature macros in config.h
|
| |
|
|
|
|
|
|
|
| |
It now generates prototypes for all functions that implement OPs. Hence
Perl_unimplemented_op no longer needs a special-case prototype. As it is now
generating a prototype for Perl_do_kv, no need for regen/embed.pl to duplicate
this. Convert the last two users of the macro do_kv() to Perl_do_kv(aTHX).
|
|
|
|
|
|
|
|
|
|
|
| |
Eliminate the #define pp_foo Perl_pp_foo(pTHX) macros, and update the 13
locations that relied on them.
regen/opcode.pl now generates prototypes for the PP functions directly, into
pp_proto.h. It no longer writes pp.sym, and regen/embed.pl no longer reads
this, removing the only ordering dependency in the regen scripts. opcode.pl
is now responsible for prototypes for pp_* functions. (embed.pl remains
responsible for ck_* functions, reading from regen/opcodes)
|
|
|
|
| |
Previously regen/opcode.pl wrote them to pp.sym for regen/embed.pl to read.
|
|
|
|
|
| |
Whilst it is possible to open regen/opcode.pl and parse it to find the __END__
token, it's not the cleanest approach.
|
|
|
|
|
|
|
| |
External code that references OPs by name will still link (and work).
Unlike the other compatibility functions in mathoms.c, the OP stubs were simply
making calls onwards to their replacements, so simply taking up space without
adding anything.
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
Changes for 0.9011 Fri Jan 7 22:01:56 2011
================================================
* Remove reporting $! after make test fails. It is misleading
in test reports
* Don't unset PERL_MM_USE_DEFAULT if it is already set
in cpan2dist
* Apply blead patches from Peter Acklam
|
|
|
|
|
|
|
| |
[DELTA]
0.52 Fri Jan 7 22:23:03 GMT 2011
- Apply blead patch from Peter Acklam
|
|
|
|
|
|
|
|
| |
[DELTA]
Changes for 0.22 Fri Jan 7 21:55:38 GMT 2011
=====================================================
* Apply blead patch from Peter Acklam
|