% Andy has left Andy!~Andy@64.81.227.163 % teknomunk has joined #parrot % iblechbot has left iblechbot!~iblechbot@ppp-62-216-205-254.dynamic.mnet-online.de r26292 | fperrad++ | trunk: : [Lua] : revert r25931, I want nil as output value r26293 | fperrad++ | trunk: : [Lua] % uniejo has joined #parrot r26295 | fperrad++ | trunk: : [win32] : add support for strawberry distribution (http://strawberryperl.com/) diff: http://parrotvm.org/svn/parrot/revision/?rev=26295 % AndyA has left AndyA!~andy@82.152.157.85 % AndyA has joined #parrot % jjore is now known as zz_jjore % zz_jjore is now known as jjore % kj has joined #parrot % iblechbot has joined #parrot % wknight8111 has joined #parrot % ruoso has joined #parrot % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % ruoso has left ruoso!~ruoso@195.23.92.2 % ruoso has joined #parrot % ask_ has left ask_!~ask@pat-tdc.opera.com % UltraDM has joined #parrot % peepsalot has left peepsalot!~peeps@cpe-67-9-161-48.austin.res.rr.com % peepsalot has joined #parrot % ask_ has joined #parrot % cout has left cout!~cout@c-68-58-247-49.hsd1.sc.comcast.net % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk % cout has joined #parrot % gryphon has joined #parrot % wknight8111 has joined #parrot http://groups.google.com/group/cn.bbs.comp.lang.perl/browse_thread/thread/fd8a56d0b1a2c27c/90631ea4f76d1430?hl=en&q=parrot+-site%3Aperl.org+-site%3Aparrotcode.org+-site%3Acpan.org+-perl.perl6+-perl.cvs#90631ea4f76d1430 Coke's url is at http://xrl.us/bhf5y "Dear Jeff Goff, This is a computer-generated report for parrot-0.0.8.1 on perl 5.10.0, created by CPAN-Reporter-1.11." yikes (some random link triggered by a google news alert) hurm. the failures in tcl branch are slightly different than those in trunk. % jhorwitz has joined #parrot % katie_d has left katie_d!~bojangles@c-24-18-106-126.hsd1.wa.comcast.net % katie_d has joined #parrot % rdice has joined #parrot hurm. I think get_string in src/pmc/tcllist.pmc needs to be PDD17-erized. (my attempts to do so generate many more test failures that we have currently, though. =-) % Dave has left Dave!~dave@pool-141-153-244-48.mad.east.verizon.net * jhorwitz is happy all mod_parrot tests pass against PDD17 branch % davidfetter has joined #parrot % uniejo has left uniejo!~uniejo@langebro.adapt.dk % Andy has joined #parrot * Coke tries to boil this latest failure down to some PIR for chromatic's sake. % jhorwitz has left jhorwitz!~chatzilla@pool-68-163-22-244.phil.east.verizon.net % parrot-poke has joined #parrot rant: #line 444 "/home/coke/sandbox/pdd17pmc/tools/build/../../lib/Parrot/Pmc2c/PCCMETHOD.pm" ... this seems to cause GDB to display the perl source when debugging. % UltraDM has left UltraDM!~george@dasapass.avira.com It would be most helpful if there was a way to invoke Dumper() on a PMC from gdb. any clues? you can say "print " to make gdb call a C function with specified arguments and print its return value % parrot-poke has left parrot-poke!~mollusk@user-112vvlr.biz.mindspring.com % katie_d has left katie_d!~bojangles@c-24-18-106-126.hsd1.mn.comcast.net % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % clunker has left clunker!~tomi@seatbelt.jerakeen.org % dngor has left dngor!abuse@adsl-068-213-211-142.sip.bct.bellsouth.net % wknight8111 has joined #parrot % parrot-poke has joined #parrot % katie_d has joined #parrot and if that C function prints some stuff as a side effect, you'll see that too % confound has left confound!~hdp@shell.icgroup.com % confound has joined #parrot % dngor has joined #parrot % particle has left particle!~particle@c-24-19-3-148.hsd1.wa.comcast.net % particle has joined #parrot % clunker has joined #parrot Yes, but all the dumper stuff is a parrot function, not a C function, which makes that much more complicated. :| Coke: You can call anything in the symbol table w/ print. i wonder if pdb would be more help than gdb % clunker has left clunker!~tomi@seatbelt.jerakeen.org % dngor has left dngor!abuse@adsl-068-213-211-142.sip.bct.bellsouth.net % confound has left confound!hdp@floe.aq % confound has joined #parrot % confound has left confound!~hdp@shell.icgroup.com % confound has joined #parrot katie_d: print (p?) just shows the top level struct info for a PMC. I want something that if I have a pmc that does list, it prints out 0: "first element"\n1: "second element", etc. % confound has left confound!~hdp@shell.icgroup.com % confound has joined #parrot if pdb helped, I could just write PIR to dump it for me. My problem is trying to analyze a PMC that's in a method written in C, while I'm still in that method. meh. I think I've tracked down what I need, but lunch and work beckon. Coke: chromatic would probably know how to do this. I'm not familiar at all with the parrot C API, sorry oh my god, it's an infinoid! where'd your tuits go? % confound has left confound!hdp@floe.aq % confound has joined #parrot % dngor has joined #parrot my brain is jumbled mess... spaghetti tuits % clunker has joined #parrot you'll be sailing soon enough again. it'll all be okay. did that last weekend, have plenty of bruises and sunburn to prove it sheesh. next time let the wind do the work! when the wind gets blowing, *everything* gets harder to do :) r26296 | fperrad++ | pdd17pmc: : {Lua] : accept the output "(unknown file):-1" diff: http://parrotvm.org/svn/parrot/revision/?rev=26296 % marmic has left marmic!~chatzilla@89-253-66-101.customers.ownit.se % marmic has joined #parrot % jjore is now known as zz_jjore % zz_jjore is now known as jjore Infinoid: I'm trying not to bug chromatic. =-) % kj has left kj!~IceChat7@ip565fd420.direct-adsl.nl % Dave has joined #parrot % Psyche^ has joined #parrot ack ack? i think ack is at http://search.cpan.org/dist/ack/ or at http://petdance.com/ack/ ack! % Patterner has left Patterner!~Psyche@92.224.105.14 % Psyche^ is now known as Patterner awesome tool, btw % barney has joined #parrot soooo much nicer than a bunch of greps % IllvilJa has joined #parrot r26297 | coke++ | pdd17pmc: : [tcl] : Add VTABLE marker to get_string diff: http://parrotvm.org/svn/parrot/revision/?rev=26297 % kj has joined #parrot % Coke has left Coke!~coke@cpe-72-228-52-192.nycap.res.rr.com % Coke has joined #parrot % Theory has joined #parrot anyone have an example of invoking a method from C? a METHOD ? a method is a good start r26298 | coke++ | pdd17pmc: : [docs] : remove reference to obsolete "METHOD" style in branch; it's gone here. diff: http://parrotvm.org/svn/parrot/revision/?rev=26298 yes. i'm in the midst of debugging something. will look in a sec eh. no rush. good evening i seem to remember that ANSI control characters have worked some day in the past (printing them using PIR print op) but unfortunately i can't get it working anymore :-( (otherwise I have a nice Game of Life demo :-) should work, ja. how are they not working for you? I once did it with binary: prefix i just get ugly tokens on my screen, just the letters of the control character a few years ago, I used binary:"\e[H" and binary:"\e[2J" too one is for clear screen, other for cursor I think coke: see src/pmc/exporter.pmc ~322 (METHOD import) funny that we still have PCCINVOKE after PCCMETHOD and PCCRETURN have been converted ... If you call allison on it, she'll probably update it. i can do it myself just need an hour or so to go through the code (not now) no control chars in examples/pir/life.pir barney: yeah I know. I stole Lua's life I ported it to my little tutorial-scripting language I'm this >< close.. % sjansen has joined #parrot % marmic has left marmic!~chatzilla@89-253-66-101.customers.ownit.se PCCINVOKE(INTERP, P0, "replace", STRING *orig, STRING *repl); This converts to: % marmic has joined #parrot Parrot_PCCINVOKE(interp, P0, CONST_STRING(interp, "replace"), "SS->", orig, repl); which then dies on build with: ./tcllist.pmc:157: warning: passing argument 3 of 'Parrot_PCCINVOKE' makes pointer from integer without a cast ./tcllist.pmc:116: error: incompatible types in assignment does CONST_STRING even work in dynpmcs? oh, you can't do that. I can't do what... use the PCCINVOKE shortcut? the PCCINVOKE macro expects so CONST_STRING(interp, "foo") is no good there I didn't write const_string. the pmc2c generator did. STRING * s_replace = CONST_STRING(interp, "replace"); hrmm. P0 is SELF ? no. it's the result of a pmc_new, earlier. ok, but it's a pmc yup lemme try this directly with the macro. with a strange pir-like name. ok. which pmc? tcllist. % barney has left barney!~bernhard@dslb-084-058-178-046.pools.arcor-ip.net % allison has left allison!~chatzilla@sub17-30.member.dsl-only.net % kj has left kj!~IceChat7@ip565fd420.direct-adsl.nl % ruoso has left ruoso!~ruoso@195.23.92.2 % lidden has left lidden!~stefan@puce.campus.luth.se % grim_fandango has joined #parrot % x___ has joined #parrot % x___ is now known as x % allison has joined #parrot allison: hio hi coke Jerry was wondering why it's spelled PCCINVOKE. =-) there. tcl is now passing more tests in pdd17 than in trunk. ... whee. r26299 | coke++ | pdd17pmc: : [tcl] : String->replace() is now a PCC METHOD and not a C METHOD; : call it appropriately. diff: http://parrotvm.org/svn/parrot/revision/?rev=26299 % rdice has left rdice!~richard_d@CPE0014bfafbbd5-CM0011e6ecf48a.cpe.net.cable.rogers.com hurm. the {expand} syntax is broken in tcl. (trunk) % rdice has joined #parrot * particle wonders if a C sub inside pmclass {} can be marked VTABLE *and* METHOD I doubt it. VTABLEs in C don't follow the PCC. figured. s/don't/don't seem to/ it's a small difference between PIR and C class definitions I wonder if you can have VTABLE get_string and METHOD get_string in the same PMC. if so, then the difference is just that PIR gives you sugar. corrcet unlike my speling % rdice has left rdice!~richard_d@CPE0014bfafbbd5-CM0011e6ecf48a.cpe.net.cable.rogers.com % allison has left allison!~chatzilla@64.122.198.69 % skids has left skids!bri@charon.clarku.edu % iblechbot has left iblechbot!~iblechbot@8.16-dial.augustakom.net r26300 | chromatic++ | pdd17pmc: : [lib] Made the PCCMETHOD rewriter ignore Parrot_PCCMETHOD calls, which are : functions that need no rewriting. diff: http://parrotvm.org/svn/parrot/revision/?rev=26300 % Infinoid has left Infinoid!infinoid@omgwtfbbq.info % Infinoid has joined #parrot % allison has joined #parrot % cognominal has left cognominal!~cognomina@82.67.232.89 % Infinoid has left Infinoid!infinoid@66.252.19.121 % Infinoid has joined #parrot % Limbic_Region has joined #parrot % cognominal has joined #parrot % grim_fandango has left grim_fandango!~matt@bas2-kingston08-1096741773.dsl.bell.ca % purl has left purl!~purl@209.218.54.66 % purl has joined #parrot % skids has joined #parrot % purl has left purl!~purl@209.218.54.66 % purl has joined #parrot % x has left x!~chatzilla@host86-146-126-224.range86-146.btcentralplus.com % cotto_ has left cotto_!~cotto@tide531.microsoft.com % kid51 has joined #parrot % sjansen has left sjansen!~sjansen@hq-nat2.gurulabs.com r26301 | chromatic++ | pdd17pmc: : [Tcl] Hoisted one string_from_literal() call out of the loop; this reduces line : length and makes the coding standards tests pass again. (It also speeds up the : routine slightly.) diff: http://parrotvm.org/svn/parrot/revision/?rev=26301 % Pabellon has joined #parrot % rdice has joined #parrot % Pabellon has left Pabellon!~NA@nat.ivenue.com % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net % parrot-poke has left parrot-poke!~mollusk@user-112vvlr.biz.mindspring.com purl, msg chromatic If I'm not here at parrot-sketch-thirty, feel free to run the meeting. Message for chromatic stored. Coke: Can you discuss YAPC at parrotsketch (assuming you're there): http://www.nntp.perl.org/group/perl.perl6.internals/2008/03/msg43704.html kid51's url is at http://xrl.us/bhhgh Sure. I'll write up a report, even if I'm not there. Thanks. % kid51 is now known as kid51_afk % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % kid51_afk has left kid51_afk!~jkeen@pool-70-107-4-113.ny325.east.verizon.net r26302 | chromatic++ | trunk: : [src] Sped up parrot_mark_hash() by around 13%. This is a minor gain, but a : few minor gains in GC pay off over time. diff: http://parrotvm.org/svn/parrot/revision/?rev=26302 r26303 | chromatic++ | trunk: : [GC] Sped up Parrot_dod_sweep() by about 13% by some minor code reorganization. : I also removed the assertion, as it doesn't make any sense there and was : leftover debugging code I accidentally checked in a while back. diff: http://parrotvm.org/svn/parrot/revision/?rev=26303 % Ademan has left Ademan!~dan@h-67-101-40-175.snfccasy.dynamic.covad.net % Ademan has joined #parrot % rdice has left rdice!~richarddi@CPE001217e365c7-CM00159a01d44c.cpe.net.cable.rogers.com r26304 | chromatic++ | trunk: : [GC] Sped up compact_pool() by about 5%. diff: http://parrotvm.org/svn/parrot/revision/?rev=26304 r26305 | chromatic++ | trunk: : [src] Sped up get_new_pmc_header() by about 6%. This meant moving an exception : check from get_new_pmc_header() to new_pmc_header(). The latter never returns : NULL anyway, so there's no reason to check its return value for NULL in the : former. diff: http://parrotvm.org/svn/parrot/revision/?rev=26305 % Psyche^ has joined #parrot % kid51 has joined #parrot % Patterner has left Patterner!~Psyche@e177230008.adsl.alicedsl.de % Psyche^ is now known as Patterner r26306 | chromatic++ | trunk: : [oops] Reverted changes accidentally included in r26305. In particular, the : test changes don't make any sense until the PDD 17 branch lands. diff: http://parrotvm.org/svn/parrot/revision/?rev=26306 % Limbic_Region has left Limbic_Region!~Limbic_Re@c-68-49-236-220.hsd1.md.comcast.net % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.or.comcast.net % jhorwitz has joined #parrot * davidfetter waves to jhorwitz * jhorwitz migrates a database with one hand and waves with the other * jhorwitz needs a third hand heh migrating it from what to where? moving a mysql db from one server to another k in other words, i'm copying files. :-P yeah, that's their paradigm there are others ;) i miss those... davidfetter: how goes things? % jhorwitz has left jhorwitz!~chatzilla@pool-96-245-95-72.phlapa.fios.verizon.net oops % kid51 has left kid51!~jkeen@pool-70-107-4-113.ny325.east.verizon.net % Theory has joined #parrot % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.mn.comcast.net r26307 | allison++ | pdd17pmc: : [pdd17pmc] Bringing the pdd17pmc branch up-to-date with trunk r26306. diff: http://parrotvm.org/svn/parrot/revision/?rev=26307 % x___ has joined #parrot % x___ is now known as x % teknomunk has left teknomunk!~teknomunk@kerr-dip0.nat.okstate.edu % teknomunk has joined #parrot % x has left x!~chatzilla@host86-146-126-224.range86-146.btcentralplus.com % davidfetter has left davidfetter!~davidfett@start.fetter.org