Re: Why I don't like DXR

2016-09-28 Thread Erik Rose
I second the sentiment: it's clear that DXR needs a real manual. I've got the start of one at https://dxr.readthedocs.io/en/latest/use.html. So if you want to file PRs against https://github.com/mozilla/dxr/blob/master/docs/source/use.rst, we can grow that into a proper manual, import it into t

Re: Why I don't like DXR

2016-09-28 Thread Eric Rahm
It's sounds like some sort of mxr => dxr transition wiki entry would be useful. Perhaps you can start by collecting the feedback you received here? -e On Wed, Sep 28, 2016 at 8:52 AM, Honza Bambas wrote: > Thanks everyone for answers. This is helpful, but why don't I see any > help like this r

Re: Why I don't like DXR

2016-09-28 Thread Honza Bambas
Thanks everyone for answers. This is helpful, but why don't I see any help like this right on DXR? Why do I have to ask on dev-platform? According identifiers not found on DXR I presume MXR might suffered the same issue, so no blame for DXR here. I was just confused by not being able to eas

Re: Why I don't like DXR

2016-09-26 Thread Erik Rose
> I wanted to find usage of a member called "io_pending". DXR is happy to search for identifiers (id:whatever). The problem is that all the uses of io_pending are #ifdef'd out when compiling for Linux, which is the platform we use to run the indexing job for moz-central. A clue is that there's

Re: Why I don't like DXR

2016-09-26 Thread Gijs Kruitbosch
On 26/09/2016 14:14, Honza Bambas wrote: Today I tried to search for an identifier on DXR. Something that was so easy with MXR... I wanted to find usage of a member called "io_pending". Typing that string to the DXR search field gives me a number of results that are definitely not what I'm loo

Re: Why I don't like DXR

2016-09-26 Thread Jonathan Kew
On 26/9/16 14:14, Honza Bambas wrote: Today I tried to search for an identifier on DXR. Something that was so easy with MXR... I wanted to find usage of a member called "io_pending". Typing that string to the DXR search field gives me a number of results that are definitely not what I'm lookin

Re: Why I don't like DXR

2016-09-26 Thread Andrew Osmond
I think it is a matter of failing to parse/index all of the code; for example, var:mError works for me as I think you would expect. If I find a definition of "io_pending": https://dxr.mozilla.org/mozilla-central/source/nsprpub/pr/include/private/primpl.h#1608 I notice that it isn't recognized as

Re: Why I don't like DXR

2016-09-26 Thread Karl Dubost
Le 26 sept. 2016 à 22:14, Honza Bambas a écrit : > - how can I look for a string as always _case sensitive_ and _whole word > only_ ? Probably not exactly what you are looking for, but: https://dxr.mozilla.org/mozilla-central/search?q=%22+io_pending%22&redirect=false -- Karl Dubost, Mozilla

Why I don't like DXR

2016-09-26 Thread Honza Bambas
Today I tried to search for an identifier on DXR. Something that was so easy with MXR... I wanted to find usage of a member called "io_pending". Typing that string to the DXR search field gives me a number of results that are definitely not what I'm looking for, like lines containing ERROR_