[parrot/parrot] 434ebf: [pmc] deprecate StringHandle auto-reopen and auto-...

GitHub noreply at github.com
Wed Feb 17 14:17:30 UTC 2016


  Branch: refs/heads/smoke-me/sh-rw-gh245
  Home:   https://github.com/parrot/parrot
  Commit: 434ebf14ecbd330a9d313132040a15ec52f75ad7
      https://github.com/parrot/parrot/commit/434ebf14ecbd330a9d313132040a15ec52f75ad7
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2016-02-17 (Wed, 17 Feb 2016)

  Changed paths:
    M ChangeLog
    M api.yaml
    M compilers/opsc/src/Ops/Emitter.pm
    M ext/winxed/compiler.pir
    M src/io/api.c
    M src/io/utilities.c
    M src/pmc/stringhandle.pmc
    M t/pmc/stringhandle.t

  Log Message:
  -----------
  [pmc] deprecate StringHandle auto-reopen and auto-read

deprecate PIO_VF_AWAYS_READABLE. (yes, a typo)
make StringHandle read/write mode, and auto-reopen strict.
StringHandle needs to be consistent with the FileHandle API.
I.e. reading from a handle open for writing needs to fail,
ditto writing to a handle open for reading. (already tested
and handled correctly)

Add testcase for read/write mode errors.

Add a seek(0,0) to various readall places on closed
write-only handles, and change those handles to "rw".

Closes GH #245.


  Commit: e29df851f74172246d379f47e7f97ddaad011aa3
      https://github.com/parrot/parrot/commit/e29df851f74172246d379f47e7f97ddaad011aa3
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2016-02-17 (Wed, 17 Feb 2016)

  Changed paths:
    M frontend/parrot2/prt0.pir

  Log Message:
  -----------
  make bootstrap-prt0 with Winxed 1.10


  Commit: abdee8aa622c2c65a3af39f1a9bf5debacb1ae88
      https://github.com/parrot/parrot/commit/abdee8aa622c2c65a3af39f1a9bf5debacb1ae88
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2016-02-17 (Wed, 17 Feb 2016)

  Changed paths:
    M src/string/namealias.c

  Log Message:
  -----------
  make bootstrap-namealias with added inline


Compare: https://github.com/parrot/parrot/compare/5ec2f0a54e4a...abdee8aa622c


More information about the parrot-commits mailing list