Re: [webkit-dev] Pushing data to plugin

2009-03-24 Thread Jack Wootton
Hi all, Just to try and bring this thread to a sensible conclusion. I found a line of code that stored the Netscape function pointer in some global static data. I could then read this value inside my plugin instance objects and use it to call the Netscape functions such as NPN_GetURL. But I

[webkit-dev] Parse the identifier and html's ID

2009-03-24 Thread 张正和
Hi all There is a js function: input type=text id=text1 value=Hello World / function test(){ alert(text1.value); } when webkit obtains an identifier(e.g. text1),how does webkit parse the identifier and how to konw that the identifier is the html's ID? where is the html's ID stored? thank you

[webkit-dev] How to build javaScript Syntax tree

2009-03-24 Thread zhenghe zhang
Hi all Now I am learning at JavaScriptCore, but I don't kown how to build javaScript syntax tree through c++ functions, please tell me the details, thank you Best regards zhang ___ webkit-dev mailing list webkit-dev@lists.webkit.org

Re: [webkit-dev] How to build javaScript Syntax tree

2009-03-24 Thread Zoltan Herczeg
Hi, perhaps you should check out parser/grammar.y instead of the c++ functions. The grammar.cpp and .h is generated by bison, and not easy to understand. Zoltan Hi all Now I am learning at JavaScriptCore, but I don't kown how to build javaScript syntax tree through c++ functions, please tell

Re: [webkit-dev] Pushing data to plugin

2009-03-24 Thread Darin Adler
On Mar 24, 2009, at 2:36 AM, Jack Wootton wrote: But I have one question. Looking at the following structure: typedef struct _NPP { void*pdata;/* plug-in private data */ void*ndata;/* netscape private data */ } NPP_t; From reading the documentation

Re: [webkit-dev] Pushing data to plugin

2009-03-24 Thread Jack Wootton
OK, thanks for the clarification. On Tue, Mar 24, 2009 at 4:12 PM, Darin Adler da...@apple.com wrote: On Mar 24, 2009, at 2:36 AM, Jack Wootton wrote: But I have one question. Looking at the following structure: typedef struct _NPP {   void*    pdata;            /* plug-in private data */

Re: [webkit-dev] HAVE_LANGINFO_H and OS X

2009-03-24 Thread Kevin Ollivier
Hi Darin, On Mar 23, 2009, at 12:55 PM, Darin Adler wrote: But I think that all DARWIN-targeted ports and indeed any port where PLATFORM(CF) is true, should use the superior version based on CFDateFormatter. That’s an even better fix for Mac OS X. Thanks, I've put the more limited fix up

[webkit-dev] webkit compile on MAC using xcode

2009-03-24 Thread lucid soft
Hi, I am trying to compile the webkit via xcode project but getthing the following errors: can't find these files: wtf/Platform.h wtf/FastMalloc.h wtf/DisallowCType.h But in the directory, i do see they are located at: WebKit/mac/ForwardingHeaders/wtf. Infact I added the wtf folder in the

Re: [webkit-dev] Issue with Safari and IFrame

2009-03-24 Thread Brady Eidson
Seems like a great reproducible example of a bug, please file it at http://bugs.webkit.org ~Brady On Mar 24, 2009, at 1:48 PM, samyem wrote: I have a test case here: http://www.yomari.net/~samyem/tests/test.html When you click on the button on the iframe, it should be calling the parent

[webkit-dev] Data Structure built during JavaScript execution

2009-03-24 Thread Lucius Fox
Hi, Can you please tell me what is the data Structure built by Webkit during JavaScript execution? For example, var a = 1; function b() { alert('hello); } It needs to build a data structure to save the value of a inside the VM. Can you please tell me what is that defined? same as Function,

Re: [webkit-dev] Issue with Safari and IFrame

2009-03-24 Thread samyem
I will file the bug. However, I need a workaround for this. You see with frameworks like GWT that run from within an iframe, I need to get a viable workaround to work with the existing user base on safari. This issue does not happen in chrome, which is partly based on webkit as well. In GWT,