Re: [webkit-dev] Extending webkit javascript

2009-01-18 Thread Nilesh Patil
Hi I am not really sure which example/reference you are following. If u need to call some native functions in JavaScript, JavaScript interpreter should be aware of that functions/native component you are trying to access. So process would be to implement such mechanism in JavaScriptCore. You can

Re: [webkit-dev] Extending webkit javascript

2009-01-18 Thread Mark Rowe
On 2009-01-18, at 20:43, Nilesh Patil wrote: I am not really sure which example/reference you are following. If u need to call some native functions in JavaScript, JavaScript interpreter should be aware of that functions/native component you are trying to access. So process would be to

Re: [webkit-dev] Extending webkit javascript

2009-01-18 Thread Nilesh Patil
OK Thank you for information . and correcting me :) Thanks Regards Niilesh On Mon, Jan 19, 2009 at 10:34 AM, Mark Rowe mr...@apple.com wrote: On 2009-01-17, at 07:57, webkit...@aol.com wrote: Hi, I am trying to extend the javascript to invoke custom C code in webkit. Basically my

Re: [webkit-dev] Extending WebKit JavaScript support

2008-11-18 Thread Iulian
Thanks! I think i got it. What its not clear for me now is how to build and test my sample code? I just build-it using gcc? How the browser (the one provided with WebKit) will be able to see my class? Kalle Vahlman wrote: 2008/11/13 Christian Dywan [EMAIL PROTECTED]: Am Thu, 13 Nov 2008

Re: [webkit-dev] Extending WebKit JavaScript support

2008-11-13 Thread Christian Dywan
Am Thu, 13 Nov 2008 01:34:17 -0800 (PST) schrieb Iulian [EMAIL PROTECTED]: I would like to extend JavaScript support with new objects (similar to Math, RegEx, String). Because these objects needs to interact with the OS (Linux) i cannot use JavaScript Object support to create these objects

Re: [webkit-dev] Extending WebKit JavaScript support

2008-11-13 Thread Kalle Vahlman
2008/11/13 Christian Dywan [EMAIL PROTECTED]: Am Thu, 13 Nov 2008 01:34:17 -0800 (PST) schrieb Iulian [EMAIL PROTECTED]: I would like to extend JavaScript support with new objects (similar to Math, RegEx, String). Because these objects needs to interact with the OS (Linux) i cannot use

Re: [webkit-dev] extending webkit

2008-03-24 Thread Darin Adler
On Mar 19, 2008, at 10:50 PM, wang gang wrote: Is there a way to extend webkit so as to enable the browser or widgets (like the ones on Mac) to access the native functionalities of the machine? Sure, if you're developing the program using WebKit. The JavaScriptCore API can be used to