MozillaBuild 1.8.0 Release

2013-08-29 Thread Ryan VanderMeulen
As the new owner of MozillaBuild, I am pleased to announce that version 1.8.0 is available at http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe Changes in this release from the previous version: * Updated Python to version 2.7.5 (fixes a bug in 2.7.4 that

Re: Getting the current UI locale from C++

2013-08-29 Thread Fabrice Desré
Hi Henri, On Thu, 29 Aug 2013 10:12:05 +0300, Henri Sivonen wrote: > How do I get the language code for the currently active UI language pack > from within Gecko C++ code in a way that works across desktop, Android, > B2G and Metro? A c++ version of could work: let chrome = Cc["@mozilla.org/chr

Re: Detection of unlabeled UTF-8

2013-08-29 Thread Anne van Kesteren
On Thu, Aug 29, 2013 at 7:41 PM, Zack Weinberg wrote: > If people are concerned about "infecting" the modern platform with > heuristics, perhaps we could limit application of the heuristic to quirks > mode, for HTML delivered over HTTP. I expect this would cover the majority > of the sites describ

Detection of unlabeled UTF-8

2013-08-29 Thread Zack Weinberg
All the discussion of fallback character encodings has reminded me of an issue I've been meaning to bring up for some time: As a user of the en-US localization, nowadays the overwhelmingly most common situation where I see mojibake is when a site puts UTF-8 in its pages without declaring any en

Re: Getting the current UI locale from C++

2013-08-29 Thread Axel Hecht
On 8/29/13 3:17 PM, Anne van Kesteren wrote: On Thu, Aug 29, 2013 at 1:48 PM, Axel Hecht wrote: I'll read up on the other thread, and I still think the approach is wrong here, sorry. You'll have to explain that more fully I think. This is the current approach. However the current approach le

Firefox Metro Testday on Aug 30, 2013

2013-08-29 Thread Samvedanaben Gohil
Hi All, This email is to inform you that I am organizing Firefox Metro testday on Aug 30th. You can see the details in the Test Plan: https://etherpad.mozilla.org/testday-2013-08-30 Please join us on Friday! Also slots are available for moderating so, feel free to take any if you can help. T

Re: Getting the current UI locale from C++

2013-08-29 Thread Anne van Kesteren
On Thu, Aug 29, 2013 at 1:48 PM, Axel Hecht wrote: > I'll read up on the other thread, and I still think the approach is wrong > here, sorry. You'll have to explain that more fully I think. This is the current approach. However the current approach leads to all kinds of bugs because localization

Re: Getting the current UI locale from C++

2013-08-29 Thread Axel Hecht
On 8/29/13 12:03 PM, Henri Sivonen wrote: On Thu, Aug 29, 2013 at 10:12 AM, Henri Sivonen wrote: How do I get the language code for the currently active UI language pack from within Gecko C++ code in a way that works across desktop, Android, B2G and Metro? On IRC, I was pointed to https://mxr

Re: Getting the current UI locale from C++

2013-08-29 Thread Henri Sivonen
On Thu, Aug 29, 2013 at 10:12 AM, Henri Sivonen wrote: > How do I get the language code for the currently active UI language > pack from within Gecko C++ code in a way that works across desktop, > Android, B2G and Metro? On IRC, I was pointed to https://mxr.mozilla.org/comm-central/source/mozilla

Re: padding/margin/border/content highlighting (need platform help)

2013-08-29 Thread Paul Rouget
Robert O'Callahan wrote: > I just sent a new API proposal to www-style: > http://lists.w3.org/Archives/Public/www-style/2013Aug/0605.html > > It's not particularly difficult to implement, but we need CSSPoint to be > implemented first, and that's waiting on Jet and some WebIDL codegen > changes in

Getting the current UI locale from C++

2013-08-29 Thread Henri Sivonen
How do I get the language code for the currently active UI language pack from within Gecko C++ code in a way that works across desktop, Android, B2G and Metro? Searching around the code suggests that there are multiple places in the code base approximating something like this in different ways and