Parrot 0.8.1 "Tio Richie" Released | parrot.org | 611 tx
Set by moderator on 26 November 2008.
00:09 AndyA joined 00:11 johbar joined 00:13 bacek joined
dalek r33280 | jonathan++ | bcanno: 00:15
: [core] Rip out references to source segments and mapping type in the PIR debug segment mapping struct, and don't bother emitting the (now gone) mapping type. Invalidates bytecode, but so will a bunch of other patches; I'll just do one PBC_COMPAT bump before merging back in.
diff: www.parrotvm.org/svn/parrot/revision?rev=33280
r33281 | jonathan++ | bcanno: 00:20
: [pdd] We are keeping the PIR debug segment, so document it and give it a segment ID.
diff: www.parrotvm.org/svn/parrot/revision?rev=33281
r33282 | jonathan++ | bcanno: 00:24
: [core] Rename PackFile_DebugMapping to PackFile_DebugFilenameMapping to make its use clear.
diff: www.parrotvm.org/svn/parrot/revision?rev=33282
pmichaud in Perl 6 I think that 'is_deeply' is spelled 'eqv', fwiw 00:29
(7 lines of die) ... right now we don't get a lot of control over backtraces. Hopefully the exceptions support and bytecode annotations will help us out there. 00:31
jonathan pmichaud: Yup, I hope so. 00:32
pmichaud: What work will you need to do before we can emit .annotate "line" 42 style things? 00:33
dalek r33283 | jonathan++ | bcanno:
: [pdd] Add an entry I seem to have overlooked in the annotations seg design.
diff: www.parrotvm.org/svn/parrot/revision?rev=33283
pmichaud I need to refactor the way PGE handles Match objects
jonathan Ouch!
pmichaud it shouldn't take long, and it's the first step to protoregexes and ltm
jonathan Or is that not as bad as it sounds?
Aha, OK.
pmichaud and we should also get a performance win on UTF-8 strings. 00:34
jonathan So there's some hope that once I get this annotations stuff in, you'll be able to make use of it in a shortish timeframe. :-)
pmichaud (potentially a very big performance win -- 20% would not be unexpected.)
jonathan Oh, wow.
pmichaud yes, shortish timeframe.
jonathan I plan to make this branch just do annotations without touching too much other stuff. 00:35
pmichaud that sounds very good.
jonathan But I'm cleaning up horrors that must die as I see them.
pmichaud horrors must die.
and hopefully they die with only a 1 or 2 line backtrace... :-P
jonathan At least, those that don't cause a huge distraction.
:-P
Oh, I get to have the fun of, which on earth machine do I have a working bison on too. :-| 00:36
pmichaud oops, I'm being called to another family event here -- bbl
jonathan (And the rest of IMCC. I'm still in denial about that part.)
kk
00:45 particle joined
dalek r33284 | jonathan++ | bcanno: 00:53
: [core] Define structs for bytecode annotation storage.
diff: www.parrotvm.org/svn/parrot/revision?rev=33284
00:54 TiMBuS joined 01:03 dalek joined
dalek r33285 | allison++ | pdd22io_part2: 01:18
: [pdd22io] When attempting to read from a closed filehandle, don't just return
: an empty string, throw an exception.
diff: www.parrotvm.org/svn/parrot/revision?rev=33285
r33286 | allison++ | pdd22io_part2: 01:19
: [pdd22io] All platforms can call 'get_fd', but simply returns -1 on non-unix
: platforms.
diff: www.parrotvm.org/svn/parrot/revision?rev=33286
r33287 | allison++ | pdd22io_part2: 01:35
: [pdd22io] Update to new way of setting encoding on a filehandle. Update
: 'ParrotIO' to 'FileHandle'. Update 'slurp' method to 'readall'. Update for
: exception thrown by attempting to open a non-existent file. Update for
: exception thrown when attempting to read from a closed filehandle. Remove tests
: for layers (layers don't exist anymore).
diff: www.parrotvm.org/svn/parrot/revision?rev=33287
r33288 | allison++ | pdd22io_part2: 01:37
: [pdd22io] Updated test needs updated output for comparison.
diff: www.parrotvm.org/svn/parrot/revision?rev=33288
01:47 jimmy joined
dalek r33289 | jonathan++ | bcanno: 01:49
: [core] Define packfile functions for annotations segment, apart from dump which is still to do. (For those wondering, ain't we moving to PackFile PMCs - yes, but that'll happen in a future branch, or more likely bit by bit in several of them. I tried to do all of this together once before and it was epic fail. So for now, we build bytecode annotations on top of what's already here.)
diff: www.parrotvm.org/svn/parrot/revision?rev=33289
jonathan Enough for me today, night all, and for those in the US, enjoy the rest of your thanksgiving. :-) 01:52
02:04 Whiteknight joined 02:47 Alias joined
dalek r33290 | allison++ | pdd22io_part2: 03:33
: [pdd22io] Test is wrong, you can't write to a filehandle that's been opened read-only.
diff: www.parrotvm.org/svn/parrot/revision?rev=33290
03:34 tetragon joined
dalek r33291 | allison++ | pdd22io_part2: 03:56
: [pdd22io] Writing to a file opened as read-only throws an exception.
diff: www.parrotvm.org/svn/parrot/revision?rev=33291
r33292 | allison++ | pdd22io_part2: 03:57
: [pdd22io] Writing to a filehandle not opened for writing throws an exception.
diff: www.parrotvm.org/svn/parrot/revision?rev=33292
r33293 | allison++ | pdd22io_part2: 04:17
: [pdd22io] Cannot write to file opened read-only.
diff: www.parrotvm.org/svn/parrot/revision?rev=33293
04:24 Andy joined
dalek r33294 | allison++ | pdd22io_part2: 04:35
: [pdd22io] Updating test to new way of turning buffering off.
diff: www.parrotvm.org/svn/parrot/revision?rev=33294
05:01 tak joined
dalek r33295 | allison++ | pdd22io_part2: 05:05
: [pdd22io] Missed closing quote in method call when converting to new way of
: setting encoding.
diff: www.parrotvm.org/svn/parrot/revision?rev=33295
05:19 apeiron joined
jimmy Is there Parrot Foundation? 05:35
seems good.
05:39 Theory joined
Tene There is. 05:52
05:56 contingencyplan joined, iblechbot joined
jimmy Tene: Will parrot belong to The Parrot Poundation? 06:00
Tene Parrot is released under an open-source license. The copyright belongs to the parrot foundation, though. 06:01
jimmy Now it belongs to The Perl Foundation. 06:02
:)
Tene Right. It will belong to the parrot foundation in the future, though.
allison jimmy: yes, the copyright transfer docs are in the works (specifically, draft being reviewed by Perl and Parrot foundations and lawyers), will happen soon 06:04
jimmy good, divided from perl foundation,this helps parrot developing 06:05
allison jimmy: aye
jimmy That is my mind too. 06:06
dalek r33296 | allison++ | pdd22io_part2: 06:12
: [pdd22io] Update reference to old PIO_* function in testing doc.
diff: www.parrotvm.org/svn/parrot/revision?rev=33296
06:28 Hadi joined 07:14 uniejo joined 07:20 Zaba joined
dalek r33297 | allison++ | pdd22io_part2: 07:28
: [pdd22io] Remove two more instances of old PIO_* functions.
diff: www.parrotvm.org/svn/parrot/revision?rev=33297
r33298 | allison++ | pdd22io_part2: 07:32
: [pdd22io] Bringing the pdd22io_part2 branch up-to-date with trunk
: r33297.
diff: www.parrotvm.org/svn/parrot/revision?rev=33298
07:49 elmex joined 07:52 barney joined
jimmy hello barney 07:52
nopaste 07:53
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/
jimmy nopaste?
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/
purl well, 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)
nopaste "jimmy" at 220.232.135.246 pasted "function should be ordered by letters" (73 lines) at nopaste.snit.ch/14742 07:54
jimmy barney: ping ? 07:58
purl I can't find ? in the DNS.
dalek r33299 | allison++ | pdd22io_part2: 08:06
: [pdd22io] Update old PIO_* function call introduced by merge.
diff: www.parrotvm.org/svn/parrot/revision?rev=33299
08:19 Zaba_ joined
barney Hi jimmy 08:30
jimmy barney:nopaste.snit.ch/14742
dalek r33300 | bernhard++ | trunk: 08:33
: [Pipp] Order functions alphabetically. jimmy++
diff: www.parrotvm.org/svn/parrot/revision?rev=33300 08:34
barney jimmy: thanks, good suggestion
jimmy barney: welcome, pipp's usage. 08:35
dalek r33301 | bernhard++ | trunk: 08:43
: [Pipp] Move the constant() function back to php_basic.pir,
: because in C-PHP it is defined in ./ext/standard/basic_functions.c
diff: www.parrotvm.org/svn/parrot/revision?rev=33301
barney jimmy: Moving constant() into another file was a bad idea of mine. I've now put it back, in order to keep in line with the C-PHP sources. 08:44
jimmy good 08:45
08:45 iblechbot joined
jimmy as possible as we can keep in line with c-php sources and manual. thought some does not. 08:51
s/thought/though/
barney sperrard started with this approach 08:56
older functions are probably in different files
jimmy yeah 08:57
barney If you find any, please submit a patch to RT
jimmy no problem
09:12 bacek joined 09:15 tak joined 09:29 tomyan joined
dalek r33302 | bernhard++ | trunk: 09:37
: [Pipp] Override the get_string() vtable function for PhpNull.
: viviself undefined variable to PhpNull.
: Add tests.
diff: www.parrotvm.org/svn/parrot/revision?rev=33302
r33303 | bernhard++ | trunk: 09:40
: [Pipp] add test script t/php/null.t
diff: www.parrotvm.org/svn/parrot/revision?rev=33303
r33304 | bernhard++ | trunk: 09:57
: [Pipp] Normalize heredoc delimiters. s/OUTPUT/OUT/
diff: www.parrotvm.org/svn/parrot/revision?rev=33304
10:08 ff-wonko joined
dalek r33305 | bernhard++ | trunk: 10:15
: [codingstd] remove trailing space
diff: www.parrotvm.org/svn/parrot/revision?rev=33305
moritz barney: should 'make test' be clean in pipp? 10:17
Failed test 'base64_encode(NULL)' for example 10:18
dalek r33306 | bernhard++ | trunk: 10:19
: [Pipp] Adape synopsis of test scripts.
: Remove trailing spaces.
diff: www.parrotvm.org/svn/parrot/revision?rev=33306
jimmy some test cases were disordered 10:20
constant.t shoulde be in php_basic 10:21
i think i shoude say 'confused' 10:23
moritz is both disordered and confused right now :-) 10:24
(but that's not related to parrot in any way) 10:25
jimmy hope so. :( . so many words were the same meaning.
10:26 Theory joined
barney moritz: in a few minutes it should be clean again 10:28
I got confused about the stringification of NULL
moritz that explains a lot of these failures, right
dalek r33307 | bernhard++ | trunk: 10:32
: [Pipp] Aaargh. NULL stringifies to '' after all
diff: www.parrotvm.org/svn/parrot/revision?rev=33307
barney is away for some chores
11:01 Hadi joined 11:05 Hadi left 11:14 ff-wonko joined 11:36 TiMBuS joined 11:37 gaz joined 11:57 bacek joined 12:09 ff-wonko joined
dalek r33308 | bernhard++ | trunk: 12:17
: [Pipp] add some type check tests
diff: www.parrotvm.org/svn/parrot/revision?rev=33308
12:20 masak joined 12:24 bacek joined 12:29 iblechbot joined 12:40 ff-wonko joined 12:49 Hadi joined, Hadi left 12:52 ff-wonko joined 12:58 Hadi joined, Hadi left 13:02 rob joined 13:06 tak joined 13:09 jimmy joined 13:19 Hadi joined, Hadi left
barney can I stort int registers in a namespace? set_hll_global seems to support only PMCs 13:22
jonathan barney: You have to put it into a PMC 13:26
jimmy barney: pipp_defined function seems that it can be called by php
barney jimmy: Yes that's documented in docs/overview.pod 13:28
functions starting with 'pipp_' are Pipp specific extensions
pipp_var_dump() shall be the next Pipp specific function, showing the dump of the passed PMC 13:29
jimmy: adding pipp_var_dump() would be a nice task for you 13:31
jonathan: k
jimmy I don't know what should be done. 13:32
barney adding a function 'pipp_var_dump' that uses e.g. _dumper() for dumping the arguments 13:34
jimmy ouch, pipp_defined should check arguments too. 13:36
barney yes 13:37
13:37 tak joined
jimmy and there were some pasm code in pipp such as php_var.pir 13:42
barney Do you mean cclass.pasm ? 13:43
jimmy no, php_var.pir 13:44
like this: ne type_of_pmc, 'array', not_a_hash
barney Yes, that's valid PIR, but using 'if COND goto LABEL' would be neater 13:46
13:47 tetragon joined
barney (hardcore assembler guys might disaggree ) 13:47
jimmy barney: aye.
barney: $a = array( 33, 'bb' ); // this does not work ? 13:58
barney jimmy: array() is probably not implemented 14:04
jimmy :( 14:05
14:05 mj41 joined 14:16 tak joined 14:18 ChrisDavaz joined 14:29 cognominal joined
dalek r33309 | bernhard++ | trunk: 14:33
: [Pipp] Start with implementation of error_reporting()
: Register the constant NULL.
: Add a TODO test, for redefinition of a constant.
diff: www.parrotvm.org/svn/parrot/revision?rev=33309
jimmy barney: how to call PhpNull's function 14:35
seems name it not a public method 14:36
barney It might be used in future for dumping. 14:39
dalek r33310 | Whiteknight++ | trunk:
: [Book] Write some stub info for Chapter 6 "Libraries".
diff: www.parrotvm.org/svn/parrot/revision?rev=33310
barney Within Pipp 'name' is currently not callable.
dalek r33311 | bernhard++ | trunk: 14:42
: [Pipp] Beautify php_var.pir a little bit. jimmy++
diff: www.parrotvm.org/svn/parrot/revision?rev=33311
jimmy I don't know how to be implemented in php-source, when i want to var_dump($a), and $a is not defined., expects NULL output
current implementation is just print NULL 14:43
and I think it should use phpnull.name() method.
14:46 davidfetter joined
barney When you know that the type in 'PhpNull' then you can call e.g. $P1.'name'() , at least I think so 14:50
dalek r33312 | bernhard++ | trunk: 14:52
: [Pipp] Merge variables.t into var.t
diff: www.parrotvm.org/svn/parrot/revision?rev=33312
jimmy barney: it does not work 14:53
it is not a public method
any method called in pir should be with a 'METHOD' prefix 14:55
barney I think that name() is used for the 'typeof' op 14:57
14:57 tak joined
barney $S0 = typeof a 14:57
15:02 jsut|work joined
dalek r33313 | jkeenan++ | testparrottest: 15:03
: Refactor some code from inside Parrot::Test::run_command() into internal subs, then add tests for those subs in t/perl/Parrot_Test.t.
diff: www.parrotvm.org/svn/parrot/revision?rev=33313
jimmy thanks barney. how to proccess 'Null PMC access'?
such as var_dump(var_dump($a)); 15:04
barney jimmy: You could check for nullness: if null a goto LABEL 15:10
However: maybe var_dump() should return a PhpNull 15:12
jimmy no, just print NULL 15:13
15:13 Theory joined
jimmy void function 15:14
15:17 Andy joined
barney Yes, but echo var_dump( $ffff ); also prints 'NULL' after var_dump() is executed 15:19
jimmy barney: no, just print ''; 15:22
because there was nothing to echo
just run 'echo(var_dump($a));' in PHP 15:23
and TURE and FALSE in not Case-sensitive 15:24
s/in/is/
barney jimmy: k 15:26
jimmy nopaste?
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/
purl it has been said that 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)
nopaste "jimmy" at 218.18.63.95 pasted "nicer and improve var_dump function" (157 lines) at nopaste.snit.ch/14744 15:28
jimmy wrong patch 15:29
barney jimmy: In case of unexpected PMCs, I'd like to keep the _dumper() 15:30
jimmy it does not what php want
and _dumper is to many info
15:30 tak joined
barney PHP should not send unexpected PMCs, so when _dumper() is called it is an indication of error 15:31
nopaste "jimmy" at 218.18.63.95 pasted "more nicer var_dump function" (156 lines) at nopaste.snit.ch/14745 15:32
barney Calling the error() function, in case of an unexpected PMC, would be nicer though
bbl, doing some shopping 15:33
jimmy In my mind, pipp shoulde be the implemention of PHP, and it does not show any parrot PMC info.
sorry,it is re-implementation 15:34
too many unused info is disgusting 15:35
any other unexpected php type is shoulde be NULL 15:36
just like php
purl somebody said just like php was the One true Web Scripting Language # /me ducks
jimmy there is no PMC in PHP
15:37 iblechbot joined 15:43 rdice joined
jimmy barney: when I just run var_dump( $a ); , PHP outputs 'NULL' AND pipp outputs 'VAR1=>undef', then pipp is not PHP, is it ? 15:44
that is my mind. 15:45
and when i run var_dump(var_dump($a)), PHP outputs NULLNULL and Pipp outputs "Null PMC access in name() 15:48
current instr.: 'var_dump' pc 14973 (languages/pipp/src/common/php_var.pir:91)
called from Sub 'anon' pc 40 (EVAL_7:13)
called from Sub 'parrot;PCT;HLLCompiler;eval' pc 898 (src\\PCT\\HLLCompiler.pir:51
0)
called from Sub 'parrot;PCT;HLLCompiler;evalfiles' pc 1233 (src\\PCT\\HLLCompiler.
pir:676)
called from Sub 'parrot;PCT;HLLCompiler;command_line' pc 1412 (src\\PCT\\HLLCompil
er.pir:765)"
15:51 workbench joined 15:52 test2 joined 15:59 particle1 joined 16:02 Andy joined 16:08 tak joined
barney jimmy: Sure, PhpNull is an expected PMC, so it var_dump() must do the right thing and print 'NULL' 16:09
In case of an programming error a PHP variable might hold an 'ResizableStringArray'. In this error case I want to see a _dumper(), so that 16:11
16:11 PacoLinux joined
barney I have an indication what is going wrong 16:11
dalek r33314 | bernhard++ | trunk: 16:29
: [Pipp] handle NULL in var_dump()
diff: www.parrotvm.org/svn/parrot/revision?rev=33314
16:30 jan joined 16:31 rob joined 16:46 ruoso joined 17:00 ambs joined 17:01 ambs left
dalek r33315 | bernhard++ | trunk: 17:08
: [codingstd] remove trailing space
diff: www.parrotvm.org/svn/parrot/revision?rev=33315
17:11 kj joined, jq joined 17:21 particle joined 17:30 tomyan left 17:31 davidfetter joined 17:32 slavorgn joined, dngor joined 17:34 jan joined, workbench joined 17:35 PacoLinux joined 17:50 Hadi joined 17:51 Hadi left
dalek r33316 | bernhard++ | trunk: 17:55
: [Pipp] add TODO test for pass by reference
diff: www.parrotvm.org/svn/parrot/revision?rev=33316
18:04 gmansi joined 18:05 ChrisDavaz joined 18:08 Limbic_Region joined 18:16 alvar joined 18:17 PacoLinux joined 18:20 apeiron joined 18:23 bacek joined 18:28 tak joined 18:29 Aisling joined 18:46 gmansi joined
dalek r33317 | pmichaud++ | trunk: 18:47
: [rakudo]: Rewrite infix:<Z> to be lazy, work on all types (resolves RT #60898)
diff: www.parrotvm.org/svn/parrot/revision?rev=33317
19:08 dngor joined 19:13 Zaba joined 19:15 PacoLinux joined
dalek r33318 | pmichaud++ | trunk: 19:15
: [rakudo]: Partial spectest-progress.csv update (through 2008-11-25).
diff: www.parrotvm.org/svn/parrot/revision?rev=33318
cognominal jonathan++ # I am amazed when reading parrot planet 19:16
19:32 alvar joined 19:38 Zaba joined 19:39 masak joined 20:06 alvar joined 20:32 Zaba joined 20:40 apeiron joined 21:07 Theory joined
dalek r33319 | pmichaud++ | trunk: 21:08
: [rakudo]: spectest-progress.csv update: 227 files, 4634 passing, 89 failing
diff: www.parrotvm.org/svn/parrot/revision?rev=33319
21:26 Zaba_ joined 21:28 Hadi joined, Hadi left
bacek rakudo: say min(1..10) 21:29
polyglotbot No output (you need to produce output to STDOUT) 21:30
21:30 allison joined
masak bacek: see #perl6, the evalbot works there. 21:33
22:08 Zaba joined 22:11 allison joined 22:19 DietCoke joined
Coke ~~ 22:19
karma jkeenan? 22:34
purl jkeenan has karma of 1779
22:39 apeiron joined
GeJ Good morning everyone 22:40
22:40 mire joined
dalek r33320 | coke++ | trunk: 22:42
: eliminate --miniparrot option to Configure.pl (RT #55386)
: It hasn't been possible to build parrot with this option for some time now, and it's goal (provide an ansi-compatible parrot) is covered by parrot in general.
: jkeenan++
diff: www.parrotvm.org/svn/parrot/revision?rev=33320
r33321 | coke++ | rm_miniparrot: 22:45
: Remove branch that was merged into trunk.
: (with slight modifications due to a conflict)
diff: www.parrotvm.org/svn/parrot/revision?rev=33321
Coke hates it when he commits grammatical errors in commit messages. 22:48
23:04 bacek joined 23:18 gmansi joined 23:35 Zaba_ joined 23:47 mberends joined 23:59 purl joined