| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Message-ID: <533D273D4014D411AB1D00062938C4D90849C57D@hotel.npl.co.uk>
p4raw-id: //depot/perl@23824
|
|
|
|
|
|
|
|
|
|
| |
Change gv_fetchpv to take a UTF8 flag, as gv_fetchpvn_flags
Add gv_fetchsv to look up a GV by SV rather than a char * pointer
Provide a backwards compatability gv_fetchpv
Migrate from gv_fetchpv to gv_fetchsv where the caller was grabbing
the pointer from an SV
All tests still pass.
p4raw-id: //depot/perl@23766
|
|
|
| |
p4raw-id: //depot/perl@23741
|
|
|
|
|
|
|
| |
Tweak is_gv_magical's string comparisons to produce smaller object
code.
First 2005 copyright notice.
p4raw-id: //depot/perl@23724
|
|
|
|
|
|
|
| |
statement into 2 parts, lengths > 1 and lengths <= 1
This should cause most variables (lower case, multicharacter)
to escape the function without passing through a switch table.
p4raw-id: //depot/perl@23720
|
|
|
|
|
| |
0 names in the switch statement for length 1.
p4raw-id: //depot/perl@23719
|
|
|
|
|
| |
for determining which names are forced into main::
p4raw-id: //depot/perl@23718
|
|
|
| |
p4raw-id: //depot/perl@23717
|
|
|
|
|
|
|
|
| |
(variable names starting with a lower case letter or _, longer
than one character) get out of the function very quickly.
(Without even passing through a switch statement jump table)
Also fixes bug 33631
p4raw-id: //depot/perl@23716
|
|
|
|
|
|
| |
This is already in the API supported by Devel::PPPort, and is
more efficient than gv_stashpv if the length is already known.
p4raw-id: //depot/perl@23644
|
|
|
|
|
|
| |
be fractionally slower. Re-investigation prompted by a comment from
Tim Bunce, who seems to be more on the ball than I am.
p4raw-id: //depot/perl@23623
|
|
|
|
|
|
|
| |
Since we still want "our $_" to be always forced to $main::_,
deplace the forcing code at our-pad allocation time.
(Making execution probably a tiny bit faster)
p4raw-id: //depot/perl@23608
|
|
|
| |
p4raw-id: //depot/perl@23605
|
|
|
|
|
| |
They seem to produce slightly smaller object code too.
p4raw-id: //depot/perl@23604
|
|
|
|
|
|
|
| |
Message-Id: <20040801124648.7f9b3cee@r2d2>
Move (void) casts into SvOOK_off macro.
p4raw-id: //depot/perl@23277
|
|
|
|
|
| |
p4raw-link: @23190 on //depot/perl: d7aa53827cc12fdf8a697328df844e16aaa58287
p4raw-id: //depot/perl@23199
|
|
|
|
|
| |
p4raw-link: @23190 on //depot/perl: d7aa53827cc12fdf8a697328df844e16aaa58287
p4raw-id: //depot/perl@23198
|
|
|
|
|
| |
Message-ID: <411048BD.3080700@rowman.com>
p4raw-id: //depot/perl@23190
|
|
|
| |
p4raw-id: //depot/perl@23176
|
|
|
| |
p4raw-id: //depot/perl@22962
|
|
|
|
|
| |
Message-ID: <40847869.1000906@stason.org>
p4raw-id: //depot/perl@22721
|
|
|
|
|
| |
it breaks select.
p4raw-id: //depot/perl@22608
|
|
|
| |
p4raw-id: //depot/perl@22606
|
|
|
| |
p4raw-id: //depot/perl@22509
|
|
|
| |
p4raw-id: //depot/perl@22263
|
|
|
| |
p4raw-id: //depot/perl@21297
|
|
|
|
|
| |
Message-ID: <20030821181726.GA1241@ratsnest.hole>
p4raw-id: //depot/perl@20805
|
|
|
|
|
|
|
|
|
|
| |
unless PL_stashcache exists, otherwise we get
an invalid read (detected by valgrind, and crashes
ext/threads/t/basic.t in Windows).
Also add a few if:s for the refcnt decrements,
no need to call Perl_sv_free() if there's nothing to free.
p4raw-id: //depot/perl@20292
|
|
|
|
|
| |
(and update perldiag this time!)
p4raw-id: //depot/perl@19794
|
|
|
|
|
| |
as suggested by Dave Mitchell
p4raw-id: //depot/perl@19784
|
|
|
|
|
|
|
| |
Incidentally, this fixes bug #22354, about unwanted
action-at-distance of the /m regexp modifier.
Add a new warning to advertise this fact.
p4raw-id: //depot/perl@19769
|
|
|
|
|
|
|
| |
Message-ID: <533D273D4014D411AB1D00062938C4D904046564@hotel.npl.co.uk>
(skipped the MIME::Base64 part, leaving that to Gisle)
p4raw-id: //depot/perl@19694
|
|
|
|
|
| |
it ignore non-GV values in stashes.
p4raw-id: //depot/perl@19652
|
|
|
|
|
|
| |
Message-Id: <1051872303.26203.104.camel@supox>
(plus perldiag nit)
p4raw-id: //depot/perl@19505
|
|
|
|
|
| |
Anything that's broken by this change should be fixed.
p4raw-id: //depot/perl@19252
|
|
|
|
|
|
|
| |
(Lots of Perl 5 source code archaeology was involved.)
Larry didn't make strangled noises when I showed him
the patch, either :-)
p4raw-id: //depot/perl@19242
|
|
|
|
|
|
| |
We must check if the hv is a stash, otherwise we try to delete
something that is a HvNAME of null..... tests pass better now
p4raw-id: //depot/perl@19213
|
|
|
|
|
|
|
|
|
|
|
| |
A) Follow suggestion by Benjamin Goldberg to use hv_delete
instead of hv_delete_ent to avoid creating a temporary SV
B) Don't increment the refcount, sneak it into an IV instead
C) When a GP is a deleted that contains a stash, remove the
corresponding entry since hv might be in use in other places.
D) Note that no test cases test the deletion of packages to catch
this bug.
p4raw-id: //depot/perl@19212
|
|
|
|
|
|
|
|
|
|
|
| |
There used to be a nullstash (%{"<none>::"}) to hold illegal
variables under strict 'vars'. It has been removed by change #17942.
This can lead to segfaults during the parsing, because some illegal
variables might have been discarded before the compilation of the
current statement had completed.
Bug analysis and test case by Enache Adrian.
p4raw-link: @17942 on //depot/perl: de11ba31bba9f0eef0f76239d1d93a010926d6cf
p4raw-id: //depot/perl@19187
|
|
|
|
|
|
|
|
|
| |
filehandle or a package, it works because only packnames
that have been resolved to stashes are added to the cache,
and when a newIO is created we clean the cache.
Results in roughly 1.8 speed increase for class->method()
calls.
p4raw-id: //depot/perl@19133
|
|
|
| |
p4raw-id: //depot/perl@18801
|
|
|
|
|
| |
-C (or PERL_UNICODE). See perlrun/-C for more details.
p4raw-id: //depot/perl@18715
|
|
|
|
|
|
| |
and the default file open layer explicit (either -C
or PERL_UTF8_LOCALE), instead of implicit (and unasked-for).
p4raw-id: //depot/perl@18490
|
|
|
|
|
| |
Message-ID: <20021226211626.GD284@Bagpuss.unfortu.net>
p4raw-id: //depot/perl@18456
|
|
|
|
|
|
|
|
|
|
|
|
| |
exist yet
Date: Wed, 30 Oct 2002 20:58:15 -0800
Message-Id: <200210310458.g9V4wFK00513@smtp3.ActiveState.com>
Date: Wed, 30 Oct 2002 21:56:22 -0800
Message-Id: <200210310556.g9V5uMK05748@smtp3.ActiveState.com>
Date: Wed, 30 Oct 2002 22:55:30 -0800
Message-Id: <200210310655.g9V6tUK10959@smtp3.ActiveState.com>
p4raw-id: //depot/perl@18159
|
|
|
|
|
| |
Still imcomplete. Configure will follow
p4raw-id: //depot/perl@18030
|
|
|
| |
p4raw-id: //depot/perl@17942
|
|
|
|
|
| |
Message-id: <20020811155914.GE300@Bagpuss.unfortu.net>
p4raw-id: //depot/perl@17713
|
|
|
|
|
|
| |
change is from change#12026)
p4raw-link: @12026 on //depot/maint-5.6/perl: ff42b73b40f5a895aef4bed81c794f468e0609bc
p4raw-id: //depot/perl@16048
|
|
|
| |
p4raw-id: //depot/perl@15792
|