summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-04-13gen: Add enum variant and vtable member manglingEmilio Cobos Álvarez
2016-04-12gen: Only generate union fields if there are actually union fieldsEmilio Cobos Álvarez
2016-04-12gen: Add saw_union field to GenCtxEmilio Cobos Álvarez
2016-04-12gen: Simplify root export with namespaces.Emilio Cobos Álvarez
2016-04-11parser: Handle nested typedefsEmilio Cobos Álvarez
2016-04-11parser: Try to parse nested class templatesEmilio Cobos Álvarez
2016-04-11gen: mangle method names if they are keywordsEmilio Cobos Álvarez
2016-04-11gen: Translate ptrdiff_t to isizeEmilio Cobos Álvarez
2016-04-11gen: Mangle keywords suffixing instead of prefixingEmilio Cobos Álvarez
2016-04-08gen: Generate a more solid API for __BindgenUnionFieldEmilio Cobos Álvarez
2016-04-08parser: Anonymous structs are legal tooEmilio Cobos Álvarez
2016-04-08gen: Refine gen_bitfield_methodsEmilio Cobos Álvarez
Since now the struct definition might depend on those types.
2016-04-08gen: Generate layout tests for unions tooEmilio Cobos Álvarez
2016-04-08gen: Restore derive debug in structs, which was lost for some reasonEmilio Cobos Álvarez
2016-04-08gen: Generate fields for unions using __BindgenUnionFieldEmilio Cobos Álvarez
2016-04-06gen: Make const the new_bitfield functionsEmilio Cobos Álvarez
I changed the wrong constness in the previous commit.
2016-04-06parser: Add support for using declarations.Emilio Cobos Álvarez
2016-04-05gen: Add back constness of new_bitfield_xxx functionsEmilio Cobos Álvarez
2016-04-05types: Fallback to the specifyed layout if no underlying layout was foundEmilio Cobos Álvarez
This fixes a problem with uint32_t's layout in SM. cc: @nox
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: Allow specifying raw lines before the content startsEmilio Cobos Álvarez
It's useful to add `use` or `include!` lines.
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 an enum with appropiate repr for declarations.Emilio Cobos Álvarez
2016-04-02gen: Generate correctly nested members of unionsEmilio Cobos Álvarez
2016-04-02gen: Generate a dummy pointer-aligned field into vtablesEmilio Cobos Álvarez
2016-04-02gen: repr(C) opaque typesEmilio Cobos Álvarez
2016-04-02gen: Derive clone instead of implementing it for enumsEmilio Cobos Álvarez
Actually they have no risk of not being clone-able, and the output is just nicer.
2016-04-02Silence build warningsEmilio Cobos Álvarez
2016-04-02gen: Remove nasty unused variableEmilio 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-29gen: Fix opaque struct generation and generate alignment testsEmilio Cobos Álvarez
2016-03-29gen: Take in account alignment when generating untranslatable fieldsEmilio Cobos Álvarez
2016-03-25parser: Generate fields for anonymous unionsEmilio Cobos Álvarez
2016-03-25parser: Ignore functions after vtable calculationsEmilio Cobos Álvarez
This makes us pass three more tests.
2016-03-25gen: Fix anon enums and silence unused mut warningEmilio Cobos Álvarez
2016-03-24gen: Mangle names of inner enumsEmilio Cobos Álvarez
This prevents us changing some gecko types.
2016-03-24gen: Fix size checking, which indeed was correctEmilio Cobos Álvarez
2016-03-24Add option to prevent bitfield method generationEmilio Cobos Álvarez
2016-03-24Disable optimized field generationEmilio Cobos Álvarez
Since it generated invalid output indeed, like in `test/headers/nested.hpp`.
2016-03-24Make opaque types work for members too.Emilio Cobos Álvarez
2016-03-24parser: Nits from trying to implement partial template specialisationEmilio Cobos Álvarez
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-24gen: Generate pending replacementsEmilio Cobos Álvarez
2016-03-24gen: Add size checking for substituted variablesEmilio Cobos Álvarez