summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-16Bump version.Emilio Cobos Álvarez
2016-12-15Auto merge of #347 - impowski:typedef_type_cleanup, r=fitzgenbors-servo
Wrap Type into Option Fix #129
2016-12-15Wrap Type into OptionArtem Biryukov
2016-12-15Auto merge of #346 - emilio:fix-dtors, r=fitzgenbors-servo
codegen: Properly mangle nested anonymous enums with duplicated variants. r? @fitzgen
2016-12-15ir: Do the proper thing for methods.Emilio Cobos Álvarez
2016-12-15ir: Don't parse constructors twice.Emilio Cobos Álvarez
2016-12-15Auto merge of #345 - fitzgen:use-feature-for-dangling-item-asserts, r=emiliobors-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-15codegen: Properly mangle nested anonymous enums with duplicated variants.Emilio Cobos Álvarez
2016-12-15Use a feature to control dangling item assertionsNick 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-15Auto merge of #344 - emilio:fix-dtors, r=fitzgenbors-servo
Properly mangle method names, don't generate destructors. r? @fitzgen Fixes a few issues seen in #342
2016-12-15Auto merge of #312 - impowski:debug_dangling_references, r=fitzgenbors-servo
Add assert for dangling references without an associated ItemId So I think this is it? Fix issue #209 r? @fitzgen
2016-12-15Add assertion for dangling referencesArtem Biryukov
2016-12-15ir: Don't parse standalone destructors.Emilio Cobos Álvarez
2016-12-15codegen: Properly mangle method names.Emilio Cobos Álvarez
2016-12-15Auto merge of #343 - upsuper:fix-warning, r=emiliobors-servo
Fix an unused_mut warning
2016-12-16Fix an unused_mut warningXidorn Quan
2016-12-14Auto merge of #335 - emilio:dlopen, r=fitzgenbors-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-14Use 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-13Auto merge of #338 - upsuper:upgrade-lazy-static, r=KiChjangbors-servo
Upgrade lazy_static to 0.2.x
2016-12-14Upgrade lazy_static to 0.2.xXidorn Quan
2016-12-13Auto merge of #336 - vvuk:misc-fix, r=emiliobors-servo
Silence the 'Unhandled cursor kind' warning for a few things For toplevel operator overload, and for `CXCursor_UsingDirective`
2016-12-13Silence the 'Unhandled cursor kind' warning for toplevel operator overloads ↵Vladimir Vukicevic
and using directives
2016-12-13Auto merge of #333 - emilio:clang-sys, r=fitzgenbors-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-13cargo: Sort dependencies in libbindgen.Emilio Cobos Álvarez
2016-12-13Auto merge of #332 - emilio:constructors, r=fitzgenbors-servo
Add support for constructors, and integration tests. r? @fitzgen cc @vvuk
2016-12-13Use 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.
2016-12-13ir: Add documentation for CompInfo::constructorsEmilio Cobos Álvarez
2016-12-13Fix travisEmilio Cobos Álvarez
2016-12-13codegen: Rename the temporary variable in constructors for __bindgen_tmp, to ↵Emilio Cobos Álvarez
avoid potential conflicts.
2016-12-13Add support for constructors, and integration tests.Emilio Cobos Álvarez
2016-12-12Auto merge of #331 - upsuper:patch-2, r=emiliobors-servo
Fix issues in README Mainly for fixing `env!("OUT_DIR")` usage in `build.rs`.
2016-12-12Fix issues in READMEXidorn Quan
Mainly for fixing `env!("OUT_DIR")` usage in `build.rs`.
2016-12-12Auto merge of #330 - emilio:error, r=xidornbors-servo
lib: Return error early if there are any error diagnostics. r? @fitzgen This is a rebase of #280
2016-12-11lib: Do the path fixup inside the library, so users of the library don't ↵Emilio Cobos Álvarez
have to do this themselves.
2016-12-11options: Ensure to pass the clang header last to clang.Emilio Cobos Álvarez
2016-12-10lib: Return error early if there are any error diagnostics.Emilio Cobos Álvarez
2016-12-09Auto merge of #328 - emilio:publish, r=emiliobors-servo
Publish r? @fitzgen
2016-12-09Use consistent indentation in toml files.Emilio Cobos Álvarez
2016-12-09Publish 0.1.1 for the recent changes.Emilio Cobos Álvarez
2016-12-09Rip off the clippy feature.Emilio Cobos Álvarez
2016-12-09s/_docs/docs_Emilio Cobos Álvarez
2016-12-09Auto merge of #329 - upsuper:upgrade-syntex, r=emiliobors-servo
Upgrade syntex to 0.50 for sync with servo
2016-12-09Upgrade deps to have syntex 0.50Xidorn Quan
2016-12-09Remove macro_rules in codegenXidorn Quan
2016-12-09Auto merge of #327 - fitzgen:libbindgen-on-crates-io, r=emiliobors-servo
Use a shared workspace for bindgen, libbindgen, and test_expectations This enables us to publish libbindgen on crates.io
2016-12-09Fix Travis CI test integration with workspacesNick Fitzgerald
2016-12-09Set `libbindgen`'s version to 0.1.0Nick Fitzgerald
2016-12-09Use a shared workspace for bindgen, libbindgen, and test_expectationsNick Fitzgerald
2016-12-08Auto merge of #326 - upsuper:patch-1, r=emiliobors-servo
Upgrade clang-sys in libbindgen It seems #322 doesn't upgrade the clang-sys of libbindgen, so bindgen is using two different versions of clang-sys. We should fix it. r? @emilio
2016-12-08Upgrade clang-sys in libbindgenXidorn Quan