[webkit-dev] BadMatch error when using webkit gtk in a window with rgba visual.

2009-06-10 Thread Zhe Su
Hi, My program uses a gtk window with rgba visual to get translucent background effect. When I embed a webkit view into this window, it sometimes crashes with BadMatch error when loading some web page. Error message is: 20:50.170: browser_element.cc:406:

[webkit-dev] automation of dom testsuite

2009-06-10 Thread Siddu
Hello all, We have developed a browser which is based on webkit engine . And i want our browser to undergo compliance test . The options available to me are 1. To execute the webkit layout tests provided by the webkit folks using the DumpRenderTree tool 2. To put browser through the several test

Re: [webkit-dev] Question about return values of RenderObject:localToAbsolute()

2009-06-10 Thread xunxin
On Wed, Jun 10, 2009 at 1:47 PM, Lucius Fox lucius.fo...@gmail.com wrote: Hi, I use the dumpRenderTree to dump out the absolute co-ordinates of the Render Tree of www.google.com. I put the absolute x, y result at the end marked by { and }. And www.google.com, the first text is 'Web followed

Re: [webkit-dev] BadMatch error when using webkit gtk in a window with rgba visual.

2009-06-10 Thread Zhe Su
I mean rgba colormap, not visual. On Wed, Jun 10, 2009 at 2:33 PM, Zhe Su james...@gmail.com wrote: Hi, My program uses a gtk window with rgba visual to get translucent background effect. When I embed a webkit view into this window, it sometimes crashes with BadMatch error when loading

Re: [webkit-dev] Question about return values of RenderObject:localToAbsolute()

2009-06-10 Thread Lucius Fox
On Tue, Jun 9, 2009 at 11:38 PM, xunxinwanxun...@gmail.com wrote: On Wed, Jun 10, 2009 at 1:47 PM, Lucius Fox lucius.fo...@gmail.com wrote: Hi, I use the dumpRenderTree to dump out the absolute co-ordinates of the Render Tree of www.google.com. I put the absolute x, y result at the end

Re: [webkit-dev] How to cross compile Webkit_Qt into MIPS target board?

2009-06-10 Thread Ariya Hidayat
I am finding out the way to cross compile Qt into MIPS. Someone can help me or give me some ideas? How is this related to WebKit at all? This is WebKit development list, not Qt. If you have problems with Qt, you should contact Qt Software support, try qt-interest list, or pay a consultant to

Re: [webkit-dev] to reitveld or not to reitveld

2009-06-10 Thread Joe Mason
Mark Rowe wrote: - UI is intimidating to newcomers. This is clearly subjective, but since the goal here is to make the review process friendlier, especially for new contributors, I think it deserves calling out. FWIW, after playing around with it for a few minutes I find its UI much, much

Re: [webkit-dev] to reitveld or not to reitveld

2009-06-10 Thread Joe Mason
Joe Mason wrote: Agreed. I expect will all end up calling it rfield soon enough (and I even typed that as rfiled the first time). I mean rveld, of course. I've been rereading Dracula, I think it's affecting my brain... Joe ___ webkit-dev mailing

Re: [webkit-dev] Working XPath example via GDOM-Binding

2009-06-10 Thread Leon Winter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, so if you delete the .lo then the build process happily recreates the .o Actually it was rm DerivedSources/JS*.lo. Thanks for all your help so far. yaay. Here is a working XPath sample: yaay! res =

[webkit-dev] GObject Code Generator constants handling code to be added

2009-06-10 Thread Luke Kenneth Casson Leighton
On 6/10/09, Leon Winter l...@ring0.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, so if you delete the .lo then the build process happily recreates the .o Actually it was rm DerivedSources/JS*.lo. Thanks for all your help so far. yaay. Here is a

Re: [webkit-dev] Confusion about Webkit method naming convention

2009-06-10 Thread Adam Barth
Usually did() is a notification that something already happened, and you might want to respond to that in some way. For example, didReceiveRedirect means that we already got a redirect from the network. The implementor of that method might want to do something about it, like check the

[webkit-dev] Looking for a counterpart of webkit_get_default_session()

2009-06-10 Thread Sebastian Linke
Hi there, a few weeks ago I noticed that the WebKitGTK+ 1.1.1 release comes up with a nice feature: webkit_get_default_session() In the last days I was playing around with the underlying SoupSession and now I would like to know if you are going to give it some kind of counterpart. Or is there

Re: [webkit-dev] Looking for a counterpart of webkit_get_default_session()

2009-06-10 Thread Christian Dywan
Am Wed, 10 Jun 2009 20:04:55 +0200 schrieb Sebastian Linke seb_li...@web.de: Hi there, a few weeks ago I noticed that the WebKitGTK+ 1.1.1 release comes up with a nice feature: webkit_get_default_session() In the last days I was playing around with the underlying SoupSession and now I

[webkit-dev] ScopeChainNode leak?

2009-06-10 Thread Andrew Webster
I've been tracking down a memory leak I've noticed on pages using JQuery (and others). Valgrind pointed out that it is ScopeChainNodes that are leaking. I have tracked this down to functions that are not dereffing their ScopeChainNode when they are deleted. I notice that the JSFunction dtor

Re: [webkit-dev] arm jit

2009-06-10 Thread Toshiyasu Morita
Gavin Barraclough barraclo...@apple.com wrote: We were (and remain) reluctant to accept a duplicate of the JIT into the tree, rather than a port of the existing JIT utilizing the MacroAssembler abstraction.  We are concerned that it would be extremely difficult to continue to maintain such

Re: [webkit-dev] arm jit

2009-06-10 Thread Toshiyasu Morita
--- On Wed, 6/10/09, Geoffrey Garen gga...@apple.com wrote: I'm having a hard time understanding from your comment what optimization changes you think are appropriate, but if you can produce a patch that implements your idea, and shows a benefit on a benchmark, I'd be happy to review it.

Re: [webkit-dev] ScopeChainNode leak?

2009-06-10 Thread Gavin Barraclough
Hi Andrew, It certainly sounds likely this is a bug, and the best person to comment on it is probably Oliver, who is not on this list. Could you please file a bug at bugs.webkit.org? Many thanks, G. On Jun 10, 2009, at 11:26 AM, Andrew Webster wrote: I've been tracking down a memory leak

Re: [webkit-dev] arm jit

2009-06-10 Thread Geoffrey Garen
This expands out to 95 inline instructions on the MIPS for just the slow case alone, of which 3 are functions calls to other functions. So this probably requires thousands of clock cycles to execute. IMHO it doesn't make sense to inline op_call because: You've made some interesting

Re: [webkit-dev] How to interrupt Webkit Dump Render Tree output

2009-06-10 Thread tonikitoo (Antonio Gomes)
On Mon, Jun 1, 2009 at 1:31 PM, Simon Frasersimon.fra...@apple.com wrote: There is a method on RenderObject to get the correct absolute coordinates of the renderer, which correctly takes transforms, scrolling etc into account: RenderObject::localToAbsolute(). This is not a trivial problem.

Re: [webkit-dev] arm jit

2009-06-10 Thread Oliver Hunt
It would be an interesting experiment to compile functions at creation time instead of call time, and see if things got faster. I'd love to hear your results, if you try it. I doubt that eager compilation would be a good strategy for the web, though, since web pages tend to load very large

Re: [webkit-dev] arm jit

2009-06-10 Thread Geoffrey Garen
It could be worth trying a stub function that triggers the compilation of the function should it not be present, but i'm not sure what that would really save as we still need the arity checks inline A design that I like is a stub function that triggers compilation (so the caller can

Re: [webkit-dev] arm jit

2009-06-10 Thread Toshiyasu Morita
Why does the arity check need to be in the caller, and not the callee? Consider: one function that is called from 10,000 places. Arity check in the caller: 10,000 copies of the artity check. Arity check in the callee: one copy of the arity check Toshi --- On Wed, 6/10/09, Geoffrey Garen

Re: [webkit-dev] arm jit

2009-06-10 Thread Toshiyasu Morita
--- On Wed, 6/10/09, Oliver Hunt oli...@apple.com wrote:   I doubt that eager compilation would be a good strategy for the web, though, since web pages tend to load very large libraries of functions, while only calling a small percentage of those functions. Turbo C compiled about 10,000

Re: [webkit-dev] to reitveld or not to reitveld

2009-06-10 Thread John Abd-El-Malek
On Wed, Jun 10, 2009 at 8:12 AM, Joe Mason joe.ma...@torchmobile.comwrote: Mark Rowe wrote: - UI is intimidating to newcomers. This is clearly subjective, but since the goal here is to make the review process friendlier, especially for new contributors, I think it deserves calling out.

Re: [webkit-dev] arm jit

2009-06-10 Thread Oliver Hunt
The issue is that it compiling 5000 lines of libraries (possibly more) results in a significant amount of memory use, that's why we don't compile -- i don't believe there was a significant cpu time performance win (if any at all) from delaying function compilation. There was however a

Re: [webkit-dev] arm jit

2009-06-10 Thread Gavin Barraclough
On Jun 10, 2009, at 1:15 PM, Toshiyasu Morita wrote: --- On Wed, 6/10/09, Geoffrey Garen gga...@apple.com wrote: I'm having a hard time understanding from your comment what optimization changes you think are appropriate, but if you can produce a patch that implements your idea, and shows

Re: [webkit-dev] arm jit

2009-06-10 Thread Gavin Barraclough
Toshiyasu, On Jun 10, 2009, at 2:24 PM, Toshiyasu Morita wrote: Why does the arity check need to be in the caller, and not the callee? The majority of call sites always call to the same callee, and we can optimize these cases for calling that same function repeatedly. Within the

[webkit-dev] GDOM-Binding: using gdom_css_style_sheet_add_rule()

2009-06-10 Thread Leon Winter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, the GDOM-Binding provides functions for setting up global CSS rules and manipulating them. I'm interested in this functions, especially in: WEBKIT_API glong gdom_css_style_sheet_add_rule (GdomCSSStyleSheet *thiz, gchar * selector, gchar * style,

[webkit-dev] Slow scrolling on certain pages

2009-06-10 Thread Adam Bryzak
Hi, After upgrading to Safari 4 final, some pages, notably http://www.apple.com/safari/whats-new.html are really choppy when scrolling vertically. The interesting thing is that it only seems to happen when you have a horizontal scrollbar and it's not anchored to the left. I've tried the

[webkit-dev] Fwd: Slow scrolling on certain pages

2009-06-10 Thread Ryosuke Niwa
-- Forwarded message -- From: Ryosuke Niwa rn...@google.com Date: Wed, Jun 10, 2009 at 3:49 PM Subject: Re: [webkit-dev] Slow scrolling on certain pages To: Adam Bryzak abry...@gmail.com Hi, It seems like that's happening with Chrome (3.0.183.1) as well. Can anyone else confirm

[webkit-dev] Simplified ruby design document

2009-06-10 Thread Roland Steiner
Hi all, After the feedback on my previous design document on ruby text annotations and the reservations that were expressed, I prepared a new, scaled-back version. I'd greatly appreciate if you could provide further feedback: http://docs.google.com/View?id=dcgd8hk6_2g7c6zzc6 Note:

Re: [webkit-dev] Slow scrolling on certain pages

2009-06-10 Thread Ryosuke Niwa
This might be related to https://bugs.webkit.org/show_bug.cgi?id=19650 I played around with the code, and it seems like safari.css is causing the trouble. Adam, are planning to create a new bug? Ryosuke On Wed, Jun 10, 2009 at 3:50 PM, Ryosuke Niwa rn...@google.com wrote: --

Re: [webkit-dev] Slow scrolling on certain pages

2009-06-10 Thread Adam Bryzak
On 11/06/2009, at 9:12 AM, Ryosuke Niwa wrote: This might be related to https://bugs.webkit.org/show_bug.cgi? id=19650 I played around with the code, and it seems like safari.css is causing the trouble. Adam, are planning to create a new bug? I'll just add a comment to that one as it

[webkit-dev] Fwd: Slow scrolling on certain pages

2009-06-10 Thread Adam Bryzak
Begin forwarded message: From: Ryosuke Niwa rn...@google.com Date: 11 June 2009 9:37:08 AM To: Adam Bryzak abry...@gmail.com Subject: Re: [webkit-dev] Slow scrolling on certain pages I've figured out that http://www.apple.com/safari/whats-new.html is very slow in scrolling regardless of

[webkit-dev] A Javascript Programming Environment for Safari 4

2009-06-10 Thread David Goehrig
Hello Webkitties, Let me say, congratulations on getting so close to having real HTML5 support. While there are still some rough edges, Webkit has been making some huge strides towards making the web a nice place to program. In the spirit of showing off what can be done with the right tools,

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

2009-06-10 Thread Sebastian Linke
Hi, based on my experiences when I ran some javascript code on a webkit context, I was trying to do the same with normal html code. It may sound a bit naive, but I simply passed the whole content of a website to `JSEvaluateScript()`, using `JSGlobalContextCreate(NULL)` as the context. This