Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-29 | codegen: Use shorthand initialization in VTable::new. | Emilio Cobos Álvarez | |
2020-08-29 | Allow grepping bindings for multiple patterns. | Adrian Taylor | |
2020-08-25 | Added constructor return type for wasm32 target (#1877) | Emilio Cobos Álvarez | |
2020-08-25 | v0.55.1v0.55.1 | Emilio Cobos Álvarez | |
2020-08-25 | tests: Improve enum tests to avoid duplication, and add a test for #1880 | Emilio Cobos Álvarez | |
2020-08-25 | codegen: Do generate unnamed enums, as they can be referred to by members. | Emilio Cobos Álvarez | |
Fixes #1880 | |||
2020-08-24 | Added expectation test files for clang 3.9 and 4 | Audrius | |
2020-08-24 | Optimized condition order, added regression test | Audrius | |
2020-08-24 | Release v0.55.0v0.55.0 | Emilio Cobos Álvarez | |
2020-08-24 | lib: Fix inferred target when clang target differs from rust target. | Emilio Cobos Álvarez | |
Fixes #1211. | |||
2020-08-23 | Document that 0.54.1 has been yanked. | Emilio Cobos Álvarez | |
2020-08-21 | Added constructor return type for wasm32 target | Audrius | |
2020-08-18 | Update to clang-sys 1.0.0 | Kyle Mayes | |
2020-08-18 | Bump MSRV to 1.40.0 | Kyle Mayes | |
The libloading crate is used for runtime linking and since 0.6.0 it has a MSRV of 1.40.0 | |||
2020-08-15 | codegen: Simplify a bit the code in #1847 | Emilio Cobos Álvarez | |
2020-08-15 | Added Bindgen names to objective-c pointer return types | Sebastian Imlay | |
* Took advantage of the repr transparent to use Bindgen return type names. * Updated unit tests and book | |||
2020-08-14 | Add --target to the clang args earlier | Mike 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-13 | context: 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-09 | Cleanup some `clippy::unused_io_amount` errors | Varphone Wong | |
2020-08-09 | Add --default-macro-constant-type | Chih-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-04 | Move `__bindgen_anon_` to constant `DEFAULT_ANON_FIELDS_PREFIX` | Varphone Wong | |
2020-08-04 | Fix “warning: irrefutable if-let pattern” on add to output_vector | Varphone Wong | |
2020-08-04 | Make anon-fields-prefix non-optional | Darren Kulp | |
2020-08-04 | Add --anon-fields-prefix option | Varphone Wong | |
Allow to use the given prefix for the anon fields instead of `__bindgen_anon_`. | |||
2020-08-04 | Fixed const-ness of multidimensional arrays | Joseph Angelo | |
2020-08-03 | codegen: Use shorthand initialization in EnumBuilder. | Emilio Cobos Álvarez | |
This was introduced in #1850. | |||
2020-08-03 | tests: Add a test for bool enum with an alias. | Emilio Cobos Álvarez | |
2020-08-03 | Add --no-debug <regex> flag | Varphone Wong | |
2020-08-03 | Improves bindings for typed and anonymous enums | Cameron Mulhern | |
2020-08-03 | ci: Remove extraneous variable declaration | Darren Kulp | |
2020-08-03 | ci: Explicitly select Ubuntu 16.04 (xenial) | Darren Kulp | |
Xenial was being used anyway, but it is wise to be explicit. This lets us download a newer precompiled LLVM, too. | |||
2020-08-03 | ci: Remove overrides for unsupported LLVM versions | Darren Kulp | |
2020-08-03 | ci: Use llvm-5.0.1 to simplify target triple | Darren Kulp | |
2020-07-27 | Explicitly run four macOS jobs | Darren Kulp | |
2020-07-27 | Refactor before_install script | Darren Kulp | |
Remove needless pushd that was causing trouble with `set -e` Remove old osx workaround for rvm Add shebang line Fix target descriptor Support LLVM versions 9.0.1+ | |||
2020-07-21 | Change non-fatal errors to warnings | leo60228 | |
2020-07-20 | Remove obsoleted `is_loaded` checks | Darren Kulp | |
It is not clear what version of libclang these supported. Refer to #1321, #1304, #916, #915. | |||
2020-07-20 | Remove testing_only_libclang_3_8 and expectations | Darren Kulp | |
2020-07-20 | Simplify handle_function_macro for clang 3.9+ | Darren Kulp | |
2020-07-20 | Stop accommodating libclang 3.8 | Darren Kulp | |
2020-07-20 | Stop testing libclang 3.8 | Darren Kulp | |
2020-07-20 | Stop accommodating libclang < 3.8 | Darren Kulp | |
2020-07-20 | Avoid needless `std::mem::replace` | Darren Kulp | |
In Rust 1.45.0, `std::mem::replace` gained the `#[must_use]` attribute, causing a new diagnostic for some `bindgen` code : error: unused return value of `std::mem::replace` that must be used --> src/ir/comp.rs:751:17 | 751 | / mem::replace( 752 | | self, 753 | | CompFields::AfterComputingBitfieldUnits { 754 | | fields, 755 | | has_bitfield_units, 756 | | }, 757 | | ); | |__________________^ | = note: `-D unused-must-use` implied by `-D warnings` = note: if you don't need the old value, you can just assign the new value directly error: unused return value of `std::mem::replace` that must be used --> src/ir/comp.rs:760:17 | 760 | mem::replace(self, CompFields::ErrorComputingBitfieldUnits); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: if you don't need the old value, you can just assign the new value directly error: aborting due to 2 previous errors | |||
2020-07-06 | Release v0.54.1v0.54.1 | Emilio Cobos Álvarez | |
2020-07-06 | main: Remove unused use statement. | Emilio Cobos Álvarez | |
2020-07-01 | tests: Check that command_line_args round-trips. | Emilio Cobos Álvarez | |
Fixes #1818. | |||
2020-07-01 | lib: Trivially fix various command line arguments that are not properly ↵ | Emilio Cobos Álvarez | |
round-tripping. | |||
2020-07-01 | tests: Minor simplification of test harness. | Emilio Cobos Álvarez | |
We were never returning Ok(None), so not sure why this was ever there. | |||
2020-07-01 | Introduce expectation test for operator names | Darren Kulp | |
2020-07-01 | Refine test for C++ operators | Darren Kulp | |