Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-05-03 | codegen: Actually honor the new option for module_lines. | Emilio Cobos Álvarez | |
Only when modules are enabled of course. | |||
2018-05-03 | lib: Add and document an API to add per-module raw lines. | Emilio Cobos Álvarez | |
2018-04-08 | TemplateParameters.used_template_params doesn't return Option | Tamir Duberstein | |
2018-04-08 | TemplateParameters.all_template_params doesn't return Option | Tamir Duberstein | |
2018-04-08 | TemplateParameters.num_self_template_params doesn't return Option | Tamir Duberstein | |
2018-04-08 | TemplateParameters.self_template_params doesn't return Option | Tamir Duberstein | |
2018-04-07 | Auto merge of #1303 - Eijebong:bump, r=emilio | bors-servo | |
Bump quote to 0.5 | |||
2018-04-07 | Auto merge of #1293 - strake:use_associated_consts, r=emilio | bors-servo | |
optionally use associated constants in bitfields See #1166 r? @emilio | |||
2018-04-07 | Make doc comments nice again. | Emilio Cobos Álvarez | |
2018-04-06 | not generate associated constants to unnamed types | M Farkas-Dyck | |
2018-04-06 | Auto merge of #1294 - marty-se:master, r=fitzgen | bors-servo | |
Whitelist inner types of whitelisted types even with no-recursive-whitelisting. This fixes issue #1285 where inner types were code generated but not properly processed by the derive analysis. | |||
2018-04-04 | Bump quote to 0.5 and proc_macro2 to 0.3 | Bastien Orivel | |
2018-04-03 | Revert "Revert "Bump quote to 0.4"" | Bastien Orivel | |
This reverts commit eb415c7a7cf8c72664dbfda5a614474cda5c185c. | |||
2018-04-03 | codegen: Don't skip alignment checks if we support repr align. | Emilio Cobos Álvarez | |
Plus fix the check that avoids us generating explicit alignment fields for structs aligned to more than pointer-size. Fixes #1291 | |||
2018-04-03 | codegen: Use target pointer size consistently for layout calculations. | Emilio Cobos Álvarez | |
Closes #1284 | |||
2018-04-03 | ir: Grab target information from clang. | Emilio Cobos Álvarez | |
2018-04-02 | Link to the user's guide from the docs and manifest | Matt Brubeck | |
2018-04-02 | Auto merge of #1288 - emilio:bye-links, r=pepyakin | bors-servo | |
options: Remove the linking-related options. They do nothing, and are effectively superseded by --raw-line and friends. They also tend to confuse people. Closes #104 | |||
2018-04-02 | Whitelist inner types of whitelisted types even with no-recursive-whitelisting. | Martin Karlgren | |
This fixes issue #1285 where inner types were code generated but not properly processed by the derive analysis. | |||
2018-04-01 | feature guard rather than option | M Farkas-Dyck | |
2018-04-01 | optionally use associated constants in bitfields | M Farkas-Dyck | |
2018-03-31 | ir: Remove an assertion that happens to be invalid. | Emilio Cobos Álvarez | |
You can define a struct declared in an outer scope inside another struct, and the compiler won't even complain... C, what a language. Fixes #1281 | |||
2018-03-31 | options: Remove the linking-related options. | Emilio Cobos Álvarez | |
They do nothing, and are effectively superseded by --raw-line and friends. They also tend to confuse people. Closes #104 | |||
2018-03-17 | Handle bitfield enum pattern aliasing | Travis Finkenauer | |
The previous fix for issue #1198 was incomplete. | |||
2018-03-13 | Auto merge of #1272 - tmfink:issue-1198, r=emilio | bors-servo | |
Declare precedence on enum types Fixes issue #1198 where an enum matches the pattern for multiple enum types, such as constified module enum AND rustified enum. Documents precedence in `Builder` doc comment. | |||
2018-03-13 | tests: Test repr(align()) only on nightly for now, make it 1.25 to reflect ↵ | Emilio Cobos Álvarez | |
reality. | |||
2018-03-13 | Add a kill-switch for untagged unions. | Emilio Cobos Álvarez | |
Otherwise we can't use repr(align) on stylo. | |||
2018-03-13 | codegen: support repr(align). | Emilio Cobos Álvarez | |
Fixes #917 | |||
2018-03-12 | Document enum variation precedence | Travis Finkenauer | |
2018-03-11 | Fix bug when enum matched multiple types | Travis Finkenauer | |
If an enum matched a pattern for rustified enum and constified module enum, then rust code would fail to compile with "ambiguous associated type" error. We fix the error by giving constified module enum "higher precedence". Fixes issue #1198 | |||
2018-03-05 | Auto merge of #1268 - emilio:enum-replace, r=fitzgen | bors-servo | |
ir: Allow replacing enums and enum variants. Fixes #1267. | |||
2018-03-04 | Untry. | Emilio Cobos Álvarez | |
Use the ? operator instead of try, and add some more uses of it on Option<> that were straight-forward. | |||
2018-03-04 | ir: Allow renaming variants using the replaces="" annotation or a custom ↵ | Emilio Cobos Álvarez | |
callback. | |||
2018-03-04 | ir: Allow replacing enums. | Emilio Cobos Álvarez | |
2018-03-04 | codegen: Avoid &String. | Emilio Cobos Álvarez | |
2018-02-26 | lib: Use #[deprecated] properly. | Emilio Cobos Álvarez | |
Fixes #1258 | |||
2018-02-14 | Merge pull request #1256 from fitzgen/fix-missing-dylibs. r=emilio | Emilio Cobos Álvarez | |
Fix missing dylibs | |||
2018-02-14 | Revert "Bump quote to 0.4" | Nick Fitzgerald | |
This reverts commit 6899c275ee0ab0687ec66c490ddd1a76f8223513. The `proc_macro2` crate depends on rustc internal crates, which means that `bindgen` would need to be run under `rustup`. We can follow https://github.com/rust-lang/rust/issues/47931 to get updates on when this issue might be resolved and we can update `quote` again. Fixes #1248 | |||
2018-02-14 | Check for more common C++ header file extensions | Sander Maijers | |
Also, perform `clang` parameter check earlier. If that results in `is_cpp == true`, the later `|=` operations could be elided. | |||
2018-02-13 | Merge pull request #1253 from Eijebong/log. r=emilio | Emilio Cobos Álvarez | |
Update log to 0.4 and bump version | |||
2018-02-13 | Update log to 0.4 and bump version | Bastien Orivel | |
2018-02-12 | codegen: Expose variant comments. | Emilio Cobos Álvarez | |
2018-02-04 | ir: Make macro constants not being architecture-dependent. | Emilio Cobos Álvarez | |
Fixes #1185 | |||
2018-01-31 | Auto merge of #1243 - emilio:parse-callbacks, r=fitzgen | bors-servo | |
callbacks: Introduce MacroParsingBehavior to allow ignoring macros. This is symmetric, yet less powerful, than enum_variant_behavior. Fixes #687. | |||
2018-01-31 | callbacks: Introduce MacroParsingBehavior to allow ignoring macros. | Emilio Cobos Álvarez | |
This is symmetric, yet less powerful, than enum_variant_behavior. Fixes #687. | |||
2018-01-29 | Auto merge of #1241 - emilio:fwd-decl-no-fun, r=fitzgen | bors-servo | |
codegen: Make forward declarations go through the more generic path. Instead of special-casing. This allows to use the normal flags to control what can be or not derived for them. Arguably deriving Copy / Clone is kind of busted for those, but changing this by default broke tests (RefPtr<ForwardDeclaredType> stopped working for example). So I think this is a good compromise. Fixes #1238 | |||
2018-01-29 | Auto merge of #1240 - emilio:virtual-dtor-fix, r=fitzgen | bors-servo | |
ir: Choose the right mangling for destructors on all codepaths. Fixes #1133. | |||
2018-01-29 | codegen: Make forward declarations go through the more generic path. | Emilio Cobos Álvarez | |
Instead of special-casing. This allows to use the normal flags to control what can be or not derived for them. Arguably deriving Copy / Clone is kind of busted for those, but changing this by default broke tests (RefPtr<ForwardDeclaredType> stopped working for example). So I think this is a good compromise. Fixes #1238 | |||
2018-01-29 | ir: Choose the right mangling for destructors on all codepaths. | Emilio Cobos Álvarez | |
Fixes #1133. | |||
2018-01-29 | codegen: Make the cyclic typedef name detection catch more cases. | Emilio Cobos Álvarez | |
By looking through typedefs, we also catch more complex cases like the ones that appear on Android's stdlib. Fixes #946 |