| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
When \N was introduced, the perl*delta entry for it had a short
warning about its collision with \N{NAME} when the NAME was a
alias that was a digit. I've moved that into perlre at the spot
where there was a much less informative note about the same
problem.
|
|
|
|
|
|
|
|
|
|
| |
Quite a lot has changed since those examples were written:
the RV body type no longer exists, the indentation is different,
the address of the SV as well as its body is now displayed,
and various fields are no longer displayed by default.
Also, as per https://rt.cpan.org/Public/Bug/Display.html?id=56286,
the 2-element array example had the wrong FILL/MAX.
|
|
|
|
|
|
|
| |
Surrogates, non-character code points, and non-Unicode code points are
problematic in some contexts. These macros allow easy determination if
a code point is in one of these classes. There are versions both for
UVs, and utf8-encoded.
|
| |
|
| |
|
|
|
|
|
| |
Add a flag TIED_METHOD_SAY to Perl_tied_method(), to allow tied PRINT to
effect C<local $\ = "\n";> within the ENTER/LEAVE pair of Perl_tied_method().
|
| |
|
|
|
|
| |
It can be used for (at least) the call to "SPLICE" from pp_splice.
|
|
|
|
|
| |
This makes it clear that it's not a direct aTHX_ wrapper for
S_tied_handle_method().
|
| |
|
|
|
|
|
| |
Previously they were combined into one numeric value, using a bitshift. This
was a false economy.
|
|
|
|
|
| |
It was only needed for B::CC, which was removed from core
in 5.10.0
|
|
|
|
| |
because most OSes support it anyway, and it's easy to do
|
| |
|
|
|
|
|
| |
Instead of generating a separate list of missing ranges in a table, it's
less work to use the fill-in the missing ranges feature.
|
|
|
|
| |
A previous commit removed the 'if' around this code, so can outdent it.
|
|
|
|
|
|
| |
When I was originally writing this code, I thought it was faster to do
an extra substr to avoid a regex match. I have since found out that is
not true.
|
| |
|
|
|
|
| |
Don't output an empty list.
|
|
|
|
|
| |
This makes sure that in certain cases when adding to a table that we
know should not have elements in the area that it actually does.
|
|
|
|
| |
Signed-off-by: Ævar Arnfjörð Bjarmason <avar@cpan.org>
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Add a new flag ARGUMENTS_ON_STACK to S_tied_handle_method(), which methods
which take a list (OPEN, PRINTF, READ and WRITE) will need.
|
| |
|
|
|
|
| |
.. since they only fail under threads.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Commit 4592e6caefc41a75, from 1999, added the PUTBACK as part of the initial
implementation of tied OPEN. At this time, pp_open (as then was) popped the
arguments off the stack (to local variables), so the new tie code pushed them
back onto the stack, before calling the method. The stack position was
manipulated, hence the local variable sp had potentially diverged from the
global PL_stack_sp, hence the latter needed updating.
Commit a567e93b903bc984, from 2001, which added support for
open $fh, '|-', @array; refactored pp_open to avoid all stack manipulation.
Hence sp (the local variable) never changes along this code path, hence it
never needs to be written back to PL_stack_sp.
|
|
|
|
| |
Consistency will make it easier to refactor.
|
| |
|
|
|
|
|
|
| |
If a dll is updated on cygwin reuse the old imagebase address.
This solves most rebase errors, esp when updating on core dll's.
See http://www.tishler.net/jason/software/rebase/rebase-2.4.2.README
|
|
|
|
|
|
| |
Also, use regexs in place of the loops over @dont and @more_dont, the lists
of Win32 (was DOS (was CP/M)) reserved device filenames and of disallowed
characters. This makes the intent clearer, at the cost of some runtime.
|
|
|
|
|
|
| |
DynaLoader already has its own preprocessor to filter out code that
is only relevant on other platforms, so use it for the change from
commit cc7e77fd
|
|
|
|
| |
"." characters or with lenghts exceeding 32 characters.
|
|
|
|
|
|
| |
In the auto-generated overload.c and overload.h files, add a comment to
each line mapping from the method name to the enumeration name and
vice-versa.
|
|
|
|
| |
hadn't worked for years before that.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
part1: Support the standard cyg dll prefix, which is e.g. needed for FFI's.
Ctypes and C::DynaLib use DynaLoader to find dlls.
part2: With -DUSEIMPORTLIB DynaLoader symbols link against the prefixed
symbol names for the .dll.a importlib, but we need to link against the
symbols directly. We don't link Dynaloader against libperl.dll.a.
Otherwise:
$ g++-4 -o cygperl5_13_4.dll --shared perlsrc.o cygwin.o DynaLoader.o -ldl -lcrypt
Creating library file: libperl.dll.a
DynaLoader.o: In function `XS_DynaLoader_dl_undef_symbols':
ext/DynaLoader/DynaLoader.c:346: undefined reference to `__imp__PL_stack_sp'
ext/DynaLoader/DynaLoader.c:346: undefined reference to `__imp__PL_markstack_ptr'
ext/DynaLoader/DynaLoader.c:346: undefined reference to `__imp__PL_stack_base'
|
|
|
|
|
|
| |
do not use usemymalloc (double size + slow)
remove deprecated libcygipc info
remove overlarge stack size
|
| |
|
|
|
|
|
| |
Expecting the targ in sp[-1] rather than sp[0] is accomplished
cleanly using dATARGET.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
The new entry is a bit too futuristic: assignment to $[ still works
and it is not read-only.
This does not fully restore the old description, as it contained
grammatical errors and parts of it were not updated when 5.10 changed
the scoping.
|
|
|
|
| |
This reverts commit a5cd004dbd757df2bcf9e17aab6a8ed1272157d7.
|
|
|
|
| |
This reverts commit 1726bc11330f7a943b1e12c6dd5fa5454b90abd6.
|