[parrot/parrot] f88d59: [cage] Typo in the string.pmc trans method pod

GitHub noreply at github.com
Fri Sep 28 20:49:50 UTC 2012


  Branch: refs/heads/rurban/bitwise_uni-gh848
  Home:   https://github.com/parrot/parrot
  Commit: f88d59805d25a71f8e3680c8e35e4224a9c6c4b9
      https://github.com/parrot/parrot/commit/f88d59805d25a71f8e3680c8e35e4224a9c6c4b9
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-28 (Fri, 28 Sep 2012)

  Changed paths:
    M src/pmc/string.pmc

  Log Message:
  -----------
  [cage] Typo in the string.pmc trans method pod


  Commit: 04f198609aee45197646c0b90be54890292b277b
      https://github.com/parrot/parrot/commit/04f198609aee45197646c0b90be54890292b277b
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-28 (Fri, 28 Sep 2012)

  Changed paths:
    M src/string/encoding/utf16.c

  Log Message:
  -----------
  Micro-optimize utf16_chr by checking 0 beforehand


  Commit: 6c41a2111d594e8bcf1a70466be56a47029f9e8f
      https://github.com/parrot/parrot/commit/6c41a2111d594e8bcf1a70466be56a47029f9e8f
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-28 (Fri, 28 Sep 2012)

  Changed paths:
    M include/parrot/encoding.h
    M src/string/api.c
    M src/string/encoding.c
    M t/dynoplibs/bit.t

  Log Message:
  -----------
  [GH #848] Support unicode strings for bitwise ops

bands, bors, bxors and bnots understand now more multi-byte strings.

Old docs:
Performs a bitwise C<OR> on two Parrot strings, performing type and encoding
conversions if necessary.  Returns the result as a new string.

Added now:
Same encodings are compared bitwise.  Different two-byte encodings are first
converted down to latin1, and if that fails upgraded to ucs2 and if that
fails to ucs4.
2 byte <=> 4 byte conversion is not supported, thus e.g. utf8->utf16 fails.
But 2 byte to 1 byte is attempted.


Compare: https://github.com/parrot/parrot/compare/f88d59805d25^...6c41a2111d59


More information about the parrot-commits mailing list