summaryrefslogtreecommitdiff
path: root/src/codegen
AgeCommit message (Expand)Author
2021-11-26Drop 'static for pub const strings for rustc>1.17Alberto Planas
2021-11-26allow custom derives on enumsEric Seppanen
2021-10-27Don't generate 2^64 byte padding fields on unionsTheodore Dubois
2021-10-27Fix warningsMikuroXina
2021-08-24Use annotations on enumerations: This enables users to add additional derives...Christian Vetter
2021-07-31Also implement must-use-type for enums.Karel Peeters
2021-07-31Also implement div-style must_use_type annotation.Karel Peeters
2021-07-31Implement must_use_type commandline flag and builder option.Karel Peeters
2021-07-26codegen: Don't check large_arrays to generate bitfield ctors because they use...Emilio Cobos Álvarez
2021-07-16Let Rust derive everything but Default for large arrays in 1.47 and laterIan P. Cooke
2021-07-16add custom derives callbackEric Seppanen
2021-07-16Allow explicit padding (#2060)Eric Seppanen
2021-05-11Zero out padding in custom Default trait implementations (#2051)Daniel Xu
2021-04-24Support emitting Makefile-syntax depfiles like gcc/clang/rustc.Adam Perry
2021-04-11Fix docstring comment for constantsNico Chatzi
2021-04-03codegen: Deal with overloads in method code generation.Emilio Cobos Álvarez
2021-04-03codegen: Don't use a `sym` temporary in dynamic library code.Emilio Cobos Álvarez
2021-04-03remove old commentDr. Chat
2021-04-03Deduplicate dyngen codeDr. Chat
2021-04-03Remove `DynamicItems::has_required`Dr. Chat
2021-04-03Add a flag to ensure all symbols are resolved when a library is loadedDr. Chat
2021-03-22Add from_library for generated dynamic library structs (#2011)Wang, Chi
2021-03-14Add option to translate enum integer types to native Rust integer typesJethro Beekman
2021-02-18Rename whitelist -> allowlist and blacklist -> blocklistMarcel Hlopko
2021-02-07codegen: Track union layout more accurately.Emilio Cobos Álvarez
2021-01-29Generate fields as non-pub if they would be access restricted in C++.Weston Carvalho
2020-12-20comp: Fix bitfields to allow underaligned fields after them to take padding s...Emilio Cobos Álvarez
2020-12-02dyngen: Pass null-terminated byte strings to libloading.Emilio Cobos Álvarez
2020-11-28struct_layout: Fix field offset computation for packed(n) structs.Emilio Cobos Álvarez
2020-11-26Add --no-default <regex> flagVarphone Wong
2020-11-25dyngen: Handle variadic functions.Emilio Cobos Álvarez
2020-11-25codegen: Minor nits for dynamic function generation.Emilio Cobos Álvarez
2020-11-25Add dynamic loading supportJoe Ellis
2020-10-16codegen: Allow to not derive Debug on enums.Emilio Cobos Álvarez
2020-09-16codegen: Use shorthand struct initialization when possible.Emilio Cobos Álvarez
2020-09-16codegen: Deindent a bit some recently-introduced objective-c code.Emilio Cobos Álvarez
2020-09-16Updates for CISebastian Imlay
2020-09-16Updates from PR commentsSebastian Imlay
2020-09-16ran cargo fmtSebastian Imlay
2020-09-16Updates base on commentsSebastian Imlay
2020-09-16Initial stuff for changing ownership and adding inheritanceSebastian Imlay
2020-08-29codegen: Use shorthand initialization in VTable::new.Emilio Cobos Álvarez
2020-08-25codegen: Do generate unnamed enums, as they can be referred to by members.Emilio Cobos Álvarez
2020-08-15codegen: Simplify a bit the code in #1847Emilio Cobos Álvarez
2020-08-15Added Bindgen names to objective-c pointer return typesSebastian Imlay
2020-08-09Add --default-macro-constant-typeChih-Hung Hsieh
2020-08-03codegen: Use shorthand initialization in EnumBuilder.Emilio Cobos Álvarez
2020-08-03Add --no-debug <regex> flagVarphone Wong
2020-08-03Improves bindings for typed and anonymous enumsCameron Mulhern
2020-07-21Change non-fatal errors to warningsleo60228