Magnus Groß

Results 79 comments of Magnus Groß

Offscreen rendering should work with server terminals: It does not require an X server to be running at all. Yes, I tested that. There is no extra action required to...

I don't know, it works for me and I don't get this error on my system when I open Mumble from a tty. Theoretically it should work with the normal...

> Miri is too strong. Even without any `unsafe` blocks, it detects problems. Well, at least we always have the alternative possibility to port this from using transmute shenanigans to...

> there's no safety guarantees behind calling into operating system code and the underlying functionality for it is all implemented with unsafe, thus meaning that it's not 100% safe code...

Commenting to see if I can assign issues to myself now

Yeah I was investigating this quite a bit last time already and found out that the only thing missing is implementing support for pretty printing `std::pin` upstream in Rust itself....

The problematic code is here: https://github.com/Mnwa/css-minify/blob/fe03929c8ded9085b502d796c5e18a77ae6777ad/css-minify/src/parsers/selector.rs#L52 css-minify completely disregards the number of colons (just checks that there are 1-2 colons preceding it) and then later on hardcodes serializing it with...

I think it would also be good to support proper Regex in addition to the simple patterns that `g_pattern_match_simple()` supports (supported URLs can become [complicated](https://blog.mggross.com/extending-scheme-handlers/), e.g. a Spotify desktop application...

> but Regex is far too vulnerable to DoS attacks. That sounds like a far fetched attack scenario. Regex is cheap enough that an attacker would need to busy-spin matching...

If anyone is interested, here is the relevant Sway source code for Wayland clients: https://github.com/swaywm/sway/blob/bc258a3be2f946c1c93bcbe40735b2db068e0ea8/sway/desktop/xdg_shell.c#L221-L225 So the only way to force a window to be floating by default, is to...