summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-11-10Add tests for renamed structure itemsSébastien Duquette
2018-11-10Add integration testsSébastien Duquette
2018-11-10Add item_name parse callback.Sébastien Duquette
2018-11-10Auto merge of #1437 - j-channings:master, r=emiliobors-servo
Fix Builder::command_line_args() --generate typo Looks like the accepted argument has always been "functions", and this output has always been "function".
2018-11-09Fix unit tests for `--generate functions` argJosh Channings
2018-11-08Fix Builder::command_line_args() --generate typoJosh Channings
Looks like the accepted argument has always been "functions", and this output has always been "function".
2018-11-07Auto merge of #1432 - fitzgen:patch-1, r=emiliobors-servo
Met @pepyakin in person for the first time last night! Unfortunately … …they don't have time for bindgen anymore r? @pepyakin
2018-11-07Auto merge of #1436 - sanxiyn:canonical-path, r=emiliobors-servo
Use canonical path for type alias loop detection Fix #1435
2018-11-07Use canonical path for type alias loop detectionSeo Sanghyeon
2018-11-05Auto merge of #1434 - emilio:attr-overloadable, r=emiliobors-servo
codegen: Make the mangling name check work in presence of attribute(overloadable). Fixes #1350
2018-11-06codegen: Make the mangling name check work in presence of ↵Emilio Cobos Álvarez
attribute(overloadable). Fixes #1350
2018-10-31Met @pepyakin in person for the first time last night! Unfortunately they ↵Nick Fitzgerald
don't have time for bindgen anymore r? @pepyakin
2018-10-28Auto merge of #1430 - emilio:implicit-template-params, r=emiliov0.43.1bors-servo
ir: Consistently append implicit template parameters when not using Rust unions. Fixes #1429.
2018-10-29ir: Consistently append implicit template parameters when not using Rust unions.Emilio Cobos Álvarez
Fixes #1429.
2018-10-22Version bump, plus actually bump the required cexpr version.v0.43.0Emilio Cobos Álvarez
2018-10-22codegen: Teach bindgen to respect constness of statics.Emilio Cobos Álvarez
2018-10-18Auto merge of #1425 - emilio:cexpr-up, r=emiliov0.42.3bors-servo
Update cexpr. Fixes #1424.
2018-10-19Update version.Emilio Cobos Álvarez
2018-10-19Update cexpr.Emilio Cobos Álvarez
Fixes #1424.
2018-10-19tests: Add test coverage for #1424.Emilio Cobos Álvarez
2018-10-13Auto merge of #1420 - jcreedcmu:jcreed/blacklist-identifier, r=emiliobors-servo
Re-add ability to blacklist arbitrary identifiers (regardless of which sort of Item they are) @emilio how about this? If you're trying to move away from allowing `Item`-type-independent blacklisting on purpose, I'd understand, but this seemed like the easiest fix to let remacs bump their bindgen version up to master. I also considered adding a `blacklisting_callback` that let the caller supply a `fn (item: &Item) -> bool` to blacklist however they want, but it seemed somewhat unpleasant to make the client recapitulate the whole build-up-a-vector-of-strings-and-map-over-them-checking-if-they-match-as-regexes that bindgen is already supplying.
2018-10-13Update bindgen version in tutorial.Bacon
2018-10-13Make blacklist-item.hpp test clearerJason Reed
2018-10-13Changed 'identifier' to 'item', added c++ testJason Reed
2018-10-12Re-add ability to blacklist arbitrary identifiersJason Reed
(regardless of which sort of Item they are)
2018-10-11Minor cleanup after #1419.v0.42.2Emilio Cobos Álvarez
The previous PR ended up with a lot of just-called-once methods. Just inline them since they're confusing otherwise. Also avoid testing all the variants of an enum if there was a match already, or if the enum is not anonymous. This is mostly a minor optimization.
2018-10-11Auto merge of #1419 - emilio:constified-enum-default, r=emiliobors-servo
ir: Ensure everything agrees in which kind of variation an enum generates. Fixes #1418.
2018-10-11Version bump.Emilio Cobos Álvarez
2018-10-11ir: Ensure everything agrees in which kind of variation an enum generates.Emilio Cobos Álvarez
2018-10-08Auto merge of #1415 - emilio:clang-sys-up, r=emiliov0.42.1bors-servo
Update clang-sys.
2018-10-08Update clang-sys.Emilio Cobos Álvarez
2018-10-07Auto merge of #1413 - emilio:be-tests, r=emiliobors-servo
Skip bitfield unit tests on big-endian platforms. Fixes #1412.
2018-10-07Skip bitfield unit tests on big-endian platforms.Emilio Cobos Álvarez
Fixes #1412.
2018-10-04Auto merge of #1410 - emilio:unbreak-osx-stuff, r=emiliov0.42.0bors-servo
Puts blocks behind a switch. Since #1378 broke a bunch of OSX builds. Most people don't care about them and they're in some OSX system headers which means that this could break normal C and C++ stuff. This introduces --generate-block / generate_block to generate these signatures, and adds tests so that this is getting tested.
2018-10-04Version bump.Emilio Cobos Álvarez
2018-10-04Puts blocks behind a switch.Emilio Cobos Álvarez
Since #1378 broke a bunch of OSX builds. Most people don't care about them and they're in some OSX system headers which means that this could break normal C and C++ stuff. This introduces --generate-block / generate_block to generate these signatures, and adds tests so that this is getting tested.
2018-10-04Auto merge of #1408 - emilio:update-some-crates, r=emiliobors-servo
Update some crates This lands #1390 with some test fixes and a clang-sys update. Part of #1407. Closes #1390.
2018-10-04Update clang-sys.Emilio Cobos Álvarez
2018-10-04Update bogus tests that relied on some sort of quirk revealed by the nom update.Emilio Cobos Álvarez
2018-10-04Update cexpr dependencykpcyrd
2018-10-01ir: Fix tabs in context.rs.Emilio Cobos Álvarez
2018-10-01Auto merge of #1405 - WizardOfArc:ISSUE_1399/add_async_to_rust_mangle, r=emiliobors-servo
adds 'async' to list of matches in 'rust_mangle' r? @emilio I'll need to install `rustfmt` before I do anything more elaborate
2018-10-01adds 'async' to list of matches in 'rust_mangle'Azi Crawford
2018-09-30v0.41.0v0.41.0Emilio Cobos Álvarez
2018-09-30Auto merge of #1404 - auscompgeek:fix-args-are-cpp, r=emiliobors-servo
Fix args_are_cpp to look for -x without = Clang doesn't allow `=` between `-x` and the language name.
2018-09-30Fix args_are_cpp to look for -x without =David Vo
Clang doesn't allow `=` between `-x` and the language name.
2018-09-28Auto merge of #1403 - emilio:call-conv-madness, r=fitzgenbors-servo
A better fix for the calling convention madness. See the commit message for details.
2018-09-26A better fix for the calling convention madness.Emilio Cobos Álvarez
Seems like a better fix, which allows us to preserve typedefs properly, and also to find the calling convention. Fixes #1402.
2018-09-26Better detect effective target.Emilio Cobos Álvarez
I just realized that we don't really check for this but that clang does.
2018-09-25Back out changesjkozlowski