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

NEW
Unassigned

Status

9 years ago
9 years ago

People

(Reporter: alqahira, Unassigned)

Tracking

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

-[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.

Comment 1

9 years ago
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
You need to log in before you can comment on or make changes to this bug.