[parrot/parrot] 0b4417: Add a failing test for #813 reported by @donaldxs

GitHub noreply at github.com
Tue Oct 2 00:03:25 UTC 2012


  Branch: refs/heads/rurban/mime-base64-utf8-gh813+gh814
  Home:   https://github.com/parrot/parrot
  Commit: 0b4417c63f524ab9a456c1c9a6b97dc9e7bd797c
      https://github.com/parrot/parrot/commit/0b4417c63f524ab9a456c1c9a6b97dc9e7bd797c
  Author: Jonathan "Duke" Leto <jonathan at leto.net>
  Date:   2012-10-01 (Mon, 01 Oct 2012)

  Changed paths:
    M t/library/mime_base64.t

  Log Message:
  -----------
  Add a failing test for #813 reported by @donaldxs


  Commit: 07d53a065905428d76f4f116acf57de30ff2c390
      https://github.com/parrot/parrot/commit/07d53a065905428d76f4f116acf57de30ff2c390
  Author: Jonathan "Duke" Leto <jonathan at leto.net>
  Date:   2012-10-01 (Mon, 01 Oct 2012)

  Changed paths:
    M t/library/mime_base64.t

  Log Message:
  -----------
  Improve and refactor failing #813 enc_sub test


  Commit: 61f7941b134a4c11bd7b1cfc1513aa8b30c81a32
      https://github.com/parrot/parrot/commit/61f7941b134a4c11bd7b1cfc1513aa8b30c81a32
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-10-01 (Mon, 01 Oct 2012)

  Changed paths:
    M runtime/parrot/library/MIME/Base64.pir

  Log Message:
  -----------
  [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.


  Commit: 2eeefe4a98d8ccdef5bbb1fba60a3577a81a5044
      https://github.com/parrot/parrot/commit/2eeefe4a98d8ccdef5bbb1fba60a3577a81a5044
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-10-01 (Mon, 01 Oct 2012)

  Changed paths:
    M MANIFEST
    A examples/mime_base64/utf8_base64.pir
    A examples/mime_base64/utf8_base64.pl
    A t/library/mime_base64u.t

  Log Message:
  -----------
  Add special mime-base64 utf8 test and examples


  Commit: ee7d8a52c171a1c7c311a8fdfbdb1034ae8d3b1f
      https://github.com/parrot/parrot/commit/ee7d8a52c171a1c7c311a8fdfbdb1034ae8d3b1f
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-10-01 (Mon, 01 Oct 2012)

  Changed paths:
    M t/library/mime_base64.t

  Log Message:
  -----------
  t/library/mime_base64.t: decode result to same encoding


  Commit: 92f4de40230b86a161af99afb03853cca119651c
      https://github.com/parrot/parrot/commit/92f4de40230b86a161af99afb03853cca119651c
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-10-01 (Mon, 01 Oct 2012)

  Changed paths:
    M examples/mime_base64/utf8_base64.pir
    M examples/mime_base64/utf8_base64.pl

  Log Message:
  -----------
  [codingstd] add code, pod and copyrights to new examples


  Commit: 9fdc9c0d619bab17f7f5c55c3fcff5df5ad1f1c6
      https://github.com/parrot/parrot/commit/9fdc9c0d619bab17f7f5c55c3fcff5df5ad1f1c6
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-10-01 (Mon, 01 Oct 2012)

  Changed paths:
    M src/ops/string.ops
    M t/compilers/data_json/from_parrot.t
    M t/compilers/data_json/to_parrot.t

  Log Message:
  -----------
  Add unicode tests to data_json. Document chr op


  Commit: 2cd9f8e5ccde8765411f8db957cf6f1ab7516da3
      https://github.com/parrot/parrot/commit/2cd9f8e5ccde8765411f8db957cf6f1ab7516da3
  Author: Jonathan "Duke" Leto <jonathan at leto.net>
  Date:   2012-10-01 (Mon, 01 Oct 2012)

  Changed paths:
    M MANIFEST

  Log Message:
  -----------
  [t] Update manifest to make manifest tests happy


  Commit: 261611a9eda118f0efe5a18148bca159e5564c23
      https://github.com/parrot/parrot/commit/261611a9eda118f0efe5a18148bca159e5564c23
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-10-01 (Mon, 01 Oct 2012)

  Changed paths:
    M src/io/api.c

  Log Message:
  -----------
  Undo a prospective fix from rurban++. We don't want to flush stdout every time we read from any filehandle.


  Commit: f56a79e2a9d00cb179cbbfc20d1c3c6efd48d96b
      https://github.com/parrot/parrot/commit/f56a79e2a9d00cb179cbbfc20d1c3c6efd48d96b
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-10-01 (Mon, 01 Oct 2012)

  Changed paths:
    M src/io/api.c

  Log Message:
  -----------
  On second read through, it doesn't appear that the old IO system had a write buffer on stdout. Take that away in the new system to try and fix some rakudo issues reported by pmichaud++


  Commit: 7aee78c844c7cecb208039495e29ba40062fcf02
      https://github.com/parrot/parrot/commit/7aee78c844c7cecb208039495e29ba40062fcf02
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-10-01 (Mon, 01 Oct 2012)

  Changed paths:
    M tools/dev/gdb-pp.py

  Log Message:
  -----------
  [tools] Support more gdb-pp.py encodings

Also fix a python gdb strlen error. The number of char is needed, not the number of codepoints.


  Commit: b5b7a3c396fa15b3318bb6ad3e8350dc465fd383
      https://github.com/parrot/parrot/commit/b5b7a3c396fa15b3318bb6ad3e8350dc465fd383
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-10-01 (Mon, 01 Oct 2012)

  Changed paths:
    M tools/dev/gdb-pp.py

  Log Message:
  -----------
  Revise [tools] Support more gdb-pp.py encodings

Use native endianness


  Commit: 9511781b3daccf8b6343883848e11007c17b0a63
      https://github.com/parrot/parrot/commit/9511781b3daccf8b6343883848e11007c17b0a63
  Author: Bob Kuo <bobjkuo at gmail.com>
  Date:   2012-10-01 (Mon, 01 Oct 2012)

  Changed paths:
    M config/auto/alignof.pm

  Log Message:
  -----------
  remove hard tabs


  Commit: 4bb6df6d8ccb6cb22971f659d96fd2142d3c3ae4
      https://github.com/parrot/parrot/commit/4bb6df6d8ccb6cb22971f659d96fd2142d3c3ae4
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-10-01 (Mon, 01 Oct 2012)

  Changed paths:
    M config/auto/inline/test1_c.in
    M config/auto/inline/test2_c.in

  Log Message:
  -----------
  [cage] fix auto::inline for g++

add missing return type to function
error: ISO C++ forbids declaration of ‘f’ with no type [-fpermissive]


  Commit: 20bc3dbdfae8a1189318453bfab8bc9247b42620
      https://github.com/parrot/parrot/commit/20bc3dbdfae8a1189318453bfab8bc9247b42620
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-10-01 (Mon, 01 Oct 2012)

  Changed paths:
    M ChangeLog
    M config/auto/llvm.pm

  Log Message:
  -----------
  [cage] Improve llvm detection

Probe for llvm-config-3.0 llvm-config-2.9 llvm-config-2.8 which do exist on debian,
where llvm-config does not exist.

Print found version, like "yes, 3.0" as with gcc and other libs.
If not requested, print "not requested" instead of "no" to give a hint,
that --with-llvm is wanted.

Add llvm and inline probes to ChangeLog


  Commit: 8c85134f2e3c9f442d23c855cf2a285aaedb61d2
      https://github.com/parrot/parrot/commit/8c85134f2e3c9f442d23c855cf2a285aaedb61d2
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-10-01 (Mon, 01 Oct 2012)

  Changed paths:
    M config/auto/gcc.pm

  Log Message:
  -----------
  [codingstd] hard tabs in config/auto/gcc.pm


  Commit: 2918625bb45e54adcc929b96e6df3d6f78c2a0f2
      https://github.com/parrot/parrot/commit/2918625bb45e54adcc929b96e6df3d6f78c2a0f2
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-10-01 (Mon, 01 Oct 2012)

  Changed paths:
    M tools/dev/gdb-pp.py

  Log Message:
  -----------
  [tools] gdb-pp.py better string output for multi-byte

Use errors=replace instead of strict. See http://docs.python.org/library/codecs.html#codec-base-classes
Prepend encoding when not ascii and not latin1, add strlen and bufused fields.


  Commit: 5a51d80d476b083c6d62c471fb6dd919b271d032
      https://github.com/parrot/parrot/commit/5a51d80d476b083c6d62c471fb6dd919b271d032
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-10-01 (Mon, 01 Oct 2012)

  Changed paths:
    M ChangeLog

  Log Message:
  -----------
  Add gdb pretty-printing to ChangeLog


  Commit: c1c30c6009f50cf00f48731437e24e0c0d699eec
      https://github.com/parrot/parrot/commit/c1c30c6009f50cf00f48731437e24e0c0d699eec
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-10-01 (Mon, 01 Oct 2012)

  Changed paths:
    M examples/mime_base64/utf8_base64.pir
    M examples/mime_base64/utf8_base64.pl

  Log Message:
  -----------
  [GH #813 #814] [codingstd] Improve new mime_base64 examples


  Commit: 072156a66f12c09b8c64f8cc1d22753afb38447c
      https://github.com/parrot/parrot/commit/072156a66f12c09b8c64f8cc1d22753afb38447c
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-10-01 (Mon, 01 Oct 2012)

  Changed paths:
    M MANIFEST
    A examples/library/utf8_base64.pir
    A examples/library/utf8_base64.pl
    R examples/mime_base64/utf8_base64.pir
    R examples/mime_base64/utf8_base64.pl

  Log Message:
  -----------
  [GH #813 #814] Move new mime_base64 examples to examples/library/


  Commit: dc5d2846960872fdf7863aa11dc34f37b2c10a37
      https://github.com/parrot/parrot/commit/dc5d2846960872fdf7863aa11dc34f37b2c10a37
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-10-01 (Mon, 01 Oct 2012)

  Changed paths:
    M runtime/parrot/library/MIME/Base64.pir
    M t/library/mime_base64.t
    M t/library/mime_base64u.t

  Log Message:
  -----------
  [GH #813 + #814] Use Bytebuffer for MIME::Base64, add 2nd enc arg to decode_base64

Use bytebuffer representations of the encoded string, not the encoded ord value.
Also fix the tests to match this conformant behaviour.

The problem is now that base64 encoded files are endian dependent, and the multibyte
tests need to be skipped on big-endian.


Compare: https://github.com/parrot/parrot/compare/f50380b17eba...dc5d28469608


More information about the parrot-commits mailing list