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

git: Panic if repo path is invalid instead of providing hash for root

If the input path is invalid no `-C <path>` would be passed to `git`
leading to the command (in ...

287feb7e9883df8de20ecb1c862259c39823131c authored almost 4 years ago
Merge pull request #1080 from MarijnS95/deduplicate-cfg-guards

Omit version constraints if the surrounding scope already guards these

56b95acee76e9c60d1c0ca7cf788df0b0c5f7cbb authored almost 4 years ago
Merge pull request #1075 from MarijnS95/remove-parent-from-path

config: "Canonicalize" ../ away from relative git paths

620f847df08cdc2711350cbf591b18a79b8d5bf2 authored almost 4 years ago
codegen: Omit version constraints on imports if scope already guards it

This removes unnecessary (duplicate) `#[cfg]` attributes on `use`
imports where the surrounding ...

71e84df909c60e57cfe1627682792e46d4b89091 authored almost 4 years ago
codegen/trait_impls: Omit version constraints if already guarded

This removes unnecessary (duplicate) `#[cfg]` attributes on trait
implementations where the surr...

28bed3d805d2738307557cfa378a80a76d3921cb authored almost 4 years ago
codegen/function: Omit version constraints if already guarded by scope

This removes unnecessary (duplicate) `#[cfg]` attributes on `fn`s where
the surrounding `impl` b...

9cf435217b7daeb24eb9f14458fe7c0cd9072390 authored almost 4 years ago
config: "Canonicalize" ../ away from relative git paths

6784564139df3a3c765659bfb9aee4b9ad664a3e authored almost 4 years ago
Revert ""canonicalize" paths"

This reverts commit 2129eca10e83945eba37763f56ff8e694f228a64.

01a9a092299bacc6c5f197a45dea6851726fa9e1 authored almost 4 years ago
Cargo update

95d3562cc2203c960b65530aba7258bbf09b3143 authored almost 4 years ago
Merge pull request #1083 from GuillaumeGomez/fix-clippy-lints

Fix clippy lints

e3f41386460c2b7521003aa7b15fc7ec47c00950 authored almost 4 years ago
Update generator options in CI

89740fdaabfae5de163fb4cd1ec9e3ead76b5d07 authored almost 4 years ago
generator: Iterate gir directories passed on the command line

This change cleans up handling of the default gir directory, and makes
sure the `-d` flag is pre...

d6589441d396ae5603bfe05af3f21badd011519e authored almost 4 years ago
Fix clippy lints

6db187fab67c0b9b372f156f1170b43f528c0b39 authored almost 4 years ago
Merge pull request #1082 from bilelmoussaoui/patch-1

sys mode: allow clippy warning upper_case_acronyms

de641b48053213a84b5440772bf4f5f16addc9d3 authored almost 4 years ago
sys mode: allow clippy warning upper_case_acronyms

bb6e9c869f47e2be7da935f0806638bebdb37936 authored almost 4 years ago
Merge pull request #1072 from bilelmoussaoui/bilelmoussaoui/always-generate-builder

add an option to always generate builder patterns

7ea7e09976b2fc00a1db7a04b4379f6be4438616 authored almost 4 years ago
Don't set a default value for the -d option

132a1c9a38f1f5d53214c231ff04ba3446f43f46 authored almost 4 years ago
Merge pull request #1074 from GuillaumeGomez/canonicalize

"canonicalize" paths

2ad58e9e20e5adbdb51f56d9159bc6ee4c0da02e authored almost 4 years ago
"canonicalize" paths

2129eca10e83945eba37763f56ff8e694f228a64 authored almost 4 years ago
Remove the ignore_builder option

generate_builder should be enough to toggle on/off the generation of builder
the ignore_builder ...

e1499081e9e97f33c12bd188b251efee654e27cf authored almost 4 years ago
Add a global variant of `generate_builder ` option

As most of the times, you want to always generate the Builder for all your objects
except few of...

a21bce04bb958c848b35fe480985057e26c649a7 authored almost 4 years ago
Merge pull request #1041 from GuillaumeGomez/gir-directories

Extend --gir-directory (into --gir-directories) to be able to pass multiple gir directories

8e81bcbb4bee02f63b453e5ac1464ba451664f72 authored almost 4 years ago
Update tests to use new girs_directories syntax

598f8e01af1d86fff5c9333af08cc7a7db5d7fb9 authored almost 4 years ago
Add other gir directories hashes into headers

b2f5a1b9435cc3d6bc81ef37d95e7ff25bca942e authored almost 4 years ago
Extend --gir-directory (into --gir-directories) to be able to pass multiple gir directories

b101637c1b9ba8923748a45d514e1880b097ef7a authored almost 4 years ago
Make girs_dirs option take a Vec instead of a string

f55711adf60dc12e957227fb8bc1b95ec4d3d87f authored almost 4 years ago
Merge pull request #1066 from sdroege/interface-structs

Also populate interface structs in addition to class structs

5726e16062bd1b4c414bd74210b87bfb7e04ffe4 authored almost 4 years ago
Remove redundant kind_name formatting

In both branches it's a constant.

a8719758072220cdb22d8c2cba879a3d0a31cf8d authored almost 4 years ago
Also populate interface structs in addition to class structs

a5640b44af52e28b7558175fcc0382e1286c50c9 authored almost 4 years ago
Merge pull request #1062 from zec/signal-detail-arg

Add support for connecting to signals with details

a9fa404a7c539c4ef6d41f095f642d205280d9d2 authored almost 4 years ago
Added support for connecting to signals with details

Some GObject signals have a non-default _detail_ argument [1]. This
allows one to specify that a...

f325682cb9c260b4951ef4af5f003941a51ba2ee authored almost 4 years ago
Merge pull request #1065 from Cogitri/patch-1

README: fix object.function "assertion" key name

6076c31ef869d00b0a1b7a8bcb2a26bfd4b31e5c authored almost 4 years ago
README: fix object.function "assertion" key name

It's `assertion`, not `assertions`

0389e1e7590bca0561798db7b8bff158cec0dc64 authored almost 4 years ago
Merge pull request #1064 from bilelmoussaoui/bilelmoussaoui/assertions

assertions: add a not initialized variant

0ec7dc00c266fe8955c41ede86b82d927c5e6fef authored almost 4 years ago
assertions: add a not initialized variant

849327c701f755077d4fa3f2977a3bcaacd5d33c authored almost 4 years ago
Merge pull request #1061 from heftig/dead-abi-tests

codegen: Avoid a dead code warning in ABI tests

21731042546689ae220676ebbfc47e366a8c4d35 authored almost 4 years ago
codegen: Avoid a dead code warning in ABI tests

When there are no C types, we don't need the crate imports.

ec0722ea239cd706f978cd34420b142753a7c155 authored almost 4 years ago
Merge pull request #1060 from bilelmoussaoui/patch-1

signals: rename emit to emit_by_name

f89c298abbb4b1287f100ff44b780ce152603266 authored almost 4 years ago
signals: rename emit to emit_by_name

ObjectExt::emit should take a SignalId instead of the signal name
see https://developer.gnome.o...

6e94b31328fd65692f3febc70ca5144c397efad6 authored almost 4 years ago
Merge pull request #1057 from sdroege/out-nullable

Consider nullability of out parameters in normal and async functions

02314d081772fd56d0ec85d72660aaa4df96f074 authored almost 4 years ago
Apply suggestions from code review

Co-authored-by: Guillaume Gomez <[email protected]>

3b95c40bb9213f65676d1a0d12369449c98db009 authored almost 4 years ago
Consider nullability overrides for out parameters of async-finish functions

This is basically the same hack as in the previous commit that looks at
the configuration manual...

8fd2582654f8becc7e5aafde8e62a059b68ffa80 authored almost 4 years ago
Consider nullability overrides for out parameters too

This just adds to an existing hack. The code analyzing out parameters
has to be completely rewri...

7beaea354deaeddf9c37b0e3c067a3915af0145e authored almost 4 years ago
Merge pull request #1056 from GuillaumeGomez/fmt

Update fmt

b15de613b647e4388379ea3e2e8ff9f863fc9e70 authored almost 4 years ago
Update fmt

c16cccb75204afcb55183acc79fcd2ba01fca428 authored almost 4 years ago
Merge pull request #1055 from bilelmoussaoui/patch-1

doc_alias: don't generate if the enum c_name = rust_name

c7fb6b5d822f6a0d6488f400c21b8bed3d46817c authored almost 4 years ago
doc_alias: don't generate if the enum c_name = rust_name

Avoids `#[doc(alias = "...")]` is the same as the item's name errors

d8220f25ba197a8ca6d2bd74dbd7acbdf0745f22 authored almost 4 years ago
Merge pull request #1054 from gdesmott/system-deps

sys: use system-deps 3.0

d8408d87e2d2b98936d23116938a1166e5660478 authored almost 4 years ago
sys: use system-deps 3

The return type of the probe() method changed, so this will affect user
code doing manual work i...

3e1291a0e62262ca52dfdf363ec3bbecffc4a7d8 authored almost 4 years ago
Merge pull request #1053 from sdroege/clippy

Fix new clippy warning in generated C tests

f8f378dc4607483fdc5028620d9815b6a98e400f authored almost 4 years ago
Use str::split(char) instead of str::split(&str) for a single character

87b4a5e178395c19035e52a08be87e5072d286fe authored almost 4 years ago
Update dependencies

3409de3b7dad395d668ca04bf34a5fbe0026c137 authored almost 4 years ago
Merge pull request #1050 from pbor/c_abi

codegen: rework ABI tests to use a single C program for each test

1c7b41a5edceb88be75473974405044abee2bd8c authored almost 4 years ago
codegen: pass -std=c11 to the abi tests, since we use _Generic

11538b2407dd750aeed5134ac3a827ff1bef4c03 authored almost 4 years ago
codegen: rework ABI tests to use a single C program for each test

Instead of compiling a C program for each layout and one for each
constant to check, generate a ...

967e8d714b8bb6db98aad07197dc42228678c63a authored almost 4 years ago
Merge pull request #1051 from GuillaumeGomez/abstract-class-extra-doc

Add documentation in case this is an abstract class

7edc5fbedae250296f4ba60fbba10e7a85558d59 authored almost 4 years ago
Add documentation in case this is an abstract class

dffc45337e467fa0293cec321646360def881c08 authored almost 4 years ago
Merge pull request #1045 from pbor/master

Honor the PKG_CONFIG env var in the codegen for abi tests

cbdc2e47c2d52fccb3815e0f1ed18e648bc5aaba authored almost 4 years ago
Honor the PKG_CONFIG env var in the codegen for abi tests

d385e7604b2c89dcc8853591402011804b523b85 authored almost 4 years ago
Merge pull request #1043 from MarijnS95/no-translate-import-if-no-members

analysis: Move global imports to object-specific analysis and under versioning constraints

c85699a1d2d426f7e1982f0e193eb48d799a4742 authored almost 4 years ago
analysis/{enums,flags}: Move global imports under versioning

Some crates might not have any enums/flags at all, or only have some
that are defined under a ve...

5812e79afed7701b55eafdf08f81238388d5bcea authored almost 4 years ago
analysis/object: Rely on members to import glib::translate

While adding some new classes to gstreamer-rs gir keeps emitting `use
glib::translate::*;` for c...

62e6f2047794db2d7162a5a7f147b7157ec8ac81 authored almost 4 years ago
analysis/object: Remove unused has_methods member

This member is only used to derive other booleans from during analysis,
but is not used anywhere...

471ccf23bc8e83924843efff1e0e4a2c5311f74d authored almost 4 years ago
analysis/{enums,flags}: Wrap imports with a default version

Some crates such as `gstreamer-base` only have a single enum
(`AggregatorStartTimeSelection`) th...

858eb3f43cc827731463005ffb48d1411f201960 authored almost 4 years ago
analysis/signals: Explicitly import glib::translate

Signals were previously relying on an implicit import of
`glib::translate::*` by special functio...

bc77fb2cd1c090592c6b1dbbf3b7a64903c5cc07 authored almost 4 years ago
analysis/properties: Explicitly import glib::translate

Properties were previously relying on an implicit import of
`glib::translate::*` by special func...

d5bf3975e537197bf04d64376f7c2e04945964f5 authored almost 4 years ago
analysis/special_functions: Import glib::translate for mut_override

analysis/functions was cleaned up in the commit before to not emit
`glib::translate::*` imports ...

82f2b84e942c8a66ef0009c9a307085585363d6a authored almost 4 years ago
analysis/functions: Do not import glib::translate for special functions

Special functions either do not need any translation imports at all
(ref/unref, copy/free), or t...

8b082a9d436fccb9283d43ec895f13bd0f0fd51a authored almost 4 years ago
Merge pull request #1044 from MarijnS95/no-mut-override-in-copy

codegen: Omit mut_override from boxed copy if parameter is *const

9e97877b4103e9c84bcb17e2168364aa3277af40 authored almost 4 years ago
codegen: Omit mut_override from boxed copy if parameter is *const

While not harmful at all (clippy doesn't even flinch when writing `as
*mut _` where a `*const` i...

b0b2f381b21a5407495fd20f67352ee6fd875198 authored almost 4 years ago
Cargo update

0a5aef4a4119f22dcdd12bd5993f828fd78b90f0 authored almost 4 years ago
Merge pull request #1038 from GuillaumeGomez/extra_dox_features

Add extra_dox_features config setting

21213ed18b4073b478e28fa29a63908204ea70a4 authored about 4 years ago
Add extra_dox_features config setting

058151ecc6f84895aa697e8a897070083c49b3f0 authored about 4 years ago
Merge pull request #1033 from MarijnS95/generate-unsafe-functions

function: Teach gir how to generate whole functions as unsafe

907cd81533d3e7759c5a45a3886faa5e7fa2eacc authored about 4 years ago
Merge pull request #1032 from MarijnS95/remove-boxed-override

Remove use_boxed_functions override

9675d62701b1427f1d54fb26827a76ffc545c099 authored about 4 years ago
Merge pull request #1034 from MarijnS95/apt-update-in-ci

CI: Run apt update before apt install

2c8578ee9a6b3afc7a37dbb2ce1ced4521765b17 authored about 4 years ago
function: Teach gir how to generate whole functions as unsafe

While implementing GLFilter bindings review suggested to mark a few new
functions as unsafe. It...

0d90c72030132859fa2f76cdedaec7212a3fa98d authored about 4 years ago
Run cargo update

1ba059bdb770cec42112f629c6be035602fb8fe2 authored about 4 years ago
CI: Run `apt update` before installing pacakges

The index contained in GH Actions' virtual environments always lag
behind a bit and might point ...

42e47c8775930d0aa4617a00cb9e51858debe4b8 authored about 4 years ago
record: Generalize codepath for boxed functions

is_boxed is already set to true when use_boxed_functions is true, and
shares the exact same code...

fa9ee651e900964960542eab8f053375b8350626 authored about 4 years ago
Remove use_boxed_functions override

This override only works when get_type is available and is intended when
copy and free are not a...

02d86024c401bbbdf4b499271e23a8ffbbb65752 authored about 4 years ago
config/ident: Store large Regex object in a Box

Since regex 1.4.3 the `Regex` object becomes too large in comparison to
the other variant in `Id...

36b6afc3d480fe8ca13c18e7850454ee5a781907 authored about 4 years ago
Merge pull request #1029 from GuillaumeGomez/boolerror-import

Fix import of BoolError in glib

be0cc8be4438d7f5db675a09f32eb022380a2456 authored about 4 years ago
Merge pull request #1028 from gtk-rs/unify-readme-toml-comments

Unify toml comments format in README

43be5d4817cb61ef93439188db1f30a80d577013 authored about 4 years ago
Fix import of BoolError in glib

bae01f1b5ca8f4294717389c3b8105254b8dfd9c authored about 4 years ago
Unify toml comments format in README

3f3b6cf9a1a1180a78b391a6531c7eee7ff095ff authored about 4 years ago
Merge pull request #1027 from GuillaumeGomez/name-or-pattern

Add an error in case a name field has content of the pattern field

304147aa42b1480036b30c28f9a67d307c25de78 authored about 4 years ago
Add an error in case a name field has content of the pattern field

a557f7e9c3684e95166b9e5068e7484ed209b804 authored about 4 years ago
Merge pull request #1026 from GuillaumeGomez/more-doc-alias

Generate doc aliases for enums and constants too

00040a2815bbabb466b90c1fc5ca203e4357f425 authored about 4 years ago
Generate doc aliases for enums and constants too

e26fe282361aac95de3f3c1a526971a6a50c320e authored about 4 years ago
Merge pull request #1025 from ids1024/macros

Use `wrapper!` instead of `glib_wrapper!`

0ae397776541fce8e1082b55c395eff78adcc631 authored about 4 years ago
Use `result_from_gboolean!` and `bool_error!`

Renamed from `glib_result_from_gboolean!` and `glib_bool_error!`.

901c0b45979cc2f6b0f5c0931ad442b5939d35e1 authored about 4 years ago
Use `wrapper!` instead of `glib_wrapper!`

00f7753e6b43dd58a850dc8aa7b8625f802de26b authored about 4 years ago
Merge pull request #1024 from ids1024/object_new

Use new glib::Object::new() syntax

90f590b7536feaf83d7d6815b502071549a0eded authored about 4 years ago
Use new glib::Object::new() syntax

Goes along with https://github.com/gtk-rs/gtk-rs/pull/219.

fbafe5fb13f40e7f85dd84509d32118b537a0246 authored about 4 years ago
Merge pull request #1023 from MarijnS95/system-deps-version-optional

cargo_toml: Do not overwrite system-deps version if already set

6123d593fb7c72bd774f837de1c4514ad72750d4 authored about 4 years ago
cargo_toml: Do not overwrite system-deps version if already set

For [1] we need to override the target library version because 1.20 does
not exist yet. Gir keep...

d664a197759ceceecdf033d65fe51afd474f6cc5 authored about 4 years ago
Merge pull request #1022 from deanleggo/issue#1020

Fixed issue generating the -sys/Cargo.toml

1fb591778576e014feebd1cc81ce59cba9cf2a3f authored about 4 years ago
Changed how package.metadata.system-deps name is checked and inserted

8cd71ba2de3a67c28cd83247666662172c266ab8 authored about 4 years ago
Merge pull request #1018 from GuillaumeGomez/from_glib_unsafe

Make calls to from_glib unsafe

6ec2baf17c1fdb6dfc45c6a47ba50605e46c4d1a authored about 4 years ago