Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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-07 | Fix warning introduced in recent objective-c work. | Emilio Cobos Álvarez | |
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 | Run `cargo fix --edition` | Joshua Nelson | |
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-02-03 | options: Add an opt-in to recover the size_t behavior removed in 5d38f2ac. | Emilio Cobos Álvarez | |
2020-02-02 | ir: codegen: Handle too large bitfield units. | Emilio Cobos Álvarez | |
By not generating various code for it. In the future, we could improve on this by splitting contiguous bitfield units, if needed, so that we can implement them without dealing with rust array derive limits. Fixes #1718 | |||
2020-01-13 | codegen: Max guaranteed alignment is 8 (with u64), not target pointer width. | Emilio Cobos Álvarez | |
2020-01-13 | Remove padding for over-aligned structs when we support repr(align). | Emilio Cobos Álvarez | |
Before repr(align), we could only safely guarantee up to 8-bytes of alignment (I think the pointer-width check is a more conservative way of doing that, in practice, because I _think_ u64 is 8-byte aligned even for smaller targets). So when we may generate a potentially-under-aligned struct, we always used to pad it so as to guarantee that at least the size (and thus reads from rust for C-allocated structs) was fine. But if we support repr(align), then the above is always unneeded. | |||
2020-01-05 | An initial implementation of objective-c generics for #1259 (#1702) | simlay | |
2019-12-16 | Remove deprecated Error::description | Kornel | |
2019-12-13 | Remove size_t to usize conversion rule | Conor McAvity | |
2019-12-11 | codegen: Minor cleanup after #1691. | Emilio Cobos Álvarez | |
2019-12-11 | Add support for wasm_import_module | Jasper-Bekkers | |
2019-11-28 | Fix warning on rustdoc | Jake Merdich | |
Rustdoc was treating doc comments containing `#[non_exhaustive]` as links and warning, so mark that as code to avoid the warning. | |||
2019-11-14 | Make rustfmt happy | David Vo | |
2019-11-14 | Add newtype enum style | David Vo | |
This adds an enum style similar to the existing bitfield style, without the bitwise operator impls. Closes: #1669 | |||
2019-11-09 | Replace unsafe ref->ptr transmute with 'as' casting | Elichai Turkel | |
2019-11-08 | Option to use #[repr(transparent)] structs instead of type aliasing. | Joseph Rafael Ferrer | |
2019-11-08 | Add support for MaybeUninit | Elichai Turkel | |
2019-11-03 | Do not generate implementation for clone for FAM | David Frey | |
Flexible array members are represented in the generated binding by a struct __IncompleteArrayField<T>. Since such members do not contain any information about how big they are, it is impossible to automatically clone or copy them, either in C or rust. Fixes #1431. | |||
2019-10-22 | codegen: Handle opaque aliases to enums correctly. | Emilio Cobos Álvarez | |
Opaque types don't use the path to their aliased type but an opaque type like an array or primitive with the right alignment. Fixes #1599. | |||
2019-10-14 | Rustfmt to account for rebase. | Emilio Cobos Álvarez | |
2019-10-08 | Fix BitfieldUnit constructor to handle 64 bit wide bitfields on 32 bit. | Cameron McCormack | |
Fixes #1639. | |||
2019-10-03 | Use c_void from core when --use-core is specified | Kyle Tomsic | |
`c_void` is available as `::std::os::raw::c_void` and `::core::ffi::c_void`. If the "--use-core" option is specified (but no --ctypes-prefix is provided), we should emit `::core::ffi::c_void` rather than the `std` one. | |||
2019-09-17 | Rustfmt. | Emilio Cobos Álvarez | |
2019-07-27 | Fix beta build warnings / errors. (#1603) | Emilio Cobos Álvarez | |
Fixes #1598 | |||
2019-07-24 | Cleanup wchar_t layout computation to happen later. (#1596) | Emilio Cobos Álvarez | |
This is a breaking cheange since WChar is exposed, but should be no behavior change otherwise. | |||
2019-06-12 | Style fixes. | uk | |
See https://github.com/rust-lang/rust-bindgen/pull/1575 | |||
2019-06-11 | Add rust target configuration for feature #1554 | uk | |
Will panic if the feature is being used outside nightly. See https://github.com/rust-lang/rust-bindgen/pull/1575#discussion_r292231027 | |||
2019-06-11 | Rename a couple miscalled identifiers. | uk | |
See https://github.com/rust-lang/rust-bindgen/pull/1575 | |||
2019-06-10 | Add support for non_exhaustive rustified enums. | uk | |
Implements the feature discussed in https://github.com/rust-lang/rust-bindgen/issues/1554. | |||
2019-06-06 | For rust-target >= 1.30, make __IncompleteArrayField::new a const fn | Colin Wallace | |
2019-06-06 | For rust-target >= 1.30, make __BindgenUnionField::new a const fn | Colin Wallace | |
2019-06-06 | FIX #1571: For rust-target >= 1.30, make __BindgenBitfieldUnit::new a const fn | Colin Wallace | |
2019-06-06 | Remove the parameter bounds for __BindgenBitfieldUnit::new | Colin Wallace | |
This will enable `new` to be changed to a `const fn` in a future patch: `const fn`s do not support trait bounds. | |||
2019-05-22 | Added array pointers to the CLI | Elichai Turkel | |
2019-05-22 | Added array pointers codegen | Elichai Turkel | |
2019-05-21 | Update Links | Alex Touchet | |
2019-05-15 | Only emit #[link_name] attribute if necessary. | Michael Woerister | |
2019-05-06 | Remove unused mut. | Emilio Cobos Álvarez | |
2019-04-26 | Remove redundant imports. | Emilio Cobos Álvarez | |