Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-09-19 | Always force repr(align) attributes for stuff with alignment >= 16 | Emilio Cobos Álvarez | |
To work-around some cases of https://github.com/rust-lang/rust/issues/54341. Other cases where u128 and u64 are mixed in fields might not behave correctly, but the field offset assertions would catch them. Fixes #1370 | |||
2018-09-19 | Teach the float code about u128. | Emilio Cobos Álvarez | |
2018-09-19 | codegen: Generate u128 / i128 when available. | Emilio Cobos Álvarez | |
2018-09-13 | Auto merge of #1384 - emilio:whitespace-comment, r=fitzgen | bors-servo | |
ir: Preserve better whitespace in comments. Fixes #1341. | |||
2018-09-10 | generate type alias for the `block` type | Flier Lu | |
2018-09-08 | ir: Preserve better whitespace in comments. | Emilio Cobos Álvarez | |
Fixes #1341. | |||
2018-09-04 | Fix the test for #1374. | Emilio Cobos Álvarez | |
2018-09-04 | ir: Handle overflowing integer constant evaluation properly. | Emilio Cobos Álvarez | |
Fixes #1380 | |||
2018-08-28 | Tests: Add a --use-core --impl-debug case | chrysn | |
This demonstrates the [...] abbreviation of large arrays in contrast to the std variety. (Long (>32) arrays currently don't have a dedicated test, but are piggy-backed on the derive-debug-bitfield and derive-debug-function-pointer tests). Note that the single occurrence of the `std` namespace in the expectation is valid: No --ctypes-prefix was set, and ::std::os::raw is the default value that needs to be overridden in most practical --use-core applications. | |||
2018-08-24 | Don't generate a __bindgen_align field if we support repr(align). | Emilio Cobos Álvarez | |
2018-08-19 | Not gnereate binding for variadic function with ms_abi | Jean-Philippe Dufraigne | |
rustc fail to compile variadic function with ms_abi: error[E0045]: variadic function must have C or cdecl calling convention As suggested in issue, this short term fix: not generate binding and emit a warning. Fixes #997 | |||
2018-08-14 | map vector types to arrays and pass them by value | gnzlbg | |
2018-08-14 | add more vector tests | gnzlbg | |
2018-08-13 | Fix a pre-existing failing test? | Emilio Cobos Álvarez | |
2018-08-13 | Unrelated test updates due to new rustfmt. | Emilio Cobos Álvarez | |
2018-08-13 | Add ability to blacklist functions. | Emilio Cobos Álvarez | |
Fixes #1336 | |||
2018-07-30 | Add a test for dupe enums and namespaces. | Emilio Cobos Álvarez | |
I feared that this might fail, but it doesn't! :) | |||
2018-07-30 | Merge pull request #1355 from Lytigas/associated-duplicate-enum. r=emilio | Emilio Cobos Álvarez | |
Use associated constants for rust enums when available | |||
2018-07-29 | Use associated constants for rust enums when available | Josh Hejna | |
2018-07-29 | Quote regexes in test headers | Josh Hejna | |
When using test-one.sh, unquoted wildcards are expanded by the shell, resulting in failing tests. | |||
2018-07-01 | Update test expectations. | Emilio Cobos Álvarez | |
2018-07-01 | Update test expectations. | Emilio Cobos Álvarez | |
2018-06-04 | add --constified-enum to output consts when the default is changed | Daniel Brooks | |
2018-06-04 | Rename from "enum variant" to "enum style" | Daniel Brooks | |
2018-06-03 | Add an option to set the default codegen style for all enums | Daniel Brooks | |
2018-05-16 | Handle pointer constness at the right level. | Emilio Cobos Álvarez | |
2018-05-12 | Add missing line in test expectation | cynecx | |
2018-05-12 | Add test from issue #511 | cynecx | |
2018-05-10 | Adjust proper constness in tests | cynecx | |
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 | test associated consts | M Farkas-Dyck | |
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 | Now that we have stuff that depends on libclang-5 we need to do this. | Emilio Cobos Álvarez | |
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-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-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-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 | Move issue-1198 tests out of libclang-3.9 dir | Travis Finkenauer | |
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 | tests: Add a test for alignas(double). | Emilio Cobos Álvarez | |
2018-03-13 | codegen: support repr(align). | Emilio Cobos Álvarez | |
Fixes #917 | |||
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. |