summaryrefslogtreecommitdiff
path: root/gv.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the reference loop between symbol tables and typeglobs.Nicholas Clark2005-06-231-1/+3
| | | | | Typeglobs now have a weak reference onto their symbol table. p4raw-id: //depot/perl@24966
* Add a define PERL_POISON which tries to trip up anything accessingNicholas Clark2005-06-231-1/+1
| | | | | | freed or uninitialised memory. Currently only Poison()s freed pointers. p4raw-id: //depot/perl@24959
* The continuing adventures of Constman and Localize BoyAndy Lester2005-06-201-11/+8
| | | | | Message-ID: <20050620152237.GA5032@petdance.com> p4raw-id: //depot/perl@24913
* Remove the deprecated $# variableRafael Garcia-Suarez2005-06-201-6/+2
| | | p4raw-id: //depot/perl@24908
* More SvPV consting.Nicholas Clark2005-06-071-2/+2
| | | p4raw-id: //depot/perl@24740
* Lots of constingNicholas Clark2005-06-071-2/+2
| | | p4raw-id: //depot/perl@24726
* Unvoid SvUPGRADEAndy Lester2005-06-071-1/+1
| | | | | Message-ID: <20050607040850.GA7033@petdance.com> p4raw-id: //depot/perl@24717
* Random constingAndy Lester2005-06-031-9/+9
| | | | | Message-ID: <20050602171943.GA16553@petdance.com> p4raw-id: //depot/perl@24689
* use lengths in sv_setpv() callsAndy Lester2005-06-021-2/+2
| | | | | Message-ID: <20050602041656.GA3000@petdance.com> p4raw-id: //depot/perl@24669
* Quotes fixed, see also perl #36079Andy Lester2005-06-021-22/+23
| | | | | Message-ID: <20050602050238.GA4001@petdance.com> p4raw-id: //depot/perl@24666
* Store the package name as a shared HEK.Nicholas Clark2005-05-261-8/+14
| | | | | | | | Abolish HvNAME() - as the stored pointer is not a char* you can't set it directly now. Storing a pointer to a HEK tracks the length too, and seems to be faster. p4raw-id: //depot/perl@24584
* Really fix change 24527Rafael Garcia-Suarez2005-05-211-1/+1
| | | p4raw-id: //depot/perl@24530
* Compilation fixRafael Garcia-Suarez2005-05-211-1/+1
| | | p4raw-id: //depot/perl@24527
* Move hv_name, hv_eiter and hv_riter into a new aux structure.Nicholas Clark2005-05-211-33/+38
| | | | | | Provide (more efficient) _get and _set macros. Adjust the core to use them. p4raw-id: //depot/perl@24526
* SvPVX_const - patch #2Steve Peters2005-05-211-6/+6
| | | | | Message-Id: <20050521024210.GA29036@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@24523
* Well defined $? and introduction of ${^CHILD_ERROR_NATIVE} [PATCH]Gisle Aas2005-05-181-0/+4
| | | | | Message-ID: <lr8y2cim24.fsf_-_@caliper.activestate.com> p4raw-id: //depot/perl@24501
* Include vim/emacs modelines in generated files to open themRafael Garcia-Suarez2005-05-111-2/+2
| | | | | | in read-only mode. Make vi modelines compatible with non-vim vi versions. p4raw-id: //depot/perl@24445
* Add editor boilerplates to all C filesRafael Garcia-Suarez2005-05-101-0/+10
| | | | | (except the generated ones) p4raw-id: //depot/perl@24440
* attributes-two.patch, the next batchAndy Lester2005-05-091-3/+3
| | | | | Message-ID: <20050509154518.GA18273@petdance.com> p4raw-id: //depot/perl@24431
* Hoist the static "AUTOLOAD" into a static const variable. Makes theNicholas Clark2005-05-091-10/+9
| | | | | | object file slightly smaller, and also increases the proportion of read only data section. p4raw-id: //depot/perl@24427
* printf.patch: Adding printf checking for gccAndy Lester2005-05-021-22/+20
| | | | | Message-ID: <20050501200755.GA30259@petdance.com> p4raw-id: //depot/perl@24365
* Symbian port of PerlJarkko Hietaniemi2005-04-211-0/+4
| | | | | Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24271
* Refactoring to Sv*_set() macros - patch #5Steve Peters2005-04-191-4/+4
| | | | | | Message-ID: <20050419000925.GA21640@mccoy.peters.homeunix.org> Date: Mon, 18 Apr 2005 19:09:25 -0500 p4raw-id: //depot/perl@24248
* Refactoring to Sv*_set() macros - patch #4Steve Peters2005-04-181-2/+2
| | | | | | | Message-ID: <20050416160502.GA26957@mccoy.peters.homeunix.org> plus fix to Perl_rvpv_dup assigning to an RV with SvPVX p4raw-id: //depot/perl@24239
* Add casting to allow g++ (3.3.5) to compile the core code.Nicholas Clark2005-04-051-1/+3
| | | | | | A C++ compiler produces lots of warnings that are probably valid concerns to investigate. p4raw-id: //depot/perl@24170
* Consting fiveAndy Lester2005-03-251-2/+6
| | | | | | | | Message-ID: <20050325231409.GB17660@petdance.com> [with modification - the extra argument to incpush was supposed to be being used] p4raw-id: //depot/perl@24081
* Third consting batchAndy Lester2005-03-241-12/+12
| | | | | Message-Id: <2f14220e7101a03f7659dbe79a03b115@petdance.com> p4raw-id: //depot/perl@24074
* More const parmsAndy Lester2005-03-181-3/+3
| | | | | Message-ID: <20050314195954.GB7141@petdance.com> p4raw-id: //depot/perl@24042
* Adding const qualifiersAndy Lester2005-03-141-13/+13
| | | | | Message-ID: <20050313202005.GA23535@petdance.com> p4raw-id: //depot/perl@24037
* Further follow-up to 23767Robin Barker2005-01-191-1/+0
| | | | | Message-ID: <533D273D4014D411AB1D00062938C4D90849C57D@hotel.npl.co.uk> p4raw-id: //depot/perl@23824
* Stage 1 of utf8 support for soft references.Nicholas Clark2005-01-071-1/+33
| | | | | | | | | | 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
* Add ${^UTF8LOCALE} to give perl space access to PL_utf8localeNicholas Clark2005-01-041-1/+5
| | | p4raw-id: //depot/perl@23741
* Not all the world's a VAX, er ASCII, so don't make assumptions.Nicholas Clark2005-01-011-9/+13
| | | | | | | Tweak is_gv_magical's string comparisons to produce smaller object code. First 2005 copyright notice. p4raw-id: //depot/perl@23724
* Improve documentation for is_gv_magical, and split the switchNicholas Clark2004-12-311-92/+106
| | | | | | | 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
* Because name is always NUL terminated we can incorporate lengthNicholas Clark2004-12-311-2/+3
| | | | | 0 names in the switch statement for length 1. p4raw-id: //depot/perl@23719
* Generate smaller object code by using a single switch statementNicholas Clark2004-12-311-13/+20
| | | | | for determining which names are forced into main:: p4raw-id: //depot/perl@23718
* Tidy up comments in change 23716Nicholas Clark2004-12-311-2/+2
| | | p4raw-id: //depot/perl@23717
* Refactor gv_fetchpv so that the overwhelmingly common caseNicholas Clark2004-12-311-220/+216
| | | | | | | | (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
* Document gv_stashpvnSteve Hay2004-12-131-3/+15
| | | | | | 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
* Revert part of the change to gv_fullname4(), as the change seems toNicholas Clark2004-12-071-1/+2
| | | | | | 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
* $foo::_ was wrongly forced as $main::_.Rafael Garcia-Suarez2004-12-031-4/+0
| | | | | | | 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
* Small code tidy up in gv_fullname4Nicholas Clark2004-12-031-5/+4
| | | p4raw-id: //depot/perl@23605
* There are clearer ways of saying m/^[ab]$/ than strchr("ab", c)Nicholas Clark2004-12-031-1/+2
| | | | | They seem to produce slightly smaller object code too. p4raw-id: //depot/perl@23604
* SvO?OK_off()'s return valueMarcus Holland-Moritz2004-09-081-1/+1
| | | | | | | Message-Id: <20040801124648.7f9b3cee@r2d2> Move (void) casts into SvOOK_off macro. p4raw-id: //depot/perl@23277
* Another small clean-up following changes #23190 and #23198Steve Hay2004-08-061-3/+3
| | | | | p4raw-link: @23190 on //depot/perl: d7aa53827cc12fdf8a697328df844e16aaa58287 p4raw-id: //depot/perl@23199
* remove leaks associated with version object change #23190Dave Mitchell2004-08-061-3/+3
| | | | | p4raw-link: @23190 on //depot/perl: d7aa53827cc12fdf8a697328df844e16aaa58287 p4raw-id: //depot/perl@23198
* Final version object core patch?John Peacock2004-08-041-13/+7
| | | | | Message-ID: <411048BD.3080700@rowman.com> p4raw-id: //depot/perl@23190
* Add comment to the top of most .c files explaining their purposeDave Mitchell2004-07-311-0/+9
| | | p4raw-id: //depot/perl@23176
* fix typo in gp_freeDave Mitchell2004-06-201-1/+1
| | | p4raw-id: //depot/perl@22962
* [patch] log the interpreter id in warningsStas Bekman2004-04-211-1/+2
| | | | | Message-ID: <40847869.1000906@stason.org> p4raw-id: //depot/perl@22721