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
Doc aliases for C & renamed functions
974c5bcf82ebeb3984563fdc97008a52b2e01df0 authored about 4 years ago0e501e399a016a5c278d26289e79091c06fdad54 authored about 4 years ago
c7052b1cefc5f95226bec9efa8d42d0bb3b39fbf authored about 4 years ago
Improve final type heuristic to also check for unknown instance structs
3918b7c46446afed50b7712bd104be9d34379ef2 authored about 4 years agoGenerate `impl` blocks for associated enum functions
1c1a8d701cf372ed673ca609bd176a75848e75aa authored about 4 years agoUse `cargo:warning` instead of `eprintln!` for printing warnings
5e2f7bd96c000199c0434a42f4c36c4d3c36c39f authored about 4 years agoThe latter just disappears instead of being printed.
Fixes https://github.com/gtk-rs/gir/issues...
5740e32b39232ca98d590f4ccf675b9f50167e42 authored about 4 years ago2915bde468de0785bc2b650444f50c5c56a40e31 authored about 4 years ago
5b32e695f97e498a9a3c4c01cb3009ed4b10f890 authored about 4 years ago
18c12a519119d9de234b8ee8c0d8f589bad243e8 authored about 4 years ago
bf7dd099e29774687b0636491b9bae0c3d58683b authored about 4 years ago
Complements: 5ce31f2 ("codegen: Add version condition on special function traits")
a1cfe6515cc82b566f23772fa86d8b81d8c217c6 authored about 4 years ago37366a2950dbdb9ea9ccb1e298436dae612a0220 authored about 4 years ago
When get_name or to_string is available and adheres to the right
conditions a Display impl lever...
Analysis was copied from enums which adds an std::fmt when
generate_display_trait is true, but t...
e549975b156139e67b8325e9e74e76ef11ff8f9f authored about 4 years ago
6a43595097297e09fdc9a680f7edbaf579c75065 authored about 4 years ago
c3e827f83aedea77c6f950f9c32875bc1f5cf423 authored about 4 years ago
This not only cleans up unnecessary mutable variables in the codegen
loop and a cloned Imports i...
This function is responsible for generating a Display impl, and caused
unused std::fmt import pr...
71232805c4735d0cd24949e44fac2b8e06aec4a8 authored about 4 years ago
3023445e0600620e7a82ffba74a57c256d4556e4 authored about 4 years ago
This is used in enum function generation where all enum types
asssociated with a given crate are...
9bc5f6e9687256f41dbaeda3630f6d15e6c5474d authored about 4 years ago
ef8c22be36fe2fa55dec1939a269b8d15f34c2fd authored about 4 years ago
841582f7c03277a5d3d350b177d6b50634cf7979 authored about 4 years ago
`crate::ffi`, which these calls resolve to are ignored in
Imports::common_checks, no need to pas...
18d4a5468dbf21c7e1c75bb6e572c1ab6717d0bf authored about 4 years ago
a63936437a567b6b26a0b0c347f179508dcca09f authored about 4 years ago
0f554d7d0d95f78fffc267075836f957b6f31bd4 authored about 4 years ago
This function always returns the value from sys_crate_name.
e54e73f8974ec6a37fde6cc74a247e00096543c7 authored about 4 years ago68e4c73cf79cb279a5d03695739d2d0fd6c26b0b authored about 4 years ago
bfb0a2d016ebe0cb15c32c5f1cc0d3298c5b03bb authored about 4 years ago
These always show up in the .gir file but for final types there wouldn't
be any fields inside it...
don't be verbose on missing c:type on internal fields
cda8f542e1860006bb149c4cf9922eb375dad240 authored about 4 years agocargo_toml: Do not overwrite library name for unversioned system-deps
cd1785739c88f31e07ee391271dfa0ded61c6d19 authored about 4 years agoSee: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/565#note_709394
In ...
67c2d9711aae104d5a0a4bbdf8cd393f5a5f1956 authored about 4 years agoRevert "Switch to doc cfg instead of feature dox"
e941700f720b09ceb98d37369275ca292c34d650 authored about 4 years ago656652e58827e374312774d672d8c48bc851230f authored about 4 years ago
codegen: Explicitly use glib::Value instead of importing
918f87cafa876b0ce3b593f98719763295f6c22b authored about 4 years ago
Fixes an issue where glib::Value could conflict with other
things named "Value"
Use write_str instead of write_fmt when no formatting is needed
9a2e43b6f30f7c86e6993bfd6bdaf60d8b4448c3 authored about 4 years agocodegen: Add version condition on special function traits
0ed0b79934960f7d77c5c4f063c61d655fbd1cfb authored about 4 years ago
Write_fmt (what write! expands to) needs to be set up with an
std::fmt::Arguments object that is...
5ce31f2d15633bb45a194f78b188e367b82a0783 authored about 4 years ago
Switch to doc cfg instead of feature dox
b16d610330e6313f9ae00ec48632910630ea6876 authored about 4 years agoa744f1dd8730253e60b471e9c89c7c37cd073045 authored about 4 years ago
af0ae9d71c69831b069d2b1d48db826a7c947832 authored about 4 years ago
5739c3f3f106c5d895b7fe69671d3871309edeb9 authored about 4 years ago
0b79fd0f08b0a2b4abb4700097127f33a45fcea9 authored about 4 years ago
e88f4b7e369d23cb0e24dc19dd03f2d8f4aa62c1 authored about 4 years ago
Add 2018 edition to tests
c653882f21a43e99bf0cede3d36a10161c13a287 authored about 4 years ago3134a21c7b472477b8af48bb4198bfe1afc4a39b authored about 4 years ago
18a03923de8b8991cdf424fa7c11cea491c48bdf authored about 4 years ago
3df9091c6ae4f35a45636e9032f82cb735aba3d4 authored about 4 years ago
config/members: add manual to wanted check
12803402ff31a2d82a272dc910d1ab6d6978cee9 authored about 4 years agoda6c629bc6f6ba84f0a4c394401cd0db89d1f074 authored about 4 years ago
b1345c19e988ba79ded89ecd7779d060b46abfbf authored about 4 years ago
8bbdea39c9b08caeec8b39058eb2615f21899ec0 authored about 4 years ago
3a366fb8553f203c17ced8c6298b4a9c86ac282b authored about 4 years ago
Now that paths can be specified on the commandline the depth level does
not need to represent sy...
Argparse conveniently prints the name of the argument that failed
parsing.
509c54db7bf2e20627652d2d1042dc23aedbe2bb authored about 4 years ago
gir-directory mentally conflicts with the directory for `gir`, rather
than the specifically-name...
b83289b358113abc9b9da045ff9d68b9511911bc authored about 4 years ago
e242dd991b99c3d18c83a86f5c29063517015ece authored about 4 years ago
80d148df6b6180c093c7467207e5f7cd2bb65f51 authored about 4 years ago
Switch 2018
694b4b822fcb91b9e9d86c8b96d90f5c923a4bc4 authored about 4 years ago7f8570747a40f663fd284866501ad3fdb41e3d05 authored about 4 years ago
740144aefb63990c5eb9943fdcd19a1068c36253 authored about 4 years ago
b0a4e961bd3b2ff205a340e46301db0fde85a0b9 authored about 4 years ago
d4fccf38c47084ee47d43dd96bb0c6d9d58e5ff2 authored about 4 years ago
fixes #1000
dea1204eb60c5e92c411e5eea5b3284b1f2cc639 authored about 4 years ago663f2508244bfb0f900222c45923b0b39f557ac9 authored about 4 years ago
177732362f47b8a0843710f8ab0aa6e1f59ad274 authored about 4 years ago
d4b91f231191d65d8ec76804a8ab865d06934c54 authored about 4 years ago
3f28ad3e61643de9f881eb8cc78e622a90ce400e authored about 4 years ago
d4b2c47e405b5e4135f21962dd1fe72194b522a1 authored about 4 years ago
6ba71c648a7339b199b03417f4562ae3649984e8 authored about 4 years ago
d6e23d7a99c8266717c8d154515d075701d4d203 authored about 4 years ago
b92efdf14456483dfc09bc7159eefd18890956d7 authored about 4 years ago
This is not needed any longer
062b3d649ccc09c17564d6bc429dc682829d71f0 authored about 4 years agoSee https://github.com/gtk-rs/gtk-rs/pull/156
80b31bd8c25609f93fd97d834ee3df2a4b7327ab authored about 4 years agocodegen/enum: Do not generate doc(cfg) on match arms
1ae96896fceb120eddfb2e4fedc97eb7b0454d73 authored about 4 years agoSolves warnings of the following kind in gtk-rs:
warning: unused doc comment
--> gtk...
warning: unused doc comment
--> gstreamer/src/auto/enums.rs:761:41
|
761 | ...
11df66889a92fce31824f080b6441b9bdfa16bb9 authored about 4 years ago
96e719124384aee3989f61c18403cec38f9ad222 authored about 4 years ago
fb6a05f8c72dd8f65899698f0528e13947f39a3e authored about 4 years ago
Simplify `match` blocks into `?` operator using SSR
9f4a439da6d7d6066346807fd882b5a8942d9558 authored about 4 years ago1751431fd7afd1142313cefbfc717bb9a0f13877 authored about 4 years ago
126c6aebc3edc41915583b44177ea80c93198731 authored about 4 years ago
Using Rust-analyzer SSR:
match $a {Ok($b) => $c, Err($e) => return Err($d)} ==>> $a.map_err...
560b15f4ed63dd89e8b39b4dd6a577a8e1b72e47 authored about 4 years agoUsing Rust-analyzer SSR:
match $a {Some($b) => $c, None => return Err($d)} ==>> $a.ok_or($d...
4aafe6fed044596cd7e98f451faa03002d675dd7 authored about 4 years agoUsing Rust-analyzer SSR with:
match $a {Some($b) => $c, None => return None} ==>> $a?
14d9ca175ae2a39f4af996a7446ef92dab1579e1 authored about 4 years ago60b4a4a04c7564c322e108d1f3f2379e004c271d authored about 4 years ago
3eaed54df37e8c6a6b1738ad4ebde064813dc15a authored about 4 years ago
cf161307398067f86f17f2b7d68fcdf471b0a314 authored about 4 years ago
700c2aa34c9ee4bea089838b38900894f5075a71 authored about 4 years ago
66fc1dcfc81582220df20f9797ee506f79937253 authored about 4 years ago