[parrot/parrot] 98a6e9: [test][doc] for dynpmc/file.copy to dir

GitHub noreply at github.com
Wed Feb 17 20:36:56 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: 98a6e9edd4b472f70d956667fcf57d31d8f0c91c
      https://github.com/parrot/parrot/commit/98a6e9edd4b472f70d956667fcf57d31d8f0c91c
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2016-02-16 (Tue, 16 Feb 2016)

  Changed paths:
    M ChangeLog
    M src/dynpmc/file.pmc
    M t/dynpmc/file.t

  Log Message:
  -----------
  [test][doc] for dynpmc/file.copy to dir

Document and test that the 2nd arg to file.copy
fails with a directory name.
Closes GH #229


  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: e36956d158fc4f8970599dd0eb0638686c2a0011
      https://github.com/parrot/parrot/commit/e36956d158fc4f8970599dd0eb0638686c2a0011
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2016-02-17 (Wed, 17 Feb 2016)

  Changed paths:
    M tools/build/namealias_c.pl

  Log Message:
  -----------
  make bootstrap-namealias, update for newer gperf

we skip inline as we use it 2x in core_ops


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

  Changed paths:
    M t/pmc/namespace-subs.t

  Log Message:
  -----------
  [test] sub dispatch with builtin namespace

Subs in "built-in PMC" namespaces are treated as PMC methods even
without the :method attribute.

P1=new Integer
P1.foo()

namespace Integer
sub foo

Should error with
  Method 'foo' not found for invocant of class 'Integer'
as it happens with subs of new namespaces.

This allows overriding of builtin methods, but it also makes it
impossible to write "class methods" that translate behaviors, since the
presence or absence of the :method attribute on the sub is ignored.

See GH #304, prev. TT #1108


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

  Changed paths:
    M ChangeLog
    M config/gen/makefiles/root.in
    M include/parrot/sub.h
    M src/oo.c
    M src/pmc/object.pmc

  Log Message:
  -----------
  [core] fix sub dispatch with builtin namespace

Filter out pure-subs without a method attribute in
Parrot_find_method_direct(). This harmonizes behavior
with user-defined namespaces.

    P1=new Integer
    P1.foo()

    namespace Integer
    sub foo

Does now error with
      Method foo not found for invocant of class Integer
as it happens with subs of new namespaces.
You need to add a :method attribute.

This allows to write user class methods that translate behaviors.
Fixes GH #304, prev. TT #1108


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

  Changed paths:
    M VERSION
    M t/native_pbc/integer_4_be.pbc
    M t/native_pbc/integer_4_le.pbc
    M t/native_pbc/integer_8_be.pbc
    M t/native_pbc/integer_8_le.pbc
    M t/native_pbc/number_4_12_le.pbc
    M t/native_pbc/number_4_16_be.pbc
    M t/native_pbc/number_4_8_be.pbc
    M t/native_pbc/number_4_8_le.pbc
    M t/native_pbc/number_8_16_be.pbc
    M t/native_pbc/number_8_16_le.pbc
    M t/native_pbc/number_8_8_be.pbc
    M t/native_pbc/number_8_8_le.pbc
    M t/native_pbc/string_4_be.pbc
    M t/native_pbc/string_4_le.pbc
    M t/native_pbc/string_8_be.pbc
    M t/native_pbc/string_8_le.pbc

  Log Message:
  -----------
  bump VERSION to 8.2.0

too many changes already, esp. the deprecations


Compare: https://github.com/parrot/parrot/compare/ae20fa2cb662...bc456b187e96


More information about the parrot-commits mailing list