[parrot/parrot] e0011c: StringHandle defaults to ASCII encoding if not oth...

GitHub noreply at github.com
Tue Jun 5 00:31:38 UTC 2012


  Branch: refs/heads/whiteknight/io_cleanup1
  Home:   https://github.com/parrot/parrot
  Commit: e0011ca53199a6cda7ae92a74199f90c9b313842
      https://github.com/parrot/parrot/commit/e0011ca53199a6cda7ae92a74199f90c9b313842
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-06-03 (Sun, 03 Jun 2012)

  Changed paths:
    M src/io/stringhandle.c
    M src/io/utilities.c

  Log Message:
  -----------
  StringHandle defaults to ASCII encoding if not otherwise specified. The total_size of the stringhandle is bufused, not _buflen. Don't bother allocating extra room in the string buffer for partial multi-byte characters, because the buffering logic ensures they don't exist.


  Commit: f38818e29a2827205d54eadf2e6e9f14de1afbdd
      https://github.com/parrot/parrot/commit/f38818e29a2827205d54eadf2e6e9f14de1afbdd
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-06-03 (Sun, 03 Jun 2012)

  Changed paths:
    M src/io/api.c

  Log Message:
  -----------
  In Parrot_io_readline_s, make sure to actually update the buffer if we've added it. This reclaims several more tests where the null buffer was causing failed assertions.


  Commit: 0c26862085db5e1d97c5ad21a380dfd9fcae1a29
      https://github.com/parrot/parrot/commit/0c26862085db5e1d97c5ad21a380dfd9fcae1a29
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-06-03 (Sun, 03 Jun 2012)

  Changed paths:
    M include/parrot/io.h
    M src/io/api.c
    M src/io/stringhandle.c

  Log Message:
  -----------
  Add a new PIO_VF_PATH_NOT_REQUIRED to flag types that can be opened without an explicit path provided. Use this flag to reclaim two more StringHandle tests.


  Commit: df032cc38b22393e4c1a5c12dd5b42b2d72d6865
      https://github.com/parrot/parrot/commit/df032cc38b22393e4c1a5c12dd5b42b2d72d6865
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-06-04 (Mon, 04 Jun 2012)

  Changed paths:
    M src/io/api.c
    M src/io/pipe.c
    M src/io/stringhandle.c
    M t/pmc/stringhandle.t

  Log Message:
  -----------
  Fix the remaining stringhandle.t failures. Most fixes come from better handling of encodings. One test was absolutely wrong and needed to be updated. Also, fix two uses of the UNUSED macro, pointed out by NotFound++


  Commit: 853122508a7d52b6ff70b47e92ba548776510254
      https://github.com/parrot/parrot/commit/853122508a7d52b6ff70b47e92ba548776510254
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-06-04 (Mon, 04 Jun 2012)

  Changed paths:
    M src/io/api.c
    M src/io/buffer.c
    M src/io/io_private.h

  Log Message:
  -----------
  Rearrange some buffer macros. Implement Parrot_io_tell to match the old behavior (which I don't think is right, but whatever)


  Commit: 909bec255ab0300076903e90632c0fac4c49af14
      https://github.com/parrot/parrot/commit/909bec255ab0300076903e90632c0fac4c49af14
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-06-04 (Mon, 04 Jun 2012)

  Changed paths:
    M include/parrot/io.h
    M src/io/api.c
    M src/io/buffer.c
    M src/io/filehandle.c
    M src/io/stringhandle.c

  Log Message:
  -----------
  Implement seek. Right now, bypass buffers and always seek directly to disk. This is brain-dead but we can fix it later. Also, fix some codestd problems noticed by NotFound++


Compare: https://github.com/parrot/parrot/compare/3d0aed9...909bec2


More information about the parrot-commits mailing list