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

2014-07-31 Thread Yonggang Luo
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? ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.

Re: Continued support for ESR

2014-07-31 Thread Yonggang Luo
在 2014年8月1日星期五UTC+8下午1时18分36秒,Lukas Blakk写道: > 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

Continued support for ESR

2014-07-31 Thread Lukas Blakk
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 builds. With last week’s ESR31 we are pushing the l

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

2014-07-31 Thread Yonggang Luo
> A typical way to deal with suck kind of things is to load your data partially. > > Only put the data rows that are visible or about to be visible in the list > and update these rows when scrolling up and down. > That's what I am looking for, is there any exist implementation? demo? sample? ___

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

2014-07-31 Thread 袁徐磊
A typical way to deal with suck kind of things is to load your data partially. Only put the data rows that are visible or about to be visible in the list and update these rows when scrolling up and down. Yonggang Luo wrote: >The vbox's content comes from a large database. > >Is there any stand

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

2014-07-31 Thread 袁徐磊
A typical way to do such kind of things is loading your data partially. Only put the data rows that are currently visible or going to be visible in the list and update these rows when user scrolls up and down. Yonggang Luo wrote: >The vbox's content comes from a large database. > >Is there any

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

2014-07-31 Thread Yonggang Luo
The vbox's content comes from a large database. Is there any standard way to implement it ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

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

2014-07-31 Thread Jeff Walden
On 07/31/2014 04:52 PM, Robert O'Callahan wrote: > Is there anything blocking us from mass-removing nsAutoPtr/nsAutoArrayPtr > in favour of UniquePtr? I'm not unsure what the state of mass-rewriting tools are these days, to start. But assuming they're up to snuff, there might or might not be. T

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

2014-07-31 Thread Trevor Saunders
On Fri, Aug 01, 2014 at 11:52:03AM +1200, Robert O'Callahan wrote: > On Fri, Aug 1, 2014 at 11:24 AM, Jeff Walden wrote: > > > One last note. UniquePtr is patterned on std::unique_ptr, the C++11 > > standard version of this idiom. The current mozilla::Scoped class is > > another recent attempt

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

2014-07-31 Thread Robert O'Callahan
On Fri, Aug 1, 2014 at 11:24 AM, Jeff Walden wrote: > One last note. UniquePtr is patterned on std::unique_ptr, the C++11 > standard version of this idiom. The current mozilla::Scoped class is > another recent attempt to address largely the same needs. The older > nsAutoPtr and nsAutoArrayPtr

Re: Press Me! Button

2014-07-31 Thread Gavin Sharp
I commented in your bug (https://bugzilla.mozilla.org/show_bug.cgi?id=1047117) - looks like an add-on installed by Test Pilot. Gavin On Thu, Jul 31, 2014 at 3:38 PM, Martin Thomson wrote: > On 31/07/14 15:31, Gavin Sharp wrote: >> >> Does it appear inabout:addons for the affected profile, under

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

2014-07-31 Thread Jeff Walden
Hey all, mfbt recently picked up mozilla::UniquePtr, a smart pointer for objects created using |new| or |new[]|. UniquePtr will automatically |delete| or |delete[]| its pointer when it's destroyed. (You can also define custom deletion policies if you want.) Additionally, you can safely embed

Re: Press Me! Button

2014-07-31 Thread Martin Thomson
On 31/07/14 15:31, Gavin Sharp wrote: Does it appear inabout:addons for the affected profile, under "Experiments"? I've no "Experiments" category, but it appears in the list. What is the value of the experiments.manifest.uri pref in that profile? https://telemetry-experiment.cdn.mozilla.ne

Re: Press Me! Button

2014-07-31 Thread Gavin Sharp
Does it appear in about:addons for the affected profile, under "Experiments"? What is the value of the experiments.manifest.uri pref in that profile? Gavin On Thu, Jul 31, 2014 at 9:59 AM, Martin Thomson wrote: > On 31/07/14 09:55, Mike Conley wrote: >> >> Can you show us a screenshot of this b

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

2014-07-31 Thread Bob Clary
On 07/31/2014 11:02 AM, Steven Michaud wrote: I think this means we can no longer build on OS X 10.6 -- which isn't a big deal, because I don't believe that's been possible since we switched to using clang by default (instead of gcc/g++), at https://bugzilla.mozilla.org/show_bug.cgi?id=733905.

Re: Press Me! Button

2014-07-31 Thread Daniel Veditz
On 7/31/2014 9:59 AM, Martin Thomson wrote: > I found out what it was though: > https://github.com/raymak/contextualfeaturerecommender > > I don't remember installing that addon. Was it one of the Telemetry Experiments? https://github.com/raymak/contextualfeaturerecommender/tree/master/phase1/exp

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

2014-07-31 Thread Steven Michaud
Here's a heads up for people doing local Mac builds of Firefox, and possibly also some who manage automated builds: As of the patch for https://bugzilla.mozilla.org/show_bug.cgi?id=941296, which landed on the trunk early this morning, you can no longer build with the OS X 10.6 SDK. Instead you

incompatible changes to PKG_CHECK_MODULES as a result of bug 1042878

2014-07-31 Thread Nathan Froyd
Bug 1042878 has landed on inbound, and changes many *_CFLAGS variables to appear as lists to moz.build. This change enabled the easy removal of several dozen Makefile.in's from the tree. As a side-effect, this bug also changes the Mozilla-provided PKG_CHECK_MODULES autoconf macro to use AC_SUB

Re: Press Me! Button

2014-07-31 Thread Martin Thomson
On 31/07/14 09:55, Mike Conley wrote: Can you show us a screenshot of this button? Well I customized it off and now I can't get it back. I found out what it was though: https://github.com/raymak/contextualfeaturerecommender I don't remember installing that addon. ___

Re: Press Me! Button

2014-07-31 Thread Mike Conley
A quick scan through DXR doesn't show any reference to "Press Me!" or "Press Me" in our strings, except for a likely coincidental match in some accessibility test[1]. Can you show us a screenshot of this button? [1]: http://dxr.mozilla.org/mozilla-central/source/accessible/tests/mochitest/jsat/te

Re: Press Me! Button

2014-07-31 Thread Kevin Brosnan
Better question for firefox-...@mozilla.org On Jul 31, 2014 9:27 AM, "Martin Thomson" wrote: > Did I miss the announcement about this feature? Nightly just told me > about an add-on that it thinks I might want. Apparently because I download > a lot of files. > __

Press Me! Button

2014-07-31 Thread Martin Thomson
Did I miss the announcement about this feature? Nightly just told me about an add-on that it thinks I might want. Apparently because I download a lot of files. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/lis

Re: Credential management API

2014-07-31 Thread Sam Penrose
Chris Karlof and I have been in touch with Mike, and also with a separate Google team. Everyone agrees there is overlap, and we will continue fleshing the current strawmen out. - Original Message - > From: "Anne van Kesteren" > To: dev-platform@lists.mozilla.org, dev-web...@lists.mozill

Re: TOOL_DIRS, TEST_TOOL_DIRS and PARALLEL_DIRS are no more

2014-07-31 Thread Neil
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? -- Warning: May contain traces of nuts. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://list

Re: I was creating a XUL application and want to enable a bunch of extensions at the first startup,

2014-07-31 Thread Yonggang Luo
> The extensions.autoDisableScopes application preference controls the > > first startup state of extensions, so you can set it to a value > > convenient for your application. Thanks a lot, I am looking for a complete list for all preferences that affect of the XUL runner, but no-where to foun

Re: Studying Lossy Image Compression Efficiency, July 2014

2014-07-31 Thread janus
Den torsdag den 24. juli 2014 23.59.58 UTC+2 skrev Josh Aas: > > > I selected 10,000 random JPEGs that we were caching for customers and ran > > them through mozjpeg 2.0 via jpegtran. Some interesting facts: > > > With mozjpeg you probably want to re-encode with cjpeg rather than jpegtran. > W

Re: Intent to Transition from TBPL to Treeherder

2014-07-31 Thread Ed Morley
On 30/07/2014 18:22:39, Botond Ballo wrote: I seem to have to refresh Treeherder to get it to update job statuses, whereas on TBPL the statuses update automatically. Is this expected? This isn't expected, have filed: https://bugzilla.mozilla.org/show_bug.cgi?id=1046642 Cheers, Ed ___

Re: I was creating a XUL application and want to enable a bunch of extensions at the first startup,

2014-07-31 Thread Neil
Yonggang Luo wrote: How to do that? I want to do it programmatically, such as by using Javascript code. The extensions.autoDisableScopes application preference controls the first startup state of extensions, so you can set it to a value convenient for your application. -- Warning: May co

Credential management API

2014-07-31 Thread Anne van Kesteren
Mike West from Google proposed a credential management API. I know we have ongoing work on improving the password manager and such, so we might want to take a look: http://lists.w3.org/Archives/Public/public-webapps/2014JulSep/0141.html Probably best to reply directly to http://lists.w3.org/Archiv

I was creating a XUL application and want to enable a bunch of extensions at the first startup,

2014-07-31 Thread Yonggang Luo
How to do that? I want to do it programmatically, such as by using Javascript code. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform