|
Please mentor for SoC | parrotcode.org/ | YAPC::NA talks deadline is Sat Mar 15 | tinyurl.com/2pmnlq Set by moderator on 8 March 2008. |
|||
|
00:34
Theory joined
00:37
mdiep joined
00:40
Andy joined,
kid51 joined
|
|||
| svnbotl | r26278 | allison++ | pdd17pmc: | 01:08 | |
| : [pdd17pmc] Recommitting patch to remove pobj_t substruct abstraction, plus reorder two struct members in parrot_string_t struct to fix alignment problem on Windows MSVC when copying COW strings. | |||
| diff: parrotvm.org/svn/parrot/revision/?rev=26278 | |||
|
01:17
Theory joined
|
|||
| Tene | Hmm... no traffic on planet.parrotcode.org in a decent while. If I were to generate a use.perl blog post, who would I harass to get it up there? Coke? | 01:35 | |
| svnbotl | r26279 | chromatic++ | pdd17pmc: | 01:40 | |
| : [PMC] Removed several morph() entries that didn't do anything useful. The | |||
| : default behavior is almost always correct. | |||
| diff: parrotvm.org/svn/parrot/revision/?rev=26279 | |||
|
01:46
skv_____ joined
01:54
skv_____ joined
02:15
peepsalot joined
02:21
Ademan joined
|
|||
| svnbotl | r26280 | chromatic++ | pdd17pmc: | 03:50 | |
| : [WML] Updated WmlsBoolean PMC to match PDD 17. | |||
| diff: parrotvm.org/svn/parrot/revision/?rev=26280 | |||
|
03:57
TimToady joined
|
|||
| svnbotl | r26281 | chromatic++ | pdd17pmc: | 03:57 | |
| : [WML] Made WmlsFloat PMC conform to PDD 17. | |||
| r26282 | chromatic++ | pdd17pmc: | |||
| : [WML] Ported WmlsInvalid PMC to PDD 17. | |||
| diff: parrotvm.org/svn/parrot/revision/?rev=26282 | |||
| katie_d | I cannot figure out what obj_file in imcc_run() is for, anyone know where I could look for more info? I'm particularly interested in what the purpose of this line is: if (!interp->lo_var_ptr) {interp->lo_var_ptr = (void *)&obj_file;} ... I know lo_var_ptr is used for stack tracing. objfile is an int that was just declared but not defined -- so I can't see how they are connected. Anyone have any idea about this? | 04:02 | |
| PerlJam | Given a STRING*, how do I do the equivalent of isalpha() on the characters of the string? I know I can use string_ord() to get at an individual character, but is there some special encoding-aware function that I need to use to determine if it's an alpha, numeric, etc. ? | 04:12 | |
| katie_d: I'd guess that it's a bug. | 04:14 | ||
| katie_d: it's been a while since I've done much C coding, but taking the address of a local variable and storing it somewhere has never been a good thing. | 04:15 | ||
| svnbotl | r26283 | chromatic++ | pdd17pmc: | 04:16 | |
| : [WML] Made test target depend on successful build. (That explains why my | |||
| : changes didn't seem to have an effect....) | |||
| diff: parrotvm.org/svn/parrot/revision/?rev=26283 | |||
| PerlJam | katie_d: though, I suppose if it's only used within the imcc_run() function, it may be okay. | 04:17 | |
| svnbotl | r26284 | chromatic++ | pdd17pmc: | 04:28 | |
| : [WML] Ported WmlsString PMC to PDD 17. | |||
| r26285 | chromatic++ | pdd17pmc: | |||
| : [PMC] Ported WmlsInteger PMC to PDD 17. | |||
| diff: parrotvm.org/svn/parrot/revision/?rev=26285 | |||
| r26286 | petdance++ | trunk: | 04:35 | ||
| : Function pointers take NOTNULL, not ARGIN | |||
| r26287 | petdance++ | trunk: | |||
| : more splint target work | |||
| diff: parrotvm.org/svn/parrot/revision/?rev=26287 | |||
| katie_d | PerlJam: OK, I didn't know if there was some magic going on that I didn't understand. Should I post a bug report, you think? At least I'll ask if someone can document what it does if it's not a bug ... | 04:45 | |
| PerlJam | katie_d: yes, at least ask. | 04:54 | |
| svnbotl | r26288 | petdance++ | trunk: | ||
| : rename tosize to newsize, since "to*" is reserved | |||
| diff: parrotvm.org/svn/parrot/revision/?rev=26288 | |||
| r26289 | petdance++ | trunk: | 05:07 | ||
| : rename tosize to newsize, since "to*" is reserved | |||
| diff: parrotvm.org/svn/parrot/revision/?rev=26289 | |||
| purl | i already had it that way, svnbotl. | ||
| Infinoid | heh | 05:22 | |
| svnbotl | r26290 | petdance++ | trunk: | 05:51 | |
| : Don't complain about ints as boooleans | |||
| diff: parrotvm.org/svn/parrot/revision/?rev=26290 | |||
| katie_d | Hmmm. I think I might have figured it out. lo_var_ptr is used by trace_system_stack() -- it is where memory tracing begins -- and obj_file is the first thing declared in imcc_run(), so would it not be at the bottom of the stack within imcc_run()? It seems that they are just using that as a marker so that stack tracing will start after the args for imcc_run() ... this should definitely be documented with a one line comment above the c | 05:56 | |
| Tene | katie_d: cut off after "above the c..." | 05:57 | |
| katie_d | above the conditional. | ||
| Tene | katie_d: www.irssi.org/scripts/scripts/splitlong.pl | 05:58 | |
| katie_d | Tene: Excellent. Thank you :) | ||
| Tene | np | 05:59 | |
| katie_d: nice work on figuring out that part of imcc | |||
| You should open an rt ticket about it | |||
| purl: parrotbug | 06:00 | ||
| purl | parrotbug is, like, mailto:parrotbug@parrotcode.org or svn.perl.org/parrot/trunk/docs/submissions.pod | ||
| katie_d | Tene: Yes. I already opened one up requesting that it be documented. | ||
| Tene | Ahh. | ||
| svnbotl | r26291 | petdance++ | trunk: | 06:41 | |
| : Instrumenting malloc & free arguments so splint can accurately check for memory tracking | |||
| diff: parrotvm.org/svn/parrot/revision/?rev=26291 | |||
|
06:42
iblechbot joined
06:43
teknomunk joined
07:06
teknomunk joined
|
|||
| svnbotl | r26292 | fperrad++ | trunk: | 07:25 | |
| : [Lua] | |||
| : revert r25931, I want nil as output value | |||
| r26293 | fperrad++ | trunk: | |||
| : [Lua] | |||
|
07:26
uniejo joined
|
|||
| svnbotl | r26295 | fperrad++ | trunk: | 07:32 | |
| : [win32] | |||
| : add support for strawberry distribution (strawberryperl.com/) | |||
| diff: parrotvm.org/svn/parrot/revision/?rev=26295 | |||
|
08:29
AndyA joined
08:51
kj joined
10:26
iblechbot joined,
wknight8111 joined,
ruoso joined
12:04
ruoso joined
12:29
UltraDM joined
12:30
peepsalot joined
12:32
ask_ joined
12:38
cout joined
13:05
gryphon joined
13:32
wknight8111 joined
|
|||
| Coke | groups.google.com/group/cn.bbs.comp...a4f76d1430 | 13:39 | |
| shorten | Coke's url is at xrl.us/bhf5y | ||
| Coke | "Dear Jeff Goff, This is a computer-generated report for parrot-0.0.8.1 on | 13:42 | |
| perl 5.10.0, created by CPAN-Reporter-1.11." | |||
| particle | yikes | 13:43 | |
| Coke | (some random link triggered by a google news alert) | ||
| hurm. the failures in tcl branch are slightly different than those in trunk. | 13:48 | ||
|
13:53
jhorwitz joined
14:15
katie_d joined
14:19
rdice joined
|
|||
| Coke | hurm. I think get_string in src/pmc/tcllist.pmc needs to be PDD17-erized. | 14:36 | |
| (my attempts to do so generate many more test failures that we have currently, though. =-) | 14:37 | ||
| jhorwitz is happy all mod_parrot tests pass against PDD17 branch | 15:06 | ||
|
15:06
davidfetter joined
15:35
Andy joined
|
|||
| Coke tries to boil this latest failure down to some PIR for chromatic's sake. | 15:44 | ||
|
15:46
parrot-poke joined
|
|||
| Coke | rant: #line 444 "/home/coke/sandbox/pdd17pmc/tools/build/../../lib/Parrot/Pmc2c/PCCMETHOD.pm" | 15:53 | |
| ... this seems to cause GDB to display the perl source when debugging. | |||
| It would be most helpful if there was a way to invoke Dumper() on a PMC from gdb. any clues? | 16:00 | ||
| Infinoid | you can say "print <c-expression>" to make gdb call a C function with specified arguments and print its return value | 16:06 | |
|
16:06
wknight8111 joined,
parrot-poke joined,
katie_d joined
|
|||
| Infinoid | and if that C function prints some stuff as a side effect, you'll see that too | 16:07 | |
|
16:11
confound joined,
dngor joined
16:12
particle joined,
clunker joined
|
|||
| Coke | Yes, but all the dumper stuff is a parrot function, not a C function, which makes that much more complicated. :| | 16:15 | |
| katie_d | Coke: You can call anything in the symbol table w/ print. | 16:16 | |
| particle | i wonder if pdb would be more help than gdb | ||
|
16:19
confound joined
16:20
confound joined
|
|||
| Coke | 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. | 16:21 | |
|
16:21
confound joined
|
|||
| Coke | 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. | 16:21 | |
| meh. I think I've tracked down what I need, but lunch and work beckon. | 16:22 | ||
| Infinoid | Coke: chromatic would probably know how to do this. I'm not familiar at all with the parrot C API, sorry | ||
| particle | oh my god, it's an infinoid! | 16:24 | |
| where'd your tuits go? | |||
|
16:24
confound joined,
dngor joined
|
|||
| Infinoid | my brain is jumbled mess... spaghetti tuits | 16:26 | |
|
16:26
clunker joined
|
|||
| particle | you'll be sailing soon enough again. it'll all be okay. | 16:26 | |
| Infinoid | did that last weekend, have plenty of bruises and sunburn to prove it | ||
| particle | sheesh. next time let the wind do the work! | 16:27 | |
| Infinoid | when the wind gets blowing, *everything* gets harder to do :) | ||
| svnbotl | r26296 | fperrad++ | pdd17pmc: | 16:45 | |
| : {Lua] | |||
| : accept the output "(unknown file):-1" | |||
| diff: parrotvm.org/svn/parrot/revision/?rev=26296 | |||
|
16:55
marmic joined
|
|||
| Coke | Infinoid: I'm trying not to bug chromatic. =-) | 17:36 | |
|
18:07
Dave joined
18:09
Psyche^ joined
|
|||
| cotto_ | ack | 18:12 | |
| ack? | |||
| purl | i think ack is at search.cpan.org/dist/ack/ or at petdance.com/ack/ | ||
| Andy | ack! | ||
| cotto_ | awesome tool, btw | 18:21 | |
|
18:21
barney joined
|
|||
| cotto_ | soooo much nicer than a bunch of greps | 18:21 | |
|
18:33
IllvilJa joined
|
|||
| svnbotl | r26297 | coke++ | pdd17pmc: | 18:36 | |
| : [tcl] | |||
| : Add VTABLE marker to get_string | |||
| diff: parrotvm.org/svn/parrot/revision/?rev=26297 | |||
|
18:37
kj joined
18:44
Coke joined
18:47
Theory joined
|
|||
| Coke | anyone have an example of invoking a method from C? | 18:48 | |
| particle | a METHOD ? | ||
| purl | a method is a good start | ||
| svnbotl | r26298 | coke++ | pdd17pmc: | ||
| : [docs] | |||
| : remove reference to obsolete "METHOD" style in branch; it's gone here. | |||
| diff: parrotvm.org/svn/parrot/revision/?rev=26298 | |||
| Coke | yes. | ||
| particle | i'm in the midst of debugging something. will look in a sec | 18:49 | |
| Coke | eh. no rush. | 18:50 | |
| kj | good evening | 18:55 | |
| i seem to remember that ANSI control characters have worked some day in the past (printing them using PIR print op) | 18:56 | ||
| but unfortunately i can't get it working anymore :-( | |||
| (otherwise I have a nice Game of Life demo :-) | |||
| Coke | should work, ja. | 18:57 | |
| how are they not working for you? | |||
| kj | 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" | 18:58 | ||
| and binary:"\\e[2J" too | 18:59 | ||
| one is for clear screen, other for cursor I think | |||
| particle | coke: see src/pmc/exporter.pmc ~322 (METHOD import) | 19:00 | |
| funny that we still have PCCINVOKE | 19:01 | ||
| after PCCMETHOD and PCCRETURN have been converted | |||
| Coke | ... If you call allison on it, she'll probably update it. | ||
| particle | i can do it myself | ||
| just need an hour or so to go through the code | |||
| (not now) | 19:02 | ||
| barney | no control chars in examples/pir/life.pir | 19:04 | |
| kj | barney: yeah I know. I stole Lua's life | 19:05 | |
| I ported it to my little tutorial-scripting language | |||
| I'm this >< close.. | |||
|
19:10
sjansen joined
|
|||
| Coke | PCCINVOKE(INTERP, P0, "replace", STRING *orig, STRING *repl); | 19:14 | |
| This converts to: | |||
|
19:15
marmic joined
|
|||
| Coke | Parrot_PCCINVOKE(interp, P0, CONST_STRING(interp, "replace"), "SS->", orig, repl); | 19:17 | |
| which then dies on build with: | 19:18 | ||
| ./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? | |||
| particle | oh, you can't do that. | ||
| Coke | I can't do what... use the PCCINVOKE shortcut? | 19:19 | |
| particle | the PCCINVOKE macro expects <type> <name> | ||
| so CONST_STRING(interp, "foo") is no good there | |||
| Coke | I didn't write const_string. the pmc2c generator did. | 19:20 | |
| particle | STRING * s_replace = CONST_STRING(interp, "replace"); | ||
| hrmm. P0 is SELF ? | |||
| Coke | no. | ||
| it's the result of a pmc_new, earlier. | 19:21 | ||
| particle | ok, but it's a pmc | ||
| Coke | yup | ||
| lemme try this directly with the macro. | |||
| particle | with a strange pir-like name. ok. which pmc? tcllist. | ||
|
20:09
grim_fandango joined
20:10
x___ joined
20:12
allison joined
|
|||
| Coke | allison: hio | 20:13 | |
| allison | hi coke | ||
| Coke | Jerry was wondering why it's spelled PCCINVOKE. =-) | 20:15 | |
| there. tcl is now passing more tests in pdd17 than in trunk. | 20:20 | ||
| ... whee. | |||
| svnbotl | r26299 | coke++ | pdd17pmc: | ||
| : [tcl] | |||
| : String->replace() is now a PCC METHOD and not a C METHOD; | |||
| : call it appropriately. | |||
| diff: parrotvm.org/svn/parrot/revision/?rev=26299 | |||
| Coke | hurm. the {expand} syntax is broken in tcl. (trunk) | 20:42 | |
|
20:43
rdice joined
|
|||
| particle wonders if a C sub inside pmclass {} can be marked VTABLE *and* METHOD | 20:44 | ||
| Coke | I doubt it. | 20:54 | |
| VTABLEs in C don't follow the PCC. | |||
| particle | figured. | ||
| Coke | s/don't/don't seem to/ | ||
| particle | it's a small difference between PIR and C class definitions | 20:55 | |
| Coke | I wonder if you can have VTABLE get_string and METHOD get_string in the same PMC. | 20:58 | |
| if so, then the difference is just that PIR gives you sugar. | |||
| particle | corrcet | 21:20 | |
| unlike my speling | |||
| svnbotl | r26300 | chromatic++ | pdd17pmc: | 21:59 | |
| : [lib] Made the PCCMETHOD rewriter ignore Parrot_PCCMETHOD calls, which are | |||
| : functions that need no rewriting. | |||
| diff: parrotvm.org/svn/parrot/revision/?rev=26300 | |||
|
22:32
Infinoid joined
22:33
allison joined
22:34
Infinoid joined,
Limbic_Region joined
22:40
cognominal joined
22:52
purl joined
22:55
skids joined
22:57
purl joined
23:20
kid51 joined
|
|||
| svnbotl | r26301 | chromatic++ | pdd17pmc: | 23:45 | |
| : [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: parrotvm.org/svn/parrot/revision/?rev=26301 | |||
|
23:47
Pabellon joined
23:58
rdice joined
|
|||