Re: UA string: Touch or Tablet again

2012-11-13 Thread Henri Sivonen
On Mon, Nov 12, 2012 at 8:05 PM, Matt Brubeck mbrub...@mozilla.com wrote: PROPOSAL: * We should add Tablet to the User-Agent header when the the Metro Firefox UI is used *and* the hardware supports touch input. * For non-touch hardware, we should make no changes to the User-Agent header.

Re: Proposed style guide modification: using declarations and nested namespaces

2012-11-13 Thread Robert O'Callahan
On Mon, Nov 12, 2012 at 8:37 PM, Jeff Walden jwalden+...@mit.edu wrote: We ended up removing the nested |using| above and making all SpiderMonkey headers qualify everything with mozilla::. We use few enough things from mozilla:: so far that we switched to |using mozilla::RangedPtr| and so on

Re: Proposal: Not shipping prefixed APIs on the release channel

2012-11-13 Thread Neil
Henri Sivonen wrote: On Fri, Nov 9, 2012 at 7:38 PM, Neil n...@parkwaycc.co.uk wrote: Is there any way we can make it so that the prefixed version doesn't work unless you attempt (and presumably fail) to detect the unprefixed version? What purpose would the prefix serve in such a

Re: Proposed style guide modification: using declarations and nested namespaces

2012-11-13 Thread Neil
Robert O'Callahan wrote: On Mon, Nov 12, 2012 at 8:37 PM, Jeff Walden jwalden+...@mit.edu wrote: We ended up removing the nested |using| above and making all SpiderMonkey headers qualify everything with mozilla::. We use few enough things from mozilla:: so far that we switched to |using

Re: Proposal: Not shipping prefixed APIs on the release channel

2012-11-13 Thread Henri Sivonen
On Tue, Nov 13, 2012 at 12:14 PM, Neil n...@parkwaycc.co.uk wrote: Henri Sivonen wrote: On Fri, Nov 9, 2012 at 7:38 PM, Neil n...@parkwaycc.co.uk wrote: Is there any way we can make it so that the prefixed version doesn't work unless you attempt (and presumably fail) to detect the unprefixed

Re: UA string: Touch or Tablet again

2012-11-13 Thread Jonas Sicking
On Mon, Nov 12, 2012 at 7:51 AM, Gervase Markham g...@mozilla.org wrote: D) Use neither, like Chrome. UA sniffing is evil. Developers should use the presence of a touch API to detect touch capability, and use flexible layout to adapt to whatever screen size the user has. This is Google's

Re: UA string: Touch or Tablet again

2012-11-13 Thread jim . mathies
On Tuesday, November 13, 2012 4:49:14 AM UTC-6, Jonas Sicking wrote: Note that API detection is only possible client-side. (And using javascript, though this is less of an issue). Websites generally send dramatically different content for touch-based UIs. Different enough that they'd want to

Re: Migrating mozilla-central builds to the Windows 8 SDK

2012-11-13 Thread Neil
jim.math...@gmail.com wrote: Key notes - * The 8.0 SDK requires Windows 7 (or Windows Server 2008 R2) -- Warning: May contain traces of nuts. ___ dev-platform mailing list dev-platform@lists.mozilla.org

Re: Proposal: Not shipping prefixed APIs on the release channel

2012-11-13 Thread Henri Sivonen
On Tue, Nov 13, 2012 at 9:59 AM, Randell Jesup rjesup.n...@jesup.org wrote: The WebRTC API (and MediaStream API via the Media Capture Task Force and getUserMedia()) is very much still in flux. I’m not familiar with these specs, so I don’t know why they are still in flux. Chrome is shipping

Re: UA string: Touch or Tablet again

2012-11-13 Thread Dao
On 12.11.2012 19:05, Matt Brubeck wrote: * Sites that follow our existing guidelines to send tablet-optimized content to Firefox for Android tablets will not need any changes, and will immediately begin serving tablet-optimized content to Firefox for Metro. Is there a significant amount of

Re: Proposal: Remove Linux PGO Testing

2012-11-13 Thread Dao
On 13.11.2012 00:47, Alex Keybl wrote: almost nobody uses Mozilla Firefox builds(and no Firefox disributors do pgo) We should really get the latter fixed. Disabling PGO for our builds seems like a step in the wrong direction; the numbers collected in this thread suggest that it's a major

Re: Proposal: Remove Linux PGO Testing

2012-11-13 Thread Ehsan Akhgari
On 2012-11-13 9:56 AM, Jonathan Kew wrote: On 12/11/12 15:47, Alex Keybl wrote: Bug 799295 [1], the driver for this thread, is still an open issue for FF18 (shipping in 6 weeks). The JS team's recommendation remains to disable PGO on Linux. According to Taras, the major benefits of PGO on Linux

JavaScript code modules: Best practice for import?

2012-11-13 Thread Archaeopteryx
Hi, what is the recommend way to import JavaScript code modules in files part of Gecko? 1) Don't add the import line Components.utils.import(resource://app/my_module.jsm); into the file if the module has already been loaded by a different JavaScript file load earlier. Advantage: Fastest

MemShrink meeting today 11/13/2012 @ 2:00pm PST

2012-11-13 Thread Jet Villegas
This week's MemShrink meeting will be brought to you by infallible allocation from Gecko Layout arenas: https://bugzilla.mozilla.org/show_bug.cgi?id=809533 Note: * New meeting time (2:00pm PST) * New meeting room (today only) The wiki page for this meeting is at:

Re: Proposal: Not shipping prefixed APIs on the release channel

2012-11-13 Thread Randell Jesup
Henri Sivonen hsivo...@iki.fi writes: On Tue, Nov 13, 2012 at 9:59 AM, Randell Jesup rjesup.n...@jesup.org wrote: The WebRTC API (and MediaStream API via the Media Capture Task Force and getUserMedia()) is very much still in flux. I’m not familiar with these specs, so I don’t know why they

Re: UA string: Touch or Tablet again

2012-11-13 Thread Dao
On 13.11.2012 12:24, jim.math...@gmail.com wrote: On Tuesday, November 13, 2012 4:49:14 AM UTC-6, Jonas Sicking wrote: Note that putting touch in the UA is somewhat different than traditional UA sniffing. It's actually capability testing which is what we are encouraging people to do. Using

Re: Proposal: Remove Linux PGO Testing

2012-11-13 Thread Justin Dolske
On 11/13/12 10:27 AM, Ehsan Akhgari wrote: Agreed. Actually, reading the bug closely, there's nothing which says someone has tried to debug this (it's not even clear if it's reproducible locally), and it seems like the only evidence that we have about this being PGO related is that it happens

Re: Proposal: Remove Linux PGO Testing

2012-11-13 Thread Alex Keybl
If the Snappy initiative (or any other group of Mozillians) has short-term plans to evangelize the perf wins of PGO to Linux distros, I agree that we should leave PGO builds and testing enabled on Linux and further investigate the mysterious crash in bug 799295. Otherwise, our builds/testing

Re: Proposal: Remove Linux PGO Testing

2012-11-13 Thread Taras Glek
On 11/13/2012 3:53 PM, Alex Keybl wrote: If the Snappy initiative (or any other group of Mozillians) has short-term plans to evangelize the perf wins of PGO to Linux distros, I agree that we should leave PGO builds and testing enabled on Linux and further investigate the mysterious crash in