Parrot 4.7.0 "Hispaniolan" | parrot.org | Log: irclog/perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC
Set by moderator on 27 August 2012.
dalek rrot: eaa91d7 | Whiteknight++ | src/ (2 files):
The first parameter to Handle.read_bytes can be omitted. If not used, it defaults to a lazier mode where it just reads and returns whatever is available, sizing the buffer accordingly. mortiz++ for the request.
00:03
whiteknight moritz: There's the commit. I haven't put any tests together yet. Let me know if you like it and I'll make it a more permanent addition 00:04
00:21 travis-ci joined
travis-ci [travis-ci] parrot/parrot#512 (master - eaa91d7 : Whiteknight): The build was broken. 00:21
[travis-ci] Change view : github.com/parrot/parrot/compare/9...a91d75988e
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/2256493
00:21 travis-ci left
benabik decl-after-stmt 00:23
whiteknight I just built it with g++, no problems
benabik gcc builds seem to have failed on Travis. 00:24
whiteknight whatevs, I think I know where the problem is
benabik ./include/../src/io/io_private.h:90:29: warning: "/*" within comment [-Wcomment]
src/pmc/handle.c:310:5: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
dalek rrot: 6e2b6ba | Whiteknight++ | src/pmc/handle.pmc:
Fix codestd error
00:25
whiteknight why am I not seeing that first error? 00:26
dalek rrot: dd1a286 | Whiteknight++ | src/io/io_private.h:
Fix comment error, found by benabik++
benabik Really, found by travis++
whiteknight we should get him a commit bit 00:27
benabik just bothers to check travis's logs.
01:02 travis-ci joined
travis-ci [travis-ci] parrot/parrot#514 (master - dd1a286 : Whiteknight): The build was fixed. 01:02
[travis-ci] Change view : github.com/parrot/parrot/compare/6...1a286dbf6a
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/2256621
01:02 travis-ci left 01:08 lucian joined
cotto whiteknight++ 01:19
io_cleanup1 merge 01:20
whiteknight cotto: yes, I'm relieved 01:21
I was starting to think it would never happen
01:22 woosley joined, travis-ci joined
travis-ci [travis-ci] parrot/parrot#513 (master - 6e2b6ba : Whiteknight): The build was fixed. 01:22
[travis-ci] Change view : github.com/parrot/parrot/compare/e...2b6ba14cba
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/2256609
01:22 travis-ci left
whiteknight F yes, it was 01:22
01:27 kid51 joined 01:38 MikeFair joined
kid51 In our Makefile templates, we generally use Makefile variables for directories, e.g., $(FR_DIR) for frontend/ 01:47
Two big remaining exceptions to this practice are:
src/
examples/
Any objection to my variable-izing them? 01:48
Discuss (say, at parrotsketch).
dalek rrot: 29796c6 | jkeenan++ | lib/Parrot/Pmc2c/PMC/default.pm:
Remove unused import of 'return_statement'.
02:11
rtcl-nqp/nqp: 47173d3 | (Will Coleda)++ | src/Partcl/commands/info.pm:
track changes to parrot opcodes
03:38
rtcl-nqp/nqp: e5d3cf1 | coke++ | src/ (10 files):
Remove now-extraneous 'use' statements
03:55
rtcl-nqp/nqp: 68fe753 | coke++ | src/ (2 files):
Update obsolete ** syntax
rtcl-nqp/nqp: 7549ac8 | coke++ | src/Partcl/commands/ (6 files):
Convert foo; to foo {}
MikeFair What's the recommended tutorial for getting started with PArrot these days? 04:44
dalek kudo/nom: 5836fd5 | moritz++ | src/core/Cool.pm:
add Str:D and str variants of &chars
04:45
05:10 preflex_ joined
dalek rrot/leto/get_pointer: ab4fd23 | dukeleto++ | t/src/extend_vtable.t:
Add extend_vtable tests to verify that get_pointer on Integer/Float PMCs work correctly
06:00
rrot/leto/get_pointer: 374de7e | dukeleto++ | t/src/extend_vtable.t:
Fix a bug in the get_pointer test
06:04
06:37 simcop2387 joined
cotto dukeleto++ 06:48
07:02 wagle joined
rurban_mobile whiteknight++ 07:02
07:58 cosimo joined 08:01 lucian joined
dalek Heuristic branch merge: pushed 179 commits to parrot/threads by rurban 08:02
08:19 Psyche^ joined 08:24 rurban_mobile joined 08:34 simcop2387 joined
rurban_mobile how to reproduce the sleep deadlock in threads with linux: download tsan (blogs.perl.org/users/rurban/2012/08...zer.html), tsan ./parrot t/pmc/task.t 08:37
rebooting now into windows (no vm) 08:39
09:11 schmooster joined 09:27 lucian joined 09:32 lucian joined
dalek p/toqast: c318942 | jonathan++ | src/QAST/PIRT.nqp:
A few PIRT updates.
09:46
p/toqast: bac6e6e | jonathan++ | src/core/NQPMu.pm:
NQPMu should be able to Intify also.
p/toqast: d653ec4 | jonathan++ | src/QRegex/Cursor.nqp:
Update the way we look for hashes.
p/toqast: 0ada719 | jonathan++ | src/core/NQPMu.pm:
NQPMu really needs to stringify to the empty string, since it replaces the role Undef played.
10:06 lucian__ joined 11:25 JimmyZ joined
dalek p: 384d3c3 | moritz++ | src/ (3 files):
add repr_elems op and nqp::r_elems
11:49
p: 143a6d0 | moritz++ | tools/build/PARROT_REVISION:
bump PARROT_REVISION to get socket.read_bytes with optional minimal size argument
kudo/nom: f3d2b53 | moritz++ | tools/build/NQP_REVISION:
bump NQP revision

this gives us nqp::r_elems (needed for nativecall stuff) and a newer parrot for improved binary socket handling
11:51
rrot: e354896 | fperrad++ | runtime/parrot/library/TAP/Parser.pir:
[TAP] fix after merge branch 'whiteknight/io_cleanup1'

  $ ./parrot-prove -v t/op/string_cs.t
t/op/string_cs.t .. Malformed UTF-8 string
current instr.: 'parrot;TAP;Parser;file' pc 2101 (runtime/parrot/library/TAP/Parser.pir:914) called from Sub 'parrot;TAP;Harness;aggregate_tests' pc 330 (runtime/parrot/library/TAP/Harness.pir:132) called from Sub 'parrot;TAP;Harness;runtests' pc 235 (runtime/parrot/library/TAP/Harness.pir:107) called from Sub 'do' pc 225 (runtime/parrot/bin/prove.pir:147)
11:58
11:59 whiteknight joined
whiteknight good morning, #parrot 12:15
12:17 lucian__ joined
JimmyZ good morning, whiteknight 12:27
12:34 benabik_ joined
whiteknight hello JimmyZ 12:40
JimmyZ hi
12:52 rurban_mobile joined
rurban_mobile failing windows smokes for threads at smolder.parrot.org/app/projects/rep...ails/30871 12:52
t\\pmc\\io.t test 10 fails on windows: append file contents. it overwrites the content 12:55
dalek p: ba96247 | (Elizabeth Mattijsen)++ | src/QAST/Compiler.nqp:
pir::join now eradicated from live code: use nqp::join instead
13:06
lizmat my first code change :-) 13:11
tadzik lizmat++ :) 13:13
Coke I'm not sure we have good "getting started" docs. What are you interested in? 13:15
writing a language? just writing portable code?
msg alvis having a top level portal that lets users pick their starting path would be nifty. "so you want to write a language" "ok, do you like perl or javascript (and why should you care)" ... etc. 13:16
aloha OK. I'll deliver the message.
dalek p: b6b527d | (Elizabeth Mattijsen)++ | src/QAST/ (2 files):
Eradicated pir::die, replaced by nqp::die
13:22
p: 904ecde | (Elizabeth Mattijsen)++ | src/HLL/Compiler.pm:
Eradicated pir::can, replaced by nqp::can
13:30
rurban_mobile found the win32 io error: open "a" was never supported. added it now 13:40
dalek rrot: 35ddd64 | rurban++ | src/platform/win32/io.c:
win32 io: fix open append

t/pmc/io.t test 10 failed on win32 because PIO_F_APPEND was never checked.
13:43
whiteknight rurban++ 13:44
how the hell was that not supported on windows? And how the hell has that test been passing anywhere without it?
rurban_mobile hell, I don't know 13:47
we are missing win32 smokes 13:48
I just tricked my cygwin to run win32 native compilation and tests
something like ssh winxp "cmd /c call \\perl514\\perl514 & cd \\cygwin\\usr\\src\\parrot\\parrot-git & $*" 13:49
whiteknight oh fun 13:50
rurban_mobile this is for my windows vm
perl514.bat sets the perl path env vars
whiteknight so you're on a windows machine, in cygwin, pretending to run a windows build?
rurban_mobile ssh needs cygwin, so I start cmd.exe inside cygwin 13:51
13:51 ismaele joined, lucian_ joined
ismaele I'm new on parrot 13:51
rurban_mobile from within the machine it's easier.
PerlJam ismaele: welcome!
rurban_mobile hi ismaele 13:52
PerlJam is building a new parrot right now :)
whiteknight hello ismaele
ismaele I try to generate a pir from a perl6
I'm on winXP
rurban_mobile --target=pir is the trick
13:52 plobsing joined
ismaele but the conversion doesn't work 13:52
I do: perl6 --target=PIR hello.pl6 > hello.pir 13:53
whiteknight yeah, Perl6 is going to have some other infrastructure that needs to be loaded in addition to that pir file
PerlJam Hmm. It's not clear if that's what ismaele means by "doesn't work" 13:54
ismaele if I try to execute the pir file generated, the script loops in stand-bye 13:55
parrot hello.pir
rurban_mobile t/perl/Parrot_IO.t and t/src/extend_vtable.t also fails on win32 13:56
ismaele where hello.pir is the file generated with --target=PIR
I can post the pir file so you examine that 13:57
I think that the conversion files
filed
----- 13:58
hello.pir
----------
.include 'cclass.pasm'
.include 'except_severity.pasm'
.include 'except_types.pasm'
.include 'iglobals.pasm'
.include 'interpinfo.pasm'
JimmyZ ismaele: you can nopaste to gist.github.com/ 13:59
ismaele .namespace []
.sub "_block1000" :anon :subid("11_1346162290.343")
.annotate 'file', "C:\\\\rakudo\\\\bin\\\\hello.pl6"
.annotate 'line', 0
.const 'Sub' $P1003 = "10_1346162290.343"
JimmyZ ismaele: the perl 6 irc is: irc.freenode.org/#perl6 14:00
ismaele gist.github.com/3498239 14:02
I generated it with perl6.pbc
rurban_mobile win32: smolder.parrot.org/app/projects/rep...ails/30877 14:04
this was with threads 14:05
JimmyZ ismaele: the perl 6 irc is: irc.freenode.org/#perl6 14:07
ismaele I will try on perl6... 14:08
on #perl6 they say me that the PIR function for perl6 script is allowed only for modules, not for main scripts 14:17
JimmyZ ismaele: they also said for main scripts is not implemented yet 14:19
14:25 dmalcolm joined 14:26 davidfetter joined
whiteknight rurban_mobile: I get results similar to that on master sometimes, but I think my win32 kit is broken 14:30
I'm going to try to build it now on win7_x64 14:36
14:48 ismaele left
dalek rtcl-nqp/nqp: 9157667 | coke++ | src/ (12 files):
add "use NQPHLL;"
15:04
rtcl-nqp/nqp: 5113aec | coke++ | src/ (4 files):
Can't call these methods on type objects
rtcl-nqp/nqp: affed06 | coke++ | src/init.pm:
Must use dependant classes.
rtcl-nqp/nqp: 5997f93 | coke++ | src/TclLexPad.pm:
Have to use bless here.
p: d786460 | (Elizabeth Mattijsen)++ | docs/nqp-opcode.txt:
Added missing nqp::push_s reference to opcode list
15:13
15:15 rurban_mobile joined 15:18 PacoAir_ joined, JimmyZ joined 16:00 rurban_mobile joined
dalek p/toqast: 0450eaa | jonathan++ | src/QAST/PIRT.nqp:
Switch a for loop for a while loop for a bit (need to debug why this is needed).
16:19
p/toqast: a96116e | jonathan++ | src/QAST/Operations.nqp:
Some tweaks to for loop code-gen (though doesn't fix the issue).
p/toqast: 8c23a0a | jonathan++ | src/QAST/Compiler.nqp:
A couple of minor compiler tweaks.
p/toqast: f786fd4 | jonathan++ | src/QAST/Compiler.nqp:
Fix a register allocation overlap bug.
p/toqast: a9e13ea | jonathan++ | src/QRegex/Cursor.nqp:
Tweak CAPHASH.
16:54 tuxit joined 17:00 Khisanth joined
whiteknight rurban_mobile: threads branch is failing t/pmc/io.t and t/src/threads_io.t on win64. I will look at those today or tomorrow 17:00
17:05 contingencyplan joined
rurban_mobile I"m also trying win64 now with threads. stat->mtime is for sure broken in the msvcrt, so it needs to be TODOd 19:00
whiteknight hm 19:05
19:20 Patterner joined
dalek p/toqast: dac7c49 | jonathan++ | src/QAST/Operations.nqp:
Fix for compilation bug.
19:21
p/toqast: 102fc0f | jonathan++ | src/QAST/PIRT.nqp:
Undo while hack now that for is fixed.
p/toqast: f4baa7c | jonathan++ | src/how/NQPClassHOW.pm:
Fix mixin handling.
p/toqast: 0742204 | jonathan++ | src/ (2 files):
Fix the segfault at termination.
p/toqast: 8689070 | jonathan++ | / (5 files):
Switch over to using NQP on QAST for the standard NQP build (just in the toqast branch for now). Just five failing tests to triage, plus the P5Regex build.
rurban_mobile Win32::UTCFileTime 19:31
whiteknight okay, so is the mtime thing the only error? 19:49
19:58 sivoais joined
dalek rtcl-nqp/nqp: f70dd92 | coke++ | .gitignore:
fix gitignore scoping
20:03
rtcl-nqp/nqp: 304efa3 | coke++ | / (4 files):
First pass at rewriting MAIN in perl
rtcl-nqp/nqp: 8d6d4f0 | coke++ | src/TclLexPad.pm:
nqp's bless is different than rakudo's!

  moritz++
20:04
rtcl-nqp/nqp: 1f87340 | coke++ | src/init.pm:
Don't need PIR here, I think.
rtcl-nqp/nqp: 9d1147d | coke++ | src/TclArray.pm:
TclArray is an /associative/ array.
20:08 Patterner joined
dalek p/toqast: dae24c6 | jonathan++ | src/QAST/CompUnit.nqp:
Avoid null PMC access in BEGIN-time compilation.
20:15
p/toqast: 72485de | jonathan++ | / (6 files):
Rip out the NQPQ directory and build, now we've switched over to it.
p/toqast: 71b2e9a | jonathan++ | src/NQP/Actions.pm:
Fix sub installation/call to always have & before the sub name.
p/toqast: 5745da8 | jonathan++ | t/nqp/11-sub.t:
Update sub tests.
20:44 smash joined
dalek p/toqast: fc90164 | jonathan++ | src/QAST/Compiler.nqp:
Fix subrule compilation bug, which nails the last t/nqp regression.
20:45
p: 54544b6 | (Elizabeth Mattijsen)++ | src/QAST/ (3 files):
Fix some commentary spelling errors while going through the source
20:48
rtcl-nqp/nqp: f42968b | coke++ | src/Partcl/commands/ (62 files):
remove "our" from subs

Avoids nqp error: jnthn++
20:50
20:51 benabik joined 21:00 rurban_mobile joined
dalek rrot/leto/get_pointer: 6bdfd32 | dukeleto++ | t/pmc/integer.t:
Remove incorrect get_pointer test

The get_pointer vtable is not available from PIR.
21:22
rrot: 880cbed | dukeleto++ | src/pmc/ (2 files):
Add get_pointer vtables to the Integer and Float PMCs, #819
21:24
rrot: 1c498be | dukeleto++ | / (3 files):
Fix get_pointer for Integer and Float and add a currently failing test
rrot: ab4fd23 | dukeleto++ | t/src/extend_vtable.t:
Add extend_vtable tests to verify that get_pointer on Integer/Float PMCs work correctly
rrot: 374de7e | dukeleto++ | t/src/extend_vtable.t:
Fix a bug in the get_pointer test
alester "Sorry man, FranƧois just became the MVP of the project parrot on Masterbranch."
alester OH NO!
dalek rrot: 6bdfd32 | dukeleto++ | t/pmc/integer.t:
Remove incorrect get_pointer test

The get_pointer vtable is not available from PIR.
rrot: 67d6238 | dukeleto++ | / (3 files):
Merge branch 'leto/get_pointer'
rrot: 202802e | dukeleto++ | ChangeLog:
Add a note to ChangeLog about get_pointer on Integer/Float PMCs
21:32
21:34 benabik joined
rurban_mobile nine: can you look on win64 on t/src/threads_io.t? ok1,nok3,ok2,ok3. 21:37
dalek p/toqast: 0456425 | jonathan++ | src/NQP/Actions.pm:
One for & related fix for subs.
21:39
p/toqast: e99463f | jonathan++ | src/Q (2 files):
A couple of fixes that eliminate many of the failures in t/qregex.
p/toqast: 7dd6f87 | jonathan++ | src/QRegex/Cursor.nqp:
Check actions for nullness.
rurban_mobile msg whiteknight yes mtime only. only needed for pod creation. no big deal, but I want to check dynpmc/os also. stat looks fishy there also 21:43
aloha OK. I'll deliver the message.
21:47 travis-ci joined
travis-ci [travis-ci] parrot/parrot#518 (master - 67d6238 : Jonathan "Duke" Leto): The build was broken. 21:47
[travis-ci] Change view : github.com/parrot/parrot/compare/3...d623826943
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/2266190
21:47 travis-ci left 21:55 kurahaupo joined 22:02 travis-ci joined
travis-ci [travis-ci] parrot/parrot#519 (master - 202802e : Jonathan "Duke" Leto): The build was fixed. 22:02
[travis-ci] Change view : github.com/parrot/parrot/compare/6...2802ee2b28
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/2266237
22:02 travis-ci left 22:09 kurahaupo joined
dalek p/toqast: 8e9590d | jonathan++ | tools/build/Makefile.in:
Fix up install target.
22:11
benabik
22:12 whiteknight joined
whiteknight good evening, #parrot 22:13
dalek sella/commandline_2: 0631b95 | Whiteknight++ | s (4 files):
[CommandLine] Rewrite mode dispatch to use a new ModeCondition object. Remove lots of old crufty code. Several misc cleanups
22:14
sella/commandline_2: 03cde94 | Whiteknight++ | src/commandline/ (3 files):
[CommandLine] Implement some routines to get help/usage messages for the commandline.
22:36 lucian joined
dalek p: 13b550b | pmichaud++ | README:
Update README to eliminate "for quickly generating PIR routines".
22:38
p: 41b003e | pmichaud++ | / (10 files):
Merge branch 'master' of github.com:perl6/nqp
sella/benchmark_1: 446fe23 | Whiteknight++ | src/unstable/benchmark/ (4 files):
[Benchmark] First pass rewrite of benchmark code
23:11
sella/commandline_2: 3583a25 | Whiteknight++ | src/commandline/ProgramMode.winxed:
Small TODO note