Re: Proposal to change the semantics of DONTBUILD

2013-01-16 Thread L. David Baron
On Tuesday 2013-01-15 13:20 -0800, Gregory Szorc wrote: This seems to make sense. My only concern is if there is a scenario where you absolutely need to push without incurring a build (think merge commit where you don't have control over the previous commits). I'm not sure why we'd do that, so

Re: Enumerated values and locales in telemetry

2013-01-16 Thread Henri Sivonen
On Mon, Dec 26, 2011 at 12:54 PM, Brian Smith bsm...@mozilla.com wrote: Henri Sivonen wrote: I suspect some of our localizations have inappropriate defaults for the fallback character encoding. On the conceptual level, telemetry could be used to discover a) how often pages end up relying on

xulrunner 17.0.1 application has issues on shutdown

2013-01-16 Thread pmiller . xul
Dear All, I ported a rather large xulrunner 1.9.2 based application to xulrunner 17.0.1. So far, most of all functionality still works. I use both JS and C++ xpcoms, initiated via JS and defined within chrome.manifest. I can use those xpcoms, no issues at all. However, on shutdown, the thing

Alternative to math.h for pow() and other elementary functions?

2013-01-16 Thread Zack Weinberg
Do we have any alternative to math.h when you need pow() or other such elementary functions? Normally I am Mr. We Should Use The Standard Library, but math.h in particular tends to have weird shit in it that causes conflicts with xpcom headers, surprising behavior when everything isn't a

Re: Alternative to math.h for pow() and other elementary functions?

2013-01-16 Thread Benoit Jacob
For starters, the standard C++ cmath library is already much better. You get an overloaded/templatized pow(x,y) that does the right thing, instead of pow()-only-for-double / powf()-only-for-float. http://en.cppreference.com/w/cpp/numeric/math/pow Benoit 2013/1/16 Zack Weinberg za...@panix.com

Re: Alternative to math.h for pow() and other elementary functions?

2013-01-16 Thread Zack Weinberg
On 2013-01-16 2:38 PM, Benoit Jacob wrote: For starters, the standard C++ cmath library is already much better. I was under the impression that the cwhatever headers could not be used in Mozilla code. Is that no longer the case? I also expect that cmath should contain at least as much

Re: region of zeroes in Gecko address space

2013-01-16 Thread Neil
Mike Hommey wrote: On Tue, Jan 15, 2013 at 03:19:42PM +, Neil wrote: Out of interest, where is that set? For mozjemalloc (current default): http://hg.mozilla.org/mozilla-central/file/b695e94363b5/memory/mozjemalloc/jemalloc.c#l547 Indeed, I don't know why I didn't spot it there.

Re: Alternative to math.h for pow() and other elementary functions?

2013-01-16 Thread Benoit Jacob
2013/1/16 Zack Weinberg za...@panix.com On 2013-01-16 2:38 PM, Benoit Jacob wrote: For starters, the standard C++ cmath library is already much better. I was under the impression that the cwhatever headers could not be used in Mozilla code. Is that no longer the case? Really? I've been

Update your Snappy status for Jan 17

2013-01-16 Thread Lawrence Mandel
Please share your Snappy status on the etherpad by EOD Thursday. https://etherpad.mozilla.org/snappy Thanks, Lawrence ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: fair well NS_IMPL_CYCLE_COLLECTION_CLASS()

2013-01-16 Thread Benoit Jacob
Thanks for taking care of this! 2013/1/16 Trevor Saunders trev.saund...@gmail.com hi, a while ago I removed the need for NS_IMPL_CYCLE_COLLECTION_CLASS() and its friends NS_IMPL_CYCLE_COLLECTION_NATIVE_CLASS NS_IMPL_CYCLE_COLLECTION_LEGACY_NATIVE_CLASS