[webkit-dev] How to cancel a resource request

2009-10-22 Thread Jaroslav Gresula
Hi, In my WebKit port (based on the GTK port) I would like to cancel a resource request depending on the resource length or its MIME type. I thought, dispatchDidReceiveResponse(DocumentLoader*, ...) in my WebCore::FrameLoaderClient implementation could be a good place for such action as I can

[webkit-dev] WebGL performance

2009-10-22 Thread Boris Stock
I have an question regarding the WebGL implementation. It already seems to be very fast. Of course a lot of stuff is important like in native GL programs (rendering triangle stripes vs. X and stuff). But how far do you think will a future stable release of WebGL match a native GL

[webkit-dev] GNUstep port of WebKit

2009-10-22 Thread Gregory Casamento
Hello all, I am currently working on a port of WebKit to GNUstep. I plan on having tons of questions as I go forward on this. As I go along I would like to commit what I have to the repository. What is the correct procedure for this? Is it possible for me to commit my changes to a branch, or

Re: [webkit-dev] virtual functions in ChromeClient and other clients

2009-10-22 Thread Adam Barth
How would the class implementing ChromeClient hold any data members? I guess we could use pimpl... Adam On Thu, Oct 22, 2009 at 12:20 PM, Yong Li yong...@torchmobile.com wrote: Hi All, ChromeClient and other clients defined in webkit are using a lot of WebCore objects. So it seems

Re: [webkit-dev] virtual functions in ChromeClient and other clients

2009-10-22 Thread Yong Li
Oops, even m_page is a data member. Hm... I need to think more about it. -Yong - Original Message - From: Yong Li yong...@torchmobile.com To: Adam Barth aba...@webkit.org Cc: WebKit Development webkit-dev@lists.webkit.org Sent: Thursday, October 22, 2009 3:28 PM Subject: Re:

Re: [webkit-dev] WebGL performance

2009-10-22 Thread Oliver Hunt
On Oct 20, 2009, at 5:58 AM, Boris Stock wrote: I have an question regarding the WebGL implementation. It already seems to be very fast. Of course a lot of stuff is important like in native GL programs (rendering triangle stripes vs. X and stuff). But how far do you think will a future

Re: [webkit-dev] virtual functions in ChromeClient and other clients

2009-10-22 Thread Adam Treat
If i remember correctly another strike against this is SVG. I believe that SVG uses a different set of empty clients. This would make that more difficult? On Thursday 22 October 2009 03:29:28 pm Yong Li wrote: Oops, even m_page is a data member. Hm... I need to think more about it. -Yong

Re: [webkit-dev] WebGL performance

2009-10-22 Thread Simon Fraser
On Oct 22, 2009, at 12:38 PM, Oliver Hunt wrote: On Oct 20, 2009, at 5:58 AM, Boris Stock wrote: I have an question regarding the WebGL implementation. It already seems to be very fast. Of course a lot of stuff is important like in native GL programs (rendering triangle stripes vs. X and

Re: [webkit-dev] virtual functions in ChromeClient and other clients

2009-10-22 Thread Eric Seidel
On Thu, Oct 22, 2009 at 12:20 PM, Yong Li yong...@torchmobile.com wrote: ChromeClient and other clients defined in webkit are using a lot of WebCore objects. So it seems impossible to provide a ChromeClient from another binary other than webkit itself. In other words, ChromeClient is almost

Re: [webkit-dev] virtual functions in ChromeClient and other clients

2009-10-22 Thread Yong Li
Ha, never mind, then. -yong - Original Message - From: Eric Seidel e...@webkit.org To: Yong Li yong...@torchmobile.com Cc: WebKit Development webkit-dev@lists.webkit.org Sent: Thursday, October 22, 2009 3:52 PM Subject: Re: [webkit-dev] virtual functions in ChromeClient and other

Re: [webkit-dev] Selection highlight painting (gaps?)

2009-10-22 Thread Evan Martin
On Mon, Oct 19, 2009 at 1:22 PM, David Hyatt hy...@apple.com wrote: I've actually been super frustrated with WebKit's selection behavior for a long time, precisely because it tries to let you select everything. In Concrete examples of where something weird happens would be helpful. The

Re: [webkit-dev] Selection highlight painting (gaps?)

2009-10-22 Thread Peter Kasting
On Thu, Oct 22, 2009 at 2:37 PM, Evan Martin ev...@google.com wrote: This likely isn't what PK was talking about, but it's a good example in its irony. Try selecting a paragraph on the front page of webkit.org; you'll see weird gap painting over the navbar on the left. Ben has suggested to

Re: [webkit-dev] Selection highlight painting (gaps?)

2009-10-22 Thread Ben Goodger
On Thu, Oct 22, 2009 at 2:48 PM, Peter Kasting pkast...@google.com wrote: On Thu, Oct 22, 2009 at 2:37 PM, Evan Martin ev...@google.com wrote: This likely isn't what PK was talking about, but it's a good example in its irony. Try selecting a paragraph on the front page of webkit.org; you'll

Re: [webkit-dev] Selection highlight painting (gaps?)

2009-10-22 Thread Maciej Stachowiak
On Oct 22, 2009, at 2:38 PM, Evan Martin wrote: On Mon, Oct 19, 2009 at 1:22 PM, David Hyatt hy...@apple.com wrote: I've actually been super frustrated with WebKit's selection behavior for a long time, precisely because it tries to let you select everything. In Concrete examples of

Re: [webkit-dev] Selection highlight painting (gaps?)

2009-10-22 Thread Evan Martin
On Thu, Oct 22, 2009 at 4:22 PM, Maciej Stachowiak m...@apple.com wrote: Seems like a bug to me. Selection draws over content that won't get copied. You also get some double-drawn selection if you Select All on the webkit.org front page. Please file.