Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-24 | Presume that a function taking a pointer is unsafe | David Hotham | |
2015-07-29 | Add support for 'packed' attribute. | Ilkka Rauta | |
2015-07-25 | Fix a typo | Ivan Ukhov | |
2015-07-07 | Add support for generating consts for integer constants. Fixes #145. | Ted Mielczarek | |
This patch adds a few things to enable this: * Cursor::extent * struct Token * TranslationUnit::tokens - clang's C API doesn't have a straightforward way to get the integer literal from a variable declaration, so I used clang_tokenize to get the literal token and parse it. * VarInfo::val - to store the value. Non-const variable declarations and non-integer constants are handled as they were previously. | |||
2015-07-01 | match_pat support for bindgen::builder() API | Jeff Waugh | |
2015-06-13 | Update to syntex_syntax 0.7.* | mcarton | |
Fix #213. | |||
2015-06-07 | Add Builder::clang_arg | Ben Foppa | |
2015-05-23 | add `-I /path/to/clang/include` to clang args used in the `bindgen!` plugin | Jorge Aparicio | |
We do the same thing for the `bindgen` binary (see #196). | |||
2015-05-11 | remove unnecessary lifetime bound from `Bindings::write` | Jorge Aparicio | |
2015-05-07 | Add a builder interface to libbindgen | Edward Barnard | |
2015-05-03 | Support building bindgen with rust 1.0 beta | Edward Barnard | |
2015-04-24 | rustup: add required trace_mac when declaring ExpansionCfg | Paul Osborne | |
This was tested on rustc 1.0.0-dev (f46c4e158 2015-04-20) (built 2015-04-20). The commit in rust that appears to have introduced the problem is https://github.com/rust-lang/rust/commit/d14109ec7e90f42a7cb966415b96094b146d3706 This change will likely break with older versions of rust (e.g. 1.0 beta), so it may be worth sitting on its inclusion into master for some time. | |||
2015-04-19 | Move rustc plugin out into its own crate. | Philipp Brüschweiler | |
This is a workaround while #89 is still breaking bindgen for many people. I haven't tested if the plugin still works, as it always crashed for me because of that bug. | |||
2015-04-19 | Merge branch 'get-clang-headers' of https://github.com/Blei/rust-bindgen | Jyun-Yan You | |
2015-04-18 | Try to include clang's bundled include files if possible. | Philipp Brüschweiler | |
Towards #85 | |||
2015-04-18 | Don't transmute from &Trait to Box<Trait>. | Philipp Brüschweiler | |
This is very unsafe, and not even needed for the current code. Fixes #190 | |||
2015-04-13 | fix: `impl Clone` on generated structs/enums | Jorge Aparicio | |
The `Copy` trait requires that the implementor is also `Clone`. Currently, generated types have a `#[derive(Copy)]` but are missing the `Clone` implementation. With this patch, bindgen now adds a `Clone` implementation to each generated struct/enum. Clone is implemented as a copy because the generated types already have a `#[derive(Copy)]` Sample output: ``` #[repr(C)] #[derive(Copy)] pub struct Struct_termios { pub c_iflag: tcflag_t, pub c_oflag: tcflag_t, pub c_cflag: tcflag_t, pub c_lflag: tcflag_t, pub c_line: cc_t, pub c_cc: [cc_t; 32usize], pub c_ispeed: speed_t, pub c_ospeed: speed_t, } impl ::std::clone::Clone for Struct_termios { fn clone(&self) -> Struct_termios { *self } } impl ::std::default::Default for Struct_termios { fn default() -> Struct_termios { unsafe { ::std::mem::zeroed() } } } ``` | |||
2015-04-09 | fix build on master rust | Сухарик | |
2015-03-30 | upstream rust changes: spit out '1usize' instead of '1u' | Jason Fager | |
2015-03-22 | Clean up `allow`s | Tamir Duberstein | |
2015-03-22 | Purge `old_io` | Tamir Duberstein | |
2015-03-22 | Silence warnings | Tamir Duberstein | |
2015-03-22 | Rustup | Tamir Duberstein | |
Fixes #184. | |||
2015-03-22 | Whitespace | Tamir Duberstein | |
2015-03-08 | Fix build | Jyun-Yan You | |
2015-03-06 | update to rust nightly | Jorge Aparicio | |
2015-03-01 | fix: update to rust nightly | Jorge Aparicio | |
2015-02-20 | update Hash impl for upstream | Jason Fager | |
2015-02-19 | upstream rust changes | Jason Fager | |
2015-02-16 | upstream rust changes | Jason Fager | |
2015-02-10 | Fix build | Will Wykeham | |
InternedString Deref Feature gate Closure type inference | |||
2015-02-06 | Use old_path | panicbit | |
2015-01-30 | Update unboxed closure syntax. | Nik Voss | |
2015-01-28 | Update bindgen bin for io -> old_io too. | Robert Clipsham | |
2015-01-28 | Fixes for std::io -> std::old_io Rust changes. | Robert Clipsham | |
2015-01-24 | Fix build | Jyun-Yan You | |
2015-01-21 | set return code on non-panic errors | wartman4404 | |
2015-01-12 | Use usize/us instead of uint/u in generated code | Andrew Cann | |
2015-01-10 | Update for integer renaming | Dan Burkert | |
2015-01-10 | Fix build for rustc 1.0.0-nightly (44a287e6e 2015-01-08 17:03:40 -0800) | Dan Burkert | |
2015-01-07 | Gets tests running, simplifies use of Cursor.visit. | Christopher Chambers | |
clang.rs - Remove Box<_> from the signature of Cursor.visit. This makes the implementation a little noisier, but makes calling easier. tests - Updated for recent changes to rustc and std. | |||
2015-01-08 | Fix unboxed closures | Aidan Hobson Sayers | |
2015-01-07 | Macro is now a reserved keyword | Aidan Hobson Sayers | |
2015-01-05 | Fixes after entry api modifications | Francois Bernier | |
2015-01-03 | Fix build | Edward Barnard | |
2015-01-03 | Don't try to generate assessors for bitfields in anonymous structs. Closes #151. | Edward Barnard | |
2015-01-03 | Recurse through arrays and pointers to anonymous structs. Closes #150. | Edward Barnard | |
2015-01-03 | fix build on master rust | Сухарик | |
2015-01-01 | Fix build | Edward Barnard | |
2015-01-01 | Structs containing bitfields are now the correct size and bitfield accessors ↵ | Edward Barnard | |
can be written by hand if required. |