Parrot 2.5.0 Released! | parrot.org | Log: irclog.perlgeek.de/parrot/today | Nopaste: nopaste.snit.ch:8001 | GSOC Students: trac.parrot.org/parrot/wiki/GSoCersStartHere | Priorities: merge gc_massacre, remove deprecated items, add deprecation notices for 2.6, close tickets.
Set by moderator on 25 June 2010.
nopaste "Coke" at 192.168.1.3 pasted "NQP issue: how can this sub throw an error?" (9 lines) at nopaste.snit.ch/21801 00:00
Coke I know set is throwing an exception. trying to catch it. can't seem to. 00:01
gotta run.
00:02 kid51 joined
dalek rrot: r47986 | mikehh++ | branches/gsoc_threads/src/alarm.c:
fix codetest failure - c++ style comments and trailing whitespace
00:13
rrot: r47987 | mikehh++ | branches/gsoc_threads/src/alarm.c:
fix codetest failure - there should be at least one space between a C keyword and any subsequent open parenthesis
00:14 hercynium joined
dalek rrot: r47988 | mikehh++ | branches/gsoc_threads/src/scheduler.c:
fix codetest failure - there should be at least one space between a C keyword and any subsequent open parenthesis and trailing whitespace
00:30
rrot: r47989 | mikehh++ | branches/gsoc_threads/src/pmc/pmclist.pmc:
fix codetest failure - there should be at least one space between a C keyword and any subsequent open parenthesis and trailing whitespace
kid51 gc_massacre branch: 'make test' hangs indefinitely on t/compilers/opsc/02-parse-all-ops.t; linux/i386 00:46
dalek rrot: r47990 | mikehh++ | branches/gsoc_threads/src/pmc/timer.pmc:
fix codetest failure - there should be at least one space between a C keyword and any subsequent open parenthesis and trailing whitespace
rrot: r47991 | mikehh++ | branches/gsoc_threads/src/scheduler.c:
fix codetest failure - parentheses should not have space immediately after the opening parenthesis nor immediately before the closing parenthesis
rrot: r47992 | mikehh++ | branches/gsoc_threads/src (4 files):
fix codetest failure - no cuddled elses
kid51 mikehh: I appreciate the effort into getting this branch up to codingstd -- but shouldn't we be speaking with the GSOC person?
Chandon kid51: He checked with me before stealing my beautiful cuddled elses. 00:55
kid51 okay 00:59
Yes, I used to be a cuddled else kind of guy ... that was when I was young and foolish ... and I could still get away with it. 01:00
dalek rrot: r47993 | mikehh++ | branches/gsoc_threads/include/parrot/alarm_private.h:
fix codetest failure - (never seen this one before) it doesn't like _H at the end, seems to require GUARD at the end
01:03
rrot: r47994 | mikehh++ | branches/gsoc_threads/t/pmc/alarm.t:
fix codetest failure - missing pir coda and trailing whitespace
mikehh Chandon: getting there - ASSERT_ARGS and doc stuff still to go 01:05
Chandon: I'll leave most of the documentation to you :-} 01:06
kid51 re r47993: Yeah: ISTR that vaguely. 01:12
dalek rrot: r47995 | jkeenan++ | branches/gc_massacre (4 files):
[codingstd] Correct POD formatting errors in PDDs. Reformat some C++ style comments.
01:20
rrot: r47996 | mikehh++ | branches/gsoc_threads (6 files):
fix codetest failure - trailing whitespace
rrot: r47997 | jkeenan++ | trunk/lib/Parrot/Test/Util/Runloop.pm:
Improve POD formatting a bit.
01:37
rrot: r47998 | mikehh++ | branches/gsoc_threads/src/scheduler.c:
fix pod syntax
rrot: r47999 | mikehh++ | branches/gsoc_threads/src/alarm.c:
add missing ASSERT_ARGS
dngor Commit 48000!
Party time!
purl Excellent!
kid51 goes for beer! 01:38
sorear 49048 will be better
oops, no 01:39
kid51 purl, what are you having?
purl bugger all, i dunno, kid51
01:42 TiMBuS joined 01:52 hercynium joined
dalek rrot: r48000 | jkeenan++ | trunk/t (3 files):
Try to get the reasons why tests are skipped during 'make test' to show up better.
01:53
rrot: r48001 | jkeenan++ | trunk/t/configure (2 files):
Eliminate leading newline to make skip_all reason show up.
rrot: r48002 | jkeenan++ | trunk/t/configure (3 files):
Eliminate leading newline to make skip_all reason show up. Minor touchups.
kid51 Looks like dalek reports only once every 16 minutes or so. 01:55
mikehh Chandon: phew - ok codetest now passes on gsoc_threads 02:07
Chandon: most of the changes were straightforward - you might want to look at the commits for future reference
dalek rrot: r48003 | mikehh++ | branches/gsoc_threads/src (2 files):
fix C function docs =items
02:10
Chandon mikehh: Sounds good. I'll have to try typing 'make codetest' more. 02:16
mikehh Chandon: you can run it straight after configure, I generally run make manifest_tests and make codetest straignt after configure before running make corevm/make coretest 02:18
kid51 What I will sometimes do is: After Configure.pl, go into a screen session and run a Smolder report from there, then come out of the screen session and run 'make codetest' 02:19
en.wikipedia.org unresponsive
02:48 janus joined 03:32 tcurtis joined 04:39 cotto joined
cotto ~~ 04:39
bacek_at_work cotto, aloha slacker! :) 04:54
cotto hi bacek_at_work 05:05
I've been on vacation. It's a holiday weekend in the US.
tcurtis has just noticed that NQP-rx puts its sub definitions in the viviself attribute of a PAST::Var. 05:16
Tree::Transformer, as it happens, doesn't look at attributes. 05:19
I'm uncertain about what I should do about that. Should I make it do so? The two main problems I have with that are: 1. It requires some sort of cycle-detection in order to walk the tree, which will probably changing the API in an unpleasant way(renaming either the sub/method you use to walk/transform a tree, or renaming the multi-sub you specialize in subclasses). 2. The meanings of a certain tree in a certain attribute might differ from the same tree as a 05:26
Or should I special-case the instances in which attributes should be transformed? I don't think this would be too complicated(although I'll probably have to make replaceChildren a multi-sub)? 05:29
Anyone have an opinion on this? cotto_slacking, bacek_at_work? 05:32
dalek kudo: f0cf54e | pmichaud++ | src/Perl6/Actions.pm:
Refactor handling of block references in methods.
05:47
kudo: 0ba07fa | pmichaud++ | (4 files):
Refactor 'make stresstest' to draw from t/spectest.data, and eliminate

meanings of the various tags.
kudo: 7b6444c | pmichaud++ | src/Perl6/ (2 files):
Properly create Regex method closures. Remove unneeded 'clone' step from
kudo: f4209ee | pmichaud++ | (5 files):
Move Callable role out of builtins and into core setting.
kudo: 31ebce5 | pmichaud++ | (6 files):
Move Abstraction role out of builtins and into core setting. This means we no
kudo: 77ca4f5 | pmichaud++ | (21 files):
Merge branch 'master' into llsig

   src/Perl6/Compiler/Signature.pm
kudo: 0afa4ad | pmichaud++ | src/Perl6/Compiler/Role.pm:
Switch add_variant to get closures instead of static code object.
kudo: 9868ec1 | pmichaud++ | src/Perl6/ (2 files):
Remove remaining role problems -- patch from jnthn++ .
kudo: 4899c3c | pmichaud++ | src/pmc/p6opaque.pmc:
Our Sub PMCs can now share properties (indeed, they prefer it).
kudo: 7bdeadf | pmichaud++ | src/Perl6/ (2 files):
Eliminate get_outermost_block() (in favor of $*UNITPAST).
kudo: a7c6953 | pmichaud++ | src/Perl6/ (2 files):
Further refactoring of unitstart and outer lexical handling.
kudo: 900fd1a | pmichaud++ | src/Perl6/ (2 files):
Eliminate #= open in comp_unit in favor of unitstart.
kudo: c305de7 | pmichaud++ | src/Perl6/Actions.pm:
Convert more create_code_object() to block_closure().
kudo: 67ebdcc | pmichaud++ | src/Perl6/Compiler.pir:
Restore backtrace printing code.
05:48 szabgab joined 05:54 uniejo joined
dalek kudo: b3eafbe | moritz++ | t/spectest.data:
we pass the man-or-boy test again, \\o/
06:56
rrot: r48004 | khairul++ | branches/gsoc_instrument (4 files):
First cut at instrumenting vtables.
07:38
rrot: r48005 | khairul++ | branches/gsoc_instrument/src/dynpmc/instrumentvtable.pmc:
Removed debug statements.
08:33 fperrad joined
dalek kudo: 5a5d7ef | pmichaud++ | (2 files):
Rename src/cheats/setup-io.pm to src/cheats/process.pm .
08:40
kudo: 3312298 | pmichaud++ | (5 files):
Refactor $*IN, $*OUT, $*ERR. Add $*PERL. Add --version option.
kudo: 22578e8 | pmichaud++ | t/spectest.data:
Merge branch 'master' of github.com:rakudo/rakudo
kudo: d9a5ac0 | pmichaud++ | src/cheats/process.pm:
Change $*PERL<name> to lowercase. Add $*VM.
09:03
purl dalek: that doesn't look right
09:08 TiMBuS joined 09:09 gaz joined
bacek ~~ 09:51
10:21 jsut_ joined
dalek r: 4785e0f | bacek++ | (4 files):
Add dynops to pirate
10:27
r: e390b72 | bacek++ | (2 files):
Wrap registering of HLLs into pir sub for aestetic reason.
r: e6e3dba | bacek++ | (5 files):
Move validation of registers into POST::Compiler to simplify handling of
rrot: r48006 | whiteknight++ | branches/hash_allocator/src/hash.c:
[hash] use alloc instead of realloc. This gets rid of those assertion failures (which I've now deleted), but causes a failed assertion in miniparrot's GC.
10:38
10:52 lucian joined
dalek rrot: r48007 | whiteknight++ | branches/hash_allocator/src/hash.c:
[hash] fix a stupid error, and free the Hash structure correctly. This gets past that assertion failure and now exposes a segfault later
10:55
rrot: r48008 | whiteknight++ | branches/hash_allocator/src/hash.c:
[hash] free all the buckets we allocate. This doesn't resolve the segfault I'm seeing
10:59 gaz joined 11:56 ruoso joined
dalek r: 17eb52a | bacek++ | src/POST/ (2 files):
Rename POST::Sub.method to .is_method to avoid confusion.
12:05
r: 606a7af | bacek++ | (3 files):
Create self register in methods
12:10 szbalint joined 12:57 ash_ joined
dalek nxed: r533 | NotFound++ | trunk/winxedst1.winxed:
more tailcall optimization
13:07
bacek NotFound, trac.parrot.org/parrot/ticket/1700 13:16
NotFound bacek: interesting 13:18
bacek NotFound, yeah... 13:19
13:35 kid51 joined 13:46 hercynium joined 14:04 PacoLinux joined 14:28 plobsing joined
mikehh brb 14:49
dalek rrot: r48009 | NotFound++ | trunk (4 files):
add function Parrot_dlsym_str to simplify Parrot_dlsym usages
15:03
15:14 mikehh joined
dalek rrot: r48010 | Chandon++ | branches/gsoc_threads (6 files):
[gsoc_threads] Everything is a task.
15:36
15:40 janus joined 16:17 tcurtis joined
mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#34739), fulltest) at r48010 - Ubuntu 10.04 i386 (g++) 16:25
t/op/exit.t - TODO passed: 6 in testf
16:30 khairul joined
moritz tcurtis: could you please merge trunk into gsoc_past_optimization soonish? current rakudo has a dependency on r47972... I can let my branch lag behind for a while, but in the long term that's not good 16:40
dalek rrot: r48011 | khairul++ | branches/gsoc_instrument/src/dynpmc/instrumentvtable.pmc:
Added method to remove vtable hooks.
16:41
16:42 khairul left, khairul joined
tcurtis moritz: I'll do so now. 16:44
moritz tcurtis++
16:47 hudnix joined
dalek kudo: 1e7012c | (Patrick Abi Salloum)++ | src/core/operators.pm:
minor series code refactor
16:47
moritz at least your branch merges should be mostly painless, even with svn :-)
tcurtis Indeed. Rebuilding and running tests and then I'll commit the merge. 16:51
16:51 lucian_ joined 17:01 Mokurai joined
dalek rrot: r48012 | tcurtis++ | failed to fetch changeset:
Sync with trunk.
17:31
17:35 Mokurai joined 17:41 patspam joined
dalek rrot: r48013 | khairul++ | failed to fetch changeset:
Sync with trunk.
17:49
arnsholt Is there some kind of mechanism that prevents code from accessing bits in namespaces prefixed with _? 17:52
tcurtis No. 17:54
arnsholt Didn't think so. Then I'm doing something else wrong =)
tcurtis Or at least, I don't believe so. dumper.pbc, for example, makes the "_dumper" sub available, and it works fine. 17:55
moritz how can I copy all elements from hash $a into hash $b in NQP?
something easy-ish?
arnsholt tcurtis: Yeah, I think you're right. Subs should be accessible from the namespace PMC with get_global as well, no? 17:56
moritz: Have you tried for %hash? IIRC a hash iterator gives you the hash's keys
tcurtis arnsholt: Yes. Although note that get_global is relative to the current namespace. E.g., in .namespace ['Foo'], get_global ['Bar'], 'gab' gets the 'gab' global from the Foo;Bar namespace. 18:06
arnsholt: unless it's a method. In which case, no, it isn't accessible from the namespace. 18:07
arnsholt Aha. So even if I pass in a namespace PMC, that namespace will be considered relative to my current one?
tcurtis arnsholt: I'm not sure about with a namespace PMC as opposed to a constant key.
But possibly.
tcurtis doesn't know. 18:08
arnsholt tests
Doesn't look like that's it either. But calling find_sub on the namespace PMC works, while get_global returns null 18:09
I haven't the faintest idea -why- this happens, but at least I've found a solution to my problem
dalek rrot: r48014 | darbelo++ | branches/gsoc_nfg/src/string/grapheme.c:
Add POD documentation for the grapheme table manipulation functions.
18:22
rrot: r48015 | darbelo++ | branches/gsoc_nfg/src/string/grapheme.c:
Add POD header and footer.
rrot: r48016 | darbelo++ | branches/gsoc_nfg/src/string/grapheme.c:
Reformat POD to apease codetest.
mikehh rakudo (1e7012c) builds on parrot r48012 - make test PASS, spectest_smolder -> #34741 (pugs r31554) FAIL - Ubuntu 10.04 i386 (g++ with --optimize) 18:28
t/spec/S32-num/rat.rakudo - Failed test: 798
15 TODO PASSes in 3 files
pir/PIRATE (606a7af) - build ok, test PASS - at parrot r48012 - Ubuntu 10.04 i386 (g++ with --optimize) 18:34
18:39 LoganLK joined 18:40 rurban joined
mikehh winxed r533 - make all ok, make test/test1/test2 PASS - at parrot r48012 - Ubuntu 10.04 i386 (g++ with --optimize) 18:41
18:43 Mokurai joined
mikehh partcl-nqp (ac39bd4) - make ok, make test PASS - Files=62, Tests=1264 - at parrot r48012 - Ubuntu 10.04 i386 (g++ with --optimize) 18:48
brb 18:55
18:58 eternaleye joined 19:04 mikehh joined 19:06 ash_ joined 19:13 clinton joined 19:15 jsut joined 19:17 kthakore joined
Coke 20:11
GeJ Bonjour everyone. 20:16
Coke ~~ 20:55
dalek nxed: r534 | NotFound++ | trunk/winxedst1.winxed:
evaluate at compile time predefs length, bytelength, ord and chr
21:01
ash_ anyone else here ever test --m=32 on OS X? i don't think it works on OS X 21:46
22:02 jsut_ joined 22:05 lucian joined
dalek kudo: 979a34a | pmichaud++ | src/ (3 files):
Don't de-reference invocants for Rakudo (non-core-PMC) objects.
22:42
kudo: ef66ac3 | pmichaud++ | src/core/Match.pm:
Get Match objects to work with objectrefs in methods.
kudo: 22d0c39 | pmichaud++ | src/ (4 files):
Merge branch 'deref'
nxed: r535 | NotFound++ | trunk/winxedst1.winxed:
fix heredoc escaping
23:30
23:55 Psyche^ joined