Update your Snappy status for Dec 6 (no meeting this week)

2012-12-04 Thread Lawrence Mandel
Please share your Snappy status on the etherpad by EOD Thursday. https://etherpad.mozilla.org/snappy Lawrence ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Synchronous loading of data: URLs

2012-12-04 Thread John Daggett
Fonts are loaded when used so font loading won't start until the contents using a particular font are laid out. With an async cycle, this means the first layout pass will use fallback fonts and the second layout pass will use the loaded font resources. Using generic loop: Reflow ==> layout te

Re: Updates applied to "Contents/MacOS" instead of application directory (.app), causing all updates to either fail or break the app XULRunner 17.0

2012-12-04 Thread Robert Strong
The associated code for figuring this out is at http://mxr.mozilla.org/mozilla-release/source/toolkit/xre/nsUpdateDriver.cpp#621 Does your app bundle contain the xulrunner bundle or the xulrunner bundle contain your app bundle? Robert On 12/3/2012 6:57 AM, Fredrik Motin wrote: This is what h

Re: BFCache & Application Cache

2012-12-04 Thread Honza Bambas
On 11/30/2012 8:25 AM, Jan Honza Odvarko wrote: On Nov 29, 11:15 pm, Honza Bambas wrote: You may QI the channel to nsIApplicationCacheChannel and check for loadedFromApplicationCache attribute. ok, works for me, thanks. I'm just interested in how you recognize a bfcache load, nsIWebProgressL

Re: Synchronous loading of data: URLs

2012-12-04 Thread Yury Delendik
On 12/4/2012 2:42 AM, Henri Sivonen wrote: Can we, please 1) Make the data: URL event pump always spin the event loop before OnStopRequest to prevent anyone from relying on synchronicity and 2) Stop promoting data: URL synchronicity as green / “success” Agree with the synchronous in the tes

Re: Synchronous loading of data: URLs

2012-12-04 Thread Henri Sivonen
On Tue, Dec 4, 2012 at 12:22 PM, Jonathan Kew wrote: > By way of background, the fact that web-fonts with data: URLs are loaded > synchronously was a feature deliberately added in bug 512566. I’m surprised that data: URLs were special-cased in Gecko deliberately. Was this behavior discussed at th

Re: Integrating ICU into Mozilla build

2012-12-04 Thread Henri Sivonen
On Tue, Dec 4, 2012 at 6:15 AM, Makoto Kato wrote: > A year ago, I investigated to replace uconv with ICU. > > Many (most is IBM code page) converters in ICU isn't compatible with uconv, > and ICU isn't have all character set converters that we already use in > uconv. > > If using ICU for uconv, w

Re: Integrating ICU into Mozilla build

2012-12-04 Thread Justin Wood (Callek)
Rafael Ávila de Espíndola wrote: >> >> Actually, ICU has several options for how its data is packaged. One option >> is libraries (which are not sharable between architectures, AFAIK), but >> another possibility is to use data package (.dat) files, which I believe >> *could* be shared between th

Re: Integrating ICU into Mozilla build

2012-12-04 Thread Axel Hecht
On 04.12.12 11:53, Jean-Marc Desperrier wrote: Norbert Lindenberg a écrit : The ECMAScript Internationalization API [...] provides web applications with the ability to format numbers, dates, and times and sort strings according to the rules of the language that the application is using, not the

Re: Super-review, what shall we do with you?

2012-12-04 Thread L. David Baron
On Tuesday 2012-12-04 10:00 +, Neil wrote: > Blake Kaplan wrote: > > >Neil wrote: > > > >>>static const PRUnichar* kResetBackupDirectory = > >>>NS_LITERAL_STRING("resetBackupDirectory").get(); > >>> > >Isn't this an anti-pattern anyway because the string (and the memory owned > >by it) will

Re: Integrating ICU into Mozilla build

2012-12-04 Thread Jean-Marc Desperrier
Norbert Lindenberg a écrit : The ECMAScript Internationalization API [...] provides web applications with the ability to format numbers, dates, and times and sort strings according to the rules of the language that the application is using, not the one that browser and OS default to. If the OS

Re: Xulrunner 16 to 17? (Erro compiling)

2012-12-04 Thread Felipe Junges
Em segunda-feira, 3 de dezembro de 2012 12h41min30s UTC-3, Simon Kornblith escreveu: > On Dec 3, 5:41 am, Felipe Junges wrote: > > > Em quinta-feira, 29 de novembro de 2012 14h48min56s UTC-3, Jeff Hammel   > > escreveu: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Wil

Re: Synchronous loading of data: URLs

2012-12-04 Thread Jonathan Kew
On 4/12/12 08:42, Henri Sivonen wrote: I saw a link to http://mozilla.github.com/pdf.js/features/ on Twitter. This test suite considers it green / “success” for data: URL @font-faces to load synchronously. The test “passes” in Firefox and IE10 and “fails” in Chrome and Opera. I didn’t test Safar

Re: Super-review, what shall we do with you?

2012-12-04 Thread Neil
Blake Kaplan wrote: Neil wrote: static const PRUnichar* kResetBackupDirectory = NS_LITERAL_STRING("resetBackupDirectory").get(); Isn't this an anti-pattern anyway because the string (and the memory owned by it) will get destructed after the semicolon "runs" leaving kResetBackupDir

Synchronous loading of data: URLs

2012-12-04 Thread Henri Sivonen
I saw a link to http://mozilla.github.com/pdf.js/features/ on Twitter. This test suite considers it green / “success” for data: URL @font-faces to load synchronously. The test “passes” in Firefox and IE10 and “fails” in Chrome and Opera. I didn’t test Safari. To me, it seems like a bad idea to 1)