Switching to Visual Studio 2013

2014-08-22 Thread David Major
We plan to switch the Windows build machines to Visual Studio 2013 on the Firefox 35 train. Some benefits from this change: * No more linker OOM crashes. VS2013 includes a 64-bit toolchain for 32-bit builds, so the linker will no longer be limited to 4GB address space. * The linker capacity

Re: Intent to implement: Disabling auto-play videos on mobile networks/devices?

2014-08-22 Thread Dirkjan Ochtman
On Thu, Aug 21, 2014 at 7:51 PM, Nick Alexander nalexan...@mozilla.com wrote: In general, I'm in favour of not autoplaying at all on mobile devices. Me too! Anecdotal: recently I woke up my wife when I was trying to overcome sleeplessness by browsing my phone a little bit (a questionable method

Re: Switching to Visual Studio 2013

2014-08-22 Thread xunxun
And we should use VC2013 update2 or newer edition, whose PGO is faster than WPO. On Fri, Aug 22, 2014 at 2:27 PM, David Major dma...@mozilla.com wrote: We plan to switch the Windows build machines to Visual Studio 2013 on the Firefox 35 train. Some benefits from this change: * No more

Re: How to implement XPCOM API void render(in long width, in long height, out nsIImageLoadingContent imageContent); in Javascript?

2014-08-22 Thread David Rajchenbach-Teller
If I recall correctly, this is implemented as an object with a field `out` – I'm not 100% sure of the name of the field, though, so you might need to experiment. Cheers, David On 21/08/14 18:18, Yonggang Luo wrote: I want to pass a out parameter with render, but don't know how to do that.

Re: How to implement XPCOM API void render(in long width, in long height, out nsIImageLoadingContent imageContent); in Javascript?

2014-08-22 Thread Boris Zbarsky
On 8/22/14, 5:34 AM, David Rajchenbach-Teller wrote: If I recall correctly, this is implemented as an object with a field `out` – I'm not 100% sure of the name of the field, though, so you might need to experiment. The field name is value. I should note that searching the web for xpcom out

Re: Switching to Visual Studio 2013

2014-08-22 Thread Benjamin Smedberg
On 8/22/2014 5:04 AM, xunxun wrote: And we should use VC2013 update2 or newer edition, whose PGO is faster than WPO. Yes, we had to wait for update 2 for fixes that would allow Firefox PGO builds to complete at all (there were previously internal compile errors during the link phase).

Re: How to implement XPCOM API void render(in long width, in long height, out nsIImageLoadingContent imageContent); in Javascript?

2014-08-22 Thread J. Ryan Stinnett
On Fri, Aug 22, 2014 at 7:54 AM, Boris Zbarsky bzbar...@mit.edu wrote: On 8/22/14, 5:34 AM, David Rajchenbach-Teller wrote: If I recall correctly, this is implemented as an object with a field `out` – I'm not 100% sure of the name of the field, though, so you might need to experiment. The

Re: How to implement XPCOM API void render(in long width, in long height, out nsIImageLoadingContent imageContent); in Javascript?

2014-08-22 Thread David Rajchenbach-Teller
By the way, I used to be able to find the answer on MDN, but I can't find it anymore. On 22/08/14 14:54, Boris Zbarsky wrote: The field name is value. I should note that searching the web for xpcom out parameter comes up with the answer to the original question in this thread as the first

Re: Switching to Visual Studio 2013

2014-08-22 Thread Gijs Kruitbosch
On 22/08/2014 15:55, Benjamin Smedberg wrote: On 8/22/2014 5:04 AM, xunxun wrote: And we should use VC2013 update2 or newer edition, whose PGO is faster than WPO. Yes, we had to wait for update 2 for fixes that would allow Firefox PGO builds to complete at all (there were previously internal

Re: Switching to Visual Studio 2013

2014-08-22 Thread Kyle Huey
On Thu, Aug 21, 2014 at 11:27 PM, David Major dma...@mozilla.com wrote: We plan to switch the Windows build machines to Visual Studio 2013 on the Firefox 35 train. Some benefits from this change: * No more linker OOM crashes. VS2013 includes a 64-bit toolchain for 32-bit builds, so the

Re: fine-grained filtering of bugmail

2014-08-22 Thread Kyle Huey
On Sun, Jul 13, 2014 at 11:13 PM, Byron Jones g...@mozilla.com wrote: are you tired of receiving notifications from bugzilla that you simply don't care about? you can now tell bugzilla to stop clogging up your inbox with those pesky emails via bugmail filtering. are you only interested in

Re: fine-grained filtering of bugmail

2014-08-22 Thread J. Ryan Stinnett
On Fri, Aug 22, 2014 at 9:40 AM, Kyle Huey m...@kylehuey.com wrote: How do I filter out all changes to the qe-verify flag? Bug 1054138 is needed before that's possible. - Ryan ___ dev-platform mailing list dev-platform@lists.mozilla.org

Re: Switching to Visual Studio 2013

2014-08-22 Thread Benjamin Smedberg
On 8/22/2014 10:34 AM, Gijs Kruitbosch wrote: Do we have a configure check for this so people trying this won't waste oodles of time only to get internal errors? :-) No we don't. It only affects PGO builds, which no normal person ever does, so I think the relative effort of implementing

Re: How to implement XPCOM API void render(in long width, in long height, out nsIImageLoadingContent imageContent); in Javascript?

2014-08-22 Thread Yonggang Luo
Thanks a lot, I've already deal with this problem, just as the normal return in javascript will resolve this problem. 2014-08-22 17:34 GMT+08:00 David Rajchenbach-Teller dtel...@mozilla.com: If I recall correctly, this is implemented as an object with a field `out` – I'm not 100% sure of the

Re: Intent to implement: Disabling auto-play videos on mobile networks/devices?

2014-08-22 Thread Dao
On 22.08.2014 09:29, Dirkjan Ochtman wrote: On Thu, Aug 21, 2014 at 7:51 PM, Nick Alexander nalexan...@mozilla.com wrote: In general, I'm in favour of not autoplaying at all on mobile devices. Me too! Anecdotal: recently I woke up my wife when I was trying to overcome sleeplessness by

PSA: ./mach build subdirectory doesn't work reliably any longer

2014-08-22 Thread Ehsan Akhgari
Unfortunately I don't really understand the reasons behind this, but if you use this command, please know that it doesn't work properly any more, even if it seems to work in some cases. AFAICT the workarounds are either doing a full build or ./mach build binaries (I don't really know what things

Re: PSA: ./mach build subdirectory doesn't work reliably any longer

2014-08-22 Thread Mike Hommey
On Fri, Aug 22, 2014 at 12:08:43PM -0400, Ehsan Akhgari wrote: Unfortunately I don't really understand the reasons behind this, but if you use this command, please know that it doesn't work properly any more, even if it seems to work in some cases. AFAICT the workarounds are either doing a

Re: Intent to implement: Disabling auto-play videos on mobile networks/devices?

2014-08-22 Thread Hubert Figuière
On 21/08/14 01:29 PM, Wesley Johnston wrote: Summary: We've had some complaints at times about videos autoplaying on mobile devices when sites request autoplay. Just on mobile? I filed this a while ago. https://bugzilla.mozilla.org/show_bug.cgi?id=980939 It doesn't seem to have gained

Re: Intent to implement: Disabling auto-play videos on mobile networks/devices?

2014-08-22 Thread Jared Hirsch
FWIW, Safari on iOS doesn't allow autoplay or preload, and also only initiates play/load on a user-triggered event (so, pages can't use JS to fake a click). The reason given in the docs[1] is that users might be charged for that bandwidth. Cheers, Jared [1]

Re: Intent to implement: Disabling auto-play videos on mobile networks/devices?

2014-08-22 Thread Wesley Johnston
For reference, our preload code on Android and B2G is also a bit complex. i.e. If the page doesn't say anything about what to preload, we preload nothing. If they ask for preload=auto we default to only preload metadata. - Wes - Original Message - From: Jared Hirsch 6...@mozilla.com

Re: Switching to Visual Studio 2013

2014-08-22 Thread Nicholas Nethercote
On Fri, Aug 22, 2014 at 4:27 PM, David Major dma...@mozilla.com wrote: We plan to switch the Windows build machines to Visual Studio 2013 on the Firefox 35 train. Some benefits from this change: * No more linker OOM crashes. VS2013 includes a 64-bit toolchain for 32-bit builds, so the

Re: Intent to implement: Disabling auto-play videos on mobile networks/devices?

2014-08-22 Thread Mike Hommey
On Thu, Aug 21, 2014 at 10:29:43AM -0700, Wesley Johnston wrote: Summary: We've had some complaints at times about videos autoplaying on mobile devices Note that laptops are both desktop and mobile devices. That is, someone could very well using a desktop build on a device using a

Re: Intent to implement: Disabling auto-play videos on mobile networks/devices?

2014-08-22 Thread Jonas Sicking
On Fri, Aug 22, 2014 at 4:50 PM, Mike Hommey m...@glandium.org wrote: On Thu, Aug 21, 2014 at 10:29:43AM -0700, Wesley Johnston wrote: Summary: We've had some complaints at times about videos autoplaying on mobile devices Note that laptops are both desktop and mobile devices. That is, someone

Re: Intent to implement: Disabling auto-play videos on mobile networks/devices?

2014-08-22 Thread Robert O'Callahan
On Sat, Aug 23, 2014 at 5:59 AM, Jared Hirsch 6...@mozilla.com wrote: FWIW, Safari on iOS doesn't allow autoplay or preload, and also only initiates play/load on a user-triggered event (so, pages can't use JS to fake a click). The reason given in the docs[1] is that users might be charged