Parrot 1.0 Released | parrot.org | Thanks to everyone who helped get 1.0 out the door!
Set by moderator on 18 March 2009.
Tene_ jonathan: there are tests that use is_deeply, but it's not marked as exported 00:01
just implicitly from being multi
should it be?
jonathan Well, if it's marked multi I guess it will get exported...or should. 00:02
It's possible I screwed it up though. ;-)
Tene_ huh, unpack.t couldn't find is_deeply
jonathan odd 00:03
Tene_ even after adding is export(:DEFAULT) 00:04
jonathan Tene_: is_deeply or _is_deeply?
Tene_ the former
t/spec/S32-str/unpack.t 00:05
perl6 -e 'use Test; is_deeply(1,1)'
fails
should I be getting spectest failures on the 99problems problems from not finding 'floor' and 'ceiling'? 00:07
jonathan And you marked it as "is export"?
Tene_ I did. 00:08
jonathan I hadn't seen that.
Tene_ and it's a multi.
jonathan OK. Then I'm afraid it's time for the debugger. :-|
Did you mark it is export(:DEFAULT) or just is export, BTW?
Tene_ the former
jonathan Try the second. 00:09
Just out of curiosity.
But shouldn't make a difference.
00:09 AndyA joined
Tene_ shouldn't with the multi 00:09
jonathan Right.
Only should be equivalent with the multi.
Tene_ hmm 00:10
oh, it works once I deleted Test.pir
and the test passes.
right, you mentioned that.
jonathan Oh.
Missing Makefile dep on Test.pm maybe? 00:11
Tene_ No.
i just didn't regen it after modifying Test.pm and ran the file directly.
jonathan oh, ok!
00:11 tetragon joined
Tene_ spectesting again... 00:12
jonathan: seems like there are some problems with IO... are those known? 00:21
jonathan Tene_: I have some local commits that cause issues. I thought I had only checked in working things. 00:23
Tene_: Did you re-configure?
Tene_ Oh, no.
jonathan Since I added IO.pm to setting
ah, phew
Tene_ Ah.
:)
Thanks for all your help. 00:24
jonathan Welcome. :-)
You can pay in a .leave implementation. ;-)
Tene_ Hmm. I still get a "Method 'close' not found for invocant of class 'IO'" on t/spec/S16-unfiled/slurp.rakudo 00:25
for example
jonathan Hmm. 00:26
Tene_ do you see that too?
jonathan IO.pm is certainly mentioned in Makefile?
No.
Tene_ realcleans and tries again. 00:27
jonathan (.close is implemented in src/setting/IO.pm now)
Tene_ Yes, it works now. 00:28
><
jonathan sjn: ping 00:29
sjn: oh, nvm 00:30
:-)
jonathan really needs sleep now 00:34
night all 00:36
Tene_ 'night
00:39 bacek_ joined
dalek kudo: a67ef98 | (Stephen Weeks)++ | Test.pm:
Put Test into the Test namespace
00:48
shorten dalek's url is at xrl.us/bek3p6
01:00 nnunley joined
GeJ Good morning everyone 01:10
01:12 dukeleto joined 01:25 kid51 joined 01:31 AndyA joined 01:35 dukeleto joined 01:38 eternaleye joined
mikehh parrot r37613 - fails t/examples/pod.t - ALL other tests in make fulltest, make distro_tests, pre- & post-config tests and smolder PASS 01:50
thats on Kubuntu Intrepid i386 - rakudo (e38edf9) builds and make test/make spectest PASS 01:52
dalek kudo: 6a4058a | (Stephen Weeks)++ | Test.pm:
Use 'module' instead of 'package'. literal++
01:54
shorten dalek's url is at xrl.us/bek3v6
dalek kudo: 627b6d6 | pmichaud++ | docs/spectest-progress.csv:
spectest-progress.csv update: 325 files, 7271 passing, 0 failing
02:11
shorten dalek's url is at xrl.us/bek3w5
kid51 mikehh: Could you open a TT for that failure in t/examples/pod.t? (I think it was reported 2 days ago, but I can't locate any active ticket.) Thanks. 02:13
msg mikehh There was an error in t/examples/pod.t in the way that Parrot::Test::Pod::new() was called. I fixed that, so that the test file runs -- but now 5 test failures are appearing. 02:52
purl Message for mikehh stored.
dalek rrot: r37614 | jkeenan++ | trunk/t/examples/pod.t:
Parrot::Test::Pod::new() needs a hash ref with an 'argv' key as its argument.
02:53
02:58 Theory joined
kid51 Created TT 482 to report those 5 failures in t/examples/pod.t 03:01
03:28 TiMBuS joined 03:30 dukeleto joined 03:36 janus joined 04:48 sean joined
dalek tracwiki: v1 | gaurav++ | PIR%20Tutorial 05:02
tracwiki: Started moving the PIR tutorial from the old wiki
tracwiki: trac.parrot.org/parrot/wiki/PIR%20...ction=diff
shorten dalek's url is at xrl.us/bek4bs
06:37 megazooch joined 07:22 sean joined
sjn jonathan: pong? 07:35
07:42 dukeleto joined
dalek tracwiki: v2 | octo++ | PIR%20Tutorial 07:43
tracwiki: Improved the introduction a bit.
tracwiki: trac.parrot.org/parrot/wiki/PIR%20...ction=diff
shorten dalek's url is at xrl.us/bek4ia
08:06 barney joined 08:11 Tene joined 08:52 sean joined 09:07 sean joined 09:36 masak joined
bacek hi there 10:22
purl hello, bacek.
bacek is worth to try resurrect src/io/socket* stuff? Or it's dead and will be removed from Parrot soon forever? 10:45
s/^/is /
dalek kudo: 836900e | (Carl Masak)++ | src/ (3 files):
[setting/Any-str.pm] implemented lines($filename)
11:12
shorten dalek's url is at xrl.us/bek4oy
11:50 alvar joined 12:00 riffraff joined 12:18 Whiteknight joined
dalek kudo: d448f91 | (Carl Masak)++ | src/setting/Any-str.pm:
expanded signature of lines multi
12:32
shorten dalek's url is at xrl.us/bek4rn
12:36 NordQ joined 12:37 kid51 joined 12:39 jimka joined
mikehh kid51: I have managed to fix some of the errors in TT#482 12:43
12:44 tuxdna joined
mikehh kid51: I am pretty sure it's not the test but the snippets in the POD 12:45
dalek tpfwiki: bernhard.schmalhofer@gmx.de | Pipp 12:47
tpfwiki: www.perlfoundation.org/parrot/index.cgi?pipp
kudo: 79bc4f3 | (Carl Masak)++ | src/setting/ (2 files):
moved param checks in lines from delegator to delegatee
12:51
shorten dalek's url is at xrl.us/bek4sw
13:11 Woody4286 joined 13:15 Whiteknight joined
kid51 mikehh: Yes I saw your posts. Are you preparing an overall patch? 13:30
mikehh kid51: Yes if I can get all the tests passing 13:34
or conversely remove the =begin/=end PIR on the ones I ca't get to work 13:36
kid51 k. Thanks for your investigation. 13:40
mikehh I just got test 32 to pass if I change call to bsr, which the book (chap 04) should be the same
kid51 good. BBL
mikehh says
13:57 Theory joined
dalek tracwiki: v61 | barney++ | WikiStart 14:03
tracwiki: A bit more verbose wordin 14:04
tracwiki: trac.parrot.org/parrot/wiki/WikiSt...ction=diff
shorten dalek's url is at xrl.us/bek4ym
dalek tracwiki: v62 | barney++ | WikiStart
tracwiki: Meta first
tracwiki: trac.parrot.org/parrot/wiki/WikiSt...ction=diff
shorten dalek's url is at xrl.us/bek4yq
dalek tracwiki: v4 | barney++ | SmokingParrot 14:15
tracwiki: make languages-smoke is gone 14:16
tracwiki: trac.parrot.org/parrot/wiki/Smokin...ction=diff
shorten dalek's url is at xrl.us/bek4zg
Coke_afk . 14:29
Coke .
Coke is glad to see all the activity on #482. =-) 14:30
mikehh Coke: Hi 14:45
pmichaud good morning #parrot 14:46
mikehh pmichaud: good morning 14:47
Infinoid hi guys 14:48
Coke mikehh: hi 15:05
purl hey, Coke.
pmichaud afk # meeting 15:16
15:22 kid51 joined
mikehh Coke: I got the test to pass by fudging a some of the tests 15:29
kid51: fitto 15:30
ditto
Coke mikehh: "fudging"? 15:40
mikehh I commented out the =begin/end PIR on a couple of tests that I haven't figured out yet 15:43
I will subimt a patch to TT#482 for you all to look at 15:44
maybe you can figure out the ones I haven't
dalek lscript: 87a1e83 | (Francois Perrad)++ | (2 files):
fix make codetest

   - t/doc/pod.t becomes t/codingstd/pod_syntax.t
15:45
shorten dalek's url is at xrl.us/bek48f
dalek lscript: 2e6f65c | (Francois Perrad)++ | config/makefiles/ (2 files):
add missing Copyright
shorten dalek's url is at xrl.us/bek48h
dalek lscript: f969872 | (Francois Perrad)++ | build/ (2 files):
generates PIR coda
shorten dalek's url is at xrl.us/bek48j
15:51 Tene joined 15:52 diakopter joined 15:54 TimToady joined
dalek a: d841636 | (Francois Perrad)++ | (2 files):
fix make codetest

   - t/doc/pod.t becomes t/codingstd/pod_syntax.t
16:06
shorten dalek's url is at xrl.us/bek5ba
dalek a: be3c9cb | (Francois Perrad)++ | config/makefiles/pmc.in:
add missing Copyright
shorten dalek's url is at xrl.us/bek5be
dalek a: 920c8a2 | (Francois Perrad)++ | src/build/translator.pl:
generates PIR coda
shorten dalek's url is at xrl.us/bek5bi
16:08 barney joined 16:20 tetragon joined
dalek rrot: r37615 | Util++ | trunk/lib/Parrot/Test/Pod.pm:
Fixed cut-and-pasted error message
16:23
zy-k: 43b23e1 | (Bernhard Schmalhofer)++ | (5 files):
config/gen/makefiles/languages.pm is gone
16:24
shorten dalek's url is at xrl.us/bek5c4
dalek lambda: 5735de3 | (Bernhard Schmalhofer)++ | (5 files):
config/gen/makefiles/languages.in is gone
16:26
shorten dalek's url is at xrl.us/bek5di
kid51 mikehh: So far so good on that patch. 16:35
Coke: Okay to apply patch as is? Or do we want to hold off for a more complete solution (i.e., no 'fudging')? 16:36
mikehh kid51: bear in mind I am not really a PIR expert - you might want somepne who is look at it 16:39
kid51 is not a PIR expert either. Hence, deferring to others. 16:41
Back later in the day.
dalek pp: d7ee4a0 | (Bernhard Schmalhofer)++ | build/templates/ (2 files):
Some tidbits in Makefiles
16:45
shorten dalek's url is at xrl.us/bek5e6
dalek kudo: de786f3 | pmichaud++ | docs/spectest-progress.csv:
spectest-progress.csv update: 325 files, 7280 passing, 0 failing
16:46
shorten dalek's url is at xrl.us/bek5fc
17:10 rdice joined 17:12 NordQ joined
Coke kid51: t/examples/pod.t isn't run as part of the normal test runs, so I'd rather just fix the bugs in the examples rather than hide them. 17:18
(and fixing them may mean more than just getting the examples to pass, but also to chagne the surrounding documentation that is describing the PIR example. 17:19
mikehh Coke: I tried to do that. I am not sure some of the examples are applicable any more 17:25
Coke No, I've already had to do some cleanup in that regard, too. 17:26
mikehh as far as I can tell yhr test is fine - if I extraxt the code and try to compile it with pattot it give the same errors 17:27
s/yhr/the/ - this keyboard is not quite right for my typing :-{ 17:28
17:37 geof joined
dalek rrot: r37616 | coke++ | trunk/docs/user/pir/intro.pod:
[t/docs] Pass all PIR examples
17:40
mikehh Coke: that's good - shouldn't the =cut be removed? 17:45
Coke mikehh: given that that's how I'm doing the testing, good. (extracting the code and putting it in a file and running it with parrot)
mikehh: whoops. 17:46
fixed. 17:47
dalek rrot: r37617 | coke++ | trunk/docs/user/pir/intro.pod:
[docs] Fix pod typo
17:48
mikehh Coke: I've fixed some of them in the patch I submitted, which got to work. 17:51
some of the others I couldn't figure out, ,lex and global amongst them 17:53
and of course one of those you just patched 17:56
18:06 alvar joined
Coke global is old PIR sugar; replaced with explicit calls to get_global/set_global 18:07
I don't know how to fix .lex or :invocant yet myself.
mikehh One of the obes I fixed was objecting to fact being an opcode - i replaced it with factr and missing parens on return 18:11
s/obes/ones/ 18:12
dalek rrot: r37618 | coke++ | trunk/t/examples/pod.t:
[t] When parsing language blocks to test, force an exact match.

  =begin PIR - TT #428 # dosn't bother
18:17
mikehh Coke: that's a better way 18:20
Coke mikehh: I fixed that with 'fact'() 18:25
dalek rrot: r37619 | coke++ | trunk (2 files):
[t/docs] Fixup more PIR examples. Skip one with a ticket #.

Fixup mikehh's credit entry.
Coke there, that leaves one failure. 18:26
there, fixed. 18:40
mikehh++
mikehh Coke: excellent 18:41
dalek rrot: r37620 | coke++ | trunk/docs/user/pir/pmcs.pod:
[t/docs] Fix PIR example to avoid 'global' syntax.
rrot: r37621 | coke++ | trunk/docs/book/ch04_pir_subroutines.pod:
[docs] POD target sections should have matching begin/end
18:50
rrot: r37622 | cotto++ | trunk (2 files):
[PMC] make StringHandle's clone a little more robust
18:58
nopaste "tene" at 166.70.38.237 pasted "weird bug for jonathan++" (8 lines) at nopaste.snit.ch/15935 19:10
cotto Yuck. LexInfo doesn't extend Hash, but calls Parrot_Hash_visit/freeze directly. 19:14
Coke blah. 19:16
jonathan eww. 19:18
That's sick and wrong.
Tene Ew.
davidfetter p4tc|-|!
cotto I'm really hoping that the obvious fix doesn't cause any mysterious test failures. 19:19
HAPPY 19:21
dalek rrot: r37623 | cotto++ | trunk/src/pmc/lexinfo.pmc:
[PMC] use PMC inheritance instead of calling Hash PMC functions directly
19:23
19:34 Theory joined
dalek rrot: r37624 | cotto++ | trunk/src/pmc/addrregistry.pmc:
[PMC] use PMC inheritance instead of calling Hash PMC functions directly (AddrRegistry)
19:36
19:47 PacoLinux joined 20:04 alvar joined
cotto has anyone tried make cover recently (i.e. since about r31000)? 20:27
dalek rrot: r37625 | coke++ | trunk/docs/book/ch05_pasm.pod:
[t/docs] test more PASM code.
20:35
21:15 hudnix joined
Util Cotto: I just tried it, with fresh checkouts - revision r37625. 21:18
On Darwin - failed completely due to errors in linking: ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option
On Linux - failed completely due to errors in compiling src/exceptions.c, function `Parrot_print_backtrace':
src/exceptions.c:588: error: `Dl_info' undeclared
This was my first time trying `make cover` at all.
cotto Util++ 21:25
Something is screwing up the headers and #defines such that dlfcn.h isn't seeing __USE_GNU, which is required for Dl_info's definition. 21:26
mikehh cotto: gives me some weird results - like you said 21:32
dalek rrot: r37626 | cotto++ | trunk/config/auto/backtrace/test_dlinfo_c.in:
[config] Start fixing the Dl_info probe. The probe that uses this file seems
21:37
jonathan ...ignore correct data? 21:41
cotto as opposed to ignoring incorrect data 21:44
jonathan Ah, makes sense. 21:46
For some reason I read it as a typo. Sorry.
jonathan should probably stick to reading/writing one langauge at a time.
sjn jonathan: was there something you wanted to talk with me about? 21:59
jonathan sjn: I think I mis-read something somewhere and got confused, but no, all is fine. :-) 22:00
nopaste "cotto" at 96.26.202.243 pasted "attempt to fix make cover" (54 lines) at nopaste.snit.ch/15936 22:09
sjn ook
cotto can someone see if that patch fixes make cover and doesn't break make
22:10 rdice joined, hudnix joined
cotto preferably on a platform other than Linux/x86 22:10
22:12 Theory joined
cotto any takers? 22:13
purl Sure cotto, I'll suck pineapple juice through the ham straw!
cotto purl-- #not very helpful 22:15
purl cotto: excuse me?
cotto literal purl-- 22:21
literal purl
purl cotto: purl =is= a she. or captain obvious or so corny sometimes or creepy or a he or is also is also is also or retarded or NOT STEVAN or kd's quotefile|<reply>i am funny|<reply>My mother's name is Eliza or some horror port of perl 4 to perl 5 or part of a bot net
cotto silly purl-- has a hard-coded negative karma defense 22:22
22:23 estrabd joined
Coke cotto: I can try on os x. 22:40
dalek rkdown: 2eb01f5 | (Francois Perrad)++ | config/makefiles/root.in:
clean up Makefile
shorten dalek's url is at xrl.us/bek6dw
dalek rkdown: 7f2dbb7 | (Francois Perrad)++ | (4 files):
fix make spectest
shorten dalek's url is at xrl.us/bek6dy
dalek rkdown: 1cb4ab2 | (Francois Perrad)++ | config/makefiles/root.in:
remove target test-installable
shorten dalek's url is at xrl.us/bek6d2
dalek rkdown: a81d337 | (Francois Perrad)++ | (2 files):
fix make codetest

   - t/doc/pod.t becomes t/codingstd/pod_syntax.t
shorten dalek's url is at xrl.us/bek6d4
dalek rkdown: 27294d1 | (Francois Perrad)++ | (5 files):
implement automatic links (URL & Email)
shorten dalek's url is at xrl.us/bek6d6
dalek rkdown: ba4ab03 | (Francois Perrad)++ | t/30-autolink.t:
fix title
shorten dalek's url is at xrl.us/bek6d8
dalek rkdown: 2e86cee | (Francois Perrad)++ | (4 files):
implement inline link
shorten dalek's url is at xrl.us/bek6ea
22:44 Ramereth left
cotto Coke, thanks. I just want to know if the build process works. Feel free to kill make cover once the tests start running. 22:47
Coke cotto: ... it completes. 22:49
it does absolutely nothing useful I can see.
lots of cfg.gcda:cannot open data file
(I have lots of .gcno files, though.) 22:50
cotto does make cover compile without that patch? 22:52
Coke I get to the same point where it complains about the lack of .gc* files. 22:53
I presume if the build failed, I wouldn't have gotten that far. but who knows. 22:54
bah. any reason why a TODO test wouldn't be reporting as TODO? 22:55
cotto coke++ #thanks 22:56
I don't know about TODO tests not reporting as such. 22:57
Coke check out this patch (as soon as I rebiuld...)
23:00 rdice joined 23:01 AndyA joined
nopaste "coke" at 72.228.52.192 pasted "Why doesn't this TODO the tests?" (40 lines) at nopaste.snit.ch/15937 23:01
cotto let's see... 23:05
Coke if I put in a diag there, it seems to be finding snippet->{todo} in the right places... 23:06
cotto It looks like it's because of the newlines in $description. 23:15
If I shorten it to my $description = $snippet->{file};, it TODOs correctly.
Coke wtf. 23:16
danke.
cotto bitte
I'm remembering why I don't run make cover very often. It's S L O W. 23:18
23:25 kid51 joined 23:27 skv joined
Coke cotto: Guess now's a good time to convert that test to something that lets me extract the line number the sample starts on. 23:29
cotto guess so
Coke (then I can make the description $file:$line)
23:30 rdice joined
lucs Which nopaste 23:32
Er,
Which nopaste do you guys use here?
Coke nopaste? 23:34
purl hmmm... nopaste is at nopaste.snit.ch/ (ask TonyC for new channels) or rafb.net/paste or poundperl.pastebin.com/ or paste.scsys.co.uk/ or App::Nopaste or tools/dev/nopaste.pl or at www.extpaste.com/ or paste.scsys.co.uk (for #catalyst, #dbix-class, #moose and others)
clunker3 pasta.test-smoke.org/ or paste.husk.org/ or nopaste.snit.ch:8001/ or rafb.net/paste or poundperl.pastebin.com/ or paste.scsys.co.uk/
Coke nopaste.snit.ch/, usually.
cotto you can also use tools/dev/nopaste.pl 23:35
lucs Thanks.
cotto np 23:36
lucs I'm a total beginner with Parrot, and I hit a snag in "intro.pod". 23:38
I'd like to propose a patch, but maybe someone here should have a look at it to make sure it's correct.
nopaste "lucs" at 24.202.192.52 pasted "intro.pod patch proposal, needs expert confirmation" (34 lines) at nopaste.snit.ch/15938
cotto will do
23:47 rdice joined
nopaste "cotto" at 96.26.202.243 pasted "edited version of lucs' docs fix" (35 lines) at nopaste.snit.ch/15939 23:48
cotto is that understandable?
Coke what's the snag in the original, btw? 23:49
and yes, the fix looks better. 23:50
cotto I want it to be clear what = is syntactic sugar for. 23:51
lucs, is that version understandable? ;) 23:52
kid51 Coke : can you add a deprecation notice for Data::Replace (TT 108)?
cotto s/;)// 23:53
lucs cotto: Yes, quite understandable. 23:55
The original code simply fails.
It appears you can't do set $S0, "foo" . 23:56
Which means that perhaps your version, cotto, needs a bit a tweaking? 23:57
cotto it worked for me
lucs Hmm...
nopaste "cotto" at 96.26.202.243 pasted "using explicit set" (4 lines) at nopaste.snit.ch/15940 23:58