summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-11-25Add dynamic loading supportJoe Ellis
Closes #1541. Closes #1846. Co-authored-by: Michael-F-Bryan <michaelfbryan@gmail.com>
2020-11-25tests: Added option to hand check test differences.Volker Weißmann
2020-11-25Rustfmt to green up CI.Emilio Cobos Álvarez
2020-11-25Update clang-sys dependencySamson Ootoovak
Version 1.0.2 of clang-sys fixes an issue that was causing upstream builds on macOS 11.0 to fail when it couldn't find LLVM configs properly. https://github.com/KyleMayes/clang-sys/blob/master/CHANGELOG.md#102---2020-11-17 https://github.com/KyleMayes/clang-sys/pull/118
2020-11-13Document that people can request releasesEmilio Cobos Álvarez
(and I'd be more than happy to make them happen :))
2020-11-13Document various changes that will get into the next release.Emilio Cobos Álvarez
2020-11-13Keep dependencies up-to-date.Emilio Cobos Álvarez
A few tests change some formatting, but that's fine.
2020-11-13Document 0.47 dot-release.Emilio Cobos Álvarez
2020-10-16codegen: Allow to not derive Debug on enums.Emilio Cobos Álvarez
Fixes #1899. This code predated all the derive machinery, and always hardcoded its derives. We could avoid hard-coding the other traits, but those seem usually-useful, so leave them there for backwards compat for now.
2020-10-07Bump clang-sys to 1.0.1Kyle Mayes
2020-09-16codegen: Use shorthand struct initialization when possible.Emilio Cobos Álvarez
2020-09-16codegen: Deindent a bit some recently-introduced objective-c code.Emilio Cobos Álvarez
2020-09-16Fix test for CISebastian Imlay
2020-09-16Update to fix CISebastian Imlay
2020-09-16Updates for CISebastian Imlay
2020-09-16Updated CHANGELOG.mdSebastian Imlay
2020-09-16Updates from PR commentsSebastian Imlay
2020-09-16Fix spacing issueSebastian Imlay
2020-09-16First attempt to fix CISebastian Imlay
2020-09-16ran cargo fmtSebastian Imlay
2020-09-16Updates base on commentsSebastian Imlay
* Added TryInto trait implementation from parent to child interfaces. * Added HashSet for protocols so that the protocol inheritance works as well.
2020-09-16Initial stuff for changing ownership and adding inheritanceSebastian Imlay
2020-09-15Add integration test for name matchingYoumu
2020-09-15Use path_for_whitelisting instead of canonical_path when matching for enum ↵Youmu
type specification and template opaque type specification
2020-08-29codegen: Use shorthand initialization in VTable::new.Emilio Cobos Álvarez
2020-08-29Allow grepping bindings for multiple patterns.Adrian Taylor
2020-08-25Added constructor return type for wasm32 target (#1877)Emilio Cobos Álvarez
2020-08-25v0.55.1v0.55.1Emilio Cobos Álvarez
2020-08-25tests: Improve enum tests to avoid duplication, and add a test for #1880Emilio Cobos Álvarez
2020-08-25codegen: Do generate unnamed enums, as they can be referred to by members.Emilio Cobos Álvarez
Fixes #1880
2020-08-24Added expectation test files for clang 3.9 and 4Audrius
2020-08-24Optimized condition order, added regression testAudrius
2020-08-24Release v0.55.0v0.55.0Emilio Cobos Álvarez
2020-08-24lib: Fix inferred target when clang target differs from rust target.Emilio Cobos Álvarez
Fixes #1211.
2020-08-23Document that 0.54.1 has been yanked.Emilio Cobos Álvarez
2020-08-21Added constructor return type for wasm32 targetAudrius
2020-08-18Update to clang-sys 1.0.0Kyle Mayes
2020-08-18Bump MSRV to 1.40.0Kyle Mayes
The libloading crate is used for runtime linking and since 0.6.0 it has a MSRV of 1.40.0
2020-08-15codegen: Simplify a bit the code in #1847Emilio Cobos Álvarez
2020-08-15Added Bindgen names to objective-c pointer return typesSebastian Imlay
* Took advantage of the repr transparent to use Bindgen return type names. * Updated unit tests and book
2020-08-14Add --target to the clang args earlierMike Hommey
Because the --target was passed after the include path detection, in cases of cross-compilation, the include path detection would add paths relevant to the host (e.g. /usr/include/x86_64_linux-gnu on x86_64 linux while targeting something else), possibly breaking things along the way.
2020-08-13context: Don't pass --target=rust-target to clang when building for the host.Emilio Cobos Álvarez
This will prevent common issues in platforms where the Rust target is not the clang target, like aarch64-apple-darwin (Rust) vs. arm64-apple-darwin. We may want to special-case those too when cross-compiling.
2020-08-09Cleanup some `clippy::unused_io_amount` errorsVarphone Wong
2020-08-09Add --default-macro-constant-typeChih-Hung Hsieh
* --default-macro-constant-type could be 'signed' or 'unsigned' * Its default value is 'unsigned' to use u32/u64 for C macro constants that fit into the u32/u64 ranges. * For old C libraries that use macros as int/long parameter and/or return value types, their macros are better declared as i32/i64 if the values fit the i32/i64 ranges, to be compatible with c_int/c_long types. They can use "--default-macro-constant-type signed"
2020-08-04Move `__bindgen_anon_` to constant `DEFAULT_ANON_FIELDS_PREFIX`Varphone Wong
2020-08-04Fix “warning: irrefutable if-let pattern” on add to output_vectorVarphone Wong
2020-08-04Make anon-fields-prefix non-optionalDarren Kulp
2020-08-04Add --anon-fields-prefix optionVarphone Wong
Allow to use the given prefix for the anon fields instead of `__bindgen_anon_`.
2020-08-04Fixed const-ness of multidimensional arraysJoseph Angelo
2020-08-03codegen: Use shorthand initialization in EnumBuilder.Emilio Cobos Álvarez
This was introduced in #1850.