summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump to RC1 and update META.jsonv5.28.2-RC1Steve Hay2019-04-052-1/+2
|
* 5.28.2-RC1 todaySteve Hay2019-04-051-0/+1
| | | | (cherry picked from commit 7746ac3214229dbf83243c6aa4e1896c06cba478)
* Finalize perldeltaSteve Hay2019-04-051-2/+25
|
* Tweaks to perldelta from previous commitSteve Hay2019-04-051-13/+14
|
* Any Common digit set can match in any scriptKarl Williamson2019-04-054-109/+112
| | | | | | This fixes a design flaw in script runs that in 5.30 effectively prevented digits from the Common script except the ASCII [0-9] from being in any meaningful script run.
* Bump copyright to 2019 in perl.c and README.Abigail2019-04-042-3/+3
| | | | (cherry picked from commit 4a29172e5171141e5cdad5c27d001dc1cb3db632)
* Update Module::CoreList with Porting/corelist.plSteve Hay2019-04-041-31/+32
|
* Revert part of commit b6125dfcd017e2dd18dacdce91a6e071499b7aedSteve Hay2019-04-041-1/+1
| | | | (cherry picked from commit 9f04ed5cc01294547595fbbc69f7a486e6cac923)
* perldelta - Add bug links and tidy upSteve Hay2019-04-041-27/+30
|
* perldelta - Remove boilerplate and update modules sectionSteve Hay2019-04-041-345/+6
|
* perldelta for 191f8909fa4eTony Cook2019-04-041-0/+19
| | | | (cherry picked from commit 61911ec29d529547c873f88881e3f1d37f02cee5)
* perldelta for b79cd7dfefSteve Hay2019-04-041-2/+3
| | | | (cherry picked from commit 4b0bd159d16700bb745ba6881a38ebdd78163978)
* perldelta for 817480137a8bTony Cook2019-04-041-0/+6
| | | | (cherry picked from commit ff2d4c114220d05f1f894895e9aa3b78c568e986)
* perldelta for 12cad9bd9972Tony Cook2019-04-041-0/+5
| | | | (cherry picked from commit 7a432bd4201d9773ca6d8bb4967443a3680f62de)
* Add perldelta entry for pipe open fixesLeon Timmermans2019-04-041-0/+8
| | | | | | | This covers c6fe5b981b942ddabb23ed4b7602067e906e6d88 and 30c869b87739b56280daca3cd44b0588144747b7 (cherry picked from commit b20a43d74c4dca14f892166850418e52b35ba5a4)
* perldelta for 404395d24bc8, 640e129d0fc4 and 85d2f7cacba4Tony Cook2019-04-041-1/+14
| | | | (cherry picked from commit 20ccb10a08f448e264358925aacec1e2d05c6402)
* there is no sv_catpvfn()Tony Cook2019-04-023-9/+9
| | | | | | Replace in various documentation and messages appropriately. (cherry picked from commit 26b0dc0c52fbcb48a1f10935a8dd8f0b0d4c9209)
* Fix typo: IS_NUMBER_INFINITE -> IS_NUMBER_INFINITYTina Müller2019-04-022-2/+3
| | | | | | | For: RT # 133380 Committer: Tina Müller is now a Perl AUTHOR. (cherry picked from commit 5962c2f672495234bec14ab5427cba5b2ccb2e33)
* perlapi: AvFILL isn't deprecatedKarl Williamson2019-04-021-1/+1
| | | | | | See [perl #133278] (cherry picked from commit d29fa84aee8bfff9c27f68ec2d9292e1370e0924)
* Define _GNU_SOURCE if using the musl libc on linux.Andy Dougherty2019-04-021-0/+10
| | | | | | | Together with prior commits ba73a4cb8f, f8d82a1010, and 63c1fa6a98, this should close [perl #133760]. (cherry picked from commit 04db542212fdad3a62f13afe741c99028f4bf799)
* Improve detection of memrchr, strlcat, and strlcpy.Andy Dougherty2019-04-021-6/+57
| | | | | | | | | | | | | This is continuation of commit f8d82a1010 addressing [perl #133760]. Linux systems using the musl C library have memmem, memrchr, strlcat, and strlcpy, but the prototypes are only visible if _GNU_SOURCE is defined. This patch makes Configure test both whether the prototype is visible and whether the C symbol is visible. Still to be done is automatically adding _GNU_SOURCE if the musl library is being used -- probably in hints/linux.sh. (cherry picked from commit ba73a4cb8f472480a2d630613d1e9e1172d518d3)
* Another attempt to improve Configure detection of memmem() [perl #133760].Andy Dougherty2019-04-021-40/+18
| | | | | | | | | | This updates commit ca152fd8207cf53816b1407d5f54f6ea160a3ef8. Linux systems have memmem, but the prototype in <string.h> is only visible if __GNU_SOURCE is defined. This version tests for both the prototype in <string.h> and the symbol in libc. (Thanks to Tony C. for the suggestion.) (For BSD systems, no extra define is needed.) (cherry picked from commit f8d82a1010426d0eb49c33cb903413b882c85c3e)
* Improve Configure detection of memmem() [perl #133760].Andy Dougherty2019-04-021-2/+41
| | | | | | | | | | | | | | Linux systems have memmem, but the header prototype is only visible if the C library, but didn't check if the correct prototype is available. This patch compiles & runs a test program that will fail if the prototype is needed but not available. This does not completely close [perl #133760]. The tests for strlcat() and strlcpy() may also need to be similarly changed. Also, this patch does not change whether _GNU_SOURCE is defined or not. Presumably that would be done separately in the linux hints file. (cherry picked from commit ca152fd8207cf53816b1407d5f54f6ea160a3ef8)
* Add ability to include literal text in the prototype check.Andy Dougherty2019-04-021-0/+1
| | | | | | | | This is the same technique as in the metaconfig unit Protochk.U. See that unit for more usage information. It is a bit clunky, but does work. (cherry picked from commit 63c1fa6a98bc60234a21de83dd191cd581a5d073)
* fix 'for reverse @array' bug on AIXDavid Mitchell2019-04-022-3/+17
| | | | | | | | | | | | | | | | | RT #133558 Due to what appears to be a compiler bug on AIX (or perhaps it's undefined behaviour which happens to work on other platforms), this line of code in pp_iter(): inc = 1 - (PL_op->op_private & OPpITER_REVERSED); was setting inc to 4294967295 rather than to the expected -1 (inc was a 64-bit signed long). Fix it with a couple of judicious (IV) casts (which ought to be a NOOP). (cherry picked from commit d6139ec4a9065ae249ab512398326a70dfb2fea2)
* (perl #127606) adjust dependency paths on installation on darwinTony Cook2019-04-022-2/+57
| | | | | | | | | | | | | | | | | | | | | SIP (System Integrity Protection) on OS X prevents the DYLD_LIBRARY_PATH environment variable from being propagated through /bin/sh, causes many tests to fail (and some more recent build issues) for -Duseshrplib builds. To avoid that, we change the way libperl.dylib is linked to perl, so for the initial build the library's id is at the build location rather than the install location, and the generated executable also expects to find libperl in that location. This obviously won't work once we copy both to the installation directory, so we adjust both the id of the library and the dependency path in the executable to point to the new location of the library. A previous attempt set -rpath and used @rpath in the id, but this made the embedding test fail. (cherry picked from commit 191f8909fa4eca1db16a91ada42dd4a065c04890)
* (perl #133411) don't try to load Storable with -DusecrosscompileTony Cook2019-04-022-4/+15
| | | | (cherry picked from commit edf639fce3e8c8852ee4179ab902b357b1deba98)
* Fix Windows build with CCTYPE=SDK2003SP1Steve Hay2019-04-023-0/+27
| | | | | | | | | | | The Platform SDK 2003 SP1 x64 compiler has _MSC_VER 1400 like MSVC80, but doesn't define _configthreadlocale() in the /MD (MSVCRT.DLL) version of the CRT used by perl. (Compare C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\src\crt\setlocal.c with C:\Program Files (x86)\ Microsoft Visual Studio 8\VC\crt\src\setlocal.c. The latter always defines _configthreadlocale(), but the former only does so when _MT is defined.) (cherry picked from commit b79cd7dfefcc16674b83ffdeb11687ea693b7845)
* RT#133573: $^X fallback when platform-specific technique failsAaron Crane2019-04-021-12/+16
| | | | (cherry picked from commit 03b94aa47e981af3c7b0118bfb11facda2b95251)
* $VERSION++ for previous cherry-pickSteve Hay2019-04-021-1/+1
| | | | (Version 3.09 was already used elsewhere, hence the need for the _01)
* (perl #133326) fix and clarify handling of recurs_sv.Tony Cook2019-04-022-37/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were a few problems: - the purpose of recur_sv wasn't clear, I believe I understand it now from looking at where recur_sv was actually being used. Frankly the logic of the code itself was hard to follow, apparently only counting a level if the recur_sv was equal to the current SV. Fixed by adding some documentation to recur_sv in the context structure. The logic has been re-worked (see below) to hopefully make it more understandable. - the conditional checks for inc/decrementing recur_depth didn't match between the beginnings and ends of the store_array() and store_hash() handlers didn't match, since recur_sv was both explicitly modified by those functions and implicitly modified in their recursive calls to process elements. Fixing by storing the starting value of cxt->recur_sv locally testing against that instead of against the value that might be modified recursively. - the checks in store_ref(), store_array(), store_l?hash() were over complex, obscuring their purpose. Fixed by: - always count a recursion level in store_ref() and store the RV in recur_sv - only count a recursion level in the array/hash handlers if the SV didn't match. - skip the check against cxt->entry, if we're in this code we could be recursing, so we want to detect it. - (after the other changes) the recursion checks in store_hash()/ store_lhash() only checked the limit if the SV didn't match the recur_sv, which horribly broke things. Fixed by: - Now only make the depth increment conditional, and always check against the limit if one is set. (cherry picked from commit 120060c86e233cb9f588314214137f3ed1b48e2a)
* (perl #133422) handle Off_t smaller than size_tTony Cook2019-04-022-2/+11
| | | | (cherry picked from commit b9965e1496efe3cb6116e74d50aa83152c70e877)
* (perl #133778) adjust MARK if we extend the stack in pp_repeatTony Cook2019-04-022-2/+85
| | | | | | for a list repeat in scalar/void context (cherry picked from commit d81b77352f66acde60db1b056b8eb3321b7b55fe)
* (perl #131562) correct large line numbers copying eval lines on #lineTony Cook2019-04-021-5/+5
| | | | | | | | | | | | Previously this used I32 for line numbers, which takes half the range of line_t and folds it into negative numbers, leading to trying to store the lines at negative indexes. The while loop was also modified to stop storing if/when the line number no longer fits into cop_line, or no longer fits into SSize_t (as a positive number) since the index parameter to av_store() is a SSize_t. (cherry picked from commit 515c395bcca24c55c85b5aeea239e5e836c36059)
* (perl #132158) abort compilation if we see an error compiling a formTony Cook2019-04-022-0/+18
| | | | (cherry picked from commit 817480137a8b1165315f21d14b8968862101c3a2)
* Set the tentative release dateSteve Hay2019-03-281-1/+1
| | | | | | Setting this for an RC is contrary to the RMG instructions, but is currently necessary to avoid dist/Module-CoreList/t/maintainer.t failing its last test.
* Update Module::CoreList with data so far for the imminent 5.28.2Steve Hay2019-03-283-4/+34
| | | | | (bump $VERSIONs to tentative relese date, run Porting/corelist.pl, and add Changes entry)
* Bump version to 5.28.2, ahead of its impending releaseSteve Hay2019-03-2821-121/+121
| | | | (includes regen/opcode.pl)
* Fix the 5.29.9 `changed` key a bit to reflect commitSteve Hay2019-03-281-0/+1
| | | | | | c15407c8b80c36d88f9038e7519e468ffd132da5. (manually cherry picked from commit 50691e40a8a5818b4a93574c0a9a6c4536b5080d)
* Update Module::CoreList for 5.29.9Zak B. Elep2019-03-281-1/+9
| | | | (cherry picked from commit d104af67af35520a6c347b8918e8d96e6001f4f9)
* Bump Devel::PPPort to keep in sync with CPANNicolas R2019-03-281-0/+1
| | | | | | | | | | | During Perl 5.29.8 release, Devel-PPPort was uploaded to CPAN but the distro was incomplete as unit tests were not part of the submitted tarball. To fix this, a new 3.45 version was published to CPAN. This commit, keep blead in sync with this change. (manually cherry picked from commit 80e7c5414423d633f11ec93a7990915e97489502)
* fix for Module/CoreList.pm 5.029009Nicolas R2019-03-281-1/+1
| | | | | | damn it Nico.. (cherry picked from commit 6e6cdde63658709abb7347e7c4b065138fe839f1)
* Update Module::CoreList for 5.29.9Nicolas R2019-03-283-0/+29
| | | | (manually cherry picked from commit 906ab9d7e9411692d23665f59e92c1c980767d23)
* Bump Devel::PPPort to 3.44 for CPAN releaseNicolas R2019-03-281-0/+1
| | | | | | | | During v5.29.8 dev cycle a change was made to Devel-PPPort 18d728ac3b which justify to bump and release a new version of Devel::PPPort. (manually cherry picked from commit ca8b93afd02ddde55c1aa9e6fbff9acdad31593d)
* Update Module::CoreList for 5.19.8Nicolas R2019-03-281-0/+87
| | | | (cherry picked from commit fbabbb9ebf3b093b33cf213be76bf4a1c095e230)
* Time-HiRes 1.9760 - bump Module::CoreList & coNicolas R2019-03-281-1/+1
| | | | | | | Also bump Porting/Maintainers.pl to synchronize with the upstream version we are using. (manually cherry picked from commit b6125dfcd017e2dd18dacdce91a6e071499b7aed)
* Update Module::CoreList for 5.29.8Abigail2019-03-283-0/+29
| | | | (manually cherry picked from commit 78073bbc33dabe19fec23114794e20d1c94e1706)
* Update Module::CoreList for 5.29.7Abigail2019-03-281-2/+129
| | | | (manually cherry picked from commit 6ff46aeea7402a959033e02676dfa8253b1090bd)
* Update Module::CoreList for 5.29.7Abigail2019-03-283-0/+29
| | | | (manually cherry picked from commit 3f4d3763652d6150a798679412558382fdbc2550)
* Update Module::CoreList for 5.29.6Abigail2019-03-282-3/+92
| | | | (manually cherry picked from commit 3d767862239fbc476e781a46504d3c632097e0ee)