Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Add --no-debug <regex> flag | Varphone Wong | |
2020-08-03 | Improves bindings for typed and anonymous enums | Cameron Mulhern | |
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 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 | main: Remove unused use statement. | Emilio Cobos Álvarez | |
2020-07-01 | lib: Trivially fix various command line arguments that are not properly ↵ | Emilio Cobos Álvarez | |
round-tripping. | |||
2020-07-01 | Refine test for C++ operators | Darren Kulp | |
2020-06-29 | lib: Fix msrv build. | Emilio Cobos Álvarez | |
error[E0277]: the trait bound `std::string::String: std::convert::From<&std::string::String>` is not satisfied --> src/lib.rs:460:37 | 460 | output_vector.push(line.into()); | ^^^^ the trait `std::convert::From<&std::string::String>` is not implemented for `std::string::String` | |||
2020-06-29 | Properly shell quote flags in test output | Travis Finkenauer | |
2020-06-29 | Simplify multiple headers test | Travis Finkenauer | |
Ensure that we try to generate() the test Builder. Remove unnecessary reserve() optimization. | |||
2020-06-29 | Handle multiple headers for command_line_flags() | Travis Finkenauer | |
Output from Builder::command_line_flags() would fail if more than one header were provided. This adds extra headers via the '-include' clang option. | |||
2020-06-29 | lib: Stop using count() to do for loops. | Emilio Cobos Álvarez | |
This itched me when reviewing #1816. Seems easier to switch those to loop over `get_items()`, but this patch also deduplicates the code a bit, because all that copy-pasta was also itching me. These flags don't have ordering dependencies, so the result builder should be equivalent. | |||
2020-06-29 | Emit bindgen version in generated header | Darren Kulp | |
Update expectations | |||
2020-06-29 | Add option to disable generated header comment | Darren Kulp | |
2020-06-29 | Output clang args after '--' | Travis Finkenauer | |
For command_line_flags(), some arguments (like '--no-record-matches') were added after '--'. The bindgen program would interpret these as clang args. | |||
2020-06-21 | Generate func_macro callbacks | Darren Kulp | |
2020-06-21 | Introduce func_macro to ParseCallbacks trait | Darren Kulp | |
2020-06-21 | Introduce is_macro_function_like | Darren Kulp | |
2020-06-21 | Introduce extent to ClangToken | Darren Kulp | |
2020-06-15 | Permit IntKind::Custom to represent Paths instead of just Idents | Alan Egerton | |
2020-06-15 | Derive traits for newtype aliases (#1802) | eggyal | |
2020-06-08 | Remove unused Token definition. | Emilio Cobos Álvarez | |
2020-06-08 | Mangle items with the same name as Rust primitive types | kellda | |
2020-06-07 | Fix warning introduced in recent objective-c work. | Emilio Cobos Álvarez | |
2020-06-05 | Document BINDGEN_EXTRA_CLANG_ARGS env variable | Travis Finkenauer | |
Feature was originally introduced in pull-request #1537 | |||
2020-05-18 | add command-line option for disabling untagged unions | Nathan Froyd | |
One more thing that we can configure from the command line. | |||
2020-05-14 | ir: Fall back to get the cursors from the type if we find no param decls. | Emilio Cobos Álvarez | |
It seems libclang sometimes doesn't expose the right paramdecl cursors. This should be reported upstream, but it's easy enough to workaround. It loses the parameter names which is a bit unfortunate but... Fixes #1778 | |||
2020-05-11 | Added inheritance to objective-c support. | Sebastian Imlay | |
2020-05-04 | Do not emit Rust method wrapper for blacklisted functions | Stephen Crane | |
We should not emit Rust struct methods corresponding to a C++ method unless we are actually emitting a binding for that method. | |||
2020-04-27 | Run `cargo fmt` | Joshua Nelson | |
2020-04-27 | Upgrade to 2018 edition | Joshua Nelson | |
2020-04-27 | Run `cargo fix --edition` | Joshua Nelson | |
2020-04-26 | Really minor cleanup. | Emilio Cobos Álvarez | |
2020-04-23 | Generator docs: add note about clang documentation string options | Matej Laitl | |
I believe this should fix #1265. | |||
2020-04-23 | Generator docs: mention the word docstring(s) for discoverability | Matej Laitl | |
That was what I was searching for initially, make life of future me (and others, hopefully) easier. | |||
2020-04-23 | Generator docs: use rich text link instead of plain url in text | Matej Laitl | |
2020-03-25 | Indicate undefined behaviour in enum docs and point to alternative | Aphek | |
2020-03-16 | Added some initial constraints to the objective-c bindgen stuff | Sebastian Imlay | |
2020-03-10 | ir: Remove redundant parenthesis. | Emilio Cobos Álvarez | |