Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/gtk-rs/gir
Tool to generate rust bindings and user API for glib-based libraries
https://github.com/gtk-rs/gir
ba7d0ec3d5d43a6341720999f06bda8136fb1227 authored about 6 years ago
ce2fa58fff80be5ab2541b04b0f9c2bb68f81a4f authored about 6 years ago
1c7f140868b8fedbdb6f6ffe7a132c2e98d1ea24 authored about 6 years ago
9bcf66f6f6afcfb7ede6fef44204766ebfe9d4e2 authored about 6 years ago
a9410152fcd37bc5956518e57c36e2625d89ca8d authored about 6 years ago
e861dff99dada08aac1d162dc5ebf88240bfae8f authored about 6 years ago
1b07f82ab4727ad5774a0f8228728179cafd82d2 authored about 6 years ago
ec2108c4530c6863f456751ca115ecb1795cc141 authored about 6 years ago
1097556e2b34111e99e0dce2a28fde5b626d0f3f authored about 6 years ago
9b4ada04268d9aefd0dbe3f83fcdad1c981eebc2 authored about 6 years ago
614c099e95ff49dbfbf892ba54792b7e34f42641 authored about 6 years ago
fc0b6f0cc10b93a869b27d1d6f0d0f817504f2bd authored about 6 years ago
a765c8235e097a058dead58f3b02946cebc36d56 authored about 6 years ago
8ab86a749c57459b7f48ed97c980a14d1a061440 authored about 6 years ago
1b6a9976044af68abdeb49ea8c8eeb6ef803246e authored about 6 years ago
69b44216bf263cae50ab451ffb60969f4eee2324 authored about 6 years ago
Implement configuration/detection for final types and use that inform…
4620f192e64954fc1d30b4a0120f67c6e4b6fd31 authored about 6 years ago
Final types are those that can't have any further subclasses, and as
such we don't need to gener...
Correctly cast pointers in property getters/setters if no trait is to…
2f0a3173b8cdf0e4b0f94fce5da033bfb137772a authored about 6 years agodd6fb0ac0a56ece0265d9f9b9e8c5a773b05fda1 authored about 6 years ago
Fix unused bounds in futures
cc4f7fc7f972c34a8e9e56bb3a0f2126d059a70c authored about 6 years ago426b6a10afaf9c1c381f316f835164419353bba0 authored about 6 years ago
Update code generation for glib_wrapper! macro and IsA<_>, etc cleanup
3766446c75cddeaba79a313f63eef977fc6fc5f2 authored about 6 years agod96589b98a09983141026382aec43e02dd6a24e4 authored about 6 years ago
477f93a1cb1b03072c171b2d3a2e7870a08f841c authored about 6 years ago
f98d2c1e3f3bf2ca31f3f97c99e612790afd7979 authored about 6 years ago
e9a60ded33ed01775845f48ed99427a5c70ea02e authored about 6 years ago
This can be used in functions that take a Option<IsA<T>> for convenience
instead of passing None...
9ea36ef3b6d7e6ed06168a9888e787b2fc1366fc authored about 6 years ago
They might have subclasses in another crate!
34c166acef444d405ad934d340c32ed80890e155 authored about 6 years ago9ac9ca5f1e8aa4ff05aa9660f19e9cd4e0dcae7b authored about 6 years ago
And also never pass the FFI class name to interfaces, it's not needed.
At the same time, re-exp...
6c9f614612461b5c4abdc33bb8f22228f03fdde3 authored about 6 years agod599b9f04407478a4c0d0af6f58d9e0cc2a642e9 authored about 6 years ago
5a65843b09cf7225e78be631de997a252dbb50b3 authored about 6 years ago
Including the &self parameter.
43b1ac84aaba0b6d3d3cd1a952905c270d87777c authored about 6 years ago752b0ab34ec4901f4126294f2d7acbbfde4013de authored about 6 years ago
d591bb3f6084d5eaa92c270dfabd37c2b5a32f00 authored about 6 years ago
Mark autogenerated files as such
11adffa5f70a3f605fef76d18f9e8e1938e5fe78 authored about 6 years ago7335802f72db8da16aa8d19c49dbf006dd77c5dd authored about 6 years ago
Codegen: use new glib macro for BoolError
d41632a6bb6177bdedb26a1c44b8134fbc0a42b4 authored about 6 years agoSee https://github.com/gtk-rs/glib/pull/419
fa84e33744ac70b05b2694efdf7af813f755a248 authored about 6 years agoFix some clippy warnings
32d1716ebbb2fcf41000207e246961684aa7d0b8 authored about 6 years ago8d7c96b8eac59841283a4a4289affb23a7fd93f5 authored about 6 years ago
Expose include paths to other build scripts
d08abf8d5b4caf541a92e32ce473fad32e1125e5 authored about 6 years ago16a3117d0976ac54d53cb42bc9746b6e568cfe59 authored about 6 years ago
Remove special generation for enums with a single member
29d6cb02e282254d710dde0c91fad869c93a6e8c authored about 6 years ago
The special case generates unqualified name in Rust, which crates
mismatch with version in C, si...
They weren't meant to be bit fields
6e02e0e4a33bf0772882d31e126960cc86f2c717 authored about 6 years ago
When bit field is not preceded by another bit field, generate the field
as if didn't specify bit...
Generate code using CStringHolder instead of String
c5498ac40be9a340eb7fef0a66e80ca331bda846 authored about 6 years ago
Generated code relying on GString should be more efficient because it
reduces the amount of Rust...
71c9b66574da2c67fd51ff60b9d4f3bb86656f2a authored about 6 years ago
Add missing "glib" use statement for property setters
811e7118a5ac275a2ff912be72930285ca84a1d3 authored about 6 years agoAnd remove unneeded IsA<Object> bound from them
e867b7d370da5b944a0e0f62c27daf5396025629 authored about 6 years agoVarious minor fixes
d9c08e18fb67e0821da60790a2a3b67e3bf108dd authored about 6 years ago20cbed704c67c2fc705bab3983ab8803498c1655 authored about 6 years ago
bcfdfe6584cb9d934eb22ac150889a7d8b1c9924 authored about 6 years ago
Otherwise compilation fails because type annotations would be needed.
6178a527b14e9f226db2b7f7758e23bf3cdc3488 authored about 6 years agoGoing through `s.to_glib_none().0` involves another allocation and copy.
83a8280c1b9cbdedee5cc57323ca1f424f94383f authored about 6 years agoDon't generate any but the main IsA<_> bound for extension traits
bdc44047fae3f30a5627469a795e7bf295489584 authored about 6 years agoCloses https://github.com/gtk-rs/gir/issues/670
435de992068c29d541eb51335fd51d47d6f16391 authored about 6 years agoRemove now unneeded use statements for the glib_wrapper! macro
6e9eca02454649f831b231e01e53c66ef4e6d2e3 authored about 6 years ago
Also get rid of some unused use statements from GIO async functions that
are only enabled with a...
Implement basics for subclassing
2bb48b98ffca0e7ec5afa3c85338f576a8846dc2 authored about 6 years ago
This passes the Rust class struct to glib_wrapper! if configured to do
so but still requires it ...
Default generate_display_trait
e578e4fed726255df8250321748e5200f1e79e2f authored about 6 years ago00d10b14f7a5038e2fd4412752df37a2f6fb33c3 authored about 6 years ago
Add pub for modules to use them from the gir library
59ca1f766b97c8149d7b0b85204652b00af02c78 authored about 6 years agoe336ae987b32b167926ae61d01df5e78263e5b7d authored about 6 years ago
Fix display
17bb02187cb33c1bb9b2e455b2f709116e91b54d authored about 6 years ago1a5313d7106317b08bbb8407f5d0defa07bacb55 authored about 6 years ago
b0f0e01b3422e9ec32d777c894bdf9b4a018f56a authored about 6 years ago
Generate Display impl for enums
1b7c3da9364325f841274aee1a6a08686b3a5667 authored about 6 years agoFix missing glib
3783f8877d4b88884ed4b013450351dc36687922 authored about 6 years agoe48e4dd4c577c7c29f31f27a0d5f61159ea31be7 authored about 6 years ago
810910a52c3c5c7a1d235ed0869d2e1609fd01ac authored about 6 years ago
Remove useless files
6f103f856e9c2fbc366e14f1aaa92aefe3c84bd3 authored about 6 years ago8c8cb2d17d6cd31fbe38e006173c44b34cb774f3 authored about 6 years ago
Cast enum/bitfield values to gint/guint for sys tests
dd33bdf92bed56c03e786693cb72833edee647fa authored about 6 years agoDon't trim constants themselves when testing for their value
d72d335bacd1e86efbf05d19231f5b2dffe9b6da authored about 6 years agoOtherwise tests will fail if the constants start/end with whitespace.
Fixes https://github.com/...
9bd75d4478ae7721541b7d9400c3546c9f48bad6 authored about 6 years ago
GLib assumes that these are gint/guint internally so sign differences
don't really make a differ...
Use inner c:type for arrays with fixed size in sys mode
b5ea06528f1c5e69c1104ac4e04182f9ecc7f031 authored about 6 years agob46f1d8f2a068ca1a27652b600d4bde24c767133 authored about 6 years ago
Fix adding `use IsA` for properties
264af57dd0e93abd2d7e41d7b37319095829d478 authored about 6 years ago06f84cd48a5679fec9730b555855900a8c0977ab authored about 6 years ago
sys: generate cfg_condition for records
82cdb44aab86a4dbef0917b2965b04313e3139f5 authored about 6 years agoSince GObject class structures are records from GIR perspective.
c3341eba0f9a13e7d9127ad25648553c1ba717fe authored about 6 years agoGenerate cfg_condition on sys mode
db3cb26f004b30a9caeb9e6295b2be4ef909fbb5 authored about 6 years ago3e9ec17e64afda34bba703ec5079dd68ba77f5b8 authored about 6 years ago
3179b2c311d2b6dc9d3c5448499aa788c828fe98 authored about 6 years ago
b50e052509e5c5fc35336d8d362add9a8ecb956d authored about 6 years ago
2b85ac67e4d4dd0dd814bbed196d653284a65f7f authored about 6 years ago
7f2ae38de2e57a92b2c63b1ee57c1805fe1d3811 authored about 6 years ago
b731698e9350b77b413759514e3ce29d2f91e274 authored about 6 years ago
Into wrapping
d7c3f32166e01601a521b312ec16a378c0741e9d authored about 6 years agof5ff12b108f40f3f4d82c5106f5d2cc339ef1321 authored about 6 years ago
Add underscore to enum and bitflags member starting with digits
ffda6f9b6917f92f6b25f593bc59513c1a5ee82d authored over 6 years agoc7fdd9f803474701b3c32df879893a77acd7c54d authored over 6 years ago
Don't generare notify for ConstructOnly properties
c385982dbed5fdbdf1ae6f95c885a475cafc93f6 authored over 6 years ago