Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-12-29 | codegen: Use the canonical type to determine whether we should convert to a ↵ | Emilio Cobos Álvarez | |
pointer an argument. Fixes https://github.com/Yamakaky/rust-bindgen/issues/407 | |||
2016-12-28 | ir: More generic handling of non-deductible auto types. | Emilio Cobos Álvarez | |
2016-12-28 | Auto merge of #365 - upsuper:skip-functpl, r=emilio | bors-servo | |
ir: Skip function template earlier. This fixes #364. r? @emilio | |||
2016-12-28 | ir: Skip function template earlier. | Xidorn Quan | |
This should fix #364. | |||
2016-12-23 | Auto merge of #360 - emilio:base, r=fitzgen | bors-servo | |
Don't assume that base classes are already resolved. Since it may not be the case. Fixes #359 Also fixes a few other test cases in the codebase that had the wrong namespace relationship. r? @fitzgen | |||
2016-12-23 | Add test from #358. | Emilio Cobos Álvarez | |
2016-12-23 | libbindgen: Bump version for crates.io | Emilio Cobos Álvarez | |
2016-12-23 | lib: Remove unused libc dependency. | Emilio Cobos Álvarez | |
2016-12-23 | ir: Don't assume that base classes are already resolved. | Emilio Cobos Álvarez | |
Fixes #359 | |||
2016-12-23 | ir: Don't parse default template parameter types. | Emilio Cobos Álvarez | |
It's a bunch of complexity we don't use nor need. | |||
2016-12-23 | Auto merge of #357 - emilio:auto, r=fitzgen | bors-servo | |
Multiple cleanups and fix for #355 Fixes #355 Also improves the output of #354. r? @fitzgen | |||
2016-12-23 | bindgen-integration: run `cargo fmt` | Emilio Cobos Álvarez | |
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-22 | Auto merge of #354 - Nashenas88:master, r=emilio | bors-servo | |
Followed Resolved Type Ref instead of panicking This could fix #353, but I would really want everyone to review in case I'm missing something important. The compilation continues for the code I'm working with. Also, should I add a regression test for this? I could simply use the code in the referenced issue. | |||
2016-12-22 | Auto merge of #356 - fitzgen:libclang-is-my-enemy, r=emilio | bors-servo | |
Only load libclang once, and don't unload it See the first commit for details. Second commit is just `cargo fmt`. r? @emilio | |||
2016-12-21 | Run `cargo fmt` on the sources | Nick Fitzgerald | |
2016-12-21 | Ensure that we only load `libclang` once across all threads, and that it is ↵ | Nick Fitzgerald | |
not prematurely dropped. Honestly, I'm still not 100% sure what the root cause of the Clang and LLVM issues I was seeing were, but when I ensure that we only have one libclang loaded across all threads and that it is never dropped, the assertions go away. Fixes #350. | |||
2016-12-21 | Add test for following ResolvedTypeRef | Paul Faria | |
2016-12-21 | Followed Resolved Type Ref instead of panicking | Paul Faria | |
2016-12-21 | Auto merge of #352 - emilio:auto, r=fitzgen | bors-servo | |
ir: Handle CXType_Auto. Fixes #351 | |||
2016-12-21 | ir: Handle CXType_Auto. | Emilio Cobos Álvarez | |
2016-12-15 | Auto merge of #349 - emilio:stylo, r=upsuper | bors-servo | |
Bump version. r? @upsuper | |||
2016-12-16 | Bump version. | Emilio Cobos Álvarez | |
2016-12-15 | Auto merge of #347 - impowski:typedef_type_cleanup, r=fitzgen | bors-servo | |
Wrap Type into Option Fix #129 | |||
2016-12-15 | Wrap Type into Option | Artem Biryukov | |
2016-12-15 | Auto merge of #346 - emilio:fix-dtors, r=fitzgen | bors-servo | |
codegen: Properly mangle nested anonymous enums with duplicated variants. r? @fitzgen | |||
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 | Auto merge of #345 - fitzgen:use-feature-for-dangling-item-asserts, r=emilio | bors-servo | |
Use a feature to control dangling item assertions These checks are expensive enough that we only want to do them when hacking on bindgen itself, not anytime someone does a debug build of something that depends on bindgen. r? @emilio | |||
2016-12-15 | codegen: Properly mangle nested anonymous enums with duplicated variants. | Emilio Cobos Álvarez | |
2016-12-15 | Use a feature to control dangling item assertions | Nick Fitzgerald | |
These checks are expensive enough that we only want to do them when hacking on bindgen itself, not anytime someone does a debug build of something that depends on bindgen. | |||
2016-12-15 | Auto merge of #344 - emilio:fix-dtors, r=fitzgen | bors-servo | |
Properly mangle method names, don't generate destructors. r? @fitzgen Fixes a few issues seen in #342 | |||
2016-12-15 | Auto merge of #312 - impowski:debug_dangling_references, r=fitzgen | bors-servo | |
Add assert for dangling references without an associated ItemId So I think this is it? Fix issue #209 r? @fitzgen | |||
2016-12-15 | Add assertion for dangling references | Artem Biryukov | |
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-15 | Auto merge of #343 - upsuper:fix-warning, r=emilio | bors-servo | |
Fix an unused_mut warning | |||
2016-12-16 | Fix an unused_mut warning | Xidorn Quan | |
2016-12-14 | Auto merge of #335 - emilio:dlopen, r=fitzgen | bors-servo | |
[rfc] Use a dynamically loaded clang to do as much as we can with old clang versions, and experiment with new ones. It's a pity that we don't support clang 3.7 and similar for generating C bindings, when it should be straight-forward. This change should allow us to support older clang versions, and also experiment with pre-release clang APIs if needed. This depends on: https://github.com/KyleMayes/clang-sys/pull/44 | |||
2016-12-14 | Use a dynamically loaded clang to do as much as we can with old clang ↵ | Emilio Cobos Álvarez | |
versions, and experiment with new ones. It's a pity that we don't support clang 3.7 and similar for generating C bindings, when it should be straight-forward. This should allow us to support older clang versions, and also experiment with pre-release clang APIs if needed. This depends on: https://github.com/KyleMayes/clang-sys/pull/44 | |||
2016-12-13 | Auto merge of #338 - upsuper:upgrade-lazy-static, r=KiChjang | bors-servo | |
Upgrade lazy_static to 0.2.x | |||
2016-12-14 | Upgrade lazy_static to 0.2.x | Xidorn Quan | |
2016-12-13 | Auto merge of #336 - vvuk:misc-fix, r=emilio | bors-servo | |
Silence the 'Unhandled cursor kind' warning for a few things For toplevel operator overload, and for `CXCursor_UsingDirective` | |||
2016-12-13 | Silence the 'Unhandled cursor kind' warning for toplevel operator overloads ↵ | Vladimir Vukicevic | |
and using directives | |||
2016-12-13 | Auto merge of #333 - emilio:clang-sys, r=fitzgen | bors-servo | |
Use clang-sys bindings instead of ours. I plan to use a dynamically loaded clang-sys library to remove the llvm-stable feature. This is part of the work. r? @fitzgen | |||
2016-12-13 | cargo: Sort dependencies in libbindgen. | Emilio Cobos Álvarez | |
2016-12-13 | Auto merge of #332 - emilio:constructors, r=fitzgen | bors-servo | |
Add support for constructors, and integration tests. r? @fitzgen cc @vvuk | |||
2016-12-13 | Use clang-sys bindings instead of ours. | Emilio Cobos Álvarez | |
I plan to use a dynamically loaded clang-sys library to remove the llvm-stable feature. This is part of the work. |