1 post tagged
Automatic Old Reddit Redirect Safari Extension
Miss the old Reddit in Safari? This extension can help.
1 post tagged
Miss the old Reddit in Safari? This extension can help.
Someone is free to PR it, but with DriverKit being the way it is I feel like it'd be tricky to develop outside of this org - but perhaps with a properly disabled SIP + systemextensionctl setup it's possible.
You might be able to get away with using just gcusbadapter.kext
from the hjelmn project (with SIP kext checks disabled only, don't disable all of SIP necessarily), since GCAdapterDriver handles the part that gcusbadapter_raw.kext
does. kexts are not guaranteed to work forever though, so... YMMV.
Thanks for catching that, heh. Merged! on fix: typo in window’s set_subtitle fn 2 weeks ago
obj
/objc2
. @madsmtm might know more, otherwise I'd have to find time to dig in - and I'll be busy + traveling the next two weeks.
If you wanted to tinker and debug, a webview not loading sounds like something not getting retained somewhere - either the webview itself, or the webview's delegate. It's where I'd start looking at least. on Browser Example Broken 3 weeks ago
back
doesn't work?
And what version of macOS are you testing against...? on Browser Example Broken 3 weeks ago
CALayer
you own or a CALayer
backing an NSView
?
Since the objc
property of CALayer
is exposed publicly, you can message it directly with objc
calls (e.g let _: () = msg_send![my_view.layer.id, surface];
). You of course need to handle the lifetimes and safety yourself, but this is one of those territories where it's the preferred way of doing it at the moment.
If you wind up finding a more comfortable API and/or you want to buff the CALayer
wrapper to be more comprehensive, a pull request is always welcome. I wouldn't pull IOSurface
into this framework necessarily, similar to how Metal
isn't really in here either (though other crates exist for it). In general I just try to make it possible for crates to interop via the objc
layer if possible.
I considered making a channel on Matrix at one point, but the level of activity here isn't so significant that it's needed. on missing CALayer.contents -> Any? a month ago
Remove default features, no 32-col tables by default a month ago
One odd path you could also consider: creating a cacao::image::Image
and calling CGImageForProposedRect:context:hints: to get a CGImageRef
from the underlying NSImage
, then taking that into a new image (or custom draw handler). on Capability to resize Images
2 months ago
ResizeBehavior::Stretch
not hit the behavior you're after?
(Alternatively, you could implement a custom draw
closure - maybe that'd help?) on Capability to resize Images
2 months ago