summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-07-18Check method_is_virtual and flag has_vtable before deciding whether to skip ↵Vladimir Vukicevic
method
2016-07-18Add explicit option for selecting MSVC manglingVladimir Vukicevic
There's no easy way to get the current target triple from the clang-c bindings. Make this simple and require an option to be passed when generating bindings for msvc, using the x86_64-pc-win32 target (or i686)
2016-07-18Support MSVC mangled names (which have @ symbols in them) when generating ↵Vladimir Vukicevic
bindings
2016-07-18Restrict the undo mangling hack to gnu targetXidorn Quan
This is not needed at least for Clang 3.9 (which is required to parse stdlib headers of MSVC 2015). This hack leads to incorrect mangling result there.
2016-07-15Normalize header path to use unix sepXidorn Quan
Otherwise it would be hard to write uniform blacklist header list across platforms, especially given that on Windows, some part of path could be using '/' while others use '\'.
2016-07-10Use aster and quasi to allow building with stable Rust.Emilio Cobos Álvarez
2016-07-10hack: Use a local clone of refcell to not depend on borrow_stateEmilio Cobos Álvarez
This is the same that we do in components/style in servo.
2016-07-05parser: Simplify macro-parsing logic.Emilio Cobos Álvarez
2016-07-05bindgen: Add -no-namespaced-constants option.Emilio Cobos Álvarez
Needed (at least for now, we might do mangling if necessary) for stylo, where bringing in DOM types makes us include a lot of namespaced constants they use for convenience, that end up with conflicting names.
2016-07-04Update syntex to latest nightly.Emilio Cobos Álvarez
2016-07-04bindgen: use clang-sys for the include path.Emilio Cobos Álvarez
2016-07-01Add support for elaborated types.Jack Moffitt
Fixes #1.
2016-07-01Auto merge of #2 - servo:class-consts, r=Ms2gerbors-servo
parser: Disable conditionally class constants Part of the fix for #1
2016-06-26Fix travis CI allowing to build on llvm stableEmilio Cobos Álvarez
2016-06-23parser: Disable conditionally class constantsEmilio Cobos Álvarez
2016-06-22Merge pull request #4 from nox/inlineEmilio Cobos Álvarez
Ignore inlined functions
2016-06-02gen: Generate bitfield getters for structsEmilio Cobos Álvarez
2016-06-01gen: Don't generate constants of templated structsEmilio Cobos Álvarez
They're tricky.
2016-06-01Reduce some nesting in cstruct_to_rs.Ms2ger
2016-05-24parser: Implement nocopy annotation.Emilio Cobos Álvarez
2016-05-18Support in-class constants in C++Emilio Cobos Álvarez
2016-05-18parser: Remove old debug println!Emilio Cobos Álvarez
2016-05-18gen: Use the topmost template parent with the name for compound decls with argsEmilio Cobos Álvarez
2016-05-17gen: Avoid to generate structs with empty template param namesEmilio Cobos Álvarez
We generate them incorrectly anyways, but this way at least we're allowed to compile it.
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-13gen: Update to latest syntex_syntax in order to work with latest nightlyEmilio Cobos Álvarez
2016-05-07Warning cleanupEmilio Cobos Álvarez
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++: Add a note about how this could break.Emilio 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-05-04clang: Add a fallible version of sizeof, and display_name()Emilio Cobos Álvarez
2016-04-30gen: Derive Eq, PartialEq and Hash for enums.Emilio Cobos Álvarez
2016-04-28parser: Take in account hiding in opaque decls as well.Emilio Cobos Álvarez
2016-04-22Ignore inlined functionsAnthony Ramine
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-16bindgen: Fix -raw-lineEmilio Cobos Álvarez
2016-04-16parser: Restructure anonymous struct generation to prevent some double borrowsEmilio Cobos Álvarez
2016-04-16Large-ish refactor that should fix a *lot* of errorsEmilio Cobos Álvarez
2016-04-15bindgen: Correctly resolve class template parameters on has_destructorEmilio Cobos Álvarez
2016-04-15gen: Move has_destructor logic to types.rsEmilio Cobos Álvarez
2016-04-15parser: Add hack for opaque typedef struct xxx { } xxx;Emilio Cobos Álvarez