summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* util.c UTF8 cleanupBrian Fraser2011-10-062-12/+137
|
* More warnings tests.Brian Fraser2011-10-064-0/+219
|
* universal.c: VERSION UTF8 cleanupBrian Fraser2011-10-061-27/+46
|
* universal.c: Make croak_xs_usage account for UTF8Brian Fraser2011-10-061-6/+8
|
* "Use of uninitialized value..." UTF8 cleanupBrian Fraser2011-10-063-2/+17
|
* gv.c: Make more warnings utf8-cleanBrian Fraser2011-10-061-24/+30
|
* mro.(c|xs): Make warnings utf8-cleanBrian Fraser2011-10-063-15/+21
|
* t/uni/gv.t, stringify is clean, remove the TODOBrian Fraser2011-10-061-3/+2
|
* Tests for DATA handle in UTF8 packagesBrian Fraser2011-10-061-1/+12
|
* toke.c: Take utf8 into account when creating DATA handleFather Chrysostomos2011-10-061-3/+13
| | | | | This is based on work from Brian Fraser, but differs from his original in that it does not require an intermediate SV.
* Tests for UTF-8 stashes.Brian Fraser2011-10-062-0/+319
|
* Tests for package; declarations in UTF-8Brian Fraser2011-10-062-0/+95
|
* More tests for t/uni/method.tBrian Fraser2011-10-061-1/+88
|
* sv.c: Make most warnings utf8-cleanBrian Fraser2011-10-064-7/+83
|
* sv.c: Make cloning account for UTF8 stash namesBrian Fraser2011-10-061-1/+2
|
* Make sv.c:sv_clear account for UTF8 keys in PL_stashcacheBrian Fraser2011-10-061-1/+1
|
* sv.c: Pass in UNI_DISPLAY_ISPRINT in S_not_a_numberBrian Fraser2011-10-062-7/+5
|
* pp_sys.c: Make warnings utf8-cleanBrian Fraser2011-10-063-21/+170
|
* pp_hot.c: Make warnings utf8-cleanBrian Fraser2011-10-063-6/+16
|
* Teach porting/diag.t about SVf32 and SVf256Father Chrysostomos2011-10-061-1/+4
|
* pp.c: Make warnings utf8-cleanBrian Fraser2011-10-062-3/+17
|
* Make op.c warnings UTF8-cleanBrian Fraser2011-10-066-8/+233
|
* Make gv.c and pp_ctl.c warnings utf8-cleanBrian Fraser2011-10-062-42/+56
|
* doio.c: Make warnings UTF8- and nul-cleanBrian Fraser2011-10-062-8/+88
|
* util.c for threads: stashpv_hvname_match UTF8 cleanup.Brian Fraser2011-10-061-7/+16
|
* Tests for DOES/isa/can with UTF8 and embedded nulsBrian Fraser2011-10-063-1/+185
|
* Document sv_does_pvnFather Chrysostomos2011-10-061-2/+9
|
* Correct name of sv_does_sv apidoc entryFather Chrysostomos2011-10-061-3/+3
| | | | plus other tweaks
* universal.c: sv_does() UTF8 cleanup.Brian Fraser2011-10-064-12/+85
| | | | | This adds _sv, _pv, and _pvn forms to sv_does, and changes it to use sv_ref() instead of sv_reftype().
* mro.c: Correct utf8 and bytes concatenationFather Chrysostomos2011-10-066-22/+114
| | | | | | | | | | | | | | | | | | | The previous commit introduced some code that concatenates a pv on to an sv and then does SvUTF8_on on the sv if the pv was utf8. That can’t work if the sv was in Latin-1 (or single-byte) encoding and contained extra-ASCII characters. Nor can it work if bytes are appended to a utf8 sv. Both produce mangled utf8. There is apparently no function apart from sv_catsv that handle this. So I’ve modified sv_catpvn_flags to handle this if passed the SV_CATUTF8 (concatenating a utf8 pv) or SV_CATBYTES (cancatenating a byte pv) flag. This avoids the overhead of creating a new sv (in fact, sv_catsv even copies its rhs in some cases, so that would mean creating two new svs). It might even be worthwhile to redefine sv_catsv in terms of this....
* mro UTF8 cleanup.Brian Fraser2011-10-0643-46/+3533
| | | | | | | | | | | This patch also duplicates existing mro tests with copies that use Unicode in identifiers, to test the mro code. Since those tests trigger it, it also fixes a bug in the parsing of *{...}: If the first character inside the braces is a non-ASCII Unicode identifier character, the inside is now implicitly quoted if it is just an identifier (just as it is with ASCII identifiers), instead of being parsed as a bareword that would violate strict subs.
* universal.c: ->can UTF8 cleanup.Brian Fraser2011-10-061-3/+1
|
* universal.c: ->isa, sv_derived_from UTF8 cleanup.Brian Fraser2011-10-064-16/+94
| | | | | | | This makes them both nul-and-UTF8 clean, although the latter is somewhat superficial, as mro isn't clean yet. (Tests coming once ->can and ->DOES are clean)
* pp_sys.c: pp_tie and untie UTF8 cleanup.Brian Fraser2011-10-063-29/+36
|
* pp.c: pp_substr for UTF-8 globs.Brian Fraser2011-10-062-3/+17
| | | | | Since typeglobs may have the UTF8 flag set now, we need to avoid testing SvCUR on a potential glob, as that would trip an assertion.
* pp_ctl.c: pp_caller UTF8 cleanup.Brian Fraser2011-10-063-7/+82
|
* sv.c: S_anonymise_cv_maybe UTF8 cleanup.Brian Fraser2011-10-061-5/+4
|
* pp.c & sv.c: pp_ref UTF8 and null cleanup.Brian Fraser2011-10-065-13/+36
| | | | | | | | | This adds a new function to sv.c, sv_ref, which is a nul-and-UTF8 clean version of sv_reftype. pp_ref now uses that. sv_ref() not only returns the SV, but also takes in an SV to modify, so we can say both sv_ref(TARG, obj, TRUE); and sv = sv_ref(NULL, obj, TRUE);
* Add a sv_sethek() function to sv.cBrian Fraser2011-10-064-0/+50
| | | | This is exported so that attributes.xs can use it.
* pp.c: pp_bless UTF8 cleanup.Brian Fraser2011-10-063-1/+129
| | | | | Some tests in t/uni/bless.t are TODO, as ref() isn't clean yet.
* op.c: Flag named methods if they are in UTF-8.Brian Fraser2011-10-063-1/+42
|
* pp_hot.c: method_common is UTF-8 aware.Brian Fraser2011-10-063-10/+28
| | | | | | | | | | Not really useful yet, since named methods aren't correctly flagged; that is to access a \x{30cb} method, you'd need to do something like Obj->${\"\x{30cb}"}. Committer’s note: I’m also including one piece of the ‘gv.c and pp_ctl.c warnings’ patch so that the newly-added tests in this commit pass.
* gv.c: gv_fetchmethod_(flags|autoload) UTF8 cleanup.Brian Fraser2011-10-062-12/+12
|
* gv.c: S_gv_get_super_pkg UTF8 cleanup.Brian Fraser2011-10-061-4/+7
|
* gv.c: gv_fetchmeth_pvn_autoload UTF8 cleanup.Brian Fraser2011-10-062-3/+36
| | | | As with the previous commit, no Perl-level visible changes.
* gv.c: gv_fetchmeth_pvn UTF8 cleanup.Brian Fraser2011-10-062-5/+35
| | | | | | | Since gv_fetchmeth_pvn is primarily used from within gv.c, and not much of anything is passing in the flag yet, this has no visible changes on the Perl level; So tests remain entirely in XS::APItest for the time being.
* gv.c: gv_init_pvn now uses newCONSTSUB_flags.Brian Fraser2011-10-061-1/+1
|
* pp.c: Make pp_rv2cv use gv_autoload_pvn()Brian Fraser2011-10-061-1/+1
|
* pp_hot.c: pp_entersub UTF8 cleanup.Brian Fraser2011-10-061-2/+2
|
* pp_ctl.c: pp_goto UTF8 cleanup.Brian Fraser2011-10-063-2/+45
|