summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-24Version bump.v0.39.0Emilio Cobos Álvarez
2018-08-24Don't generate a __bindgen_align field if we support repr(align).Emilio Cobos Álvarez
2018-08-22Remove 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-19Auto merge of #1369 - jeanphilippeD:abi-variadic-997, r=emiliobors-servo
Not gnereate binding for variadic function with ms_abi 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-19Not gnereate binding for variadic function with ms_abiJean-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-18Auto merge of #1368 - ekse:null-cursor, r=emiliobors-servo
Change a call to add_item that was passing a NullCursor. As a first step for issue #119, I modified the only call where we created a NullCursor to pass a None instead.
2018-08-17Change a call to add_item that was passing a NullCursor.Sébastien Duquette
2018-08-14Auto merge of #1366 - gnzlbg:vec, r=emiliov0.38.0bors-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-14address review commentsgnzlbg
2018-08-14Minor stylistic nits after #1362.Emilio Cobos Álvarez
2018-08-14address commentsSébastien Duquette
2018-08-14Convert CodegenOptions to a bitfield.Sébastien Duquette
2018-08-14map vector types to arrays and pass them by valuegnzlbg
2018-08-14add more vector testsgnzlbg
2018-08-13Auto merge of #1364 - emilio:blacklist-fun, r=pepyakinbors-servo
Add ability to blacklist functions. Fixes #1336
2018-08-13Fix a pre-existing failing test?Emilio Cobos Álvarez
2018-08-13Unrelated test updates due to new rustfmt.Emilio Cobos Álvarez
2018-08-13Add ability to blacklist functions.Emilio Cobos Álvarez
Fixes #1336
2018-07-30lib: Remove stale TODO.Emilio Cobos Álvarez
2018-07-31Merge pull request #1351 from Imirsen/master. r=emilioEmilio Cobos Álvarez
select cpp or c search paths based on clang args
2018-07-30Add a test for dupe enums and namespaces.Emilio Cobos Álvarez
I feared that this might fail, but it doesn't! :)
2018-07-30Minor cleanup after #1355.Emilio Cobos Álvarez
2018-07-30Require TemplateParameters to be Sized.Emilio Cobos Álvarez
To fix errors spawned since https://github.com/rust-lang/rust/issues/51443.
2018-07-30Merge pull request #1355 from Lytigas/associated-duplicate-enum. r=emilioEmilio Cobos Álvarez
Use associated constants for rust enums when available
2018-07-30Merge pull request #1356 from Lytigas/fix-bindgen-args. r=emilioEmilio Cobos Álvarez
Quote regexes in test headers
2018-07-30Merge pull request #1354 from joshlf/master. r=emilioEmilio Cobos Álvarez
Improve error message when libclang fails
2018-07-29Use associated constants for rust enums when availableJosh Hejna
2018-07-29Quote regexes in test headersJosh Hejna
When using test-one.sh, unquoted wildcards are expanded by the shell, resulting in failing tests.
2018-07-29Improve error message when libclang failsJoshua Liebow-Feeser
2018-07-26select cpp or c search paths based on clang argsKevin Schmid
2018-07-11Merge pull request #1348 from tmfink/feature-refactor. r=emilioEmilio Cobos Álvarez
Track Rust target features with declaration macro
2018-07-10Merge pull request #1347 from dwijnand/fix-licenseEmilio Cobos Álvarez
Regenerates the BSD3 License so GitHub recognises it
2018-07-06Track Rust target features with declaration macroTravis Finkenauer
Eliminates the manual implementation of `From<RustTarget>` for `RustFeatures`.
2018-07-06Auto merge of #1339 - emilio:bitfield-int, r=fitzgenbors-servo
Fix integer_type to actually return integers all the time. 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 servo/servo#21093, though as mentioned there I couldn't find a repro on my machine.
2018-07-06Auto merge of #1346 - emilio:wchar, r=fitzgenbors-servo
ir: Don't assume wchar is 2 bytes. Fixes #1345
2018-07-05Regenerates the BSD3 License so GitHub recognises itDale Wijnand
2018-07-05Fix 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-05ir: Don't assume wchar is 2 bytes.Emilio Cobos Álvarez
Fixes #1345
2018-07-01Auto merge of #1343 - emilio:fixup, r=upsuperv0.37.4bors-servo
codegen: Allow unused_mut to prevent warnings on little-endian machines. And fixup whitespace. This is a followup #1342.
2018-07-01Bump version.Emilio Cobos Álvarez
2018-07-01Update test expectations.Emilio Cobos Álvarez
2018-07-01codegen: Prevent unused_mut warnings, and fix formatting issues.Emilio Cobos Álvarez
Followup to #1342
2018-07-01Bump version.v0.37.3Emilio Cobos Álvarez
2018-07-01Auto merge of #1342 - psumbera:master, r=emiliobors-servo
Fix bitfields on big-endian machines. Fixes #1340
2018-07-01Update test expectations.Emilio Cobos Álvarez
2018-06-28Fix bitfields on big-endian machines.Petr Sumbera
Fixes #1340
2018-06-17Auto merge of #1335 - emilio:libclang-up, r=pepyakinbors-servo
Bump libclang. Fixes #1276
2018-06-16Bump libclang.Emilio Cobos Álvarez
Fixes #1276
2018-06-13Auto merge of #1330 - waywardmonkeys:fix-typos, r=emiliobors-servo
Fix typos. This does change a struct field and a couple of functions, but I don't believe that those are publicly exposed.
2018-06-13Fix typos.Bruce Mitchener