summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Correctly call delete magic on all hash magicLeon Timmermans2021-06-021-1/+1
| | | | | | | Previously it would only call it correctly if the hash magic was RMAGICAL, which is only set if a magic either has clear magic or has neither get or set magic. This means any magic with get or set would break.
* Rename G_ARRAY to G_LIST; provide back-compat when not(PERL_CORE)Paul "LeoNerd" Evans2021-06-0228-131/+137
|
* gh18770: stop scanning for substrs after *COMMITHugo van der Sanden2021-06-012-6/+25
| | | | | *ACCEPT already avoids this (because it is "ENDLIKE"), but gets a related fix to stop scanning for start class.
* regcomp.c: white-space; commentsKarl Williamson2021-05-311-268/+239
|
* Base *.[ch] files: Replace leading tabs with blanksMichael G Schwern2021-05-3114-23900/+23900
| | | | | | | This is a rebasing by @khw of part of GH #18792, which I needed to get in now to proceed with other commits. It also strips trailing white space from the affected files.
* regcomp.c: Extract code from a too-large-functionKarl Williamson2021-05-314-140/+205
| | | | | S_regclass() is unwieldy. This commit splits it into two nearly equal size parts. More could be done.
* perl5340delta: Clarify /x{,3}/Karl Williamson2021-05-311-1/+4
| | | | | | This was suggested by @LanX This fixes GH #18812
* perluniprops: Remove references to Unicode::UnihanKarl Williamson2021-05-315-6/+6
| | | | | | This CPAN module doesn't work on recent Unicode versions This fixes GH #18787
* Porting/docs-team-charter.pod: the docs team charterRicardo Signes2021-05-313-0/+126
|
* [gh 17847] data->pos_delta should stick at infinityHugo van der Sanden2021-05-311-0/+1
| | | | | | | | The expression we're about to add to data->pos_delta in this part of study_chunk() can be both positive or negative; however while we apply an overflow check to avoid exceeding OPTIMIZE_INFTY, we were happily subtracting from it when the expression was negative, making it no longer infinite.
* [gh 17847] avoid overflow on delta in study_chunkHugo van der Sanden2021-05-311-2/+14
| | | | delta and pos_delta may hold OPTIMIZE_INFTY to represent infinity.
* [gh 17847] Include data->pos_delta in #if'd-out diagnosticHugo van der Sanden2021-05-311-2/+3
|
* gh18842: fix a pair of sprintf format warningsHugo van der Sanden2021-05-311-2/+2
| | | | | The format is '%s', so it is not appropriate to wrap the char * arguments in SVfARG().
* Improve grammarJames E Keenan2021-05-311-5/+5
| | | | | | | Per suggestion by oodler577 in https://github.com/Perl/perl5/pull/18736. With correction reported as needed by grinnz in https://github.com/Perl/perl5/pull/18806.
* Add difference between <=> and cmp example積丹尼 Dan Jacobson2021-05-311-0/+7
| | | For https://github.com/Perl/perl5/issues/18742
* perlhacktips: Add callgrind profiling documentationMatthew Horsfall2021-05-311-0/+45
| | | | | | One of the benefits of callgrind is you can profile perls that haven't been built with debugging symbols, which can be real useful on live-ish datasets
* Bump feature.pm Version to 1.66Karl Williamson2021-05-312-2/+2
|
* Sync Configure with META/DIST : >&4 changes and a typoH.Merijn Brand2021-05-311-10/+10
|
* Clarify descriptions of unicode_eval and evalbytes.Felipe Gasper2021-05-313-52/+35
| | | | Issue #18801
* gh17824: zero curlocales[]Hugo van der Sanden2021-05-311-0/+3
| | | | | Static analysis tools such as Coverity and clang report that we can otherwise end up reading uninitialized data, and inspection agrees.
* Refactor UTF_START_MARK()Karl Williamson2021-05-301-5/+10
| | | | | This allows the removal of a conditional in a very low level (called a lot) macro
* The previous commit wasn't meant to be pushedTomasz Konojacki2021-05-301-3/+330
| | | | This reverts commit e9f285aca6c125ef50e64ed9b85265c9896b7b39.
* sshTomasz Konojacki2021-05-301-330/+3
|
* UTF8_IS_NEXT_CHAR_DOWNGRADEABLE() check before derefKarl Williamson2021-05-291-2/+2
| | | | Reorder the clauses to check first before dereferencing
* Happy World Digestive Health DayChris 'BinGOs' Williams2021-05-291-1/+1
|
* perlcommunity - add a webchat link for Libera.Chat #perlDan Book2021-05-291-1/+2
|
* utf8.h: Simplify UNICODE_IS_SURROGATE()Karl Williamson2021-05-281-4/+3
| | | | | This uses inRANGE() with mnemonics to make it clearer with no increase in the number of conditionals
* utf8.h: Use inRANGE for UNICODE_IS_32_CONTIGUOUS_NONCHARSKarl Williamson2021-05-281-2/+2
| | | | This leads to a single conditional instead of two.
* utf8.h: Refactor UNICODE_IS_NONCHAR()Karl Williamson2021-05-281-3/+3
| | | | | | | | | | This adds branch prediction and re-orders so that an unlikely to succeed test is done before the likely to succeed one, so that the latter usually doesn't need to be executed. Since both conditions must succeed for the entire expression to succeed, this doesn't change what the whole expresson matches. s# Please enter the commit message for your changes. Lines starting
* regexec.c: Move parameter cast into macroKarl Williamson2021-05-281-8/+5
| | | | | Instead of calling the macro with a cast parameter, do the cast inside the macro so the caller doesn't have to be bothered with it.
* inline.h: Clarify commentKarl Williamson2021-05-281-1/+2
|
* regcomp.h: Fix typos in commentsKarl Williamson2021-05-281-2/+2
|
* regexec.c: Replace code with equivlent inline fcnKarl Williamson2021-05-281-2/+1
| | | | Don't repeat a paradigm
* perl.h: Fix typo in commentKarl Williamson2021-05-281-1/+1
|
* Vulnerabilities in cpan/ modules still affect perl; we should handle themKaren Etheridge2021-05-281-2/+4
|
* isUTF8_CHAR() Check ptr before dereferencingKarl Williamson2021-05-281-1/+1
| | | | | | It is legal to call this function, though not so done in core, with empty input. By swapping two conditions in the same 'if', we check if empty before trying to access it.
* remove MSVC100/vcexpress2010 from CI, at least for nowTony Cook2021-05-271-44/+0
| | | | | | | | | | | Due to failing installation of VC express 2010, that version isn't being tested anyway, and is just producing errors. If we work out a solution for the missing download from Microsoft we can reinstate it, but at this point it's just noise reducing the utility CI gives us. This does not make VC2010 unsupported, it's purely a CI change.
* Perl_clear_defarray - array does not actually need ZeroingRichard Leach2021-05-261-1/+1
| | | | AvREIFY_only() is about to be applied
* Perl_clear_defarray: faster array creation via new macro+functionRichard Leach2021-05-261-4/+3
|
* Add Perl_av_new_alloc() function and newAV_alloc_x/z() macrosRichard Leach2021-05-265-0/+94
|
* Data::Dumper 2.180 was released on 2021-05-26.Nicholas Clark2021-05-263-3/+7
|
* perldelta.pod: entry for 2583ef6 (undef = )Richard Leach2021-05-251-0/+12
|
* Make scalar assignment to undef a compile time errorRichard Leach2021-05-252-2/+4
|
* Bump Data::Dumper's $VERSION and update Changes, for a dev release.Nicholas Clark2021-05-252-2/+6
|
* Restore the explicit Data::Dumper Makefile.PLNicholas Clark2021-05-252-0/+11
| | | | | | | | | | | | Data::Dumper's upstream repository is (effectively) blead, and whilst we can auto-generate Makefile.PL suitable for blead, this doesn't provide some other functionality needed for CPAN. This also fixes CPAN #12282, which has been missed forever. Really we should decide *which* bugtracker is canonical for Data::Dumper (and will be checked and acted upon) and then record that metadata in this Makefile.PL so that metacapn.org etc link to it.
* perldelta for 76d2194af, 73a0855d2ec, 8f432bc3baTony Cook2021-05-251-3/+11
|
* File::Copy: compare inode numbers as stringsTony Cook2021-05-251-2/+2
| | | | as recommended in perldoc -f stat
* Update version from CPAN to 0.9929Todd Rinaldo2021-05-2414-172/+13
| | | | | | | | [DELTA] 0.9929 * Upgrade to ppport 3.62 * Import fix for core build warning
* Make use open :std push layers without any mungingLeon Timmermans2021-05-241-13/+8
| | | | | Previously it would only apply the first layer that was either :utf8 or any other layer with and argument (e.g. :encoding(utf8)).
* Do not cache utf8 offsets for non-canonical lengthsLeon Timmermans2021-05-244-8/+23
| | | | In particular, if the length is beyond the end, it should not be stored as the end.