summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* regcomp.sym: Add ANYOFV nodeKarl Williamson2011-01-132-161/+167
| | | | | | | | | | | | 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.
* regex: Some Comment clarificationsKarl Williamson2011-01-133-5/+19
|
* Remove code before declaration, inadvertently added in 447f000ef4448b16.Nicholas Clark2011-01-131-3/+4
| | | | | Code in dist/ isn't yet subject to all the warnings flags that the core C code enjoys.
* In Perl_write_to_stderr(), use Perl_magic_methcall() if STDERR is tied.Nicholas Clark2011-01-133-22/+15
| | | | | | 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.
* Update Pod-LaTeX to CPAN version 0.59Chris 'BinGOs' Williams2011-01-136-28/+29
| | | | | | | | | | | | | | [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)
* ithread_create() was relying on the stack not moving. Fix this.Nicholas Clark2011-01-131-21/+25
| | | | | | | | | | | 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.
* Update to Win32-0.44 from CPANJan Dubois2011-01-124-2/+6
|
* Update to Win32-0.43 from CPANJan Dubois2011-01-124-18/+32
|
* Remove trailing blanksMichael Stevens2011-01-121-2/+2
| | | | These were generating a podchecker warning
* Update Term-UI to CPAN version 0.24Chris 'BinGOs' Williams2011-01-124-3/+10
| | | | | | | | [DELTA] Changes for 0.24 Wed Jan 12 13:16:01 GMT 2011 ===================================================== * Skip some tests if we are not on a terminal
* Update IO-Compress to CPAN version 2.033Chris 'BinGOs' Williams2011-01-1145-341/+498
| | | | | | | | | | | | | | | | | | | | | | | | [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.
* Fix execute permissions on the last commitChris 'BinGOs' Williams2011-01-113-0/+0
|
* Update Compress-Raw-Zlib to CPAN version 2.033Chris 'BinGOs' Williams2011-01-119-11/+33
| | | | | | | | | | | | | [DELTA] 2.033 11 Jan 2011 * Fixed typos & spelling errors. [perl# 81782] 2.032 4 Jan 2011 * Document inflateReset [RT #61082]
* Update Compress-Raw-Bzip2 to CPAN version 2.033Chris 'BinGOs' Williams2011-01-117-11/+25
| | | | | | | | | | | | [DELTA] 2.033 11 Jan 2011 * Fixed typos & spelling errors. [perl# 81782] 2.032 4 Jan 2011 * No Changes
* Update DB_File to CPAN version 1.821Chris 'BinGOs' Williams2011-01-118-22/+31
| | | | | | | | | [DELTA] 1.821 10 January 2011 * Fixed typos & spelling errors. [perl #81792]
* In S_ithread_create, reduce the amount of conditionally compiled C code.Nicholas Clark2011-01-112-31/+12
| | | | | With a small amount of refactoring, compatibility across different perl versions can be achieved with less duplication.
* embed.fnc: Silence 'no docs' messageKarl Williamson2011-01-101-1/+1
| | | | I mistakenly added the 'd' flag to the entry for check_utf8_print().
* Correct the "unimplemented" message for get{host,net,proto,serv}ent aliases.Nicholas Clark2011-01-101-4/+4
| | | | | | | | | 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.
* remove perlapollo from perl.podRobin Barker2011-01-111-1/+0
|
* Merge the implementations of {end,set}{gr,pw}ent with endhostent.Nicholas Clark2011-01-104-53/+38
| | | | | 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.
* Merge the implementations of pp_s{host,net,proto,serv}ent.Nicholas Clark2011-01-104-34/+28
|
* Merge the implementations of pp_e{host,net,proto,serv}ent.Nicholas Clark2011-01-104-38/+28
| | | | | | | 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.
* newSVpvf_nocontext only visible with threads, fix for non-threadedTony Cook2011-01-101-4/+4
| | | | | | | | 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.
* utf8.c: Renumber cases in switchKarl Williamson2011-01-091-3/+3
| | | | This tidies things up after several of them were removed.
* utf8.c: Change to warn_d in two placesKarl Williamson2011-01-091-2/+3
| | | | The routines that these call used the warn_d forms; so these should as well.
* utf8.h: remove wrong, no-longer used #defineKarl Williamson2011-01-091-2/+0
| | | | | | 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.
* mktables: Now can test surrogates and noncharsKarl Williamson2011-01-091-2/+0
| | | | This is a result of their now being more accepted in core
* Document the flip of problematic code points handlingKarl Williamson2011-01-092-20/+89
|
* Add warnings for use of problematic code pointsKarl Williamson2011-01-093-81/+336
| | | | | | | | 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
* utf8.c: Whitespace onlyKarl Williamson2011-01-091-35/+35
| | | | outdent in response to the enclosing block being removed
* op.c: Remove unnecessary flagKarl Williamson2011-01-091-2/+1
| | | | This flag no longer does anything
* utf8.c(): Default to allow problematic code pointsKarl Williamson2011-01-094-110/+228
| | | | | | | | | | | | | | | | | | | 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.
* utf8.c: Nits in podKarl Williamson2011-01-091-6/+5
|
* Add check_utf8_print()Karl Williamson2011-01-096-0/+76
| | | | | | | 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.
* perldiag.pod: Remove more format precisionsKarl Williamson2011-01-091-5/+5
| | | | Commit 78d0fecf645563eb571499ade0590a1389a977a8 missed several printf formats.
* diag.t: Change so a fixed TODO passesKarl Williamson2011-01-091-3/+4
| | | | | | 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.
* utf8.h: white space, add commentsKarl Williamson2011-01-091-3/+6
|
* update Module::CoreList for v5.12.3Ricardo Signes2011-01-092-4/+640
|
* Generate "Unsupported socket function" stubs using PL_ppaddr.Nicholas Clark2011-01-094-51/+90
| | | | | | | | | | | | | | | 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.
* Rename pp_send to pp_syswrite, making send an alias for syswrite.Nicholas Clark2011-01-094-6/+6
| | | | | Previously syswrite was an alias for send. However, syswrite is always available, whereas send is not implemented if HAS_SOCKET is not defined.
* In opcode.h, use the alias macros in PL_ppaddr[]Nicholas Clark2011-01-092-97/+97
| | | | | | | | 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
* Remove commented-out code from regen/opcode.plNicholas Clark2011-01-091-13/+0
|
* regen/opcode.pl should only generate prototypes for pp_* functions that exist.Nicholas Clark2011-01-098-110/+13
| | | | | | | 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).
* Generate pp_* prototypes in pp_proto.h, and remove pp.symNicholas Clark2011-01-0926-1192/+436
| | | | | | | | | | | 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)
* embed.pl can read the names of ck_* functions direct from regen/opcodesNicholas Clark2011-01-093-55/+20
| | | | Previously regen/opcode.pl wrote them to pp.sym for regen/embed.pl to read.
* Extract the opcode data from regen/opcode.pl into regen/opcodesNicholas Clark2011-01-095-557/+554
| | | | | Whilst it is possible to open regen/opcode.pl and parse it to find the __END__ token, it's not the cleanest approach.
* Replace OP stubs in mathoms.c with #define aliases in opcode.hNicholas Clark2011-01-093-452/+113
| | | | | | | 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.
* Update CPANPLUS to CPAN version 0.9011Chris 'BinGOs' Williams2011-01-099-8/+14
| | | | | | | | | | | | [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
* Update CPANPLUS-Dist-Build to CPAN version 0.52Chris 'BinGOs' Williams2011-01-094-3/+7
| | | | | | | [DELTA] 0.52 Fri Jan 7 22:23:03 GMT 2011 - Apply blead patch from Peter Acklam
* Update Term-UI to CPAN version 0.22Chris 'BinGOs' Williams2011-01-083-2/+6
| | | | | | | | [DELTA] Changes for 0.22 Fri Jan 7 21:55:38 GMT 2011 ===================================================== * Apply blead patch from Peter Acklam