swapDocShells

2013-07-23 Thread Jan Odvarko
Firebug started throwing an exception (since Friday last week) swapDocShells is not a function ... every time it's detached. Is the method removed? If yes, are there any alternatives? Honza ___ dev-platform mailing list

Re: Using C++0x auto

2013-07-23 Thread Aryeh Gregor
On Mon, Jul 22, 2013 at 10:01 PM, Rob Arnold tell...@gmail.com wrote: That idiom seems dangerous by itself; the assumption it makes is that the reference will outlive the callee but that isn't actually enforced anywhere (you could write UseFoo(nsRefPtrT(new T)) and Bad Things would happen;

Re: swapDocShells

2013-07-23 Thread Boris Zbarsky
On 7/23/13 10:38 AM, Jan Odvarko wrote: Is the method removed? No. -Boris ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Changes to XPCOM refcounting

2013-07-23 Thread Joshua Cranmer 
As part of an effort to remove use of the NSPR atomic macros in favor of mozilla::Atomic, the way that threadsafe reference counting works in XPCOM has changed. Whereas before, this was done using the macros by saying NS_IMPL_THREADSAFE_ISUPPORTSN (or related macros), now the threadsafe

Re: intent to make exception to prefixing policy: -moz-(osx-)?font-smoothing

2013-07-23 Thread Jet Villegas
I think we found usage of -moz-font-smoothing in the wild. John Jensen may have more info. --Jet - Original Message - From: L. David Baron dba...@dbaron.org To: dev-platform@lists.mozilla.org Sent: Tuesday, July 23, 2013 12:43:54 PM Subject: intent to make exception to prefixing policy:

Re: Changes to XPCOM refcounting

2013-07-23 Thread Kyle Huey
On Tue, Jul 23, 2013 at 11:22 AM, Joshua Cranmer  pidgeo...@gmail.comwrote: As part of an effort to remove use of the NSPR atomic macros in favor of mozilla::Atomic, the way that threadsafe reference counting works in XPCOM has changed. Whereas before, this was done using the macros by saying

Re: Changes to XPCOM refcounting

2013-07-23 Thread Joshua Cranmer 
On 7/23/2013 4:17 PM, Kyle Huey wrote: To be clear, which classes have threadsafe addref/release hasn't changed, just the macro usage, right? One or two classes that weren't really threadsafe to begin with had their threadsafety dropped on request of reviewers, and several more could well

Re: review stop-energy (was 24hour review)

2013-07-23 Thread Randell Jesup
On 10/07/13 23:14, Taras Glek wrote: I tried to capture feedback from this thread in https://wiki.mozilla.org/Code_Review I just did a pass over that page to highlight the key points. I added a Tips and Tricks section, with some tips on practices to make interdiff creation easier. -- Randell