Re: [webkit-dev] Adding Javascript object to Webkit

2008-04-14 Thread Mark Rowe
On 10/04/2008, at 20:40, Lee Ka Yuk wrote: Dear all, I've tested with JSCore/API and JSCore/binding. To my surprise, none of the test apps is working. I don't have CoreFoundation/CoreFoundation.h in my platform (Qtopia/Ubuntu) so I could not pass the build of JSCore/API/JSStringRefCF.h. How

Re: [webkit-dev] Adding Javascript object to Webkit

2008-04-10 Thread Lee Ka Yuk
Dear all, I've tested with JSCore/API and JSCore/binding. To my surprise, none of the test apps is working. I don't have CoreFoundation/CoreFoundation.h in my platform (Qtopia/Ubuntu) so I could not pass the build of JSCore/API/JSStringRefCF.h. How can I use JSCore/API then? Then I switched to

Re: [webkit-dev] Adding Javascript object to Webkit

2008-04-06 Thread Lee Ka Yuk
Thanks for the reply from Geoff, MichaelG and Shakti. What's the dependency/architecture of the folders JSCore/API, JSCore/binding in JSCore? They both seem to be able to do the same thing (don't they?), what's the difference then? Geoff suggested JSCore/API and Shakti suggested JSCore/binding,

Re: [webkit-dev] Adding Javascript object to Webkit

2008-04-03 Thread Geoffrey Garen
Which binding should I use that would fit the architecture best? Must I understand JavaScriptCore/API in order to add the object? What is the life cycle of the Javascript objects? Yes, I think using the API in JavaScriptCore/API will give you the best results. It's also the easiest API to

Re: [webkit-dev] Adding Javascript object to Webkit

2008-04-03 Thread Michael Goddard
Hello Lee, On Thursday 03 April 2008 20:01, Lee Ka Yuk wrote: I'm using the WebKit project for webpage rendering on Qtopia. I would like to add some Javascript objects that can be accessed in the webpage and implemented with C/C++. If you are using the latest Qt/4.4 snapshot, the Qt way to do