-
Notifications
You must be signed in to change notification settings - Fork 285
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
Warning frenzy. #1585
Warning frenzy. #1585
Conversation
And tell Xcode about it.
Adds some duplication but this code is already too messy for my eyes...
Solution taken from http://stackoverflow.com/a/7933931/444323
That won't make me feel less sorry for users whose language doesn't work like English, but at least it's localizable...
I think this needs a `git submodule sync` on your end, guys.
Sounds good, just a quick comment about the VDKQueue: bdkjones/VDKQueue#7 It's only been sitting there 8 months :) |
Oh and: On 1 Medi 2013, at 07:08, Etienne Samson [email protected] wrote:
|
@tiennou I see no error for the Also, it might be worth doing: |
We're talking about a warning, right ? I did a rm -R DerivedData in a well-known place, and my warn count is still 12. I'll see about Validate Settings (in fact I thought I had taken care of that in 4ad85b9...). I'm sharing a screenshot, because it is too much fun for me (straight after I killed DerivedData). Please carefully notice the warning count in the top view, and at the bottom of the screen. Consider arbitrary local discrepancy to be normal behavior ;). |
I think it might be saying “I have 12 things you should know about. 11 of them are warnings.” My guess on the 12th is the “Validate project settings” message, but maybe I’m giving Xcode too much credit. |
Any idea what’s going on here (when I switch to this branch)? % git status
# On branch tiennou-warning-frenzy
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: Quicksilver/Code-External/VDKQueue (new commits)
#
no changes added to commit (use "git add" and/or "git commit -a")
% git submodule update
fatal: reference is not a tree: 4879a00b5436b043a3644c655a51cf0adce3e828
Unable to checkout '4879a00b5436b043a3644c655a51cf0adce3e828' in submodule path 'Quicksilver/Code-External/VDKQueue' |
Yeah, a missing commit in the submodule (either that or it's trying to fetch from bdkjones/VDKQueue while a subsequent commit switched the source). Try |
Yeah, my existing directory had the original as its only remote. The |
This branch has a number of conflicts with |
Depends. I wasn't expecting that to go to |
If you want, I can go ahead and merge |
If that's a logical next step, yes. I don't know where you guys are in the release cycle ;-). |
Okay, ping me when rebase is needed ;-). |
Sorry, I forgot about this. You can rebase on |
Conflicts: Quicksilver/Code-QuickStepCore/QSObject.m Quicksilver/Localized/ca-ES.lproj/About.strings Quicksilver/Localized/ca-ES.lproj/Localizable.strings Quicksilver/Localized/ca-ES.lproj/QSActionsPrefPane.strings Quicksilver/Localized/ca-ES.lproj/QSAdvancedPrefPane.strings Quicksilver/Localized/ca-ES.lproj/QSAppearancePrefPane.strings Quicksilver/Localized/ca-ES.lproj/QSApplicationPrefPane.strings Quicksilver/Localized/ca-ES.lproj/QSCatalog.strings Quicksilver/Localized/ca-ES.lproj/QSHelpersPrefPane.strings Quicksilver/Localized/ca-ES.lproj/QSPlugInsPrefPane.strings Quicksilver/Localized/ca-ES.lproj/QSSearchPrefPane.strings Quicksilver/Localized/ca-ES.lproj/QSTriggersPrefPane.strings Quicksilver/Localized/nb-NO.lproj/QSCatalog.strings Quicksilver/Localized/zh-Hans.lproj/Localizable.strings Quicksilver/Localized/zh-Hans.lproj/QSAppearancePrefPane.strings Quicksilver/Localized/zh-Hans.lproj/QSApplicationPrefPane.strings Quicksilver/Localized/zh-Hans.lproj/QSCatalog.strings Quicksilver/Localized/zh-Hans.lproj/QSSearchPrefPane.strings Quicksilver/Localized/zh-Hant.lproj/QSAdvancedPrefPane.strings Quicksilver/Quicksilver.xcodeproj/project.pbxproj
Hop ! |
12 warnings everywhere, btw. And you were right, I did a "Validate settings", and the ghost warning disappeared. |
Wait, I have leftovers ;-). |
Ok good to go ;-) ! |
Re-wait, I managed to break the Quit window. Who would have knew that fixing warnings could introduce bugs ;-). |
Though a never-quitable QS sounds like a great idea ;-).
Ok, bug squished. That weird-looking init pattern wasn't weird for nothing... |
Double-clicking a trigger in the prefs to edit it throws an exception. 😦
|
Oops, right. I broke it in f9e2dbf, but it's Xcode's fault ;-). Was I sending a message to an |
(NSApp is extern'ed to |
Oh wait, now it does ;-).
🎴 |
Going ahead with this. There might be some conflicts in the localized files. I guess we just prefer the version in |
Yay ! Normally I redid the loc files changed in master in ccbbd7f so it wouldn't conflict. And while I'm at it, @pjrobertson @skurfer is there anything you want me to "lose" time fixing ;-) ? I'm currently without a goal, and except rewriting big parts of QS code again and again, I feel a little goal-less. Some things I've noted :
Now I feel like I'm doing my own private contest ;-). |
I have some ideas, but they aren't simple fixes. Sounds like you have plenty to look at anyway. 😃 |
Nothing much in particular. From your list maybe QSCollections? But cleanup should come before that ;-) Actually, we have tons of pulls open, so perhaps you could help me and Rob out looking over them and merging? Goal number 1: merge all pull requests… hehe! On 17 Medi 2013, at 02:35, Rob McBroom [email protected] wrote:
|
Ok, I hereby declare Pull-Request-Merge-Fest open ! But tomorrow ;-). |
Uh oh, we're gonna have a lot to read ;-) 23 pull requests… (only 16 of which aren't yours.) I guess our part of the bargain is to read over yours and merge them. Bonne nuit On 17 Medi 2013, at 08:46, Etienne Samson [email protected] wrote:
|
Yes, please! Nothing new until we cut them down. 😃 In addition to checking others, we should check our own to see if there are outstanding issues we never got to. |
Probably some not-so-subtle hint there right? ;-) On 17 Medi 2013, at 11:19, Rob McBroom [email protected] wrote:
|
I said “we”. …but yeah, that was nothing but a hint. 😉 |
49 warnings, down to 11 (here at least). Makes the warning view much more useful ;-).
Things I left :
NSWorkspace_BLTRExtensions
: 2 warnings about-launchedApplications
being deprecated. I would recommend killing some methods in that file, using the shiny new-runningApplications
(10.6+) that takes over the oldNSDictionaries
fromNSWorkspace
. Some of those aren't even used (I did a quick check on the old Plugins repo and got some matches, so plugins should be checked).#warning
s inQSPlugInManager
. Yeah, I think those are mine, but I don't feel like tinkering with that class atm.QSPluginUpdater.xib
. I can't fathom what Xcode is trying to tell me here...