% iblechbot has joined #parrot r26241 | chromatic++ | pdd17pmc: : [Lua] Because METHODs now use PCC, they get invoked through C calls, not the : standard continuation invocation scheme. They do have calling contexts, but : the parent context doesn't have a calling Sub PMC; thus the Lua PMC needs to : check if the parent's context has a valid sub pointer before dereferencing it. % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk % x___ has joined #parrot % cognominal has left cognominal!~cognomina@82.67.232.89 % x has left x!~chatzilla@host86-157-9-49.range86-157.btcentralplus.com % x___ is now known as x % x___ has joined #parrot % x has left x!~chatzilla@host81-129-108-149.range81-129.btcentralplus.com % x___ is now known as x % amoore has left amoore!~amoore@CPE-24-163-202-170.kc.res.rr.com % wknight8111 has joined #parrot % AndyA has left AndyA!~andy@82.152.157.85 % AndyA has joined #parrot r26242 | simon++ | trunk: : Update with comments from Larry and Allison. diff: http://parrotvm.org/svn/parrot/revision/?rev=26242 % x___ has joined #parrot % x has left x!~chatzilla@host81-129-108-149.range81-129.btcentralplus.com % x___ is now known as x r26243 | chromatic++ | pdd17pmc: : [Lua] Renamed ctx variables in METHODs, as the generated code for METHODs now : includes a variable already named ctx. Variable shadowing is bad; in this case : it appears that the METHODs don't actually return anything. (They do, but it : gets stored in the wrong context which goes away after the function returns.) r26244 | fperrad++ | trunk: : [Lua] : - add base64 library r26245 | fperrad++ | trunk: : [Lua] % x___ has joined #parrot % x has left x!~chatzilla@host81-129-108-149.range81-129.btcentralplus.com % x___ is now known as x r26246 | fperrad++ | trunk: : [plumhead] : - fix build on Win32 : - add some static diff: http://parrotvm.org/svn/parrot/revision/?rev=26246 % shorten has left shorten!~xrl@203.141.139.231.static.zoot.jp % IllvilJa has joined #parrot % gabriel has left gabriel!~gabriel@c-76-126-210-9.hsd1.ca.comcast.net % shorten has joined #parrot % lichtkind has joined #parrot pmichaud: ping lichtkind: pong pmichaud: which was the svn/pods i could include in p6doc? I don't quite understand the question (still just waking up) :) pmichaud: and i have to leave , we talked once about parrot docs dor userland yes pmichaud: i would like to have name plz i assume ther are in http://svn.perl.org/viewvc/parrot/trunk/docs/ pmichaud: since i now added also microarticles this will be next step for p6doc these being docs for Perl 6? yes mam but i have to leave plz just leave me message in that win I think that most of the docs (if any) related to Perl 6 will be in languages/perl6/docs most of the ones in parrot/trunk/docs are Parrot-specific. But perhaps I'm misremembering things. yes but some basic parrot thing would also fit since they are the counterparts of the current perlguts % rdice has joined #parrot % Coke has joined #parrot % amoore has joined #parrot ack on feather is 1.54; anyone with sudo who can upgrade it? (also be nice if feather had tclsh8.5) % Andy has joined #parrot if I am sitting in gdb with a PMC *; how I can get the pmc's type? how would you normally do that in C? `p pcm_gettype(pmcptr)' would work (or whatever the function is called) % Andy has left Andy!~Andy@64.81.227.163 p *pcmptr might too if it's a struct that has a char* type field or something like that % gryphon has joined #parrot I tried p p_arg->vtable->name(interp,p_arg), which I would expect to DTRT. but that segfaults. segfaults the program or gdb? the program. hmmm... the program is too big % x___ has joined #parrot p p_arg->vtable->real_self ?? * particl1 checks % particl1 is now known as particle opbots, names % iblechbot has left iblechbot!~iblechbot@ppp-62-216-200-164.dynamic.mnet-online.de % x has left x!~chatzilla@host217-44-122-153.range217-44.btcentralplus.com % x___ is now known as x p p_arg->vtable->whoami grr yeah. i think that'll work. % x___ has joined #parrot % x has left x!~chatzilla@host217-44-122-153.range217-44.btcentralplus.com % x___ has left x___!~chatzilla@host86-157-15-25.range86-157.btcentralplus.com particle: no, that tells me (after more digging), that it's an "Object". =-) but if I call p_arg->vtable->name(interp,p_arg), segfault. ditto get_class. * Coke opened a ticket for the more c-literate to look at. (more than me, not you) sorry, i haven't been inside gdb in a while Coke: url to ticket? ticket is saying to select a compiler based on the extension of the script file http://rt.perl.org/rt3/Ticket/Display.html?id=51478 avar: this is in the pdd17pmc branch, btw. did you try ->base_type? INTVAL base_type; /* 'type' value for MMD */ it's an OBJECT. I know that. so what do you want? (and yes, that's in the ticket!) I was hoping to find out what *kind* of object it was so I could track down why it couldn't array. what does ->does_str say? and ->isa_str? (gdb) p p_arg->vtable->does_str(interp,p_arg) Structure has no component named does_str. ok. is the vtable pointer valid? every vtable function you try to run fails, correct? maybe the vtable is bad How would I know if the vtable is bad? It certainly seems to be valid. (as noted in the ticket.) Coke: gah! avar: ? Coke: re your last message too-much-trouble-to-switch-branches-in-crappy-vcs's k. % rdice has left rdice!~richard_d@CPE0014bfafbbd5-CM0011e6ecf48a.cpe.net.cable.rogers.com % rdice has joined #parrot % cj has left #parrot % grim_fandango has joined #parrot % Andy has joined #parrot Waaah, chromatic mocked my code! worse things could happen some rails developer could praise it, for example ;) or PHP % iblechbot has joined #parrot % grim_fandango has left grim_fandango!~matt@bas2-kingston08-1167934128.dsl.bell.ca % Coke has left Coke!~coke@cpe-72-228-52-192.nycap.res.rr.com % Coke has joined #parrot % ruoso has joined #parrot r26247 | petdance++ | trunk: : space out some n-1 constructs r26248 | petdance++ | trunk: : This started out as spacing out some n-1 constructs for chromatic, but : then I looked around and saw a lot of returns from functions and those r26251 | petdance++ | trunk: : ACHTUNG chromatic: N-1 HAVE BEEN SPACED OUT. REPEAT: N-1 HAVE BEEN SPACED OUT. END OF TRANSMISSION. diff: http://parrotvm.org/svn/parrot/revision/?rev=26251 What is the rationale for creating a pointer to interp->arena_base in the line: Arenas * const arena_base = interp->arena_base in the function Parrot_gc_ms_init() in src/gc/smallobject.c ? Why not just refer to interp->arena_base directly? to hoist up that one level of indirection? I imagine it's more about formatting the code than saving cycles, though. r26252 | coke++ | trunk: : [codingstd] : "sizeof(" -> "sizeof (" : This allows c_parens.t to pass, so adding it to the set of standard : codingstd tests. diff: http://parrotvm.org/svn/parrot/revision/?rev=26252 So basically, just so nobody has to repeatedly type interp->arena_base? That's my guess, yes. =-) ianacp? hmmm... ianacp is I Am Not A C Programmer purl, scooby snack! Rank roo, Coke! Me either :) Trying to be one now though ... ... you were the one with the build problem, right? Coke: Yes. It works fine w/ a vanilla GCC 4.2.2 --- it's obviously something w/ Gentoo Hardened % uniejo has left uniejo!~uniejo@langebro.adapt.dk % AndyA has left AndyA!~andy@82.152.157.85 % AndyA has joined #parrot % davidfetter has left davidfetter!~davidfett@start.fetter.org % jjore is now known as zz_jjore % zz_jjore is now known as jjore % cognominal has joined #parrot % AndyA_ has joined #parrot % AndyA has left AndyA!~andy@82.152.157.85 % DarkWolf84 has joined #parrot Coke: It's more about DRY than anything. katie_d: Yes, so we don't repeatedly type interp->arena_base. Also, don't repeatedly read interp->arena_base. DRY DRY DRY DRY % TimToady has joined #parrot @seen diakopter mmm, no lambdabot either seen diakopter diakopter was last seen on #parrot 1 day and 15 hours ago, saying: must be an off-by-one error, where the one in this case is which file I'm editing. [Mar 4 19:02:28 2008] msg diakopter looks like cod3r.com is blacklisted by irc Message for diakopter stored. % barney has joined #parrot barney, ping cotto: pong, Just read your mail * barney is removing PHPArray % Andy is now known as AndyAway ok. Thanks. % lichtkind_ has joined #parrot Sounds like a mess, I hope that everybody involved is sane. At least they will hear about Parrot :=) % lichtkind has left lichtkind!~chatzilla@d213-101-239-245.cust.tele2.de Everyone is sane as far as I can tell. They're just very conservative legally. % lichtkind_ is now known as lichtkind MS will be contributing back to a GPL project in the very near future, but it's the very beginning of this soft of thing. (the project is Drupal, for the curious) cotto_: are you in usa? yes redmond? redmond is the Unholy See of the Evil Empire. May it slip into the sea. If it slips into the sea, I'll have to learn how to swim yes * particle is in seattle cool what part? part is to move as much of the "how much input string for unpacking do we need?" logic into 1 place you should come to SPUG meetings, see seattleperl.org madrona i'll be in redmond tonight for a soccer game mmmm, soccer mmmm, perl soccer here is likely cancelled tonight due to snow :-( snow? in texas? didn't they get the memo? it's march! I think it's a meteorological reaction to this week's primary :-) :) and yes, I'm disappointed, as I'm _really_ low on soccer playing this year I think I've played a total of four times in 2008 thus far, practices and games combined if we win tonight and saturday, we'll be in the championship. actually, i think we need to win or tie both (normally we practice twice per week, with games on sundays) anyway, yes. snow. in texas. in march. are spug meetings always on tuesdays? always third tuesday crud. I have something else going on during that exact same time. well, perhaps we can have a hacking session some time i can lead a hackathon once in a while I'd be up for anything, provided I don't have a prior commitment. great. i'll keep it in mind :) * katie_d is in olympia .... ooh, nice! I'm doing a lot of PHP work here and it feels like it's stunting my mental growth. april seems like a good hacking month for me. too much travel in march katie_d, great! r26253 | bernhard++ | trunk: : [Plumhead] : Pulling back the PHPArray PMC. diff: http://parrotvm.org/svn/parrot/revision/?rev=26253 it'll be back % Psyche^ has joined #parrot % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net % stephen has joined #parrot % Patterner has left Patterner!~Psyche@e177113005.adsl.alicedsl.de % Psyche^ is now known as Patterner % stephen has left #parrot % ruoso has left ruoso!~ruoso@195.23.92.2 % barney has left barney!~bernhard@dslb-084-058-139-133.pools.arcor-ip.net % gryphon has joined #parrot cotto_: (PHP) I'm doing cold fusion atm. I feel your pain. too bad that such things pay the bills % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net allison: any clue on my pdd17 "can't array" bug? (pointers to more diagnostic tips welcome, too.) % Psyche^ has joined #parrot /w/w 22 % AndyAway is now known as Andy ONE ENTRY, ONE EXIT! ONE ENTRY, ONE EXIT! TROLL TROLL TROLL!!! % particle has left Andy % Andy has joined #parrot heh % Patterner has left Patterner!~Psyche@d138076.adsl.hansenet.de % Psyche^ is now known as Patterner fwiw, I don't always agree with "one exit" Of course not. I don't always agree with anything. i do. No you don't. Oh yes I do Who asked you? botsnack :) % peeps[work] has joined #parrot yay, chromatic has an idea. ... that sounded terrible. =-) Is there a XXX-like marker we can agree to use in languages or non-finished core parrot that won't trigger anyone's "create an RT" button? we can certainly create one What about XXXX? I'm sure that won't confuse anybody. coke: see pdd07 (or update it if you come up with one) r26254 | allison++ | pdd17pmc: : [pdd17pmc] Partially revert r25266, so Windows can compile for language testing (RT# 50996). diff: http://parrotvm.org/svn/parrot/revision/?rev=26254 % arbingersys has left arbingersys!~arbingers@66-193-42-195.static.twtelecom.net % AndyA_ has left AndyA_!~andy@82.152.157.85 % DarkWolf84 has left DarkWolf84!~dwolf@89.215.234.147 % jjore is now known as zz_jjore % zz_jjore is now known as jjore % DarkWolf84 has joined #parrot % AndyA has joined #parrot % Theory has joined #parrot % wknight8111 has joined #parrot % Infinoid has joined #parrot I would suggest that the inability to use XXX for that strongly indicates Process Run Amok :) % allison has left allison!~chatzilla@sub17-30.member.dsl-only.net TimToady++ I agree. Perhaps we should have a general rule that things in languages/ don't automatically warrant RT tickets, period. (this isn't to say that languages/ can't have RT tickets, just that it's not automatic) % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % sjansen has joined #parrot or perhaps an approach a little more like fudge. "I know when I'm fudging, and I know when I'm not, and for now I'm definitely fudging..." could elevate it to Larry's Eighteenth Law of Prototyping, or some such... Isn't there a way to get Piper to leave me alone yet? whoever pays the piper calls the tune, or something like that? sjansen: /ignore piper Piper's source? Piper's source is https://svn.develooper.com/projects/logbot/logbot r26255 | pmichaud++ | trunk: : * Convert Test/More.pir to use Perl6Regex instead of the : deprecated P6Regex (RT #48028). : * 'make test' still passes after this change. diff: http://parrotvm.org/svn/parrot/revision/?rev=26255 % wknight8111 has joined #parrot r26256 | pmichaud++ | trunk: : * Convert lib/Parrot/Test/PGE.pm to use Perl6Regex instead of : the deprecated P6Regex (RT #48028) : * 'make test' passes same tests as before r26257 | pmichaud++ | trunk: : * Convert demo.pir and README.pod to use Perl6Regex instead of : deprecated P6Regex (RT#48028). diff: http://parrotvm.org/svn/parrot/revision/?rev=26258 r26259 | pmichaud++ | trunk: : [pge]: : * Convert PGE/Hs.pir to use Perl6Regex instead of : deprecated P6Regex (RT#48028). diff: http://parrotvm.org/svn/parrot/revision/?rev=26259 % parrot-poke has joined #parrot % davidfetter has joined #parrot pmichaud++ ? ! % rdice has left rdice!~richard_d@CPE0014bfafbbd5-CM0011e6ecf48a.cpe.net.cable.rogers.com % Limbic_Region has joined #parrot % sjansen has left sjansen!~sjansen@64-205-130-223.client.dsl.net % AndyA has left AndyA!~andy@82.152.157.85 % trammell has left trammell!~johnt@66.173.121.22 seen allison allison was last seen on #parrot 20 hours and 32 minutes ago, saying: Limbic_Region: particle had a segfault on MSVC in the PMC implementation branch, so I was trying to duplicate it % davidfetter has left davidfetter!~chatzilla@start.fetter.org % AndyA has joined #parrot % gabriel has joined #parrot % Alias has joined #parrot % Alias_ has left Alias_!adam@CPE-124-188-112-79.nsw.bigpond.net.au % Ademan_ has joined #parrot % Ademan_ has left Ademan_!~dan@h-67-101-97-83.snfccasy.dynamic.covad.net % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % wknight8111 has joined #parrot % purl has left purl!~purl@209.218.54.66 % purl has joined #parrot % peeps[work] has left peeps[work]!~peepsalot@bwext.kpimdp.com % jjore is now known as zz_jjore % zz_jjore is now known as jjore % iblechbot has left iblechbot!~iblechbot@ppp-62-216-196-108.dynamic.mnet-online.de % x___ has joined #parrot % x___ is now known as x % davidfetter has joined #parrot % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net % Psyche^ has joined #parrot % Patterner has left Patterner!~Psyche@e177225026.adsl.alicedsl.de % Psyche^ is now known as Patterner % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk % dalek has left dalek!dalek@feather.perl6.nl % lichtkind has left lichtkind!~chatzilla@d90-134-54-144.cust.tele2.de % dalek has joined #parrot % Limbic_Region has left Limbic_Region!~Limbic_Re@c-68-49-236-220.hsd1.md.comcast.net % parrot-poke has left parrot-poke!~mollusk@user-112vvlr.biz.mindspring.com r26260 | coke++ | pdd17pmc: : [APL] : update pmc to pdd17 standards (I think). : Now only failing 6 sub-tests. diff: http://parrotvm.org/svn/parrot/revision/?rev=26260 % IllvilJa has joined #parrot HI EVERYONE LET'S WRITE SOME CODE % gryphon has joined #parrot Andy: I have a double free. you want to track it down? nah I mena, I guess I could. I just don't think I have the ability to do so. =-) bah. I have a slightly modified checkout. I'll have to clean it up to see if it still happens. That's the first thing to check, yes. :-) or I could just check it in. =-) not tonigth. -> zzzz % particle has left particle!~particle@c-24-19-3-148.hsd1.mn.comcast.net r26261 | chromatic++ | pdd17pmc: : [lib] Prefixed all C variables created in PMC C files by the PCCMETHOD : generator. Now there's less chance of accidentally shadowing a variable in a METHOD in a PMC by choosing the wrong variable name. : I used one underscore for now. If this needs to change in the future, we : should consider instead calling a couple of functions to perform the setup and anybody know what's the story with the branches/gmc ? it looks like that was a SoC2005 project -- was it successful, did it get merged or used in some other way? there isn't any gc_gmc.c in the current trunk % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.mn.comcast.net % mncharity has left mncharity!~jobsearch@c-76-24-29-201.hsd1.ma.comcast.net % petdance has joined #parrot % Ademan has left Ademan!~dan@h-67-101-97-83.snfccasy.dynamic.covad.net % Ademan has joined #parrot % diakopter has joined #parrot % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net % diakopter has left diakopter!~diakopter@209.9.237.164 % diakopter has joined #parrot wow I just spent several days puzzling over a bug it turns out I forgot to return a value from add(), and gcc had been giving me a warning about it the whole time. compiler warnings FTW % particle has joined #parrot % particle has left particle!~particle@c-24-19-3-148.hsd1.mn.comcast.net % particle has joined #parrot indeed. % Coke has left Coke!~coke@cpe-72-228-52-192.nycap.res.rr.com % Coke has joined #parrot % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net andy, do you know much about the code in src/pmc/hash.pmc and src/hash.c? no but what about 'em. I'm curious why hash_freeze and hash_thaw aren't referred to anywhere else in trunk especially when hash_visit is referred to in src/pmc/hash.pmc I'd expect Parrot_default_freeze to do something generic with the visit_info, which then would then call Parrot_Hash_visit => hash_visit => hash_freeze, but Parrot_default_freeze is empty. hmmm. There don't seem to be any freeze/thaw tests for Hash. Perhaps I shouldn't be assuming that it works. nm. all the tests are in freeze.t back Yeah, I dunno. hmmm. t/pmc/hash.t contains two copies of the same test at least they both pass % x has left x!~chatzilla@host86-157-15-25.range86-157.btcentralplus.com % uniejo has joined #parrot % DarkWolf84 has left DarkWolf84!~dwolf@89.215.234.147 % petdance has left petdance!~Andy@64.81.227.163 % confound has left confound!hdp@floe.aq