Parrot 4.6.0 "Wild Parrots of Telegraph Hill" | parrot.org/ | Log: irclog.perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC
Set by moderator on 18 July 2012.
whiteknight good evening, #parrot 00:19
blah 00:24
moritz \\o whiteknight 00:25
whiteknight hello moritz. How are you doing
moritz you don't want to know 00:26
en.wikipedia.org/wiki/Hand,_foot_a...th_disease (child, wife and $self) 00:28
benabik Um, ew?
whiteknight heh. We were at a family reunion a few weeks ago and found out, after the fact, that my nephew has hand foot and mouth and nobody told us
we were.....slightly angry 00:29
dalek rrot: 11f9d7c | Whiteknight++ | src/pmc/packfile (2 files):
The init_pmc vtable I added should have been in Packfile PMC, not PackfileView. benabik++ for catching the mistake
moritz "slightly" 00:32
and the small one won't let me sleep, which is why I IRC at 2:30 AM
whiteknight ouch 00:34
moritz having another go at sleep& 00:37
whiteknight good luck! 00:41
okay, great. In my branch now, FileHandle.readline() is reading the entire contents of the file 00:45
that is...suboptimal 00:52
actually, it looks like most of this is plumbing. 01:07
plumbing, and clear evidence of my IQ having dropped by several dozen points 01:14
dalek rrot/whiteknight/io_cleanup1: 6c44a3a | Whiteknight++ | / (5 files):
Change to the readline logic, in pursuit of a permanent fix. A few other small changes
01:42
rrot/whiteknight/io_cleanup1: 2a953ca | Whiteknight++ | src/ (3 files):
several misc build fixes. Several fixes to readline, though it's still not 100%. Now, in some tests, the last readline of a file without a trailing newline cuts off the last character. Also, some failing tests look like they're complaining about bad string encodings (which might be the same issue)
02:36 Psyche^ joined 04:00 fperrad joined 08:35 lucian joined 08:57 tuxit joined 10:50 woosley joined 11:10 whiteknight joined
whiteknight good morning, #parrot 11:35
aha! 12:03
I think I've got this thing figured out, finally
12:07 JimmyZ joined
dalek p/toqast: 6ad982a | jnthn++ | src/QAST/Operations.nqp:
Get while/until loops able to handle next/last/redo control exceptions again. Also a fix to support the 3-operand version that loop wants.
12:32
kudo/toqast: cddd89c | jnthn++ | src/QPerl6/Actions.pm:
Fix loop.
12:53 whiteknight joined 13:19 PacoAir joined 13:49 fperrad_ joined 13:54 lucian joined 15:20 lucian joined
dalek kudo/nom: 5b56cfc | moritz++ | src/ (6 files):
remove abs as a prefix op, make it a normal sub instead
15:53
whiteknight multibyte encodings are the most obnoxious things ever 15:58
on the bright side, getting semantics right at this level means they will be right for every other user 15:59
...and I think I just about have got them right
dalek p/toqast: 0cf1ec5 | jnthn++ | src/QAST/Operations.nqp:
Handling for 2 and 3 arg version of substr.
16:00
p/toqast: 839ab97 | jnthn++ | src/QAST/Operations.nqp:
Re-instate nqp::die.
p/toqast: a3fbc99 | jnthn++ | src/QAST/Operations.nqp:
Add nqp::findmethod.
p/toqast: 1668e70 | jnthn++ | src/QAST/Compiler.nqp:
Make use of QAST::Want v when processing statement lists.
p/toqast: 74c1e10 | jnthn++ | src/QAST/ (2 files):
Contextual QAST::Want nodes when compiling ops.
whiteknight And more importantly than just getting the semantics right, I'm documenting my fail as I go, so the next guy can get them even more right 16:01
or get them right in less code
dalek rrot/whiteknight/io_cleanup1: 655a880 | Whiteknight++ | src/io/buffer.c:
Fix a major mistake I added in readline.

When reading from the buffer, we have to return the number of bytes up to the delimiter, not the number of characters. For multi-byte characters, readline was omitting some bytes. This fixes most remaining test failures.
16:04
rrot/whiteknight/io_cleanup1: 8a10dbe | Whiteknight++ | src/ (3 files):
Final fixes for readline. coretest now passes 100% again.

Fix Handle.encoding() to update the encoding of the record_separator STRING ATTR too. This prevents, for example, cases where we are trying to readline '\\n' on a UTF-16 string and getting an odd number of bytes back from the buffer.
kudo/toqast: 7253071 | jnthn++ | src/QPerl6/Actions.pm:
Toss a needless check, which could cause problems.
16:06
kudo/toqast: edf1a73 | jnthn++ | src/core/ (2 files):
Pair/Whatever/WhateverCode need to be stubbed really early now.
kudo/toqast: 35d8ceb | jnthn++ | src/QPerl6/Actions.pm:
Couple of some AST building tweaks to enable better code-gen.
kudo/toqast: aff12ef | jnthn++ | src/QPerl6/ (2 files):
Fix up constant folder, thus fixing compilation of Order enum.
16:42 jashwanth joined 17:04 brrt joined
dalek p/toqast: 212b72c | jnthn++ | src/QAST/Operations.nqp:
Add a couple of missing ops.
17:11
p/toqast: 876c9d5 | jnthn++ | src/QAST/Operations.nqp:
Fix some op signatures.
p/toqast: 818b756 | jnthn++ | src/QAST/Compiler.nqp:
Add to QAST::VM so we can handle pir::const::foo.
kudo/toqast: e6609f3 | jnthn++ | src/Perl6/Metamodel/BOOTSTRAP.pm:
Add a missing bit of circularity sawing for Str. This may well have been at the heart of many of the not-fun-to-track-down infinite recursions related to stringification when compiling CORE.setting.
kudo/toqast: 6f79391 | jnthn++ | src/core/control.pm:
Fix a bunch of incorrect pirop signatures that the slightly stricter processing in QAST catches.
kudo/toqast: b2aa14b | jnthn++ | src/QPerl6/Actions.pm:
Update pir::const compilation.
rrot/whiteknight/io_cleanup1: 2f37147 | Whiteknight++ | src/io/api.c:
Small codestd line-length fix
17:20
rrot/whiteknight/io_cleanup1: 5105eec | Whiteknight++ | src/io/userhandle.c:
small codestd fix to the pod in src/io/userhandle.c. All codestd tests pass
17:26
17:40 wagle joined 17:42 lucian joined
moritz whiteknight: is the io_cleanup1 branch ready for rakudo testing? 19:08
whiteknight moritz: my answer is a cautious "yes"
I haven't added tests to Parrot's suite yet for Socket.readline("\\r\\n"), or for FileHandle.readline("\\r\\n") yet
if you can wait about ~15 minutes I might have that issue addressed 19:09
19:09 brrt1 joined
moritz i can :-) 19:10
19:10 zby_home joined
moritz I can't even build the parrot branch right now 19:10
perlpunks.de/paste/show/500afed8.528.163 19:11
whiteknight yeah, I think I missed a commit somewhere
I'll have things sorted out soon
moritz no rush, I have other stuff to test too 19:12
whiteknight okay, good. I think I have already found a bug 19:13
brrt1 \\o #parrot 19:14
moritz brrt1 o/ 19:15
brrt1 my phone works against me today, logging in in my name 19:16
whiteknight hello brrt 19:19
brrt1 hi whiteknight 19:20
whiteknight how did the move go?
brrt1 still halfway
most stuff is over
floor is half laying
(that came out bad... i mean theres half a floor on my floor)
but the house is absolutely beatiful, so i'm happy as can be 19:21
whiteknight good! 19:23
brrt1 hows life on the other side of the atlantic?
as far as mod_parrot is concerned, i had all sorts of fun new ideas
whiteknight fun new ideas make the world go 'round 19:24
things here are good. We've finally had a break in the heat, so I've been outside working
last week was miserably hot
brrt1 hasn't been hot here for a long time, fortunately 19:25
whiteknight it was briefly hotter in than it was for my brother in kuwait 19:29
brrt1 in pennsylvania? well, i guess that happens 19:30
19:35 mtk joined
dalek p/toqast: e688001 | jnthn++ | src/QAST/Operations.nqp:
A few more missing nqp:: ops.
19:47
kudo/toqast: f9b1ed7 | jnthn++ | src/core/ (4 files):
We need to provide explicit signatures for pir::ops now; this was mostly happening, and this tweaks the rest, hopefully.
19:48
kudo/toqast: 8fb3afe | jnthn++ | src/Perl6/Metamodel/BOOTSTRAP.pm:
Fix copy-pasto; benabik++.
kudo/toqast: ed9292f | jnthn++ | src/QPerl6/World.pm:
Fix a leftover PAST::Op usage.
19:48 contingencyplan joined
whiteknight hmmm... for some reason, STRING_index is NOT returning the index of a substring that I know exists 19:58
20:14 brrt1 joined 20:17 lucian joined
whiteknight msg moritz it's going to take longer than 15 minutes. I'm running into one last little problem that's a bit of a head-scratcher 20:24
aloha OK. I'll deliver the message.
dalek p/toqast: 653152e | jnthn++ | src/QAST/Operations.nqp:
Fix a couple of signatures; v is bad.
22:27
p/toqast: aa9f9e7 | jnthn++ | src/QAST/Compiler.nqp:
Add some missing coercion cases.
p/toqast: 366f84f | jnthn++ | src/QAST/Operations.nqp:
A bunch of op additions and signature fixes.
p/toqast: 939c9ff | jnthn++ | src/QAST/Operations.nqp:
index and ord also work with varying numbers of arguments.
p/toqast: 60afa48 | jnthn++ | src/QAST/ (2 files):
Fix yet more incorrect op signatures.
p/toqast: e179076 | jnthn++ | src/QAST/Operations.nqp:
Add can and rindex.
kudo/toqast: 605574c | jnthn++ | src/QPerl6/Actions.pm:
Detect and complain about missing pir::op signature.
kudo/toqast: e3f8021 | jnthn++ | src/core/terms.pm:
Fix a missing pirop sig.
kudo/toqast: c02c86d | jnthn++ | src/QPerl6/Ops.pm:
Toss an op that's now in the default set.
kudo/toqast: c0ca5a3 | jnthn++ | src/core/Str.pm:
Eliminate a double boxing spotted while bug hunting.
p/toqast: b6049ef | jnthn++ | src/QAST/Compiler.nqp:
Better diagnostics.
22:43
p/toqast: de65b03 | jnthn++ | src/QAST/Operations.nqp:
CAPITALS FOR RESULT TYPES. *sigh*
22:47 lucian joined 22:48 drift joined
dalek kudo/toqast: bb7a618 | jnthn++ | src/ (2 files):
Fix some pir::op sigs.
23:00
p/toqast: 6c19396 | jnthn++ | src/QAST/Operations.nqp:
Add qlist, findnotcclass.
23:04
kudo/toqast: 34ad03b | jnthn++ | src/core/ (2 files):
Last couple of tweaks needed to get CORE.setting compilation to PIR to complete. The generated PIR doesn't quite work yet.
23:17