summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2016-05-17Make 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-07gen: Remove spurious phantom typesEmilio Cobos Álvarez
2016-05-07parser: Fix some replacement edge casesEmilio Cobos Álvarez
That ofc appeared on Gecko...
2016-05-07parser: Take into account CompDecls with translations.Emilio Cobos Álvarez
Those are generally just-declared types, and wasn't being translated yet.
2016-05-05Replace types eagerly so the calculations we do in `gen` take the ↵Emilio Cobos Álvarez
replacement into account.
2016-05-05parser: Whoops, forgot to add the same-name conditionEmilio Cobos Álvarez
2016-05-05parser: Extend the previous awful hack to cover stylo needsEmilio Cobos Álvarez
2016-05-04c++: Detect an inner class declaration with the same name in a compositeEmilio Cobos Álvarez
2016-05-04Wrap C++ `mutable` types in rust *CellsEmilio Cobos Álvarez
2016-04-30gen: Derive Eq, PartialEq and Hash for enums.Emilio Cobos Álvarez
2016-04-16parser: fix some bugs regarding the copiability of objectsEmilio Cobos Álvarez
2016-04-16Refactor how template specialisations are tracked to prevent borrow panicsEmilio Cobos Álvarez
2016-04-16types: Fix can_derive_copy() in edge casesEmilio Cobos Álvarez
2016-04-16gen: Derive Copy for templates that allow itEmilio Cobos Álvarez
It broke for arrays if we try to do it by default, but this seems to work pretty well.
2016-04-16tests: Add allow(non_snake_case) to be less noisyEmilio Cobos Álvarez
2016-04-16tests: Add expectationsEmilio Cobos Álvarez
2016-04-16tests: Add a simple test suite that checks that every test is compilingEmilio 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-16tests: Annotate and add more testsEmilio Cobos Álvarez
2016-04-16tests: Remove builtin_va_list testEmilio Cobos Álvarez
It seems to be quite broken (see https://github.com/crabtw/rust-bindgen/issues/29)
2016-04-15tests: Add opaque pointer ammended testEmilio Cobos Álvarez
2016-04-15bindgen: Restructure opaque and blacklisting so we can fix debug derivingEmilio Cobos Álvarez
2016-04-15bindgen: Change how opaque comp types are managedEmilio Cobos Álvarez
So it's not awfully broken.
2016-04-13gen: Add enum variant and vtable member manglingEmilio Cobos Álvarez
2016-04-11parser: Handle nested typedefsEmilio Cobos Álvarez
2016-04-08gen: Generate a more solid API for __BindgenUnionFieldEmilio Cobos Álvarez
2016-04-06parser: Add support for using declarations.Emilio Cobos Álvarez
2016-04-04Check more types of in-class typedef resolving workEmilio Cobos Álvarez
2016-04-04parser: Add in-class typedef resolving to method argumentsEmilio Cobos Álvarez
2016-04-04gen: parser: Move name mangling to parserEmilio Cobos Álvarez
2016-04-04parser: Propagate template arguments to nested structsEmilio Cobos Álvarez
2016-04-04parser: Honour annotations on typedefs and fully on type declarations.Emilio Cobos Álvarez
2016-04-04parser: Allow nested classesEmilio Cobos Álvarez
We didn't even tried to parse them, which is weird.
2016-04-03gen: Make bitfields work for other typesEmilio Cobos Álvarez
2016-04-03gen: parser: Rework bitfield implementation to support enumsEmilio 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-02gen: Generate correctly nested members of unionsEmilio Cobos Álvarez
2016-04-02Don't generate derive(Clone), make a manual impl instead using copyEmilio Cobos Álvarez
This is in order to bypass rustc's limits with large arrays. Still can't work with templates (cc @nox).
2016-03-25parser: Generate fields for anonymous unionsEmilio Cobos Álvarez
2016-03-24Disable optimized field generationEmilio Cobos Álvarez
Since it generated invalid output indeed, like in `test/headers/nested.hpp`.
2016-03-24gen: Ensure all templates use all of their parametersEmilio Cobos Álvarez
2016-03-24gen: Handle correctly namespaced pointers to template parametersEmilio Cobos Álvarez
2016-03-23gen: Add option to replace types via annotationsEmilio Cobos Álvarez
This is limited to the same namespace, but well, it seems useful enough.
2016-03-23gen: Don't generate tests for empty structs or classesEmilio Cobos Álvarez
Since the reported size is 1 byte even though it should be 0.
2016-03-23parse: Eagerly resolve array typedefs tooEmilio Cobos Álvarez
This was used in nsString with [char_type; 64].
2016-03-23gen: Mangle inner struct names, and don't generate a field for themEmilio Cobos Álvarez
The field generation was plain incorrect
2016-03-23parser: Inherit class typedefsEmilio Cobos Álvarez
2016-03-23Eagerly resolve class typedefs also in pointer membersEmilio Cobos Álvarez
This solves some nsAString problems.
2016-03-21gen: Generate raw fields for non-translatable typesEmilio Cobos Álvarez
2016-03-20Resolve class typedefs eagerlyEmilio Cobos Álvarez
2016-03-17Fix test_struct::with_anon_struct_pointerEmilio Cobos Álvarez
2016-03-17Fix test_externEmilio Cobos Álvarez