summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* some make minimal copy upgrades depend on private flags (pIOK and pNOK)chip/scalartypesChip Salzenberg2011-08-121-3/+3
|
* minimize copy of strings as well as numbers; tweak pad.c which assumed otherwiseChip Salzenberg2011-08-122-4/+16
|
* make minimal copy of IV/NV more aggressive; let sv_yes/sv_no be fat againChip Salzenberg2011-08-123-62/+55
|
* Do not bother to save/restore magic if just calling taint get; it doesn't ↵Chip Salzenberg2011-08-122-8/+22
| | | | | | need it. Ensure that only POK is set on env var magic SVs, since %ENV is always strings.
* help Storable cope with its unwarranted assumptions about sv_yes/sv_noChip Salzenberg2011-08-121-3/+8
|
* inform sv_dump about the new flags expected on sv_yes and sv_noChip Salzenberg2011-08-121-8/+8
|
* true and false don't need floating pointChip Salzenberg2011-08-121-8/+8
|
* Oh yes, forgot the SvIsBOOLEAN() macro. here it isChip Salzenberg2011-08-122-2/+2
|
* Implement isboolean() based on propagating special SvPVX values for true/falseChip Salzenberg2011-08-127-59/+86
|
* When copying scalars, upgrade target SV minimally when source is a numberChip Salzenberg2011-08-121-10/+44
|
* Real working isnumber and isstringChip Salzenberg2011-08-115-42/+72
|
* Move bareword checking from the peephole optimizer to finalize_optree. Fixes ↵Gerard Goossen2011-08-115-12/+17
| | | | | | | | | | [perl #95998] The bareword checking is moved from the peephole optimizer to finalize_optree. newRANGE needs additional bareword checking because the constants may be optimized away by 'gen_constant_list'. The OPpCONST_STRICT flag is removed after giving an error about a bareword to prevent giving multiple errors about the same bareword.
* Move context propagation and finalize_optree from do_eval to newPROGGerard Goossen2011-08-112-15/+15
| | | | | | | | Aborting after errors found by finalize_optree in do_eval wasn't done properly and would cause memory problems. This patch moves the context propagation and finalize_optree to newPROG such that the normal error handling is done. The eval context blk_gimme is used to communicate the context.
* API to explicitly select to export XSUB symbols or notSteffen Mueller2011-08-111-7/+41
| | | | | | | | | | | | This adds a few additional macros to XSUB.h: XS_INTERNAL and XS_EXTERNAL are versions of the XS macro that explicitly use internal (static) linking or not. XSPROTO_INTERNAL and XSPROTO_EXTERNAL are the obvious equivalents for XSPROTO (which is apparently not public yet we support its use in SWIG...). The XS and XSPROTO macros themselves are not defined to not use STATIC, but this may (should?) be changed in the future.
* ExtUtils::ParseXS: Check that an XSUB with CODE&RETVAL has an OUTPUTSteffen Mueller2011-08-112-2/+24
| | | | | | | | | | If an XS paragraph/function definition that has a CODE section using RETVAL, then we need an OUTPUT section or else things will go sour. This adds a check for that condition and produces a friendly error message. See CPAN RT #69536.
* Simplify embedvar.h, removing a level of macro indirection for PL_* variables.Nicholas Clark2011-08-1117-846/+459
| | | | | | | For the default (non-multiplicity) configuration, PERLVAR*() macros now directly expand their arguments to tokens such as C<PL_defgv>, instead of expanding to C<PL_Idefgv>. This removes over 350 lines from F<embedvar.h>, which defined macros to map from C<PL_Idefgv> to C<PL_defgv> and so forth.
* Synchronise Maintainers.pl for Storable and versionChris 'BinGOs' Williams2011-08-111-2/+2
|
* workaround a type handling bug in SystemTap Dtrace 1.2Tony Cook2011-08-111-2/+25
| | | | | | | | | | | | | | | It uses a construct similar to: __typeof__((func)) x = func; but hek_key is a char[1] so the above becomes: char arg1[1] = func; which is invalid. Using a temporary allows an implicit conversion to const char * and avoids possible bugs that might be hidden by an explicit cast.
* ExtUtils::ParseXS version bump: release 3.03Steffen Mueller2011-08-113-3/+3
|
* Rewrap some verbatim pod in Math::BigIntFather Chrysostomos2011-08-102-117/+128
| | | | | I started to make Math::BigInt’s pod fit within 79 columns, but soon petered out. At least this is better than nothing.
* Keep verbatim pod in various dist/* pods within 79 colsFather Chrysostomos2011-08-104-185/+189
|
* Keep verbatim pod in I18N:LT and IO.pm within 80 colsFather Chrysostomos2011-08-103-16/+14
|
* Keep verbatim pod in ExtUtils::Typemaps::OutputMap within 80 colsFather Chrysostomos2011-08-102-4/+4
|
* Add perldelta for /aa and \b commitKarl Williamson2011-08-101-0/+9
| | | | This adds an entry for commit f2e96b5ddb6396417bc2fb71915c5025215060d6
* Fix trivial test failure from dbef30a62b2ca0b186Steffen Mueller2011-08-101-1/+1
| | | | For the record: This was my (Steffen's) fault, not Mike's!
* Add Mike Sheldrake to AUTHORSSteffen Mueller2011-08-101-0/+1
|
* ExtUtils::ParseXS: Test All @INC Derived typemap LocationsMike Sheldrake2011-08-103-2/+20
| | | | | | | | The ExtUtils::ParseXS tests would sometime fail to locate some core Perl typemaps in @INC. This fixes CPAN RT #70047. Patch slightly modified by Steffen Mueller. Includes the mandatory version bump to a development version.
* autodoc.pl: output to fit in 79 columnsKarl Williamson2011-08-092-4/+3
|
* podcheck.t: Change verbatim line length max to 79Karl Williamson2011-08-092-145/+163
| | | | | | | | | | | | | | | Some pagers reserve a column for their own use. This patch has podcheck.t warn if a verbatim line will wrap when such a pager is used in an 80 column terminal window. This effectively restores the situation to what it was before commit 2cd46bfd6d03cd8826c5e968efdd36416191bc8f, but the message is now honest about the situation, i.e., that 79 colummns are effectively the max without a warning. The point of this is to give a number to shoot for, 79, that will work almost always (I believe though that there are pagers that reserve 2 columns in some cases), but of course the data file is continued to be used to silence the warning if it isn't desired to get down to 79.
* Keep verbatim pod in ExtUtils::Typemaps within 80 colsFather Chrysostomos2011-08-092-6/+13
|
* Ignore another editor droppinkFather Chrysostomos2011-08-091-1/+1
|
* Keep verbatim pod in ExtUtils::Installed within 80 colsFather Chrysostomos2011-08-092-3/+4
|
* Keep verbatim pod in Data::Dumper within 80 colsFather Chrysostomos2011-08-092-9/+8
|
* Keep verbatim pod in File::VMS/Win32 within 80 colsFather Chrysostomos2011-08-093-6/+6
|
* Keep verbatim pod in File::Mac/Unix within 80 colsFather Chrysostomos2011-08-093-14/+18
|
* Keep verbatim pod in File::Spec within 80 colsFather Chrysostomos2011-08-092-4/+5
|
* Update Encode to CPAN version 2.44Chris 'BinGOs' Williams2011-08-0910-19/+40
| | | | | | | | | | | | | | | | [DELTA] $Revision: 2.44 $ $Date: 2011/08/09 07:49:44 $ ! Unicode/Unicode.xs Addressed the following: Date: Fri, 22 Jul 2011 13:58:43 +0200 From: Robert Zacek <zacek@avast.com> To: perl5-security-report@perl.org Subject: Unicode.xs!decode_xs n-byte heap-overflow ! Encode.pm encoding.pm ! lib/Encode/Alias.pm lib/Encode/Encoder.pm lib/Encode/Guess.pm Applied: RT#69735: patch for use constant DEBUG => https://rt.cpan.org/Ticket/Update.html?id=69735
* Refactor Porting/checkcfgvar.pl, simplifying the control flow.Nicholas Clark2011-08-091-63/+51
|\
| * In checkcfgvar.pl, eliminate the file-scope lexical %lst.Nicholas Clark2011-08-091-5/+4
| |
| * In checkcfgvar.pl, eliminate the file-scope lexical %MASTER_CFG.Nicholas Clark2011-08-091-4/+4
| |
| * In checkcfgvar.pl, inline and eliminate read_file() and config_h_SH_reader().Nicholas Clark2011-08-091-44/+37
| | | | | | | | | | | | | | | | config_h_SH_reader() was called once in one place, to generate a closure passed to read_file(). In turn, read_file()'s use of a callback to process lines of the file that it opened concealed the near-linear flow of control. use autodie; to simplify the error handling.
| * In checkcfgvar.pl, inline check_cfg() into its only caller.Nicholas Clark2011-08-091-14/+10
| |
* | work around a bug in dtrace - it strips const from function parametersTony Cook2011-08-092-3/+6
|/ | | | | | | | | | | | | | | | | With usedtrace this caused: - build failures under g++ (OS X) - const qualification warnings with gcc (OS X) The workaround simply adds const to char * parameters if not already present. The bug in dtrace was apparently reported to Sun in 2006: http://opensolaris.org/jive/thread.jspa?threadID=53810 Mozilla ran into the same problem: https://bugzilla.mozilla.org/show_bug.cgi?id=593483
* Remove 5.8.x VOS specific code from Porting/checkcfgvar.pl.Nicholas Clark2011-08-091-7/+2
| | | | | | | Commit 3fd80bd61943d0f8 in 2002 removed vos/config.{alpha,gf}.def from blead, but they were still present in maint-5.8, so the logic to process them was retained, to minimise the differences in the Porting/* scripts. maint-5.8 is EOL now, so these can be removed.
* Add defaults for st_ino size/sign probes to uconfig64.shNicholas Clark2011-08-091-0/+2
| | | | | These were not added in 668fdbe135fd76c7 because Porting/checkcfgvar.pl was not aware that uconfig64.sh needed testing.
* Add uconfig64.sh to the list of files that Porting/checkcfgvar.pl checks.Nicholas Clark2011-08-091-0/+1
|
* Make prototype("CORE::CORE") die once more.Father Chrysostomos2011-08-082-3/+4
| | | | | | | | | | Commit b8c38f0a2a65 accidentally made prototype("CORE::CORE") return undef instead of dying. This is the only case that reached the line with the ‘Should not happen...’ comment. This commit changes it to be handled earlier and also adds an asser- tion to make sure that unreachable code really is unreachable (which it should be now, I think, I hope...).
* Only warn about "Statement unlikely to be reached" after an exec if exec is ↵Gerard Goossen2011-08-082-4/+11
| | | | | | | | | a statement. Moving the OP_EXEC check to finalize_optree changed that it would also warn if 'exec' is part of an expression. This patch changes the behaviour to only warn if 'exec' is the whole statement, which appears to be the behaviour before moving the check to finalize_optree.
* Change aassign_common_vars to check using the optree without using the ↵Gerard Goossen2011-08-082-5/+9
| | | | | | | linked list. Besides no longer depending on the op chain this also solves a bug where the common vars where not detected because of logical operators.
* Move aassign common var detection to a separate function.Gerard Goossen2011-08-084-56/+73
|