[webkit-dev] Puzzled, can anyone give me a hint?

2009-06-15 Thread TianShijun
Hi All, I am reviewing the code of WebKit. I found that in PluginView.h/cpp , only one method (setPlatformPluginWidget) can set the private member PluginView::m_window to be non-zero. I have searched all the codes and found that only PluginViewMac.cpp has invoked this function. Is that mean

[webkit-dev] Cairo Build: WebFrame.cpp fails to compile

2009-06-15 Thread Taeyun Kim
Hi, I'm trying to compile Cairo version of WebKit. But WebFrame.cpp in WebKit project fails to compile. The error message tells the incompatibility between PlatformGraphicsContext* and CGContextRef. (the exact message is in Korean, so I cannot post it here). And I see the line: #include

Re: [webkit-dev] Puzzled, can anyone give me a hint?

2009-06-15 Thread Joe Mason
TianShijun wrote: Hi All, I am reviewing the code of WebKit. I found that in PluginView.h/cpp , only one method (setPlatformPluginWidget) can set the private member PluginView::m_window to be non-zero. I have searched all the codes and found that only PluginViewMac.cpp has invoked this

Re: [webkit-dev] How to cross compile Webkit for MIPS

2009-06-15 Thread tonikitoo (Antonio Gomes)
deuxliquid, assuming that you have already a sandboxed toolchain set to cross compile webkit to your MIPS platform, your question can be considered quite vague ... please , inform in more details port you would like to build, compiler version, chroot you are using ... 2009/6/14 deuxliquid

Re: [webkit-dev] How to find a WebKit Nightly corresponding roughly to particular Safari version

2009-06-15 Thread Adam Roben
On Jun 14, 2009, at 10:02 AM, Thomas Jaggi wrote: Hello there I'm new to this list and hope it's the right place to get rid of my question. Otherwise I want to apologize. Well, I'd like to download a WebKit Nightly Build which corresponds roughly to Safari 3.2.3 (respectively 2.0.4).

Re: [webkit-dev] How to find a WebKit Nightly corresponding roughly to particular Safari version

2009-06-15 Thread Thomas Jaggi
Am 15.06.2009 um 16:55 schrieb Adam Roben: On Jun 14, 2009, at 10:02 AM, Thomas Jaggi wrote: Hello there I'm new to this list and hope it's the right place to get rid of my question. Otherwise I want to apologize. Well, I'd like to download a WebKit Nightly Build which corresponds

Re: [webkit-dev] Cairo Build: WebFrame.cpp fails to compile

2009-06-15 Thread Brent Fulgham
Hi, 2009/6/15 Taeyun Kim z...@logicplant.com: I'm trying to compile Cairo version of WebKit. But WebFrame.cpp in WebKit project fails to compile. There are a series of CoreGraphics-specific calls in this file related to creating a printing context. I have not put together a patch that

Re: [webkit-dev] How to execute a JavaScript containing site with JSCore?

2009-06-15 Thread Geoffrey Garen
Is there a straigthforwarded way to collect all the relationships between the site's object and to get a js-context of it? What I want in the end is to get access on the `document`-element, e.g. to perform calls like `document.forms`. If you have a JSContextRef that corresponds to a

Re: [webkit-dev] Puzzled, can anyone give me a hint?

2009-06-15 Thread Joe Mason
TianShijun wrote: Hi Joe, Now I get to know how it work in Qt/Windows. But i found that in Qt/X11, only PluginView.cpp and PluginViewQt.cpp will be compiled. Is that mean all the platformPluginWidget() will return 0? There are many platformPluginWidget()-foo() in PluginViewQt.cpp. Take a

Re: [webkit-dev] How to find a WebKit Nightly corresponding roughly to particular Safari version

2009-06-15 Thread Darin Adler
On Jun 15, 2009, at 9:03 AM, Thomas Jaggi wrote: Thanks for your help. If I got that right, 38725 would correspond to Safari 3.2.1 (http://trac.webkit.org/changeset/38725). Using the 'official' detection script with 38707 (the last version before the non-existing 38725) I'm told Your

[webkit-dev] Another problem: how to dump flash content into image in Linux?

2009-06-15 Thread TianShijun
Hi All, I have tried to modify the PluginView::paint method in PluginViewQt.cpp to dump the flash content. But the result is always a gray image. Does any one know why? Or has anyone implemented the similar function before? I have also tested the print/print preview function on many browsers

Re: [webkit-dev] Another problem: how to dump flash content into image in Linux?

2009-06-15 Thread tonikitoo (Antonio Gomes)
TianShijun, QtWebKit (as well as Gtk and possibly others port) uses XEmbed to get plugins (e.g. Flash) running. XEmbed is a X protocol to embed X window onto others (containers). That said, when you try dumping flash by the way you pasted below, you are not even touching the plugin painting

Re: [webkit-dev] Should we put the webkit.org mailing lists on Gmane?

2009-06-15 Thread Gustavo Noronha
On Sat, 2009-06-13 at 09:00 -0400, Adam Roben wrote: Gmane (http://gmane.org) provides a few features that could be useful for thewebkit.org mailing lists, including: * a nicer web interface than Mailman's * indexed search (maybe better than Mailman's, certainly at least as good, and with

Re: [webkit-dev] Building WebKit GTK+

2009-06-15 Thread Gustavo Noronha
Hey, On Mon, 2009-06-15 at 06:04 -0700, jagadeesh k wrote: I downloaded WebKit GTK+ port for building it on Linux cent OS.After downloading I extracted components from downloaded tar file.But in extracted directory there is no autogen.sh file,for building webkit i need that file.Let me

[webkit-dev] Windows Multithread issue

2009-06-15 Thread 熊科浪
hi I want to develop c++ application that uses WebKit on Windows. Can I start a thread for each web view? or I must ceate every web view and handle every event in the main thread?and why?are there any plan to change it? Thank you. -- clive

Re: [webkit-dev] Windows Multithread issue

2009-06-15 Thread John Abd-El-Malek
Yes it's possible. The Chromium port runs web views in different processes. You can look at the design docs and source to see how it's done, that should give you an idea of what you have to do this on different threads. 2009/6/15 熊科浪 xiongkel...@hotmail.com hi I want to develop c++

Re: [webkit-dev] Windows Multithread issue

2009-06-15 Thread Peter Kasting
2009/6/15 John Abd-El-Malek j...@google.com Yes it's possible. The Chromium port runs web views in different processes. You can look at the design docs and source to see how it's done, that should give you an idea of what you have to do this on different threads. Note that using distinct

Re: [webkit-dev] Windows Multithread issue

2009-06-15 Thread Oliver Hunt
This is not possible due to various issues with the interaction between JS across multiple webviews, and the additional assumption that all layout and painting occurs in the UI thread. Attempting to interact with WebKit on multiple threads will cause crashes. --Oliver On Jun 15, 2009, at

Re: [webkit-dev] Another problem: how to dump flash content into image in Linux?

2009-06-15 Thread TianShijun
Hi tonikitoo, Thanks for your hint. It seems that WebKit doesn't support the windowless plugin in X11. Is their other way to implement feature? We can get some infomation of the native windows now. Can we do it with raw Xlib functions? I found a topic in MDC that claims the support of

[webkit-dev] Quesition about DumpRenderTree output

2009-06-15 Thread Lucius Fox
Hi, Can you please tell me what is the meaning of relative positioned and the meaning of positioned in DumpRenderTree? How should I use that to read the values RenderObject::localToAbsolute() (enclosed in ())and RenderObject:frameRect() (enclosed in {}); For example: layer at (780,168) size