New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIX small things #817
SIX small things #817
Conversation
Very handy for when you're developing and you can't for the life of you figure out why an old QS plugin won't load
There's a small chance that moving these means they won't be created for *every* object that's ranked, but I think the compiler does that anyway, so probably not...
I have added two more things to this commit. The first turns off the 'Running from a new location' dialogue for debug builds
|
…ion of quicksilver#687 More work is still needed to fix quicksilver#687 fully
Two more things...! The first stops the exception of #687, and fixes the issue, which is nice. The second improves the efficiency of the |
When did this happen?
Nice. That was really annoying.
Cool...if it actually would work. :-p
I agree with the tempArray thing, but I'm not so sure about the autoreleasepools. What exactly do they release? Just the immuatable copy of Another thing: When testing this, I got an "This is an old version of Quicksilver - You have previously used a newer version..." popup. Maybe you can deactivate that for debug builds as well. QS also started to download the latest version once it started. Another thing that doesn't make sense for debug builds. :-/ |
When I was building the Email Support plugin for example. There are hundreds of reasons why the bundle won't necessarily load (almost always for us developers). In that case, it was because the executable in the MacOS dir had a different name to that defined in the Info.plist. This just made it easy for me to find the problem.
Those arrays are pretty big, if you've had QS running for quite a while they can have 1000+ QSObjects in them. I'll make a few changes now and see what you think :) |
I always assumed fast enumeration would take care of releasing those objects for you. But I don't really know. |
I've trawled the web, but can't find anything. Seems like neither of us On 16 April 2012 10:34, Henning Jungkurth <
|
@HenningJ - you were right about the fast enumeration. Here's what someone said on the list:
I'll remove the autoreleasepools :) |
Yay. I like being right. :-) |
(this updates all the items, but works consistently)
OK Henning, I've made the changes. I've made it so that QS doesn't download updates in the background for debug builds, but you can still update (to test that things work properly) if you click the 'now' button in the prefs. |
Nice. Looks pretty good. One more thing: Could you add comments to the |
sure thing :) On 16 April 2012 11:57, Henning Jungkurth <
|
Done @HenningJ :) On 16 April 2012 11:58, Patrick Robertson robertson.patrick@gmail.comwrote:
|
Nice. :-) |
I think it was only about 3 minutes after I merged your preferences clean-up that I thought about that stupid number not updating. :-) Glad it’s getting addressed here. |
Have you tried to do a Release build with this? For me, it chokes on the stuff in |
Right you are. Apparently variable declaration can't be the first thing inside a
Then it works. Weird. |
Sorry guys, I should really check over my pull requests a bit more I've added another commit that fixes this On 16 April 2012 20:42, Henning Jungkurth <
|
Merged. |
The first will improve debugging when plugins aren't loading (can be very frustrating!)
The second might not do anything, when the code is compiled, does the compiler optimise when variables are created? If so this, does nothing, but I like to think it'll make QS a tiny bit faster :)