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
If the input path is invalid no `-C <path>` would be passed to `git`
leading to the command (in ...
Omit version constraints if the surrounding scope already guards these
56b95acee76e9c60d1c0ca7cf788df0b0c5f7cbb authored almost 4 years agoconfig: "Canonicalize" ../ away from relative git paths
620f847df08cdc2711350cbf591b18a79b8d5bf2 authored almost 4 years ago
This removes unnecessary (duplicate) `#[cfg]` attributes on `use`
imports where the surrounding ...
This removes unnecessary (duplicate) `#[cfg]` attributes on trait
implementations where the surr...
This removes unnecessary (duplicate) `#[cfg]` attributes on `fn`s where
the surrounding `impl` b...
6784564139df3a3c765659bfb9aee4b9ad664a3e authored almost 4 years ago
This reverts commit 2129eca10e83945eba37763f56ff8e694f228a64.
01a9a092299bacc6c5f197a45dea6851726fa9e1 authored almost 4 years ago95d3562cc2203c960b65530aba7258bbf09b3143 authored almost 4 years ago
Fix clippy lints
e3f41386460c2b7521003aa7b15fc7ec47c00950 authored almost 4 years ago89740fdaabfae5de163fb4cd1ec9e3ead76b5d07 authored almost 4 years ago
This change cleans up handling of the default gir directory, and makes
sure the `-d` flag is pre...
6db187fab67c0b9b372f156f1170b43f528c0b39 authored almost 4 years ago
sys mode: allow clippy warning upper_case_acronyms
de641b48053213a84b5440772bf4f5f16addc9d3 authored almost 4 years agobb6e9c869f47e2be7da935f0806638bebdb37936 authored almost 4 years ago
add an option to always generate builder patterns
7ea7e09976b2fc00a1db7a04b4379f6be4438616 authored almost 4 years ago132a1c9a38f1f5d53214c231ff04ba3446f43f46 authored almost 4 years ago
"canonicalize" paths
2ad58e9e20e5adbdb51f56d9159bc6ee4c0da02e authored almost 4 years ago2129eca10e83945eba37763f56ff8e694f228a64 authored almost 4 years ago
generate_builder should be enough to toggle on/off the generation of builder
the ignore_builder ...
As most of the times, you want to always generate the Builder for all your objects
except few of...
Extend --gir-directory (into --gir-directories) to be able to pass multiple gir directories
8e81bcbb4bee02f63b453e5ac1464ba451664f72 authored almost 4 years ago598f8e01af1d86fff5c9333af08cc7a7db5d7fb9 authored almost 4 years ago
b2f5a1b9435cc3d6bc81ef37d95e7ff25bca942e authored almost 4 years ago
b101637c1b9ba8923748a45d514e1880b097ef7a authored almost 4 years ago
f55711adf60dc12e957227fb8bc1b95ec4d3d87f authored almost 4 years ago
Also populate interface structs in addition to class structs
5726e16062bd1b4c414bd74210b87bfb7e04ffe4 authored almost 4 years agoIn both branches it's a constant.
a8719758072220cdb22d8c2cba879a3d0a31cf8d authored almost 4 years agoa5640b44af52e28b7558175fcc0382e1286c50c9 authored almost 4 years ago
Add support for connecting to signals with details
a9fa404a7c539c4ef6d41f095f642d205280d9d2 authored almost 4 years ago
Some GObject signals have a non-default _detail_ argument [1]. This
allows one to specify that a...
README: fix object.function "assertion" key name
6076c31ef869d00b0a1b7a8bcb2a26bfd4b31e5c authored almost 4 years agoIt's `assertion`, not `assertions`
0389e1e7590bca0561798db7b8bff158cec0dc64 authored almost 4 years agoassertions: add a not initialized variant
0ec7dc00c266fe8955c41ede86b82d927c5e6fef authored almost 4 years ago849327c701f755077d4fa3f2977a3bcaacd5d33c authored almost 4 years ago
codegen: Avoid a dead code warning in ABI tests
21731042546689ae220676ebbfc47e366a8c4d35 authored almost 4 years agoWhen there are no C types, we don't need the crate imports.
ec0722ea239cd706f978cd34420b142753a7c155 authored almost 4 years agosignals: rename emit to emit_by_name
f89c298abbb4b1287f100ff44b780ce152603266 authored almost 4 years ago
ObjectExt::emit should take a SignalId instead of the signal name
see https://developer.gnome.o...
Consider nullability of out parameters in normal and async functions
02314d081772fd56d0ec85d72660aaa4df96f074 authored almost 4 years agoCo-authored-by: Guillaume Gomez <[email protected]>
3b95c40bb9213f65676d1a0d12369449c98db009 authored almost 4 years ago
This is basically the same hack as in the previous commit that looks at
the configuration manual...
This just adds to an existing hack. The code analyzing out parameters
has to be completely rewri...
Update fmt
b15de613b647e4388379ea3e2e8ff9f863fc9e70 authored almost 4 years agoc16cccb75204afcb55183acc79fcd2ba01fca428 authored almost 4 years ago
doc_alias: don't generate if the enum c_name = rust_name
c7fb6b5d822f6a0d6488f400c21b8bed3d46817c authored almost 4 years agoAvoids `#[doc(alias = "...")]` is the same as the item's name errors
d8220f25ba197a8ca6d2bd74dbd7acbdf0745f22 authored almost 4 years agosys: use system-deps 3.0
d8408d87e2d2b98936d23116938a1166e5660478 authored almost 4 years ago
The return type of the probe() method changed, so this will affect user
code doing manual work i...
Fix new clippy warning in generated C tests
f8f378dc4607483fdc5028620d9815b6a98e400f authored almost 4 years ago87b4a5e178395c19035e52a08be87e5072d286fe authored almost 4 years ago
3409de3b7dad395d668ca04bf34a5fbe0026c137 authored almost 4 years ago
codegen: rework ABI tests to use a single C program for each test
1c7b41a5edceb88be75473974405044abee2bd8c authored almost 4 years ago11538b2407dd750aeed5134ac3a827ff1bef4c03 authored almost 4 years ago
Instead of compiling a C program for each layout and one for each
constant to check, generate a ...
Add documentation in case this is an abstract class
7edc5fbedae250296f4ba60fbba10e7a85558d59 authored almost 4 years agodffc45337e467fa0293cec321646360def881c08 authored almost 4 years ago
Honor the PKG_CONFIG env var in the codegen for abi tests
cbdc2e47c2d52fccb3815e0f1ed18e648bc5aaba authored almost 4 years agod385e7604b2c89dcc8853591402011804b523b85 authored almost 4 years ago
analysis: Move global imports to object-specific analysis and under versioning constraints
c85699a1d2d426f7e1982f0e193eb48d799a4742 authored almost 4 years ago
Some crates might not have any enums/flags at all, or only have some
that are defined under a ve...
While adding some new classes to gstreamer-rs gir keeps emitting `use
glib::translate::*;` for c...
This member is only used to derive other booleans from during analysis,
but is not used anywhere...
Some crates such as `gstreamer-base` only have a single enum
(`AggregatorStartTimeSelection`) th...
Signals were previously relying on an implicit import of
`glib::translate::*` by special functio...
Properties were previously relying on an implicit import of
`glib::translate::*` by special func...
analysis/functions was cleaned up in the commit before to not emit
`glib::translate::*` imports ...
Special functions either do not need any translation imports at all
(ref/unref, copy/free), or t...
codegen: Omit mut_override from boxed copy if parameter is *const
9e97877b4103e9c84bcb17e2168364aa3277af40 authored almost 4 years ago
While not harmful at all (clippy doesn't even flinch when writing `as
*mut _` where a `*const` i...
0a5aef4a4119f22dcdd12bd5993f828fd78b90f0 authored almost 4 years ago
Add extra_dox_features config setting
21213ed18b4073b478e28fa29a63908204ea70a4 authored about 4 years ago058151ecc6f84895aa697e8a897070083c49b3f0 authored about 4 years ago
function: Teach gir how to generate whole functions as unsafe
907cd81533d3e7759c5a45a3886faa5e7fa2eacc authored about 4 years agoRemove use_boxed_functions override
9675d62701b1427f1d54fb26827a76ffc545c099 authored about 4 years agoCI: Run apt update before apt install
2c8578ee9a6b3afc7a37dbb2ce1ced4521765b17 authored about 4 years ago
While implementing GLFilter bindings review suggested to mark a few new
functions as unsafe. It...
1ba059bdb770cec42112f629c6be035602fb8fe2 authored about 4 years ago
The index contained in GH Actions' virtual environments always lag
behind a bit and might point ...
is_boxed is already set to true when use_boxed_functions is true, and
shares the exact same code...
This override only works when get_type is available and is intended when
copy and free are not a...
Since regex 1.4.3 the `Regex` object becomes too large in comparison to
the other variant in `Id...
Fix import of BoolError in glib
be0cc8be4438d7f5db675a09f32eb022380a2456 authored about 4 years agoUnify toml comments format in README
43be5d4817cb61ef93439188db1f30a80d577013 authored about 4 years agobae01f1b5ca8f4294717389c3b8105254b8dfd9c authored about 4 years ago
3f3b6cf9a1a1180a78b391a6531c7eee7ff095ff authored about 4 years ago
Add an error in case a name field has content of the pattern field
304147aa42b1480036b30c28f9a67d307c25de78 authored about 4 years agoa557f7e9c3684e95166b9e5068e7484ed209b804 authored about 4 years ago
Generate doc aliases for enums and constants too
00040a2815bbabb466b90c1fc5ca203e4357f425 authored about 4 years agoe26fe282361aac95de3f3c1a526971a6a50c320e authored about 4 years ago
Use `wrapper!` instead of `glib_wrapper!`
0ae397776541fce8e1082b55c395eff78adcc631 authored about 4 years agoRenamed from `glib_result_from_gboolean!` and `glib_bool_error!`.
901c0b45979cc2f6b0f5c0931ad442b5939d35e1 authored about 4 years ago00f7753e6b43dd58a850dc8aa7b8625f802de26b authored about 4 years ago
Use new glib::Object::new() syntax
90f590b7536feaf83d7d6815b502071549a0eded authored about 4 years agoGoes along with https://github.com/gtk-rs/gtk-rs/pull/219.
fbafe5fb13f40e7f85dd84509d32118b537a0246 authored about 4 years agocargo_toml: Do not overwrite system-deps version if already set
6123d593fb7c72bd774f837de1c4514ad72750d4 authored about 4 years ago
For [1] we need to override the target library version because 1.20 does
not exist yet. Gir keep...
Fixed issue generating the -sys/Cargo.toml
1fb591778576e014feebd1cc81ce59cba9cf2a3f authored about 4 years ago8cd71ba2de3a67c28cd83247666662172c266ab8 authored about 4 years ago
Make calls to from_glib unsafe
6ec2baf17c1fdb6dfc45c6a47ba50605e46c4d1a authored about 4 years ago