Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/gtk-rs/glib

DEPRECATED, use https://github.com/gtk-rs/gtk-rs-core repository instead!
https://github.com/gtk-rs/glib

Update gir and gir-files

b1d4fc970267b08c36f1619e5d89330fde153a32 authored over 4 years ago by Sebastian Dröge <[email protected]>
Remove Borrowed variants from boxed/shared/object/string wrappers

With this shared/object are only going to occupy a single pointer
instead of two. Boxed/GString ...

bd3c97b3f05418639daac92346aae07b03bb2608 authored over 4 years ago by Sebastian Dröge <[email protected]>
Add translate::Borrowed wrapper struct for from_glib_borrow()

Fixes https://github.com/gtk-rs/glib/issues/599

6fd023227952beef9fc411bfb0f16233063d5a48 authored over 4 years ago by Sebastian Dröge <[email protected]>
Merge pull request #622 from GuillaumeGomez/sponsor

Add sponsor button

ce754f521c1a300cc717ca04993bfbdc78f785a9 authored over 4 years ago by Guillaume Gomez <[email protected]>
Add sponsor button

b51bdde2974b1c1abc5f46c1e938f62d1c690a33 authored over 4 years ago by Guillaume Gomez <[email protected]>
Merge pull request #621 from GuillaumeGomez/weak-allow-none

Add @weak-allow-none for clone macro

9f247f93b023dc7c59df422f069779f71b0f7fdd authored over 4 years ago by Sebastian Dröge <[email protected]>
Add @weak-allow-none for clone macro

129142b81318f2dfdae2f5fb874660f893113691 authored over 4 years ago by Guillaume Gomez <[email protected]>
Merge pull request #620 from gdesmott/gflags-attr-575

glib-macros: add gflags attribute macro

b5dc2b6d214583f9a05c3b1b7f28f13516c70496 authored over 4 years ago by Sebastian Dröge <[email protected]>
subclass: use default() in prop definition

It's more examplary that way.

90c4652ec61c66bcf524e2d5fb5923638a6e57ee authored over 4 years ago by Guillaume Desmottes <[email protected]>
glib-macros: add gflags attribute macro

Generate bitflags and GFlags boilerplate.

Fix #575.

be4bc5268bd5e9ad15c8e70ae9785c9f1933d4a1 authored over 4 years ago by Guillaume Desmottes <[email protected]>
subclass: add doc example defining a GFlags property

b2c7f9307e042ace974e39d89012217cc5cdf849 authored over 4 years ago by Guillaume Desmottes <[email protected]>
glib-macros: genum_derive: use crate_ident_new()

947eea3eaa76df47e6f14a958a7059bdc4251711 authored over 4 years ago by Guillaume Desmottes <[email protected]>
glib-macros: factor out crate_ident_new()

8bb501fe3e7927c6695bb6226d0439398fe40ad7 authored over 4 years ago by Guillaume Desmottes <[email protected]>
glib-macros: move parse_item_attributes() to utils

699375e60c61940cec4b7541fe7dc77b85fa239e authored over 4 years ago by Guillaume Desmottes <[email protected]>
glib-macros: cargo fmt

d5cc226ba8ff1eedbb36ea10de23d0beae4d7707 authored over 4 years ago by Guillaume Desmottes <[email protected]>
Merge pull request #596 from GuillaumeGomez/upgrade-failed

Add print in case an upgrade failed

4633ffd40786ee7370cd3de330eb1475c9fb2ecc authored over 4 years ago by Sebastian Dröge <[email protected]>
Add documentation for the CLONE_MACRO_LOG_DOMAIN constant

869ac248a8e271aaa836d7064c50e43565268641 authored over 4 years ago by Guillaume Gomez <[email protected]>
Add print in case an upgrade failed

5bd49bf962b1d25135681e5bef755b7ff35e6e9f authored over 4 years ago by Guillaume Gomez <[email protected]>
Add documentation about the clone macro debugging

4dabeaa7409e01a85a752ae5f99a3a7ea33e56ea authored over 4 years ago by Guillaume Gomez <[email protected]>
Update log domain for CLONE_MACRO_LOG_DOMAIN

1095ecfc61c49f778acfb2a7b268eb3bad6be559 authored over 4 years ago by Guillaume Gomez <[email protected]>
Merge pull request #619 from GuillaumeGomez/improve-log-macro

Improve log macros

682b2514b713589c0e10876fd7a23e6b461b2404 authored over 4 years ago by Sebastian Dröge <[email protected]>
Merge pull request #618 from GuillaumeGomez/clone-err-messages

Improve clone! error messages

956ed57657878da4e44367c41b39dd25a094ed3c authored over 4 years ago by Sebastian Dröge <[email protected]>
Improve error messages

080f8a95cee6945221ae38093e1a544298b988f6 authored over 4 years ago by Guillaume Gomez <[email protected]>
Improve log macros

ecc984fef1477b8bed2c7e7767cc39f14a00bd81 authored over 4 years ago by Guillaume Gomez <[email protected]>
Merge pull request #617 from GuillaumeGomez/clean-up-logs

Clean up log functions

6ae968129363ef2111622fa124e6f95272edd7f7 authored almost 5 years ago by Sebastian Dröge <[email protected]>
Allow log_domain to be None in log_set_handler to match all log domains

bd25cd5d747903698be5c51acbf83cb8fa4ea5b2 authored almost 5 years ago by Guillaume Gomez <[email protected]>
Extend log tests

6338f9428f2358f315a5667963ecfe034c3d5159 authored almost 5 years ago by Guillaume Gomez <[email protected]>
Extend tests for log functions

15689a92a56dabb247f9d1c7a0157b75fab9a8ea authored almost 5 years ago by Guillaume Gomez <[email protected]>
Add tests for g_print* functions

1ec29e717a793a8972dbc80a7fe067f0d58402f9 authored almost 5 years ago by Guillaume Gomez <[email protected]>
Bind g_print and g_printerr

2d7cad05607bfee3affd85703b020ab6f9ce5941 authored almost 5 years ago by Guillaume Gomez <[email protected]>
Improve g_log implementation a bit

e5526c51c64b5e6b2df678dbd805cc57212320e2 authored almost 5 years ago by Guillaume Gomez <[email protected]>
Working tests

b8cc6ab85dc9b5d46b84261dc22cf13c23152476 authored almost 5 years ago by Guillaume Gomez <[email protected]>
Fix invalid callback settings

9e1dda1a576b97e2b0b1434091069ed9a5a4551d authored almost 5 years ago by Guillaume Gomez <[email protected]>
Add tests for log functions

b379d0edcda83153c85fe58ea8de40b63064ecac authored almost 5 years ago by Guillaume Gomez <[email protected]>
Clean up log functions

0afce127f7f9399a1ae873cd4e16f0ac5d206725 authored almost 5 years ago by Guillaume Gomez <[email protected]>
Merge pull request #611 from GuillaumeGomez/logs

Logs

179225ff4b779b1064e5a4e9c31c750fb9c1c204 authored almost 5 years ago by Sebastian Dröge <[email protected]>
Merge pull request #614 from sdroege/has-property

Return a bool instead of a Result from Object::has_property()

ff557cb91b92d3f5f7bd3b4c4069394ea594c53b authored almost 5 years ago by Sebastian Dröge <[email protected]>
Cleanup

956b25830cdfc8ebbe02c54c96e08fcf70718adb authored almost 5 years ago by Guillaume Gomez <[email protected]>
Add missing log macros

f996730871308c452669c270573ca3189f0a5253 authored almost 5 years ago by Guillaume Gomez <[email protected]>
Return a bool instead of a Result from Object::has_property()

Result<(), BoolError> is basically the same, just harder to use and
has_XXX() functions should r...

c4a1e04a7f47386d84f5ce210a72bf73a5f1c085 authored almost 5 years ago by Sebastian Dröge <[email protected]>
Merge pull request #603 from gdesmott/macros-575

glib-macros: add GBoxed derive

3b20b77263eac0ecd737e55fd7aaee4cae7da65d authored almost 5 years ago by Sebastian Dröge <[email protected]>
Fix glib import context issue

7fa0842efef0290111ba7ff347e16eb3cde5ad3b authored almost 5 years ago by Guillaume Gomez <[email protected]>
Add type to be sure transmute will work as expected

8d5a3674b055959cf36138240fad16375dc1384e authored almost 5 years ago by Guillaume Gomez <[email protected]>
Improvement on flags

9224f26e1cd567d5c0441f1d0d6965e0b0ad523d authored almost 5 years ago by Guillaume Gomez <[email protected]>
Replace the usage of LogLevelFlags in logs

8511dee65c2ba3a6d1b198f4fa40c0bf32851eb5 authored almost 5 years ago by Guillaume Gomez <[email protected]>
Create new LogHandlerId type and manual bind log_remove_handler

e4e5e41d7f094f49d4b0ce3393aad0715317f401 authored almost 5 years ago by Guillaume Gomez <[email protected]>
Make log_domain parameters not nullable

050ff4a78822131d165a709e2f9a12a794848e8a authored almost 5 years ago by Guillaume Gomez <[email protected]>
Create unset_* functions to make it easier to remove a log handler

5d48ce1db1ddcb87b67048e61552cb22a6e971e5 authored almost 5 years ago by Guillaume Gomez <[email protected]>
Apply review comments

31555eacd9819579d70a5e027e1da086b9868a2b authored almost 5 years ago by Guillaume Gomez <[email protected]>
regen

5a187dbf075cc213743276c692ba3a545f68a460 authored almost 5 years ago by Guillaume Gomez <[email protected]>
Add more log functions

a14ec8a6d8b63ba05daf9b9f439d3f52f3605627 authored almost 5 years ago by Guillaume Gomez <[email protected]>
Update/add log items

9e2e80164733c49389ef6bae8a51ea8d0aaaddb4 authored almost 5 years ago by Guillaume Gomez <[email protected]>
Merge pull request #609 from GuillaumeGomez/clone-test-case

Add clone test case for "async"

0d2ccccfcbeaf9b66d16d6fb81ca61a87951520d authored almost 5 years ago by Sebastian Dröge <[email protected]>
Update error message for async keyword

5761bf66dfe340dea8e848d69c659501c9ff4bba authored almost 5 years ago by Guillaume Gomez <[email protected]>
Add clone test case for "async"

6a8ceda89a061338955a60d62c19e272488b0a6c authored almost 5 years ago by Guillaume Gomez <[email protected]>
Merge pull request #607 from GuillaumeGomez/more-clone-fixes

More clone fixes

cf868ccce96203c22a08eed01a8d09e31be9efc6 authored almost 5 years ago by Sebastian Dröge <[email protected]>
Improve errors handling for clone macro

2e7c98af2d713102e4f49dbaba019b54fbf6d4be authored almost 5 years ago by Guillaume Gomez <[email protected]>
glib-macros: use '::glib'

This seems to be the right pattern for such proc-macro crate.

414dd7b8975602080273a53f3492be87fc66dcb0 authored almost 5 years ago by Guillaume Desmottes <[email protected]>
glib-macros: inline old boxed macros

No need to keep them as public API any more.

a6aaaaa535359112072b14618eb4064e5b0a3744 authored almost 5 years ago by Guillaume Desmottes <[email protected]>
glib-macros: add GBoxed derive

Use glib from local repo in tests so we can import the macro from glib,
making the doc test simp...

d4246cec3f05709f628a905c89595af0cb576cb3 authored almost 5 years ago by Guillaume Desmottes <[email protected]>
glib-macros: utils: make the code more generic

Stop assuming it's used to parse a 'genum' attribute.

655652449787ea7049eba72978c43af52d6b4d70 authored almost 5 years ago by Guillaume Desmottes <[email protected]>
glib-macros: move some code to utils module

No code change so far, just moving functions to their own module.

1cbd3147517cbbc5a91e51bc4105f42b1bd433eb authored almost 5 years ago by Guillaume Desmottes <[email protected]>
glib-macros: allow GBoxed to be nullable

Adding 'nullable' nested attribute to mark that a GBoxed can be
nullable.

04520d95d28378fd9e80162974a3a6f79ccac416 authored almost 5 years ago by Guillaume Desmottes <[email protected]>
glib-macros: genum_derive: add missing copyright header

5368c50c63e018c08a16587eea6ef81abf4e33db authored almost 5 years ago by Guillaume Desmottes <[email protected]>
glib-macros: don't assume 'type_name' is the first nested meta

11a6d1efc68e1732bcb3aa5163d6a3c2f476dd81 authored almost 5 years ago by Guillaume Desmottes <[email protected]>
Merge pull request #606 from sdroege/unneeded-options-forget

Remove some unneeded mem::forget() calls and Option wrappers

a8b72d5bc0e34a1e1d1b8fde2c6bbd423eed2087 authored almost 5 years ago by Sebastian Dröge <[email protected]>
Remove unneeded Option wrappers in main context Futures implementation

7f0fbe89c8fcd40e621bf4e996b98ef10ddb8f8b authored almost 5 years ago by Sebastian Dröge <[email protected]>
Remove unnecessary mem::forget() call in glib::Closure callback

9fb451cab601adf38305bc320a864880555dd100 authored almost 5 years ago by Sebastian Dröge <[email protected]>
Remove some unneeded Option wrappers in the main context channel

The receiver still needs one as we need a) a Drop impl and b) need to
take its value out of it w...

bbc2070a1a34048325d301c36d5f61bea548c358 authored almost 5 years ago by Sebastian Dröge <[email protected]>
Merge pull request #604 from sdroege/from-instance-less-strict-bounds

Don't require too strict bounds for ObjectSubclass::from_instance()

8b4ac765f9c6bacef6c9ff27676b35642ecda55e authored almost 5 years ago by Sebastian Dröge <[email protected]>
Don't require too strict bounds for ObjectSubclass::from_instance()

These can't be fulfilled in generic implementations quite often.

14a55a4e5f48daccca05ae9e36749fecddaad402 authored almost 5 years ago by Sebastian Dröge <[email protected]>
Merge pull request #601 from sdroege/list-translations

Various container translation cleanups/fixes

c790bc402b24f447f2ea49cd15087e37c2d39ffb authored almost 5 years ago by Sebastian Dröge <[email protected]>
Minor cleanups in translation code for containers

g_list_free() is NULL-safe, and also we don't have to cast the pointer
to it.

And when re-using...

da6cef307f75e09bb93c25b17a457cbe74bd302f authored almost 5 years ago by Sebastian Dröge <[email protected]>
Implement translating from G(S)List to Vecs without known length by simply iterating the list

Getting the length first and then translating would traverse the list
twice, which is not really...

76e68a603cee4bc9287f3bb8f1664542182af95f authored almost 5 years ago by Sebastian Dröge <[email protected]>
Check for NULL next pointers when translating a G(S)List to a Rust Vec

The number of elements we got from the caller might not actually be
correct so let's better be s...

eb92d7bade81a562ad66673204dce7ee3e0e8649 authored almost 5 years ago by Sebastian Dröge <[email protected]>
Use g_array_unref() instead of g_array_free(FALSE) for dropping arrays

Otherwise we will likely leak the GArrays data segment.

03c229acea5e041ed168abd9693f724527094c37 authored almost 5 years ago by Sebastian Dröge <[email protected]>
Merge pull request #600 from GuillaumeGomez/add-manual-trait-doc-check

Add manual traits check

87028c74ef99d73298dce911debf594f9369e563 authored almost 5 years ago by Sebastian Dröge <[email protected]>
Add manual traits check

76d4f9127455b968a30338be92fddd09c91d69e2 authored almost 5 years ago by Guillaume Gomez <[email protected]>
Merge pull request #587 from dcz-purism/master

translate: Clarify the purpose and the effect of translation traits

76609eabc1ce15701afc04d91bfb757ccd655cd1 authored almost 5 years ago by Sebastian Dröge <[email protected]>
translate: Clarify the purpose and the effect of translation traits

Attempts to solve https://github.com/gtk-rs/glib/issues/586

eccd097166cdf7dfea9be17869868d45f8ef4ef6 authored almost 5 years ago by Dorota Czaplejewicz <[email protected]>
Merge pull request #595 from sdroege/0.9.3-release-master

Update version to 0.9.3 [ci skip]

b67afc24f747bfc9592b0fb61e03650c7d8ddbb0 authored almost 5 years ago by Guillaume Gomez <[email protected]>
Update version to 0.9.3 [ci skip]

70cdedba5f7a2b75c706026887b78d8c6990614f authored almost 5 years ago by Sebastian Dröge <[email protected]>
Merge pull request #593 from GuillaumeGomez/expect-powa

Replace unwrap calls with expect in tests

f05dbb62de06c78c80bde56c513f660cd51a7b0a authored almost 5 years ago by Sebastian Dröge <[email protected]>
Replace unwrap calls with expect in tests

8a2e8d6fcb96090ac592335ba46dacab074dc15d authored almost 5 years ago by Guillaume Gomez <[email protected]>
Merge pull request #589 from sdroege/subclass-no-option-impl

Don't store subclass impl/private data in an Option<T>

28a774acef36753842299a233e3188e5eb9d76b7 authored almost 5 years ago by Sebastian Dröge <[email protected]>
Merge pull request #590 from sdroege/new-quark-leak

Don't pass an owned string to g_quark_from_static_string()

691941a33ead73b395419926bd7214c73bcd3bc3 authored almost 5 years ago by Sebastian Dröge <[email protected]>
Don't allow using types with bigger alignment than two usize as private/impl data for subclasses

GLib aligns the type private data to two gsizes so we can't safely store
any type there that req...

155ea119a54ee6cc54db2b763734636557cda757 authored almost 5 years ago by Sebastian Dröge <[email protected]>
Use ptr::drop_in_place() for dropping impl/private data of subclasses

Instead of first reading it on the stack and the dropping it.

85daeabc4a3cebf28be5918436f3785a81cdd9c2 authored almost 5 years ago by Sebastian Dröge <[email protected]>
Don't pass an owned string to g_quark_from_static_string()

When called more than once or for a quark that already exists otherwise,
we would always leak th...

a1c83c6baf176331161ad39cfd293f4efed0f3dd authored almost 5 years ago by Sebastian Dröge <[email protected]>
Don't store subclass impl/private data in an Option<T>

We don't know the exact memory layout of the Option<T> in relation to T
so can't easily go from ...

bbe787c1aaf6f450b33bd4102acbfd7cbd525bb3 authored almost 5 years ago by Sebastian Dröge <[email protected]>
Merge pull request #588 from zeenix/variant-data

Bind API to convert from/to bytes to/from Variant

67caba9eff5966ccce71d80bbe7ebf8b666d73ed authored almost 5 years ago by Sebastian Dröge <[email protected]>
Bind API to convert from/to bytes to/from Variant

Bind Variant::new_from_bytes & Variant::get_data_as_bytes().

975e96047894b8d33f1a1f0f321cca1663dbe7a5 authored almost 5 years ago by Zeeshan Ali <[email protected]>
Merge pull request #580 from EPashkin/master_minor_version

Minor version update [ci skip]

535ed3190e9ee1ac6e61f35458dce4217bc3ffb4 authored almost 5 years ago by Sebastian Dröge <[email protected]>
Minor version update [ci skip]

007a45e3f7f204692ecc29fcd13c417ba82afed1 authored almost 5 years ago by Evgenii Pashkin <[email protected]>
Merge pull request #579 from luukvanderduim/master

Implements FromGlibPtrFull<*const T> for boxed types.

a5f9cb220c3481c1518b97b03578889fd66e2fcf authored almost 5 years ago by Sebastian Dröge <[email protected]>
Update FromGlibPtrFull<*const T>

This casts to T instead of _

07660e21961d3499d60d680e4c133c1ca4bccafa authored almost 5 years ago by Luuk van der Duim <[email protected]>
Update boxed.rs

Fixup implementation of FromGlibPtrFull<*const T>.
uses simple cast now

4636d622403c8b9c97505221e77d278da555274f authored almost 5 years ago by Luuk van der Duim <[email protected]>
Merge pull request #578 from sdroege/thread-pool

Add glib::ThreadPool bindings

e8a28ad79d0cdb584598708d5ccaaa1dca8c0fa1 authored almost 5 years ago by Sebastian Dröge <[email protected]>
Update boxed.rs

Accidentally lost a comma in Boxed struct '_dummy: PhantomData,'.

4aff48ab26c267598755ec8ac7bec05eded8d27b authored almost 5 years ago by Luuk van der Duim <[email protected]>
Implements FromGlibPtrFull<*const T> for boxed types.

963dbda0e6a0d94a7a091d9d2f64d9acc8a6169f authored almost 5 years ago by Luuk van der Duim <[email protected]>