How to remove the require instance in Javascript.

2016-05-09 Thread Yonggang Luo
-- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: now available on desktop Firefox

2016-03-07 Thread Yonggang Luo
> > [1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1238160 > > - Ryan > ___ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___

The Object performance are 5-100 times slower than Chrome. Array is a bit slow, map is faster, uint32array are 5 times faster.

2016-03-07 Thread Yonggang Luo
rmance ending at time {"array":215,"object":614,"objectSingle":49,"map":6232,"uint32Array":100} -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Distribute a firefox-sdk.lib for linking a executable with icon

2016-03-01 Thread Yonggang Luo
And firefox-sdk.lib should support for application.ini directly Or using a compiled application.ini.h obj file to link with firefox-sdk.lib to generating a user executable. -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing

Re: How to remove #ifdef XP_MACOSX in xul files?

2016-02-03 Thread Yonggang Luo
topping us to wipe out the preprocess building system for those files. If we have simple runtime directive to direct which part of XUL files should be exclude out , Like IE( > > ~ Gijs > > ___ > dev-platform mailing list >

Re: How to remove #ifdef XP_MACOSX in xul files?

2016-02-01 Thread Yonggang Luo
that you intend to > do if we are to make a sensible suggestion. > > On Mon, Feb 1, 2016 at 5:23 PM, Yonggang Luo <luoyongg...@gmail.com> > wrote: > > How to remove #ifdef XP_MACOSX in xul files? > > ___ > > dev-platf

Re: I was trying to implement the XPConnect with JS-Ctypes, is that would be a good idea?

2016-01-04 Thread Yonggang Luo
ection would be the biggest problem. Even though WebIDL has it's own advantages, but XPCOM are more language-neutral. On Jan 4, 2016 12:46 AM, "罗勇刚(Yonggang Luo)" <luoyongg...@gmail.com> wrote: > >> Well, cause that's not possible to implement APIs in webidl in the >

Re: I was trying to implement the XPConnect with JS-Ctypes, is that would be a good idea?

2016-01-04 Thread Yonggang Luo
Well, cause that's not possible to implement APIs in webidl in the external dll with the xul On Mon, Jan 4, 2016 at 3:55 PM, Bobby Holley <bobbyhol...@gmail.com> wrote: > Why not use webidl to expose the apis you want in workers? > On Jan 3, 2016 8:08 PM, "罗勇刚(Yonggan

Re: I was trying to implement the XPConnect with JS-Ctypes, is that would be a good idea?

2016-01-04 Thread Yonggang Luo
, that's looks like a advantage of XPCOM. -Olli > > > > > Mixing both > >> accidentally can lead to unpredictable results. >> >> Oh, and XPConnect pointers can simply not be dereferenced from worker >> threads. Attempting to do so will crash libxul b

Re: I was trying to implement the XPConnect with JS-Ctypes, is that would be a good idea?

2016-01-04 Thread Yonggang Luo
On Mon, Jan 4, 2016 at 11:37 PM, Joshua Cranmer  <pidgeo...@gmail.com> wrote: > On 1/4/2016 9:24 AM, 罗勇刚(Yonggang Luo) wrote: > >> 1、I was not trying implement new things in xpcom, our company(Kingsoft) >> are >> maintaining a fork of thunderbird, and at the cur

Re: I was trying to implement the XPConnect with JS-Ctypes, is that would be a good idea?

2016-01-04 Thread Yonggang Luo
On Tue, Jan 5, 2016 at 1:33 AM, Bobby Holley <bobbyhol...@gmail.com> wrote: > On Mon, Jan 4, 2016 at 7:57 AM, 罗勇刚(Yonggang Luo) <luoyongg...@gmail.com> > wrote: > >> On Mon, Jan 4, 2016 at 11:37 PM, Joshua Cranmer  <pidgeo...@gmail.com> >> wrote: >&g

Re: I was trying to implement the XPConnect with JS-Ctypes, is that would be a good idea?

2016-01-04 Thread Yonggang Luo
> > Source code archæologist >>>> > >>>> > _______ >>>> > dev-platform mailing list >>>> > dev-platform@lists.mozilla.org >>>> > https://lists.mozilla.org/listinfo/

Re: I was trying to implement the XPConnect with JS-Ctypes, is that would be a good idea?

2016-01-03 Thread Yonggang Luo
ready have a modified version of mozilla-central, if the upstream is not possible, then I just need to maintain the fork and can not upstream the code. > On Sun, Jan 3, 2016 at 11:46 AM, Joshua Cranmer  <pidgeo...@gmail.com> > wrote: > > > On 1/3/2016 10:24 AM, 罗勇刚(Yonggang Luo

Re: I was trying to implement the XPConnect with JS-Ctypes, is that would be a good idea?

2016-01-03 Thread Yonggang Luo
On Mon, Jan 4, 2016 at 3:46 AM, Joshua Cranmer  <pidgeo...@gmail.com> wrote: > On 1/3/2016 10:24 AM, 罗勇刚(Yonggang Luo) wrote: > >> So that we could be able to access xpcom in worker. >> And we could be able to implement thunderbird new msg protocol in pure >> java

Re: I was trying to implement the XPConnect with JS-Ctypes, is that would be a good idea?

2016-01-03 Thread Yonggang Luo
this work? > > ___ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platf

I was trying to implement the XPConnect with JS-Ctypes, is that would be a good idea?

2016-01-03 Thread Yonggang Luo
compMgr = nullptr; gShellInited = false; // TODO: Use the full mozjs environment //JS_ShutDown(); break; } } return TRUE; } 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: I was trying to implement the XPConnect with JS-Ctypes, is that would be a good idea?

2016-01-03 Thread Yonggang Luo
eers, > David > > On 03/01/16 17:24, 罗勇刚(Yonggang Luo) wrote: > > So that we could be able to access xpcom in worker. > > And we could be able to implement thunderbird new msg protocol in pure > > javascript > > > > On Sun, Jan 3, 2016 at 11:09

Re: I was trying to implement the XPConnect with JS-Ctypes, is that would be a good idea?

2016-01-03 Thread Yonggang Luo
e-collector. > accidentally can lead to unpredictable results. > > Oh, and XPConnect pointers can simply not be dereferenced from worker > threads. Attempting to do so will crash libxul by design to avoid > accidents. > > etc. > > Cheers, > David > > On 03

I was writing a dll to be called by js-ctypes, but I need the JsContext of the caller JS environemt

2015-12-27 Thread Yonggang Luo
And after investigation, I found it's seems not possible to do it, is there any way to do that? Or we need to expose a API to do that. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: I was writing a dll to be called by js-ctypes, but I need the JsContext of the caller JS environemt

2015-12-27 Thread Yonggang Luo
New question, what's the differences between GetCurrentJSContext & GetSafeJSContext in nsIXPConnect On Mon, Dec 28, 2015 at 1:16 AM, Yonggang Luo <luoyongg...@gmail.com> wrote: > And after investigation, I found it's seems not possible to do it, is > there any way to do

I was trying to implement the XPCOM-Layer, here is my code, don't know if that's was the right direction to do that.

2015-12-27 Thread Yonggang Luo
0x) return FALSE; break; case DLL_PROCESS_DETACH: TlsFree(tId); break; } return TRUE; } -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Cause Firefox doesn't support for binary extentions anymore? So may use to merge all the xpcom strings into a single implementation?

2015-12-27 Thread Yonggang Luo
There is two much about strings in XPCOM. -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Does js-ctypes supports for nsISupports objects.

2015-12-23 Thread Yonggang Luo
-- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Does js-ctypes supports for nsISupports objects.

2015-12-23 Thread Yonggang Luo
t functionality was WONTFIXed a while back: > https://bugzilla.mozilla.org/show_bug.cgi?id=505907. > > -Ted > ___ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > --

How to know the URI for a XBL file

2015-12-15 Thread Yonggang Luo
-- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: What is the difference between asyncOpen2() and asyncOpen()

2015-12-07 Thread Yonggang Luo
olf, and guard us from the thief, > oh Night, and so be good for us to pass. > ___ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > -- 此致 礼 罗勇刚 Yours sincer

Move mailnews/intl back into gecko-dev and use options to choose disable/enable it.

2015-12-07 Thread Yonggang Luo
and the Crypt part is the most complicated part, and not be able to move into comm source tree completely, so we may choose an alternative way to do that, use prefs to disable it or enable it. -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform

The functions that mailnews called from xul.dll, it's that possible to remove them all?

2015-12-07 Thread Yonggang Luo
UnregisterWeakMemoryReporter -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Move mailnews/intl back into gecko-dev and use options to choose disable/enable it.

2015-12-07 Thread Yonggang Luo
On Tue, Dec 8, 2015 at 4:55 AM, Joshua Cranmer  <pidgeo...@gmail.com> wrote: > On 12/7/2015 11:38 AM, 罗勇刚(Yonggang Luo) wrote: > >> Maintain intl in comm source tree is a big burden, and cause >> The comm source are tightly coupled with gecko-dev >> source tree. &g

Re: Leaving hg.mozilla bug.mozilla to github for the leaving complicated infrastructure of mozilla.

2015-12-04 Thread Yonggang Luo
On Fri, Dec 4, 2015 at 3:55 PM, R Kent James <k...@caspia.com> wrote: > Yonggang Luo, I've been trying to figure out how to understand what you > are doing for over a year now without success. You've been doing some > amazing work, and I get the vague impression that

Re: Leaving hg.mozilla bug.mozilla to github for the leaving complicated infrastructure of mozilla.

2015-12-04 Thread Yonggang Luo
On Saturday, December 5, 2015 at 12:33:56 AM UTC+8, Nathan Froyd wrote: > On Fri, Dec 4, 2015 at 8:52 AM, luoyonggang wrote: > > > Do you a guess of _why_ they are slow? > > How serious is the slowness? > > How much faster would it need to be to be acceptable? > > > >

Re: When the beta version of firefox with e10s would be released?

2015-12-03 Thread Yonggang Luo
On Thursday, December 3, 2015 at 4:57:28 PM UTC+8, Dave Townsend wrote: > The developer edition already ships with e10s so you can test against that. Indeed, I am looking for more stable version > > On Wed, Dec 2, 2015 at 10:32 PM, Yonggang Luo <luoyongg...@gmail.com> wrote: &

When the beta version of firefox with e10s would be released?

2015-12-02 Thread Yonggang Luo
I am looking for it to developing mutli-process based firefox addons/apps ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

When the beta version of firefox with e10s would be released?

2015-12-02 Thread Yonggang Luo
I am looking for it to developing mutli-process based firefox addons/apps ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: In the new e10s multiprocess model, is that possible to calling XPCOM in the client process?

2015-11-26 Thread Yonggang Luo
t; component you want works there or not is a different question. Some > components have proxies in the child process to make them work, some > work just fine and some don't work at all. Which component do you care > about? > > On Wed, Nov 25, 2015 at 11:44 PM, 罗勇刚(Yonggang Luo) >

In the new e10s multiprocess model, is that possible to calling XPCOM in the client process?

2015-11-25 Thread Yonggang Luo
I want full xpcom access in client process such as do IMAP sync for thunderbird So we would gain performance improvement on the thunderbird. -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform

Does the sdk/page-worker are loading pages off-main thread? and running code in another thread?

2015-11-23 Thread Yonggang Luo
pageWorker = require("sdk/page-worker").Page({ contentScript: "console.log(document.body.innerHTML);", contentURL: " http://en.wikipedia.org/wiki/Internet; }); -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-

Why there is no load events for iframe that resident in html page with 'System permission'

2015-11-23 Thread Yonggang Luo
Is there any security policy here or other things need to do. -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Is that possible to implement Sqlite.jsm with ctypes so that is can works in the worker?

2015-11-14 Thread Yonggang Luo
The current Sqlite.jsm can only work in main thread, that's would be a problem when inserting a lot of data. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Is that possible to implement Sqlite.jsm with ctypes so that is can works in the worker?

2015-11-14 Thread Yonggang Luo
above mozilla's js-ctypes. > > Cheers, > David > > On 14/11/15 10:45, Yonggang Luo wrote: > > The current Sqlite.jsm can only work in main thread, that's would be a > problem when inserting a lot of data. > > __

How to stop the docShell to loading new URIs

2015-11-08 Thread Yonggang Luo
I opened a window and I don't hope it's loading anymore URIs into the docShell. How to configure the docShell to do that. -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https

Re: Merging comm-central into mozilla-central (summary v1)

2015-11-07 Thread Yonggang Luo
individuals in the last few years after Mozilla foundation put TB at > the mercy of > user community.) > > And to make this maintenance easier (less breakage of tree herder > compilation, less duplication of slightly different similar documents > etc.), the merge is preferable from the standpoint of developers IMHO. &

Can I remove the addon-sdk's require cache?

2015-11-07 Thread Yonggang Luo
So when I loading it next Time, it's would loading from the the filesystem with the modified one. -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev

Is that possible to use Cc["@mozilla.org/docshell; 1"] to downloading html URI as blob?

2015-10-16 Thread Yonggang Luo
.msgWindow, null, null, {}); But I don't know how to do that. -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Can not access window.navigator.mozApps in xulrunner 38.1 apps

2015-09-16 Thread Yonggang Luo
Does window.navigator.mozApps disabled for xulrunner or other reasons? -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Is there any events before loading a URL to a docshell.

2015-09-13 Thread Yonggang Luo
So that I know what's the docshell is and the URL is. -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

I wanna to register chrome manifest manually, how to do that?

2015-08-31 Thread Yonggang Luo
-- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: How to avoid mozilla firefox remote debugger to ignore specific files

2015-08-24 Thread Yonggang Luo
Thanks, that's wor ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

How to avoid mozilla firefox remote debugger to ignore specific files

2015-08-22 Thread Yonggang Luo
I wanna to ignore some files when debugging . -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Does https NTLM auth support in Worker for XMLHttpRequest?

2015-08-17 Thread Yonggang Luo
I am looking forward of it. -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

How to monitor and output specific function call's performance in javascript?

2015-08-10 Thread Yonggang Luo
I have a function call that would cause a series of synchronous listeners to be called, And I want to know which call is the most time consuming. What I need to do? -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list

Re: Is there any plan to move all DEFINES into moz.build?

2015-07-17 Thread Yonggang Luo
May intention is to treat mozbuild as a relative indpendenent things so we can fast evolve it, and finally merge back to mozilla source tree. 2015-07-18 1:48 GMT+08:00 罗勇刚(Yonggang Luo) luoyongg...@gmail.com: I've already handled jar.mn and all components things in CommonBackend of common.py

Re: Does jpm support for Thunderbird.

2015-07-02 Thread Yonggang Luo
2015-07-02 18:19 GMT+08:00 J. Ryan Stinnett jry...@gmail.com: The mozilla-labs-jetpack list and/or #jetpack on IRC are probably better (more focused) places to discuss JPM. - Ryan On Thu, Jul 2, 2015 at 5:14 AM, 罗勇刚(Yonggang Luo) luoyongg...@gmail.com wrote: I am looking

Does jpm support for Thunderbird.

2015-07-02 Thread Yonggang Luo
I am looking for it to developing plugins for thunderbird -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

I was put XBL under customized protocol but not works properly, how to fix it?

2015-07-01 Thread Yonggang Luo
Is there any flag I need to setting up? For example: app://app-bootstrap/skin/HTMLBrowser.xul -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev

Re: How create a full copy of mozbuild and dependencies at https://github.com/html-shell/mozbuild

2015-06-30 Thread Yonggang Luo
prefer to not extract the files into a standalone GitHub project, as that will make merging differences harder and could lead to a permanent fork, which isn't conducive to the health of mozbuild at this juncture, IMO. On Mon, Jun 29, 2015 at 10:36 PM, 罗勇刚(Yonggang Luo) luoyongg...@gmail.com wrote

How create a full copy of mozbuild and dependencies at https://github.com/html-shell/mozbuild

2015-06-29 Thread Yonggang Luo
I think doing this can getting mozbuild can be used as a independent software without the gecko source tree. -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org

Why include extApplication.js but using scriptLoader load it?

2015-06-28 Thread Yonggang Luo
https://dxr.mozilla.org/mozilla-central/source/browser/fuel/fuelApplication.js#817 #include ../../toolkit/components/exthelper/extApplication.js -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform

How to getting custom protocol custom-protocol://some-uri-path to act like http to support page browser?

2015-06-24 Thread Yonggang Luo
For example. custom-protocol://some-uri-path/test.html I want the test.html works like http://some-web-site/test.html That I can navigate in the html page. ___ dev-platform mailing list dev-platform@lists.mozilla.org

Re: How to getting custom protocol custom-protocol://some-uri-path to act like http to support page browser?

2015-06-24 Thread Yonggang Luo
在 2015年6月24日星期三 UTC+8下午7:38:01,Philipp Kewisch写道: On 6/24/15 1:10 PM, Yonggang Luo wrote: For example. custom-protocol://some-uri-path/test.html I want the test.html works like http://some-web-site/test.html That I can navigate in the html page. Check out nsIProtocolHandler

Re: How to getting custom protocol custom-protocol://some-uri-path to act like http to support page browser?

2015-06-24 Thread Yonggang Luo
2015-06-25 7:26 GMT+08:00 Nicholas Alexander nalexan...@mozilla.com: On Wed, Jun 24, 2015 at 5:53 AM, Yonggang Luo luoyongg...@gmail.com wrote: 在 2015年6月24日星期三 UTC+8下午7:38:01,Philipp Kewisch写道: On 6/24/15 1:10 PM, Yonggang Luo wrote: For example. custom-protocol://some-uri-path

How to retrieve callstack for JavaScript strict warning

2015-06-23 Thread Yonggang Luo
``` -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

In http://ftp.mozilla.org/pub/mozilla.org/b2g/tinderbox-builds/larch-win64/latest/

2015-06-18 Thread Yonggang Luo
The graphene-41.0a1.en-US.win64.zip Doesn't package with icu dlls -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

atom-shell is electron, what's gecko-shell would be?

2015-06-16 Thread Yonggang Luo
I am looking forward to it. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: atom-shell is electron, what's gecko-shell would be?

2015-06-16 Thread Yonggang Luo
://lists.mozilla.org/listinfo/dev-platform -- Paul -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo -- Paul ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: atom-shell is electron, what's gecko-shell would be?

2015-06-16 Thread Yonggang Luo
/mozilla/browser.html (see graphene issues). On Tue, Jun 16, 2015 at 5:59 PM, Yonggang Luo luoyongg...@gmail.com wrote: I am looking forward to it. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev

Re: Way to discarding xul is raising HTML.

2015-06-14 Thread Yonggang Luo
, Jun 12, 2015 at 5:34 PM, 罗勇刚(Yonggang Luo) luoyongg...@gmail.com wrote: What's the plan to support for menu and popup and tooltip things? Is there any adaptable way to do that? 2015-06-08 18:51 GMT+08:00 Paul Rouget p...@mozilla.com: Right. Not supported yet. On Mon, Jun 8, 2015 at 11:13 AM

Re: Way to discarding xul is raising HTML.

2015-06-12 Thread Yonggang Luo
What's the plan to support for menu and popup and tooltip things? Is there any adaptable way to do that? 2015-06-08 18:51 GMT+08:00 Paul Rouget p...@mozilla.com: Right. Not supported yet. On Mon, Jun 8, 2015 at 11:13 AM, 罗勇刚(Yonggang Luo) luoyongg...@gmail.com wrote: I also found in pure

How to getting firefox support let by default without version=1.7 or version=1.8?

2015-06-11 Thread Yonggang Luo
-- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Way to discarding xul is raising HTML.

2015-06-08 Thread Yonggang Luo
/larch). We are working on OS X support first. For session restore, see bug 1033999. On Fri, Jun 5, 2015 at 8:02 PM, 罗勇刚(Yonggang Luo) luoyongg...@gmail.com wrote: At the current time, pure html window doesn't support for session and other things. Such as setting the whole html's background

How to getting html files under URI resource://URI-path have the same permission that chrome://URI-path does?

2015-06-07 Thread Yonggang Luo
I am trying to place html files under resource directory without need to maintain chrome for resource files.. -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org

Is it safe to remove IsXUL check in nsContainerFrame

2015-06-06 Thread Yonggang Luo
// openDialog(something.html) to produce an opaque window // even if the HTML doesn't have a background-color set. return; } I want to remove rootElement-IsXUL() check for supporting transparent root html window, is that OK? -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo

How to automatically start remote debugger and automatically connect the xulrunner application

2015-06-03 Thread Yonggang Luo
And stop when connected. firefox -chrome chrome://browser/content/devtools/connect.xhtml This can open the connect page, but can not automatically connect. -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev

Is there any demo for Services.ww.getChromeForWindow

2015-06-02 Thread Yonggang Luo
I am trying to use it and always return null. -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: How to inspect Js callstack from C++ callstack, I am using visual studio to debugging

2015-06-02 Thread Yonggang Luo
Thanks for all, that's really helped!. 2015-06-02 20:47 GMT+08:00 Honza Bambas honzab@firemni.cz: invoke DumpJSStack() from the debugger. It will output to console or to the VC++ output window. -hb- On 6/1/2015 11:26, 罗勇刚(Yonggang Luo) wrote: mozjs.dll!js::jit::BaselineScript

_stricmp exist in mozcrt.lib but stricmp doesn't exist.

2015-06-02 Thread Yonggang Luo
It's the mozcrt.lib for vs 2010. Cause ms is automatcally relocate stricmp to _stricmp, but mozcrt.lib doesn't do that. -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev-platform mailing list dev-platform@lists.mozilla.org https

Is that possible to port nodejs with gecko javascript engine?

2015-05-16 Thread Yonggang Luo
I've found Microsoft already done that. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Replacing Mozmill driven tests for Firefox with Marionette

2015-05-16 Thread Yonggang Luo
Maybe a generalize name is better? Such as xul-ui-tests? Andrew Halberstadt wrote on 05/13/2015 04:24 PM: I thought thunderbird was using a very out-of-date version of mozmill which was already unmaintained anyway? Or did you already upgrade to the latest version? Yes, its a very

Re: Replacing Mozmill driven tests for Firefox with Marionette

2015-05-16 Thread Yonggang Luo
在 2015年5月16日星期六 UTC+8下午4:46:35,Yonggang Luo写道: Maybe a generalize name is better? Such as xul-ui-tests? Andrew Halberstadt wrote on 05/13/2015 04:24 PM: I thought thunderbird was using a very out-of-date version of mozmill which was already unmaintained anyway? Or did you already

What's the plan to implement UDP sockets in Worker?

2015-05-02 Thread Yonggang Luo
I am looking into it. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: May I execute mozIStorageStatement.executeAsync() at the same time in a single thread?

2015-04-24 Thread Yonggang Luo
, Yonggang Luo wrote: I am currently using executeAsync to do async sqlite operation in main thread, and running multiple executeAsync in parallel, and it's crashed, I am not so sure if multiple executeAsync can be executed at the same time

May I execute mozIStorageStatement.executeAsync() at the same time in a single thread?

2015-04-24 Thread Yonggang Luo
I am currently using executeAsync to do async sqlite operation in main thread, and running multiple executeAsync in parallel, and it's crashed, I am not so sure if multiple executeAsync can be executed at the same time. ___ dev-platform mailing list

How to use review-board to post a set of changes?

2015-04-19 Thread Yonggang Luo
I means do not post a single diff, but multiple diff. The current command rbt command will automatically merge multiple changes as a single diff and submit, how to avoid this ___ dev-platform mailing list dev-platform@lists.mozilla.org

How does stl_wrappers works in mozilla building system?

2015-04-17 Thread Yonggang Luo
I can not found the cause that how mozilla building with stl_wrappers. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

How does stl_wrappers works in mozilla building system?

2015-04-17 Thread Yonggang Luo
I can not found the cause that how mozilla building with stl_wrappers. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Is there anyway to parse XML in other thread?

2015-04-04 Thread Yonggang Luo
在 2015年4月3日星期五 UTC+8下午11:14:31,Boris Zbarsky写道: On 4/3/15 9:31 AM, 罗勇刚(Yonggang Luo) wrote: Don't know if we can compile c expat to asm.js to running in a worker. If you just want an XML parser in JS, there are various options out there which are significantly more usable (and possibly

Is there anyway to parse XML in other thread?

2015-04-03 Thread Yonggang Luo
I am currently to use XMLHttpRequest to fetch large amount of xml files in main thread but found it's very slow when I fetching multiple document that contains large amount data in the same time. ___ dev-platform mailing list

Re: Is there anyway to parse XML in other thread?

2015-04-03 Thread Yonggang Luo
in the separate thread. - Xidorn On Fri, Apr 3, 2015 at 8:40 PM, Yonggang Luo luoyongg...@gmail.com wrote: I am currently to use XMLHttpRequest to fetch large amount of xml files in main thread but found it's very slow when I fetching multiple document that contains large amount data

Re: I was using xulrunner to developing desktop application, so I want to storage the indexDB files in to customized place other than %AppData%/

2015-02-26 Thread Yonggang Luo
Does that means I can use Directory Provider to redirect any folder? such as indexedDBPDir? ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

I was using xulrunner to developing desktop application, so I want to storage the indexDB files in to customized place other than %AppData%/

2015-02-06 Thread Yonggang Luo
How to do that? Looking for ways to do that. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: [blink-dev] Fwd: [Bug 441414] Treerows need a way to hold richer content

2015-01-20 Thread Yonggang Luo
2015-01-17 21:55 GMT+08:00 Philipp Kewisch mozi...@kewis.ch: On 1/16/15 7:09 PM, 罗勇刚(Yonggang Luo) wrote: Is that really the case? The current XUL tree may have some graphics optimizations, but as long as DOM nodes are re-used in lazy loading, I don't see why it couldn't be done in a library

Re: [blink-dev] Fwd: [Bug 441414] Treerows need a way to hold richer content

2015-01-15 Thread Yonggang Luo
not implemented at all in Chrome, so I would not count on it being implemented in any form. ☆*PhistucK* On Fri, Jan 9, 2015 at 8:32 AM, 罗勇刚(Yonggang Luo) luoyongg...@gmail.com wrote: Does anybody have the intention to implement the things like XUL:tree in HTML5 with power

Fwd: [Bug 441414] Treerows need a way to hold richer content

2015-01-09 Thread Yonggang Luo
) dba...@dbaron.org 2015-01-08 13:34:46 PST --- (In reply to Yonggang Luo from comment #195) (In reply to David Baron [:dbaron] (UTC-8) (needinfo? for questions) from comment #194) Comment on attachment 8497672 0005-Fixes-for-bug-441414-to-add-rich-tree-support-crasht.patch As discussed

Re: PSA: Support for building with Windows SDK 8.1 removed from Gecko 37

2015-01-07 Thread Yonggang Luo
Does that means windows xp doesn't support anymore? ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

How to loading script into global context in XBL binding.

2015-01-05 Thread Yonggang Luo
); }, false); ]]/constructor destructor![CDATA[ ]]/destructor /implementation /binding I was trying to do it in XBL constructor, but non of these works. looking for solutions. -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ dev

How to make sure frameless/ no chrome window do not fallback to the classic mode in XUL runner.

2014-12-27 Thread Yonggang Luo
When I was using the window tag to creating a frameless window, it's always trying to fallback to the classic mode(The Win7 x64 native close/maximize/minimize buttons are appears). I was using the following style to styling the window :root { -moz-appearance: none; background-color:

How to disable NTLM in XMLHttpRequst

2014-12-01 Thread Yonggang Luo
I was using XMLHttpRequst request to interact with Exchange server, but I want to interact with the exchange server with multiple account, so I need to implement NTLM by myself or XMLHttpRequst can already to save multiple version of NTLM information for server.

What's the intention of TreeBoxObject.webidl and its partners?

2014-11-23 Thread Yonggang Luo
I found it's duplicated with nsITreeBoxObject.idl and it's partners. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

When I setting down the XUL window's background to transparent, the performance of XUL tree getting slow.

2014-11-22 Thread Yonggang Luo
Is there anybody can give me some explain? ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

How to use Components.utils.import('resource://gre/modules/commonjs/toolkit/loader.js'); to getting require?

2014-11-20 Thread Yonggang Luo
I want to use require in normal XPCOM components. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

  1   2   >