Parrot 4.8.0 "Spix's Macaw" | parrot.org/ | Log: irclog.perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC
Set by moderator on 20 September 2012.
00:43 wagle joined
ttbot Parrot 0dc1b1c1 MSWin32-x86-multi-thread make error tt.taptinder.org/cmdinfo/97203 00:47
00:50 woosley joined
dalek rrot/rurban/mime-base64-linesplit-gh826: 86fa349 | rurban++ | t/library/mime_base64.t:
[GH #826] fix t/library/mime_base64.t

split lines longer than 79 chars
00:50
rrot/rurban/mime-base64-linesplit-gh826: eb5f55e | rurban++ | t/library/mime_base64.t:
[GH #826] fix t/library/mime_base64.t

split lines at 76 chars
00:53
rrot/rurban/mime-base64-linesplit-gh826: 7723f16 | rurban++ | runtime/parrot/library/MIME/Base64.pir:
[GH #826] Split mime base64 lines at 76 chars

Theoretically. The tests still fails
01:30
ttbot Parrot f2f6febd MSWin32-x86-multi-thread make error tt.taptinder.org/cmdinfo/97215 01:38
01:46 l3l1p joined
dalek rrot/rurban/mime-base64-linesplit-gh826: 7e68992 | rurban++ | runtime/parrot/library/MIME/Base64.pir:
[GH #826] Split mime base64 lines at 76 chars

Theoretically. The tests still fails
01:48
03:30 l3l1p joined 04:36 sorear joined 05:38 rurban_mobile joined 07:33 Psyche^ joined 07:52 schmooster joined 11:29 mtk joined 12:15 benabik joined 12:35 benabik joined 13:03 rurban_mobile joined 13:25 PacoAir joined
rurban mime-base64 again (fixing tests and utf8) 13:34
13:57 atrodo joined
dalek rrot/rurban/mime-base64-linesplit-gh826: 0cfe997 | rurban++ | / (3 files):
[GH #826] Fixed wrong mime_base64.t linebreaks

Added proper \\n
14:08
14:23 plobsing joined 14:47 bluescreen joined 14:58 plobsing joined 15:25 plobsing joined 16:56 benabik joined 17:07 dmalcolm joined 17:28 benabik_ joined
dalek rrot/rurban/mime-base64-utf8-gh813+gh814: e4846c7 | dukeleto++ | t/library/mime_base64.t:
Add a failing test for #813 reported by @donaldxs
17:30
rrot/rurban/mime-base64-utf8-gh813+gh814: d747438 | dukeleto++ | t/library/mime_base64.t:
Improve and refactor failing #813 enc_sub test
rrot/rurban/mime-base64-utf8-gh813+gh814: 3a48e6b | rurban++ | runtime/parrot/library/MIME/Base64.pir:
[GH #813 + #814] Fix MIME/Base64.pir for encoded strings

Use bytebuffer representations of the encoded string, not the encoded ord value. Now the implementation is correct, but some encoded tests not.
rrot/rurban/mime-base64-utf8-gh813+gh814: 9d43fc6 | rurban++ | ChangeLog:
ChangeLog for [GH #813] and [GH #814]
17:32
17:47 benabik_ joined 18:00 tuxit joined
dalek rrot/rurban/mime-base64-utf8-gh813+gh814: 3bb1593 | rurban++ | / (4 files):
Add special mime-base64 utf8 test and examples
18:21
rrot/rurban/mime-base64-utf8-gh813+gh814: ed4baf0 | rurban++ | t/library/mime_base64.t:
t/library/mime_base64.t: decode result to same encoding
18:24
rrot/rurban/mime-base64-utf8-gh813+gh814: 3346aea | rurban++ | examples/mime_base64/utf8_base64.p (2 files):
[codingstd] add code, pod and copyrights to new examples
18:37
18:38 lucian joined
dalek rrot: 9f58d2f | rurban++ | Configure.pl:
[codingstd] tabs in Configure.PL
18:40
18:46 rurban joined
dalek rrot/rurban/clang-warnings-gh843: c80ba80 | rurban++ | ChangeLog:
ChangeLog for rurban/clang-warnings-gh843
19:09
rrot: 740b218 | rurban++ | config/auto/warnings.pm:
[GH #843] warnings: Improve clang support

clang requires warnings overrides for -Wno-parentheses-equality and adds -Wno-unused-result to src/ops/core_ops.c.
  (used in 29582199aef9ea9462 [GH #828] Optimize print_n/i and say_n/i)
rrot: cea0a74 | rurban++ | config/gen/makefiles/root.in:
[GH #843] Add ccwarn::src/ops/core_ops.c SUFFIX OVERRIDE

For using (void)Parrot_io_write_b added (but not yet merged) with 29582199aef9ea94622b4202aee129521bc
rrot: 543fc03 | rurban++ | config/gen/makefiles/root.in:
Add .c.i: suffix rule for convenience

  .i files as in perl5 are preprocessed files.
rrot: c92346d | rurban++ | config/auto/warnings.pm:
[GH #843] Simplify clang warnings

Add support for clang++ C++ with .c source deprecation warning. Add support for multiple override warnings in the same file. We do not need a clang special case now.
rrot: c80ba80 | rurban++ | ChangeLog:
ChangeLog for rurban/clang-warnings-gh843
rrot: 39d35e4 | rurban++ | / (3 files):
merge rurban/clang-warnings-gh843 into master

Fix conflict in ChangeLog
rrot: c2c09cf | rurban++ | ChangeLog:
ChangeLog for Branches: threads (progress update)
ttbot Parrot c2c09cf4 i386-linux-thread-multi make error tt.taptinder.org/cmdinfo/97286 19:11
Parrot 9f58d2fe MSWin32-x86-multi-thread make error tt.taptinder.org/cmdinfo/97287 19:16
19:20 travis-ci joined
travis-ci [travis-ci] parrot/parrot#582 (master - 9f58d2f : Reini Urban): The build was broken. 19:20
[travis-ci] Change view : github.com/parrot/parrot/compare/f...58d2fea35e
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/2548662
19:20 travis-ci left 19:30 travis-ci joined
travis-ci [travis-ci] parrot/parrot#582 (master - 9f58d2f : Reini Urban): The build was broken. 19:30
[travis-ci] Change view : github.com/parrot/parrot/compare/f...58d2fea35e
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/2548662
19:30 travis-ci left 19:40 particle left 19:46 UncleFester6 joined
UncleFester6 rurban: ping 19:46
rurban yes?
UncleFester6 I was just looking at your base64 work - I think you may be headed off in a direction that is not quite right ... let me explain 19:47
rurban please 19:48
no bytebuffers?
UncleFester6 You are allowing the caller to pass a string to encode and then translating to a bytebuffer - presumably done with utf8 encoding? 19:49
not sure about default there - may not matter
rurban The encoding is already defined in the string. The client defines the argument encoding.
UncleFester6 anyway base64 encodes other things than strings like sound files and image files 19:50
rurban sure. that's a binary string.
encoding: binary
e.g. $S0 = binary:"escaped_blob_string" 19:51
or just a some bytebuffer
Maybe we should add a roundtrip example for some binary blob. 19:52
problem was that the old versiopn did not check the encoding at all. if utf8, or binary or something else. it only assumed ascii
UncleFester6 In my pure perl6 implementation I included a test that encoded/decoded the perl6 camelia icon 19:53
Do not do nearly as much parrot as you do ... don't know the relative merits of binary string and bytebuffer ... 19:54
Any thoughts about my idea of an NCI interface to the gnu coreutils base64 code? 19:55
rurban a bytebuffer is the same as a binary string, just internally encoded more efficiently.
I don't like NCI too much.
It's pretty slow calling a NCI method.
Coke also, is coreutils available everywhere? 19:57
(read: windows)
rurban exactly. but as example to countercheck conformity it would be cool.
UncleFester6 If you look at my Pure Perl6 code I encode a Buf (essentially like bytebuffer) and provide convenience wrapper functions for strings ...
rurban I added some examples to a new examples/mime_base64 directory. 19:58
UncleFester6 coke: the coreutils base64 code is broken up so that there is a 'C' file with platform independent base64 encode/decode functions 20:01
but if its slow I'll look at the parrot implementation for now
rurban parrot should be pretty decent fast now. But you can benchmark the three. 20:02
Coke then the question is what sort of license is it under; I know at one point parrot was striving to be single-licensed because <allison downstream something>
rurban perl5 vs parrrot vs p6 vs base64 coreutils
Coke but if rurban has it covered, nevermind. ;)
rurban I figured out the line split mod 19 and bytebuffer by myself, yes. 20:03
Just for ronald's example code I'm not sure for the license. I listed him as author.
UncleFester6 what example code? 20:04
rurban Just to test our conformity. github.com/parrot/parrot/commit/3b...51092b0630
I added upon your examples.
And I added some docs blurb in github.com/parrot/parrot/commit/33...3beefb78db 20:05
UncleFester6 For examples you may be interested in some of the tests here (includes camelia icon) github.com/ronaldxs/perl6-Enc-MIME...e/master/t 20:07
rurban docs/resources/parrot_logo.png 20:08
dalek kudo/nom: 16f22b8 | moritz++ | src/core/ (3 files):
avoid undef warnings in infix:<eqv>
20:09
UncleFester6 sounds good - hope some of my interruption helped 20:10
rurban I think have binary encoding now covered, but I have to check why the old unicode codepoints in JSON were wrong in our tests. Looks like a translation error while moving them over from perl5.
Sure. I'm trying to fix all issues backwards.
from current to older
Coke: Do you remember who was working on the parrot debugger? I'd need one. 20:12
20:23 UncleFester6 left
rurban Cleaned up all wrong UNUSED() macros in all pmcs with my improved pmc2c compiler. 21:14
21:20 PacoAir joined
rurban rurban/pmc2c-unused-gh836 is now ready also 21:33
dalek Heuristic branch merge: pushed 45 commits to parrot/rurban/pmc2c-unused-gh836 by rurban
rrot/rurban/pmc2c-unused-gh836: 7913e25 | rurban++ | / (2 files):
[codingstd] GH #836 fix hard tabs
22:03
22:18 lucian joined
Coke rurban: (debugger) noe. 22:43
*nope
rurban I think I mixed it up with the m0-debugger branch. 22:44
dalek rrot: eb5f55e | rurban++ | t/library/mime_base64.t:
[GH #826] fix t/library/mime_base64.t

split lines at 76 chars
22:46
rrot: 7e68992 | rurban++ | runtime/parrot/library/MIME/Base64.pir:
[GH #826] Split mime base64 lines at 76 chars

Theoretically. The tests still fails
rrot: 0cfe997 | rurban++ | / (3 files):
[GH #826] Fixed wrong mime_base64.t linebreaks

Added proper \\n
rrot: bf3a079 | rurban++ | / (3 files):
merge rurban/mime-base64-linesplit-gh826 into master

Fix ChangeLog conflict
rrot: 1bbf333 | rurban++ | config/auto/warnings.pm:
[codingsstd] hard tabs in config/auto/warnings.pm
ttbot Parrot 1bbf3332 i386-linux-thread-multi make error tt.taptinder.org/cmdinfo/97419 22:47
rurban oops: tt.taptinder.org/cmdinfo/97419 is a good one. need to fix my clang warnings overrides. 22:52
msvc builds are broken for today
22:55 travis-ci joined
travis-ci [travis-ci] parrot/parrot#584 (master - 1bbf333 : Reini Urban): The build was fixed. 22:55
[travis-ci] Change view : github.com/parrot/parrot/compare/c...bf3332947a
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/2551051
22:55 travis-ci left 23:01 benabik joined
rurban nope. it' 23:03
it's not msvc. it's an old gcc. can fix it soon
23:10 whiteknight joined
dalek rrot/rurban/clang-warnings-gh843: be71d13 | rurban++ | Configure.pl:
[GH #833] preload configure steps

Term::ReadLine does not work on my mingw, debugging configure steps is a pain. E.g. "b postpone auto::snprintf::runstep" does not set a breakpoint when debugging Configure.pl
I added a preloading of all steps into early Configure.pl so that breakpoints can easily be set. The old handling is not changed.
23:12
rrot/rurban/clang-warnings-gh843: c4de4b4 | rurban++ | Configure.pl:
[GH #833] preload only when debugging perl via -d

As per jkeenans comment github.com/parrot/parrot/issues/83...nt-8634064
rrot/rurban/clang-warnings-gh843: 0dc1b1c | jkeenan++ | src/platform/generic/cpu_type.c:
Eliminate cpu_type.c warning in g++ builds

In g++ builds, we were getting this warning:
src/platform/generic/cpu_type.c: In function 'STRING* Parrot_get_cpu_type(parrot_interp_t*)': src/platform/generic/cpu_type.c:48: warning: deprecated conversion from string constant to 'char*'
Not initializing with empty string avoids warning and appears to do no harm.
rrot/rurban/clang-warnings-gh843: 7dedbb7 | rurban++ | src/p (2 files):
[codingstd] linelength, function pod, cpu proc_arch init

Fix various condig std issues. Parrot_get_cpu_type() needs to be properly initialized in case of ifndef PARROT_HAS_HEADER_SYSUTSNAME
rrot/rurban/clang-warnings-gh843: d85def3 | rurban++ | Configure.pl:
Merge branch 'rurban/preload-config-steps-gh833'
rrot/rurban/clang-warnings-gh843: f2f6feb | rurban++ | ChangeLog:
Add merged branches to ChangeLog, fix tabs
rrot/rurban/clang-warnings-gh843: eb5f55e | rurban++ | t/library/mime_base64.t:
[GH #826] fix t/library/mime_base64.t

split lines at 76 chars
rrot/rurban/clang-warnings-gh843: 7e68992 | rurban++ | runtime/parrot/library/MIME/Base64.pir:
[GH #826] Split mime base64 lines at 76 chars

Theoretically. The tests still fails
rrot/rurban/clang-warnings-gh843: 0cfe997 | rurban++ | / (3 files):
[GH #826] Fixed wrong mime_base64.t linebreaks

Added proper \\n
rrot/rurban/clang-warnings-gh843: 9f58d2f | rurban++ | Configure.pl:
[codingstd] tabs in Configure.PL
rrot/rurban/clang-warnings-gh843: 39d35e4 | rurban++ | / (3 files):
merge rurban/clang-warnings-gh843 into master

Fix conflict in ChangeLog
rrot/rurban/clang-warnings-gh843: c2c09cf | rurban++ | ChangeLog:
ChangeLog for Branches: threads (progress update)
rrot/rurban/clang-warnings-gh843: bf3a079 | rurban++ | / (3 files):
merge rurban/mime-base64-linesplit-gh826 into master

Fix ChangeLog conflict
rrot/rurban/clang-warnings-gh843: 1bbf333 | rurban++ | config/auto/warnings.pm:
[codingsstd] hard tabs in config/auto/warnings.pm
rrot/rurban/clang-warnings-gh843: 20cb7e8 | rurban++ | config/auto/warnings.pm:
[GH #843] fix unknown -Wno-unused-result

Also check overrides for valid warnings. Use -Wno-parentheses-equality only for clang
rrot: 20cb7e8 | rurban++ | config/auto/warnings.pm:
[GH #843] fix unknown -Wno-unused-result

Also check overrides for valid warnings. Use -Wno-parentheses-equality only for clang
whiteknight good evening, #parrot
...and a busy evening it appears to be!
23:45 benabik joined
dalek Heuristic branch merge: pushed 206 commits to parrot by jkeenan 23:47
23:58 kid51 joined