[parrot/parrot] e36956: make bootstrap-namealias, update for newer gperf
GitHub
noreply at github.com
Wed Feb 17 19:03:19 UTC 2016
Branch: refs/heads/smoke-me/builtin+sub-gh304
Home: https://github.com/parrot/parrot
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/12124f26e425...bc456b187e96
More information about the parrot-commits
mailing list