Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/gtk-rs/gtk-rs-core
Rust bindings for GNOME libraries
https://github.com/gtk-rs/gtk-rs-core
Refactor properties macro, improve errors
dcf23b2e89893673652db676860cdc5d6c097724 authored almost 2 years ago by Sebastian Dröge <[email protected]>2d0a4908bd8f6e55c48801f3216fd3721d7059c5 authored almost 2 years ago by ranfdev <[email protected]>
465b648c67217d5ebeeef18d1c25689f72e6232e authored almost 2 years ago by ranfdev <[email protected]>
clippy cleanup
3db3e10c123b0b99754dd9050d95cb4125611684 authored almost 2 years ago by Sebastian Dröge <[email protected]>939f0975dee18a74f45375cecb9feff0788db96a authored almost 2 years ago by Bilal Elmoussaoui <[email protected]>
Greatly improve `clone!` proc macro error output
602ce5b775eb3f2cd39132adac5ab611dcf59f8d authored almost 2 years ago by Sebastian Dröge <[email protected]>a826b355aa63c6a9e516c92554b3093e295fa1f9 authored almost 2 years ago by Guillaume Gomez <[email protected]>
e1bc3b750e9921ece908635a2b4543b26fdef7cd authored almost 2 years ago by Guillaume Gomez <[email protected]>
5162d9fb19017bcfeb6e9af439b0a9279b8277a0 authored almost 2 years ago by Bilal Elmoussaoui <[email protected]>
b74e44d1c66cc0cbc578335c4eeea36ea0182eb7 authored almost 2 years ago by Bilal Elmoussaoui <[email protected]>
gio: make ListModel::iter() infallible
9060294792fa2433c31c3c4dc8b97da6c0efd74b authored almost 2 years ago by Sebastian Dröge <[email protected]>
Panic if the wrong type is requested, this is more ergonomic and
asking for the wrong type is a ...
macros: support overrides in the properties macro
8c9d1a40b95503d832ebb6e5d08b39a5c9bd3788 authored almost 2 years ago by Sebastian Dröge <[email protected]>Support `default = ...` in the properties macro
aa525e271a891e77153f6c721d210a7026a98c0c authored almost 2 years ago by Sebastian Dröge <[email protected]>Use strcmp for GStringPtr comparisons
c6cb449de9f53a21c13e5eac2d804a870ed7ec14 authored almost 2 years ago by Sebastian Dröge <[email protected]>b918bee93828cd06a12b2d255a52d75862a9556c authored almost 2 years ago by Paolo Borelli <[email protected]>
5119b61916e36160d08c99b7a9039cb79a4d1508 authored almost 2 years ago by Paolo Borelli <[email protected]>
This avoids one level of indentation
1bb181f9b8d773d70e02929dddf49b677f59d008 authored almost 2 years ago by Paolo Borelli <[email protected]>8e031e2fd6cdccace91f3f19f9f9e080cb68b4a6 authored almost 2 years ago by Jason Francis <[email protected]>
For performing utf-8 checks on a pointer.
fe8cab73467251dc1c0e638743e17555b478608d authored almost 2 years ago by Jason Francis <[email protected]>properties: correctly type check value returned by the getter fn
0d38c9a72540336665663bea73243a30f2592e68 authored almost 2 years ago by Sebastian Dröge <[email protected]>c8fb2a3daf9b27c4148490ea48cb14846b7b993d authored almost 2 years ago by ranfdev <[email protected]>
gio: implement FromIterator for ListStore
c5b05d7926c1fe2ab6fcf6fbbf05780fa6ca1f90 authored almost 2 years ago by Sebastian Dröge <[email protected]>4e4054f144a6d475f30e06691c9bad0a37f669f3 authored almost 2 years ago by ranfdev <[email protected]>
Fixes https://github.com/gtk-rs/gtk-rs-core/issues/951
5d37089882c7d8765e0d6b16445954f99dd4bcc7 authored almost 2 years ago by Paolo Borelli <[email protected]>Rename GStrPtr to GStringPtr
fbfffb50e2a94688f29a3a0541854ceadba81207 authored almost 2 years ago by Sebastian Dröge <[email protected]>3aaff7eef7cc0ce9085e6145cbd7780a0ee1c1ab authored almost 2 years ago by Paolo Borelli <[email protected]>
The conversion requires calculating the length so it is expensive and
should be explicit.
Since this is an owned type this is more consistent.
01b6d66fac36877c73ea9da36ee6ed69c0450e4d authored almost 2 years ago by Paolo Borelli <[email protected]>glib: Add `NULL` debug assertion to `from_glib_full()` and others for…
e8420543f89afe9dba13c711a1408b25cdf6fa79 authored almost 2 years ago by Sebastian Dröge <[email protected]>
This improves the assertion failure as otherwise it would just assert on
the wrong type if a `NU...
macros: further tweak docs
dee1d23afbe66f707bee09f8ada26c1e0a0a14e8 authored almost 2 years ago by Sebastian Dröge <[email protected]>
- have both the nullable and the not nullable case in the examples, otherwise
user may assume ...
Add doc for ConstructCell, improve doc Boxed, Enum
60aaf3dee5d7c7ef9df69ad1d81e98afcf7f595b authored almost 2 years ago by Sebastian Dröge <[email protected]>1631547a28c488057151fdf7d98f687f16308b1a authored almost 2 years ago by ranfdev <[email protected]>
gdk-pixbuf: Fix time related types
0cb5f20bf70b108e8531442fa6a84d25cad8c6d3 authored almost 2 years ago by Sebastian Dröge <[email protected]>gdk-pixbuf: Ensure that transfer-none return values in subclassing ar…
0b7cc690b89112f9d89a8c06ad1668f8c5ef2bea authored almost 2 years ago by Sebastian Dröge <[email protected]>gio: Don't require a `'static` `&str` in `File::enumerate_children_as…
a99f6ad129af4beaded8e5d07d25f7e0b173cdd1 authored almost 2 years ago by Sebastian Dröge <[email protected]>Use `PtrSlice<GStrPtr>` for `KeyFile` methods
a88d2ed274db91940f1f06c9570d77a1dcfcf977 authored almost 2 years ago by Sebastian Dröge <[email protected]>Remove construct_cell, too experimental
6341060d5e041207eaddc55dc3ae068f1c1d092f authored almost 2 years ago by Sebastian Dröge <[email protected]>Fixes https://github.com/gtk-rs/gtk-rs-core/issues/942
7cc03ee83c2f7976f222670abb65ff91f57b8f40 authored almost 2 years ago by Sebastian Dröge <[email protected]>
The API hasn't received enough thought. It's isn't
ready for release. If useful this can be adde...
These methods return an owned StrV, but also provide the length,
so we can return a PtrSlice to ...
Rename StrVItem to GStrPtr and make it clonable and transparent
cc1f50bb37d567f2fda464d4f782037b5ee2351b authored almost 2 years ago by Sebastian Dröge <[email protected]>Add TransparentPtr marker trait to List, SList and StrVItem
db30fae8306c0ea8aa909fc13cc140a3e3b2766e authored almost 2 years ago by Sebastian Dröge <[email protected]>
It is useful to have also in cases different from StrV, for instance
for some API we want to ret...
Update gir files
29340f52846b6ed9939dbb358288da0ef8154e2f authored almost 2 years ago by Sebastian Dröge <[email protected]>b716d952506991e497661a72b908c069513d0125 authored almost 2 years ago by Sebastian Dröge <[email protected]>
925e16f2e7b7da33b240acf5803684f3d3a9964f authored almost 2 years ago by Sebastian Dröge <[email protected]>
glib: Rename `Object::new_default()` to `Object::new()` and remove de…
29e9ee0f4af1ed186d6fb3732b8bff9aa0d9a363 authored almost 2 years ago by Sebastian Dröge <[email protected]>List and SList are wrappers around C pointers
d68decffe60f36f7f7271685117827c45419052a authored almost 2 years ago by Paolo Borelli <[email protected]>Fixes https://github.com/gtk-rs/gtk-rs-core/issues/922
e7aa384483a830c2c56b83dea87fe29b0ed8747c authored almost 2 years ago by Sebastian Dröge <[email protected]>
They're `GTimeVal` relative to the UNIX epoch in C and not a plain
duration.
Fixes https://gith...
b4ddd838b68b1b82d069ebf41c1bb94e802e26db authored almost 2 years ago by Sebastian Dröge <[email protected]>
It's a duration in milliseconds or -1 and the `Impl` trait already used
an `Option<Duration>` here.
Fixes https://github.com/gtk-rs/gtk-rs-core/issues/913
f2ea6e22878a0c3a2b435dd5396163deaceab420 authored almost 2 years ago by Sebastian Dröge <[email protected]>4dd96c9047c273ad440e9eb9660af1e5aaa64fee authored almost 2 years ago by Sebastian Dröge <[email protected]>
608459ffbcac1e2ca08ae6163bc788a9bbb64c7a authored almost 2 years ago by Sebastian Dröge <[email protected]>
gdk-pixbuf: check if either width/height is null before assignment in animation_get_size()
22a91c1059f10f139b2a7755dde64d9c14a86747 authored almost 2 years ago by Sebastian Dröge <[email protected]>0456e1ff6d7e6771169bbf8d9175b0a9e51e9498 authored almost 2 years ago by Alberto Ruiz <[email protected]>
The macro would simplify the creation of properties and generate
traits that can be used in Obje...
3974526f15173af5f6f33012d0690b7043023cc4 authored almost 2 years ago by Bilal Elmoussaoui <[email protected]>
d42a3a7f5cf6b786db12c0677fc36a58073ce4e2 authored almost 2 years ago by Bilal Elmoussaoui <[email protected]>
application: Return ExitCode
3999fc5e7281fa371fe92f7cc8856663fc01536b authored almost 2 years ago by Sebastian Dröge <[email protected]>Allows writing
```rust
fn main() -> glib::ExitCode {
let app = gio::Application::ne...
ci: Only deny clippy warnings with stable clippy
f3374edd43f1c8d05e79c3f63613ac1227de6ed2 authored almost 2 years ago by Sebastian Dröge <[email protected]>a2b99e7482cf14d5a375549b7b28d89ae5dd6277 authored almost 2 years ago by Sebastian Dröge <[email protected]>
glib: Manually implement `TimeZone::adjust_time()` instead of ignorin…
0a7ba977b0d25bb7959e53e21e28f7d96a8174b9 authored almost 2 years ago by Guillaume Gomez <[email protected]>eac2b694eb40d678ae3abdddd7bb0991a0c34296 authored almost 2 years ago by Sebastian Dröge <[email protected]>
Update dependencies
e69aa51ae22613b39c83dc83d34284adcf452e09 authored almost 2 years ago by Sebastian Dröge <[email protected]>ba7a033360f2e0a3bc84881b82b62cafb65ca927 authored almost 2 years ago by Sebastian Dröge <[email protected]>
7bee6e8cc7d3ac4b60e271df3896e3640741c18e authored almost 2 years ago by Sebastian Dröge <[email protected]>
gio: bind GFileDescriptorBased
c96b56cc87bbca335d3e65faa5a7365b6a3a17ac authored almost 2 years ago by Sebastian Dröge <[email protected]>
Remove `fd` methods on UnixInputStream and UnixOutputStream since they
conflict with the new met...
glib: Implement various traits on `GStr` manually
66237a7b70b952c4ae417927cfbf224c1ecc3820 authored almost 2 years ago by Sebastian Dröge <[email protected]>
Deriving the impls would consider the trailing NUL-terminator but this
is inconsistent with the ...
gio: use GStr for the manual extension point implenentation
c38b0539d889b03920b6490e8c90e281896ff78b authored almost 2 years ago by Sebastian Dröge <[email protected]>323d0fe777719d269a76b0d6573add37af8950fb authored almost 2 years ago by Paolo Borelli <[email protected]>
build-tools: Allow passing multiple source dirs to `compile_resources`
efeb57f458026ac2457f45a1cda8da37501bae22 authored almost 2 years ago by Sebastian Dröge <[email protected]>
You can pass the command line tool multiple source dirs, so we should
allow it too.
65a32e4cc2f69c57ad17c5087de6058de57f988f authored almost 2 years ago by Bilal Elmoussaoui <[email protected]>
Regenerate with latest gir and mark suboptimal `Object` constructors as deprecated
65a06b01b61d4e786875cee44e320515326c1947 authored almost 2 years ago by Sebastian Dröge <[email protected]>44f6737d04665038f8082bf8dacb5dcee10673b1 authored almost 2 years ago by Sebastian Dröge <[email protected]>
fc6a222c4fa18ac02451a51a88794c0ee060c216 authored almost 2 years ago by Sebastian Dröge <[email protected]>
482de036817c9d6806cc6fdeb3849e30a3fb64fd authored almost 2 years ago by Sebastian Dröge <[email protected]>
9c206dddbf166b496ffd2ec06ccfcac07bf1e62a authored almost 2 years ago by Sebastian Dröge <[email protected]>
glib: Add `MainContext::spawn_from_within()` for spawning non-`Send` …
bb0879e258e3eba6ad7faac6d023807d586ad97d authored almost 2 years ago by Sebastian Dröge <[email protected]>8a983b0694fa0e49dc8aba46a789226e5421edea authored almost 2 years ago by Sebastian Dröge <[email protected]>
e44e65b1307785f9b47a75956fe74aaa05fd43ae authored almost 2 years ago by Sebastian Dröge <[email protected]>
glib: Add new object constructor for constructing an object with default property values
b67a499496622164afb7594fb8204a62ff37e592 authored almost 2 years ago by Sebastian Dröge <[email protected]>glib: Deprecate paramspec `new()` functions in favour of the builder
83db468432492786ad48403d8ee298ce05ddbb50 authored almost 2 years ago by Sebastian Dröge <[email protected]>
And also keep the `gio::Initable` / `gio::AsyncInitable` API in sync,
i.e. add a builder and the...
glib: Implement enum paramspec builder variant that builds the defaul…
a359bb3a5e1c6e63e5103ad3cf3fb9c49389cb9a authored almost 2 years ago by Sebastian Dröge <[email protected]>Fixes https://github.com/gtk-rs/gtk-rs-core/issues/831
1d8fea6877b130671e934608b06b52cfe98c2f2a authored almost 2 years ago by Sebastian Dröge <[email protected]>build-tools: Fix reporting of errors
59292d27d70241afddae53a95a2509369f74fd1e authored almost 2 years ago by Sebastian Dröge <[email protected]>Do not hard-code path separator
b103fd781d6479acd06e8661afb6f8c842ab4a26 authored almost 2 years ago by Sebastian Dröge <[email protected]>bedef83cccbd618ec80d6ddb09cfec58e0d060f3 authored almost 2 years ago by Andrey Kutejko <[email protected]>
Previously we were copying each parameter value potentially twice, now
it is only going to be co...
glib: Deprecate `ObjectSubclass::instance()` / `from_instance()` in f…
a75b75d2a531549b2813d692f58fd7a601d48cfe authored almost 2 years ago by Sebastian Dröge <[email protected]>Fixes https://github.com/gtk-rs/gtk-rs-core/issues/807
32ec9ca97d65a73dda12d1e3a9569bbc7c5a6bf3 authored almost 2 years ago by Sebastian Dröge <[email protected]>ee55a9e822420528e02d9b86865b46a38df0577f authored almost 2 years ago by Sebastian Dröge <[email protected]>