summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in perlrun.podSteven Humphrey2016-09-202-1/+2
| | | | | | | | | s/and/any/ perl -c documentation has a typo when talking about BEGIN blocks. Steven Humphrey is now a Perl author. For: RT #129313
* new perldeltaStevan Little2016-09-2011-160/+575
|
* known pod issuesStevan Little2016-09-201-1/+1
|
* ticking the releaseStevan Little2016-09-201-1/+1
|
* update epigraphs.podStevan Little2016-09-201-0/+13
|
* typoSawyer X2016-09-201-1/+1
|
* add new release to perlhistv5.25.5Stevan Little2016-09-201-0/+1
|
* finalize the perldeltaStevan Little2016-09-201-309/+44
|
* Update Module::CoreList for 5.25.5Stevan Little2016-09-201-1/+79
|
* utf8.c: Fix bug in new _is_utf8_char_helper() functionKarl Williamson2016-09-193-3/+8
| | | | This bug was exposed by the tests that I'm still developing
* Make regexp_nonull.t test patterns without nullFather Chrysostomos2016-09-191-1/+17
| | | | | | It was only testing matches against strings without a trailing null byte. Now it also tests compilation of patterns without a trailing null byte.
* regcomp.c: S_concat_pat: guard against missing trailing nullsYves Orton2016-09-191-2/+14
| | | | | | | | The regex engine expects the pattern to have a null byte at SvEND(pat), but is not guaranteed to receive such a pattern when it is called, so S_concat_pat should guard against this case. It turns out this is only an issue when there is exactly one "argument" to the pattern. (Consider concatenation rules, etc).
* sv.c: sv_grow: newlen cannot be smaller than SvCUR()Yves Orton2016-09-191-1/+1
| | | | | This expression dates back to about 2003 or so, and as far as I can tell is no longer necessary.
* doop.c: use sv_setpvn() instead of sv_setpvs()Yves Orton2016-09-191-1/+1
|
* perldelta: grammarLukas Mai2016-09-191-1/+1
|
* Correct one formatting error in perldelta.pod.James E Keenan2016-09-191-1/+1
| | | | This was causing a failure in t/porting/podcheck.t.
* working on perldelta some moreStevan Little2016-09-191-0/+62
|
* perldelta for e426a4af0Father Chrysostomos2016-09-181-1/+3
|
* perldelta for #129287 / b43665Father Chrysostomos2016-09-181-0/+9
|
* perldelta: Remove duplicate entry; fix typoFather Chrysostomos2016-09-181-5/+1
| | | | I had already documented the perlinterp change.
* bop.t: Delete $SIG{__WARN__}Father Chrysostomos2016-09-181-0/+2
| | | | | | | It is only needed for one block of tests. Leaving the handler in place makes it harder to add temporary diagnostics elsewhere in the code. (Where did my warning go? Hey, why is ‘warn’ not work- ing?????!!!! :-)
* [perl #129287] Make UTF8 & append nullFather Chrysostomos2016-09-182-1/+14
| | | | | | | | The & and &. operators were not appending a null byte to the string in utf8 mode. (The internal function that they use is the same. I used &. in the test just because its intent is clearer.)
* regexp.t: Update comments about column 1Father Chrysostomos2016-09-181-2/+3
| | | | Years out of date!
* working on perldeltaStevan Little2016-09-181-0/+65
|
* perlfunc: re-document old split() @_ side effectAristotle Pagaltzis2016-09-181-0/+2
|
* perlsub: scalar split no longer clobbers @_ (RT #129297)Lukas Mai2016-09-181-3/+3
|
* perldelta for new Unicode-handling function.Karl Williamson2016-09-171-1/+3
|
* perlapi: Clarify docs for some is_utf8_foo functionsKarl Williamson2016-09-171-13/+15
|
* Add isUTF8_CHAR_flags() macroKarl Williamson2016-09-173-3/+116
| | | | | | | | | This is like the previous 2 commits, but the macro takes a flags parameter so any combination of the disallowed flags may be used. The others, along with the original isUTF8_CHAR(), are the most commonly desired strictures, and use an implementation of a, hopefully, inlined trie for speed. This is for generality and the major portion of its implementation isn't inlined.
* Add macro for Unicode Corregindum #9 strictKarl Williamson2016-09-176-2/+164
| | | | | | | | | | | | | This macro follows Unicode Corrigendum #9 to allow non-character code points. These are still discouraged but not completely forbidden. It's best for code that isn't intended to operate on arbitrary other code text to use the original definition, but code that does things, such as source code control, should change to use this definition if it wants to be Unicode-strict. Perl can't adopt C9 wholesale, as it might create security holes in existing applications that rely on Perl keeping non-chars out.
* Add macro for determining if UTF-8 is Unicode-strictKarl Williamson2016-09-176-12/+323
|
* perlapi: Clarify isUTF8_CHAR()Karl Williamson2016-09-171-3/+4
|
* inline.h: Add 'const's; avoid hiding outer variableKarl Williamson2016-09-174-16/+16
| | | | | This changes some formal parameters to be const, and avoids reusing the same variable name within an inner block, to avoid confusion
* Add tests for is_valid_partial_utf8_char_flags()Karl Williamson2016-09-172-1/+128
|
* Add is_utf8_valid_partial_char_flags()Karl Williamson2016-09-174-7/+38
| | | | | This is a generalization of is_utf8_valid_partial_char to allow the caller to automatically exclude things such as surrogates.
* perlapi: Reword description of is_utf8_valid_partial_charKarl Williamson2016-09-171-19/+18
|
* Fix off-by-one error in is_utf8_valid_partial_char()Karl Williamson2016-09-171-1/+1
|
* handy.h: Comment memEQs and memNEsKarl Williamson2016-09-171-0/+1
|
* utf8.c: Add some UNLIKELYsKarl Williamson2016-09-171-3/+3
|
* utf8.h: Add comment, white-space changesKarl Williamson2016-09-171-7/+11
|
* Enhance and rename is_utf8_char_slow()Karl Williamson2016-09-176-31/+123
| | | | | | | This changes the name of this helper function and adds a parameter and functionality to allow it to exclude problematic classes of code points, the same ones excludeable by utf8n_to_uvchar(), like surrogates or non-character code points.
* APItest/t/utf8.t: Add testsKarl Williamson2016-09-171-11/+196
| | | | | These fill in gaps in current testing. In particular all the overlong UTF-8 possible edge cases are now tested.
* APItest/utf8.t: Some clean upKarl Williamson2016-09-171-23/+33
| | | | | | | This adds some information to test names, does some white-space alignments, changes one test to stress things slightly more, and adds a 'use bytes' because in some cases the desired byte-oriented output was not showing up.
* Test isUTF8_CHAR()Karl Williamson2016-09-172-2/+60
|
* lib/warnings/utf8: Reinstate warning testKarl Williamson2016-09-171-0/+1
| | | | | | I removed this in 35f8c9bd0ff4f298f8bc09ae9848a14a9667a95a, thinking the warning was no longer being raised. But in fact, it was showing a bug, now fixed by the previous commit.
* Revamp overlong handling in is_utf8_char_slow, fixing a bugKarl Williamson2016-09-171-43/+59
| | | | | | | | | | This combines EBCDIC and ASCII branches as much as possible, and fixes a bug that showed up only on EBCDIC platforms, and 64-bit ASCII ones for the highest overlong, where it could erroneously conclude that a sequence was an overlong. Tests are coming in a future commit. .
* utf8.c: Fix typo in comment, add some commentsKarl Williamson2016-09-171-4/+7
|
* utf8.c: Extract duplicate code to common fcnKarl Williamson2016-09-175-42/+143
| | | | | | Actually the code isn't quite duplicate, but should be because one instance is wrong. This failure would only show up on EBCDIC platforms. Tests are coming in a future commit.
* handy.h: Add memLT, memLE, memGT, memGEKarl Williamson2016-09-171-0/+5
| | | | | These correspond to strLT, etc. I am deferring documenting them in case this turns out to be a bad idea for some reason.
* Unconditionally define memcmp() if not saneKarl Williamson2016-09-171-3/+2
| | | | | | | | Prior to this commit, if there was a #define for memcmp that invoked a version that Configure deemed to not be sufficient for normal use, it was retained, so that perl used the defective version. This apparently hasn't been a problem in the field, but I realized the potential issue doing code reading, and am correcting it.