summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-29lib: Fix msrv build.Emilio Cobos Álvarez
error[E0277]: the trait bound `std::string::String: std::convert::From<&std::string::String>` is not satisfied --> src/lib.rs:460:37 | 460 | output_vector.push(line.into()); | ^^^^ the trait `std::convert::From<&std::string::String>` is not implemented for `std::string::String`
2020-06-29Properly shell quote flags in test outputTravis Finkenauer
2020-06-29Simplify multiple headers testTravis Finkenauer
Ensure that we try to generate() the test Builder. Remove unnecessary reserve() optimization.
2020-06-29Handle multiple headers for command_line_flags()Travis Finkenauer
Output from Builder::command_line_flags() would fail if more than one header were provided. This adds extra headers via the '-include' clang option.
2020-06-29lib: Stop using count() to do for loops.Emilio Cobos Álvarez
This itched me when reviewing #1816. Seems easier to switch those to loop over `get_items()`, but this patch also deduplicates the code a bit, because all that copy-pasta was also itching me. These flags don't have ordering dependencies, so the result builder should be equivalent.
2020-06-29Update some docs that are not changelogsDarren Kulp
2020-06-29Emit bindgen version in generated headerDarren Kulp
Update expectations
2020-06-29Disable generated comment in expectations testDarren Kulp
2020-06-29Add option to disable generated header commentDarren Kulp
2020-06-29Run `cargo +nightly fmt` on expectationsDarren Kulp
Impending overwrites to expectations should be as simple and regular as possible, so get the formatting done here.
2020-06-29Output clang args after '--'Travis Finkenauer
For command_line_flags(), some arguments (like '--no-record-matches') were added after '--'. The bindgen program would interpret these as clang args.
2020-06-22Respect changes to BINDGEN_EXTRA_CLANG_ARGSDarren Kulp
2020-06-22build: move the rebuild dependencies to somewhere where they don't seem test ↵Emilio Cobos Álvarez
specific.
2020-06-22Rebuild when clang_sys environment changesDarren Kulp
2020-06-21Introduce tests for functional macrosDarren Kulp
2020-06-21Generate func_macro callbacksDarren Kulp
2020-06-21Introduce func_macro to ParseCallbacks traitDarren Kulp
2020-06-21Introduce is_macro_function_likeDarren Kulp
2020-06-21Introduce extent to ClangTokenDarren Kulp
2020-06-20Permit IntKind::Custom to represent Paths instead of just Idents (#1800)Emilio Cobos Álvarez
2020-06-19Reorder jobs to reduce total runtimeDarren Kulp
2020-06-19Remove webhook that 404'sDarren Kulp
2020-06-19Remove reference to nonexistent jobDarren Kulp
2020-06-19Correct copy-paste error duplicating 5.0 configDarren Kulp
libclang versions before 5.0 need our `runtime` feature enabled, so that we do not suffer a link-time failure when not finding symbols that appeared only in newer libclang versions.
2020-06-15Refined test to verify type of resulting integerAlan Egerton
2020-06-15Added testsAlan Egerton
2020-06-15Permit IntKind::Custom to represent Paths instead of just IdentsAlan Egerton
2020-06-15Derive traits for newtype aliases (#1802)eggyal
2020-06-15tests: Fix rustfmt check to allow for RUSTFMT env vars.Emilio Cobos Álvarez
2020-06-15ci: always try to find a nightly toolchain with rustfmt.Emilio Cobos Álvarez
2020-06-12Fix regex to be marked opaqueYisu Rem Wang
While `std::*` makes informal sense, the user may be mislead into calling `opaque_type("std::*")` instead of the correct `opaque_type("std::.*")` (as I was).
2020-06-08Remove unused Token definition.Emilio Cobos Álvarez
2020-06-08Mangle items with the same name as Rust primitive typeskellda
2020-06-08Document environment variables in READMETravis Finkenauer
Mention BINDGEN_EXTRA_CLANG_ARGS and clang-sys variables.
2020-06-07Fix warning introduced in recent objective-c work.Emilio Cobos Álvarez
2020-06-05Document BINDGEN_EXTRA_CLANG_ARGS env variableTravis Finkenauer
Feature was originally introduced in pull-request #1537
2020-05-21Document the 0.53.3 release.Emilio Cobos Álvarez
2020-05-21Release 0.54.0.v0.54.0Emilio Cobos Álvarez
2020-05-18add command-line option for disabling untagged unionsNathan Froyd
One more thing that we can configure from the command line.
2020-05-14ir: Fall back to get the cursors from the type if we find no param decls.Emilio Cobos Álvarez
It seems libclang sometimes doesn't expose the right paramdecl cursors. This should be reported upstream, but it's easy enough to workaround. It loses the parameter names which is a bit unfortunate but... Fixes #1778
2020-05-12Merge pull request #1750 from simlay/objc-inheritanceEmilio Cobos Álvarez
Objective-c inheritance support
2020-05-11Added inheritance to objective-c support.Sebastian Imlay
2020-05-05Merge pull request #1775 from immunant/blacklist_method_implEmilio Cobos Álvarez
Do not emit Rust method wrapper for blacklisted functions
2020-05-04Add testStephen Crane
2020-05-04Do not emit Rust method wrapper for blacklisted functionsStephen Crane
We should not emit Rust struct methods corresponding to a C++ method unless we are actually emitting a binding for that method.
2020-05-03Upgrade to 2018 edition (#1769)Emilio Cobos Álvarez
2020-05-03Update requirements.mdMossa Merhi Reimert
I was having trouble figuring out how to install Clang for bindgen, and this helped right away.
2020-04-27Run `cargo fmt`Joshua Nelson
2020-04-27Upgrade to 2018 editionJoshua Nelson
2020-04-27Run `cargo fix --edition`Joshua Nelson