Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-10-21 | Auto merge of #66 - emilio:const-methods, r=nox | bors-servo | |
Take pointer constness into account, to fix generation of const methods. We signal method constness in the `this` pointer creating a `const` pointer, but the `to_rust_ty` implementation never checked that. | |||
2016-10-19 | Auto merge of #103 - emilio:const-enum-unnamed, r=fitzgen | bors-servo | |
codegen: Generate constants names for unnamed enums in classes. Fixes #84. cc @upsuper, sorry for not doing it before, I totally forgot about it. r? @fitzgen or @nox | |||
2016-10-19 | codegen: Generate constants names for unnamed enums in classes. | Emilio Cobos Álvarez | |
2016-10-19 | Auto merge of #100 - fitzgen:more-testing-stuff, r=emilio | bors-servo | |
More testing and test infrastructure stuff See individual commit messages for details. Fixes #97 r? @emilio | |||
2016-10-19 | Auto merge of #102 - emilio:docs-for-real, r=fitzgen | bors-servo | |
ir: Nitpicks of the last docs review that I forgot to push. I forgot to push when I r=fitzgen in #99. | |||
2016-10-19 | ir: Nitpicks of the last docs review that I forgot to push. | Emilio Cobos Álvarez | |
I forgot to push when I r=fitzgen in #99. | |||
2016-10-19 | Auto merge of #99 - emilio:docs-for-real, r=fitzgen | bors-servo | |
ir: A bit more documentation and cleanup in parts of the `ir` module. r? @fitzgen or @nox | |||
2016-10-18 | Ensure that the bindgen executable is up-to-date when we run tests | Nick Fitzgerald | |
2016-10-18 | Allow test headers to supply required bindgen features | Nick Fitzgerald | |
This adds the ability for tests to supply required features, and if the bindgen we're testing was not built with those features, then the test will be skipped. The syntax used to require features is like this: // bindgen-features: llvm_stable some_experiment another | |||
2016-10-18 | Rewrite tests/tools/run-bindgen.py | Nick Fitzgerald | |
Changes include: * Using argparse for argument parsing. This will help when extending the script to skip tests that will only pass when --features llvm_stable is used to build bindgen. * Pulling out all the various steps of the script into helper functions that are easier to digest at a glance, and have docstrings describing their role in the script. * Printing diffs between expected and actual generated bindings rather than the full source text of each. | |||
2016-10-18 | ir: A bit more documentation in parts of the `ir` module. | Emilio Cobos Álvarez | |
2016-10-18 | Auto merge of #98 - fitzgen:python-4-space, r=emilio | bors-servo | |
Use 4 space indentation in run-bindgen.py Python style (PEP8) is 4 space indentation, and you'll be hard pressed to find anything else in the python community. We should match up with expectations, editor defaults, etc. r? @emilio | |||
2016-10-18 | Use 4 space indentation in run-bindgen.py | Nick Fitzgerald | |
Python style (PEP8) is 4 space indentation, and you'll be hard pressed to find anything else in the python community. We should match up with expectations, editor defaults, etc. | |||
2016-10-18 | Auto merge of #95 - fitzgen:cargo-test, r=emilio | bors-servo | |
Make `cargo test` work Fixes #51. r? @emilio | |||
2016-10-18 | Call tests/tools/run-bindgen.py from `cargo test` | Nick Fitzgerald | |
Fixes #51 | |||
2016-10-18 | Make tests/tools/run-bindgen.py check expectations if the rust path already ↵ | Nick Fitzgerald | |
exists | |||
2016-10-18 | Ignore doctests that are really C++ code samples, or aren't meant to run | Nick Fitzgerald | |
2016-10-18 | Remove old tests that no longer build and run | Nick Fitzgerald | |
2016-10-18 | Auto merge of #85 - emilio:template-alias, r=nox | bors-servo | |
Handle templated aliases. Fixes #83. cc @fitzgen r? @nox | |||
2016-10-18 | ir: Test on typedefs also for template parameters that are transitively ↵ | Emilio Cobos Álvarez | |
applicable before discarding them. | |||
2016-10-18 | ir: Potential fix for bogus name aliases when combined with #83. | Emilio Cobos Álvarez | |
2016-10-18 | ir: Clarify comment on empty `base_name` in `canonical_name`. | Emilio Cobos Álvarez | |
2016-10-18 | Tests | Emilio Cobos Álvarez | |
2016-10-18 | ir: Add a few edge cases discovered by testing. | Emilio Cobos Álvarez | |
2016-10-18 | ir: Handle templated aliases. | Emilio Cobos Álvarez | |
2016-10-18 | clangll: Add missing cursor types. | Emilio Cobos Álvarez | |
2016-10-18 | Auto merge of #82 - emilio:double-replace, r=nox | bors-servo | |
item: Consider replaced items hidden. Fixes #81 r? @nox | |||
2016-10-16 | Auto merge of #91 - mgjc:remove-typeresolver, r=emilio | bors-servo | |
Removed TypeResolver Hope you like it. | |||
2016-10-17 | Removed TypeResolver | mgjc | |
2016-10-13 | item: Consider replaced items hidden. | Emilio Cobos Álvarez | |
2016-10-12 | Auto merge of #79 - fitzgen:remove-usage-for-flags-that-no-longer-exist, ↵ | bors-servo | |
r=emilio Remove usage for flags that no longer exist r? @emilio | |||
2016-10-12 | Be consistent with blank lines in USAGE | Nick Fitzgerald | |
Most flags have a blank line between them, but some did not. Now they all do. | |||
2016-10-12 | Remove the --allow-unknown-types flag from USAGE | Nick Fitzgerald | |
The flag is no longer used since the bindgen rewrite. | |||
2016-10-07 | Auto merge of #77 - jdub:more-bindgen-builder-functions, r=emilio | bors-servo | |
More bindgen builder functions | |||
2016-10-08 | Avoid spurious allocations, thanks to @emilio | Jeff Waugh | |
2016-10-08 | Builder::whitelisted_type() | Jeff Waugh | |
2016-10-07 | Auto merge of #76 - jdub:make-bindgen-builder-great-again, r=emilio | bors-servo | |
Fix lifetime issues with buildgen::builder() I switched to the consuming builder pattern, as that seemed the easiest, and ditched the phantom markers while I was at it. | |||
2016-10-08 | Builder::whitelisted_var() | Jeff Waugh | |
2016-10-08 | Builder::whitelisted_function() | Jeff Waugh | |
2016-10-07 | Fix lifetime issues with buildgen::builder() | Jeff Waugh | |
I switched to the consuming builder pattern, as that seemed the easiest, and ditched the phantom markers while I was at it. | |||
2016-10-04 | Auto merge of #74 - servo:int, r=emilio | bors-servo | |
Parse negative integers appropriately Instead of parsing a token at some specified index, we can parse the immediately found literal. Also, this allows negative integers to be parsed as `c_int`s (which is required for some of the constants). | |||
2016-10-04 | Add test for 'int' in whitelist_vars and regen test expectations | Ravi Shankar | |
2016-10-03 | Parse negative integers appropriately | Ravi Shankar | |
2016-10-02 | Auto merge of #71 - emilio:vector, r=nox | bors-servo | |
Stub Vector types with arrays. Fixes https://github.com/servo/servo/issues/13540 r? @nox | |||
2016-10-02 | Stub Vector types with arrays. | Emilio Cobos Álvarez | |
2016-09-29 | Auto merge of #69 - upsuper:mangling-tpl-member, r=emilio | bors-servo | |
Avoid mangling name for tpl class member. Fix #68 Not sure whether it is the right thing to do. | |||
2016-09-29 | Avoid mangling name for tpl class member. Fix #68 | Xidorn Quan | |
2016-09-27 | Take pointer constness into account, to fix generation of const methods. | Emilio Cobos Álvarez | |
2016-09-27 | Auto merge of #65 - emilio:port-docs, r=metajack | bors-servo | |
Add documentation for building with ports and LLVM 3.9 Fixes #64. | |||
2016-09-27 | Add documentation for building with ports and LLVM 3.9 | Emilio Cobos Álvarez | |
Fixes #64. |