Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-01-29 | Auto merge of #456 - flier:zero-length-array, r=emilio | bors-servo | |
treat incomplete array as zero length array fix issue #455 | |||
2017-01-29 | extract unsafe ZeroedSizeArray trait | Flier Lu | |
2017-01-29 | more test cases for zero length array and incomplete array | Flier Lu | |
2017-01-28 | generate helper class to access incomplete array | Flier Lu | |
2017-01-28 | treat incomplete array as zero length array | Flier Lu | |
fix issue #455 | |||
2017-01-27 | Auto merge of #452 - emilio:dont-assert, r=fitzgenv0.20.5 | bors-servo | |
Remove recently-added assertion that can legitimately trigger This fails under BaseErrorResult in Stylo builds. I have no idea right now why that isn't whitelisted (should be, given we're calling it from TErrorResult's code generation). Let's disable this pending further investigation since I don't have time to dig into it right now. r? @fitzgen | |||
2017-01-27 | Remove recently-added assertion pending investigation. | Emilio Cobos Álvarez | |
This fails under BaseErrorResult in Stylo builds. I have no idea right now why that isn't whitelisted (should be, given we're calling it from TErrorResult's code generation). Let's disable this pending further investigation since I don't have time to dig into it right now. | |||
2017-01-27 | Auto merge of #451 - emilio:debug-opaque-types, r=emiliov0.20.4 | bors-servo | |
codegen: Derive stuff in forward declarations. So Rust is happy when you use them in template parameters, since the Derive implementations can't catch this otherwise. | |||
2017-01-27 | codegen: Derive stuff in forward declarations. | Emilio Cobos Álvarez | |
So Rust is happy when you use them in template parameters, since the Derive implementations can't catch this otherwise. | |||
2017-01-26 | Auto merge of #448 - fitzgen:trace-constructors, r=emilio | bors-servo | |
Trace constructors r? @emilio | |||
2017-01-26 | Assert that if we generating code for an item, than it is whitelisted | Nick Fitzgerald | |
This is a useful debugging tool for us to catch when code generation and whitelisting have different understandings of the world. | |||
2017-01-26 | Auto merge of #449 - fitzgen:fix-gitignore-and-cargo-locks, r=emilio | bors-servo | |
Fix .gitignore and extra crates' Cargo.lock files The leading ./ breaks git, apparently. At least, they were still showing up as untracked files when I did git status. r? @emilio or @Yamakaky | |||
2017-01-26 | Fix .gitignore and extra crates' Cargo.lock files | Nick Fitzgerald | |
The leading ./ breaks git, apparently. | |||
2017-01-26 | Trace constructors in CompInfo's TypeCollector impl | Nick Fitzgerald | |
Fixes #447 | |||
2017-01-26 | Auto merge of #444 - emilio:no-comments, r=fitzgen | bors-servo | |
codegen: Add an option to skip comment generation. This is mostly a work around https://github.com/servo/rust-bindgen/issues/426, until we implement the proper fix. r? @fitzgen | |||
2017-01-26 | ir: Allow whitelisting non-recursivelyv0.20.3 | Emilio Cobos Álvarez | |
Fixes #429 | |||
2017-01-26 | codegen: Add an option to skip comment generation. | Emilio Cobos Álvarez | |
This is mostly a work around https://github.com/servo/rust-bindgen/issues/426, until we implement the proper fix. | |||
2017-01-26 | Auto merge of #370 - cynicaldevil:detect-forward, r=emilio | bors-servo | |
Forward declared structs now generate opaque enums @emilio : I checked the test outputs again, and it seems that these changes are affecting struct *definitions* as well. Hence, I have not committed the test changes yet. Fixes #62 | |||
2017-01-26 | Added test for forward declared complex types | Nikhil Shagrithaya | |
2017-01-26 | Forward declared structs now generate opaque enums | Nikhil Shagrithaya | |
2017-01-25 | Auto merge of #441 - servo:dedup, r=emilio | bors-servo | |
Update quasi_codegen to 0.29 This avoids compiling two versions of some crates, which hopefully fixes tidy errors for https://github.com/servo/servo/pull/15216. | |||
2017-01-25 | Update quasi_codegen to 0.29 | Simon Sapin | |
This avoids compiling two versions of some crates. | |||
2017-01-25 | Auto merge of #438 - emilio:bump, r=fitzgen | bors-servo | |
Version bump, ignore expectations' Cargo.lock r? @fitzgen or @Yamakaky | |||
2017-01-25 | Version bump, ignore expectations' Cargo.lock | Emilio Cobos Álvarez | |
2017-01-24 | Auto merge of #437 - emilio:constify-all-enums, r=fitzgen | bors-servo | |
codegen: Respect original repr for bitfield-like enums, add a constifying variant. r? @fitzgen Fixes #430 | |||
2017-01-24 | Auto merge of #434 - emilio:no-derive-debug, r=fitzgen | bors-servo | |
Honor and expose the derive_debug option. Fixes #432 r? @fitzgen | |||
2017-01-24 | Auto merge of #436 - emilio:fix-ns-typedef, r=fitzgen | bors-servo | |
codegen: Fix typedef re-export in namespaces when bindings aren't at the root. | |||
2017-01-24 | Honor and expose the derive_debug option. | Emilio Cobos Álvarez | |
Fixes #432 | |||
2017-01-24 | codegen: Respect original repr for bitfield-like enums, add a constifying ↵ | Emilio Cobos Álvarez | |
variant. | |||
2017-01-24 | codegen: don't generate extra use statements for non-enums. | Emilio Cobos Álvarez | |
There's just no advantage in doing so. | |||
2017-01-24 | Make it work in rust stable, and incidentally fix #425 | Emilio Cobos Álvarez | |
The problem with #425 was the following: We were parsing the methods after reaching the JS::Value definition. Those methods contained a JSWhyMagic that we hadn't seen, so we parsed it as being in the JS:: module. | |||
2017-01-24 | codegen: Factor out some bits of root_import. | Emilio Cobos Álvarez | |
2017-01-24 | codegen: Fix typedef re-export in namespaces when bindings aren't at the root. | Emilio Cobos Álvarez | |
2017-01-24 | Auto merge of #435 - jethrogb:patch-1, r=emilio | bors-servo | |
Minor documentation changes | |||
2017-01-24 | Minor documentation changes | jethrogb | |
2017-01-23 | Auto merge of #423 - fitzgen:cargo-lock, r=emilio | bors-servo | |
Add Cargo.lock file Fixes #421 r? @emilio or @emilio | |||
2017-01-23 | Add Cargo.lock file | Nick Fitzgerald | |
2017-01-23 | Auto merge of #420 - pthariensflame:patch-1, r=emilio | bors-servo | |
Add missing highlighting language annotation | |||
2017-01-23 | Add missing highlighting language annotation | Alexander Altman | |
2017-01-23 | Auto merge of #419 - fitzgen:cargo-metadata, r=emilio | bors-servo | |
Small cargo and docs clean ups r? @emilio | |||
2017-01-23 | Expand documentation about C++ bindings generation | Nick Fitzgerald | |
2017-01-23 | Recommend using `bindgen` with build.rs in the README | Nick Fitzgerald | |
2017-01-23 | Update build instructions | Nick Fitzgerald | |
We don't need to separately build the library and the executable anymore. | |||
2017-01-23 | Update Cargo.toml metadata | Nick Fitzgerald | |
* Use the description from the README, it's a better description. * Add the "development-tools::ffi" category. * Add myself as an author ;) | |||
2017-01-23 | Auto merge of #418 - fitzgen:update-toc, r=emilio | bors-servo | |
Update toc r? @emilio | |||
2017-01-23 | Re-run doctoc to update README's table of contents | Nick Fitzgerald | |
2017-01-23 | Auto merge of #411 - fitzgen:js-value-and-js-why-magic, r=emilio | bors-servo | |
Trace methods in CompInfo's TypeCollector impl Fixes #410 r? @emilio | |||
2017-01-23 | Remove now unnecessary FIXME | Nick Fitzgerald | |
We trace all things in the vtable via tracing the base types. | |||
2017-01-23 | Move new test files out of libbindgen | Nick Fitzgerald | |
2017-01-23 | Trace all variants of TypeKind | Nick Fitzgerald | |