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
ß69: Replace UKKQueue with more modern version (VDKQueue) #944
Conversation
Reverts some changes I made. See http://stackoverflow.com/questions/387959/nsstring-property-copy-or-retain
For some reason, using GCD made the task not display properly in the task viewer (similar to how the 'update' task displays when you click the 'check for updates' button). I have no idea how to properly fix this, but have scratched my head for hours over it
Apparently, I need to learn about submodules before I can test this. :-) |
OK, I tested and this seems to work from what I can tell. (I added and removed files in a “voyeured” directory and the changes were reflected immediately.) The submodule business makes it a bit of a pain to switch between branches, though. Is it worth it for two files? |
Once it's merged in and all your branches have it, it shouldn't be a The upside is that we pull all the latest code changes for VDKQueue On 18 June 2012 16:24, Rob McBroom <
|
Another thing I was going to mention is that we’d have to update the documentation on building from source. It’ll no longer be enough to clone the repo and build. People will need to set up the modules, too. If we’re going to be using more and more modules (which I’m guessing we are), then it’s no extra work, but something we need to think about.
Only if you update the commit that it refers to. So we have to manage one file instead of two. :-) But again, if we’re going to use modules more and more, it’s probably worth it. So I’m guessing those two half-hearted points aren’t going to change your mind. |
I just tried it and it built fine for me. (Well, apart from the Btw. I agree that git submodules are the correct way to do this, even though they are a little weird to work with. |
So any further problems with this? We know it works on 10.6 which is the main thing |
No, I was just waiting for an answer to @HenningJ’s concerns. I didn’t get a notification since it was a comment on a commit. Merging. Be sure to update the wiki for first-time builders. |
ß69: Replace UKKQueue with more modern version (VDKQueue)
Whilst testing 64 bit QS, I got several NSInteger/int crashes, which turned out to be because of UKKQueue.
Fortunately I managed to find a modernised, GCD/64 bit fork. I have added this as a submodule and converted the code.
In the process, I had to tidy up a few areas which led me to the task viewer (and all its problems). I fixed a few small bugs there, but it's been left mostly untouched/unfixed.
The VDKQueue docs say it is 10.7+ only due to the use of @autoreleasepools - we know these build for @HenningJ on 10.6, but it would be helpful if @HenningJ could test this build before we merge - just to make sure 10.6 is safe.