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

2008-04-03 Thread Shakti Ashirvad
Hi Lee, There are two ways we can bind C with JS. First implementation is to create a runtime object which doesn't have a data type (JavaScriptCore/bindings/testbindings.cpp). This means you can create an object like "foo" with any number of properties and methods. and you can directly access foo

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 t

Re: [webkit-dev] Webkit with directfb on linux

2008-04-03 Thread Christian Dywan
Am Thu, 3 Apr 2008 11:04:11 -0700 schrieb "Mike Emmel" <[EMAIL PROTECTED]>: > Yes if you need help with your setup i.e no X11 I have some patches. > Also I have some pure memory driver patches for DirectFB itself that I > need to push. > Finally if your using this for thumbnails I also have so zoo

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 co

Re: [webkit-dev] Qt Webkit compile error with QChar

2008-04-03 Thread Simon Hausmann
On Wednesday 02 April 2008 13:16:15 rachid pstomer wrote: > Hi, I'm trying to build QT-4.4.0 Webkit under visual studio 2005. The build > failed and i had these errors: > > > cl -c -FIWebKit_pch.h -YuWebKit_pch.h -Fptmp\obj\debug_shared\QtWebKitd_ > pch.pch -nologo -Zm200 -Zi -MDd -GR -GX -DQT_SHAR

Re: [webkit-dev] SVG Loading error.

2008-04-03 Thread Eric Seidel
You should be able to attach an onerror event handler and catch the SVG ErrorEvent, however I don't believe we correctly support SVG's ErrorEvent yet. http://bugs.webkit.org/show_bug.cgi?id=8519 http://bugs.webkit.org/show_bug.cgi?id=15363 -eric On Thu, Mar 20, 2008 at 1:11 AM, Marco Pifferi <[E

Re: [webkit-dev] Math ML - Development for Google Summer of Code 2008

2008-04-03 Thread Eric Seidel
Pardon my slow reply. We've received 2 other applications for MathML projects for GSoC. It's possible we could have multiple students working on the topic. I would strongly encourage you to join #webkit on freenode.net, and meet the other developers. We can answer any project-specific questions

Re: [webkit-dev] Webkit with directfb on linux

2008-04-03 Thread Mike Emmel
Yes if you need help with your setup i.e no X11 I have some patches. Also I have some pure memory driver patches for DirectFB itself that I need to push. Finally if your using this for thumbnails I also have so zooming patches. On Thu, Apr 3, 2008 at 10:06 AM, Giri Rao <[EMAIL PROTECTED]> wrote: >

[webkit-dev] Webkit with directfb on linux

2008-04-03 Thread Giri Rao
Hello, I was wondering if anyone has successfully built webkit with target set to directfb (as opposed to X11) on linux. I have a successful gtk build which is running fine. However, I would like to run webkit on a headless linux machine hence the question. Thanks Giri _

[webkit-dev] Adding Javascript object to Webkit

2008-04-03 Thread Lee Ka Yuk
Hi all, 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++. I studied JavaScriptCore/kjs/math_object.* and successfully added a object in JavaScriptCore/kjs. But I doubt if this