Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-17 | Make opaque items with themplate parameters generate a struct. | Emilio Cobos Álvarez | |
They're instantiable, yes, but otherwise there's no way they'd work correctly. | |||
2016-05-07 | gen: Remove spurious phantom types | Emilio Cobos Álvarez | |
2016-05-07 | parser: Fix some replacement edge cases | Emilio Cobos Álvarez | |
That ofc appeared on Gecko... | |||
2016-05-07 | parser: Take into account CompDecls with translations. | Emilio Cobos Álvarez | |
Those are generally just-declared types, and wasn't being translated yet. | |||
2016-05-05 | Replace types eagerly so the calculations we do in `gen` take the ↵ | Emilio Cobos Álvarez | |
replacement into account. | |||
2016-05-05 | parser: Whoops, forgot to add the same-name condition | Emilio Cobos Álvarez | |
2016-05-05 | parser: Extend the previous awful hack to cover stylo needs | Emilio Cobos Álvarez | |
2016-05-04 | c++: Detect an inner class declaration with the same name in a composite | Emilio Cobos Álvarez | |
2016-05-04 | Wrap C++ `mutable` types in rust *Cells | Emilio Cobos Álvarez | |
2016-04-30 | gen: Derive Eq, PartialEq and Hash for enums. | Emilio Cobos Álvarez | |
2016-04-16 | parser: fix some bugs regarding the copiability of objects | Emilio Cobos Álvarez | |
2016-04-16 | Refactor how template specialisations are tracked to prevent borrow panics | Emilio Cobos Álvarez | |
2016-04-16 | types: Fix can_derive_copy() in edge cases | Emilio Cobos Álvarez | |
2016-04-16 | gen: Derive Copy for templates that allow it | Emilio Cobos Álvarez | |
It broke for arrays if we try to do it by default, but this seems to work pretty well. | |||
2016-04-16 | tests: Add allow(non_snake_case) to be less noisy | Emilio Cobos Álvarez | |
2016-04-16 | tests: Add expectations | Emilio Cobos Álvarez | |
2016-04-16 | tests: Add a simple test suite that checks that every test is compiling | Emilio Cobos Álvarez | |
and passing tests correctly Ideally it should be done in rust, but I was too lazy right now. Should be easy to port. | |||
2016-04-16 | tests: Annotate and add more tests | Emilio Cobos Álvarez | |
2016-04-16 | tests: Remove builtin_va_list test | Emilio Cobos Álvarez | |
It seems to be quite broken (see https://github.com/crabtw/rust-bindgen/issues/29) | |||
2016-04-15 | tests: Add opaque pointer ammended test | Emilio Cobos Álvarez | |
2016-04-15 | bindgen: Restructure opaque and blacklisting so we can fix debug deriving | Emilio Cobos Álvarez | |
2016-04-15 | bindgen: Change how opaque comp types are managed | Emilio Cobos Álvarez | |
So it's not awfully broken. | |||
2016-04-13 | gen: Add enum variant and vtable member mangling | Emilio Cobos Álvarez | |
2016-04-11 | parser: Handle nested typedefs | Emilio Cobos Álvarez | |
2016-04-08 | gen: Generate a more solid API for __BindgenUnionField | Emilio Cobos Álvarez | |
2016-04-06 | parser: Add support for using declarations. | Emilio Cobos Álvarez | |
2016-04-04 | Check more types of in-class typedef resolving work | Emilio Cobos Álvarez | |
2016-04-04 | parser: Add in-class typedef resolving to method arguments | Emilio Cobos Álvarez | |
2016-04-04 | gen: parser: Move name mangling to parser | Emilio Cobos Álvarez | |
2016-04-04 | parser: Propagate template arguments to nested structs | Emilio Cobos Álvarez | |
2016-04-04 | parser: Honour annotations on typedefs and fully on type declarations. | Emilio Cobos Álvarez | |
2016-04-04 | parser: Allow nested classes | Emilio Cobos Álvarez | |
We didn't even tried to parse them, which is weird. | |||
2016-04-03 | gen: Make bitfields work for other types | Emilio Cobos Álvarez | |
2016-04-03 | gen: parser: Rework bitfield implementation to support enums | Emilio Cobos Álvarez | |
I've probably messed something up, I know it... also we assume the width is 8 bits, which might be wrong, but I'll add it in a followup. | |||
2016-04-02 | gen: Generate correctly nested members of unions | Emilio Cobos Álvarez | |
2016-04-02 | Don't generate derive(Clone), make a manual impl instead using copy | Emilio Cobos Álvarez | |
This is in order to bypass rustc's limits with large arrays. Still can't work with templates (cc @nox). | |||
2016-03-25 | parser: Generate fields for anonymous unions | Emilio Cobos Álvarez | |
2016-03-24 | Disable optimized field generation | Emilio Cobos Álvarez | |
Since it generated invalid output indeed, like in `test/headers/nested.hpp`. | |||
2016-03-24 | gen: Ensure all templates use all of their parameters | Emilio Cobos Álvarez | |
2016-03-24 | gen: Handle correctly namespaced pointers to template parameters | Emilio Cobos Álvarez | |
2016-03-23 | gen: Add option to replace types via annotations | Emilio Cobos Álvarez | |
This is limited to the same namespace, but well, it seems useful enough. | |||
2016-03-23 | gen: Don't generate tests for empty structs or classes | Emilio Cobos Álvarez | |
Since the reported size is 1 byte even though it should be 0. | |||
2016-03-23 | parse: Eagerly resolve array typedefs too | Emilio Cobos Álvarez | |
This was used in nsString with [char_type; 64]. | |||
2016-03-23 | gen: Mangle inner struct names, and don't generate a field for them | Emilio Cobos Álvarez | |
The field generation was plain incorrect | |||
2016-03-23 | parser: Inherit class typedefs | Emilio Cobos Álvarez | |
2016-03-23 | Eagerly resolve class typedefs also in pointer members | Emilio Cobos Álvarez | |
This solves some nsAString problems. | |||
2016-03-21 | gen: Generate raw fields for non-translatable types | Emilio Cobos Álvarez | |
2016-03-20 | Resolve class typedefs eagerly | Emilio Cobos Álvarez | |
2016-03-17 | Fix test_struct::with_anon_struct_pointer | Emilio Cobos Álvarez | |
2016-03-17 | Fix test_extern | Emilio Cobos Álvarez | |