Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-04-06 | gen: Make const the new_bitfield functions | Emilio Cobos Álvarez | |
I changed the wrong constness in the previous commit. | |||
2016-04-06 | parser: Add support for using declarations. | Emilio Cobos Álvarez | |
2016-04-05 | gen: Add back constness of new_bitfield_xxx functions | Emilio Cobos Álvarez | |
2016-04-05 | types: Fallback to the specifyed layout if no underlying layout was found | Emilio Cobos Álvarez | |
This fixes a problem with uint32_t's layout in SM. cc: @nox | |||
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: Allow specifying raw lines before the content starts | Emilio Cobos Álvarez | |
It's useful to add `use` or `include!` lines. | |||
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 an enum with appropiate repr for declarations. | Emilio Cobos Álvarez | |
2016-04-02 | gen: Generate correctly nested members of unions | Emilio Cobos Álvarez | |
2016-04-02 | gen: Generate a dummy pointer-aligned field into vtables | Emilio Cobos Álvarez | |
2016-04-02 | gen: repr(C) opaque types | Emilio Cobos Álvarez | |
2016-04-02 | gen: Derive clone instead of implementing it for enums | Emilio Cobos Álvarez | |
Actually they have no risk of not being clone-able, and the output is just nicer. | |||
2016-04-02 | Silence build warnings | Emilio Cobos Álvarez | |
2016-04-02 | gen: Remove nasty unused variable | 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-29 | gen: Fix opaque struct generation and generate alignment tests | Emilio Cobos Álvarez | |
2016-03-29 | gen: Take in account alignment when generating untranslatable fields | Emilio Cobos Álvarez | |
2016-03-25 | parser: Generate fields for anonymous unions | Emilio Cobos Álvarez | |
2016-03-25 | parser: Ignore functions after vtable calculations | Emilio Cobos Álvarez | |
This makes us pass three more tests. | |||
2016-03-25 | gen: Fix anon enums and silence unused mut warning | Emilio Cobos Álvarez | |
2016-03-24 | gen: Mangle names of inner enums | Emilio Cobos Álvarez | |
This prevents us changing some gecko types. | |||
2016-03-24 | gen: Fix size checking, which indeed was correct | Emilio Cobos Álvarez | |
2016-03-24 | Add option to prevent bitfield method generation | 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 | Make opaque types work for members too. | Emilio Cobos Álvarez | |
2016-03-24 | parser: Nits from trying to implement partial template specialisation | Emilio Cobos Álvarez | |
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-24 | gen: Generate pending replacements | Emilio Cobos Álvarez | |
2016-03-24 | gen: Add size checking for substituted variables | 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 | Allow generating opaque types based on layout | Emilio Cobos Álvarez | |
The best example for this is nsPoint et al. | |||
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: Generate rust types for stdint types | Emilio Cobos Álvarez | |
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-23 | Allow blacklisting types | Emilio Cobos Álvarez | |
2016-03-21 | gen: Generate struct layout size tests | Emilio Cobos Álvarez | |
2016-03-21 | parser: Remove debug info | Emilio Cobos Álvarez | |
2016-03-21 | gen: Generate raw fields for non-translatable types | Emilio Cobos Álvarez | |
2016-03-21 | parser: Record if a template has non-type template parameters | Emilio Cobos Álvarez | |
2016-03-21 | gen: Record the non-translatable field struct name | Emilio Cobos Álvarez | |
2016-03-21 | clang: Add bindings for function template parameters | Emilio Cobos Álvarez | |