Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-09-19 | Teach the float code about u128. | Emilio Cobos Álvarez | |
2018-09-19 | Teach the blob code to generate i128 / u128 if available. | Emilio Cobos Álvarez | |
This is very mechanical and boring, but needed. | |||
2018-09-19 | codegen: Generate u128 / i128 when available. | Emilio Cobos Álvarez | |
2018-09-19 | Add detection for i128 / u128 support. | Emilio Cobos Álvarez | |
2018-09-14 | Fix typo: s/unkown/unknown/ (missing 'n') | Daniel Holbert | |
2018-09-13 | Auto merge of #1384 - emilio:whitespace-comment, r=fitzgen | bors-servo | |
ir: Preserve better whitespace in comments. Fixes #1341. | |||
2018-09-10 | generate type alias for the `block` type | Flier Lu | |
2018-09-08 | ir: Preserve better whitespace in comments. | Emilio Cobos Álvarez | |
Fixes #1341. | |||
2018-09-04 | ir: Handle overflowing integer constant evaluation properly. | Emilio Cobos Álvarez | |
Fixes #1380 | |||
2018-08-29 | options: mark clang-args last | Symphorien Gibol | |
before, bindgen -- -I blah would try to open `-I` as a header file. | |||
2018-08-28 | Debug implementation: Don't use format! or String when core is enabled | chrysn | |
As --use-core is typically given when the wrapped library is to be used in a no_std environment, format! and String can not be used. This is a quick fix that will cause regressions in the quality of the debug output to users that use core but are not no_std, but enables the use of bindgen with implemented Debug traits to no_std users. Closes: https://github.com/rust-lang-nursery/rust-bindgen/issues/1100 | |||
2018-08-28 | Debug implementation: use core if selected | chrysn | |
Contributes-To: https://github.com/rust-lang-nursery/rust-bindgen/issues/1100 | |||
2018-08-24 | Don't generate a __bindgen_align field if we support repr(align). | Emilio Cobos Álvarez | |
2018-08-22 | Remove an out-of-date comment in RegexSet. | Sébastien Duquette | |
RegexSet uses regex::RegexSet internally since the commit linked below, which compiles the regexes together. https://github.com/rust-lang-nursery/rust-bindgen/commit/51f5162f250a5ec10bc5ba8b91b60b45762bc999 | |||
2018-08-19 | Not gnereate binding for variadic function with ms_abi | Jean-Philippe Dufraigne | |
rustc fail to compile variadic function with ms_abi: error[E0045]: variadic function must have C or cdecl calling convention As suggested in issue, this short term fix: not generate binding and emit a warning. Fixes #997 | |||
2018-08-17 | Change a call to add_item that was passing a NullCursor. | Sébastien Duquette | |
2018-08-14 | Auto merge of #1366 - gnzlbg:vec, r=emiliov0.38.0 | bors-servo | |
Map vector types to arrays and pass them by value This PR maps vector types to arrays and passes them by value (that is, they are passed to C as `[T; N]`. This already allows defining them as a blacklisted opaque type, such that the user can provide its own definition from e.g. `std::arch`. A subsequent PR should map vector types to unit structs with a private member: ```rust #[repr(align(16))] pub struct __m128([f32; 4]); ``` to make their alignment at least be correct. This should allow transmuting `std::arch` types to these types properly. Once that is done, we probably want to detect the canonical vector types (e.g. `__m128`) and pull in the type from `std`/`core`::arch instead. | |||
2018-08-14 | address review comments | gnzlbg | |
2018-08-14 | Minor stylistic nits after #1362. | Emilio Cobos Álvarez | |
2018-08-14 | address comments | Sébastien Duquette | |
2018-08-14 | Convert CodegenOptions to a bitfield. | Sébastien Duquette | |
2018-08-14 | map vector types to arrays and pass them by value | gnzlbg | |
2018-08-13 | Add ability to blacklist functions. | Emilio Cobos Álvarez | |
Fixes #1336 | |||
2018-07-30 | lib: Remove stale TODO. | Emilio Cobos Álvarez | |
2018-07-31 | Merge pull request #1351 from Imirsen/master. r=emilio | Emilio Cobos Álvarez | |
select cpp or c search paths based on clang args | |||
2018-07-30 | Minor cleanup after #1355. | Emilio Cobos Álvarez | |
2018-07-30 | Require TemplateParameters to be Sized. | Emilio Cobos Álvarez | |
To fix errors spawned since https://github.com/rust-lang/rust/issues/51443. | |||
2018-07-30 | Merge pull request #1355 from Lytigas/associated-duplicate-enum. r=emilio | Emilio Cobos Álvarez | |
Use associated constants for rust enums when available | |||
2018-07-29 | Use associated constants for rust enums when available | Josh Hejna | |
2018-07-29 | Improve error message when libclang fails | Joshua Liebow-Feeser | |
2018-07-26 | select cpp or c search paths based on clang args | Kevin Schmid | |
2018-07-11 | Merge pull request #1348 from tmfink/feature-refactor. r=emilio | Emilio Cobos Álvarez | |
Track Rust target features with declaration macro | |||
2018-07-06 | Track Rust target features with declaration macro | Travis Finkenauer | |
Eliminates the manual implementation of `From<RustTarget>` for `RustFeatures`. | |||
2018-07-05 | Fix integer_type to actually return integers all the time. | Emilio Cobos Álvarez | |
blob() does care about alignment, so we can get into an architecture where there are integers where size != align. This is a tentative fix for https://github.com/servo/servo/issues/21093, though as mentioned there I couldn't find a repro on my machine. | |||
2018-07-05 | ir: Don't assume wchar is 2 bytes. | Emilio Cobos Álvarez | |
Fixes #1345 | |||
2018-07-01 | codegen: Prevent unused_mut warnings, and fix formatting issues. | Emilio Cobos Álvarez | |
Followup to #1342 | |||
2018-06-28 | Fix bitfields on big-endian machines. | Petr Sumbera | |
Fixes #1340 | |||
2018-06-13 | Fix typos. | Bruce Mitchener | |
2018-06-04 | add --constified-enum to output consts when the default is changed | Daniel Brooks | |
2018-06-04 | remove unnecessary as_ref | Daniel Brooks | |
2018-06-04 | Rename from "enum variant" to "enum style" | Daniel Brooks | |
2018-06-03 | Add an option to set the default codegen style for all enums | Daniel Brooks | |
2018-06-01 | Fix typo in `clang_version` documentation | Charles Samborski | |
This is just a small PR to fix the "semvar" typo to "semver". | |||
2018-05-29 | Check if `clang_Type_getNumTemplateArguments` is loaded before use | Stephen Touset | |
2018-05-16 | Handle pointer constness at the right level. | Emilio Cobos Álvarez | |
2018-05-14 | ir: Make type parameters respect constness appropriately. | Emilio Cobos Álvarez | |
2018-05-14 | ir: Make Opaque types respect constness appropriately. | Emilio Cobos Álvarez | |
2018-05-14 | ir: Fix "this" argument generation to build a pointer to const, not a const ↵ | Emilio Cobos Álvarez | |
pointer. | |||
2018-05-10 | Canonicalize a type (pointer type) first before checking for constness | cynecx | |
2018-05-03 | lib: Add a more-convenient API to add multiple lines to the same module. | Emilio Cobos Álvarez | |