[dylan-lang/melange] f446c5: Remove d2c/mindy stub support for callback/callout...
GitHub <[email protected]> Thu, 24 Sep 2015 10:40:16 -0700
| Newsgroups | gmane.comp.lang.dylan.gwydion.cvs |
|---|---|
| Message-ID | <560435806e8c0_7da93ff7f8c1f2c0310ec@hookshot-fe4-cp1-prd.iad.github.net.mail> |
Branch: refs/heads/master
Home: https://github.com/dylan-lang/melange
Commit: f446c53dd32a375094768cf7ced7514c2bf7d552
https://github.com/dylan-lang/melange/commit/f446c53dd32a375094768cf7ced7514c2bf7d552
Author: Bruce Mitchener <[email protected]>
Date: 2015-09-24 (Thu, 24 Sep 2015)
Changed paths:
M melange-core/c-decl.dylan
M melange-core/library.dylan
M melange/int-lexer.dylan
M melange/int-parse.input
M melange/interface.dylan
M melange/library.dylan
Log Message:
-----------
Remove d2c/mindy stub support for callback/callout.
* melange-core/c-decl.dylan
(<function-type-declaration>): No longer need callback-maker-name
or callout-function-name slots.
* melange-core/library.dylan
(module c-declarations): No longer export names for the callback-maker-name
and callout-function-name slots.
* melange/int-lexer.dylan
(<callback-maker-token>, <callout-function-token>): Remove.
(reserved-words): Remove "callback-maker:" and "callout-function:".
* melange/int-parse.input
(<callback-maker-token>, <callout-function-token>): Remove.
(function-type-option): Remove callback-maker and callout-function parsing.
* melange/interface.dylan
(process-clause on <function-type-clause>): Remove support for callback-maker
and callout-function. Leave some code there for when we add more options
in the future.
* melange/library.dylan
(module int-lexer): No longer export <callback-maker-token> and
<callout-function-token>.
Commit: 5b3ec3a1fe0cfa78064637ed2d55454af1f00ad8
https://github.com/dylan-lang/melange/commit/5b3ec3a1fe0cfa78064637ed2d55454af1f00ad8
Author: Bruce Mitchener <[email protected]>
Date: 2015-09-24 (Thu, 24 Sep 2015)
Changed paths:
M documentation/source/function-clauses.rst
Log Message:
-----------
[docs] Clean up whitespace.
Commit: 0bc666fbf3edec1a861b1180f4543f64fb7d38ae
https://github.com/dylan-lang/melange/commit/0bc666fbf3edec1a861b1180f4543f64fb7d38ae
Author: Bruce Mitchener <[email protected]>
Date: 2015-09-24 (Thu, 24 Sep 2015)
Changed paths:
R gobject2-tool/Makefile
R gobject2-tool/gobject2-tool.c
R gtk-hello-world/gtk-hello-world-unix.hdp
R gtk-hello-world/gtk-hello-world-win32.hdp
R gtk-hello-world/gtk-hello-world.dylan
R gtk-hello-world/library.dylan
R gtk-hello-world/module.dylan
R registry/x86-linux/gtk-hello-world
R registry/x86-win32/gtk-hello-world
Log Message:
-----------
Remove old gtk-hello-world and gobject-tool.
These haven't been used or maintained in ages and we have a new
approach using gobject-introspection with newer bindings in the
Open Dylan repository.
Commit: 67f9a527ffadfbb36ecce2d71ce31bbd3a194503
https://github.com/dylan-lang/melange/commit/67f9a527ffadfbb36ecce2d71ce31bbd3a194503
Author: Bruce Mitchener <[email protected]>
Date: 2015-09-24 (Thu, 24 Sep 2015)
Changed paths:
M melange-core/x86-darwin-melange-core.lid
M melange-core/x86-freebsd-melange-core.lid
M melange-core/x86-linux-melange-core.lid
M melange-core/x86-win32-melange-core.lid
M melange-core/x86_64-darwin-melange-core.lid
M melange-core/x86_64-linux-melange-core.lid
M parsergen/parsergen.lid
Log Message:
-----------
Clean up LID files.
This removes some Gwydion-specific options. It also removes some tabs
from parsergen/parsergen.lid.
Commit: 548db99e92d2dc42c0f39a1df64f85de95a15a61
https://github.com/dylan-lang/melange/commit/548db99e92d2dc42c0f39a1df64f85de95a15a61
Author: Bruce Mitchener <[email protected]>
Date: 2015-09-24 (Thu, 24 Sep 2015)
Changed paths:
M melange-core/c-decl.dylan
Log Message:
-----------
Improve pointer-to poking through typedefs.
In ea090838, pointer-to on <typedef-declaration> was introduced
which would directly poke through the typedef declaration to
have the pointer pointing at the underlying type.
Instead, we can have pointer-to call true-type to poke through
without needing a new method specialization.
Commit: 0d19be26e213db3c241791e6927a265fa9f8ae83
https://github.com/dylan-lang/melange/commit/0d19be26e213db3c241791e6927a265fa9f8ae83
Author: Bruce Mitchener <[email protected]>
Date: 2015-09-24 (Thu, 24 Sep 2015)
Changed paths:
M melange-core/c-decl.dylan
A tests/test.struct/def_tni.h
M tests/test.struct/expected.dylan
M tests/test.struct/struct.h
Log Message:
-----------
Emit the types actually used for struct members.
We emit the "true type" of struct members, getting rid of typedefs.
But when computing closure, we use the full chain of types, leading
to unused definitions being emitted.
* melange-core/c-decl.dylan
(compute-closure): Use the true type of the struct member just as
we do when writing the C-FFI definition.
* tests/test.struct: Update.
Commit: c0196955bc34dee81053019a50a70fc00b831fb0
https://github.com/dylan-lang/melange/commit/c0196955bc34dee81053019a50a70fc00b831fb0
Author: Bruce Mitchener <[email protected]>
Date: 2015-09-24 (Thu, 24 Sep 2015)
Changed paths:
M melange-core/c-decl.dylan
M tests/test.struct/expected.dylan
M tests/test.struct/struct.h
Log Message:
-----------
Emit types actually used for struct array slot members.
When computing closure, do so for the types actually used when
writing the C-FFI definition.
* melange-core/c-decl.dylan
(compute-closure): Use same type as used when writing the C-FFI
definition.
* tests/test.struct: Update.
Commit: 60d8a29cee74153ce670691bf585c0300f372d83
https://github.com/dylan-lang/melange/commit/60d8a29cee74153ce670691bf585c0300f372d83
Author: Bruce Mitchener <[email protected]>
Date: 2015-09-25 (Fri, 25 Sep 2015)
Changed paths:
M melange-core/c-decl.dylan
M melange/interface.dylan
M tests/test.struct.pointer-type-name/expected.dylan
M tests/test.struct.pointer-type-name/struct.pointer-type-name.h
Log Message:
-----------
Don't emit C-pointer-type when the referent has a pointer-type-name.
* melange/interface.dylan
(process-clause on <struct-clause>): Pass the C parse state
to apply-container-options.
(process-clause on <union-clause>): Likewise.
* melange-core/c-decl.dylan
(generic apply-container-options): Add new parse state parameter.
(apply-container-options): Add new parse state parameter and use it
to look up whether or not there is a pointer to this structured
type declaration. If there is, rename it to use the pointer-type-name.
(compute-closure on <pointer-declaration>): If the referent is a structured
type declaration and has a pointer-type-name, then don't emit this
type as it will be handled by C-FFI.
* tests/test.struct.pointer-type-name: Update.
Compare: https://github.com/dylan-lang/melange/compare/957053f06103...60d8a29cee74
_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter