Re: [webkit-dev] Question about JavaScriptCore's JSEvaluateScript function.

2009-03-02 Thread Zoltan Herczeg
Hi, that is intended, since the context pointer is the current CallFrame/ExecState. WebKit creates its own stack (called RegisterFile) to run JavaScript. The stack base of the current function is pointed by CallFrame (similar to ebp in x86, or fp in ARM architectures). When you call a JS

Re: [webkit-dev] strange behaviour when loading local webpage using file://

2009-03-02 Thread Jenson Lui
Hello all, After some codes trace and I find that the g_file_info_get_content_type is not function properly on my target board. So I wrote a simple test program to test the g_file_info_get_content_type and discover that my target root fs is missing the MIME database. By copy the MIME database,

[webkit-dev] about javascript keyword

2009-03-02 Thread zhenghe zhang
HI all If I define a js function, as followed: function fun() { alert(document.all.text1.value); } When the webkit parse the js function, and store the keyword in the hashtable, Now I want to know the other indetifier is stored the hashtable. And how many hashtable will be built by

Re: [webkit-dev] about javascript keyword

2009-03-02 Thread Ariya Hidayat
HI all If I define a js function, as followed: function fun() { alert(document.all.text1.value); } When the webkit parse the js function, and store the keyword in the hashtable, Now I want to know the other indetifier is stored the hashtable. And how many hashtable will be

Re: [webkit-dev] Question about JavaScriptCore's JSEvaluateScript function.

2009-03-02 Thread Zhe Su
Thanks for your answer. Then, in the callback function (such as GetPropertyCallback), is it ok to use the original context pointer created at beginning? Or the ctx passed to the callback must be used instead? Regards James Su On Mon, Mar 2, 2009 at 4:52 PM, Zoltan Herczeg

Re: [webkit-dev] Question about JavaScriptCore's JSEvaluateScript function.

2009-03-02 Thread Zoltan Herczeg
Why do you want to use the original context pointer? The context is something like current machine state. It is important for JS function return, exception handling, and many other things. It is not a global pointer, like JSGlobalData (JSContextGroupRef), it points to the current context. Zoltan

Re: [webkit-dev] Question about JavaScriptCore's JSEvaluateScript function.

2009-03-02 Thread Zhe Su
I see. Thanks. On Mon, Mar 2, 2009 at 7:28 PM, Zoltan Herczeg zherc...@inf.u-szeged.huwrote: Why do you want to use the original context pointer? The context is something like current machine state. It is important for JS function return, exception handling, and many other things. It is not a

[webkit-dev] wap support schedule

2009-03-02 Thread 조정흠
Hello, In the previous archive, I found that someone in webkit.org(excuse me if I am wrong) was merging code for wap support. He said that webkit will support WML and WCSS. I tried open a wml page with current nightly builded safari on windows. But safari only downloaded the wml page. It doesn't

[webkit-dev] Plug in support on DirectFB Webkit

2009-03-02 Thread Manoj Bhatta
Hi, I am running Webkit on DirectFB. AFAIK, plug in support is not there on DirectFB/Webkit. I found in WebCore/plugin calls are all Xt/X11 based. Can any one suggest me , how can I modify these call for DirectFB ? Manoj ___ webkit-dev mailing list

Re: [webkit-dev] Plug in support on DirectFB Webkit

2009-03-02 Thread Ariya Hidayat
I am running Webkit on DirectFB. AFAIK, plug in support is not there on DirectFB/Webkit. I found in WebCore/plugin calls are all Xt/X11 based. Can any one suggest me , how can I modify these call for DirectFB ? DirectFB is a complete different beast, compared to X11. AFAICS you have to

[webkit-dev] How to render error message in to main window from webkit

2009-03-02 Thread Nitin Walke
Hi, I can show curl error message in Dialog window. But I want to show message in main window so how can I proceed?How can we render our curl error message from webkit to main window or from gtk+ to main window? any suggestion is appreciated.. Regard, Nitin Walke

Re: [webkit-dev] wap support schedule

2009-03-02 Thread David Kilzer
WAP support is not enabled on the Windows or Mac nightly builds on http://nightly.webkit.org/. You must enable it yourself and rebuild from source. Dave From: 조정흠 journeyer...@gmail.com To: webkit-dev@lists.webkit.org Sent: Monday, March 2, 2009 4:00:15 AM

Re: [webkit-dev] Plug in support on DirectFB Webkit

2009-03-02 Thread Rick
Having just looked up DirectFB on Wikipedia, I see it is an interface that skips X and talks directly to the framebuffer. There is mention of an API called XDirectFB that mimics X11 calls. You might look for that. On Mon, Mar 2, 2009 at 8:38 AM, Ariya Hidayat ariya.hida...@trolltech.com wrote:

Re: [webkit-dev] Plug in support on DirectFB Webkit

2009-03-02 Thread Sriram Neelakandan
Well, what u need is a build time flag, which should first get rid of all X11 headers. Then you end up having to define or mapping the missing structure / defines in npruntime,h npapi.h to appropriate DFB equivalents Now, after that, you will get stuck with gtk_socket_new .. a well known issue

Re: [webkit-dev] strange behaviour when loading local webpage using file://

2009-03-02 Thread x yz
thanks for update, it helps people. --- On Mon, 3/2/09, Jenson Lui jhn...@gmail.com wrote: From: Jenson Lui jhn...@gmail.com Subject: Re: [webkit-dev] strange behaviour when loading local webpage using file:// To: last...@yahoo.com Cc: webkit-dev@lists.webkit.org Date: Monday, March 2,

[webkit-dev] Cross browser automated tests

2009-03-02 Thread Sylvain Pasche
Hi, This is an announcement of a project that may be of interest. The idea is to run test cases automatically on some versions of the main browsers. Test results should help authors/spec authors/vendors see what feature is implemented where and vendors could integrate these tests in their

Re: [webkit-dev] wap support schedule

2009-03-02 Thread 조정흠
Hi, Dave Thank you for your kind answer. I could build WML enabled Safari by enabling ENABLE_WML in WebKit, WebCore and in the file build-generated-files.sh under WebCoreGenerated. But I had to block out some errornous code. RenderObject* r = renderer(); if (r /*

Re: [webkit-dev] wap support schedule

2009-03-02 Thread David Kilzer
Sounds like a bug. Please file a new bug at https://bugs.webkit.org/ about this issue. Thanks! Dave From: 조정흠 journeyer...@gmail.com To: David Kilzer ddkil...@webkit.org Cc: webkit-dev@lists.webkit.org Sent: Monday, March 2, 2009 8:14:10 PM Subject: Re: