Parrot 6.6.0 "Parrothead" | parrot.org/ | Log: irclog.perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC
Set by moderator on 16 July 2014.
01:18 FROGGS__ joined 03:35 bighugedog joined 05:01 woosley joined 06:20 dngor joined 08:32 basiliscos joined 09:48 Psyche^ joined 13:08 kjs joined 15:10 rurban1 joined 15:42 bluescreen joined 15:53 Chirag joined
Chirag rurban: Hey! Could you please elaborate on how to export the static methods.. I am confused since all the static methods were only being "directly called" in callcontext.pmc ? 16:03
Util Chirag: Please name a method that you are trying to export. 16:18
Chirag so in callcontext.pmc, some of the static methods that are called directly had to be exported to be used in src/call/*.c .. I ended up removing static from all of them which definitely is not right 16:44
rurban choose an important method, remove the static from the definition, change the call not to via via vtable, rather call it directly and benchmark 16:50
i.e. a simple case: VTABLE_unshift_pmc(interp, call_obj, pmc) => cParrot_CallContext_unshift_pmc(interp, call_obj, pmc) 16:52
every vtable call on a call_obj 16:53
Chirag hmm.. so which static method is changed for this case? 16:55
rurban unshift_pmc 16:56
but this is a bad example
Chirag but it is not static
rurban other samples: VTABLE_push_integer(interp, call_object, constant, ... 16:57
VTABLE_exists_keyed_str(interp, call_object, string_value) 16:58
static void Parrot_CallContext_unshift_pmc(PARROT_INTERP, ARGMOD(PMC *_self), PMC *value);
so it is static
most of the vtable methods are in src/call/args.c 16:59
Chirag ok... understood.. I was being misled by the keyword static.. it only appears in callcontext.c after being process by pmc2c and not in the .pmc 17:16
rurban yes 17:17
Chirag thanks!
rurban that's why I talked about a possible callcontext exception if it's worthwhile
Chirag now I can carry on :) 17:19
rurban FROGGS__: thanks, looks good. testing github.com/parrot/parrot/pull/1085 17:21
FROGGS__ rurban: nice :o) 17:22
17:36 kjs joined
dalek rrot: 403ca17 | (Tobias Leich)++ | src/string/namealias (2 files):
add char name lookup aliases (LF,FF,CR and NEL)

The Perl 6 spec and therefore roast says that e.g. \\c[LF] is identical to
  \\c[LINE FEED (LF)]. MoarVM already got a similar patch:
  github.com/MoarVM/MoarVM/commit/33...9b77bdfce0
And it would be nice if Parrot would get this ability, otherwise we would have to do it in a rather slowish way in nqp.
Closes GH #1085. Signed-off-by: Reini Urban <rurban@cpanel.net>
17:42
rrot: 9abb27d | rurban++ | t/library/pg.t:
[test] fix test number in t/library/pg.t
17:47
rrot: 5b2f932 | rurban++ | t/native_pbc/ (16 files):
[native_pbc] update fingerprints

with perl tools/dev/pbc_header.pl --update-fingerprint t/native_pbc/*.pbc
  (should be done before every release, not after)
rrot: 5410a6d | rurban++ | / (3 files):
[docs] Updated StringHandle.readall and FileHandle.readall docs

They read just the rest of the buffer if tell > 0. [GH #1084] This is not what you would expect, but perl6 wanted it this way. See GH #930 for the discussion.
17:58
rrot: 330c4fe | rurban++ | ChangeLog:
ChangeLog: update
18:07 kjs joined 18:08 travis-ci joined
travis-ci [travis-ci] parrot/parrot#1062 (master - 403ca17 : Tobias Leich): The build passed. 18:08
[travis-ci] Change view : github.com/parrot/parrot/compare/a...3ca17491ea
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/30481027
18:08 travis-ci left 18:25 travis-ci joined
travis-ci [travis-ci] parrot/parrot#1063 (master - 5b2f932 : Reini Urban): The build was broken. 18:25
[travis-ci] Change view : github.com/parrot/parrot/compare/4...2f932cbe35
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/30481431
18:25 travis-ci left 18:29 kjs joined
rurban oh, library/pg.t was ok. need to revert this, and find out how 18:29
dalek rrot: 1f2526c | rurban++ | t/library/pg.t:
Revert "[test] fix test number in t/library/pg.t"

This reverts commit 9abb27dd6f14bf1fafc312b747a77b1b4c9ae5a5. Need to find out why on my system it only runs 40 tests
18:30
rrot: 614a298 | rurban++ | ChangeLog:
ChangeLog: revert t/library/pg.t change
18:41 travis-ci joined
travis-ci [travis-ci] parrot/parrot#1064 (master - 330c4fe : Reini Urban): The build was broken. 18:41
[travis-ci] Change view : github.com/parrot/parrot/compare/5...0c4fe175a7
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/30482328
18:41 travis-ci left 18:50 rurban1 joined 19:01 travis-ci joined
travis-ci [travis-ci] parrot/parrot#1065 (master - 1f2526c : Reini Urban): The build was fixed. 19:01
[travis-ci] Change view : github.com/parrot/parrot/compare/3...2526cd0306
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/30484925
19:01 travis-ci left 19:15 travis-ci joined
travis-ci [travis-ci] parrot/parrot#1066 (master - 614a298 : Reini Urban): The build was fixed. 19:15
[travis-ci] Change view : github.com/parrot/parrot/compare/1...4a2982149e
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/30484969
19:15 travis-ci left 19:23 basiliscos joined 19:50 kjs joined 20:07 rurban1 joined 20:27 basiliscos joined 20:34 tadzik joined, tadzik left 20:46 basiliscos joined 21:03 basiliscos joined 21:45 rurban__ joined
dalek rrot/rurban/testfast-gh1086: 3996215 | rurban++ | t/library/pg.t:
[test] library/pg.t: handle plan for the 3 cases

3 error cases: no libpg.so, service stopped, no nci thunks. Some smokers run 43, some 40 tests. So use no_plan and handle the earlier exits properly.
21:52
rrot/rurban/testfast-gh1086: 7ca829e | rurban++ | / (2 files):
[test] no gc-debug runcore when testing the fast runcore

With make fulltest and variants (t/fullharness) we omit -D040 and --gc-debug when testing -f -O1 -O2 and the various set_usual_target() tests. This caught some -O1/-O2 errors and speeds up the fulltest suite. We only need to run a full GC after each op and randomize the N/I regs with the normal internal testsuite, but not the extensions and various other tests.
Current errors:
   testO1__t/op/calling.t, testO2__t/op/calling.t,
   testO2__t/compilers/imcc/syn/regressions.t
rrot/smoke-me/pg.t: 1f3b66f | rurban++ | / (2 files):
[test] library/pg.t: handle plan for the 3 error cases

Some smokers run 43, some 40 tests. Use no_plan and handle the earlier exits properly. 3 error cases: no libpg.so, service stopped, no nci thunks.
22:07
rrot/smoke-me/testfast-gh1086: 9daa2a4 | rurban++ | / (2 files):
[test] no gc-debug runcore when testing the fast runcore

With make fulltest and variants (t/fullharness) we omit -D040 and --gc-debug when testing -f -O1 -O2 and the various set_usual_target() tests. This caught some -O1/-O2 errors and speeds up the fulltest suite. We only need to run a full GC after each op and randomize the N/I regs with the normal internal testsuite, but not the extensions and various other tests.
See [GH #1086]
Current errors:
   testO1__t/op/calling.t, testO2__t/op/calling.t,
   testO2__t/compilers/imcc/syn/regressions.t
22:10
22:23 Hunger joined 22:25 travis-ci joined
travis-ci [travis-ci] parrot/parrot#1067 (smoke-me/pg.t - 1f3b66f : Reini Urban): The build passed. 22:25
[travis-ci] Change view : github.com/parrot/parrot/commit/1f3b66fa452b
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/30503556
22:25 travis-ci left
dalek rrot: 1f3b66f | rurban++ | / (2 files):
[test] library/pg.t: handle plan for the 3 error cases

Some smokers run 43, some 40 tests. Use no_plan and handle the earlier exits properly. 3 error cases: no libpg.so, service stopped, no nci thunks.
22:36
rrot/smoke-me/testfast-gh1086: 143d57b | rurban++ | t/ (2 files):
[test] adjust bad -O1/-O2 test regex

with the new fullharness settings there is no space before -O1 anymore. Fixes GH #1086
22:37 travis-ci joined
travis-ci [travis-ci] parrot/parrot#1068 (smoke-me/testfast-gh1086 - 9daa2a4 : Reini Urban): The build passed. 22:37
[travis-ci] Change view : github.com/parrot/parrot/commit/9daa2a48dddc
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/30503768
22:37 travis-ci left 23:00 kid51 joined 23:05 travis-ci joined
travis-ci [travis-ci] parrot/parrot#1069 (master - 1f3b66f : Reini Urban): The build passed. 23:05
[travis-ci] Change view : github.com/parrot/parrot/compare/6...3b66fa452b
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/30505469
23:05 travis-ci left 23:07 travis-ci joined
travis-ci [travis-ci] parrot/parrot#1069 (smoke-me/testfast-gh1086 - 143d57b : Reini Urban): The build passed. 23:07
[travis-ci] Change view : github.com/parrot/parrot/compare/9...3d57b890c0
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/30505467
23:07 travis-ci left