summaryrefslogtreecommitdiff
path: root/libbindgen/src/codegen
AgeCommit message (Collapse)Author
2016-12-07ir: Saner whitelisting/blacklisting.Emilio Cobos Álvarez
2016-12-07Auto merge of #319 - emilio:union-in-ns, r=fitzgenbors-servo
codegen: Fix bindgen-injected items in namespaces. Found while trying to use namespaces in stylo. r? @fitzgen
2016-12-06Add an API to decide what gets generated more granularly.Emilio Cobos Álvarez
2016-12-05codegen: Fix bindgen-injected items in namespaces.Emilio Cobos Álvarez
Found while trying to use namespaces in stylo.
2016-12-02Use the generated root module via a relative pathNick Fitzgerald
We previously generated uses of the root module with absolute paths: use root; However this only works if the generated bindings are the root of the crate. If they were in some submodule then that path would not be valid. They are now generated relative to the current module, like this: use self::super::super::root; Fixes #96
2016-11-22ir: Rework how we discover children of modules.Emilio Cobos Álvarez
2016-11-22codegen: Don't bother generating an empty module.Emilio Cobos Álvarez
2016-11-22A more coherent story for whitelisting.Emilio Cobos Álvarez
2016-11-21Auto merge of #282 - impowski:layout_template_specializations, r=emiliobors-servo
First steps to fix issue #57 This should generate tests for fully specialized templates. TODO: - [x] Tests r? @emilio
2016-11-21Apply fixes due code review for issue #57Artem Biryukov
2016-11-21Reformat.Emilio Cobos Álvarez
2016-11-21codegen: Fix whitelisting inside namespaces.Emilio Cobos Álvarez
2016-11-20Add new expectations for testsArtem Biryukov
2016-11-20Take out template arguments and make unique namesArtem Biryukov
2016-11-20First steps to fix issue #57Artem Biryukov
2016-11-18codegen: Properly mangle bitfield getters.Emilio Cobos Álvarez
2016-11-17ir: Avoid generating out-of-range values in constants.Emilio Cobos Álvarez
Fixes #274
2016-11-17Generate bool value for bool constantsXidorn Quan
This fixes #272.
2016-11-16Multiple constant generation evaluation improvements.Emilio Cobos Álvarez
2016-11-15Auto merge of #266 - fitzgen:little-logging-things, r=emiliobors-servo
Little logging things Little things. See commit messages for details. r? @emilio
2016-11-15Add `debug!` logging in code generationNick Fitzgerald
This instruments each `CodeGenerator` implementation with a `debug!` logging macro.
2016-11-15Add an option to emit our ir for debuggingNick Fitzgerald
Similar to our ability to emit the clang AST, this adds an option to emit our IR for debugging purposes.
2016-11-16Transition to libbindgen sub-crateJeff Waugh
- The root crate is the `bindgen` binary - Rust-ify the test suite, no more subprocesses! - Update Travis config to test both crates