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
Previously these were using the attributes of the parent element and
accidentially worked most o...
And actually use the correct variables in various places because of
that.
Generate get_type() functions for unions and some cleanup
61edbf272afc4b79fd5ff5d7fb607bcfb984aaa9 authored over 7 years ago
They should have no functions or glib_get_type function associated with
them, especially not the...
0d3850cdd951a2a867456379969790c5a8d3f9a2 authored over 7 years ago
0fe73b7fa35ffc084135fae522e5f2d186d2b9c4 authored over 7 years ago
This also inserts them in the same extern "C" block instead of creating
a new block for every si...
Unifies some code and has no actual effect if the configuration for
using unsafe unions is not e...
4da3fce3921270178f931204af31321cb4931162 authored over 7 years ago
f1f25578ff1e4e3a0ed1d750456a6eb3f5c7f7e0 authored over 7 years ago
Fix indent
a4dcfeacd83460fefce039769738a330564c761c authored over 7 years ago5de5760f98c3a059372025564f6e2470729ce300 authored over 7 years ago
Add support for generating StaticType and Value trait impls for flags…
ac9a8dadb62d003af9f0c6ed46e82ff0971125e5 authored over 7 years ago195f9ba1435ee78a21058a4e6c20e39a79a8665d authored over 7 years ago
6472453538fb15cfa67a6c39d88061068833cf88 authored over 7 years ago
Pass get_type() functions, if any, to glib_wrapper!() for shared/boxe…
dd775a9bf41eda657784defffd2aa9081bec35ca authored over 7 years ago78fb4e3873ac6052acf932dc973ced2d0ced672d authored over 7 years ago
Add various imports needed by new trait impls and distinguish FromGli…
ce03df6738e93870115e2f175f81ac7c069d423d authored over 7 years agoe04e48d7e6cf9c5edcfece31cbfce1d448bce8b4 authored over 7 years ago
Update README.md
4b09025ee4935483c4a11e132201e1a45e20ef28 authored over 7 years agoAdd SetValue/SetValueOptional bounds to property setters and import g…
0c614019bb1a3b16c42f61bd0dbcd50e367b631c authored over 7 years ago
This is needed now as glib_wrapper!() implements the Value traits
instead of having generic impl...
Add configuration for overriding the RefMode
7504fb655f6c3f1abef6d1d683b3db0632ac6f81 authored over 7 years agof43f5634ecd8664836a06a29324f9c829e052f1f authored over 7 years ago
This is mostly useful for manual types where the actually implemented
RefMode is different from ...
Allow to have a better version prediction for functions
89daf8f60096fb80b7a1eff67feb0bf1bf165ec4 authored over 7 years agod23b06792b8f990217c40dbbf90060a20c48dafa authored over 7 years ago
b78b9c67aba4d0df5049f5d8b11bffaf210549f9 authored over 7 years ago
Full enablement of Unions using nightly Rust
2192ae7a423664422b5ed1f43c7cdeb69168579d authored over 7 years ago
This commit enables full genertion of unions if using nightly Rust with feature
"use-unions" ena...
Import everything from auto in case a type is an alias of an auto type
9e3f4ccff85d1e22fef3fcc4e712aada544bdaa6 authored over 7 years ago2614ecf078ba77fcd5a4ab71faaff4d08dc03546 authored over 7 years ago
Destroy
0575527d182acf4308be9a79a9187073017755fc authored over 7 years ago0bab5da2594d51c192bedb9746ef08b7933706bc authored over 7 years ago
Add customization of crate names for external libraries
33e9567bd547e420da3a101bf7f12a9baffd24c0 authored over 7 years agocd0c042a3c7e383b01e3258ea686d8de81cbfb4b authored over 7 years ago
067159bf3bde02a24cfec0fa795f6d3f039236a1 authored over 7 years ago
Implement Send/Sync configuration for objects/records
3354568b0b09c2da0bb794d2eee55db4974dea87 authored over 7 years ago2374a347a630c2bd79a03efbec7c521ae6c03ad4 authored over 7 years ago
This allows configuring crate-wide and per object/record if an object is
supposed to be Send, Sy...
Fix enums from_glib unsafety, store unknown value
3c73dd9d4cd9ce6cb81b1de64ddc33a521b9fe53 authored over 7 years agoee6032ba9741e7f598812d7645272e4c6e795d91 authored over 7 years ago
Run everything through rustfmt-nightly 0.1.5
b1553034d04170d3e29969c520f39017e899dab1 authored over 7 years ago3a0894f53e052463173b16b69d11af7c5eaf5de4 authored over 7 years ago
Add support for array-length for parameters and return values
2071a9360b981dc712dc26a12f3ee7541bcd75d1 authored over 7 years agoDon't support String InOut parameters and &mut String Out parameters
b79be2f7462d85df94572b598a7804e77726ccff authored over 7 years agoThese are not implemented yet.
69e3c198ed78113319331095d676170f9d020088 authored over 7 years ago
In the outs array they are the original one, in the params array not. It
might make sense to use...
5269a93397c55cfca034c345323c2e0c193547fd authored over 7 years ago
bf35750567d9bf43256d4b3146fb8033d44241e1 authored over 7 years ago
89b552f2ee5ac8872e87167e67d9e67c60002fce authored over 7 years ago
For parameters and fields.
aef99e088bf0e27c6685686570c9f3e492678994 authored over 7 years agoOnly pointer typed array elements are supported for now.
https://github.com/gtk-rs/gir/issues/376
d9f893a62211d2bf2c0cdd1e34280e4f4cee7edb authored over 7 years agoAdd support for String/PathBuf out parameters
ec457c614dc1b479958a962ce145e9d56f8c1c78 authored over 7 years ago32e71ff4311d917bdc84a42f267ec754c5806612 authored over 7 years ago
Fix some Clippy warnings
3ad22de284ffb21670f372a2b28606960bb32c44 authored over 7 years ago85b4d42ac886596cbdba84a377f4bb5d3212e341 authored over 7 years ago
Add support for gsize/gssize by using usize/isize
045514dde8a6cc221026c1d75828bca6ca704f0e authored over 7 years ago574fa28053aefe52406e984a65f818b953e99344 authored over 7 years ago
Update docopt to 0.8, xml-rs to 0.6 and toml to 0.4
9279f448b2d6b36270c8feeb48dffa7a9b0c414b authored over 7 years ago7aa5dadce0c74b85e3dec745cf7b70e1564c65d9 authored over 7 years ago
Update to bitflags 0.9
d121f7e01ae0eb6e10e1e1f645499a57ead679f9 authored over 7 years agoe5659bb3b8a103ec7f6df27b2edb000995fcbc6d authored over 7 years ago
Replace some unwrap with expect calls
1db48ab3d0660f59c822f7089aa15173232e10c0 authored over 7 years agofdeaa47ae0639b649f10dc2de18f6bf24760f22f authored over 7 years ago
Update README.md
2ff30096f629c233fa4db988f31418dd2b5194c6 authored over 7 years agob1e562562c88b368c5bdf9ef70b192273f01460c authored over 7 years ago
Add Into for child properties as well
5c017c9bf0dd1234ca8b1d7b993705fda7172c67 authored over 7 years agoaab0d88273cb4259d038749a67f1b75a9fe98431 authored over 7 years ago
Add sys function config is_windows_utf8
28183c8777ccd756058d5fdc6cb3bb08008038d6 authored over 7 years ago63cd5ef5725c4f5127db26798daf5a41399ec80e authored over 7 years ago
Don't prepend a comma before the first non-out parameter if the first…
9bc164798d88f564493264ebc362bfc49e31996c authored over 7 years ago5388125dbbe4a8617e1d50ccc32d4bfb7b2626c0 authored over 7 years ago
Add configuration for converting bool return values to Result<(), Boo…
9be52a71ea6a451cd5b0ab488fd2d58d56fc6194 authored over 7 years ago80c1d4689fa8df52aabc83e52b3b6b3ebc8b5c33 authored over 7 years ago
This allows giving more meaningful details about why a function could
fail.
https://github.com/gtk-rs/gir/issues/368
d000fa713bbaa1e63d67e764aeb79e3366cb20bd authored over 7 years agoGenerate functions
b010d34e1975be5c9b10a62d57fb19fdb42eb49b authored over 7 years ago8ed6d6be7add37c197d769381644258ca8eaf063 authored over 7 years ago
266525a8cc9db6c1396abceff5e8d8e6d6b6c16a authored over 7 years ago
I.e. without the glib:: prefix.
3ba88ca9c0ecb02dd7ba0df637e9b7c38f64e34c authored over 7 years agoNot only if the caller does not allocate.
2030cc935a591ef00fd9f14102569d1580552ae2 authored over 7 years agohttps://github.com/gtk-rs/gir/issues/295
73162c7c65f6383d70443f9eca10fe1ac61eedc0 authored over 7 years agod9bc7d3eb135a1111932da37bdb2618de03db098 authored over 7 years ago
a7caa3a875ac9ae2b16df5d87e90cf6d12991339 authored over 7 years ago
Update trait config description
81e3f51670257ab8d15006374776735f9e17a612 authored over 7 years ago3423badd1bc0314f197777184804c3c5999bd76b authored over 7 years ago
Generate *Ext traits by default and allow disabling them instead
8343e00abe2d211c00f0b053a79cdf3c30b21fa9 authored over 7 years agob4f8613def72d88f20d0ae89e3b63bddb75953dc authored over 7 years ago
Instead of having the same code with minor differences in multiple
places.
It's unlikely that no trait generation is wanted in that case.
9e9b056cdbe9d00906aa6a7133b32c7b2ecda4c3 authored over 7 years ago
As a side effect, only calculate once in the analysis if a trait is to
be generated and store th...
Add support for generating alias types
43a569c7bf6d77ec5d6e681e143702551693b7d7 authored over 7 years ago
Otherwise there can be ambiguities if the struct implements other traits
with the same function ...
Otherwise the trait will be completely empty, which is not very useful.
13a7654495e1bad158dcaca62b2b97172658a180 authored over 7 years ago
We can't globally know if some type has subtypes/children, however what
we want to actually know...
Reason for this is that the general case is that subclasses of any
GObject are allowed, and in y...
These come without any conversion traits implemented as they should be
directly compatible with ...
Fully qualify the glib::object::Object for the IsA<_> constraints
647769230fd2e10bb41887d7771aa2641d14810c authored over 7 years ago
In crates like gtk or gstreamer, which have their own GtkObject and
GstObject, this otherwise wi...