Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-04 | integration: Fix integration tests with rust 1.33.v0.48.0 | Emilio Cobos Álvarez | |
Alignment arrays are not needed anymore, since we have repr(align). | |||
2019-03-04 | codegen: Properly track alignment of unions. | Emilio Cobos Álvarez | |
This makes us not unnecessarily add repr(align) to unions. Closes #1498. | |||
2019-03-04 | Update default rust target to 1.33. | Emilio Cobos Álvarez | |
Closes #1529. | |||
2019-02-25 | Allow to use which 1.0.v0.47.3 | Emilio Cobos Álvarez | |
It builds fine, and works around backtrace not building in aarch64. https://github.com/alexcrichton/backtrace-rs/issues/160 | |||
2019-02-23 | Merge pull request #1525 from emilio/llvm-bug-workaroundv0.47.2 | Emilio Cobos Álvarez | |
Work-around https://bugs.llvm.org/show_bug.cgi?id=40813. | |||
2019-02-22 | Bump version. | Emilio Cobos Álvarez | |
2019-02-22 | Work-around https://bugs.llvm.org/show_bug.cgi?id=40813. | Emilio Cobos Álvarez | |
This fixes a crash when using non-deductible auto types. | |||
2019-02-11 | Merge pull request #1519 from flier/fix-one-argument-block-pointer | Emilio Cobos Álvarez | |
fix one argument block pointer issue, #1378 | |||
2019-02-11 | fix one argument block pointer issue, #1378 | Flier Lu | |
2019-02-05 | Merge pull request #1517 from Niederb/small-tutorial-fix | Emilio Cobos Álvarez | |
Small fix in tutorial | |||
2019-02-05 | Small fix in tutorial | Thomas Niederberger | |
2019-02-04 | Merge pull request #1515 from emilio/implicit-base | Emilio Cobos Álvarez | |
codegen: Append implicit template parameters to base members. | |||
2019-02-04 | codegen: Append implicit template parameters to base members. | Emilio Cobos Álvarez | |
Fixes #1514 | |||
2019-02-03 | Merge pull request #1508 from flowbish/function_ptr_return_type | Emilio Cobos Álvarez | |
Add an alternate path determining the arguments for a function. | |||
2019-02-03 | Rework the way that argument types and names are found from function signatures. | Porter Smith | |
This fixes the issue seen in #1500 where function pointers as a return type have their parameters incorrectly generated. This also fixes a broken test case, objc_property_fnptr, as its types are now generated correctly. | |||
2019-02-03 | Merge pull request #1513 from emilio/issue-1464 | Emilio Cobos Álvarez | |
ir: Ignore constructors with bogus spellings. | |||
2019-02-03 | ir: Ignore constructors with bogus spellings. | Emilio Cobos Álvarez | |
2019-02-03 | fuzzing: Add a --release flag to the predicate script. | Emilio Cobos Álvarez | |
When you're not testing for debug assertions this is much faster. | |||
2019-01-29 | Merge pull request #1505 from emilio/revert-clang-sys-upv0.47.1 | Emilio Cobos Álvarez | |
Revert #1489. | |||
2019-01-29 | Version bump. | Emilio Cobos Álvarez | |
2019-01-27 | Revert "Merge pull request #1489 from KyleMayes/clang-sys" | Emilio Cobos Álvarez | |
This reverts commit 0d004a726d932cec27d94499e48bc7e3943cb457, reversing changes made to 2a01e8d499d71e596e4b02f8fd6897f061405e1a. | |||
2019-01-25 | Merge pull request #1501 from luser/better-missing-rustfmt-error | Emilio Cobos Álvarez | |
Produce a more useful error message when rustfmt can't be found. Fixes #1205 | |||
2019-01-25 | Produce a more useful error message when rustfmt can't be found. Fixes #1205 | Ted Mielczarek | |
Prior to this change bindgen would simply print any error that occurred while attempting to run rustfmt straight to stderr using fmt::Debug. Combined with the fact that rustfmt is enabled by default now this meant that if rustfmt was missing or not working a cryptic error would be printed. | |||
2019-01-25 | Fix gitignore so ripgrep works | Ted Mielczarek | |
ripgrep was failing to search in the bindgen repo: ``` ./.gitignore: line 19: error parsing glob '**.orig': invalid use of **; must be one path component ``` Per the gitignore docs it seems like ripgrep is correct and this line is invalid: https://git-scm.com/docs/gitignore#_pattern_format | |||
2019-01-19 | Bump version and update changelog.v0.47.0 | Emilio Cobos Álvarez | |
2019-01-18 | Merge pull request #1495 from tromey/packed-only-vtable | Emilio Cobos Álvarez | |
Fix layout with packed class that only has a vtable | |||
2019-01-18 | Fix layout with packed class that only has a vtable | Tom Tromey | |
I noticed that a `#pragma packed` class that has only a vtable but no data members is not marked repr(packed). The bug is that is_packed examines data members but not the vtable when applying its heuristic. | |||
2019-01-18 | Merge pull request #1494 from Ameobea/master | Emilio Cobos Álvarez | |
Fix book links when viewing via Github | |||
2019-01-17 | Fix book links when viewing via Github | Casey Primozic | |
* Some pages of the book's documentation markdown pages used `.html` in their links rather than `.md`. This evidently works with `mdBook`, but fails when viewing the pages of the book from the Github source tree. * The `.html` links were replaced with `.md` to fix this. | |||
2019-01-17 | Merge pull request #1486 from LegNeato/test_record | Emilio Cobos Álvarez | |
Add `BINDGEN_OVERWRITE_EXPECTED` for recording tests | |||
2019-01-16 | Add `BINDGEN_OVERWRITE_EXPECTED` for recording tests | Christian Legnitto | |
Currently when tests are run all expectations are overwritten. This makes it hard to debug a failing test, as every time one reruns `cargo test` the expectation is updated and subsequently passes. With this change we now check the `BINDGEN_OVERWRITE_EXPECTED` env variable. If set, we overwrite the expectation. If not, the contents stay the same and the test continues to fail. | |||
2019-01-16 | Document some macros. | Emilio Cobos Álvarez | |
2019-01-16 | Merge pull request #1489 from KyleMayes/clang-sys | Emilio Cobos Álvarez | |
Update clang-sys | |||
2019-01-12 | Update clang-sys | Kyle Mayes | |
2019-01-08 | Merge pull request #1485 from LegNeato/packed | Emilio Cobos Álvarez | |
Support #[repr(packed(N))] on Rust 1.33+ | |||
2019-01-08 | Support #[repr(packed(N))] on Rust 1.33+ | Christian Legnitto | |
Fixes https://github.com/rust-lang/rust-bindgen/issues/537. | |||
2019-01-07 | Merge pull request #1484 from LegNeato/patch-1 | Emilio Cobos Álvarez | |
Update changelog for #[repr(transparent)] change | |||
2019-01-04 | Update changelog for #[repr(transparent)] change | Christian Legnitto | |
2019-01-04 | Merge pull request #1483 from LegNeato/repr_transparent | Emilio Cobos Álvarez | |
Bitfield enums use #[repr(transparent)] on Rust 1.28+ | |||
2019-01-03 | Bitfield enums use #[repr(transparent)] on Rust 1.28+ | Christian Legnitto | |
Fixes https://github.com/rust-lang/rust-bindgen/issues/1474. | |||
2019-01-02 | Merge pull request #1482 from LegNeato/fix_deprecations | Emilio Cobos Álvarez | |
Remove deprecated calls to trim_(right|left)_matches | |||
2019-01-01 | Remove deprecated calls to trim_(right|left)_matches | Christian Legnitto | |
Fixes https://github.com/rust-lang/rust-bindgen/issues/1480 | |||
2018-12-30 | Merge pull request #1479 from emilio/libclang-path-log | Emilio Cobos Álvarez | |
Log the libclang path. | |||
2018-12-30 | Log the libclang path. | Emilio Cobos Álvarez | |
2018-12-29 | Version bump.v0.46.0 | Emilio Cobos Álvarez | |
2018-12-29 | Merge pull request #1473 from emilio/hash | Emilio Cobos Álvarez | |
Some perf tweaks | |||
2018-12-29 | Merge pull request #1477 from emilio/zsa-align | Emilio Cobos Álvarez | |
codegen: Make zero-sized arrays affect alignment. | |||
2018-12-28 | codegen: Make zero-sized arrays affect alignment. | Emilio Cobos Álvarez | |
Fixes #684 | |||
2018-12-28 | Merge pull request #1476 from emilio/ctypes-ident | Emilio Cobos Álvarez | |
codegen: ctypes_prefix may not be an ident. | |||
2018-12-28 | codegen: ctypes_prefix may not be an ident. | Emilio Cobos Álvarez | |
This fixes a panic uncovered by the proc_macro update, which validates idents now. We were using it as a pretty crappy way to turn it into something that could be turned into a TokenStream. But TokenStream implements FromStr now. |