Sebastian Dröge

Results 139 issues of Sebastian Dröge

Much nicer to use if your strings are actual `String`. Same thing applies for other `&[&T]` we might have in API somewhere as with `AsRef` both `&[T]` and `&[&T]` would...

enhancement
good first issue

Compared to async-std/tokio it's rather verbose and inconvenient to use. Something like the following, inspired by the beforementioned APIs and how gio works. We would then step by step extend...

enhancement
good first issue
gio

It would be good if FromGlibPtr* could get some variant that can be used for borrowing, mutably and immutably. Rationale for this is 1) For types like strings, boxed types...

enhancement
glib

See above. Those could implement all kinds of conversions to the actual Rust types, e.g. via Iterator::collect() for arrays, but use the GLib allocator for memory management. These could be...

enhancement
glib

We have quite some manual code where we currently use `BoolError` although there are multiple, proper error cases. For example `ObjectExt::set_property()` or all the signals related functions. I would suggest...

enhancement
glib

It would be good to have tests for the different translations from/to C in `translate.rs`, especially the container and pointer translations. This would be a good newcomer task. I'd start...

enhancement
good first issue
glib

See summary. Simpler and less easy to get wrong.

enhancement
good first issue

Kind of related to https://github.com/gtk-rs/glib/issues/637 and I would do them together in a few days. I'll write out the whole plan here once I'm at a computer again, but the...

enhancement
glib-macros

It would create a clone of just the instance private struct. Calling `ObjectSubclass::get_instance()` on it would then get a reference to some random memory. This needs to be prevented somehow....

bug
glib