| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
the flags. Move its implementation just ahead of sv_2mortal()'s for
CPU cache locality. Refactor all code that can be to use this.
p4raw-id: //depot/perl@32818
|
|
|
|
|
|
|
|
|
| |
Perl_gv_fetchmethod_autoload() is clearly TODO.
Move the paragraph
"strcat(), strcpy(), strncat(), strncpy(), sprintf(), vsprintf()"
to the section "Tasks that need a little C knowledge" as it doesn't
need any XS knowledge.
p4raw-id: //depot/perl@32478
|
|
|
|
|
|
|
|
|
| |
managed to cause a proxy constant subroutine in the symbol table to
be upgraded to a GV at precisely the point where it was being
considered as a possible IO handle name. The core's user-space visible
behaviour certainly was buggy - I believe this patch to be the correct
fix. However, it seems to be very hard to write a test for it.
p4raw-id: //depot/perl@32172
|
|
|
|
|
| |
sv_usepvn_flags(). Fixed.
p4raw-id: //depot/perl@32139
|
|
|
|
|
|
| |
Donate the prototype buffer to the CV in Perl_gv_init(), rather than
setting a copy, and immediately free()ing the original.
p4raw-id: //depot/perl@32136
|
|
|
|
|
| |
the length. (Not sure why I didn't spot this one during change 32124.)
p4raw-id: //depot/perl@32132
|
|
|
|
|
|
|
| |
as the length is already known. Hence conditionally compile out the
logic related to the call to strlen() from S_method_common(), and use
newSVhek in S_gv_get_super_pkg().
p4raw-id: //depot/perl@32130
|
|
|
|
|
| |
length can be obtained via CopFILESV().
p4raw-id: //depot/perl@32129
|
|
|
|
|
|
|
|
|
|
|
| |
gv_stashpv() to gv_stashpvn() and gv_fetchpv() to gv_fetchpvn_flags().
Change the len parameter of S_find_in_my_stash() from I32 to STRLEN, as
a pointer the variable needs to be passed onwards, and size matters on
64 bit platforms.
Fix the temporary scribbling of a buffer in Perl_yylex() by using
gv_fetchpvn_flags(), and remove the XXX comment added in change 27641.
Brought to you by the Campaign for the Elimination of strlen().
p4raw-id: //depot/perl@32127
|
|
|
|
|
|
| |
loop in Perl_Gv_AMupdate().
Brought to you by the Campaign for the Elimination of strlen().
p4raw-id: //depot/perl@32124
|
|
|
|
|
|
|
| |
see), so it can easily be a static variable inside gv.c. This allows
the implementation to be changed in future Perls within the 5.10.x
series.
p4raw-id: //depot/perl@32116
|
|
|
|
|
|
| |
From: "Brandon Black" <blblack@gmail.com>
Message-ID: <84621a60710072036l60c29016tba8a32b8021b5b24@mail.gmail.com>
p4raw-id: //depot/perl@32065
|
|
|
| |
p4raw-id: //depot/perl@31936
|
|
|
|
|
| |
severe warnings (as suggested by Audrey Tang)
p4raw-id: //depot/perl@31589
|
|
|
|
|
|
|
|
|
|
| |
Subject: Re: [perl #43357] *DESTROY = sub {} at runtime
From: "Brandon Black" <blblack@gmail.com>
Message-ID: <84621a60706260905x2da6eaf1x4bd7d5223951e52@mail.gmail.com>
Fix problem recently introduced with loosing a DESTROY when redefined
at runtime.
p4raw-id: //depot/perl@31472
|
|
|
|
|
|
| |
From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Message-ID: <51dd1af80706031324y5618d519p460da27a2e7fe712@mail.gmail.com>
p4raw-id: //depot/perl@31341
|
|
|
|
|
|
| |
From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Message-ID: <51dd1af80705011658g1156e14cw4d2b21a8d772ed41@mail.gmail.com>
p4raw-id: //depot/perl@31130
|
|
|
|
|
|
| |
From: "Brandon Black" <blblack@gmail.com>
Message-ID: <84621a60704291527y1b39be37l221ef66e4c828f66@mail.gmail.com>
p4raw-id: //depot/perl@31107
|
|
|
|
|
| |
category, as documented
p4raw-id: //depot/perl@30982
|
|
|
|
|
|
| |
From: "Brandon Black" <blblack@gmail.com>
Message-ID: <84621a60704171114k29b0460el5b08ce5185d55ed5@mail.gmail.com>
p4raw-id: //depot/perl@30980
|
|
|
|
|
| |
for files in the standard library.
p4raw-id: //depot/perl@30969
|
|
|
|
|
|
| |
If we just cast GvSVn(gv) to void, it ignores evaluating it for
its side effect.
p4raw-id: //depot/perl@30903
|
|
|
| |
p4raw-id: //depot/perl@30629
|
|
|
|
|
|
| |
Stops 'use vars qw($!)' in lib/vars.t segfaulting.
(This can be reduced to 'my $sym = "!"; *$sym = \$$sym')
p4raw-id: //depot/perl@30577
|
|
|
|
|
| |
Message-ID: <9b18b3110703080120s41147a4fh4f4c1f9817079be3@mail.gmail.com>
p4raw-id: //depot/perl@30518
|
|
|
|
|
| |
Message-ID: <9b18b3110703071144t787e028s8a79fa1986624b54@mail.gmail.com>
p4raw-id: //depot/perl@30517
|
|
|
|
|
|
|
|
|
| |
for @- and @+ : do this directly from the lexer (patch by Yves
Orton.) This way, @- and @+ aren't preloaded anymore.
Avoid to require re::Tie::Hash::NamedCapture when the *- or *+
globs are created, this was breaking the build due to miniperl's
inability to load it.
p4raw-id: //depot/perl@30496
|
|
|
|
|
|
|
|
|
|
| |
To silence spurious interpolation warnings, merely
create the stash entry for them. Ensure that the
re::Tie::Hash::NamedCapture module is always loaded
when we have created the tied hashes %+ and %-.
Revert change #30483, which is now unnecessary.
p4raw-link: @30483 on //depot/perl: 73f68b39467596f862aade4f4b46d6061aa98bd3
p4raw-id: //depot/perl@30490
|
|
|
|
|
|
| |
happening in there too. More importantly, call it when we load both
a hash or a glob.
p4raw-id: //depot/perl@30488
|
|
|
| |
p4raw-id: //depot/perl@30487
|
|
|
| |
p4raw-id: //depot/perl@30443
|
|
|
| |
p4raw-id: //depot/perl@30442
|
|
|
|
|
| |
Message-ID: <20070221215316.GF5646@bort.ca>
p4raw-id: //depot/perl@30383
|
|
|
|
|
|
| |
sv = newSV(0);
sv_upgrade(sv, type);
p4raw-id: //depot/perl@30347
|
|
|
| |
p4raw-id: //depot/perl@30188
|
|
|
|
|
| |
(Retain the aides memoire in makedef.pl)
p4raw-id: //depot/perl@30105
|
|
|
|
|
|
| |
buffer. (Requires adding gv_fetchfile_flags(), savesharedpvn() and
CopFILE_setn() to provide pointer/length versions of APIs)
p4raw-id: //depot/perl@30015
|
|
|
|
|
|
| |
byte for it, so correct the < to <= so that we use the smallbuf
whenever possible.
p4raw-id: //depot/perl@30000
|
|
|
|
|
|
|
| |
(The actual size doesn't matter, as the buffers are only there to
save a malloc() for the common, short, case. Coverage reports suggest
that we aren't actually testing the long case. Yet - will fix this)
p4raw-id: //depot/perl@29987
|
|
|
|
|
| |
string, so don't bother allocating buffer space or adding a NUL.
p4raw-id: //depot/perl@29983
|
|
|
|
|
| |
of flags, not a boolean, so correct the documenation and callers.
p4raw-id: //depot/perl@29977
|
|
|
| |
p4raw-id: //depot/perl@29970
|
|
|
| |
p4raw-id: //depot/perl@29875
|
|
|
|
|
|
|
|
| |
${^POSTMATCH}
Message-ID: <9b18b3110701111731x29b1c63i57b1698f769b3bbc@mail.gmail.com>
(with tweaks)
p4raw-id: //depot/perl@29831
|
|
|
|
|
| |
allows symbolic code references with embeded NULs to work.
p4raw-id: //depot/perl@29830
|
|
|
|
|
| |
given that blead's refactoring is not yet in maint.
p4raw-id: //depot/perl@29748
|
|
|
| |
p4raw-id: //depot/perl@29696
|
|
|
|
|
|
|
|
|
| |
Subject: [PATCH] Cleanup SVf arguments (2nd try)
Message-ID: <20070101201613.4120d9ef@r2d2>
Introduce an SVfARG() macro for %SVf (%-p here) arguments to
perl's printf
p4raw-id: //depot/perl@29687
|
|
|
|
|
|
|
| |
and add support for %-
Message-ID: <9b18b3110612291245q792fe91cu69422d2b81bb4f0b@mail.gmail.com>
p4raw-id: //depot/perl@29682
|
|
|
|
|
|
|
|
| |
Not doing this will produce invalid frees in the global destruction
process, probably because the empty string will get freed several
times. This should be safe since gp_file_hek is only assigned a
new value with share_hek().
p4raw-id: //depot/perl@29610
|