summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [perl #120903] perlcall cleanupTony Cook2015-09-022-54/+106
| | | | | | | | | | | | | | | | | | | - linkify references to sections - use EXTEND(SP, n) and PUSHs() instead of XPUSHs() where applicable and update prose to match - add POPu, POPul and POPpbytex to the "complete list of POP macros" and clarify the documentation for some of the existing entries, and a note about side-effects - add API documentation for POPu and POPul - use ERRSV more efficiently - approaches to thread-safety storage of SVs. - minor updates
* Reformat code in .pm files in bignum distribution.Peter John Acklam2015-09-025-804/+792
| | | | | | | | | * Reformat code to make it more readable. The code should adhere to the guidelines in the 'perlstyle' manpage. All changes are in the amount of whitespace, e.g., all TAB characters are replaced by spaces. There are no changes in the way the code runs. * Increment version number to 0.40.
* Replace '-w' ref in SEE ALSO with 'use warnings'John SJ Anderson2015-09-011-1/+1
|
* Add John SJ Anderson to AUTHORSKarl Williamson2015-09-011-0/+1
|
* PATCH: [perl #125947] Doc error in perlunicodeKarl Williamson2015-09-011-1/+1
|
* prevent warning noise on mingw-64 buildsTony Cook2015-09-011-0/+2
| | | | | | | | | | | | The following was produced for every non-miniperl object built, including for XS modules and the test builds done by ExtUtils::MakeMaker etc ..\iperlsys.h:640:66: warning: 'struct utimbuf' declared inside parameter list typedef int (*LPLIOUtime)(struct IPerlLIO*, const char*, struct utimbuf*); ^ ..\iperlsys.h:640:66: warning: its scope is only this definition or declaration, which is probably not what you want
* Improve regex debug output for unbounded curly quantifiersAaron Crane2015-08-311-1/+7
| | | | | | | A regex like /^a{5,}\z/ will match any string consisting exactly of 5 or more "a" characters, but under debugging, the quantifier was previously displayed as the numeric value of REG_INFTY (usually 32767). This commit causes the upper bound to be displayed as "INFTY".
* Porting: Updated version of EU::ParseXS on CPANSteffen Mueller2015-08-311-1/+1
|
* ExtUtils::ParseXS: Promote version to 3.30Steffen Mueller2015-08-3111-12/+19
| | | | To correspond to stable CPAN release.
* ensure the perldelta version is updated in win32/GNUmakefileTony Cook2015-08-311-0/+2
|
* bump perldelta versions in GNUmakefileTony Cook2015-08-311-2/+2
|
* RT #125840 stop *x = $x doing bad thingsDavid Mitchell2015-08-302-1/+25
| | | | | | If $x is a GV then *x's GP would be freed before $x's GP is assigned to it. That would prematurely free $x, so protect it with a temporary ref count bump.
* Add epigraph for 5.20.3-RC2Steve Hay2015-08-291-0/+35
|
* Perl 5.20.3-RC2 todaySteve Hay2015-08-291-0/+1
|
* Declare compatibility with newer released versions of WindowsJan Dubois2015-08-271-0/+14
| | | | | This will make sure the GetVersionEx() is not going to lie to us about the version of Windows we are running on.
* Update Win32 to CPAN version 0.52Jan Dubois2015-08-273-7/+84
| | | | | | | | | | | [DELTA] 0.52 [2015-08-19] - minimal Windows 10 support (thanks to Joel Maslak) [PR/8] - refactor Windows 10 support to include ProductInfo flags - add tests for Windows 8.1, 10, and 2012 R2 server - define additional ProductInfo flags (TODO: add support for these codes in _GetOSName)
* Use personal email address for Jan DuboisJan Dubois2015-08-272-2/+3
|
* AUTHORS for 8c1ed856Jarkko Hietaniemi2015-08-271-0/+1
|
* The #ifdef NV_MIN_EXP straddled the if () braces.Andy Broad2015-08-271-11/+7
| | | | Though non-straddling, make the NV_MAX_EXP case identical.
* perldelta for e6b2cf838Tony Cook2015-08-271-0/+5
|
* [perl #125341] check for unexpected trash after any sub startTony Cook2015-08-272-1/+12
|
* Avoid %Config check on Errno load if it was built with ↵Todd Rinaldo2015-08-271-2/+13
| | | | | | | | | PERL_BUILD_EXPAND_CONFIG_VARS Any person who built perl with this environment variable already has locked their install to the given platform. Therefore this check should be unnecessary on those installs. This reduces runtime bloat because Config does not have to be loaded any time someone uses $! or Errno directly.
* Do not inject use Config into Dynaloader.pm when PERL_BUILD_EXPAND_CONFIG_VARSTodd Rinaldo2015-08-271-2/+8
| | | | | The rest of the file automatically expanded Config variables, however the module was still accidentally loaded. This commit corrects the oversight.
* One more FD_CLOEXEC case, missed in 131d45a9.Jarkko Hietaniemi2015-08-261-6/+4
|
* Explicitly use and check for FD_CLOEXEC.Jarkko Hietaniemi2015-08-264-16/+20
| | | | | | | | This may break places which have the FD_CLOEXEC functionality but do not have the FD_CLOEXEC define. In any case, using a boolean for the F_SETFD flag is icky. Using an explicit 1 is also dubious.
* Note that the all the fd flags are saved/restored.Jarkko Hietaniemi2015-08-261-5/+7
| | | | | FD_CLOEXEC is currently usually the only defined fd flag for F_GETFD/F_SETFD, but let's not assume that.
* lib/utf8.t: EBCDIC fixesKarl Williamson2015-08-251-17/+38
| | | | | | | Some of the test chose code points that did not match its assumptions as to their classifications. And some of the tests were extended to work on 1047 EBCDIC
* t/op/split.t: Generalize for EBCDICKarl Williamson2015-08-251-14/+5
| | | | | | Whatever the bug was that caused some of these to need to be skipped, it's gone now. Also some of the tests are easily adapted to work on EBCDIC platforms.
* perlguts: Wrap macro name with C<>Karl Williamson2015-08-251-1/+1
|
* t/op/utf8decode.t: Better SKIP messageKarl Williamson2015-08-251-1/+1
|
* lib/utf8.t: Add some tests to stress EBCDICKarl Williamson2015-08-251-13/+35
| | | | | | | The tests for the Latin1 \xFF aren't a fair test of UTF-8 on EBCDIC platforms, because it is generally a UTF-8 invariant character, so is the same regardless of being in UTF-8 or not. This adds some tests where the UTF-EBCDIC version is 2 bytes (as well as the UTF-8 version).
* t/base/lex.t: Use more standard test for EBCDICKarl Williamson2015-08-251-1/+1
| | | | | | This makes it easier to grep for these things. The typical test is for the ord("A"), not some other character. Since this is in t/base, it doesn't use helper scripts.
* t/op/tr.t: Clarify skip tests messageKarl Williamson2015-08-251-1/+1
|
* op/chr.t: Better skip messageKarl Williamson2015-08-251-1/+3
|
* Various .t files: Use globals to see if on EBCDICKarl Williamson2015-08-2510-35/+32
| | | | | These globals are already available; by using them instead of rolling our own, it makes it easer to grep for these kinds of instances.
* Revert "Update Pod-Simple to CPAN version 3.31"Tony Cook2015-08-2532-90/+121
| | | | | | This reverts commit 354f3e4ea74293dacec2ca84d3762435e9c45701. This broken Win32 builds, see https://github.com/perl-pod/pod-simple/issues/69
* perldelta: Fix typoKarl Williamson2015-08-241-1/+1
| | | | Spotted by Lukas Mai
* test implicit anchors using re.pm [perl #125810]Lukas Mai2015-08-241-1/+17
|
* implicitly anchor .{0,} like .* [perl #125810]Lukas Mai2015-08-241-13/+15
|
* regexec.c: Move a #define next to related codeKarl Williamson2015-08-241-3/+3
| | | | | One message here uses a static array, and one uses a #define. I don't think it really matters, but they should be adjacent.
* Output bad locale warning in regex synthetic start classKarl Williamson2015-08-241-0/+4
| | | | | | | | | | | perl detects some locale errors when a new locale is entered. It stores these up to output upon first use of something that uses that locale. A synthetic start class (SSC) is used by the regex optimizer under certain circumstances. Prior to this patch, it was possible for the stored up bad locale message to not be raised if the match failed the SSC. This patch fixes this by changing the node type of the SSC to be one that checks for the stored-up message should there be locale-dependent portions of the pattern.
* PATCH: [perl 125825] {n}+ possessive quantifier brokenKarl Williamson2015-08-244-4/+10
| | | | | I was unaware of this construct when I wrote the commit that broke it, and there were no tests for it. Now there are.
* Further clarification to [perl #125805] perldeltaKarl Williamson2015-08-241-1/+1
|
* Make qr/(?[ ])/ work in UTF-8 localesKarl Williamson2015-08-249-18/+174
| | | | | | | | | | | | | | | | Previously use of this under /l regex rules was a compile time error. Now it works like \b{wb} and \b{sb}, which compile under locale rules and always work like Unicode says they should. A UTF-8 locale implies Unicode rules, and the goal is for it to work seamlessly with the rest of perl. This construct was the only one I am aware of that didn't work seamlessly (not counting OS interfaces) under UTF-8 LC_CTYPE locales. For all three of these constructs, use with a non-UTF-8 runtime locale raises a warning, and Unicode rules are used anyway. UTF-8 locale collation still has problems, but this is low priority to fix, as it's a lot of work, and if one really cares, one should be using Unicode::Collate.
* regcomp.c: Add a parameter to static functionKarl Williamson2015-08-244-5/+16
| | | | This will be used by the next commit
* regcomp.h: Fold 2 ANYOF flags into a single oneKarl Williamson2015-08-243-18/+48
| | | | | | | | | | | | | | | | | | The ANYOF_FLAGS bits are all used up, but a future commit wants one. This commit frees up a bit by sharing two of the existing comparatively-rarely-used ones. One bit is used only under /d matching rules, while the other is used only when not under /d. Only the latter bit is used in synthetic start classes. The previous commit introduced an ANYOFD node type corresponding to /d. An SSC never is this type. Thus, the bits have mutually exclusive meanings, and we can use the node type to distinguish between the two meanings of the combined bit. An alternative implementation would have been to use the ANYOF_HAS_NONBITMAP_NON_UTF8_MATCHES non-/d bit instead of the one chosen. But this is used more frequently, so the disambiguation would have been exercised more frequently, slowing execution down ever so slightly; more importantly, this one required fewer code changes, by a slight amount.
* Add ANYOFD regex nodeKarl Williamson2015-08-245-155/+168
| | | | | This is like an ANYOF node, but just for when /d is in effect. It will be used in future commits
* perldebguts: Add clarificationKarl Williamson2015-08-243-3/+4
|
* perldelta: Improve wording for [perl #125805]Karl Williamson2015-08-241-1/+2
|
* podcheck.t: regenerate dbKarl Williamson2015-08-241-2/+2
| | | | | | Commit e128eaa17ab039e9db53073c7ac6c5093b3628d9 introduced 2 new overly long verbatim pod lines that were causing podcheck.t failures in pedantic mode. This suppresses those failures.