Re: Removing a window from the session store

2013-10-22 Thread Ehsan Akhgari
On 2013-10-22 12:52 PM, Matthew Gertner wrote: I am trying to close a popup browser.xul window during Firefox shutdown so that it won't get loaded on restart by the session saver. I close the window before the browser shuts down (e.g. on quit-application-requested) but it is still opened when

Re: Faster builds, now ; on windows, too.

2013-10-22 Thread Mike Hommey
On Tue, Oct 22, 2013 at 10:06:13AM +0100, Neil wrote: > David Rajchenbach-Teller wrote: > > >Wouldn't it be interesting to also have a > > ./mach build frontend > >that repackages XUL and js code? > > > Does ./mach build chrome work? (I don't think it's parallelised > though.) Hopefully a combinat

Re: how long are we continuing 32-bit OS X support?

2013-10-22 Thread Mike Hommey
On Mon, Oct 21, 2013 at 10:00:13PM -0400, Hubert Figuière wrote: > On 21/10/13 07:27 PM, Mike Hommey wrote: > > AFAIK, running 10.7+ in 32-bit mode is something you have to do manually > > at boot time. I guess nobody does that except for testing purpose. Also, > > afaik 10.7+ doesn't support 32-bi

Re: Cost of ICU data

2013-10-22 Thread Ehsan Akhgari
On 2013-10-22 6:34 PM, Benjamin Smedberg wrote: On 10/22/2013 6:19 PM, Ehsan Akhgari wrote: On 2013-10-22 4:06 PM, Benjamin Smedberg wrote: I don't think that there is enough data yet to make a decision. Hopefully funnelcake results which help make a more informed choice. If it turns out that t

Re: Cost of ICU data

2013-10-22 Thread Benjamin Smedberg
On 10/22/2013 6:19 PM, Ehsan Akhgari wrote: On 2013-10-22 4:06 PM, Benjamin Smedberg wrote: I don't think that there is enough data yet to make a decision. Hopefully funnelcake results which help make a more informed choice. If it turns out that that Firefox wants this decision reconsidered, wha

Re: Faster builds, now ; on windows, too.

2013-10-22 Thread Avi Hal
(On win7, i7 @3.2GHz) Clobber build from 29 mins down to 24, no-op build from some minutes to 16s! \o/ ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Cost of ICU data

2013-10-22 Thread Ehsan Akhgari
On 2013-10-22 4:06 PM, Benjamin Smedberg wrote: I don't think that there is enough data yet to make a decision. Hopefully funnelcake results which help make a more informed choice. If it turns out that that Firefox wants this decision reconsidered, what groups and goals would be affected by askin

Re: Cost of ICU data

2013-10-22 Thread Chris Peterson
On 10/22/13, 2:09 PM, wsel...@gmail.com wrote: One suggestion that our team came up with is to provide Firefox-branded USB keys and distribute them through reps, chains like KFC and 7-11, and local computer vendors where people connect online. These would have installers for the latest version

Re: Cost of ICU data

2013-10-22 Thread wselman
This is a great thought and we've been exploring something similar. One suggestion that our team came up with is to provide Firefox-branded USB keys and distribute them through reps, chains like KFC and 7-11, and local computer vendors where people connect online. These would have installers for

Re: Problem with scrollWidth and clientWidth for text inputs

2013-10-22 Thread Ehsan Akhgari
On 2013-10-22 1:18 PM, Jim Chen wrote: Hm my bug shouldn't affect bug 157846, but a fix for bug 157846 might solve my problem as well. Thanks for the heads up! Does that mean that you're interested in fixing that bug (and finishing the investigation on what we want to do there)? :-) On 10/

Re: Cost of ICU data

2013-10-22 Thread Chris Peterson
On 10/22/13 11:34 AM, wsel...@mozilla.com wrote: The key point is that download size is very important in these markets. Also, it is important for us to think about two related topics: 1) How to get people in these markets to current versions of Firefox? 2) If downloading is not currently the mo

Re: Cost of ICU data

2013-10-22 Thread Benjamin Smedberg
On 10/15/2013 12:06 PM, Benjamin Smedberg wrote: With the landing of bug 853301, we are now shipping ICU in desktop Firefox builds. This costs us about 10% in both download and on-disk footprint I'm going to try and summarize the discussion and indicate next steps. == First, I want to be clea

Re: Cost of ICU data

2013-10-22 Thread wsel...@mozilla.com
Hi, Bill from user research here. We just finished some research in Thailand and Indonesia where we conducted ~40 interviews with desktop browser users (half of whom were Firefox users). We'll be presenting findings from the research next month, but I'd like to share a few observations from t

Re: Problem with scrollWidth and clientWidth for text inputs

2013-10-22 Thread Jim Chen
Hm my bug shouldn't affect bug 157846, but a fix for bug 157846 might solve my problem as well. Thanks for the heads up! On 10/22/13 12:52 PM, Ehsan Akhgari wrote: > Hmm, how does this work interact with bug 157846? > > On 2013-10-22 12:08 PM, Jim Chen wrote: >> Hello, >> >> I'm running into som

Removing a window from the session store

2013-10-22 Thread Matthew Gertner
I am trying to close a popup browser.xul window during Firefox shutdown so that it won't get loaded on restart by the session saver. I close the window before the browser shuts down (e.g. on quit-application-requested) but it is still opened when I start the browser again. After trawling throug

Giving a content page cross-origin rights for loading font faces

2013-10-22 Thread Matthew Gertner
Normally pages are not allowed to load font faces from other origins (see https://bugzilla.mozilla.org/show_bug.cgi?id=604421). If I am chrome and want to give a content page the right to do this (from specific domains or ideally from anywhere), is that possible? Note that the content page is lo

Re: Problem with scrollWidth and clientWidth for text inputs

2013-10-22 Thread Ehsan Akhgari
Hmm, how does this work interact with bug 157846? On 2013-10-22 12:08 PM, Jim Chen wrote: Hello, I'm running into some problems working on bug 717878, which fixes scrollLeft/LeftMax/Top/TopMax/Width/Height for text inputs so that we can support panning the inputs in Fennec when they overflow.

Re: Overriding content window methods with chrome functions

2013-10-22 Thread Matthew Gertner
Turns out I was changing the method on a wrapper after all. Weird since I pass obj.wrappedJSObject into the function but I guess it gets wrapped again (maybe because I am passing it from one subscript context to another). ___ dev-platform mailing list d

Re: how long are we continuing 32-bit OS X support?

2013-10-22 Thread Georg Fritzsche
On Oct 22, 2013, at 1:27 AM, Mike Hommey wrote: > If there are and we still need to support them despite dropping 10.6 > (which I'm not advocating, but i understand it'd be an option), I wonder > if it would be possible, and how much work it would be, to make the > plugin-container not use libxu

Re: how long are we continuing 32-bit OS X support?

2013-10-22 Thread Hubert Figuière
On 22/10/13 07:54 AM, Henri Sivonen wrote: >> so our target audience >> > is not just 10.6 users. > s/10.6/first Intel Mac Mini and first MacBook/, right? 10.6 on 64-bit > CPUs runs 64-bit apps even when the kernel runs as 32-bit. Yes. That's the case. Hub

Problem with scrollWidth and clientWidth for text inputs

2013-10-22 Thread Jim Chen
Hello, I'm running into some problems working on bug 717878, which fixes scrollLeft/LeftMax/Top/TopMax/Width/Height for text inputs so that we can support panning the inputs in Fennec when they overflow. Currently, scrollLeft/LeftMax/Top/TopMax are all 0 and scrollWidth == clientWidth always for

Re: how long are we continuing 32-bit OS X support?

2013-10-22 Thread Henri Sivonen
On Mon, Oct 21, 2013 at 8:14 PM, Ehsan Akhgari wrote: > Note that we also use this to support 32-bit plugins, For reference, even though Flash and Java are 64-bit on Mac, notable 32-bit plug-ins include: * Silverlight (DRM for Netflix) * Widevine Media Optimizer (DRM for HBO Nordic) * Google T

Re: Studying Lossy Image Compression Efficiency

2013-10-22 Thread Marcos Caceres
On Tuesday, October 22, 2013 at 10:15 AM, pornel...@gmail.com wrote: > On Tuesday, 22 October 2013 08:12:08 UTC+1, Yoav Weiss wrote: > > > This is a part of Web traffic that would make enormous gains from an > > alpha-channel capable format, such as WebP or JPEG-XR (Don't know if > > HEVC-MS

Re: Studying Lossy Image Compression Efficiency

2013-10-22 Thread pornelski
On Tuesday, 22 October 2013 08:12:08 UTC+1, Yoav Weiss wrote: > This is a part of Web traffic that would make enormous gains from an > alpha-channel capable format, such as WebP or JPEG-XR (Don't know if HEVC-MSP > has an alpha channel ATM), yet this is completely left out of the research. I

Re: Overriding content window methods with chrome functions

2013-10-22 Thread Neil
Matthew Gertner wrote: What exactly do you mean by setting the window to have an app docShell? You mean load it into a browser with type = "chrome"? No, I meant an app frame, but Mark's reply led me to bug 799592 comment 1 where Shane Caraveo says that an app frame doesn't look like it would

Re: Faster builds, now ; on windows, too.

2013-10-22 Thread Neil
David Rajchenbach-Teller wrote: Wouldn't it be interesting to also have a ./mach build frontend that repackages XUL and js code? Does ./mach build chrome work? (I don't think it's parallelised though.) Hopefully a combination of bug 929147 with bug 921003 will speed it up. -- Warning: May

Re: how long are we continuing 32-bit OS X support?

2013-10-22 Thread Gavin Sharp
We removed the feature that allows users to easily restart in 32-bit mode in https://bugzilla.mozilla.org/show_bug.cgi?id=850925 (Firefox 22). Gavin On Tue, Oct 22, 2013 at 6:27 AM, Philip Chee wrote: > On 22/10/2013 01:14, Ehsan Akhgari wrote: >> Note that we also use this to support 32-bit plu

Re: Studying Lossy Image Compression Efficiency

2013-10-22 Thread Yoav Weiss
I have a couple of points which IMO are missing from the discussion. # JPEG's missing features & alpha channel capabilities in particular Arguably, one of the biggest gains from WebP/JPEG-XR support is the ability to send real life photos with an alpha channel. Last time I checked, about 60% of