Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-12-23 | Add test from #358. | Emilio Cobos Álvarez | |
2016-12-23 | ir: Don't assume that base classes are already resolved. | Emilio Cobos Álvarez | |
Fixes #359 | |||
2016-12-23 | libbindgen: run `cargo fmt`. | Emilio Cobos Álvarez | |
2016-12-23 | ir: Be more resistent to failure when parsing enums. | Emilio Cobos Álvarez | |
2016-12-23 | codegen: Use the canonical type to generate function signatures. | Emilio Cobos Álvarez | |
2016-12-21 | Add test for following ResolvedTypeRef | Paul Faria | |
2016-12-21 | ir: Handle CXType_Auto. | Emilio Cobos Álvarez | |
2016-12-15 | ir: Do the proper thing for methods. | Emilio Cobos Álvarez | |
2016-12-15 | ir: Don't parse constructors twice. | Emilio Cobos Álvarez | |
2016-12-15 | codegen: Properly mangle nested anonymous enums with duplicated variants. | Emilio Cobos Álvarez | |
2016-12-15 | ir: Don't parse standalone destructors. | Emilio Cobos Álvarez | |
2016-12-15 | codegen: Properly mangle method names. | Emilio Cobos Álvarez | |
2016-12-13 | codegen: Rename the temporary variable in constructors for __bindgen_tmp, to ↵ | Emilio Cobos Álvarez | |
avoid potential conflicts. | |||
2016-12-13 | Add support for constructors, and integration tests. | Emilio Cobos Álvarez | |
2016-12-11 | options: Ensure to pass the clang header last to clang. | Emilio Cobos Álvarez | |
2016-12-10 | lib: Return error early if there are any error diagnostics. | Emilio Cobos Álvarez | |
2016-12-09 | Use a shared workspace for bindgen, libbindgen, and test_expectations | Nick Fitzgerald | |
2016-12-07 | codegen: generate stable names for tests functions. | Emilio Cobos Álvarez | |
2016-12-07 | ir: Fix namespace_aware_canonical_name with disable_name_namespacing. | Emilio Cobos Álvarez | |
2016-12-07 | ir: Add test for #315 | Emilio Cobos Álvarez | |
Fixes #315 | |||
2016-12-07 | ir: Saner whitelisting/blacklisting. | Emilio Cobos Álvarez | |
2016-12-05 | codegen: Fix bindgen-injected items in namespaces. | Emilio Cobos Álvarez | |
Found while trying to use namespaces in stylo. | |||
2016-12-02 | Do not treat parent struct as a module for nested structs | Nick Fitzgerald | |
This fixes `ItemCanonicalPath` to return paths of the form `[module*, item]` rather than `[item*, item]`. That is, there will only be module names before the item's name, rather than also other arbitrary item names (such as parent structs). Fixes #311 | |||
2016-12-02 | Use the generated root module via a relative path | Nick 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-29 | ir: Don't assume our name is our base name too early when we're in a namespace. | Emilio Cobos Álvarez | |
2016-11-24 | Add a new disable-name-namespacing option. | Emilio Cobos Álvarez | |
2016-11-22 | ir: Rework how we discover children of modules. | Emilio Cobos Álvarez | |
2016-11-22 | codegen: Don't bother generating an empty module. | Emilio Cobos Álvarez | |
2016-11-22 | A more coherent story for whitelisting. | Emilio Cobos Álvarez | |
2016-11-22 | ir: Deduplicate namespaces. | Emilio Cobos Álvarez | |
2016-11-21 | Auto merge of #293 - fitzgen:type-referenced-by-whitelisted-function, r=emilio | bors-servo | |
Trace function signature types This extends the `TypeCollector` trait implementation for `Item` to consider items of kind `Function` and to collect the types found in the function's signature. Fixes #291 r? @emilio | |||
2016-11-21 | Trace function signature types | Nick Fitzgerald | |
This extends the `TypeCollector` trait implementation for `Item` to consider items of kind `Function` and to collect the types found in the function's signature. Fixes #291 | |||
2016-11-21 | Auto merge of #282 - impowski:layout_template_specializations, r=emilio | bors-servo | |
First steps to fix issue #57 This should generate tests for fully specialized templates. TODO: - [x] Tests r? @emilio | |||
2016-11-21 | Auto merge of #284 - fitzgen:dont-eval-variadic-templates, r=emilio | bors-servo | |
Do not evaluate variadic template types This is a workaround for an internal clang assertion that gets triggered if we try to evaluate a variadic template type reference. Fixes #283 r? @emilio | |||
2016-11-21 | ir: Pass the location instead of the declaration for TemplateRef's. | Emilio Cobos Álvarez | |
2016-11-21 | Apply fixes due code review for issue #57 | Artem Biryukov | |
2016-11-21 | codegen: Fix whitelisting inside namespaces. | Emilio Cobos Álvarez | |
2016-11-20 | Add new expectations for tests | Artem Biryukov | |
2016-11-18 | Do not evaluate variadic template types | Nick Fitzgerald | |
This is a workaround for an internal clang assertion that gets triggered if we try to evaluate a variadic template type reference. Fixes #283 | |||
2016-11-18 | Auto merge of #207 - Natim:130-cursor-args-return-vector, r=emilio | bors-servo | |
clang::Cursor::args should return an Option<Vec<Cursor>> Attempt to fix #130 | |||
2016-11-18 | Auto merge of #281 - fitzgen:namespace-mangle-rust-symbols, r=emilio | bors-servo | |
Include namespaces in mangled symbols When we aren't using `--enable-cxx-namespaces`, we can end up with conflicting struct symbol names that we need to disambiguate. The solution is to mangle the namespaced C++ symbol "foo::bar::Baz" into the Rust "foo_bar_Baz" symbol. This did change the way anonymous types and modules get named a little, but I think our approach is much more sane now than it was before. Fixes #267. r? @emilio | |||
2016-11-18 | Add a test | Rémy HUBSCHER | |
2016-11-18 | Include namespaces in mangled symbols | Nick Fitzgerald | |
When we aren't using `--enable-cxx-namespaces`, we can end up with conflicting struct symbol names that we need to disambiguate. The solution is to mangle the namespaced C++ symbol "foo::bar::Baz" into the Rust "foo_bar_Baz" symbol. | |||
2016-11-18 | codegen: Properly mangle bitfield getters. | Emilio Cobos Álvarez | |
2016-11-17 | ir: Avoid generating out-of-range values in constants. | Emilio Cobos Álvarez | |
Fixes #274 | |||
2016-11-17 | Generate bool value for bool constants | Xidorn Quan | |
This fixes #272. | |||
2016-11-16 | Auto merge of #260 - emilio:macro-str, r=fitzgen | bors-servo | |
Constant variable improvements. Fixes #256. r? @fitzgen | |||
2016-11-16 | ir: context: fall back to use the declaration as a key when there's no USR. | Emilio Cobos Álvarez | |
Apparently MSVC isn't that good at giving us USRs... Fixes #271 | |||
2016-11-16 | libbindgen: Make logging optional | Jeff Waugh | |
Note that the log crate isn't completely banished, as other is required by other dependencies. | |||
2016-11-16 | Multiple constant generation evaluation improvements. | Emilio Cobos Álvarez | |