Closed Bug 559751 Opened 14 years ago Closed 5 years ago

glimpse parse error: can't handle Cocoa bracket syntax, e.g. -[BaseWindow dealloc] or [BaseWindow dealloc]

Categories

(Webtools Graveyard :: MXR, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: alqahira, Unassigned)

References

()

Details

-[BaseWindow dealloc] showed up in bug 559473 comment 5 tonight, and I wanted to see where it was in the code.  Alas, MXR barfed on both -[BaseWindow dealloc] and [BaseWindow dealloc].

Trying some other things, I expect that this whole Cocoa syntax can't be handled at all.  [BaseWindow class], which I got from http://mxr.mozilla.org/mozilla-central/source/widget/src/cocoa/nsCocoaWindow.mm#393, fails, too.
http://mxr.mozilla.org/mozilla-central/search?string=dealloc&find=nsCocoaWindow.mm

/widget/src/cocoa/nsCocoaWindow.mm

    * line 1900 -- - (void)dealloc
    * line 1904 -- [super dealloc];
    * line 2047 -- - (void)dealloc
    * line 2053 -- [super dealloc];

So MXR wasn't going to be able to help you anyway. but thanks for the bug, i'll start looking on Sunday.
I guess maybe it's anything that includes the trailing square bracket (or at least anything with the trailing square bracket and something "inside" that must be encoded like space or =)?

Today I was searching for [arch=i386] aka http://mxr.mozilla.org/seamonkey/search?string=[arch%3Di386]&find=&findi=&filter=mozilla%2Fcamino&hitlimit=&tree=seamonkey

[arch=i386] fails
arch=i386] fails
[arch=i386 works

mxr is gone, mass closing.
https://searchfox.org/ is a much better alternative.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.