ISomething, nsISomething or mozISomething?

2014-02-17 Thread David Rajchenbach-Teller
Do we have naming conventions for new xpcom interfaces? I believe that I have seen all three forms on the tree. I need to pick one for my new bug. Which one should I pick? Cheers, David (Cross-posting to ask.mozilla.org) -- David Rajchenbach-Teller, PhD Performance Team, Mozilla

Re: ISomething, nsISomething or mozISomething?

2014-02-17 Thread Boris Zbarsky
On 2/17/14 9:29 AM, Ms2ger wrote: For C++ interfaces, namespaced IFoo or Foo. namespaced IFoo always makes me search MSDN for information about this Windows interface we must be using... Why is that form preferable? -Boris ___ dev-platform

Re: ISomething, nsISomething or mozISomething?

2014-02-17 Thread Kyle Huey
On Mon, Feb 17, 2014 at 6:36 AM, Boris Zbarsky bzbar...@mit.edu wrote: On 2/17/14 9:29 AM, Ms2ger wrote: For C++ interfaces, namespaced IFoo or Foo. namespaced IFoo always makes me search MSDN for information about this Windows interface we must be using... Why is that form preferable?

Re: ISomething, nsISomething or mozISomething?

2014-02-17 Thread Marco Bonardo
On 17/02/2014 15:15, David Rajchenbach-Teller wrote: Do we have naming conventions for new xpcom interfaces? I believe that I have seen all three forms on the tree. I need to pick one for my new bug. Which one should I pick? afaik there has been a period where we tried to move off of nsI

Re: ISomething, nsISomething or mozISomething?

2014-02-17 Thread Ehsan Akhgari
On 2/17/2014, 9:15 AM, David Rajchenbach-Teller wrote: Do we have naming conventions for new xpcom interfaces? I believe that I have seen all three forms on the tree. I need to pick one for my new bug. Which one should I pick? Avoid ISomething since that means something on Windows. I think

Re: ISomething, nsISomething or mozISomething?

2014-02-17 Thread Ehsan Akhgari
On 2/17/2014, 12:11 PM, Marco Bonardo wrote: On 17/02/2014 15:15, David Rajchenbach-Teller wrote: Do we have naming conventions for new xpcom interfaces? I believe that I have seen all three forms on the tree. I need to pick one for my new bug. Which one should I pick? afaik there has been a

Re: ISomething, nsISomething or mozISomething?

2014-02-17 Thread Justin Dolske
On 2/17/14 12:41 PM, Ehsan Akhgari wrote: On 2/17/2014, 9:15 AM, David Rajchenbach-Teller wrote: Do we have naming conventions for new xpcom interfaces? I believe that I have seen all three forms on the tree. I need to pick one for my new bug. Which one should I pick? Avoid ISomething since