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
Useful for graphene and code reduction in various other places.
See https://github.com/gtk-rs/g...
816854b6192e99153007e0a6716442879fa4e883 authored over 3 years agoSpecial case C _Bool by treating it like a Rust bool instead of gboolean
3add890a7b39cab4f3998ab7a3bddd440c87039e authored over 3 years agoFixes https://github.com/gtk-rs/gir/issues/1205
d19f131532bbf3e52f305adc7c04e4cefa4c5e41 authored over 3 years agoHandle objects correctly where a supertype has a newer version than the type itself
05fe12c0b7e761181827ea455a737ef7fe9130c6 authored over 3 years ago
In that case it is necessary to create multiple glib::wrapper! calls
with the different sets of ...
Previously it was an enum with a Short and Full variant, but comparison
was implemented wrongly ...
Remove type version heuristics
4aa58cff804839547d4341b2108b28ce708996f6 authored over 3 years ago
Previously we would infer the minimum version of a type by the minimum
version of all its functi...
Always output git short revisions with 12 characters
2e986b5dc4c577fcd181e147d410a74c3cb35fd6 authored over 3 years ago
The corresponding .gir file was removed recently because we don't
actually provide bindings for ...
Otherwise git will use some heuristics and things might be different for
different environments.
Handle nullability configuration for async function return values
74231da88ec73066d4c26e791674887b941af773 authored over 3 years ago4152e72a14cf561e9abb3331f0ca8da279ca1ffb authored over 3 years ago
7050b649eb0d4aef4e129df301201b670c281d99 authored over 3 years ago
Update dependencies
21b630b9fc6bd6b1079d4429b2c9d8e790cf48c9 authored over 3 years agoa65f16c3bfa8ed40d15a84874b18dbc7d2af3341 authored over 3 years ago
build: Emit rerun-if-changed for branch file on `ref: ` HEAD
350409c8e7b41759f85854579f2a7d0d7df2aff8 authored over 3 years ago
We already ran into the issue of git hashes not updating when checked
out to a branch, because t...
Update to system-deps 5
06e454523a464c9797e90fb1312bbdb2c6baa791 authored over 3 years ago7d0ff6b5eb8854c92e315ccce6f9961bd47865d6 authored over 3 years ago
Use `impl Trait` instead of generic type names with trait bound
ede0c31f5a5d978fb04fdf1462748f34a0e26bd2 authored over 3 years ago545d89f28bcdd8f4e6d6dc116e90298b32027d2c authored over 3 years ago
Add `Default` impl for all objects that have a builder generated
689ea5b6dbcdeb377285983f090caa557dd031f3 authored over 3 years ago
`impl` is quite a bit more concise and readable when a type parameter
with trait bound is only u...
Fix parameter setting by applying it to the rust_parameters field as well
f64f90a1d328afd96c6a2a41a8e061d0c0c202c3 authored over 3 years ago61e82e559ff3f1ec6b4e0ae7aee8e0818ab6bd4a authored over 3 years ago
Config for nullable callback param
96d84c04e64585592242573953ffeffffb041573 authored over 3 years ago5652ad55bb706b723698c6f0e2a21775ed75e7d8 authored over 3 years ago
11986fc22a1fc2d4f2f966b7304ee151d94782eb authored over 3 years ago
Update system-deps version in generated crates
3158f690f1208f3e7f3ed0cdbae7f387d158e81f authored over 3 years ago9e5c247fe70e9f0667e48554221abd6258df5437 authored over 3 years ago
codegen/flags: Put doc attribute on struct instead of macro calls
9e7b5ee4a25baaa4783afc1358839be024e22e5b authored over 3 years ago
Attributes on macro-calls don't have any meaning, as indicated by this
warning and the feature r...
This type only needs to implement `Display`, and we only need a
reference to the displayable obj...
Do not generate Default implementation for Option<>
9a3dffa3cdef6fb9abb1e2e122572782e89610d7 authored over 3 years ago45cd7bc7a47622c94989c2688ff46f198d9968b3 authored over 3 years ago
Remove the `links` annotations
b193568a965a01e0d153df61f7dfd5358d85b232 authored over 3 years ago
The `links` annotation in `Cargo.toml` is intended to ensure that in the
crate graph there's at ...
Fix clippy warnings
fef5b3fc9f436835b7a34edf7b9465bbfcbd6e3b authored over 3 years agoe661e55d52774dd65fc917ed0d70b020b8100b56 authored over 3 years ago
book: Replace `shell` with `console` codeblocks
5bbf6cbceb7066532079b2249201efa21ef43a08 authored over 3 years ago6fdbf6c466dbef6c5e35c5a85c319f13248d3eb9 authored over 3 years ago
docs: don't generate for properties with getter/setter
e8f82cf63f2b2fba7af9440248510c4b7e5ab787 authored over 3 years agodocs: disable language warning for various languages
a00ace1d7503e190d6dbd6f0286b6c54dfd3fbe3 authored over 3 years agoab0a8711958164d51eb12d083ea36eed5d30af2b authored over 3 years ago
Some properties have already a getter/setter already and there's no need to try to document them...
2d4b1bb0c29781d1473f34c47b6852399869c845 authored over 3 years agoFix doc condition for warning
1bef39f6176e84feb082d536ce4ce6e99d85a418 authored over 3 years ago7d2b1fd23ae5a4365b5bc2ec671eed81e818fe1f authored over 3 years ago
Fix link to builder pattern explanation
6ed30fcbc65b3dcb1e8973d096a0ba502705dc5a authored over 3 years ago514fe3d253fc365b0a9ee55163ffc7ddb149aca2 authored over 3 years ago
Fix a/an grammar by changing the sentences.
18283d1cdbb1a6ebbd9baa00388b19914bfdeb4e authored over 3 years agoe88ca618a7fd6d4034dc71ce917755660a38462d authored over 3 years ago
Remove extra & to fix clippy lint
0d08607eb5b5a98ae6cb560f1bcaa0a7fadfb4ab authored over 3 years agoGenerate warnings for code examples
f6a36bc1b3004a2f371e405ff9efe5bb55018881 authored over 3 years agoRust 1.53: Use the new nested or_patterns
6ffca762700606f9d24668a2c62109e9377e2754 authored over 3 years agod51b49e606624ba1ee16a2e73edcb0857454bc44 authored over 3 years ago
2cf4089bfc5976bcfac5b9a9e04484a5d434d746 authored over 3 years ago
Fix clippy lints
111f92b1f90bfaeef36b879d197618e5097065e3 authored over 3 years agoaf15969ac5f6647379a89ab8202a726cd9cf5a91 authored over 3 years ago
docs: properly handle trait name for manual methods
ed7a2ee3b2229491283063924fef2d277d2eb11e authored over 3 years agoMove tutorial & configurations docs to an mdbook
6c8e5fb1735f8204d6c1d8178f57f169adef4b4d authored over 3 years ago06fcf462d327d656e3b5288bde60a246ce77e0a8 authored over 3 years ago
8209c5f3337f82b8a624423c572e659364dc2176 authored over 3 years ago
a4906774dfe523dbe6e466ace0d0459aacfaf7a8 authored over 3 years ago
3f68691a4cd5e611abfdd714786edbaa1f4dbb10 authored over 3 years ago
10b7115946792289a28e5123075966e70c0ee11b authored over 3 years ago
Previously `|` was only allowed in the top-level of patterns, requiring
the circumfering enum va...
113f25d5a8d3a7dead88664de89dd8cc549decdb authored over 3 years ago
fe302ae817b352cf2667be34f115cebd15ff618d authored over 3 years ago
currently if a type has a unique method marked as a manual, has_trait would be set to false
whi...
Don't generate duplicated doc aliases
b75e059c1411854d3475555a2f61072c2ae7c1c1 authored over 3 years agocc39ff7df4f785e79bbdad251ff343148d853841 authored over 3 years ago
Let cancellable be passed into GioFuture instead of creating it ourselves
e53b4d7c4ee82f4a4be56996a6746fb1cd1aaefc authored over 3 years ago13916c42d83504d2f09eee739b44e6d5f38a9577 authored over 3 years ago
Add support for cfg_condition on enum variants and bitfields and fix cfg_condition for enums and...
b5d88a62204f376674427e5815162c81c460fb1c authored over 3 years ago* Fix cfg_condition for enums and bitfields
e85e613d430c5744577ec2a1c3e2b9b80368bd92 authored over 3 years agoenum,flags: Take `version=` attribute in XML for members into account
7cc665ff3e219eee4efc699f758bcc8d996c8e6c authored over 3 years ago
`gir` XML contains `version=` attributes which are currently redefined
manually in `Gir.toml`. ...
Add float format to PRINT_CONSTANT
cfde7f6580775bb22048a648bd6531a63bbb6c82 authored over 3 years agocodegen/doc: Generate links for enum/flag functions/methods
72e79f771ec2a79f2a1b70ff8bd24ecab1791dcd authored over 3 years ago
Add the missing links (only one in GStreamer) to associated functions
and methods on enumeration...
analysis/function: Don't link docs that are commented or invisible
4889e2ebe684f95ece8e4d6f7beecb039687b7f0 authored over 3 years ago
`gir` already knows which functions it is not able to generate given the
available dependencies ...
Fix sys crate name for bitfields
4395f43bcf031450ffe3c8779189bacf0c0644a1 authored over 3 years agoda8a36bbd0892f03c5007462b78ae7439fde906d authored over 3 years ago
Generate doc aliases on items in wrapper! macro
bab5fd3eb9e9da7290fd18fd09b165c7f4856aee authored over 3 years agoff1ce8a557a6f230b9b2b701e194e15d9e01063e authored over 3 years ago
use C const for flags variants
b0a1581a048cd3fdcaaefc6dd7af53495be1cd5a authored over 3 years ago81bbb2c144729a0ad8924713544c9989416081a3 authored over 3 years ago
codgen: make the builder method doc slightly better formatted
796942cae034a34eafca3911e6991c9156fe715b authored over 3 years ago51c68a085d4bb8a96983ff1d79c1cfe068c86b5a authored over 3 years ago
docs: look for renamed properties getters/setters
4624a552757a00b4ccbd82bebb792237d7594c06 authored over 3 years agoFixes #1171
8708218b88f52c91f447f391b48247320e61bc91 authored over 3 years agoDocs: refactored + GI Docgen support
67a252ee6082cf9412ce0a1117b0644e445f51f3 authored over 3 years ago
this was a regression caused by replacing items/functions inside two backticks
and it also handl...
c52bf4013094a6e914d27a17a42e5bbbd97fa8ae authored over 3 years ago
a67d46b2f768f2a24054c86dbe27f4b3767cdd70 authored over 3 years ago
eb19eb848e9f472c8733a6a82257a7e9943c5867 authored over 3 years ago
75c94b63bc941bb831b198393cf9ddbbc610ae88 authored over 3 years ago
fixing this linter complaint will make the code harder to follow what it does exactly
so let's d...