| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
It panics if the context it has just popped back to isn't a CXt_EVAL.
Since we have just called dopoptoeval() which can only pop to an eval, and
since we assert that its an eval, this seems such an unlikely "this can
can never happen" that it doesn't really seem worth testing for.
It was added in perl5.000, and may have made slightly more sense then, as
there used to be a POPBLOCK just before it.
|
| |
|
| |
|
|
|
|
|
|
| |
Also with contribution by Chas. Owens.
For: RT #125471
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
These are all specified by POSIX/SUSv3, but not all platforms have them,
as mentioned in POSIX.pm.
We can only test the pid, uid and code fields, since they are the only
ones that are defined for a user-sent signal.
|
|
|
|
|
| |
Mention them in the sigaction documentation, and document the 'addr'
field.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
commit at first
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds the final Unicode boundary type previously missing from core
Perl: the LineBreak one. This feature is already available in the
Unicode::LineBreak module, but I've been told that there are portability
and some other issues with that module. What's added here is a
light-weight version that is lacking the customizable features of the
module.
This implements the default Line Breaking algorithm, but with the
customizations that Unicode is expecting everybody to add, as their
test file tests for them. In other words, this passes Unicode's fairly
extensive furnished tests, but wouldn't if it didn't include certain
customizations specified by Unicode beyond the basic algorithm.
The implementation uses a look-up table of the characters surrounding a
boundary to see if it is a suitable place to break a line. In a few
cases, context needs to be taken into account, so there is code in
addition to the lookup table to handle those.
This should meet the needs for line breaking of many applications,
without having to load the module.
The algorithm is somewhat independent of the Unicode version, just like
the other boundary types. Only if new rules are added, or existing ones
modified is there need to go in and change this code. Otherwise,
running regen/mk_invlists.pl should be sufficient when a new Unicode
release is done to keep it up-to-date, again like the other Unicode
boundary types.
|
|
|
|
| |
Saves memory in interp struct.
|
| |
|
|
|
|
| |
I don't think the two separate patches need separate entries
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Unicode \b{wb} matches the boundary between space characters in a
span of them. This is opposite of what \b does, and is counterintuitive
to Perl expectations. This commit tailors \b{wb} to not split up spans
of white space.
I have submitted a request to Unicode to re-examine their algorithm, and
this has been assigned to a subcommittee to look at, but the result
won't be available until after 5.24 is done. In any event, Unicode
encourages tailoring for local conditions.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- use I<...> for italics/emphasis, not '...'
- "Make Rule 2" was missing its "=head3" that marks it as a section
- consistently use 2 spaces for indentation
- add internal hyperlinks to the Make/Use Rules
- consistently use C<...> to refer to variables
- consistently use 'for' (not 'foreach')
- hyperlink push/ref to their documentation in perlfunc
- hyperlink ==/eq to their documentation in perlop
- hyperlink "use strict 'refs'" to strict
- remove mention of "soft reference" because according to perlref that
term has been officially discouraged since 1996
|
|
|
|
|
| |
Also change the indentation from chomp from 1 back to 2 spaces. (It was
changed from 2 to 1 in a29d1a25ab4 in 2003 but no reason was given.)
|
| |
|
| |
|
|
|
|
| |
Pointed out by Andrew Rodland (hobbs) on #p5p
|
|
|
|
|
|
| |
... also remove unused LOOP label from 'last' example, mention 'redo'
(works like 'next' in this case), add example that combines
'next'/'last' (and requires the label).
|
|
|
|
|
|
|
|
|
|
| |
- verbatimize a paragraph of sample commands
- grammar: sent -> send
- consistently hyperlink all email addresses
- hyperlink RT tickets
- hyperlink commit hashes
- consistently refer to bisect.pl as F<Porting/bisect.pl>
- add F< > to things that look like filenames
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
We are now trying to use deprecation warnings only when we believe
that a behavior will really be removed or made an error. Since we
don't plan to do that with *glob{FILEHANDLE}, the warning is not
useful and may be harmful.
See discussion at [perl #127060].
|
| |
|
| |
|
| |
|
| |
|