Re: Introducing mozilla::UniquePtr and mozilla::MakeUnique for |new T| and |new T[]| resources

2014-08-01 Thread Jeff Walden
On 08/01/2014 03:48 AM, Neil wrote: > Only UniquePtr's own copy and assignment operators should take UniquePtr&&. > Other call sites should either take const UniquePtr& (if they will not take > ownership of the pointer), UniquePtr& (if they may or may not need to take > ownership of the pointer)

Intent to implement and ship: Element.matches

2014-08-01 Thread Boris Zbarsky
Summary: This is an unprefixed form of Element.mozMatchesSelector, which we've been shipping for a long time. Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=886308 Link to standard: http://dom.spec.whatwg.org/#dom-element-matches (though note

Re: Mac OS X 10.7 SDK or later now required for Mac builds

2014-08-01 Thread Ralph Giles
On 2014-08-01 9:47 AM, Bob Clary wrote: > I didn't specify --with-macos-sdk when building on 10.6 previously nor > when building on 10.9, so native libraries? I *think* the default isysroot is '/' so not passing --with-macos-sdk would build against the system's native libraries, headers and frame

Promise syntax in .webidl files now requires the resolution type

2014-08-01 Thread Boris Zbarsky
As of today, any Web IDL using Promise needs to specify the type the promise will be resolved with. For example, an API that used to be written like this: Promise getLength(); would now be written like this: Promise getLength(); If you don't put in the type, you will get invalid syntax e

Re: I want to implement a ListBox that contains one million(1, 000, 000) custom vbox, how to speed it up.

2014-08-01 Thread Neil
Paul Rouget wrote: Yonggang Luo wrote: The vbox's content comes from a large database. Is there any standard way to implement it A xul listbox? You probably want to use a treeview. It's designed for such use cases. Doesn't help if he needs a custom vbox. -- Warning: May contain t

Re: Mac OS X 10.7 SDK or later now required for Mac builds

2014-08-01 Thread Bob Clary
On 08/01/2014 09:27 AM, Ralph Giles wrote: On 2014-07-31 11:42 AM, Bob Clary wrote: Actually I had been building on 10.6 up until this morning. I've switched my builders to 10.9 where it appears all is well and I am able to run the builds on 10.6+. Just out of curiousity, are you building aga

Fwd: David Keeler is now the module owner of PSM

2014-08-01 Thread Brian Smith
-- Forwarded message -- From: Brian Smith Date: Fri, Aug 1, 2014 at 9:24 AM Subject: David Keeler is now the module owner of PSM To: mozilla-governa...@lists.mozilla.org, mozilla's crypto code discussion list , David Keeler Hi, Amogst other things, PSM is the part of Gecko (Fir

Re: Mac OS X 10.7 SDK or later now required for Mac builds

2014-08-01 Thread Ralph Giles
On 2014-07-31 11:42 AM, Bob Clary wrote: > Actually I had been building on 10.6 up until this morning. I've > switched my builders to 10.9 where it appears all is well and I am able > to run the builds on 10.6+. Just out of curiousity, are you building against the 10.7 sdk on 10.9, or against the

Intent to implement/ship: Support for msApplication-TileImage/Color

2014-08-01 Thread Wesley Johnston
Summary: In Firefox 33 we shipped support for msApplication-TileImage/Color meta tags in pages. These are meant to be shown on our homescreen in place of thumbnails when they are available. See http://digdug2k.wordpress.com/2014/07/30/better-tiles-in-fennec/ for a screenshot. These allow the si

Re: I want to implement a ListBox that contains one million(1,000,000) custom vbox, how to speed it up.

2014-08-01 Thread Paul Rouget
Yonggang Luo wrote: > The vbox's content comes from a large database. > > Is there any standard way to implement it A xul listbox? You probably want to use a treeview. It's designed for such use cases. https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Tutorial/Custom_Tree_Views -- Paul _

Re: Continued support for ESR

2014-08-01 Thread Ludovic Hirlimann
On 01/08/2014 07:18, Lukas Blakk wrote: > Hello, > > When the ESR branch was initially created it was done so in a manner of > intentional impermanence, the thinking being that consumers of this channel > would eventually establish a way to switch over onto our 6 week rapid release > mainline

Re: Introducing mozilla::UniquePtr and mozilla::MakeUnique for |new T| and |new T[]| resources

2014-08-01 Thread Neil
Jeff Walden wrote: Additionally, UniquePtr is best used by threading it through interfaces, beyond just immediate use sites. Rather than returning a raw pointer, code should return UniquePtr instead. Rather than extracting a raw pointer to pass to a method, code should pass Move(ptr) instea

Re: TOOL_DIRS, TEST_TOOL_DIRS and PARALLEL_DIRS are no more

2014-08-01 Thread Mike Hommey
On Thu, Jul 31, 2014 at 04:49:21PM +0100, Neil wrote: > Mike Hommey wrote: > > >- TOOL_DIRS > > > Does that mean that the tools tier is no more? How do you get something done > after jar.mn processing? It's almost no more. If you have a tools rule in a Makefile, it's still going to be run as part

Re: Continued support for ESR

2014-08-01 Thread Kyle Huey
Can we at least adjust the ESR release length so that they fall on even numbered Geckos? Then they'll never end up on a version that is not shared with a b2g branch. - Kyle On Thu, Jul 31, 2014 at 10:18 PM, Lukas Blakk wrote: > Hello, > > When the ESR branch was initially created it was done so

Re: How to access(calling) external addon's javascript functions in XUL applicataion.

2014-08-01 Thread Philipp Kewisch
On 8/1/14 7:45 AM, Yonggang Luo wrote: > I am installed Tiny Javascript Debugger into my own XUL application, (by > setting the ID to thunderbird), How to start the Tiny Javascript Debugger by > calling it's own functions? > You should take a look at this extension, it should do everything you