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

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


  Branch: refs/heads/smoke-me/sh-rw-gh245
  Home:   https://github.com/parrot/parrot
  Commit: 297900869217441b68529bb59bbb12a225533c06
      https://github.com/parrot/parrot/commit/297900869217441b68529bb59bbb12a225533c06
  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: ebe5cd4dd6ed4075039117131d5c15e307144634
      https://github.com/parrot/parrot/commit/ebe5cd4dd6ed4075039117131d5c15e307144634
  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: 9430d613a111151581cee58732fe0c24fe81856f
      https://github.com/parrot/parrot/commit/9430d613a111151581cee58732fe0c24fe81856f
  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/abdee8aa622c...9430d613a111


More information about the parrot-commits mailing list